github.com/parquet-go/parquet-go@v0.20.0/hashprobe/aeshash/aeshash_purego.go (about)

     1  //go:build purego || !amd64
     2  
     3  package aeshash
     4  
     5  import "github.com/parquet-go/parquet-go/sparse"
     6  
     7  // Enabled always returns false since we assume that AES instructions are not
     8  // available by default.
     9  func Enabled() bool { return false }
    10  
    11  const unsupported = "BUG: AES hash is not available on this platform"
    12  
    13  func Hash32(value uint32, seed uintptr) uintptr { panic(unsupported) }
    14  
    15  func Hash64(value uint64, seed uintptr) uintptr { panic(unsupported) }
    16  
    17  func Hash128(value [16]byte, seed uintptr) uintptr { panic(unsupported) }
    18  
    19  func MultiHashUint32Array(hashes []uintptr, values sparse.Uint32Array, seed uintptr) {
    20  	panic(unsupported)
    21  }
    22  
    23  func MultiHashUint64Array(hashes []uintptr, values sparse.Uint64Array, seed uintptr) {
    24  	panic(unsupported)
    25  }
    26  
    27  func MultiHashUint128Array(hashes []uintptr, values sparse.Uint128Array, seed uintptr) {
    28  	panic(unsupported)
    29  }