hash

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PositionInertia

type PositionInertia struct {
	// contains filtered or unexported fields
}

PositionInertia is a 8-bits hash which is bytes partitions inertia

func NewPositionInertia

func NewPositionInertia() *PositionInertia

NewPositionInertia creates a new position inertia algorithm hash builder

func (*PositionInertia) Reset

func (p *PositionInertia) Reset()

Reset resets the PositionInertia

func (*PositionInertia) Sum32

func (p *PositionInertia) Sum32() uint32

Sum32 returns the 32-bits hash

func (*PositionInertia) Write

func (p *PositionInertia) Write(bss ...[]byte)

Write writes the bytes into the PositionInertia

Jump to

Keyboard shortcuts

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