Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
390
pub fn get_pooled_buffer() -> PooledBytesMut {
391
global_buffer_pool().get_buffer()
392
}
393
394
#[cfg(test)]
395
mod tests {
Callers
1
test_global_buffer_pool
Function · 0.85
Calls
2
global_buffer_pool
Function · 0.85
get_buffer
Method · 0.80
Tested by
1
test_global_buffer_pool
Function · 0.68