MCPcopy Create free account
hub / github.com/erans/pgsqlite / get_pooled_buffer

Function get_pooled_buffer

src/protocol/buffer_pool.rs:390–392  ·  view source on GitHub ↗

Get a buffer from the global pool

()

Source from the content-addressed store, hash-verified

388
389/// Get a buffer from the global pool
390pub fn get_pooled_buffer() -> PooledBytesMut {
391 global_buffer_pool().get_buffer()
392}
393
394#[cfg(test)]
395mod tests {

Callers 1

test_global_buffer_poolFunction · 0.85

Calls 2

global_buffer_poolFunction · 0.85
get_bufferMethod · 0.80

Tested by 1

test_global_buffer_poolFunction · 0.68