- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 541 for offset (0.03 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
// When int offset1 = chunk1.encode(buffer, 0); int offset2 = chunk2.encode(buffer, offset1); int offset3 = chunk3.encode(buffer, offset1 + offset2); // Then assertEquals(EXPECTED_SIZE, offset1); assertEquals(EXPECTED_SIZE, offset2); assertEquals(EXPECTED_SIZE, offset3); // Verify first chunkRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
private int startPosition; private int pageSize; private int offset; TestSearchRequestParams(int startPosition, int pageSize, int offset) { this.startPosition = startPosition; this.pageSize = pageSize; this.offset = offset; } @Override public String getQuery() { return null; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
buffer[offset + 24] = 0x12; buffer[offset + 25] = 0x34; buffer[offset + 26] = 0x56; buffer[offset + 27] = 0x78; // Decode int bytesConsumed = response.decode(buffer, offset, 28); // Verify assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes"); byte[] resumeKey = response.getResumeKey();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
// Verify assertEquals(14 + nameBytes.length, bytesEncoded); // Check timeout value at offset assertEquals(timeout, SMBUtil.readInt8(buffer, offset)); // Check name length at offset assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, offset + 8)); // Check timeout specified flag at offset assertEquals(0x1, buffer[offset + 12]);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
} @Override public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException { if (data == null) { throw new CIFSException("Data cannot be null"); } if (offset < 0 || length < 0 || offset + length > data.length) { throw new CIFSException("Invalid offset or length"); } if (!isAlgorithmSupported(algorithm)) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr SMBUtil.writeInt4(0, buffer, offset + 24); // sin6_scope_id } else { // IPv4 sockaddr_in structure (Windows AF_INET = 2) SMBUtil.writeInt2(2, buffer, offset); // sa_family: AF_INET
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should handle output buffer with offset") void testReadBytesWireFormatWithOutputOffset() throws Exception { // Given int offset = 100; byte[] largeOutputBuffer = new byte[1024]; Smb2ReadResponse offsetResponse = new Smb2ReadResponse(mockConfig, largeOutputBuffer, offset); byte[] buffer = new byte[256]; int bodyStart = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
imports = ["okhttp3.RequestBody.Companion.toRequestBody"], ), level = DeprecationLevel.WARNING, ) fun create( contentType: MediaType?, content: ByteArray, offset: Int = 0, byteCount: Int = content.size, ): RequestBody = content.toRequestBody(contentType, offset, byteCount) @JvmStatic
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
final int offset = readULong(src, index + 4); final byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong(final byte[] dest, final int offset, final int ulong) { dest[offset] = (byte) (ulong & 0xff); dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0)