예제 #1
0
파일: Btree.cs 프로젝트: BclEx/GpuStructs
 static void assertCellInfo(BtCursor cur)
 {
     int id = cur.ID;
     var info = new CellInfo();
     btreeParseCell(cur.Pages[id], cur.Idxs[id], ref info);
     Debug.Assert(info.GetHashCode() == cur.Info.GetHashCode() || info.Equals(cur.Info)); // _memcmp(info, cur.Info, sizeof(info)) == 0);
 }