Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 313 for logf (0.12 sec)

  1. src/cmd/cover/cfg_test.go

    		gran := scenario.gran
    		tag := mode + "_" + gran
    		incfg = writePkgConfig(t, instdira, tag, ppath, pname, gran, "")
    		ofs, outcfg, _ := runPkgCover(t, instdira, tag, incfg, mode,
    			apkgfiles, false)
    		t.Logf("outfiles: %+v\n", ofs)
    
    		// Run the compiler on the files to make sure the result is
    		// buildable.
    		bargs := []string{"tool", "compile", "-p", "a", "-coveragecfg", outcfg}
    		bargs = append(bargs, ofs...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/ld.go

    			before = ""
    		}
    		switch verb {
    		default:
    			log.Fatalf("%s:%d: unknown directive %q", file, lineNum, verb)
    		case "packagefile":
    			if before == "" || after == "" {
    				log.Fatalf(`%s:%d: invalid packagefile: syntax is "packagefile path=filename"`, file, lineNum)
    			}
    			ctxt.PackageFile[before] = after
    		case "packageshlib":
    			if before == "" || after == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. src/cmd/go/scriptreadme_test.go

    	}
    	diff := diff.Diff(readmePath, old, "readmeTmpl", buf.Bytes())
    	if diff == nil {
    		t.Logf("%s is up to date.", readmePath)
    		return
    	}
    
    	if *fixReadme {
    		if err := os.WriteFile(readmePath, buf.Bytes(), 0666); err != nil {
    			t.Fatal(err)
    		}
    		t.Logf("wrote %d bytes to %s", buf.Len(), readmePath)
    	} else {
    		t.Logf("\n%s", diff)
    		t.Errorf("%s is stale. To update, run 'go generate cmd/go'.", readmePath)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/config.go

    // the external linker be used to complete the link.
    func mustLinkExternal(ctxt *Link) (res bool, reason string) {
    	if ctxt.Debugvlog > 1 {
    		defer func() {
    			if res {
    				ctxt.Logf("external linking is forced by: %s\n", reason)
    			}
    		}()
    	}
    
    	if platform.MustLinkExternal(buildcfg.GOOS, buildcfg.GOARCH, false) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. src/net/netip/inlining_test.go

    		if !got[want] {
    			t.Errorf("%q is no longer inlinable", want)
    			continue
    		}
    		delete(got, want)
    	}
    	for sym := range got {
    		if strings.Contains(sym, ".func") {
    			continue
    		}
    		t.Logf("not in expected set, but also inlinable: %q", sym)
    
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    	// correct even in the non-optimized version.
    	cmd := testenv.CleanCmdEnv(testenv.Command(t, testenv.GoToolPath(t), "test", "."))
    	cmd.Dir = dir
    	b, err := cmd.CombinedOutput()
    	t.Logf("Test without PGO:\n%s", b)
    	if err != nil {
    		t.Fatalf("Test failed without PGO: %v", err)
    	}
    
    	// Build the test with the profile.
    	pprof := filepath.Join(dir, pgoProfileName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/net/resolverdialfunc_test.go

    	r := &Resolver{
    		PreferGo: true,
    		Dial: newResolverDialFunc(&resolverDialHandler{
    			StartDial: func(network, address string) error {
    				t.Logf("StartDial(%q, %q) ...", network, address)
    				return nil
    			},
    			Question: func(h dnsmessage.Header, q dnsmessage.Question) {
    				t.Logf("Header: %+v for %q (type=%v, class=%v)", h,
    					q.Name.String(), q.Type, q.Class)
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/internal/fuzz/encoding_test.go

    	f.Add(math.Float64bits(math.Inf(1)))
    	f.Add(math.Float64bits(math.Inf(-1)))
    
    	f.Fuzz(func(t *testing.T, u1 uint64) {
    		x1 := math.Float64frombits(u1)
    
    		b := marshalCorpusFile(x1)
    		t.Logf("marshaled math.Float64frombits(0x%x):\n%s", u1, b)
    
    		xs, err := unmarshalCorpusFile(b)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(xs) != 1 {
    			t.Fatalf("unmarshaled %d values", len(xs))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/internal/syscall/unix/kernel_version_solaris_test.go

    	if wantAccept4 != gotAccept4 {
    		t.Fatalf("SupportAccept4, got %t; want %t", gotAccept4, wantAccept4)
    	}
    
    	// Test that the version returned by KernelVersion matches expectations.
    	major, minor := unix.KernelVersion()
    	t.Logf("Kernel version: %d.%d", major, minor)
    	if runtime.GOOS == "illumos" {
    		if gotSock && gotAccept4 && (major < 5 || (major == 5 && minor < 11)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/net/iprawsock_test.go

    func TestIPConnLocalName(t *testing.T) {
    	for _, tt := range ipConnLocalNameTests {
    		if !testableNetwork(tt.net) {
    			t.Logf("skipping %s test", tt.net)
    			continue
    		}
    		c, err := ListenIP(tt.net, tt.laddr)
    		if testenv.SyscallIsNotSupported(err) {
    			// May be inside a container that disallows creating a socket.
    			t.Logf("skipping %s test: %v", tt.net, err)
    			continue
    		} else if err != nil {
    			t.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top