- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,155 for differ (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
Callable { val buffer = Buffer() while (source!!.read(buffer, 16384) != -1L) { } source.close() buffer.readByteString() } private fun assertFile( prefix: ByteString, upstreamSize: Long, metadataSize: Int, upstream: String?, metadata: ByteString?, ) { val source = file.source().buffer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/Referral.java
bufferIndex += 2; this.size = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.serverType = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.rflags = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; if (this.version == 3) { this.proximity = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
info.allocationSize = readInt8(buffer, bufferIndex); bufferIndex += 8; info.endOfFile = readInt8(buffer, bufferIndex); bufferIndex += 8; info.numberOfLinks = readInt4(buffer, bufferIndex); bufferIndex += 4; info.deletePending = (buffer[bufferIndex] & 0xFF) > 0; bufferIndex++; info.directory = (buffer[bufferIndex++] & 0xFF) > 0; this.info = info;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
private val inflaterSource = InflaterSource(deflatedBytes, inflater) /** Inflates [buffer] in place as described in RFC 7692 section 7.2.2. */ @Throws(IOException::class) fun inflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { inflater.reset() } deflatedBytes.writeAll(buffer) deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
buffer.putInt(4, 8); // Offset System.arraycopy(content, 0, data, 8, content.length); // Place content at offset 8 byte[] result = NtlmMessage.readSecurityBuffer(data, 0); assertArrayEquals(content, result, "Should read security buffer content correctly."); // Test with zero length buffer buffer.putShort(0, (short) 0); buffer.putShort(2, (short) 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0); // Control code is at offset 4 (4 bytes) int encodedControlCode = (buffer[4] & 0xFF) | ((buffer[5] & 0xFF) << 8) | ((buffer[6] & 0xFF) << 16) | ((buffer[7] & 0xFF) << 24); assertEquals(testControlCode, encodedControlCode); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
} /** * Reads the AndX wire format from buffer * @param buffer the buffer to read from * @param bufferIndex the starting index * @return the number of bytes read * @throws SMBProtocolDecodingException if decoding fails */ protected int readAndXWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'}; private ByteArrayInputStream buffer; @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); buffer = new ByteArrayInputStream(testBytes); when(hashFunction.newHasher()).thenReturn(hasher); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'}; private ByteArrayInputStream buffer; @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); buffer = new ByteArrayInputStream(testBytes); when(hashFunction.newHasher()).thenReturn(hasher); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java
protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; buffer[bufferIndex] = (byte) 0x00; // Reserved bufferIndex++; buffer[bufferIndex++] = (byte) 0x00; // Reserved buffer[bufferIndex++] = (byte) 0x00; // Reserved this.totalParameterCount = SMBUtil.readInt4(buffer, bufferIndex); if (this.bufDataStart == 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0)