Help us shape the future of Go! Take the 2026 Go Developer Survey

xxh3

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package xxh3 is an in-house, pure Go implementation of the XXH3 hash function's 64-bit variant (XXH3_64bits_withSeed), ported from the xxHash reference implementation vendored by libpg_query (xxhash.h, v0.8.x, BSD-2-Clause, (c) Yann Collet).

It exists because pg_query_go exports HashXXH3_64 and oliphant carries no runtime dependency beyond google.golang.org/protobuf (see PLAN.md § Fingerprinting). Only the one-shot seeded 64-bit variant is provided; that is the only entry point fingerprinting and the public API need.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash64Seed

func Hash64Seed(input []byte, seed uint64) uint64

Hash64Seed implements XXH3_64bits_withSeed. A zero seed takes the same code paths as the reference's XXH3_64bits.

Types

This section is empty.

Jump to

Keyboard shortcuts

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