- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 602 for _logf (0.1 sec)
-
src/cmd/go/go_unix_test.go
if stdout.Len() > 0 { t.Logf("stdout:\n%s", stdout) } err = cmd.Wait() ee, _ := err.(*exec.ExitError) if ee == nil { t.Fatalf("unexpectedly finished with nonzero status") } if len(ee.Stderr) > 0 { t.Logf("stderr:\n%s", ee.Stderr) } if !ee.Exited() { t.Fatalf("'go test' did not exit after interrupt: %v", err) } t.Logf("interrupted tests without deadlocking")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 19 16:17:55 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/listtype_test.go
if createErr == nil { t.Fatalf("Expected validation errors, but did not get one") } t.Logf("Checking that valid fields DO NOT show in error") for _, valid := range validListTypeFields { if strings.Contains(createErr.Error(), valid) { t.Errorf("unexpected error about %q: %v", valid, err) } } t.Logf("Checking that invalid fields DO show in error") for _, invalid := range invalidListTypeFields {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 6.9K bytes - Viewed (0) -
src/net/dial_unix_test.go
return err } getsockoptIntFunc = func(fd, level, opt int) (val int, err error) { val, err = oldGetsockoptIntFunc(fd, level, opt) t.Logf("getsockoptIntFunc(%d, %d, %d) = (%v, %v)", fd, level, opt, val, err) if level == syscall.SOL_SOCKET && opt == syscall.SO_ERROR && err == nil && val == 0 { t.Logf("canceling context") // Cancel the context at just the moment which // caused the race in issue 16523. cancelCtx()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go
t.Logf("Add 'c' default to the storage version and wait until GET sees it in both status and spec") addDefault("v1beta2", "c", "C") t.Logf("wait until GET sees 'c' in both status and spec") if err := wait.PollImmediate(100*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 21.2K bytes - Viewed (0) -
src/internal/sysinfo/sysinfo_test.go
// license that can be found in the LICENSE file. package sysinfo_test import ( . "internal/sysinfo" "testing" ) func TestCPUName(t *testing.T) { t.Logf("CPUName: %s", CPUName()) t.Logf("osCPUInfoName: %s", XosCPUInfoName())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 343 bytes - Viewed (0) -
src/cmd/cgo/internal/test/buildid_linux.go
} d, err := s.Data() if err != nil { t.Logf("reading data of note section %d: %v", i, err) continue } for len(d) > 0 { // ELF standards differ as to the sizes in // note sections. Both the GNU linker and // gold always generate 32-bit sizes, so that // is what we assume here. if len(d) < 12 { t.Logf("note section %d too short (%d < 12)", i, len(d)) continue sections
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
t.Logf("syncBatch should not sync any pods because nothing is changed.") m.testSyncBatch() verifyActions(t, m, []core.Action{}) t.Logf("Change mirror pod identity.") m.podManager.(mutablePodManager).RemovePod(mirrorPod) mirrorPod.UID = "new-mirror-pod" mirrorPod.Status = v1.PodStatus{} m.podManager.(mutablePodManager).AddPod(mirrorPod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
src/os/signal/signal_plan9_test.go
Notify(c, syscall.Note("hangup")) defer Stop(c) // Send this process a hangup t.Logf("hangup...") postNote(syscall.Getpid(), "hangup") waitSig(t, c, syscall.Note("hangup")) // Ask for everything we can get. c1 := make(chan os.Signal, 1) Notify(c1) // Send this process an alarm t.Logf("alarm...") postNote(syscall.Getpid(), "alarm") waitSig(t, c1, syscall.Note("alarm"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Mar 14 17:56:50 UTC 2021 - 3.6K bytes - Viewed (0) -
pkg/monitoring/monitortest/test.go
for _, lv := range row.Label { k, v := *lv.Name, *lv.Value if want[k] == v { delete(want, k) } else { m.t.Logf("skip metric: want %v=%v, got %v=%v", k, want[k], k, v) } } if len(want) > 0 { // Not a match m.t.Logf("skip metric: missing labels: %+v", want) continue } var v any if row.Counter != nil { cv := *row.Counter.Value
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 13 16:04:48 UTC 2023 - 7.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go
// considered "printf wrappers"; calls to them are subject to the same // checking. In this example, logf is a printf wrapper: // // func logf(level int, format string, args ...any) { // if enabled(level) { // log.Printf(format, args...) // } // } // // logf(3, "invalid request: %v") // logf format reads arg 1, but call has 0 args // // To enable printf checking on a function that is not found by this
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.2K bytes - Viewed (0)