Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 4,605 for expectGet (0.12 sec)

  1. 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)
  2. 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)
  3. tensorflow/cc/saved_model/fingerprinting_chunked_test.cc

                  ::testing::Contains(fingerprint_pb.graph_def_program_hash()));
      EXPECT_EQ(fingerprint_pb.signature_def_hash(), 1043582354059066488U);
      EXPECT_THAT(absl::flat_hash_set<uint64_t>(
                      {2766043449526180728U, 11894619660760763927U}),
                  ::testing::Contains(fingerprint_pb.saved_object_graph_hash()));
      EXPECT_EQ(fingerprint_pb.checkpoint_hash(), 0);
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    //
    //   EXPECT_NE(5, Foo());
    //   EXPECT_EQ(NULL, a_pointer);
    //   ASSERT_LT(i, array_size);
    //   ASSERT_GT(records.size(), 0) << "There is no record left.";
    
    #define EXPECT_EQ(expected, actual) \
      EXPECT_PRED_FORMAT2(::testing::internal:: \
                          EqHelper<GTEST_IS_NULL_LITERAL_(expected)>::Compare, \
                          expected, actual)
    #define EXPECT_NE(expected, actual) \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  6. tensorflow/cc/ops/while_loop_test.cc

        ASSERT_TRUE(node->while_ctx() != nullptr) << i;
        if (i == 0) {
          while_ctx = node->while_ctx();
          EXPECT_EQ(while_ctx->frame_name(), kFrameName);
        } else {
          EXPECT_EQ(node->while_ctx(), while_ctx) << i;
        }
      }
    
      // Run the loop and test we get the expected results
      Run<int>({1}, {10});
      Run<int>({11}, {11});
    }
    
    TEST_F(WhileLoopTest, WrongCondOutputType) {
      Init(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 22:30:58 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_test.cc

      SourceCode code;
      TestRenderer(code).Render();
    
      string expected = R"(// File level comment.
    #include "header.h"
    
    void TestFunction() {
       int i = 1;
    
       while (i == 1) {
          // Do nothing, really....
    #if 0
          call();
    #endif
       }
    }  // comment ending TestFunction
    )";
    
      code.SetSpacesPerIndent(3);
      EXPECT_EQ(expected, code.Render());
    }
    
    }  // namespace
    }  // namespace cpp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. 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)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    //
    //   EXPECT_NE(5, Foo());
    //   EXPECT_EQ(NULL, a_pointer);
    //   ASSERT_LT(i, array_size);
    //   ASSERT_GT(records.size(), 0) << "There is no record left.";
    
    #define EXPECT_EQ(expected, actual) \
      EXPECT_PRED_FORMAT2(::testing::internal:: \
                          EqHelper<GTEST_IS_NULL_LITERAL_(expected)>::Compare, \
                          expected, actual)
    #define EXPECT_NE(expected, actual) \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  10. 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)
Back to top