Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 106 for 0x0000 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

                defaultClientGuid[i] = (byte) (i + 1);
            }
    
            // Initialize default dialects
            defaultDialects = new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 };
        }
    
        @Test
        @DisplayName("Test constructor with valid parameters")
        void testConstructor() {
            ValidateNegotiateInfoRequest request =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten);
    
            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
            assertArrayEquals(expected, buffer);
        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
        void testReadBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                    this.createDisposition = FILE_OPEN_IF;
                }
            } else {
                this.createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            this.impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // recordType (2 bytes)
            src[srcIndex + 2] = 0x00;
            src[srcIndex + 3] = 0x20; // NB (0x0020)
            // recordClass (2 bytes)
            src[srcIndex + 4] = 0x00;
            src[srcIndex + 5] = 0x01; // IN (0x0001)
            // ttl (4 bytes)
            src[srcIndex + 6] = 0x00;
            src[srcIndex + 7] = 0x00;
            src[srcIndex + 8] = 0x00;
            src[srcIndex + 9] = 0x00;
            // rDataLength (2 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

        void setCreateTime(long time) throws CIFSException;
    
        /**
         * Retrieve the last acces time of the file represented by this <code>SmbResource</code>
         *
         * @return The number of milliseconds since the 00:00:00 GMT, January 1,
         *         1970 as a <code>long</code> value
         * @throws CIFSException if an error occurs accessing the resource
         */
        long lastAccess() throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            /**
             * Default constructor for TimeOfDayInfo.
             */
            public TimeOfDayInfo() {
            }
    
            /**
             * The time elapsed since 00:00:00, January 1, 1970 GMT.
             */
            public int elapsedt;
            /**
             * The number of milliseconds from the start of the current second.
             */
            public int msecs;
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SIDTest.java

                assertTrue(s1.isEmpty());
                // isBlank will fail if sub_authority is null, so we skip that check for s1
    
                // All-zero subauthorities
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 0 };
                rpc.sid_t st = buildSidT((byte) 1, ident, 0, 0);
                SID s2 = new SID(st, jcifs.SID.SID_TYPE_USE_NONE, null, null, false);
                assertFalse(s2.isEmpty());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

        static final int O_APPEND = 0x04;
    
        // Open Function Encoding
        // create if the file does not exist
        static final int O_CREAT = 0x0010;
        // fail if the file exists
        static final int O_EXCL = 0x0020;
        // truncate if the file exists
        static final int O_TRUNC = 0x0040;
    
        // share access
        /**
         * When specified as the {@code shareAccess} constructor parameter,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

        /**
         * Flag indicating that SIDs should be resolved to names.
         */
        public static final int SID_FLAG_RESOLVE_SIDS = 0x0001;
    
        /**
         * Well known SID: EVERYONE
         */
        public static SID EVERYONE = null;
    
        /**
         * Well known SID: CREATOR_OWNER
         */
        public static SID CREATOR_OWNER = null;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
    
            assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value
    
            // Verify path is set correctly
            Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path");
            pathField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top