Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 430 for flags0 (0.58 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            offset += 8;
    
            // Directory flags (4 bytes)
            int flags = 0;
            if (cacheScope == DirectoryCacheScope.RECURSIVE_TREE) {
                flags |= DIRECTORY_LEASE_FLAG_RECURSIVE;
            }
            if (notificationEnabled) {
                flags |= DIRECTORY_LEASE_FLAG_NOTIFICATIONS;
            }
            SMBUtil.writeInt4(flags, buffer, offset);
            offset += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/ACE.java

         * @return true if this ACE is inherited, false if it is direct
         */
        public boolean isInherited() {
            return (flags & FLAGS_INHERITED) != 0;
        }
    
        /**
         * Returns the flags for this ACE. The <code>isInherited()</code>
         * method checks the <code>FLAGS_INHERITED</code> bit in these flags.
         * @return the ACE flags
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ACE.java

         *
         * @return descriptive text for the ACE scope
         */
        String getApplyToText();
    
        /**
         * Returns the flags for this ACE. The <code>isInherited()</code>
         * method checks the <code>FLAGS_INHERITED</code> bit in these flags.
         *
         * @return the ACE flags
         */
        int getFlags();
    
        /**
         * Returns true if this ACE is an inherited ACE and false if it is a direct ACE.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        public static final byte SMB2_SHARE_TYPE_PRINT = 0x3;
    
        /**
         * Share flag indicating manual caching of documents.
         */
        public static final int SMB2_SHAREFLAG_MANUAL_CACHING = 0x0;
        /**
         * Share flag indicating automatic caching of documents.
         */
        public static final int SMB2_SHAREFLAG_AUTO_CACHING = 0x10;
        /**
         * Share flag indicating automatic caching of programs and documents.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @DisplayName("Should set SMB2_FLAGS_SIGNED flag")
            void testSignSetsSignedFlag() {
                // Set initial flags without signed flag
                int initialFlags = 0x00000001;
                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)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Signing flags should not overlap")
            void testSigningFlagsNoOverlap() {
                assertNotEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED,
                        "Signing flags must be distinct");
    
                // Verify they can be combined with bitwise OR
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ACETest.java

                    ACE.FLAGS_INHERITED })
            @DisplayName("Flag constants should be powers of 2")
            void shouldBeValidFlagPowersOfTwo(int flag) {
                assertTrue(flag > 0, "Flag should be positive");
                assertEquals(0, flag & (flag - 1), "Flag should be power of 2: " + Integer.toHexString(flag));
            }
    
            @Test
            @DisplayName("Should validate all constants are unique")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2Constants.java

     * flags, and other values used in SMB2/SMB3 communication.
     *
     * @author mbechler
     */
    public final class Smb2Constants {
    
        /**
         *
         */
        private Smb2Constants() {
        }
    
        /**
         * SMB2 header length in bytes
         */
        public static final int SMB2_HEADER_LENGTH = 64;
    
        /**
         * SMB2 negotiate flag indicating signing is enabled
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 16] = 0x00; // hex code
            src[srcIndex + 17] = 0x04; // flags: active
    
            // Second name entry (18 bytes)
            String name2 = "DOMAIN          ";
            System.arraycopy(name2.getBytes("US-ASCII"), 0, src, srcIndex + 19, 16);
            src[srcIndex + 34] = 0x00; // hex code
            src[srcIndex + 35] = (byte) 0x84; // flags: group, active
    
            // Third name entry (18 bytes) - matching queryAddress
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode);
        }
    
        /**
         * Set the IOCTL flags
         * @param flags the flags to set
         */
        public void setFlags(final int flags) {
            this.flags = flags;
        }
    
        /**
         * Set the maximum input response size
         * @param maxInputResponse the maxInputResponse to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top