Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 311 for logf (0.07 sec)

  1. src/internal/zstd/fuzz_test.go

    			if c > len(zstdExp) {
    				c = len(zstdExp)
    			}
    			goExp = goExp[:c]
    			zstdExp = zstdExp[:c]
    			if !bytes.Equal(goExp, zstdExp) {
    				t.Error("byte mismatch after error")
    				t.Logf("Go error: %v\n", goErr)
    				t.Logf("zstd error: %v\n", zstdErr)
    				showDiffs(t, zstdExp, goExp)
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/execarchive.go

    	var err error
    	argv0 := argv[0]
    	if filepath.Base(argv0) == argv0 {
    		argv0, err = exec.LookPath(argv0)
    		if err != nil {
    			Exitf("cannot find %s: %v", argv[0], err)
    		}
    	}
    	if ctxt.Debugvlog != 0 {
    		ctxt.Logf("invoking archiver with syscall.Exec()\n")
    	}
    	err = syscall.Exec(argv0, argv, os.Environ())
    	if err != nil {
    		Exitf("running %s failed: %v", argv[0], err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 876 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fail_fast.txt

    package failfast
    
    import "testing"
    
    func TestA(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestFailingA(t *testing.T) {
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    func TestB(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestParallelFailingA(t *testing.T) {
    	t.Parallel()
    	t.Errorf("FAIL - %s", t.Name())
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. pkg/test/failer.go

    	e.cleanup = func() {
    		if oldCleanup != nil {
    			defer func() {
    				oldCleanup()
    			}()
    		}
    		f()
    	}
    }
    
    func (e *errorWrapper) Log(args ...any) {
    	log.Info(fmt.Sprint(args...))
    }
    
    func (e *errorWrapper) Logf(format string, args ...any) {
    	log.Infof(format, args...)
    }
    
    func (e *errorWrapper) TempDir() string {
    	tempDir, err := os.MkdirTemp("", "test")
    	if err == nil {
    		e.Cleanup(func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/runtime/unsafepoint_test.go

    	var entry uint64
    	var startedWB bool
    	var doneWB bool
    	instructionCount := 0
    	unsafeCount := 0
    	for _, line := range lines {
    		line = strings.TrimSpace(line)
    		t.Logf("%s", line)
    		parts := strings.Fields(line)
    		if len(parts) < 4 {
    			continue
    		}
    		if !strings.HasPrefix(parts[0], "unsafepoint_test.go:") {
    			continue
    		}
    		pc, err := strconv.ParseUint(parts[1][2:], 16, 64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 20:24:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/relnote/relnote_test.go

    	if !*flagCheck {
    		t.Skip("-check not specified")
    	}
    	root := testenv.GOROOT(t)
    	rootFS := os.DirFS(root)
    	files, err := fs.Glob(rootFS, "api/next/*.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("checking release notes for %d files in api/next", len(files))
    	docFS := os.DirFS(filepath.Join(root, "doc", "next"))
    	// Check that each api/next file has a corresponding release note fragment.
    	for _, apiFile := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 16:31:53 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. pkg/kubelet/prober/scale_test.go

    					case "UNKNOWN": // startup probes
    						t.Logf("UNKNOWN state for %v", result)
    					default:
    					}
    				}
    			}()
    			wg.Wait()
    
    			// log the number of connections received in each pod for debugging test failures.
    			for _, pod := range fakePods {
    				n := pod.connections()
    				t.Logf("Number of connections %d", n)
    			}
    
    		})
    	}
    
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. tests/integration/pilot/multicluster_test.go

    			remote := t.Clusters().Exclude(primary)[0]
    
    			var (
    				ns  = i.Settings().SystemNamespace
    				sa  = "istio-reader-no-perms"
    				pod = "istiod-bad-secrets-test"
    			)
    			t.Logf("creating service account %s/%s", ns, sa)
    			if _, err := remote.Kube().CoreV1().ServiceAccounts(ns).Create(context.TODO(), &corev1.ServiceAccount{
    				ObjectMeta: metav1.ObjectMeta{Name: sa},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/testprog/annotations-stress.go

    	t3.End()
    	trace.Stop()
    	t2.End()
    	t0.End()
    }
    
    func do(ctx context.Context, k int) {
    	trace.Log(ctx, "log", "before do")
    
    	var t *trace.Task
    	ctx, t = trace.NewTask(ctx, "do")
    	defer t.End()
    
    	trace.Log(ctx, "log2", "do")
    
    	// Create a region and spawn more tasks and more workers.
    	trace.WithRegion(ctx, "fanout", func() {
    		for i := 0; i < k; i++ {
    			go func(i int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/runtime/runtime-gdb_unix_test.go

    	}
    
    	// 💥
    	if err := cmd.Process.Signal(os.Signal(syscall.SIGABRT)); err != nil {
    		t.Fatalf("erroring signaling child: %v", err)
    	}
    
    	err = cmd.Wait()
    	t.Logf("child output:\n%s", output.String())
    	if err == nil {
    		t.Fatalf("Wait succeeded, want SIGABRT")
    	}
    	ee, ok := err.(*exec.ExitError)
    	if !ok {
    		t.Fatalf("Wait err got %T %v, want exec.ExitError", ee, ee)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top