MCPcopy
hub / github.com/cilium/cilium / WithoutGC

Function WithoutGC

pkg/allocator/allocator.go:423–425  ·  view source on GitHub ↗

WithoutGC disables the use of the garbage collector

()

Source from the content-addressed store, hash-verified

421
422// WithoutGC disables the use of the garbage collector
423func WithoutGC() AllocatorOption {
424 return func(a *Allocator) { a.disableGC = true }
425}
426
427// WithoutAutostart prevents starting the allocator when it is initialized
428func WithoutAutostart() AllocatorOption {

Callers 7

TestAllocateCachedFunction · 0.92
TestRemoteCacheFunction · 0.92
testAllocatorFunction · 0.85
TestWatchRemoteKVStoreFunction · 0.85
TestCacheValidatorsFunction · 0.85

Calls

no outgoing calls

Tested by 7

TestAllocateCachedFunction · 0.74
TestRemoteCacheFunction · 0.74
testAllocatorFunction · 0.68
TestWatchRemoteKVStoreFunction · 0.68
TestCacheValidatorsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…