Lines Matching refs:key2
490 int32 BPlusTree::CompareKeys(const void *key1, int keyLength1, const void *key2, int keyLength2)
497 int result = strncmp((const char *)key1,(const char *)key2,len);
506 return *(int32 *)key1 - *(int32 *)key2;
510 if (*(uint32 *)key1 == *(uint32 *)key2)
512 else if (*(uint32 *)key1 > *(uint32 *)key2)
520 if (*(int64 *)key1 == *(int64 *)key2)
522 else if (*(int64 *)key1 > *(int64 *)key2)
530 if (*(uint64 *)key1 == *(uint64 *)key2)
532 else if (*(uint64 *)key1 > *(uint64 *)key2)
540 float result = *(float *)key1 - *(float *)key2;
549 double result = *(double *)key1 - *(double *)key2;