Other Functions

The following functions are available globally.

  • 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