Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for Getppid (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
        /**
         * Gets the process identifier
         * @return the pid
         */
        public final int getPid() {
            return this.pid;
        }
    
        /**
         * Sets the process identifier
         * @param pid
         *            the pid to set
         */
        public final void setPid(final int pid) {
            this.pid = pid;
        }
    
        /**
         * Gets the user identifier
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.getCapabilities();
                mockConfig.getFlags2();
                mockConfig.getSessionLimit();
                mockConfig.getOemEncoding();
                mockConfig.getLocalTimezone();
                mockConfig.getPid();
                mockConfig.getMaxMpxCount();
                mockConfig.isSigningEnabled();
                mockConfig.isIpcSigningEnforced();
                mockConfig.isSigningEnforced();
                mockConfig.isEncryptionEnabled();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(handle.ensureOpen()).thenReturn(fd);
            when(fd.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(false);
            when(tree.getConfig()).thenReturn(config);
            when(config.getPid()).thenReturn(1234);
    
            // Stub send to populate the provided response instance via reflection
            Mockito.doAnswer(inv -> {
                Object resp = inv.getArgument(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top