Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 654 for State (0.69 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            @Test
            @DisplayName("Should maintain state after successful read")
            void testStateMaintenanceAfterRead() throws Exception {
                byte oplockLevel = 0x02;
                byte[] fileId = createTestData(16);
                byte[] buffer = createValidOplockBreakBuffer(oplockLevel, fileId);
    
                notification.readBytesWireFormat(buffer, 0);
    
                // Verify state is maintained through multiple toString calls
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

        @Test
        public void testReset() throws Exception {
            // Create some state
            String username = "resettest";
            String ip = "192.168.1.12";
    
            for (int i = 0; i < 2; i++) {
                rateLimiter.checkAttempt(username, ip);
                rateLimiter.recordFailure(username, ip);
            }
    
            // Should have some state
            AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
                        setSessionSetup(response);
                        state = 0;
                        break;
                    }
                    break;
                default:
                    throw new SmbException("Unexpected session setup state: " + state);
    
                }
            } while (state != 0);
        }
    
        @SuppressWarnings("deprecation")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SecurityBlobTest.java

        }
    
        // Ensures a default-constructed blob starts empty and stable across APIs
        @Test
        @DisplayName("Default constructor yields empty state")
        void defaultConstructor_initialState() {
            // Arrange & Act
            SecurityBlob blob = new SecurityBlob();
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEvent.java

     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuildingEvent {
    
        /**
         * Gets the model being built. The precise state of this model depends on the event being fired.
         *
         * @return The model being built, never {@code null}.
         */
        Model getModel();
    
        /**
         * Gets the model building request being processed.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(24, written);
            assertEquals(combinedFlags, SMBUtil.readInt2(buffer, 2));
        }
    
        @Test
        @DisplayName("Test request state after multiple operations")
        void testRequestStateAfterMultipleOperations() throws Exception {
            // Set initial values
            request.setCloseFlags(0x0001);
    
            // Change file ID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. tests/test_get_model_definitions_formfeed_escape.py

                                "line_1": {"title": "Line 1", "type": "string"},
                                "state_province": {
                                    "title": "State Province",
                                    "type": "string",
                                },
                            },
                            "required": ["line_1", "city", "state_province"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Response.java

        /**
         * Sets the expiration time for this response.
         *
         * @param exp the message timeout to set
         */
        void setExpiration(Long exp);
    
        /**
         * Resets this response to its initial state.
         */
        void reset();
    
        /**
         * Gets the exception associated with this response.
         *
         * @return an exception linked to an error
         */
        Exception getException();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        /**
         * Reset all rate limiting state
         */
        public void reset() {
            accountAttempts.clear();
            ipAttempts.clear();
            globalAttemptsInCurrentWindow.set(0);
            currentWindowStart.set(System.currentTimeMillis());
            totalAttemptsBlocked.set(0);
            totalAccountsLocked.set(0);
            totalIpsBlocked.set(0);
            log.info("Rate limiter state reset");
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top