- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for Threshold (0.06 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Create circuit breaker with dynamic threshold enabled SmbCircuitBreaker dynamicCircuitBreaker = new SmbCircuitBreaker("dynamic-test", 5, 2, 1000, 3, true, false, 100); try { // Test threshold adjustment int initialThreshold = dynamicCircuitBreaker.getCurrentFailureThreshold(); assertEquals(5, initialThreshold, "Initial threshold should be 5"); // Update threshold
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
} /** * Get current failure threshold (may be dynamically adjusted) * * @return current failure threshold */ public int getCurrentFailureThreshold() { return failureThreshold; } /** * Update failure threshold (for dynamic adjustment) * * @param newThreshold the new failure threshold */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/TopKSelector.java
// uncheckedCastNullableTToT is safe because bufferSize > 0. if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) { threshold = elem; } // uncheckedCastNullableTToT is safe because bufferSize > 0. } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) { // Otherwise, we can ignore elem; we've seen k better elements. buffer[bufferSize++] = elem;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java
assertEquals("auto", config.getRdmaProvider(), "Default provider should be auto"); assertEquals(8192, config.getRdmaReadWriteThreshold(), "Default threshold should be 8KB"); assertEquals(65536, config.getRdmaMaxSendSize(), "Default max send size should be 64KB"); assertEquals(65536, config.getRdmaMaxReceiveSize(), "Default max receive size should be 64KB");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
*/ double estimateCompressionRatio(byte[] data, int algorithm); /** * Gets the minimum data size threshold for compression. * Data smaller than this threshold should not be compressed. * * @return minimum size in bytes for compression to be beneficial */ int getMinCompressionSize(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/dynamic-timeouts.go
package cmd import ( "math" "sync" "sync/atomic" "time" ) const ( dynamicTimeoutIncreaseThresholdPct = 0.33 // Upper threshold for failures in order to increase timeout dynamicTimeoutDecreaseThresholdPct = 0.10 // Lower threshold for failures in order to decrease timeout dynamicTimeoutLogSize = 16 maxDuration = math.MaxInt64
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
assertEquals(1, stats.totalSuccesses); assertEquals(0, stats.totalFailures); assertEquals(1.0, stats.successRate); } @Test @DisplayName("Test circuit opens after failure threshold") void testCircuitOpensAfterThreshold() { // Fail 3 times to open the circuit for (int i = 0; i < 3; i++) { try { circuitBreaker.call(() -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* (usually) must retry. */ int modCount; /** * The table is expanded when its size exceeds this threshold. (The value of this field is * always {@code (int) (capacity * 0.75)}.) */ int threshold; /** The per-segment table. */ volatile @Nullable AtomicReferenceArray<E> table; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
this.timeoutMillis = timeoutMillis; if (failureThreshold < 1) { throw new IllegalArgumentException("Failure threshold must be at least 1"); } if (successThreshold < 1) { throw new IllegalArgumentException("Success threshold must be at least 1"); } if (timeoutMillis < 0) { throw new IllegalArgumentException("Timeout must be non-negative"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
docs/bigdata/README.md
mapreduce.reduce.shuffle.input.buffer.percent=0.9 # Min % buffer in RAM mapreduce.reduce.shuffle.merge.percent=0.9 # Minimum % merges in RAM mapreduce.reduce.speculative=false # Disable speculation for reducing mapreduce.task.io.sort.factor=999 # Threshold before writing to disk mapreduce.task.sort.spill.percent=0.9 # Minimum % before spilling to disk ```
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 14.7K bytes - Viewed (0)