- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 47 for Getpgid (0.05 sec)
-
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
this.largeFile = largeFile; } /** * Returns the process ID associated with this lock range. * * @return the process ID */ public int getPid() { return this.pid; } /** * Returns the starting byte offset of the lock range. * * @return the starting byte offset */ public long getByteOffset() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K 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/test/java/jcifs/smb/SmbTreeImplTest.java
when(nego.getServerData()).thenReturn(serverData); when(transport.getNegotiateResponse()).thenReturn(nego); // Mock config methods needed for SMB1 when(config.getPid()).thenReturn(1234); SmbComTreeConnectAndXResponse response = mock(SmbComTreeConnectAndXResponse.class); when(response.getService()).thenReturn("A:"); when(response.isValidTid()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K 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/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/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/smb/SmbPipeHandleImplTest.java
// Setup tree with configuration when(tree.getConfig()).thenReturn(config); when(tree.getSendBufferSize()).thenReturn(65536); when(config.getPid()).thenReturn(12345); when(config.getSendBufferSize()).thenReturn(65536); target = new SmbPipeHandleImpl(pipe); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/archive/tar/common.go
// Set file permission bits. mode = fs.FileMode(fi.h.Mode).Perm() // Set setuid, setgid and sticky bits. if fi.h.Mode&c_ISUID != 0 { mode |= fs.ModeSetuid } if fi.h.Mode&c_ISGID != 0 { mode |= fs.ModeSetgid } if fi.h.Mode&c_ISVTX != 0 { mode |= fs.ModeSticky } // Set file mode bits; clear perm, setuid, setgid, and sticky bits. switch m := fs.FileMode(fi.h.Mode) &^ 07777; m { case c_ISDIR:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
private URL url; private SmbFile smbFile; @BeforeEach public void setUp() throws MalformedURLException, CIFSException { // Mock configuration methods when(mockConfig.getPid()).thenReturn(1234); when(mockCifsContext.getConfig()).thenReturn(mockConfig); // Mock credentials to prevent NPE when(mockCredentials.getUserDomain()).thenReturn("DOMAIN");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertNotNull(trans2SetFileInfo); // Configuration is accessed during initialization // Verify at least that getPid() and getTransactionBufferSize() were called } @DisplayName("Test FileInformation encode returning different sizes") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 1000 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0)