Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 431 for sflags (0.03 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            Field flagsField = DcerpcMessage.class.getDeclaredField("flags");
            flagsField.setAccessible(true);
            int flagsValue = (int) flagsField.get(request);
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
            assertEquals(expectedFlags, flagsValue, "The 'flags' field should be initialized 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
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

         * @param acct_flags account flags to filter the enumeration
         * @param sam the SAM array to store the enumeration results
         */
        public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) {
            super(domainHandle, 0, acct_flags, null, 0);
            this.sam = sam;
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

         * @param acct_flags account flags to filter the enumeration
         * @param sam the SAM array to store the enumeration results
         */
        public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) {
            super(domainHandle, 0, acct_flags, null, 0);
            this.sam = sam;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            assertEquals(0, msrpc.getPtype(), "The 'ptype' field should be initialized to 0.");
    
            // Verify that the 'flags' field is set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
            assertEquals(expectedFlags, msrpc.getFlags(), "The 'flags' field should be initialized 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
    - 2.2K bytes
    - Viewed (0)
  5. android-test/src/test/kotlin/okhttp/android/test/ShadowDnsResolver.kt

      }
    
      data class Request(
        val network: Network?,
        val domain: String,
        val nsType: Int,
        val flags: Int,
        val callback: DnsResolver.Callback<List<InetAddress>>,
      )
    
      @Implementation
      fun query(
        network: Network?,
        domain: String,
        nsType: Int,
        flags: Int,
        executor: Executor,
        cancellationSignal: CancellationSignal?,
        callback: DnsResolver.Callback<List<InetAddress>>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            this.extFileAttributes = extFileAttributes;
    
            // shareAccess
            this.shareAccess = shareAccess;
    
            // createDisposition
            if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) {
                // truncate the file
                if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) {
                    // create it if necessary
                    createDisposition = FILE_OVERWRITE_IF;
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            // Path consumed (2 bytes) - value: 10 * 2 = 20
            SMBUtil.writeInt2(20, buffer, 0);
    
            // Number of referrals (2 bytes) - value: 1
            SMBUtil.writeInt2(1, buffer, 2);
    
            // Flags (2 bytes)
            SMBUtil.writeInt2(0x0003, buffer, 4);
    
            // Padding (2 bytes)
            buffer[6] = 0;
            buffer[7] = 0;
    
            // First referral (minimal structure)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        }
    
        @Test
        @DisplayName("Should set and get flags")
        void testFlags() {
            // Given
            int flags = 0x0001; // Encrypted flag
    
            // When
            transformHeader.setFlags(flags);
    
            // Then
            assertEquals(flags, transformHeader.getFlags());
        }
    
        @Test
        @DisplayName("Should set and get session ID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

         * @return the break reason
         */
        public int getBreakReason() {
            return breakReason;
        }
    
        /**
         * Gets the lease flags from the notification
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return flags;
        }
    
        /**
         * Gets the access mask hint for optimizing lease handling
         * @return the access mask hint
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top