Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 303 for getPid (0.42 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/smb/SmbTreeImplTest.java

            // 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);
            when(response.getTid()).thenReturn(1);
            when(session.send(any(), any())).thenReturn(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andx.setFlags(getFlags());
                this.andx.setFlags2(getFlags2());
                this.andx.setTid(getTid());
                this.andx.setPid(getPid());
                this.andx.setUid(getUid());
                this.andx.setMid(getMid());
                this.andx.setUseUnicode(this.isUseUnicode());
    
                if (this.andx instanceof AndXServerMessageBlock) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top