Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 107 for Getsid (0.18 sec)

  1. src/main/java/jcifs/smb/SID.java

        }
    
        /**
         * Get the RID
         *
         * This is the last subauthority identifier
         *
         * @return the RID
         */
        @Override
        public int getRid() {
            if (getType() == SID_TYPE_DOMAIN) {
                throw new IllegalArgumentException("This SID is a domain sid");
            }
            return this.sub_authority[this.sub_authority_count - 1];
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SID.java

         *
         * @return domain SID
         */
        SID getDomainSid();
    
        /**
         * Get the RID
         *
         * This is the last subauthority identifier
         *
         * @return the RID
         */
        int getRid();
    
        /**
         * Return a String representing this SID ideal for display to
         * users. This method should return the same text that the ACL
         * editor in Windows would display.
         * <p>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/internal/RequestWithPathTest.java

            }
    
            @Override
            public void setResponse(CommonServerMessageBlockResponse msg) {
            }
    
            @Override
            public long getMid() {
                return 0;
            }
    
            @Override
            public void setMid(long mid) {
            }
    
            @Override
            public int getCommand() {
                return 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K 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/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)
Back to top