MCPcopy Index your code
hub / github.com/Andy-Python-Programmer/aero / extract

Method extract

src/aero_kernel/src/utils/buffer.rs:100–120  ·  view source on GitHub ↗

Extracts the contents of the ring buffer as a string slice, excluding any partially overwritten UTF-8 code unit sequences at the beginning. Extraction rotates the contents of the ring buffer such that all of its contents becomes contiguous in memory. This function takes O(n) time where n is buffer length.

(&mut self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_log_bufferMethod · 0.80

Calls 2

rotateMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected