xxh64

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package xxh64 implements seed-zero XXH64 for in-memory cache keys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) uint64

func Float32

func Float32(v float32) uint32

func Float64

func Float64(v float64) uint64

Float64 and Float32 encode both signs of zero identically for Go value keys.

func Sum

func Sum[T ~string | ~[]byte](data T) uint64

Sum hashes the bytes of data.

func Words

func Words(words ...uint64) uint64

Words hashes the little-endian encoding of words without a byte buffer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL