- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for checkcast (0.13 sec)
-
cmd/kubeadm/app/preflight/checks_test.go
} for _, check := range checks { if check.Name() == ipv4File { checkList = append(checkList, ipv4File) } if check.Name() == ipv6File { checkList = append(checkList, ipv6File) } } if diff := cmp.Diff(checkList, rt.expStr); diff != "" { t.Fatalf("unexpected file content check (-want,+got):\n%s", diff) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0) -
src/internal/coverage/cfile/testdata/harness.go
} else { got := fmt.Sprintf("%v", err) checkWant("meta data", got) } // Now try to emit counter data file to a bad dir. if err := coverage.WriteCountersDir(mangled); err == nil { log.Fatal("expected error emitting counter data to bad dir") } else { got := fmt.Sprintf("%v", err) checkWant("counter data", got) } } func emitToUnwritableDir() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 6.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go
checkExampleName(pass, fn) checkExampleOutput(pass, fn, f.Comments) case strings.HasPrefix(fn.Name.Name, "Test"): checkTest(pass, fn, "Test") case strings.HasPrefix(fn.Name.Name, "Benchmark"): checkTest(pass, fn, "Benchmark") case strings.HasPrefix(fn.Name.Name, "Fuzz"): checkTest(pass, fn, "Fuzz") checkFuzz(pass, fn) } } } return nil, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 14.4K bytes - Viewed (0) -
pilot/pkg/bootstrap/server_test.go
if istiodCert, err := s.getIstiodCertificate(nil); istiodCert == nil || err != nil { t.Errorf("Istiod failed to generate new DNS cert") } } else { if len(c.expCert) != 0 { if !checkCert(t, s, c.expCert, c.expKey) { t.Errorf("Istiod certificate does not match the expectation") } } else { if _, err := s.getIstiodCertificate(nil); err == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
RETURN_CONVENTION_METHOD_TYPE )); _INVOKESTATIC(DEPRECATION_LOGGER_TYPE, "whileDisabled", DEPRECATION_LOGGER_WHILE_DISABLED_FACTORY_METHOD); _CHECKCAST(CONVENTION_TYPE); _ARETURN(); }}); } @Override public void addExtensionsProperty() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 100.6K bytes - Viewed (0) -
.github/bot_config.yml
compiler_assignees: - joker-eph - sanjoy # filesystem path filesystem_path: - tensorflow/c/experimental/filesystem # security path security_path: - tensorflow/security # words checklist segfault_memory: - segfault - memory leaks # assignees filesystem_security_assignee: - mihaimaruseac # Cuda Comment cuda_comment: >
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 04:55:57 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedBytes.java
* @return the {@code byte} value that, when treated as unsigned, equals {@code value} * @throws IllegalArgumentException if {@code value} is negative or greater than 255 */ @CanIgnoreReturnValue public static byte checkedCast(long value) { checkArgument(value >> Byte.SIZE == 0, "out of range: %s", value); return (byte) value; } /** * Returns the {@code byte} value that, when treated as unsigned, is nearest in value to {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* @return the {@code byte} value that, when treated as unsigned, equals {@code value} * @throws IllegalArgumentException if {@code value} is negative or greater than 255 */ @CanIgnoreReturnValue public static byte checkedCast(long value) { checkArgument(value >> Byte.SIZE == 0, "out of range: %s", value); return (byte) value; } /** * Returns the {@code byte} value that, when treated as unsigned, is nearest in value to {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 18.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
} assertTrue(Ordering.from(comparator).isOrdered(resultsForStrategy)); } if ((characteristics & Spliterator.SIZED) != 0) { assertEquals(Ints.checkedCast(estimatedSize), resultsForStrategy.size()); } assertEqualIgnoringOrder(elements, resultsForStrategy); resultsForAllStrategies.add(resultsForStrategy); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 22 18:19:31 UTC 2024 - 11.9K bytes - Viewed (0) -
src/runtime/stubs.go
func divRoundUp(n, a uintptr) uintptr { // a is generally a power of two. This will get inlined and // the compiler will optimize the division. return (n + a - 1) / a } // checkASM reports whether assembly runtime checks have passed. func checkASM() bool func memequal_varlen(a, b unsafe.Pointer) bool // bool2int returns 0 if x is false or 1 if x is true. func bool2int(x bool) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0)