- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 914 for Hero (0.02 seconds)
-
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
@Test fun publicSuffixDotOrgTestCases() { // Any copyright is dedicated to the Public Domain. // https://creativecommons.org/publicdomain/zero/1.0/ // Mixed case. checkPublicSuffix("COM", null) checkPublicSuffix("example.COM", "example.com") checkPublicSuffix("WwW.example.COM", "example.com") // Leading dot.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(0, buffer[1], "Second byte must be null terminator for empty string"); } @Test @DisplayName("readBytesWireFormat is a no‑op and returns zero") void testReadBytesWireFormatNoop() { byte[] buffer = new byte[10]; int used = cmd.readBytesWireFormat(buffer, 0); assertEquals(0, used, "readBytesWireFormat is unimplemented and must return 0");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
bufferIndex += 2; setupCount = buffer[bufferIndex] & 0xFF; bufferIndex += 2; if ((setupCount != 0) && (LogStream.level > 2)) { log.println("setupCount is not zero: " + setupCount); } return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { pad = pad1 = 0; final int n;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
sizesToTest.retainAll(features); features.removeAll(sizesToTest); addImpliedFeatures(sizesToTest); sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL)); logger.fine(" Sizes: " + formatFeatureSet(sizesToTest)); if (sizesToTest.isEmpty()) { throw new IllegalStateException( name
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5.4K bytes - Click Count (0) -
cmd/dynamic-timeouts.go
// newDynamicTimeout returns a new dynamic timeout initialized with timeout value func newDynamicTimeout(timeout, minimum time.Duration) *dynamicTimeout { if timeout <= 0 || minimum <= 0 { panic("newDynamicTimeout: negative or zero timeout") } if minimum > timeout { minimum = timeout } return &dynamicTimeout{timeout: int64(timeout), minimum: int64(minimum)} } // Timeout returns the current timeout value
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.5K bytes - Click Count (0) -
internal/bucket/lifecycle/evaluator_test.go
{Action: NoneAction}, } for i := range wantEvents { if gotEvents[i].Action != wantEvents[i].Action { t.Fatalf("test-%d: got %v, want %v", i+1, gotEvents[i], wantEvents[i]) } } // Test with zero versions events, err := evaluator.Eval(nil) if len(events) != 0 || err != nil { t.Fatal("expected no events nor error") } } func TestEmptyEvaluator(t *testing.T) { var objs []ObjectOptsCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 5K bytes - Click Count (0) -
docs/es/docs/advanced/async-tests.md
El `TestClient` hace algo de magia interna para llamar a la aplicación FastAPI asíncrona en tus funciones de test `def` normales, usando pytest estándar. Pero esa magia ya no funciona cuando lo usamos dentro de funciones asíncronas. Al ejecutar nuestros tests de manera asíncrona, ya no podemos usar el `TestClient` dentro de nuestras funciones de test.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
ToOptionalState::add, ToOptionalState::combine, ToOptionalState::getOptional, Collector.Characteristics.UNORDERED); /** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements. * @throws NullPointerException if any element in the stream is {@code null}.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 5.6K bytes - Click Count (0) -
cmd/http-tracer_test.go
totalRequests := 0 for _, v := range finalStats.TotalS3Requests.APIStats { totalRequests += v } if totalRequests == 0 { t.Error("Expected some total requests to be recorded, but got zero") } t.Logf("Total requests recorded: %d", totalRequests) t.Logf("Race condition test passed - no races detected") } // TestHTTPAPIStatsRaceCondition tests concurrent access to HTTPAPIStats specifically.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacTest.java
assertThrows(Exception.class, () -> new Pac(pacData, keys)); } @Test void testZeroBufferCount() throws IOException { // Test PAC with zero buffers (missing required buffers) ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, 0); // bufferCount = 0
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0)