- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 486 for _offsets (0.05 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
void testReadParametersWireFormatWithBufferOffset() throws Exception { int offset = 20; byte[] notificationData = createSingleNotificationBuffer("offset_test.txt", FileNotifyInformation.FILE_ACTION_MODIFIED); byte[] buffer = new byte[offset + notificationData.length]; System.arraycopy(notificationData, 0, buffer, offset, notificationData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@DisplayName("Should handle various offsets and lengths") @CsvSource({ "1024, 0, 1024", "1024, 100, 900", "1024, 500, 524", "2048, 1024, 1024", "4096, 2048, 2048", "65536, 32768, 32768" }) void testVariousOffsetsAndLengths(int dataSize, int offset, int length) { byte[] data = new byte[dataSize]; assertDoesNotThrow(() -> request.setData(data, offset, length)); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(0, SMBUtil.readInt2(buffer, offset + 2)); // Verify Reserved (4 bytes at offset+4, should be 0) assertEquals(0, SMBUtil.readInt4(buffer, offset + 4)); // Verify file ID is copied correctly (16 bytes starting at offset+8) byte[] copiedFileId = new byte[16]; System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16); assertArrayEquals(testFileId, copiedFileId); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
} if (srcOffset < 0 || dstOffset < 0 || length < 0) { throw new IllegalArgumentException("Offsets and length must be non-negative"); } if (srcOffset + length > src.length) { throw new IllegalArgumentException( "Source array bounds exceeded: offset=" + srcOffset + ", length=" + length + ", array.length=" + src.length); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt8(testTime, buffer, offset + 8); SMBUtil.writeInt8(testTime + 1000, buffer, offset + 16); SMBUtil.writeInt8(testTime + 2000, buffer, offset + 24); SMBUtil.writeInt8(testTime + 3000, buffer, offset + 32); SMBUtil.writeInt8(8192, buffer, offset + 40); SMBUtil.writeInt8(2048, buffer, offset + 48); SMBUtil.writeInt4(0x10, buffer, offset + 56);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] hdr = new byte[64]; // SMB2 header is 64 bytes System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64); // Write Status (little-endian) at offset 8 in the SMB2 header SMBUtil.writeInt4(status, hdr, 8); // Write Command = SMB2_IOCTL (0x000B) at offset 12 SMBUtil.writeInt2(0x000B, hdr, 12); // Mark as server response to be realistic (optional)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
api/go1.6.txt
pkg image, func NewNYCbCrA(Rectangle, YCbCrSubsampleRatio) *NYCbCrA pkg image, method (*NYCbCrA) AOffset(int, int) int pkg image, method (*NYCbCrA) At(int, int) color.Color pkg image, method (*NYCbCrA) Bounds() Rectangle pkg image, method (*NYCbCrA) COffset(int, int) int pkg image, method (*NYCbCrA) ColorModel() color.Model pkg image, method (*NYCbCrA) NYCbCrAAt(int, int) color.NYCbCrA
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 13 23:40:13 UTC 2016 - 12.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
static final int IN = 0x0001; static final int A = 0x0001; static final int NS = 0x0002; static final int NULL = 0x000a; static final int HEADER_LENGTH = 12; // header field offsets static final int OPCODE_OFFSET = 2; static final int QUESTION_OFFSET = 4; static final int ANSWER_OFFSET = 6; static final int AUTHORITY_OFFSET = 8; static final int ADDITIONAL_OFFSET = 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
static final int IN = 0x0001; static final int A = 0x0001; static final int NS = 0x0002; static final int NULL = 0x000a; static final int HEADER_LENGTH = 12; // header field offsets static final int OPCODE_OFFSET = 2; static final int QUESTION_OFFSET = 4; static final int ANSWER_OFFSET = 6; static final int AUTHORITY_OFFSET = 8; static final int ADDITIONAL_OFFSET = 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0)