- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 111 for Setuid (0.14 sec)
-
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
} /* * NtTrans Notify Change Request / Response */ req = new NtTransNotifyChange(th.getConfig(), this.handle.getFid(), this.filter, this.recursive); resp = new NtTransNotifyChangeResponse(th.getConfig()); } if (log.isTraceEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
@Mock private Configuration mockConfig; private SmbComSeekResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSeekResponse(mockConfig); } /* ------------------------------------------------------------------ */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
*/ public final byte getOplockLevel() { return this.oplockLevel; } /** * Gets the file identifier. * * @return the fid */ public final int getFid() { return this.fid; } /** * Gets the create action taken. * * @return the createAction */ public final int getCreateAction() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
return resp.getOutputLength(); } if (this.transact) { final TransTransactNamedPipe req = new TransTransactNamedPipe(th.getConfig(), fh.getFid(), buf, off, length); final TransTransactNamedPipeResponse resp = new TransTransactNamedPipeResponse(th.getConfig(), inB);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertNotNull(trans2QueryPathInfo); // Configuration is accessed during initialization // Verify at least that getPid() and getTransactionBufferSize() were called }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
} @Test @DisplayName("Should throw NullPointerException with null configuration") void testConstructorWithNullConfig() { // The parent class requires a non-null configuration for getPid() assertThrows(NullPointerException.class, () -> { new Trans2GetDfsReferralResponse(null); }); } } @Nested @DisplayName("Constants Tests")
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/internal/dtyp/ACE.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
LockingAndXRange decoded = new LockingAndXRange(false); int decodedSize = decoded.decode(dst, 0, dst.length); assertEquals(10, decodedSize, "Decode should return size 10"); assertEquals(99, decoded.getPid()); assertEquals(123456L, decoded.getByteOffset()); assertEquals(654321L, decoded.getLengthInBytes()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(mock(Configuration.class)); when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true); when(handle.getFid()).thenReturn(fid); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); } // Ensures watch() fails fast if the underlying handle is invalid @Test
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/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")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0)