- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for badvals (0.13 sec)
-
test/fixedbugs/issue24799.go
// since their alignment is not known until link time. // This problem only affects go.string since other types have // correct alignment. const ( LevelBad Level = "badvals" LevelNone Level = "No" LevelMetadata Level = "Metadata" LevelRequest Level = "Request" LevelRequestResponse Level = "RequestResponse" ) func ordLevel(l Level) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 20 16:16:47 UTC 2018 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad_test.cc
// `mnist_gradients_test` when done. GTEST_SKIP(); float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f}; int64_t A_dims[] = {3, 3}; AbstractTensorHandlePtr A; { AbstractTensorHandle* A_raw; status_ = TestTensorHandleWithDims<float, TF_FLOAT>( immediate_execution_ctx_.get(), A_vals, A_dims, 2, &A_raw); ASSERT_EQ(errors::OK, status_.code()) << status_.message();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 17:32:14 UTC 2023 - 16.3K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker_test.cc
}; TEST_P(GradientCheckerTest, TestMatMul) { float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f}; int64_t A_dims[] = {2, 2}; AbstractTensorHandlePtr A; { AbstractTensorHandle* A_raw; Status s = TestTensorHandleWithDims<float, TF_FLOAT>(ctx_.get(), A_vals, A_dims, 2, &A_raw);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 10:03:59 UTC 2023 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/validation_test.go
t.Errorf("expected true for '%s': %v", val, msgs) } } badValues := []string{ "", "A", "ABC", "aBc", "A1", "A-1", "1-A", "-", "a-", "-a", "1-", "-1", "_", "a_", "_a", "a_b", "1_", "_1", "1_2", ".", "a.", ".a", "a.b", "1.", ".1", "1.2", " ", "a ", " a", "a b", "1 ", " 1", "1 2", strings.Repeat("a", 64), } for _, val := range badValues { if msgs := IsDNS1123Label(val); len(msgs) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 04:51:54 UTC 2024 - 22.3K bytes - Viewed (0) -
src/cmd/fix/cftype.go
typeof, _ := typecheck(&TypeConfig{}, f) changed := false // step 1: Find all the nils with the offending types. // Compute their replacement. badNils := map[any]ast.Expr{} walk(f, func(n any) { if i, ok := n.(*ast.Ident); ok && i.Name == "nil" && badType(typeof[n]) { badNils[n] = &ast.BasicLit{ValuePos: i.NamePos, Kind: token.INT, Value: "0"} } }) // step 2: find all uses of the bad nils, replace them with 0.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:25:49 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_badtest.txt
func init() { panic("badexec") } -- badtest/badsyntax/x.go -- package badsyntax -- badtest/badsyntax/x_test.go -- package badsyntax func func func func func! -- badtest/badvar/x.go -- package badvar -- badtest/badvar/x_test.go -- package badvar_test func f() { _ = notdefined } -- notest/hello.go -- package notest func hello() { println("hello world") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 06 15:47:54 UTC 2020 - 805 bytes - Viewed (0) -
src/internal/fuzz/mutators_byteslice_test.go
{ name: "byteSliceSwapBytes", mutator: byteSliceSwapBytes, randVals: []int{0, 2, 0, 2}, input: append(make([]byte, 0, 9), []byte{1, 2, 3, 4}...), expected: []byte{3, 2, 1, 4}, }, } { t.Run(tc.name, func(t *testing.T) { r := &mockRand{values: []int{0, 1, 2, 3, 4, 5}} if tc.randVals != nil { r.values = tc.randVals } m := &mutator{r: r} b := tc.mutator(m, tc.input)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 19 18:23:43 UTC 2021 - 4.3K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/input/flag_force.yaml
apiVersion: install.istio.io/v1alpha1 kind: IstioOperator spec: profile: empty components: pilot: enabled: true values: global:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 07 02:36:43 UTC 2020 - 171 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 29.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc
func.func @main() -> tensor<1xi32> { %0 = "tf.BadValue"() {value = dense<1000> : tensor<1xi32>} : () -> tensor<1xi32> func.return %0 : tensor<1xi32> } })"; CellReader<int64_t> error(kFailedLegalizationStreamz); CreateModule(kMlirModuleStr); auto result = Run(); EXPECT_TRUE(result.failed()); EXPECT_EQ(error.Delta("tf.BadValue"), 1); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 7.5K bytes - Viewed (0)