MCPcopy Index your code
hub / github.com/google/codesearch / Reset

Method Reset

sparse/set.go:34–36  ·  view source on GitHub ↗

Reset clears (empties) the set.

()

Source from the content-addressed store, hash-verified

32
33// Reset clears (empties) the set.
34func (s *Set) Reset() {
35 s.dense = s.dense[:0]
36}
37
38// Add adds x to the set if it is not already there.
39func (s *Set) Add(x uint32) {

Callers 6

decMethod · 0.80
initMethod · 0.80
stepEmptyMethod · 0.80
stepByteMethod · 0.80
TestNstateEncFunction · 0.80
AddMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestNstateEncFunction · 0.64