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

Method GetValue

memstore/vectors/vector.go:195–197  ·  view source on GitHub ↗

GetValue returns the data value for the specified index. index bound is not checked! The return value points to the internal buffer location that stores the value.

(index int)

Source from the content-addressed store, hash-verified

193// index bound is not checked!
194// The return value points to the internal buffer location that stores the value.
195func (v *Vector) GetValue(index int) unsafe.Pointer {
196 return unsafe.Pointer(v.buffer + uintptr(v.unitBits/8*index))
197}
198
199// GetMinValue return the min value of the Vector Party
200func (v *Vector) GetMinValue() uint32 {

Callers 2

LowerBoundMethod · 0.95
UpperBoundMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected