Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Burns (0.39 sec)

  1. src/cmd/compile/internal/staticinit/sched.go

    	}
    
    	// Handle the special case of an inlined call of
    	// a function body with a single return statement,
    	// which turns into a single assignment plus a goto.
    	//
    	// For example code like this:
    	//
    	//	type T struct{ x int }
    	//	func F(x int) *T { return &T{x} }
    	//	var Global = F(400)
    	//
    	// turns into IR like this:
    	//
    	// 	INLCALL-init
    	// 	.   AS2-init
    	// 	.   .   DCL # x.go:18:13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_inl_test.go

    	if !bytes.Contains(out, []byte(hashMatch)) || !pgoDebugRE.Match(out) {
    		t.Errorf("output does not contain expected source line, out:\n%s", out)
    	}
    
    	// Check that a hash mismatch turns off PGO inlining.
    	hash = "v0" // 0 should not match srcPos
    	gcflag = gcflag0 + ",pgohash=" + hash
    	out = buildPGOInliningTest(t, dir, gcflag)
    	if bytes.Contains(out, []byte(hashMatch)) || pgoDebugRE.Match(out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/rangefunc/rewrite.go

    		...
    	})
    
    or
    
    	f(func(#p1 T1, #p2 T2, _ T3) bool {
    		expr1, expr2 = #p1, #p2
    		...
    	})
    
    # Return
    
    If the body contains a "break", that break turns into "return false",
    to tell f to stop. And if the body contains a "continue", that turns
    into "return true", to tell f to proceed with the next value.
    Those are the easy cases.
    
    If the body contains a return or a break/continue/goto L, then we need
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/buildlist.go

    	}
    
    	// We are converting an unpruned module to a pruned one.
    	//
    	// An unpruned module graph includes the transitive dependencies of every
    	// module in the build list. As it turns out, we can express that as a pruned
    	// root set! “Include the transitive dependencies of every module in the build
    	// list” is exactly what happens in a pruned module if we promote every module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //		directory if that file exists, and applies it to the (transitive)
    //		dependencies of the main package (other packages are not affected).
    //		Special name "off" turns off PGO. The default is "auto".
    //	-pkgdir dir
    //		install and load all packages from dir instead of the usual locations.
    //		For example, when building with a non-standard configuration,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/op.go

    // and outputs from calls, so that all integer registers come first, then all floating registers.
    // At this point (active development of register ABI) that is very premature,
    // but if this turns out to be a cost, we could do it.
    func (a *AuxCall) Reg(i *regInfo, c *Config) *regInfo {
    	if a.reg.clobbers != 0 {
    		// Already updated
    		return a.reg
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/order.go

    func (o *orderState) copyExpr(n ir.Node) *ir.Name {
    	return o.copyExpr1(n, false)
    }
    
    // copyExprClear is like copyExpr but clears the temp before assignment.
    // It is provided for use when the evaluation of tmp = n turns into
    // a function call that is passed a pointer to the temporary as the output space.
    // If the call blocks before tmp has been written,
    // the garbage collector will still treat the temporary as live,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/infer.go

    	//
    	//   func f[P constraint](x P) {
    	//           f2(x)
    	//   }
    	//
    	//   func f2[P2 constraint](x P2) {
    	//           f(x)
    	//   }
    	//
    	// Type parameter renaming turns the first example into the second
    	// example by renaming the type parameter P into P2.
    	if len(tparams) == 0 {
    		return nil, typ // nothing to do
    	}
    
    	tparams2 := make([]*TypeParam, len(tparams))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/cmd/doc/pkg.go

    // logged in main; it is not added here.
    func (pkg *Package) Fatalf(format string, args ...any) {
    	panic(PackageError(fmt.Sprintf(format, args...)))
    }
    
    // parsePackage turns the build package we found into a parsed package
    // we can then use to generate documentation.
    func parsePackage(writer io.Writer, pkg *build.Package, userPath string) *Package {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modget/get.go

    	// should consider those modules to satisfy the query too.
    	// We want to match any packages in existing dependencies, but we only want to
    	// resolve new dependencies if nothing else turns up.
    	for _, curM := range r.buildList {
    		if !q.canMatchInModule(curM.Path) {
    			continue
    		}
    		q.pathOnce(curM.Path, func() pathSet {
    			if _, hit := r.noneForPath(curM.Path); hit {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
Back to top