1
2
3
4
5
6
7 package maps
8
9 import (
10 "unsafe"
11 )
12
13
14 const memHashAESImplemented = false
15 const memHashUsesVAES = false
16
17 func memHash32AES(p unsafe.Pointer, h uintptr) uintptr {
18 panic("memHash32AES not implemented")
19 }
20
21 func memHash64AES(p unsafe.Pointer, h uintptr) uintptr {
22 panic("memHash64AES not implemented")
23 }
24
25 func strHashAES(p unsafe.Pointer, h uintptr) uintptr {
26 panic("strHashAES not implemented")
27 }
28
29 func MemHash(p unsafe.Pointer, h, s uintptr) uintptr {
30 return memHashFallback(p, h, s)
31 }
32
33 func MemHash32(p unsafe.Pointer, h uintptr) uintptr {
34 return memHash32Fallback(p, h)
35 }
36
37 func MemHash64(p unsafe.Pointer, h uintptr) uintptr {
38 return memHash64Fallback(p, h)
39 }
40
41 func StrHash(p unsafe.Pointer, h uintptr) uintptr {
42 return strHashFallback(p, h)
43 }
44
View as plain text