Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 417 for sflags2 (1.33 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

        byteCount: Int,
      ) {
        withLock {
          if (closed) throw IOException("closed")
          var flags = FLAG_NONE
          if (outFinished) flags = flags or FLAG_END_STREAM
          dataFrame(streamId, flags, source, byteCount)
        }
      }
    
      @Throws(IOException::class)
      fun dataFrame(
        streamId: Int,
        flags: Int,
        buffer: Buffer?,
        byteCount: Int,
      ) {
        frameHeader(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        @MethodSource("provideFlagCombinations")
        void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = createValidResponseBuffer(0, flags, 0, 0);
    
            // When
            response.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(flags, response.getShareFlags());
            assertEquals(expectedDfs, response.isShareDfs());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

        }
    
        /**
         * Gets the lease flags for this V2 request
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        /**
         * Sets the lease flags for this V2 request
         * @param leaseFlags the lease flags to set
         */
        public void setLeaseFlags(int leaseFlags) {
            this.leaseFlags = leaseFlags;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java

        }
    
        /**
         * Gets the registration flags.
         *
         * @return the flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the registration flags.
         *
         * @param flags the flags
         */
        public void setFlags(int flags) {
            this.flags = flags;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dtyp/ACETest.java

            // Test each individual flag
            ace.flags = ACE.FLAGS_OBJECT_INHERIT;
            assertFalse(ace.isInherited());
    
            ace.flags = ACE.FLAGS_CONTAINER_INHERIT;
            assertFalse(ace.isInherited());
    
            ace.flags = ACE.FLAGS_NO_PROPAGATE;
            assertFalse(ace.isInherited());
    
            ace.flags = ACE.FLAGS_INHERIT_ONLY;
            assertFalse(ace.isInherited());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertTrue(req instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should set notify flags correctly")
        void testSetNotifyFlags() throws Exception {
            // Given
            int flags = Smb2ChangeNotifyRequest.SMB2_WATCH_TREE;
    
            // When
            request.setNotifyFlags(flags);
    
            // Then
            Field notifyFlagsField = Smb2ChangeNotifyRequest.class.getDeclaredField("notifyFlags");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        void testGetAndSetFlags() {
            // Test setting and getting flags
            int testFlags = 0x12345678;
            message.setFlags(testFlags);
            assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly.");
        }
    
        @Test
        void testGetFlag() {
            // Test getting individual flags
            message.setFlags(0b1010); // Set flags: 8 (0x8) and 2 (0x2)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            @DisplayName("Second constructor sets unshared based on flags")
            void secondCtorUnsharedFlagPath() throws Exception {
                // Arrange: include UNSHARED flag to exercise that branch
                int flags = SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_UNSHARED;
    
                // Act
                SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", flags, ctx());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

         * @param flags
         *            The flags to apply to this message.
         * @param challenge
         *            The challenge from the domain controller/server.
         * @param target
         *            The authentication target.
         */
        public Type2Message(final CIFSContext tc, final int flags, final byte[] challenge, final String target) {
            setFlags(flags);
            setChallenge(challenge);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        }
    
        /**
         * Gets the registration flags.
         *
         * @return the registration flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the registration flags.
         *
         * @param flags the registration flags
         */
        public void setFlags(int flags) {
            this.flags = flags;
        }
    
        /**
         * Gets the context handle.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top