MCPcopy Create free account
hub / github.com/cockroachdb/swiss / allocatorOption

Struct allocatorOption

options.go:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78type allocatorOption[K comparable, V any] struct {
79 allocator Allocator[K, V]
80}
81
82func (op allocatorOption[K, V]) apply(m *Map[K, V]) {
83 m.allocator = op.allocator

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected