- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,114 for 0bytes (1.34 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); // The response structure is reserved and must be zero (8 bytes) private byte[] reserved = new byte[8]; /** * Create a new durable handle response */ public DurableHandleResponse() { // Reserved field initialized to zeros } @Override public byte[] getName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
cmd/signature-v4.go
// according to the AWS S3 signature V4 spec. func compareSignatureV4(sig1, sig2 string) bool { // The CTC using []byte(str) works because the hex encoding // is unique for a sequence of bytes. See also compareSignatureV2. return subtle.ConstantTimeCompare([]byte(sig1), []byte(sig2)) == 1 } // doesPolicySignatureMatch - Verify query headers with post policy
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
throws IOException { byte[] bytes = decoded.getBytes(UTF_8); try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) { for (int i = 0; i < bytes.length; i++) { assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF); } assertThat(decodingStream.read()).isEqualTo(-1); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
} } @Override HashCode makeHash(Hasher[] hashers) { byte[] bytes = new byte[bits() / 8]; int i = 0; for (Hasher hasher : hashers) { HashCode newHash = hasher.hash(); i += newHash.writeBytesTo(bytes, i, newHash.bits() / 8); } return HashCode.fromBytesNoCopy(bytes); } @Override public int bits() { int bitSum = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:06:57 UTC 2025 - 31.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java
// Write context name System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4); dstIndex += 4; // Padding to align data to 8-byte boundary dstIndex += 4; // Write durable handle request data (16 bytes of reserved) for (int i = 0; i < 16; i++) { dst[dstIndex + i] = 0; } dstIndex += 16; return dstIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
} @Test @DisplayName("Should return correct number of bytes consumed from buffer") void shouldReturnCorrectBytesConsumed() throws SMBProtocolDecodingException { // Given - larger buffer than needed byte[] buffer = new byte[100]; ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN); bb.putLong(1000L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
} @Test fun clientSimpleBinary() { val bytes = binaryData(256) data.write("827E0100".decodeHex()).write(bytes) clientReader.processNextFrame() callback.assertBinaryMessage(bytes) } @Test fun clientTwoFrameBinary() { val bytes = binaryData(200) data.write("0264".decodeHex()).write(bytes, 0, 100) data.write("8064".decodeHex()).write(bytes, 100, 100) clientReader.processNextFrame()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
cmd/perf-tests.go
}, nil } // To collect RX stats during "mc support perf net" // RXSample holds the RX bytes for the duration between // the last peer to connect and the first peer to disconnect. // This is to improve the RX throughput accuracy. type netPerfRX struct { RX uint64 // RX bytes lastToConnect time.Time // time at which last peer to connect to us
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
assertByteArrayEquals( new byte[] { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC, (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 }, Longs.toByteArray(0xFFEEDDCCBBAA9988L)); } public void testFromByteArray() { assertThat( Longs.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x33}))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
reader.read("ANY") { header -> val bytes = reader.readUnknown() return AnyValue( tagClass = header.tagClass, tag = header.tag, constructed = header.constructed, length = header.length, bytes = bytes, ) } } override fun toDer( writer: DerWriter,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0)