Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,310 for expectGet (0.16 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/resources/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors-expected-output.txt

    Paul Merlin <******@****.***> 1690890212 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      std::vector<DataType> recv_at_host_dtypes;
      TF_CHECK_OK(
          GetNodeAttr(recv_at_host->attrs(), "Toutputs", &recv_at_host_dtypes));
      EXPECT_EQ(recv_at_host_dtypes.size(), 3);
      EXPECT_EQ(recv_at_host_dtypes[0], DT_INT32);
      EXPECT_EQ(recv_at_host_dtypes[1], DT_FLOAT);
      EXPECT_EQ(recv_at_host_dtypes[2], DT_INT32);
      // Verify step 3: replace _Retval nodes with XlaSendFromHost.
      for (Node *n : g->nodes()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc

                                absl::OkStatus());
      EXPECT_EQ(
          function_optimization_pass_.Run(
              "test_func", device_set_, config_proto_, function_options_, &graph_,
              flib_.get(), &control_ret_node_names_, &control_rets_updated_),
          absl::OkStatus());
    
      EXPECT_EQ(mlir_function_pass_graph_conversion_count_.Read(kOk), 0);
      EXPECT_EQ(mlir_function_pass_graph_conversion_count_.Read(kInvalidArgument),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 08:25:30 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. tensorflow/c/while_loop_test.cc

      }
    
      void ExpectOK() {
        TF_FinishWhile(params_.get(), s_, &outputs_[0]);
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void ExpectError(TF_Code expected_code, const string& expected_msg) {
        TF_FinishWhile(params_.get(), s_, &outputs_[0]);
        EXPECT_EQ(expected_code, TF_GetCode(s_));
        EXPECT_EQ(expected_msg, TF_Message(s_));
        // TODO(skyewm): this assert is currently broken. Fix or remove guarantee.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go

    				}
    				if !strings.Contains(err.Error(), tc.ExpectErr) {
    					t.Fatalf("expected error %s, got %v", tc.ExpectErr, err)
    				}
    				return
    			}
    			if len(tc.ExpectErr) > 0 {
    				t.Fatalf("expected error %s, got none", tc.ExpectErr)
    			}
    			if !reflect.DeepEqual(tc.Out, tc.ExpectOut) {
    				t.Fatalf("unexpected result:\n %s", cmp.Diff(tc.ExpectOut, tc.Out))
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  6. pilot/pkg/leaderelection/leaderelection_test.go

    	expectInt(t, completions.Load, 2)
    
    	close(stop)
    }
    
    func expectInt(t *testing.T, f func() int32, expected int32) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		got := f()
    		if got != expected {
    			return fmt.Errorf("unexpected count: %v, want %v", got, expected)
    		}
    		return nil
    	}, retry.Timeout(time.Second))
    }
    
    func TestLeaderElectionDisabled(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

        InstantiationResultForTest result;
        TF_EXPECT_OK(InstantiateFunctionForTest(function, flib_def, &result));
    
        EXPECT_EQ((DataTypeVector{DT_INT32, DT_FLOAT, DT_INT32, DT_FLOAT,
                                  DT_RESOURCE, DT_RESOURCE, DT_RESOURCE}),
                  result.arg_types);
        EXPECT_EQ((DataTypeVector{DT_FLOAT, DT_INT32, DT_FLOAT, DT_FLOAT}),
                  result.ret_types);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

      TF_EXPECT_OK(CompileWithComputation(function_to_hlo_args).status());
    
      Histogram histogram =
          compilation_time.Delta("graph_old_bridge_has_function_to_hlo");
    
      EXPECT_EQ(histogram.num(), 1);
      EXPECT_EQ(compilation_status.Delta("kOldBridgeNoMlirSuccess"), 1);
    }
    
    TEST_F(CompileTFGraphTest, SuccessfullyCompilesWithManualSharding) {
      // MLIR module from failing test.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top