Searched refs:chunks (Results 1 – 4 of 4) sorted by relevance
/unit/test/ |
H A D | test_proxy_chunked.py | 76 def chunks(self, chunks): argument 79 for l, c in chunks: 114 self.get_http10(body=self.chunks([('1000', part + ' X 256')]))[ 120 self.get_http10(body=self.chunks([('100000', part + ' X 65536')]))[ 127 body=self.chunks([('1000000', part + ' X 1048576')]), 135 body=self.chunks( 143 body=self.chunks( 154 body=self.chunks( 170 body=self.chunks([('1', hex(i % 16)[2:]) for i in range(4096)]),
|
/unit/src/ |
H A D | nxt_mem_zone.c | 229 last = chunks; in nxt_mem_zone_pages() 235 } while (chunks > 1); in nxt_mem_zone_pages() 302 if (slot[n].chunks != chunks) { in nxt_mem_zone_slots_init() 318 slot[n].chunks = chunks; in nxt_mem_zone_slots_init() 340 slot->chunks--; in nxt_mem_zone_slot_init() 530 page->chunks--; in nxt_mem_zone_alloc_small() 554 page->chunks = slot->chunks; in nxt_mem_zone_alloc_small() 861 page->chunks = 1; in nxt_mem_zone_free_chunk() 867 } else if (page->chunks != slot->chunks) { in nxt_mem_zone_free_chunk() 868 page->chunks++; in nxt_mem_zone_free_chunk() [all …]
|
H A D | nxt_mp.c | 49 uint8_t chunks; member 549 page->chunks--; in nxt_mp_alloc_small() 551 if (page->chunks == 0) { in nxt_mp_alloc_small() 566 page->chunks = (1 << n) - 1; in nxt_mp_alloc_small() 900 page->chunks++; in nxt_mp_chunk_free() 902 if (page->chunks == 1) { in nxt_mp_chunk_free()
|
/unit/test/unit/ |
H A D | http.py | 240 chunks = raw_body.split(crlf) 242 if len(chunks) < 3: 245 if chunks.pop() != b'': 249 last_size = int(chunks[-2], 16) 254 if last_size != 0 or chunks[-1] != b'': 258 while len(chunks) >= 2: 260 size = int(chunks.pop(0), 16) 266 assert len(chunks) == 1, 'last zero size' 269 temp_body = crlf.join(chunks) 275 chunks = temp_body.split(crlf)
|