MCPcopy
hub / github.com/uber/aresdb / SetBool

Method SetBool

memstore/common/vector_party.go:167–167  ·  view source on GitHub ↗

Note for all following functions, data type are not checked. So callee need to perform the data type check and call the correct SetXXX function. If we already know this is a bool vp, we can set bool directly without constructing a data value struct.

(offset int, val bool, valid bool)

Source from the content-addressed store, hash-verified

165
166 // If we already know this is a bool vp, we can set bool directly without constructing a data value struct.
167 SetBool(offset int, val bool, valid bool)
168 // Set value via a unsafe.Pointer directly.
169 SetValue(offset int, val unsafe.Pointer, valid bool)
170 // Set go value directly.

Callers 8

SetBoolMethod · 0.65
setDataValueFunction · 0.65
writeBatchRecordsMethod · 0.65
setValidityMethod · 0.65
SetDataValueMethod · 0.65
vector_test.goFile · 0.65
setDataValueFunction · 0.65

Implementers 4

cLiveVectorPartymemstore/live_vector_party.go
goLiveVectorPartymemstore/live_vector_party.go
LiveVectorPartymemstore/list/live_vector_party.go
LiveVectorPartymemstore/common/mocks/LiveVectorParty.

Calls

no outgoing calls

Tested by

no test coverage detected