rolling

package
v0.0.0-...-1bb7c6f Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromRollingHash

func FromRollingHash(ctx context.Context, hash uint64, n int) []byte

FromRollingHash converts the given rolling hash value back into the original data

func Hash

func Hash(ctx context.Context, data []byte) uint64

Hash calculates the rolling hash value for the given data using the Rolling Hash algorithm

Types

This section is empty.

Jump to

Keyboard shortcuts

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