Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for preload (0.64 sec)

  1. src/cmd/go/internal/load/pkg.go

    // modified by modload.LoadPackages.
    type preload struct {
    	cancel chan struct{}
    	sema   chan struct{}
    }
    
    // newPreload creates a new preloader. flush must be called later to avoid
    // accessing global state while it is being modified.
    func newPreload() *preload {
    	pre := &preload{
    		cancel: make(chan struct{}),
    		sema:   make(chan struct{}, preloadWorkerCount),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    				goto badloop
    			}
    
    			// TODO: sort by distance, pick the closest ones?
    			for _, live := range s.live[b.ID] {
    				if live.dist >= unlikelyDistance {
    					// Don't preload anything live after the loop.
    					continue
    				}
    				vid := live.ID
    				vi := &s.values[vid]
    				if vi.regs != 0 {
    					continue
    				}
    				if vi.rematerializeable {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (ORload    [off1] {sym} x (ADDconst [off2] ptr) mem) && ptr.Op != OpSB && is20Bit(int64(off1)+int64(off2)) => (ORload    [off1+off2] {sym} x ptr mem)
    (ORWload   [off1] {sym} x (ADDconst [off2] ptr) mem) && ptr.Op != OpSB && is20Bit(int64(off1)+int64(off2)) => (ORWload   [off1+off2] {sym} x ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  4. src/cmd/covdata/tool_test.go

    	}
    	if err != nil {
    		t.Fatalf("build error: %v", err)
    	}
    }
    
    func emitFile(t *testing.T, dst, src string) {
    	payload, err := os.ReadFile(src)
    	if err != nil {
    		t.Fatalf("error reading %q: %v", src, err)
    	}
    	if err := os.WriteFile(dst, payload, 0666); err != nil {
    		t.Fatalf("writing %q: %v", dst, err)
    	}
    }
    
    const mainPkgPath = "prog"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    	// packages.
    	Tidy bool
    
    	// TidyDiff, if true, causes tidy not to modify go.mod or go.sum but
    	// instead print the necessary changes as a unified diff. It exits
    	// with a non-zero code if the diff is not empty.
    	TidyDiff bool
    
    	// TidyCompatibleVersion is the oldest Go version that must be able to
    	// reproducibly reload the requested packages.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. doc/go_mem.html

    not reloading local variables from shared memory.
    For example, a compiler must not discard <code>i</code> and reload it
    a second time from <code>*p</code> in this program:
    </p>
    
    <pre>
    i := *p
    if i &lt; 0 || i &gt;= len(funcs) {
    	panic("invalid function index")
    }
    ... complex code ...
    // compiler must NOT reload i = *p here
    funcs[i]()
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/buildlist.go

    					enqueue(r, nextPruning)
    				}
    			}
    		})
    	}
    
    	mustHaveGoRoot(roots)
    	for _, m := range roots {
    		enqueue(m, pruning)
    	}
    	<-loadQueue.Idle()
    
    	// Reload any dependencies of the main modules which are not
    	// at their selected versions at workspace mode, because the
    	// requirements don't accurately reflect the transitive imports.
    	if pruning == workspace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/edit.go

    					// of non-roots don't matter because they're either always unpruned or
    					// always pruned out.
    					//
    					// At any rate, it shouldn't cost much to reload the module graph one
    					// last time and confirm that it is stable.
    					rootsDirty = true
    				}
    			}
    		}
    		if rootsDirty {
    			if cfg.BuildV {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "ORQload", argLength: 3, reg: gp21load, asm: "ORQ", aux: "SymOff", resultInArg0: true, clobberFlags: true, faultOnNilArg1: true, symEffect: "Read"},
    		{name: "ORLload", argLength: 3, reg: gp21load, asm: "ORL", aux: "SymOff", resultInArg0: true, clobberFlags: true, faultOnNilArg1: true, symEffect: "Read"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "ANDLload", argLength: 3, reg: gp21load, asm: "ANDL", aux: "SymOff", resultInArg0: true, clobberFlags: true, faultOnNilArg1: true, symEffect: "Read"},  // arg0 & tmp, tmp loaded from  arg1+auxint+aux, arg2 = mem
    		{name: "ORLload", argLength: 3, reg: gp21load, asm: "ORL", aux: "SymOff", resultInArg0: true, clobberFlags: true, faultOnNilArg1: true, symEffect: "Read"},    // arg0 | tmp, tmp loaded from  arg1+auxint+aux, arg2 = mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
Back to top