- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 1,526 for expected (0.12 sec)
-
cmd/xl-storage-format-v2_test.go
if err != nil { t.Fatal(err) } buf, err := io.ReadAll(gz) if err != nil { t.Fatal(err) } _, err = readXLMetaNoData(bytes.NewReader(buf), int64(len(buf))) if err == nil { t.Fatal("expected error but returned success") } } func TestXLV2FormatData(t *testing.T) { failOnErr := func(err error) { t.Helper() if err != nil { t.Fatal(err) } } data := []byte("some object data")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
cmd/generic-handlers_test.go
} func TestIsHTTPHeaderSizeTooLarge(t *testing.T) { for i, test := range isHTTPHeaderSizeTooLargeTests { if res := isHTTPHeaderSizeTooLarge(test.header); res != test.shouldFail { t.Errorf("Test %d: Expected %v got %v", i, res, test.shouldFail) } } } var containsReservedMetadataTests = []struct { header http.Header shouldFail bool }{ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
protected @NonNull C cellValue(Character character) { return (C) character; } // Only safe wrt. ClassCastException. Not null-safe (can be used to test expected Table NPEs) @SuppressWarnings("unchecked") protected C nullableCellValue(@Nullable Character character) { return (C) character; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
assertEquals( fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); } public void testPutNonChars() { Hasher hasher = HASH_FN.newHasher(); // Expected data is 0x0100010100000000 hasher .putBoolean(true) .putBoolean(true) .putBoolean(false) .putBoolean(true) .putBoolean(false) .putBoolean(false)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
responseHeaders = responseHeadersBuilder.build() if (url.isHttps) { val blank = source.readUtf8LineStrict() if (blank.isNotEmpty()) { throw IOException("expected \"\" but was \"$blank\"") } val cipherSuiteString = source.readUtf8LineStrict() val cipherSuite = CipherSuite.forJavaName(cipherSuiteString)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
What is the problem, question, or error? Write a short description telling me what you are doing, what you expect to happen, and what is currently happening. placeholder: | * Open the browser and call the endpoint `/`. * It returns a JSON with `{"Hello": "World"}`. * But I expected it to return `{"Hello": "Sara"}`. validations: required: true - type: dropdown id: os attributes:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 03 15:59:41 UTC 2023 - 5.8K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
infos, err := builder.Do().Infos() if err != nil { return nil, "", "", "", fmt.Errorf("failed retrieving: %v in the %q namespace", err, ns) } if len(infos) != 1 { return nil, "", "", "", errors.New("expected a resource") } _, ok := infos[0].Object.(*corev1.Pod) if ok { // If we got a pod, just use its name return nil, infos[0].Name, infos[0].Namespace, "", nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 6.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
} @Test fun clientCloseWith0Fails() { assertFailsWith<IllegalArgumentException> { client.webSocket!!.close(0, null) }.also { expected -> assertThat("Code must be in range [1000,5000): 0") .isEqualTo(expected.message) } } @Test fun afterSocketClosedPingFailsWebSocket() { client2Server.source.close() client.webSocket!!.pong("Ping!".encodeUtf8())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
if uint64(len(p.Seq)) > ss { symmetry = uint64(len(p.Seq))%ss == 0 } else { symmetry = ss%uint64(len(p.Seq)) == 0 } } } // With no arg patterns, it is expected that user knows // the right symmetry, so either ellipses patterns are // provided (recommended) or no ellipses patterns. if _, ok := newSetCounts[ss]; !ok && (symmetry || argPatterns == nil) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14.7K bytes - Viewed (0)