package hash

import "github.com/influxdata/flux/stdlib/contrib/qxip/hash"

Index

Functions

func CityHash64

func CityHash64(s []byte, length uint32) uint64

func CityHash64WithSeed

func CityHash64WithSeed(s []byte, length uint32, seed uint64) uint64

func CityHash64WithSeeds

func CityHash64WithSeeds(s []byte, length uint32, seed0, seed1 uint64) uint64

func Hash128to64

func Hash128to64(x Uint128) uint64

Types

type Uint128

type Uint128 [2]uint64

func CityHash128

func CityHash128(s []byte, length uint32) (result Uint128)

func CityHash128WithSeed

func CityHash128WithSeed(s []byte, length uint32, seed Uint128) Uint128

func (Uint128) Bytes

func (t Uint128) Bytes() []byte

func (Uint128) Higher64

func (t Uint128) Higher64() uint64

func (Uint128) Lower64

func (t Uint128) Lower64() uint64

Source Files

cityhash.go hash.go

Version
v0.196.1 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
16 packages
Last checked
1 day ago

Tools for package owners.