/external/lz4/tests/ |
D | fuzzer.c | 1131 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests() local 1144 while (iNext + messageSize < testCompressedSize) { in FUZ_unitTests() 1146 XXH64_update(&xxhOrig, testInput + iNext, messageSize); in FUZ_unitTests() 1149 memcpy (ringBuffer + rNext, testInput + iNext, messageSize); in FUZ_unitTests() 1150 …ast_continue(&streamingState, ringBuffer + rNext, testCompressed, (int)messageSize, testCompressed… in FUZ_unitTests() 1153 …e_continue(&decodeStateSafe, testCompressed, testVerify + dNext, compressedSize, (int)messageSize); in FUZ_unitTests() 1154 …FUZ_CHECKTEST(result!=(int)messageSize, "ringBuffer : LZ4_decompress_safe_continue() test failed"); in FUZ_unitTests() 1156 XXH64_update(&xxhNewSafe, testVerify + dNext, messageSize); in FUZ_unitTests() 1160 …4_decompress_fast_continue(&decodeStateFast, testCompressed, testVerify + dNext, (int)messageSize); in FUZ_unitTests() 1163 XXH64_update(&xxhNewFast, testVerify + dNext, messageSize); in FUZ_unitTests() [all …]
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | ServerEndpoint.java | 66 private final int messageSize; field in ServerEndpoint 79 ChannelType channelType, int messageSize, String[] protocols, in ServerEndpoint() argument 84 this.messageSize = messageSize; in ServerEndpoint() 87 buffer = new byte[messageSize]; in ServerEndpoint() 173 while (!stopping && totalBytesRead < messageSize) { in readMessage() 175 int remaining = messageSize - totalBytesRead; in readMessage()
|
D | EngineWrapBenchmark.java | 55 int messageSize(); in messageSize() method 86 int messageSize = config.messageSize(); in EngineWrapBenchmark() local 87 messageBuffer = bufferType.newBuffer(messageSize); in EngineWrapBenchmark() 88 messageBuffer.put(newTextMessage(messageSize)); in EngineWrapBenchmark()
|
D | ServerSocketBenchmark.java | 44 int messageSize(); in messageSize() method 60 byte[] message = newTextMessage(config.messageSize()); in ServerSocketBenchmark() 65 channelType, config.messageSize(), getProtocols(), ciphers(config)); in ServerSocketBenchmark() 104 byte[] buffer = new byte[config.messageSize()]; in ServerSocketBenchmark() 110 assertEquals(config.messageSize(), numBytes); in ServerSocketBenchmark()
|
D | CipherEncryptBenchmark.java | 72 int messageSize = messageSize(tx.toFormattedString()); in EncryptStrategy() local 73 outputSize = cipher.getOutputSize(messageSize); in EncryptStrategy() 80 final int messageSize(String transformation) throws Exception { in messageSize() method in CipherEncryptBenchmark.EncryptStrategy
|
D | ClientSocketBenchmark.java | 39 int messageSize(); in messageSize() method 58 message = newTextMessage(config.messageSize()); in ClientSocketBenchmark() 62 ChannelType.CHANNEL, config.messageSize(), config.protocol().getProtocols(), in ClientSocketBenchmark()
|
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/ |
D | ServerEndpoint.java | 69 private final int messageSize; field in ServerEndpoint 82 ChannelType channelType, int messageSize, String[] protocols, in ServerEndpoint() argument 87 this.messageSize = messageSize; in ServerEndpoint() 90 buffer = new byte[messageSize]; in ServerEndpoint() 176 while (!stopping && totalBytesRead < messageSize) { in readMessage() 178 int remaining = messageSize - totalBytesRead; in readMessage()
|
D | ServerSocketBenchmark.java | 46 int messageSize(); in messageSize() method 62 byte[] message = newTextMessage(config.messageSize()); in ServerSocketBenchmark() 67 channelType, config.messageSize(), getProtocols(), ciphers(config)); in ServerSocketBenchmark() 106 byte[] buffer = new byte[config.messageSize()]; in ServerSocketBenchmark() 112 assertEquals(config.messageSize(), numBytes); in ServerSocketBenchmark()
|
D | EngineWrapBenchmark.java | 57 int messageSize(); in messageSize() method 88 int messageSize = config.messageSize(); in EngineWrapBenchmark() local 89 messageBuffer = bufferType.newBuffer(messageSize); in EngineWrapBenchmark() 90 messageBuffer.put(newTextMessage(messageSize)); in EngineWrapBenchmark()
|
D | CipherEncryptBenchmark.java | 77 int messageSize = messageSize(tx.toFormattedString()); in EncryptStrategy() local 78 outputSize = cipher.getOutputSize(messageSize); in EncryptStrategy() 85 final int messageSize(String transformation) throws Exception { in messageSize() method in CipherEncryptBenchmark.EncryptStrategy
|
D | ClientSocketBenchmark.java | 41 int messageSize(); in messageSize() method 60 message = newTextMessage(config.messageSize()); in ClientSocketBenchmark() 64 ChannelType.CHANNEL, config.messageSize(), config.protocol().getProtocols(), in ClientSocketBenchmark()
|
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/ |
D | CaliperClientSocketBenchmark.java | 39 public int messageSize; field in CaliperClientSocketBenchmark 80 public int messageSize() { in messageSize() method in CaliperClientSocketBenchmark.CaliperConfig 81 return messageSize; in messageSize()
|
D | AndroidEndpointFactory.java | 34 public ServerEndpoint newServer(ChannelType channelType, int messageSize, in newServer() argument 37 channelType, messageSize, protocols, ciphers); in newServer()
|
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/ |
D | CaliperClientSocketBenchmark.java | 37 public int messageSize; field in CaliperClientSocketBenchmark 78 public int messageSize() { in messageSize() method in CaliperClientSocketBenchmark.CaliperConfig 79 return messageSize; in messageSize()
|
D | AndroidEndpointFactory.java | 32 public ServerEndpoint newServer(ChannelType channelType, int messageSize, in newServer() argument 35 channelType, messageSize, protocols, ciphers); in newServer()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DiscardUnknownFieldsTest.java | 77 final int messageSize = payload.size(); in assertReuseCodedInputStreamPreserve() local 78 byte[] copied = new byte[messageSize * 2]; in assertReuseCodedInputStreamPreserve() 80 payload.copyTo(copied, messageSize); in assertReuseCodedInputStreamPreserve() 84 int oldLimit = input.pushLimit(messageSize); in assertReuseCodedInputStreamPreserve()
|
/external/okio/okio/jvm/jmh/src/jmh/java/com/squareup/okio/benchmarks/ |
D | HashFunctionBenchmark.java | 46 public int messageSize; field in HashFunctionBenchmark 55 message = new byte[messageSize]; in setup() 59 jvm.update(message, 0, messageSize); in jvm()
|
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
D | JmhServerSocketBenchmark.java | 65 public int messageSize; field in JmhServerSocketBenchmark 101 public int messageSize() { in messageSize() method in JmhServerSocketBenchmark.JmhConfig 102 return messageSize; in messageSize()
|
D | JmhClientSocketBenchmark.java | 68 public int messageSize; field in JmhClientSocketBenchmark 110 public int messageSize() { in messageSize() method in JmhClientSocketBenchmark.JmhConfig 111 return messageSize; in messageSize()
|
D | OpenJdkEndpointFactory.java | 34 public ServerEndpoint newServer(ChannelType channelType, int messageSize, in newServer() argument 37 channelType, messageSize, protocols, ciphers); in newServer()
|
/external/deqp/executor/ |
D | xeTcpIpLink.cpp | 40 …atic void writeMessageHeader (de::BlockBuffer<deUint8>& dst, xs::MessageType type, int messageSize) in writeMessageHeader() argument 43 xs::Message::writeHeader(type, messageSize, &hdr[0], xs::MESSAGE_HEADER_SIZE); in writeMessageHeader() 294 size_t messageSize = 0; in run() local 299 xs::Message::parseHeader(&m_curMsgBuf[0], xs::MESSAGE_HEADER_SIZE, messageType, messageSize); in run() 300 hasPayload = m_curMsgPos >= messageSize; in run() 306 …MESSAGE_HEADER_SIZE ? &m_curMsgBuf[xs::MESSAGE_HEADER_SIZE] : DE_NULL, messageSize-xs::MESSAGE_HEA… in run() 312 size_t curSize = hasHeader ? messageSize : (size_t)xs::MESSAGE_HEADER_SIZE; in run()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | NetworkEvent.java | 166 public Builder setMessageSize(long messageSize) { in setMessageSize() argument 167 return setUncompressedMessageSize(messageSize); in setMessageSize()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | ApplicationThreadDeframer.java | 57 public void setMaxInboundMessageSize(int messageSize) { in setMaxInboundMessageSize() argument 58 deframer.setMaxInboundMessageSize(messageSize); in setMaxInboundMessageSize()
|
/external/deqp/execserver/tools/ |
D | xsClient.cpp | 109 size_t messageSize; in readMessage() local 110 Message::parseHeader(&header[0], (int)header.size(), type, messageSize); in readMessage() 122 readBytes(socket, messageBuf, messageSize-MESSAGE_HEADER_SIZE); in readMessage()
|
/external/deqp/execserver/ |
D | xsProtocol.hpp | 77 … void parseHeader (const deUint8* data, size_t dataSize, MessageType& type, size_t& messageSize); 78 static void writeHeader (MessageType type, size_t messageSize, deUint8* dst, size_t bufSize);
|