- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 422 for getMid (0.28 seconds)
-
src/test/java/jcifs/internal/NotifyResponseTest.java
public void setResponse(CommonServerMessageBlockResponse msg) { this.response = msg; } @Override public long getMid() { return this.mid; } @Override public void setMid(long mid) { this.mid = mid; } @Override public int getCommand() { return this.command; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
this.flags &= ~flag; } /** * @return the mid */ @Override public final long getMid() { return this.mid; } /** * @param mid * the mid to set */ @Override public final void setMid(final long mid) { this.mid = mid; } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
class ConstructorTests { private Configuration mockConfig; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); when(mockConfig.getPid()).thenReturn(12345); } @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// When Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, mid, asyncId); request.setRequestCredits(credits); request.setTid(treeId); // Then assertEquals(mid, request.getMid(), "MID should be set correctly"); assertEquals(asyncId, request.getAsyncId(), "AsyncId should be set correctly");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
*/ public final int getTid() { return this.tid; } /** * @param tid * the tid to set */ @Override public final void setTid(final int tid) { this.tid = tid; } /** * Gets the process identifier * @return the pid */ public final int getPid() { return this.pid; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K 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) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Set MID to 0 transaction.setMid(0); // Create cancel request CommonServerMessageBlockRequest cancelRequest = transaction.createCancel(); // Verify it still creates a valid cancel request assertNotNull(cancelRequest); assertTrue(cancelRequest instanceof SmbComNtCancel); assertEquals(0, cancelRequest.getMid()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K 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/smb2/ServerMessageBlock2Test.java
} @Test @DisplayName("Should get and set MID") void testMidProperty() { assertEquals(0, testMessage.getMid()); testMessage.setMid(12345L); assertEquals(12345L, testMessage.getMid()); } @Test @DisplayName("Should get and set async ID") void testAsyncIdProperty() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
testRequest.setRequestCredits(credits); assertEquals(credits, testRequest.getCredit()); } @Test @DisplayName("setTid should set tree ID") void testSetTid() { int tid = 12345; testRequest.setTid(tid); assertEquals(tid, testRequest.getTreeId()); } } @Nested @DisplayName("Async Operation Tests")
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)