- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,691 for expectGet (0.31 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/errors/errors_test.go
aggregate{fmt.Errorf("abc (repeated 2 times)"), fmt.Errorf("ghi")}, }, } var expected, agg []error for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { if testCase.expected != nil { expected = testCase.expected.Errors() sort.Slice(expected, func(i, j int) bool { return expected[i].Error() < expected[j].Error() }) } if testCase.mcm != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 24 13:16:21 UTC 2022 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) { BigDecimal expected = new BigDecimal(d).setScale(0, mode); boolean isInBounds = expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0 & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0; try { assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode)); assertTrue(isInBounds);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 28.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/check/checkers.go
if r.Hostname != expected { return fmt.Errorf("expected hostname %s, received %s", expected, r.Hostname) } return nil }) } func Protocol(expected string) echo.Checker { return Each(func(r echoClient.Response) error { if r.Protocol != expected { return fmt.Errorf("expected protocol %s, received %s", expected, r.Protocol) } return nil }) } func Alpn(expected string) echo.Checker {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 03 16:19:07 UTC 2023 - 17.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/call_graph_util_test.cc
namespace tensorflow { namespace { TEST(CallGraphUtilTest, GetEntryFunctionAttributeNames) { auto attr_names = mlir::GetEntryFunctionAttributeNames(); EXPECT_EQ(attr_names.size(), 2); EXPECT_EQ(attr_names[0], "tf.entry_function"); EXPECT_EQ(attr_names[1], mlir::tf_saved_model::kTfSavedModelInitializerTypeAttr); } TEST(CallGraphUtilTest, GetEntryFunctions) { const char *const code = R"mlir(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 04:39:18 UTC 2023 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/jit/resource_operation_safety_analysis_test.cc
std::pair<int, int> write_1_read_1_pair = {write_1->id(), read_1->id()}; EXPECT_EQ(incompatible_pairs[0], write_0_read_0_pair); EXPECT_EQ(incompatible_pairs[1], write_0_read_1_pair); EXPECT_EQ(incompatible_pairs[2], write_1_read_0_pair); EXPECT_EQ(incompatible_pairs[3], write_1_read_1_pair); } TEST(ResourceOperationSafetyAnalysisTest, DagOfOpsWithRepeatedPaths) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 28 16:53:59 UTC 2020 - 18.7K bytes - Viewed (0) -
cmd/kubeadm/app/constants/constants_test.go
manifestsDir: "/etc/bar/", expected: "/etc/bar/foo.yaml", }, } for _, rt := range tests { t.Run(rt.componentName, func(t *testing.T) { actual := GetStaticPodFilepath(rt.componentName, rt.manifestsDir) expected := filepath.FromSlash(rt.expected) if actual != expected { t.Errorf( "failed GetStaticPodFilepath:\n\texpected: %s\n\t actual: %s", rt.expected, actual, ) } })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 03:26:36 UTC 2024 - 10.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/marshal_test.go
if pod2.Name != pod.Name { t.Errorf("expected %q, got %q", pod.Name, pod2.Name) } if pod2.Namespace != pod.Namespace { t.Errorf("expected %q, got %q", pod.Namespace, pod2.Namespace) } if !reflect.DeepEqual(pod2.Labels, pod.Labels) { t.Errorf("expected %v, got %v", pod.Labels, pod2.Labels) } if pod2.Spec.RestartPolicy != pod.Spec.RestartPolicy {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_platform_info_test.cc
&xla_device_compiler)); core::ScopedUnref xla_device_compiler_ref(xla_device_compiler); EXPECT_EQ(xla_device_compiler->device_type(), metadata->jit_device_type()); EXPECT_EQ(xla_device_compiler->client(), metadata->client()); EXPECT_EQ(xla_device_compiler->persistor()->persistent_cache_directory(), "/tmp/xla_cache"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Jan 14 15:17:12 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc
result.get(), "slice_with_slice_input/static_shaped_slice/static_shaped_slice"); ASSERT_NE(static_shaped_slice, nullptr); EXPECT_EQ(static_shaped_slice->output_type(0), DT_FLOAT) << "Expected DT_FLOAT, was " << DataType_Name(static_shaped_slice->output_type(0)); EXPECT_THAT( static_shaped_slice, NodeWith( Op("Slice"),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 18.3K bytes - Viewed (0) -
pkg/kubelet/cm/node_container_manager_linux_test.go
} cm := &containerManagerImpl{ NodeConfig: nc, capacity: tc.capacity, } for k, v := range cm.GetNodeAllocatableReservation() { expected, exists := tc.expected[k] assert.True(t, exists, "test case %d expected resource %q", idx+1, k) assert.Equal(t, expected.MilliValue(), v.MilliValue(), "test case %d failed for resource %q", idx+1, k) } } ephemeralStorageEvictionThreshold := resource.MustParse("100Mi")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 12.1K bytes - Viewed (0)