Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for making (0.48 sec)

  1. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go

    		}
    
    		return 1
    	}
    
    	val := 0
    	for i := 0; i < iter; i++ {
    		m := m1
    		if i%10 == 0 {
    			m = m2
    		}
    
    		// N.B. Profiles only distinguish calls on a per-line level,
    		// making the two calls ambiguous. However because the
    		// interfaces and implementations are mutually exclusive,
    		// devirtualization can still select the correct callee for
    		// each.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/cover.go

    // before any of the "run test" actions for those packages happen.
    // This requirement is enforced by adding making this action ("a")
    // dependent on all test package build actions, and making all test
    // run actions dependent on this action.
    func WriteCoverMetaFilesFile(b *Builder, ctx context.Context, a *Action) error {
    	sh := b.Shell(a)
    
    	// Build the metafilecollection object.
    	var collection coverage.MetaFileCollection
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. src/cmd/covdata/tool_test.go

    		re  *regexp.Regexp
    	}{
    		{
    			"args",
    			regexp.MustCompile(`^data file .+ GOOS=.+ GOARCH=.+ program args: .+$`),
    		},
    		{
    			"main package",
    			regexp.MustCompile(`^Package path: ` + mainPkgPath + `\s*$`),
    		},
    		{
    			"main function",
    			regexp.MustCompile(`^Func: main\s*$`),
    		},
    	}
    
    	bad := false
    	for _, testpoint := range testpoints {
    		found := false
    		for _, line := range lines {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/testflag.go

    			// packageNames non-nil to indicate that the package list is complete.
    			//
    			// (Actually, we only strictly need to assume that if the flag is not of
    			// the form -x=value, but making this more precise would be a breaking
    			// change in the command line API.)
    			if packageNames == nil {
    				packageNames = []string{}
    			}
    
    			if nd.RawArg == "-args" || nd.RawArg == "--args" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/str/str.go

    	return x
    }
    
    // ToFold returns a string with the property that
    //
    //	strings.EqualFold(s, t) iff ToFold(s) == ToFold(t)
    //
    // This lets us test a large set of strings for fold-equivalent
    // duplicates without making a quadratic number of calls
    // to EqualFold. Note that strings.ToUpper and strings.ToLower
    // do not have the desired property in some corner cases.
    func ToFold(s string) string {
    	// Fast path: all ASCII, no upper case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/intervals.go

    //
    //    "abc"   [1,7), [9,10)
    //    "xyz"   [3,8)
    //
    // Clients can construct an Intervals object from a given IR sequence
    // using the "IntervalsBuilder" helper abstraction (one builder per
    // candidate variable), by making a
    // backwards sweep and invoking the Live/Kill methods to note the
    // starts and end of a given lifetime. For the example above, we would
    // expect to see this sequence of calls to Live/Kill:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/vendor.go

    )
    
    var cmdVendor = &base.Command{
    	UsageLine: "go mod vendor [-e] [-v] [-o outdir]",
    	Short:     "make vendored copy of dependencies",
    	Long: `
    Vendor resets the main module's vendor directory to include all packages
    needed to build and test all the main module's packages.
    It does not include test code for vendored packages.
    
    The -v flag causes vendor to print the names of vendored
    modules and packages to standard error.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    	formatV7
    
    	// FormatUSTAR represents the USTAR header format defined in POSIX.1-1988.
    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/workcmd/edit.go

    If no file is specified, Edit looks for a go.work file in the current
    directory and its parent directories
    
    The editing flags specify a sequence of editing operations.
    
    The -fmt flag reformats the go.work file without making other changes.
    This reformatting is also implied by any other modifications that use or
    rewrite the go.mod file. The only time this flag is needed is if no other
    flags are specified, as in 'go work edit -fmt'.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/query.go

    	}
    
    	if search.IsMetaPackage(e.Pattern) || strings.Contains(e.Pattern, "...") {
    		return fmt.Sprintf("pattern %s matches package %s in the main module, so can't request version %s", e.Pattern, e.Packages[0], e.Query)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
Back to top