Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 505 for tflags (0.05 seconds)

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // When - Create new request
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, TEST_PATH);
    
            // Then - Tree flags should be initialized to 0
            int flags = (int) treeFlagsField.get(req);
            assertEquals(0, flags);
        }
    
        @Test
        @DisplayName("Should handle maximum path length")
        void testMaximumPathLength() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

                assertEquals(100L, t.delay, "Default delay should be 100");
            }
    
            @Test
            @DisplayName("Multiple flags are parsed correctly")
            void multipleFlags() {
                TestLocking t = new TestLocking();
    
                // Parse multiple flags
                String[] args = { "-t", "3", "-i", "7", "-d", "200", "smb://test/file.txt" };
                for (int ai = 0; ai < args.length; ai++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. docs/smb3-features/04-directory-leasing-design.md

            dataOffset += 8;
            
            // Flags (4 bytes)
            int flags = 0;
            if (cacheScope == DirectoryCacheScope.RECURSIVE_TREE) {
                flags |= DIRECTORY_LEASE_FLAG_RECURSIVE;
            }
            if (notificationEnabled) {
                flags |= DIRECTORY_LEASE_FLAG_NOTIFICATIONS;
            }
            writeInt4(buffer, dataOffset, flags);
            dataOffset += 4;
            
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (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)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

        private void setNegotiatedFlags2(SmbComNegotiateResponse response, int flags2) {
            try {
                Field field = response.getClass().getDeclaredField("negotiatedFlags2");
                field.setAccessible(true);
                field.set(response, flags2);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set negotiatedFlags2 field", e);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

        /**
         * Constructs a ValidateNegotiateInfo request
         *
         * @param capabilities
         *            the client capabilities flags
         * @param clientGuid
         *            the client GUID
         * @param securityMode
         *            the security mode flags
         * @param dialects
         *            the SMB dialects supported by the client
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        msg.flags &= ~DCERPC_LAST_FRAG;
                        n = max_xmit - 24;
                    } else {
                        msg.flags |= DCERPC_LAST_FRAG;
                        isDirect = false;
                        msg.alloc_hint = n;
                    }
    
                    msg.length = 24 + n;
    
                    if (off > 0) {
                        msg.flags &= ~DCERPC_FIRST_FRAG;
                    }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
            assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");
            // ptype and flags are protected fields in DcerpcMessage, cannot test directly
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

     * Settings describe characteristics of the sending peer, which are used by the receiving peer.
     * Settings are [connection][Http2Connection] scoped.
     */
    class Settings {
      /** Bitfield of which flags that values. */
      private var set: Int = 0
    
      /** Flag values. */
      private val values = IntArray(COUNT)
    
      /** Returns -1 if unset. */
      val headerTableSize: Int
        get() {
          val bit = 1 shl HEADER_TABLE_SIZE
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.8K bytes
    - Click Count (0)
Back to Top