- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 449 for OFFSET (0.04 sec)
-
cmd/erasure-decode.go
if offset < 0 || length < 0 { return -1, errInvalidArgument } if offset+length > totalLength { return -1, errInvalidArgument } if length == 0 { return 0, nil } reader := newParallelReader(readers, e, offset, totalLength) if len(prefer) == len(readers) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
byte[] dst = new byte[200]; int offset = 50; int length = name.writeWireFormat(dst, offset); // Check first byte at offset assertEquals(0x20, dst[offset]); // Check type encoding at correct offset assertEquals('C', dst[offset + 31]); assertEquals('A', dst[offset + 32]); assertTrue(length > 33); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
@Test @DisplayName("Test decode with buffer offset") void testDecodeWithBufferOffset() throws SMBProtocolDecodingException { // Prepare test data with offset byte[] buffer = new byte[20]; // Extra space to test offset int bufferIndex = 7; // Start at offset 7 long expectedIndexNumber = 0xFEDCBA9876543210L; // Encode test data at offsetRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml
<match value="0x4" type="big32" offset="4"/> <match value="0x5" type="big32" offset="4"/> <match value="0x6" type="big32" offset="4"/> <match value="0x7" type="big32" offset="4"/> <match value="0x8" type="big32" offset="4"/> <match value="0x9" type="big32" offset="4"/> <match value="0xA" type="big32" offset="4"/> <match value="0xB" type="big32" offset="4"/>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Oct 16 07:46:32 UTC 2025 - 320.2K bytes - Viewed (5) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
void testSignWithValidParameters() { // Arrange int offset = 0; int length = testData.length; // Act signingDigest.sign(testData, offset, length, request, response); // Assert verify(signingDigest, times(1)).sign(testData, offset, length, request, response); } @Test @DisplayName("Test sign method with different offsets")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
assertEquals(expected[i], dst[offset + i], () -> "byte index " + idx); } // The region before offset and after the payload must remain untouched. for (int i = 0; i < offset; i++) { final int idx = i; assertEquals(0, dst[i], () -> "pre-offset byte " + idx + " modified"); } for (int i = offset + 8; i < dst.length; i++) { final int idx = i;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
int offset = 64; // Start at offset to test proper indexing int written = request.writeBytesWireFormat(buffer, offset); // Verify bytes written assertEquals(24, written); // Verify structure size (should be 24) assertEquals(24, SMBUtil.readInt2(buffer, offset)); // Verify Reserved1 (2 bytes at offset+2, should be 0)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
byte[] buffer = new byte[512]; int offset = 0; // Set header start position for the response setHeaderStart(response, 64); // Write structure header (9 bytes) SMBUtil.writeInt2(9, buffer, offset); // Structure size SMBUtil.writeInt2(80 - 64, buffer, offset + 2); // Buffer offset (relative to header) SMBUtil.writeInt4(50, buffer, offset + 4); // Total length of notification data
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
public int encode(byte[] buffer, int offset) { int start = offset; // Write context header SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last) offset += 4; SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context) offset += 2; SMBUtil.writeInt2(4, buffer, offset); // NameLength offset += 2;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
return new SubList(fromIndex, toIndex - fromIndex); } private final class SubList extends ImmutableList<E> { final transient int offset; final transient int length; SubList(int offset, int length) { this.offset = offset; this.length = length; } @Override public int size() { return length; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0)