Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for top (0.09 sec)

  1. src/cmd/compile/internal/ssa/sccp.go

    func (t *worklist) meet(val *Value) lattice {
    	optimisticLt := lattice{top, nil}
    	for i := 0; i < len(val.Args); i++ {
    		edge := Edge{val.Block, i}
    		// If incoming edge for phi is not visited, assume top optimistically.
    		// According to rules of meet:
    		// 		Top ∩ any = any
    		// Top participates in meet() but does not affect the result, so here
    		// we will ignore Top and only take other lattices into consideration.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    // evaluates compile time constants.
    // marks variables that escape the local frame.
    // rewrites n.Op to be more specific in some cases.
    
    func typecheckslice(l []ir.Node, top int) {
    	for i := range l {
    		l[i] = typecheck(l[i], top)
    	}
    }
    
    var _typekind = []string{
    	types.TINT:        "int",
    	types.TUINT:       "uint",
    	types.TINT8:       "int8",
    	types.TUINT8:      "uint8",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/rangefunc/rewrite.go

    check handles stopping the next loop to get one step closer to the label.
    
    For example
    
    	Top: print("start\n")
    	for range f {
    		for range g {
    			...
    			for range h {
    				...
    				goto Top
    				...
    			}
    		}
    	}
    
    becomes
    
    	Top: print("start\n")
    	{
    		var #next int
    		var #state1 = abi.RF_READY
    		f(func() {
    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/compile/internal/types2/decl.go

    // For the meaning of def, see Checker.definedType, in typexpr.go.
    func (check *Checker) objDecl(obj Object, def *TypeName) {
    	if check.conf.Trace && obj.Type() == nil {
    		if check.indent == 0 {
    			fmt.Println() // empty line between top-level objects for readability
    		}
    		check.trace(obj.Pos(), "-- checking %s (%s, objPath = %s)", obj, obj.color(), pathString(check.objPath))
    		check.indent++
    		defer func() {
    			check.indent--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/search/search.go

    			top = true
    			path = filepath.Clean(path)
    		}
    
    		// Avoid .foo, _foo, and testdata directory trees, but do not avoid "." or "..".
    		_, elem := filepath.Split(path)
    		dot := strings.HasPrefix(elem, ".") && elem != "." && elem != ".."
    		if dot || strings.HasPrefix(elem, "_") || elem == "testdata" {
    			return filepath.SkipDir
    		}
    
    		if !top && cfg.ModulesEnabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/clean/clean.go

    			clean(pkg)
    		}
    	}
    
    	sh := work.NewShell("", fmt.Print)
    
    	if cleanCache {
    		dir, _ := cache.DefaultDir()
    		if dir != "off" {
    			// Remove the cache subdirectories but not the top cache directory.
    			// The top cache directory may have been created with special permissions
    			// and not something that we want to remove. Also, we'd like to preserve
    			// the access log for future analysis, even if the cache is cleared.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/wasm/ssa.go

       To support unwinding a stack, each function call returns on the Wasm
       stack a boolean that tells the function whether it should return
       immediately or not. When returning immediately, a return address
       is left on the top of the Go stack indicating where the goroutine
       should be resumed.
    
       Stack pointer:
    
       There is a single global stack pointer which records the stack pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/complit.go

    )
    
    // getdyn calculates the initGenType for n.
    // If top is false, getdyn is recursing.
    func getdyn(n ir.Node, top bool) initGenType {
    	switch n.Op() {
    	default:
    		if ir.IsConstNode(n) {
    			return initConst
    		}
    		return initDynamic
    
    	case ir.OSLICELIT:
    		n := n.(*ir.CompLitExpr)
    		if !top {
    			return initDynamic
    		}
    		if n.Len/4 > int64(len(n.List)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. src/cmd/cover/cover_test.go

    		t.Errorf("non compiler directive comment %q not found", c)
    	}
    }
    
    // TestDirectives checks that compiler directives are preserved and positioned
    // correctly. Directives that occur before top-level declarations should remain
    // above those declarations, even if they are not part of the block of
    // documentation comments.
    func TestDirectives(t *testing.T) {
    	testenv.MustHaveExec(t)
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/dwarfgen/dwinl.go

    			append(inlcalls.Calls[idx].InlVars, dwv)
    	}
    
    	// Post process the map above to assign child indices to vars.
    	//
    	// A given variable is treated differently depending on whether it
    	// is part of the top-level function (ii == 0) or if it was
    	// produced as a result of an inline (ii != 0).
    	//
    	// If a variable was not produced by an inline and its containing
    	// function was not inlined, then we just assign an ordering of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top