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

Method offset

query/device_allocator.go:89–94  ·  view source on GitHub ↗

offset returns another pointer points to the address of current ptr + offset.

(offset int)

Source from the content-addressed store, hash-verified

87
88// offset returns another pointer points to the address of current ptr + offset.
89func (p devicePointer) offset(offset int) devicePointer {
90 return devicePointer{
91 device: p.device,
92 pointer: utils.MemAccess(p.getPointer(), offset),
93 }
94}
95
96// deviceAllocator is the interface to allocate and deallocate device memory for a specific device.
97// Note this allocator only tracks memory usage as golang side. Any memory allocation/deallocation at

Callers 4

allocateStackFrameMethod · 0.80
prepareForFilteringMethod · 0.80
hostToDeviceColumnFunction · 0.80

Calls 2

getPointerMethod · 0.95
MemAccessFunction · 0.92

Tested by

no test coverage detected