- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 331 for attempts (0.07 seconds)
-
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
@BeforeEach public void setUp() { // Create rate limiter with test-friendly settings rateLimiter = new AuthenticationRateLimiter(3, // max attempts per account 5, // max attempts per IP 20, // max global attempts per minute Duration.ofSeconds(2), // short lockout for testing Duration.ofMinutes(1) // cleanup interval ); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} assertEquals(expected, actual); } public void testCorrectOrdering_smallHeapsPollFirst() { for (int size = 2; size < 16; size++) { for (int attempts = 0; attempts < size * (size - 1); attempts++) { ArrayList<Integer> elements = createOrderedList(size); List<Integer> expected = ImmutableList.copyOf(elements); MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
if (sourceIp != null) { IpAttempts ip = ipAttempts.computeIfAbsent(sourceIp, k -> new IpAttempts()); if (ip.isBlocked()) { if (ip.getBlockExpiry().isAfter(Instant.now())) { totalAttemptsBlocked.incrementAndGet(); totalIpsBlocked.incrementAndGet(); log.warn("IP {} is blocked due to excessive attempts", sourceIp); return false;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
helm/minio/templates/_helper_create_bucket.txt
$MC_COMMAND STATUS=$? until [ $STATUS = 0 ]; do ATTEMPTS=$(expr $ATTEMPTS + 1) echo \"Failed attempts: $ATTEMPTS\" if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 fi sleep 2 # 1 second intervals between attempts $MC_COMMAND STATUS=$? done set -e # reset `e` as active return 0 } # checkBucketExists ($bucket)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 07 09:47:02 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.isCancelled()); } public void testSetValue_simpleThreaded() throws Exception { SettableFuture<Integer> future = SettableFuture.create(); assertTrue(future.set(42)); // Later attempts to set the future should return false. assertFalse(future.set(23)); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.create()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultiset.java
* multiset, so changes to one will be reflected in the other. The returned multiset supports all * operations that this multiset supports. * * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add * elements outside its range. */ SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedMultiset.java
* multiset, so changes to one will be reflected in the other. The returned multiset supports all * operations that this multiset supports. * * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add * elements outside its range. */ SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.4K bytes - Click Count (0) -
cmd/batch-handlers.go
if err != nil { return err } wk, err := workers.New(workerSize) if err != nil { // invalid worker size. return err } retry := false for attempts := 1; attempts <= retryAttempts; attempts++ { attempts := attempts // one of source/target is s3, skip delete marker and all versions under the same object name.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
) val call = client.newCall(Request(url)) val response = call.execute() assertThat(response.body.string()).isEqualTo("hello from IPv6") // In the process we made two connection attempts including one failure. assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectStart::class }).hasSize(1) assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectEnd::class }).hasSize(1)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0)