- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 132 for setMid (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
verify(messageBlock).setMid(expectedMid); verify(messageBlock).getMid(); } @Test @DisplayName("Test setMid with boundary values") void testSetMidWithBoundaryValues() { // Test with MAX_VALUE long maxMid = Long.MAX_VALUE; doNothing().when(messageBlock).setMid(maxMid); when(messageBlock.getMid()).thenReturn(maxMid); messageBlock.setMid(maxMid);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Response.java
*/ int getErrorCode(); /** * Sets the message ID. * * @param k the message ID to set */ void setMid(long k); /** * Gets the message ID. * * @return mid */ long getMid(); /** * Verifies the signature of this response. * * @param buffer the buffer containing the signature dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtCancel.java
* * @param config the configuration * @param mid the message ID to cancel */ protected SmbComNtCancel(final Configuration config, final int mid) { super(config, SMB_COM_NT_CANCEL); setMid(mid); } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#isCancel() */ @Override public boolean isCancel() { return true; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
this.response = (TestResponse) msg; } @Override public long getMid() { return mid; } @Override public void setMid(long mid) { this.mid = mid; } @Override public int getCommand() { return command; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
assertEquals(digest, response.getDigest()); // Test mid methods long mid = 123456L; doNothing().when(response).setMid(mid); when(response.getMid()).thenReturn(mid); response.setMid(mid); assertEquals(mid, response.getMid()); // Test command methods int command = 0x25; doNothing().when(response).setCommand(command);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/CommonServerMessageBlock.java
/** * Gets the message ID. * * @return the message id */ long getMid(); /** * Sets the message ID. * * @param mid the message ID to set */ void setMid(long mid); /** * Gets the SMB command. * * @return the command */ int getCommand(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
} @Override public void setResponse(CommonServerMessageBlockResponse msg) { } @Override public long getMid() { return 0; } @Override public void setMid(long mid) { } @Override public int getCommand() { return 0; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
/** * @return * @throws IOException */ private int negotiateWrite(final CommonServerMessageBlockRequest req, final boolean setmid) throws IOException { if (setmid) { makeKey(req); } else { req.setMid(0); this.mid.set(1); } final int n = req.encode(this.sbuf, 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
void testTidProperty() { assertEquals(0xFFFF, testBlock.getTid()); testBlock.setTid(0x1234); assertEquals(0x1234, testBlock.getTid()); } @Test @DisplayName("Test PID property") void testPidProperty() { testBlock.setPid(0x5678); assertEquals(0x5678, testBlock.getPid()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0)