Home
last modified time | relevance | path

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

/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetWritableBufferAllocator.java28 private static final int MAX_BUFFER = 1024 * 1024; field in CronetWritableBufferAllocator
38 capacityHint = Math.min(MAX_BUFFER, capacityHint); in allocate()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpWritableBufferAllocator.java34 private static final int MAX_BUFFER = 1024 * 1024; field in OkHttpWritableBufferAllocator
48 capacityHint = Math.min(MAX_BUFFER, Math.max(MIN_BUFFER, capacityHint)); in allocate()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyWritableBufferAllocator.java40 private static final int MAX_BUFFER = 1024 * 1024; field in NettyWritableBufferAllocator
50 capacityHint = Math.min(MAX_BUFFER, Math.max(MIN_BUFFER, capacityHint)); in allocate()
/external/ms-tpm-20-ref/TPMCmd/Simulator/src/
DTcpServer.c85 #define MAX_BUFFER 1048576 macro
86 char InputBuffer[MAX_BUFFER]; //The input data buffer for the simulator.
87 char OutputBuffer[MAX_BUFFER]; //The output data buffer for the simulator.
689 OK = ReadVarBytes(s, InputBuffer, &length, MAX_BUFFER); in TpmServer()
699 OK = ReadVarBytes(s, InputBuffer, &length, MAX_BUFFER); in TpmServer()
704 OutBuffer.BufferSize = MAX_BUFFER; in TpmServer()
/external/libaom/libaom/examples/
Dinspect.c45 const int MAX_BUFFER = 1024 * 1024 * 256; variable
515 buf += snprintf(buf, MAX_BUFFER, " \"%sMap\": {", name); in put_block_info()
519 buf += snprintf(buf, MAX_BUFFER, " \"%s\": [", name); in put_block_info()
584 buf += snprintf(buf, MAX_BUFFER, "\"%s\"", in put_accounting()
625 char *buffer = aom_malloc(MAX_BUFFER); in inspect()
714 snprintf(buf, MAX_BUFFER, " \"frame\": %d,\n", frame_data.frame_number); in inspect()
715 buf += snprintf(buf, MAX_BUFFER, " \"showFrame\": %d,\n", in inspect()
717 buf += snprintf(buf, MAX_BUFFER, " \"frameType\": %d,\n", in inspect()
719 buf += snprintf(buf, MAX_BUFFER, " \"baseQIndex\": %d,\n", in inspect()
721 buf += snprintf(buf, MAX_BUFFER, " \"tileCols\": %d,\n", in inspect()
[all …]
/external/rust/crates/futures-channel/src/mpsc/
Dmod.rs327 const MAX_BUFFER: usize = MAX_CAPACITY >> 1; constant
367 assert!(buffer < MAX_BUFFER, "requested buffer size too large"); in channel()
920 if curr == MAX_BUFFER { in clone()
924 debug_assert!(curr < MAX_BUFFER); in clone()