Other Functions
The following functions are available globally.
-
Undocumented
Declaration
Objective-C
NSString* NSStringFromYapDatabaseSecondaryIndexType(YapDatabaseSecondaryIndexType type)
Swift
func NSStringFromYapDatabaseSecondaryIndexType(_ type: YapDatabaseSecondaryIndexType) -> String
-
Undocumented
Declaration
Objective-C
BOOL YapCollectionKeyEqual(const __unsafe_unretained YapCollectionKey *ck1, const __unsafe_unretained YapCollectionKey *ck2)
Swift
func YapCollectionKeyEqual(_ ck1: YapCollectionKey, _ ck2: YapCollectionKey) -> Bool
-
Undocumented
Declaration
Objective-C
CFHashCode YapCollectionKeyHash(const __unsafe_unretained YapCollectionKey *ck)
Swift
func YapCollectionKeyHash(_ ck: YapCollectionKey) -> CFHashCode
-
MurmurHash2 was written by Austin Appleby, and is placed in the public domain. http://code.google.com/p/smhasher
Declaration
Objective-C
NSUInteger YapMurmurHash2(NSUInteger hash1, NSUInteger hash2)
Swift
func YapMurmurHash2(_ hash1: UInt, _ hash2: UInt) -> UInt
-
Undocumented
Declaration
Objective-C
NSUInteger YapMurmurHash3(NSUInteger hash1, NSUInteger hash2, NSUInteger hash3)
Swift
func YapMurmurHash3(_ hash1: UInt, _ hash2: UInt, _ hash3: UInt) -> UInt
-
Undocumented
Declaration
Objective-C
NSUInteger YapMurmurHashData(NSData *data)
Swift
func YapMurmurHashData(_ data: Data) -> UInt
-
Undocumented
Declaration
Objective-C
uint32_t YapMurmurHashData_32(NSData * data)
Swift
func YapMurmurHashData_32(_ data: Data) -> UInt32
-
Undocumented
Declaration
Objective-C
uint64_t YapMurmurHashData_64(NSData * data)
Swift
func YapMurmurHashData_64(_ data: Data) -> UInt64