MCPcopy Index your code
hub / github.com/flyteorg/flyte / newSyncSet

Function newSyncSet

flytestdlib/cache/sync_set.go:36–40  ·  view source on GitHub ↗

newSyncSet initializes a new thread-safe set.

()

Source from the content-addressed store, hash-verified

34
35// newSyncSet initializes a new thread-safe set.
36func newSyncSet() *syncSet {
37 return &syncSet{
38 underlying: sync.Map{},
39 }
40}

Callers 4

NewInMemoryAutoRefreshFunction · 0.70
TestSyncSet_RangeFunction · 0.70
BenchmarkSyncSet_RangeFunction · 0.70
TestSyncSet_ContainsFunction · 0.70

Calls

no outgoing calls

Tested by 3

TestSyncSet_RangeFunction · 0.56
BenchmarkSyncSet_RangeFunction · 0.56
TestSyncSet_ContainsFunction · 0.56