MCPcopy Create free account
hub / github.com/celzero/firestack / consume

Method consume

intra/log/memconsole.go:380–389  ·  view source on GitHub ↗

consume calls Drain for the prepared drain parameters, then resets the count header and clears the draining flag for that buffer. idx < 0 is a no-op.

(r MemReader, idx, start, end int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

writeMethod · 0.95
periodicFlushMethod · 0.95
FlushMethod · 0.95
CloseMethod · 0.95

Calls 4

setCountLockedMethod · 0.80
DrainMethod · 0.65
AddMethod · 0.65
StoreMethod · 0.45

Tested by

no test coverage detected