- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,691 for expectGet (0.14 sec)
-
operator/pkg/object/objects_test.go
}, { name: "space in the end of the manifest", input: "well-formed-with-space", expectCount: 1, expectOut: true, }, { name: "some random comments", input: "well-formed-with-comments", expectCount: 1, expectOut: true, }, { name: "invalid k8s object - missing kind", input: "invalid", failOnError: true,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 21 07:16:46 UTC 2023 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/aot/tests/tfcompile_test.cc
EXPECT_TRUE(add.Run()); EXPECT_EQ(add.error_msg(), ""); EXPECT_EQ(add.result0(), 579); EXPECT_EQ(add.result0_data()[0], 579); EXPECT_EQ(add.result0_data(), add.results()[0]); const AddComp& add_const = add; EXPECT_EQ(add_const.error_msg(), ""); EXPECT_EQ(add_const.arg0(), 123); EXPECT_EQ(add_const.arg0_data()[0], 123); EXPECT_EQ(add_const.arg0_data(), add.arg_data(0)); EXPECT_EQ(add_const.arg1(), 456);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 26.4K bytes - Viewed (0) -
security/pkg/nodeagent/sds/sdsservice_test.go
s.Verify(s.Connect().RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{testResourceName}}), expectCert) }) t.Run("unsubscribe", func(t *testing.T) { s := setupSDS(t) c := s.Connect() res := c.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{testResourceName}}) s.Verify(res, expectCert) c.Request(t, &discovery.DiscoveryRequest{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 17 20:12:58 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h
// // Only asserts in dbg. // EXPECT_DEBUG_DEATH(DieInDebugOr12(&sideeffect), "death"); // // #ifdef NDEBUG // // opt-mode has sideeffect visible. // EXPECT_EQ(12, sideeffect); // #else // // dbg-mode no visible sideeffect. // EXPECT_EQ(0, sideeffect); // #endif // } // // This will assert that DieInDebugReturn12InOpt() crashes in debug // mode, usually due to a DCHECK or LOG(DFATAL), but returns the
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference_test.cc
&shape_info)); auto iter = shape_info.find("sink"); EXPECT_NE(iter, shape_info.end()); EXPECT_EQ(iter->second.size(), 1); EXPECT_EQ(iter->second.at(0).handle_type, DT_FLOAT); TensorShape resource_shape; EXPECT_TRUE(iter->second.at(0).handle_shape.AsTensorShape(&resource_shape)); EXPECT_EQ(resource_shape, TensorShape({2, 3})); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
tok := in.Stack.Next() if tok != scanner.Int { in.expectText("expected line number after #line") } line, err := strconv.Atoi(in.Stack.Text()) if err != nil { in.Error("error parsing #line (cannot happen):", err) } tok = in.Stack.Next() if tok != scanner.String { in.expectText("expected file name in #line") } file, err := strconv.Unquote(in.Stack.Text()) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 12.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
TF_EXPECT_OK(ReadCache(&cache, "a", 0, n, &out)); EXPECT_EQ(out, a); EXPECT_EQ(calls, 1); TF_EXPECT_OK(ReadCache(&cache, "a", 8, n, &out)); EXPECT_EQ(out, A); EXPECT_EQ(calls, 2); TF_EXPECT_OK(ReadCache(&cache, "b", 0, n, &out)); EXPECT_EQ(out, b); EXPECT_EQ(calls, 3); TF_EXPECT_OK(ReadCache(&cache, "b", 8, n, &out)); EXPECT_EQ(out, B); EXPECT_EQ(calls, 4); // All four blocks should be in the cache now.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 15 03:16:57 UTC 2021 - 23.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util_test.cc
GetNodesRelatedToRefVarsSorted(root, &flib_def)); std::vector<string> expected({ "RefFloat", "add_ref", "constant_ref", "constant_ref_pco", "negate_ref", "read_ref_var", "variable", }); EXPECT_EQ(names, expected); } Status MakeLoop(Scope s, Output init_value, absl::string_view loop_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 10.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder_test.go
if err != io.ErrShortBuffer || n != 12 { t.Fatalf("expected ErrShortBuffer: %d / %v", n, err) } expected := "---\nstuff: 1" if string(b) != expected { t.Fatalf("expected bytes read to be: %s got: %s", expected, string(b)) } b = make([]byte, 13) n, err = r.Read(b) if err != nil || n != 13 { t.Fatalf("expected nil: %d / %v", n, err) } expected = "\n\ttest-foo: 1" if string(b) != expected {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 12.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
claimStates []string expected bool skipPodUID bool }{ { name: "all missing", claimStates: []string{missing, missing}, expected: false, }, { name: "no claims", claimStates: []string{}, expected: false, }, { name: "exists", claimStates: []string{missing, exists}, expected: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0)