hash

package
v0.0.0-...-0958f0d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package hash provides the same hash primitives as used by the eBPF. This file should be kept in sync with the eBPF tracemgmt.h.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Uint32

func Uint32(x uint32) uint32

Uint32 computes a hash of a 32-bit uint using the finalizer function for Murmur. 32-bit via https://en.wikipedia.org/wiki/MurmurHash#Algorithm

func Uint64

func Uint64(x uint64) uint64

Uint64 computes a hash of a 64-bit uint using the finalizer function for Murmur3 Via https://lemire.me/blog/2018/08/15/fast-strongly-universal-64-bit-hashing-everywhere/

Types

This section is empty.

Jump to

Keyboard shortcuts

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