hashes

package
v0.0.0-...-9022664 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const SIZE uint32 = 100

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Next *Node
	Key  string
	Val  int
}

type SCHashTable

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

func NewSCHashTable

func NewSCHashTable() SCHashTable

func (*SCHashTable) Del

func (h *SCHashTable) Del(key string)

func (*SCHashTable) Find

func (h *SCHashTable) Find(key string, node *Node) *Node

func (*SCHashTable) Get

func (h *SCHashTable) Get(key string) (int, error)

func (*SCHashTable) Set

func (h *SCHashTable) Set(key string, val int)

Jump to

Keyboard shortcuts

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