Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for consecutively (0.12 sec)

  1. guava/src/com/google/common/collect/ImmutableMultiset.java

     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Grouped iteration.</b> In all current implementations, duplicate elements always appear
     * consecutively when iterating. Elements iterate in order by the <i>first</i> appearance of that
     * element when the multiset was created.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         */
        public void incrementHeartbeatFailures() {
            this.heartbeatFailures++;
        }
    
        /**
         * Gets the number of consecutive heartbeat failures.
         *
         * @return the number of consecutive heartbeat failures
         */
        public int getHeartbeatFailures() {
            return heartbeatFailures;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SimpleCircuitBreaker.java

        }
    
        /**
         * Creates a simple circuit breaker
         *
         * @param name the circuit breaker name
         * @param failureThreshold number of consecutive failures to open circuit
         * @param successThreshold number of successes in half-open to close circuit
         * @param timeoutMillis timeout before attempting to close open circuit
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    return true;
                }
    
                // Check if transport is failed
                if (transport.isFailed()) {
                    return true;
                }
    
                // Check for consecutive failures
                String key = getConnectionKey(transport);
                AtomicInteger failures = consecutiveFailures.get(key);
                if (failures != null && failures.get() >= MAX_CONSECUTIVE_FAILURES) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

                    // Expected
                }
            }
    
            // Still closed
            assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState());
    
            // Success resets consecutive failures
            circuitBreaker.call(() -> "success");
    
            SimpleCircuitBreaker.Statistics stats = circuitBreaker.getStatistics();
            assertEquals(0, stats.consecutiveFailures);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        }
    
        /**
         * Get failure count for a handle
         *
         * @param handle notification handle
         * @return number of consecutive failures
         */
        private int getFailureCount(ChangeNotificationHandle handle) {
            return failureCounts.getOrDefault(handle.getDirectoryPath(), 0);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

                        log.debug("Error in async notification monitoring for {}: {}", registrationId, e.getMessage());
    
                        // Exponential backoff on errors: max 30 seconds, based on consecutive failures
                        try {
                            int failures = Math.min(registration.getHeartbeatFailures(), MAX_FAILURE_LIMIT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle multiple consecutive reads")
            void testMultipleConsecutiveReads() throws Exception {
                // First read
                byte[] buffer1 = createValidOplockBreakBuffer((byte) 0x01, createTestData(16));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

       * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However,
       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
       * holes).
       */
    
      // SetCreationTester has some tests that pass in duplicates. Dedup them.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertEquals(TransPeekNamedPipeResponse.STATUS_LISTENING, response.getStatus());
            // Middle bytes were read but not used
        }
    
        @Test
        @DisplayName("Test consecutive reads update state correctly")
        void testConsecutiveReads() {
            // First read
            byte[] buffer1 = new byte[10];
            SMBUtil.writeInt2(100, buffer1, 0);
            SMBUtil.writeInt2(0, buffer1, 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top