MCPcopy Index your code
hub / github.com/celzero/firestack / swapBuffersLocked

Method swapBuffersLocked

intra/log/memconsole.go:360–376  ·  view source on GitHub ↗

swapBuffersLocked stamps the count header of the active buffer, sets its draining flag, flips active to the other buffer, and returns the Drain call parameters. Returns drainIdx=-1 when there is nothing to flush.

()

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 2

setCountLockedMethod · 0.80
StoreMethod · 0.45

Tested by

no test coverage detected