Home
last modified time | relevance | path

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

/memcached-1.6.32/
Dproxy_tls.c218 size_t remain = et->tls_wbuf_size; in mcp_tls_writev() local
225 size_t to_copy = len < remain ? len : remain; in mcp_tls_writev()
228 remain -= to_copy; in mcp_tls_writev()
230 if (remain == 0) in mcp_tls_writev()
Dstorage.c296 size_t remain = new_it->nbytes; in storage_get_item() local
314 while (remain > 0) { in storage_get_item()
315 chunk = do_item_alloc_chunk(chunk, remain); in storage_get_item()
326 eio->iov[ciovcnt].iov_len = (remain < chunk->size) ? remain : chunk->size; in storage_get_item()
327 chunk->used = (remain < chunk->size) ? remain : chunk->size; in storage_get_item()
328 remain -= chunk->size; in storage_get_item()
540 int remain = orig_ntotal; in storage_write() local
547 while (sch && remain) { in storage_write()
548 assert(remain >= sch->used); in storage_write()
551 remain -= sch->used; in storage_write()
Dproxy_request.c96 int remain = pr->endlen - pr->parsed; in _process_request_next_key() local
99 while (remain) { in _process_request_next_key()
101 remain--; in _process_request_next_key()
109 const char *s = memchr(cur, ' ', remain); in _process_request_next_key()
114 pr->klen = remain; in _process_request_next_key()
115 pr->parsed += remain; in _process_request_next_key()
Dmemcached.h657 int remain = offset % 8; in ITEM_schunk() local
658 if (remain != 0) { in ITEM_schunk()
659 offset += 8 - remain; in ITEM_schunk()
Dproxy_lua.c673 size_t remain = klen - (t1 - key); in mcp_key_hash_filter_tag() local
675 if (remain > 1) { in mcp_key_hash_filter_tag()
676 const char *t2 = memchr(t1, conf[1], remain); in mcp_key_hash_filter_tag()
Ditems.c287 int remain = htotal % 8; in do_item_alloc() local
288 if (remain != 0) { in do_item_alloc()
289 htotal += 8 - remain; in do_item_alloc()
Dmemcached.c1480 int remain = len; in _store_item_copy_chunks() local
1486 while (sch && dch && remain) { in _store_item_copy_chunks()
1490 if (remain < todo) in _store_item_copy_chunks()
1491 todo = remain; in _store_item_copy_chunks()
1495 remain -= todo; in _store_item_copy_chunks()
1498 item_chunk *tch = do_item_alloc_chunk(dch, remain); in _store_item_copy_chunks()
1512 assert(remain == 0); in _store_item_copy_chunks()
DDoxyfile692 # fragments. Normal C and C++ comments will always remain visible.
/memcached-1.6.32/t/
Dproxyconfig.t418 my $remain = $batch_size;
420 while ($remain > 0) {
432 $remain--;
437 is($remain, -1, "completed batch workload to backends");
/memcached-1.6.32/doc/
DDoxyfile586 # fragments. Normal C and C++ comments will always remain visible.