| // Copyright 2026 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| |
| //go:build !(amd64 || arm64 || 386) |
| |
| package maps |
| |
| import ( |
| "unsafe" |
| ) |
| |
| // AES hashing not implemented for these architectures |
| func MemHash(p unsafe.Pointer, h, s uintptr) uintptr { |
| return memHashFallback(p, h, s) |
| } |
| |
| func MemHash32(p unsafe.Pointer, h uintptr) uintptr { |
| return memHash32Fallback(p, h) |
| } |
| |
| func MemHash64(p unsafe.Pointer, h uintptr) uintptr { |
| return memHash64Fallback(p, h) |
| } |
| |
| func StrHash(p unsafe.Pointer, h uintptr) uintptr { |
| return strHashFallback(p, h) |
| } |