Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 143 for fsid (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

         * @param fid the file identifier
         */
        public SmbComSeek(final Configuration config, final int fid) {
            super(config, SMB_COM_SEEK);
            this.fid = fid;
        }
    
        private int fid;
        private int mode;
        private long offset;
    
        /**
         * Sets the file identifier.
         *
         * @param fid
         *            the fid to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            // Arrange
            int fid = 0x1234;
            int offset = 100;
            int remaining = 50;
            byte[] buffer = new byte[100];
            int off = 10;
            int len = 40;
    
            // Act
            SmbComWrite write = new SmbComWrite(fid, offset, remaining, buffer, off, len);
    
            // Assert
            assertEquals(fid, getFieldValue(write, "fid"), "FID should match constructor arg");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

         * @param len the number of bytes to write
         */
        public SmbComWrite(final Configuration config, final int fid, final int offset, final int remaining, final byte[] b, final int off,
                final int len) {
            super(config, SMB_COM_WRITE);
            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

        private final int fid;
        private final FileInformation info;
    
        /**
         * Constructs a Trans2SetFileInformation request with file information object.
         *
         * @param config the SMB configuration
         * @param fid the file identifier
         * @param info the file information to set
         */
        public Trans2SetFileInformation(final Configuration config, final int fid, final FileInformation info) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacLogonInfo.java

        }
    
        /**
         * Returns the user's Security Identifier (SID).
         * @return the user SID
         */
        public SID getUserSid() {
            return this.userSid;
        }
    
        /**
         * Returns the user's primary group SID.
         * @return the primary group SID
         */
        public SID getGroupSid() {
            return this.groupSid;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            super(andx);
            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            dataLength = len;
            command = SMB_COM_WRITE_ANDX;
        }
    
        void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
            this.offset = offset;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            }
            final int type = sid.getType();
            sidSet.add(sid);
            if (type == SID.SID_TYPE_DOM_GRP || type == SID.SID_TYPE_ALIAS) {
                try {
                    final SID[] children = sid.getGroupMemberSids(file.getServer(), (NtlmPasswordAuthentication) file.getPrincipal(),
                            SID.SID_FLAG_RESOLVE_SIDS);
                    for (final SID child : children) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SIDTest.java

            SID sid = new SID(adminSidBytes, 0);
            assertArrayEquals(adminSidBytes, sid.toByteArray());
        }
    
        /**
         * Test the equals method.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testEquals() throws SmbException {
            SID sid1 = new SID(adminSidString);
            SID sid2 = new SID(adminSidBytes, 0);
            SID sid3 = new SID("S-1-1-0"); // Everyone
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

        }
    
        @ParameterizedTest
        @CsvSource({ "0, 0", // all zeros
                "-1, 2147483647", // negative fid, max positive security
                "12345, 999" // arbitrary numbers
        })
        void toString_includesCorrectHexValues(int fid, int securityInformation) {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(fid, securityInformation);
            String result = cmd.toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacGroupTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    /**
     * Tests for the {@link PacGroup} class.
     */
    class PacGroupTest {
    
        private SID mockSid;
        private PacGroup pacGroup;
        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            mockSid = mock(SID.class);
            pacGroup = new PacGroup(mockSid, attributes);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top