rabinkarp

package
v0.0.0-...-2c21357 Latest Latest
Warning

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

Go to latest
Published: May 14, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package rabinkarp implements the Rabin-Karp rolling hash algorithm

Index

Constants

View Source
const Size = 8

Size of hash value in bytes

Variables

This section is empty.

Functions

func New

func New() rollinghash.Hash64

53 Power 8 won't overflow uint64

func NewWithPrimeAndSize

func NewWithPrimeAndSize(prime, windowSize int) rollinghash.Hash64

Types

This section is empty.

Jump to

Keyboard shortcuts

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