Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Inset (1.16 sec)

  1. src/main/java/jcifs/util/transport/Response.java

         *
         * @return whether the response is received
         */
        boolean isReceived();
    
        /**
         * Set received status
         */
        void received();
    
        /**
         * Unset received status
         */
        void clearReceived();
    
        /**
         * Gets the number of credits granted by the server.
         *
         * @return number of credits granted by the server
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

         */
        public boolean isFlagSet(final int flag) {
            return (flags & flag) == flag;
        }
    
        /**
         * Unsets a specific flag
         * @param flag the flag to unset
         */
        public void unsetFlag(final int flag) {
            flags &= ~flag;
        }
    
        /**
         * Sets a specific flag
         * @param flag the flag to set
         */
        public void setFlag(final int flag) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            TestMessage m = new TestMessage();
            int FLAG_A = 0x01;
            int FLAG_B = 0x02;
            assertFalse(m.isFlagSet(FLAG_A));
            m.setFlag(FLAG_A);
            assertTrue(m.isFlagSet(FLAG_A));
            // unset correctly removes the flag
            m.unsetFlag(FLAG_A);
            assertFalse(m.isFlagSet(FLAG_A));
            // Test another flag
            m.setFlag(FLAG_B);
            assertTrue(m.isFlagSet(FLAG_B));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            // Properties set should override defaults
            assertTrue(config.isUseMultiChannel());
            assertEquals(8, config.getMaxChannels());
    
            // Unset properties should use defaults
            assertEquals(1, config.getChannelBindingPolicy());
            assertEquals("adaptive", config.getLoadBalancingStrategy());
            assertEquals(10, config.getChannelHealthCheckInterval());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-updates.md

    But this guide shows you, more or less, how they are intended to be used.
    
    ///
    
    ### Using Pydantic's `exclude_unset` parameter { #using-pydantics-exclude-unset-parameter }
    
    If you want to receive partial updates, it's very useful to use the parameter `exclude_unset` in Pydantic's model's `.model_dump()`.
    
    Like `item.model_dump(exclude_unset=True)`.
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Password is null, so callback is not set (remains null)
            assertNull(pc.getPassword());
        }
    
        @Test
        @DisplayName("handle: null password leaves PasswordCallback unset")
        void testHandleWithNullPasswordDoesNotSet() throws Exception {
            // Spy to override getPasswordAsCharArray() to return null
            JAASAuthenticator spyAuth = spy(new JAASAuthenticator("DOM", "user", null));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionImplTest.java

            String s = session.toString();
            assertTrue(s.contains("targetHost=server.example"));
            assertTrue(s.contains("targetDomain=EXAMPLE"));
        }
    
        @Test
        @DisplayName("getExpiration: null when unset, value when positive")
        void testGetExpiration() {
            SmbSessionImpl session = newSession();
            assertNull(session.getExpiration());
            setField(session, "expiration", 123L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test clearing a flag that is not set
            message.setFlags(0b1000);
            message.setFlag(0b0001, false);
            assertEquals(0b1000, message.getFlags(), "Clearing an unset flag should not change other flags.");
        }
    
        @Test
        void testReadULong() {
            // Test readULong with various values
            byte[] data = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         */
        String getNetbiosHostname();
    
        /**
         *
         * Property {@code jcifs.smb.client.logonShare}
         *
         * @return share to connect to during authentication, if unset connect to IPC$
         */
        String getLogonShare();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.domain}
         *
         * @return default credentials, domain name
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/custom-response.md

    * `path` - The file path to the file to stream.
    * `headers` - Any custom headers to include, as a dictionary.
    * `media_type` - A string giving the media type. If unset, the filename or path will be used to infer a media type.
    * `filename` - If set, this will be included in the response `Content-Disposition`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top