- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,128 for _count (0.05 sec)
-
guava/src/com/google/common/collect/Lists.java
} /** * Creates an {@code ArrayList} instance to hold {@code estimatedSize} elements, <i>plus</i> an * unspecified amount of padding; **don't do this**. Instead, use {@code new }{@link * ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly and choose an explicit padding * amount. * * @param estimatedSize an estimate of the eventual {@link List#size()} of the new listRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.6K bytes - Viewed (0) -
internal/arn/arn.go
package arn import ( "errors" "fmt" "regexp" "strings" ) // ARN structure: // // arn:partition:service:region:account-id:resource-type/resource-id // // In this implementation, account-id is empty. // // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html const ( arnPrefixArn = "arn" arnPartitionMinio = "minio" arnServiceIAM = "iam"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Then: Should use trans1 (addr2 failed, so tried addr1 next) assertSame(trans1, result); // Verify fail count incremented for addr2 (was 1, now 2) assertEquals(2, poolSpy.failCounts.get("10.0.0.2")); // addr1's count should remain unchanged since it succeeded assertEquals(5, poolSpy.failCounts.get("10.0.0.1")); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
logger/slog_test.go
logger := NewSlogLogger(slog.New(handler), Config{LogLevel: Info}) logger.Trace(context.Background(), time.Now(), func() (string, int64) { return "select count(*) from users", 0 }, nil) if strings.Contains(buf.String(), "gorm/logger/slog.go") { t.Error("Found internal slog.go reference in caller frame. Expected only test file references.") }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Oct 30 10:56:26 UTC 2025 - 782 bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
// Fail 5 times, succeed on 6th attempt when(mockFuture.actionGet(anyLong(), any(TimeUnit.class))).thenAnswer(invocation -> { int count = attemptCount.incrementAndGet(); if (count <= 5) { throw new RuntimeException("Simulated failure #" + count); } return "Success"; }); final String result = fesenClient.get(c -> mockFuture);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
tests/lru_test.go
t.Fatalf("value differs from expected") } if lc.Resize(0) != 0 { t.Fatalf("evicted count differs from expected") } if lc.Resize(2) != 0 { t.Fatalf("evicted count differs from expected") } lc.Add("key2", "val2") if lc.Resize(1) != 1 { t.Fatalf("evicted count differs from expected") } } func TestLRUEdgeCases(t *testing.T) { lc := lru.NewLRU[string, *string](2, nil, 0)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (0) -
tests/test_security_oauth2_password_bearer_optional_description.py
if token is None: return {"msg": "Create an account first"} return {"token": token} client = TestClient(app) def test_no_token(): response = client.get("/items") assert response.status_code == 200, response.text assert response.json() == {"msg": "Create an account first"} def test_token():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
assertThrows(NullPointerException.class, () -> copyOf((Iterator<String>) c)); } private static class CountingIterable implements Iterable<String> { int count = 0; @Override public Iterator<String> iterator() { count++; return Iterators.forArray("a", "b", "a"); } } public void testCopyOf_plainIterable() { CountingIterable iterable = new CountingIterable();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
docs/site-replication/run-multi-site-minio-idp.sh
./mc ls rootsvc if [ $? -ne 0 ]; then echo "root service account not inherited root permissions, exiting.." exit_1 fi ./mc admin user svcacct info minio1 testsvc if [ $? -ne 0 ]; then echo "svc account not mirrored, exiting.." exit_1 fi ./mc admin user svcacct info minio2 testsvc if [ $? -ne 0 ]; then echo "svc account not mirrored, exiting.." exit_1 fi
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 12.1K bytes - Viewed (0) -
internal/logger/target/loggertypes/types.go
QueueLength int // TotalMessages is the total number of messages sent in the lifetime of the target TotalMessages int64 // FailedMessages should log message count that failed to send. FailedMessages int64
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 1.4K bytes - Viewed (0)