Home
last modified time | relevance | path

Searched refs:pchunks (Results 1 – 1 of 1) sorted by relevance

/third_party/nghttp2/src/
Dmemchunk_test.cc225 PeekMemchunks16 pchunks(&pool); in test_peek_memchunks_append() local
233 pchunks.append(b.data(), b.size()); in test_peek_memchunks_append()
235 CU_ASSERT(32 == pchunks.rleft()); in test_peek_memchunks_append()
236 CU_ASSERT(32 == pchunks.rleft_buffered()); in test_peek_memchunks_append()
238 CU_ASSERT(0 == pchunks.remove(nullptr, 0)); in test_peek_memchunks_append()
240 CU_ASSERT(32 == pchunks.rleft()); in test_peek_memchunks_append()
241 CU_ASSERT(32 == pchunks.rleft_buffered()); in test_peek_memchunks_append()
243 CU_ASSERT(12 == pchunks.remove(d.data(), 12)); in test_peek_memchunks_append()
247 CU_ASSERT(20 == pchunks.rleft()); in test_peek_memchunks_append()
248 CU_ASSERT(32 == pchunks.rleft_buffered()); in test_peek_memchunks_append()
[all …]