- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 517 for offsets (0.05 sec)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
SmbComTransaction result = transaction.nextElement(); assertSame(transaction, result); } @Test @DisplayName("Test pad calculation with various offsets") void testPadCalculation() { // Test pad calculation with different alignment values assertEquals(0, transaction.pad(0)); // Already aligned assertEquals(0, transaction.pad(4)); // Already aligned
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten); // Verify structure size (4) is written at offset assertEquals(4, SMBUtil.readInt2(buffer, offset)); // Verify reserved field (0) is written at offset + 2
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/smb2/create/CreateContextRequestTest.java
@DisplayName("Should handle various buffer offsets") void testVariousBufferOffsets(int offset) { byte[] largeBuffer = new byte[512]; int result = testRequest.encode(largeBuffer, offset); assertTrue(result > 0); // Verify header at correct offset for (int i = offset; i < offset + 8; i++) { assertEquals((byte) 0xFF, largeBuffer[i]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.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) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
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/util/SMBUtilTest.java
assertEquals(0xFFFF, SMBUtil.readInt2(buffer, 14)); // Test different offsets for (int offset = 0; offset <= 8; offset++) { SMBUtil.writeInt4(0x12345678, buffer, offset); assertEquals(0x12345678, SMBUtil.readInt4(buffer, offset)); } } @Test void testNegativeValueHandling() { byte[] buffer = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/webapp/js/admin/bootstrap.min.js
(e="bottom-end"),e},e._detectNavbar=function(){return o.default(this._element).closest(".navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets,t._element)),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._confi...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 61.1K 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)