- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 490 for offsetX (0.04 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
void testReadSetupWireFormatVariousParams() { // Test with different buffer sizes and offsets int[][] testCases = { { 0, 50 }, // No offset, 50 bytes { 10, 90 }, // 10 byte offset, 90 bytes { 50, 50 }, // 50 byte offset, 50 bytes { 0, 0 }, // Empty buffer { 100, 100 } // Large values };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertEquals((byte) 0x04, dst[0]); // First buffer format byte } /** * Test writeBytesWireFormat with different buffer offsets */ @Test @DisplayName("Test writeBytesWireFormat with different buffer offsets") public void testWriteBytesWireFormatWithOffset() { // Given String oldFileName = "old.txt"; String newFileName = "new.txt";
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/main/webapp/js/admin/bootstrap.min.js.map
$(this._element).closest('.navbar').length > 0\n }\n\n _getOffset() {\n const offset = {}\n\n if (typeof this._config.offset === 'function') {\n offset.fn = data => {\n data.offsets = {\n ...data.offsets,\n ...this._config.offset(data.offsets, this._element)\n }\n\n return data\n }\n } else {\n offset.offset = this._config.offset\n }\n\n return offset\n }\n\n _getPopperConfig() {\n const popperConfig = {\n placement: th...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 180.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@DisplayName("Should decode at various offsets") @ValueSource(ints = { 0, 10, 50, 100, 200 }) void testDecodeAtVariousOffsets(int offset) throws SMBProtocolDecodingException { byte[] buffer = new byte[512]; byte[] responseData = createValidCopyChunkResponse(7, 8192, 57344); System.arraycopy(responseData, 0, buffer, offset, responseData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
void testWriteBytesWireFormat() { // Given byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @DisplayName("Should write zero bytes at various offsets") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 50, 100, 255 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K 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/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/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/cmd/asm/internal/asm/asm.go
if lastAddr, ok := p.dataAddr[name]; ok && nameAddr.Offset < lastAddr { p.errorf("overlapping DATA entry for %s", name) return } p.dataAddr[name] = nameAddr.Offset + int64(sz) switch valueAddr.Type { case obj.TYPE_CONST: switch sz { case 1, 2, 4, 8: nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Offset) default: p.errorf("bad int size for DATA argument: %d", sz)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 17:31:25 UTC 2025 - 26.2K 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)