- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for batchLevel (1.65 sec)
-
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
* higher than the current batchLevel so we will now encode * that chained message. Before doing so we must increment * the batchLevel of the andx message in case it itself is an * andx message and needs to perform the same check as above. */ this.andx.batchLevel = this.batchLevel + 1; dst[start + ANDX_COMMAND_OFFSET] = this.andxCommand;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* higher than the current batchLevel so we will now encode * that chained message. Before doing so we must increment * the batchLevel of the andx message in case it itself is an * andx message and needs to perform the same check as above. */ andx.batchLevel = batchLevel + 1; dst[start + ANDX_COMMAND_OFFSET] = andxCommand;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
DummyPlainSMB next = new DummyPlainSMB(); DummyAndXBlock block = new DummyAndXBlock(next); block.customBatchLimit = 1; // allow 1, but we'll set batchLevel to meet limit block.batchLevel = 1; // batchLevel >= limit prevents chaining byte[] buf = new byte[128]; int n = block.writeAndXWireFormat(buf, 0); assertTrue(n > 0);
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/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
} }; byte[] buffer = new byte[1024]; int length = testBlock.encode(buffer, 0); assertTrue(length > 0); assertEquals(1, andxBlock.batchLevel); // batchLevel should be incremented } @Test @DisplayName("Test encode with signature") void testEncodeWithSignature() { testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
* would want to do as the jcifs.smb1.netbios.SocketXxxputStream classes * arraycopy all data read or written into a new buffer shifted over 4!) */ byte command, flags; int headerStart, length, batchLevel, errorCode, flags2, tid, pid, uid, mid, wordCount, byteCount; boolean useUnicode, received, extendedSecurity; long responseTimeout = 1; int signSeq; boolean verifyFailed;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
*/ protected int headerStart; /** * Total length of the SMB message. */ protected int length; /** * Batch level for batched requests. */ protected int batchLevel; /** * Error code returned by the server. */ protected int errorCode; /** * Additional flags for the SMB message. */ protected int flags2; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0)