Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/qpid-proton
/ is_valid
Function
is_valid
c/tests/tls_test.cpp:273–275 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
271
}
272
273
bool is_valid(pn_raw_buffer_t &rb) {
274
return rb.bytes && rb.capacity && (rb.size + rb.offset <= rb.capacity);
275
}
276
277
void drain_processed_input_bufs(pn_tls_t *tls) {
278
pn_raw_buffer_t rb;
Callers
1
pump
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected