- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 269 for _logf (0.04 sec)
-
src/runtime/race/testdata/rangefunc_test.go
// therefore foo can early exit. func TestRaceRangeFuncIterator(t *testing.T) { x := foo(4) t.Logf("foo(4)=%d", x) } // TestNoRaceRangeFuncIterator does not race because x%5 is never 5, // therefore foo's loop will not exit early, and this it will not race. func TestNoRaceRangeFuncIterator(t *testing.T) { x := foo(5) t.Logf("foo(5)=%d", x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 1.8K bytes - Viewed (0) -
src/go/internal/gccgoimporter/importer_test.go
out, err := cmd.CombinedOutput() if err != nil { t.Logf("%s", out) t.Fatalf("gccgo %s failed: %s", gofile, err) } runImporterTest(t, imp, initmap, &test) cmd = testenv.Command(t, "ar", "cr", afile, ofile) out, err = cmd.CombinedOutput() if err != nil { t.Logf("%s", out) t.Fatalf("ar cr %s %s failed: %s", afile, ofile, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:17:57 UTC 2022 - 7.2K bytes - Viewed (0) -
src/cmd/go/internal/modindex/index_test.go
t.Fatal(err) } if !reflect.DeepEqual(bp, bp1) { t.Errorf("mismatch") t.Logf("index:\n%s", hex.Dump(data)) js, err := json.MarshalIndent(bp, "", "\t") if err != nil { t.Fatal(err) } js1, err := json.MarshalIndent(bp1, "", "\t") if err != nil { t.Fatal(err) } t.Logf("diff:\n%s", diff.Diff("index", js, "correct", js1)) t.FailNow() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 28 23:35:08 UTC 2022 - 2.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fmahash_test.go
cmd.Env = append(cmd.Env, "GOCOMPILEDEBUG=fmahash=1/0", "GOOS=linux", "GOARCH=arm64", "HOME="+tmpdir) t.Logf("%v", cmd) t.Logf("%v", cmd.Env) b, e := cmd.CombinedOutput() if e != nil { t.Errorf("build failed: %v\n%s", e, b) } s := string(b) // Looking for "GOFMAHASH triggered main.main:24"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 21:57:53 UTC 2024 - 1.8K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go
t.Logf("Updated data in %s", filename) t.Logf("Verify the diff, commit changes, and rerun the tests") } else { t.Logf("Could not update data in %s: %v", filename, err) } } else { t.Logf("Diff between bootstrap data and fixture data in %s:\n-------------\n%s", filename, cmp.Diff(string(yamlData), string(expectedYAML)))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:45:31 UTC 2023 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/versioning_test.go
t.Logf("Creating foo") noxuInstanceToCreate := fixtures.NewNoxuInstance(ns, "foo") _, err = noxuNamespacedResourceClientV1beta1.Create(context.TODO(), noxuInstanceToCreate, metav1.CreateOptions{}) if err != nil { t.Fatal(err) } // update validation via update because the cache priming in CreateCRDUsingRemovedAPI will fail otherwise t.Logf("Updating CRD to validate apiVersion")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 05 13:10:47 UTC 2021 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors_test.go
} } } func TestErrorUsefulMessage(t *testing.T) { { s := Invalid(nil, nil, "").Error() t.Logf("message: %v", s) if !strings.Contains(s, "null") { t.Errorf("error message did not contain 'null': %s", s) } } s := Invalid(NewPath("foo"), "bar", "deet").Error() t.Logf("message: %v", s) for _, part := range []string{"foo", "bar", "deet", ErrorTypeInvalid.String()} { if !strings.Contains(s, part) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/testing/recognizer_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 07:28:47 UTC 2017 - 1.5K bytes - Viewed (0) -
src/cmd/objdump/objdump_test.go
args = append(args, flags...) args = append(args, srcfname) cmd := testenv.Command(t, testenv.GoToolPath(t), args...) // "Bad line" bug #36683 is sensitive to being run in the source directory. cmd.Dir = "testdata" t.Logf("Running %v", cmd.Args) out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("go build %s: %v\n%s", srcfname, err, out) } need := []string{ "TEXT main.main(SB)", } if printCode {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/apis/flowcontrol/internalbootstrap/defaults_test.go
defaulted := original.DeepCopyObject().(*flowcontrol.FlowSchema) scheme.Default(defaulted) if apiequality.Semantic.DeepEqual(original, defaulted) { t.Logf("Defaulting makes no change to FlowSchema: %q", original.Name) return } t.Errorf("Expected defaulting to not change FlowSchema: %q, diff: %s", original.Name, cmp.Diff(original, defaulted)) }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 2.4K bytes - Viewed (0)