MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / HashMap

Struct HashMap

structure/hashmap/hashmap.go:17–21  ·  view source on GitHub ↗

HashMap is a Golang implementation of a hashmap

Source from the content-addressed store, hash-verified

15
16// HashMap is a Golang implementation of a hashmap
17type HashMap struct {
18 capacity uint64
19 size uint64
20 table []*node
21}
22
23// DefaultNew returns a new HashMap instance with default values
24func DefaultNew() *HashMap {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected