Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for construct (0.49 sec)

  1. doc/next/6-stdlib/99-minor/runtime/debug/42888.md

    The [SetCrashOutput] function allows the user to specify an alternate
    file to which the runtime should write its fatal crash report.
    It may be used to construct an automated reporting mechanism for all
    unexpected crashes, not just those in goroutines that explicitly use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 282 bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/action.go

    		// No permanent target.
    		mode = ModeBuild
    	}
    	if mode != ModeBuild && p.Name == "main" {
    		// We never install the .a file for a main package.
    		mode = ModeBuild
    	}
    
    	// Construct package build action.
    	a := b.cacheAction("build", p, func() *Action {
    		a := &Action{
    			Mode:    "build",
    			Package: p,
    			Actor:   newBuildActor(p, p.Internal.Cover.GenMeta),
    			Objdir:  b.NewObjdir(),
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. src/cmd/covdata/metamerge.go

    func (mm *metaMerge) VisitFuncs(f encodecounter.CounterVisitorFn) error {
    	if *verbflag >= 4 {
    		fmt.Printf("counterVisitor invoked\n")
    	}
    	// For each package, for each function, construct counter
    	// array and then call "f" on it.
    	for pidx, p := range mm.pkgs {
    		fids := make([]int, 0, len(p.ctab))
    		for fid := range p.ctab {
    			fids = append(fids, int(fid))
    		}
    		sort.Ints(fids)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/liveness/intervals.go

    //           // fallthrough
    // 10 B5:    z++
    //
    // To describe the lifetime of the variables above we might use these
    // intervals:
    //
    //    "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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/staticinit/sched.go

    				// Nil is zero, nothing to do.
    				return true
    			}
    			// Copy val directly into n.
    			ir.SetPos(val)
    			assign(base.Pos, l, loff+int64(types.PtrSize), val)
    		} else {
    			// Construct temp to hold val, write pointer to temp into n.
    			a := StaticName(val.Type())
    			s.Temps[val] = a
    			assign(base.Pos, a, 0, val)
    			staticdata.InitAddr(l, loff+int64(types.PtrSize), a.Linksym())
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/rangefunc/rewrite.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Package rangefunc rewrites range-over-func to code that doesn't use range-over-funcs.
    Rewriting the construct in the front end, before noder, means the functions generated during
    the rewrite are available in a noder-generated representation for inlining by the back end.
    
    # Theory of Operation
    
    The basic idea is to rewrite
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    		}
    	}
    }
    
    func TestIssue61737(t *testing.T) {
    	// This test verifies that it is possible to construct invalid interfaces
    	// containing duplicate methods using the go/types API.
    	//
    	// It must be possible for importers to construct such invalid interfaces.
    	// Previously, this panicked.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/helpdoc.go

    use of any cache entries and instead rebuild everything and check
    that the results match existing cache entries.
    
    GODEBUG=gocachehash=1 causes the go command to print the inputs
    for all of the content hashes it uses to construct cache lookup keys.
    The output is voluminous but can be useful for debugging the cache.
    
    GODEBUG=gocachetest=1 causes the go command to print details of its
    decisions about whether to reuse a cached test result.
    `,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (BTRQconst [c] (MOVQconst [d])) => (MOVQconst [d&^(1<<uint32(c))])
    (BTCQconst [c] (MOVQconst [d])) => (MOVQconst [d^(1<<uint32(c))])
    
    // If c or d doesn't fit into 32 bits, then we can't construct ORQconst,
    // but we can still constant-fold.
    // In theory this applies to any of the simplifications above,
    // but ORQ is the only one I've actually seen occur.
    (ORQ (MOVQconst [c]) (MOVQconst [d])) => (MOVQconst [c|d])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    		i := f.ABISelf.FloatIndexFor(reg)
    		if i >= 0 { // float PR
    			return f.Config.floatParamRegs[i]
    		} else {
    			return f.Config.intParamRegs[reg]
    		}
    	}
    
    	// Helper to construct a new OpArg{Float,Int}Reg op value.
    	var pos src.XPos
    	if len(f.Entry.Values) != 0 {
    		pos = f.Entry.Values[0].Pos
    	}
    	synthesizeOpIntFloatArg := func(n *ir.Name, t *types.Type, reg abi.RegIndex, sl LocalSlot) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top