Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 279 for stavate (0.49 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // After failure, state should be reset to disconnected
            assertEquals(0, tree.connectionState);
        }
    
        @Test
        void testSend() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "A:");
            tree.connectionState = 2; // Connected state
            tree.tid = 123;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    ├── Smb2LeaseKey.java            - 16-byte lease key management
    ├── Smb2LeaseState.java          - Lease state flags (R, H, W)
    └── LeaseManager.java            - Central lease management
    ```
    
    #### 1.2 Implementation Tasks
    - [ ] Define lease state constants (SMB2_LEASE_READ, SMB2_LEASE_HANDLE, SMB2_LEASE_WRITE)
    - [ ] Implement lease key generation and management
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            }
    
                            break;
                        default:
                            throw new SmbException("Unexpected session setup state: " + state);
                        }
                    } while (state != 0);
                } catch (final SmbException se) {
                    logoff(true);
                    connectionState = 0;
                    throw se;
                } finally {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top