Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/erans/pgsqlite
/ capacity
Method
capacity
src/protocol/buffer_pool.rs:354–356 ·
view source on GitHub ↗
Get the capacity of the buffer
(&self)
Source
from the content-addressed store, hash-verified
352
353
/// Get the capacity of the buffer
354
pub fn capacity(&self) -> usize {
355
self.buffer().capacity()
356
}
357
358
/// Clear the buffer content
359
pub fn clear(&mut self) {
Callers
3
should_discard
Method · 0.80
get_buffer
Method · 0.80
return_buffer
Method · 0.80
Calls
1
buffer
Method · 0.80
Tested by
no test coverage detected