Home
last modified time | relevance | path

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

/thrift-3.4.0/lib/php/src/ext/thrift_protocol/
Dphp_thrift_protocol.cpp301 size_t chunk_size = (std::min)(len, buffer_used); in skip() local
302 if (chunk_size) { in skip()
303 buffer_ptr = reinterpret_cast<char*>(buffer_ptr) + chunk_size; in skip()
304 buffer_used -= chunk_size; in skip()
305 len -= chunk_size; in skip()
314 size_t chunk_size = (std::min)(len, buffer_used); in readBytes() local
315 if (chunk_size) { in readBytes()
316 memcpy(buf, buffer_ptr, chunk_size); in readBytes()
317 buffer_ptr = reinterpret_cast<char*>(buffer_ptr) + chunk_size; in readBytes()
318 buffer_used -= chunk_size; in readBytes()
[all …]
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/transport/
DTFileTransport.java111 public ChunkState(int chunk_size) { in ChunkState() argument
112 chunk_size_ = chunk_size; in ChunkState()