- Sort Score
- Result 10 results
- Languages All
Results 811 - 820 of 1,187 for EXPECTED (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
try { collection.retainAll(target.toRetain); String message = Platform.format("retainAll(%s) should throw", target); fail(message); } catch (UnsupportedOperationException expected) { } } private void expectReturnsFalseOrThrows(Target target) { String message = Platform.format("retainAll(%s) should return false or throw", target); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.6K bytes - Viewed (0) -
internal/grid/handlers.go
Subroute string // OutCapacity is the output capacity. If <= 0 capacity will be 1. OutCapacity int // InCapacity is the output capacity. // If == 0 no input is expected InCapacity int } ) type subHandlerID [32]byte func makeSubHandlerID(id HandlerID, subRoute string) subHandlerID { b := subHandlerID(sha256.Sum256([]byte(subRoute))) b[0] = byte(id)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
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
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)