Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for getSid (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // Should return dataCount
            assertEquals(5, result);
        }
    
        @Test
        void testGetSid() {
            // Test the getSid method
            // By default, it should be 0
            assertEquals(0, response.getSid());
        }
    
        @Test
        void testGetResumeKey() {
            // Test the getResumeKey method
            // By default, it should be 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                        th.getConfig().getListSize() - FIND_OVERHEAD), this.response);
    
                this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(),
                        this.response.getLastName(), th.getConfig().getListCount(), th.getConfig().getListSize() - FIND_OVERHEAD);
            } catch (final SmbException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            super(config, SMB_COM_TRANSACTION2, SmbComTransaction.TRANS2_FIND_FIRST2);
        }
    
        /**
         * Gets the search ID for this response.
         *
         * @return the sid
         */
        public final int getSid() {
            return this.sid;
        }
    
        /**
         * Checks if this is the end of the search results.
         *
         * @return the isEndOfSearch
         */
        public final boolean isEndOfSearch() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dtyp/ACE.java

                return "Files only";
            }
            return "Invalid";
        }
    
        @Override
        public int getAccessMask() {
            return this.access;
        }
    
        @Override
        public SID getSID() {
            return this.sid;
        }
    
        @Override
        public int decode(final byte[] buf, int bi, final int len) {
            this.allow = buf[bi] == (byte) 0x00;
            bi++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ACE.java

         */
        int FLAGS_INHERITED = 0x10;
    
        /**
         * Return the SID associated with this ACE.
         *
         * @return ACE target SID
         */
        SID getSID();
    
        /**
         * Returns the access mask associated with this ACE. Use the
         * constants for <code>FILE_READ_DATA</code>, <code>FILE_WRITE_DATA</code>,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ACE.java

         */
        public int getAccessMask() {
            return access;
        }
    
        /**
         * Return the SID associated with this ACE.
         * @return the SID for this ACE
         */
        public SID getSID() {
            return sid;
        }
    
        int decode(final byte[] buf, int bi) {
            allow = buf[bi] == (byte) 0x00;
            bi++;
            flags = buf[bi++] & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/pac/PacGroupTest.java

            assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor.");
            assertEquals(attributes, pacGroup.getAttributes(), "The attributes should be correctly set in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            item1.id = 100L;
            item2.id = 200L;
    
            assertEquals(100L, item1.getId());
            assertEquals(200L, item2.getId());
    
            // Verify they don't affect each other
            item1.id = 300L;
            assertEquals(300L, item1.getId());
            assertEquals(200L, item2.getId());
        }
    
        public void test_constructor() {
            // Test that constructor creates a valid instance
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacSidAttributesTest.java

            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
            assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top