- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for consecutively (0.12 sec)
-
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) -
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) -
android/guava/src/com/google/common/collect/Lists.java
* int)}, and are subject to all the usual caveats about modification as explained in that API. * * @param list the list to return consecutive sublists of * @param size the desired size of each sublist (the last may be smaller) * @return a list of consecutive sublists * @throws IllegalArgumentException if {@code partitionSize} is nonpositive */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals("success 0", result, "Should execute in HALF_OPEN"); assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Should be in HALF_OPEN after first success"); // Need successThreshold (2) consecutive successes to close the circuit // Second success should close the circuit (threshold is 2) result = circuitBreaker.executeWithCircuitBreaker(() -> "success 1");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
android/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) -
guava/src/com/google/common/collect/ImmutableSet.java
return true; } } return false; } /** * If more than this many consecutive positions are filled in a table of the specified size, * report probable hash flooding. ({@link #hashFloodingDetected} may also report hash flooding * if fewer consecutive positions are filled; see that method for details.) */ static int maxRunBeforeFallback(int tableSize) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0)