MCPcopy
hub / github.com/dropbox/godropbox / Add

Method Add

container/set/set.go:18–18  ·  view source on GitHub ↗

Inserts v into this set.

(v interface{})

Source from the content-addressed store, hash-verified

16 Contains(v interface{}) bool
17 // Inserts v into this set.
18 Add(v interface{})
19 // Removes v from this set, if it is present. Returns true if and only if v was present.
20 Remove(v interface{}) bool
21

Callers 15

TestUnionMethod · 0.95
TestIntersectMethod · 0.95
TestSubtractMethod · 0.95
TestSubsetsMethod · 0.95
TestEqualityMethod · 0.95
UpdateShardStatesMethod · 0.95
TestRegisterAndGetMethod · 0.95
TestInitWithPoolsMethod · 0.95
TestUnregisteredMethod · 0.95
SampleIntsFunction · 0.95
TestAddOrGetHoldsLockMethod · 0.65
TestLockKeySimple2Method · 0.65

Implementers 2

setImplcontainer/set/set.go
keyedSetImplcontainer/set/set.go

Calls

no outgoing calls

Tested by 15

TestUnionMethod · 0.76
TestIntersectMethod · 0.76
TestSubtractMethod · 0.76
TestSubsetsMethod · 0.76
TestEqualityMethod · 0.76
TestRegisterAndGetMethod · 0.76
TestInitWithPoolsMethod · 0.76
TestUnregisteredMethod · 0.76
TestAddOrGetHoldsLockMethod · 0.52
TestLockKeySimple2Method · 0.52
testLockKeyParallelMethod · 0.52
TestLockKeyMultipleMethod · 0.52