Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 629 for flags (0.04 sec)

  1. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals("Cp850", SmbConstants.DEFAULT_OEM_ENCODING);
            assertEquals(-1, SmbConstants.FOREVER);
        }
    
        @Test
        @DisplayName("Should validate flag combinations work correctly")
        void testFlagCombinations() {
            // Test that flags can be combined with bitwise OR
            int combinedShareAccess = SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
            assertEquals(0x03, combinedShareAccess);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. docs/smb3-features/01-smb3-lease-design.md

    - **MS-SMB2 Section 2.2.23**: SMB2 LEASE_BREAK Notification
    - **MS-SMB2 Section 2.2.24**: SMB2 LEASE_BREAK Acknowledgment
    
    ## 3. Lease Types and States
    
    ### 3.1 Lease State Flags
    ```java
    public class Smb2LeaseState {
        // Lease state flags (can be combined)
        public static final int SMB2_LEASE_NONE           = 0x00;
        public static final int SMB2_LEASE_READ_CACHING   = 0x01;  // R - Read caching
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>boolean</type>
              <description>Flags this Mojo to be invoked directly only.</description>
              <defaultValue>false</defaultValue>
            </field>
            <field>
              <name>directInvocationOnly</name>
              <version>2.0.0+</version>
              <type>boolean</type>
              <description>Flags this Mojo to be invoked directly only.</description>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");
    
            // Verify that the flags are set to the combination of DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
            assertEquals(expectedFlags, lsarClose.getFlags(), "The flags should be set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test SMB create flags setter")
        void testSetSmbCreateFlags() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            long flags = 0x1234567890ABCDEFL;
            request.setSmbCreateFlags(flags);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Verify flags are written at correct offset (8-15)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

         * @return the granted lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Gets the lease flags from the V2 server response
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        /**
         * Gets the parent lease key from the V2 response
         * @return the parent lease key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            // We can verify the state of the object after construction.
    
            // Verify ptype and flags are set correctly
            assertEquals(0, policy.getPtype(), "ptype should be 0");
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, policy.getFlags(),
                    "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/tokenizer.go

    // license that can be found in the LICENSE file.
    
    package lex
    
    import (
    	"go/build/constraint"
    	"io"
    	"os"
    	"strings"
    	"text/scanner"
    	"unicode"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
    // for our purposes and made a TokenReader. It forms the lowest level,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @param flags write operation flags
         * @throws IOException if an I/O error occurs
         */
        public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException {
            if (len <= 0) {
                return;
            }
    
            if (tmp == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top