Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 310 for siate (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

            return leaseKey;
        }
    
        /**
         * Gets the current lease state before the break
         * @return the current lease state
         */
        public int getCurrentLeaseState() {
            return currentLeaseState;
        }
    
        /**
         * Gets the new lease state after the break
         * @return the new lease state
         */
        public int getNewLeaseState() {
            return newLeaseState;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java

         */
        CLOSING(7);
    
        private final int value;
    
        ChannelState(int value) {
            this.value = value;
        }
    
        /**
         * Get the numeric value of this state
         *
         * @return state value
         */
        public int getValue() {
            return value;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. docs/smb3-features/01-smb3-lease-design.md

        }
        
        @Test
        public void testLeaseStateFlags() {
            int state = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            
            assertTrue((state & Smb2LeaseState.SMB2_LEASE_READ_CACHING) != 0);
            assertTrue((state & Smb2LeaseState.SMB2_LEASE_WRITE_CACHING) != 0);
            assertFalse((state & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) != 0);
        }
        
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
        }
    
        @Nested
        @DisplayName("Response State Tests")
        class ResponseStateTests {
    
            @BeforeEach
            void setup() {
                testBlock = new TestServerMessageBlock(mockConfig);
            }
    
            @Test
            @DisplayName("Test received state")
            void testReceivedState() {
                assertFalse(testBlock.isReceived());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test response state transitions")
        void testResponseStateTransitions() {
            // Test initial state
            assertTrue(response.hasMoreElements());
    
            // Test state after nextElement call
            response.nextElement();
            // Response behavior may change after nextElement
    
            // Test state after error (using errorCode, not status)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

        public WitnessServiceType getServiceType() { return serviceType; }
        public WitnessRegistrationState getState() { return state; }
        public void setState(WitnessRegistrationState state) { this.state = state; }
    }
    ```
    
    ### 4.2 Witness Notification
    ```java
    package jcifs.internal.witness;
    
    import java.util.List;
    import java.util.ArrayList;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         * @return true if reconnecting
         */
        public boolean isReconnecting() {
            return reconnecting;
        }
    
        /**
         * Set the reconnecting state
         * @param reconnecting the reconnecting state
         */
        public void setReconnecting(boolean reconnecting) {
            this.reconnecting = reconnecting;
        }
    
        /**
         * Get the associated file object
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacUnicodeStringTest.java

        }
    
        /**
         * Tests the {@link PacUnicodeString#check(String)} method with a non-empty string when the pointer is zero.
         * This is an invalid state and should throw an exception.
         */
        @Test
        void testCheck_withNonNullStringAndZeroPointer_throwsException() {
            // A zero pointer should mean the string is null
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertEquals(0, transport.getNumSessions());
        }
    
        @Test
        @DisplayName("isDisconnected / isFailed reflect socket and state")
        void connectionStateChecks() throws Exception {
            // Arrange: simulate connected state and open socket
            setField(transport, "state", 3); // connected
            Socket s = mock(Socket.class);
            when(s.isClosed()).thenReturn(false);
            setField(transport, "socket", s);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

        
        public int getScore() {
            // Calculate channel score for load balancing
            int score = 100;
            
            // Adjust based on state
            if (state == ChannelState.ACTIVE) score -= 20;  // Busy channel
            if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE) return 0;
            
            // Adjust based on error rate
            double errorRate = getErrorRate();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top