Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for 0x40000000 (2.09 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @DisplayName("Should preserve other flags when setting signed flag")
            void testSignPreservesOtherFlags() {
                // Set initial flags with some existing flags
                int initialFlags = 0x00000001 | 0x00000002 | 0x00000004;
                SMBUtil.writeInt4(initialFlags, data, 16);
    
                digest.sign(data, 0, data.length, request, response);
    
                int flags = SMBUtil.readInt4(data, 16);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dtyp/ACE.java

     * the then same process is repeated for inherited ACEs.
     * <p>
     * For example, if user <code>WNET\alice</code> tries to open a file
     * with desired access bits <code>0x00000003</code> (<code>FILE_READ_DATA |
     * FILE_WRITE_DATA</code>) and the target file has the following security
     * descriptor ACEs:
     *
     * <pre>
     * Allow WNET\alice     0x001200A9  Direct
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test ServerInfo1 getType with various server types")
        @CsvSource({ "0x00000000, " + SmbConstants.TYPE_SERVER, "0x00000001, " + SmbConstants.TYPE_SERVER,
                "0x00000801, " + SmbConstants.TYPE_SERVER, "0x80000000, " + SmbConstants.TYPE_WORKGROUP,
                "0x80000001, " + SmbConstants.TYPE_WORKGROUP, "0xFFFFFFFF, " + SmbConstants.TYPE_WORKGROUP })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbException.java

             * as a special case (which it is).
             */
            if (errcode == 0) {
                return "NT_STATUS_SUCCESS";
            }
            if ((errcode & 0xC0000000) == 0xC0000000) {
                int min = 1; /* Don't include NT_STATUS_SUCCESS */
                int max = NT_STATUS_CODES.length - 1;
    
                while (max >= min) {
                    final int mid = (min + max) / 2;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

         */
    
        static final int FILE_OVERWRITE_IF = 0x5;
    
        // create options
        static final int FILE_WRITE_THROUGH = 0x00000002;
        static final int FILE_SEQUENTIAL_ONLY = 0x00000004;
        static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010;
        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
        static final int SECURITY_EFFECTIVE_ONLY = 0x02;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        private byte[] contextHandle;
    
        // Registration flags
        /** No special registration flags */
        public static final int WITNESS_REGISTER_NONE = 0x00000000;
        /** Register for IP address change notifications */
        public static final int WITNESS_REGISTER_IP_NOTIFICATION = 0x00000001;
    
        // Registration state
        private volatile WitnessRegistrationState state;
        private volatile long lastHeartbeat;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DosErrorTest.java

            }
            return -1;
        }
    
        // Provide a handful of representative mappings present in the table.
        static Stream<Arguments> knownMappings() {
            return Stream.of(Arguments.of(0x00000000, 0x00000000), Arguments.of(0x00020001, 0xc000000f), Arguments.of(0x00050001, 0xc0000022),
                    Arguments.of(0x00500001, 0xc0000035), Arguments.of(0x007b0001, 0xc0000033), Arguments.of(0x00320001, 0xC00000BB));
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

                System.arraycopy(buffer, tokenOffset, actualToken, 0, tokenSize);
                assertArrayEquals(token, actualToken);
            }
        }
    
        @ParameterizedTest
        @CsvSource({ "0x00, 0x00000000", "0x01, 0x00000001", "0x03, 0x0000000F", "0xFF, 0x7FFFFFFF" })
        @DisplayName("Should handle various security modes and capabilities")
        void testVariousSecurityModesAndCapabilities(String securityModeHex, String capabilitiesHex) throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. docs/smb3-features/06-witness-protocol-design.md

        private final long registrationTime;
        private final AtomicLong sequenceNumber;
        
        // Registration flags
        public static final int WITNESS_REGISTER_NONE = 0x00000000;
        public static final int WITNESS_REGISTER_IP_NOTIFICATION = 0x00000001;
        
        // Registration state
        private volatile WitnessRegistrationState state;
        private volatile long lastHeartbeat;
        private int flags;
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

        /**
         * Directory lease flag for recursive caching
         */
        public static final int DIRECTORY_LEASE_FLAG_RECURSIVE = 0x00000001;
    
        /**
         * Directory lease flag for enabling notifications
         */
        public static final int DIRECTORY_LEASE_FLAG_NOTIFICATIONS = 0x00000002;
    
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private DirectoryCacheScope cacheScope;
        private long maxCacheAge;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top