MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / Set

Method Set

pkg/controller/rtctrl/logstore.go:57–59  ·  view source on GitHub ↗
(f bits)

Source from the content-addressed store, hash-verified

55)
56
57func (b *bits) Set(f bits) {
58 *b = *b | f
59}
60
61func (b *bits) Has(f bits) bool {
62 return *b&f != 0

Callers 1

TestBitsFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestBitsFunction · 0.76