Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for fid (0.12 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
            assertTrue(str.contains("filter=0x" + Hexdump.toHexString(completionFilter, 4)));
            assertTrue(str.contains("watchTree=" + watchTree));
        }
    
        @Test
        @DisplayName("Test constructor with watchTree enabled")
        void testConstructorWithWatchTreeEnabled() {
            int fid = 0x5678;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        void testToStringContainsAllInfo() {
            int fid = 256;
            long lwt = 9876543210L;
            SmbComClose close = new SmbComClose(fid, lwt);
            String s = close.toString();
            assertTrue(s.startsWith("SmbComClose["), "string should start with class name");
            assertTrue(s.contains("fid=" + fid), "string should contain the fid value");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

         */
        public SmbComWriteAndX(final Configuration config, final int fid, final long offset, final int remaining, final byte[] b, final int off,
                final int len, final ServerMessageBlock andx) {
            super(config, SMB_COM_WRITE_ANDX, andx);
            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

        private final int fid;
        private final long lastWriteTime;
    
        /**
         * Creates a new SMB1 close file request.
         *
         * @param config the CIFS configuration
         * @param fid the file identifier to close
         * @param lastWriteTime the last write time to set on the file
         */
        public SmbComClose(final Configuration config, final int fid, final long lastWriteTime) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            super(config, NT_TRANSACT_QUERY_SECURITY_DESC);
            this.fid = fid;
            this.securityInformation = securityInformation;
            this.setupCount = 0;
            this.totalDataCount = 0;
            this.maxParameterCount = 4;
            this.maxDataCount = 65536;
            this.maxSetupCount = (byte) 0x00;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

        private final int fid;
    
        /**
         * Constructs a TransPeekNamedPipe request to check the status of a named pipe.
         *
         * @param config the SMB configuration
         * @param pipeName the name of the pipe to peek
         * @param fid the file identifier for the pipe
         */
        public TransPeekNamedPipe(final Configuration config, final String pipeName, final int fid) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

        private Trans2SetFileInformation trans2SetFileInformation;
        private final int fid = 123;
        private final int attributes = 1;
        private final long createTime = System.currentTimeMillis();
        private final long lastWriteTime = System.currentTimeMillis();
    
        @BeforeEach
        void setUp() {
            trans2SetFileInformation = new Trans2SetFileInformation(fid, attributes, createTime, lastWriteTime);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            return new LockingAndXRange(this.largeFile);
        }
    
        @Override
        public String toString() {
            return ("SmbComLockingAndX[" + super.toString() + ",fid=" + this.fid + ",typeOfLock=" + this.typeOfLock + ",newOplockLevel="
                    + this.newOpLockLevel + "]");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        void testToStringMaxValues() {
            int fid = 0xFFFF;
            int securityInfo = 0xFFFFFFFF;
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo);
    
            String result = querySecurityDesc.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top