Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for way (0.03 sec)

  1. src/cmd/go/internal/modload/edit.go

    	// final graph anyway.
    	//
    	// Note that even if we don't find a go version in mustSelect, it is possible
    	// that we will switch from unpruned to pruned (but not the other way around!)
    	// after applying the edits if we find a dependency that requires a high
    	// enough go version to trigger an upgrade.
    	rootPruning := orig.pruning
    	for _, m := range mustSelect {
    		if m.Path == "go" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/shell.go

    	df, err := os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
    	if err != nil && runtime.GOOS == "windows" {
    		// Windows does not allow deletion of a binary file
    		// while it is executing. Try to move it out of the way.
    		// If the move fails, which is likely, we'll try again the
    		// next time we do an install of this binary.
    		if err := os.Rename(dst, dst+"~"); err == nil {
    			os.Remove(dst + "~")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/stackalloc.go

    // computeLive computes a map from block ID to a list of
    // stack-slot-needing value IDs live at the end of that block.
    // TODO: this could be quadratic if lots of variables are live across lots of
    // basic blocks. Figure out a way to make this function (or, more precisely, the user
    // of this function) require only linear size & time.
    func (s *stackAllocState) computeLive(spillLive [][]ID) {
    	s.live = make([][]ID, s.f.NumBlocks())
    	var phis []*Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/git.go

    	// it is running on a Windows system or not, in an attempt to normalize
    	// text file line endings. Setting -c core.autocrlf=input means only
    	// translate files on the way into the repo, not on the way out (archive).
    	// The -c core.eol=lf should be unnecessary but set it anyway.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/rangefunc/rewrite.go

    its own #stateK variable that is used to check for permitted call
    patterns to the yield function for a loop body.
    
    The state values are:
    
    abi.RF_DONE = 0      // body of loop has exited in a non-panic way
    abi.RF_READY = 1     // body of loop has not exited yet, is not running
    abi.RF_PANIC = 2     // body of loop is either currently running, or has panicked
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    Not all Go types can be mapped to C types in a useful way.
    Go struct types are not supported; use a C struct type.
    Go array types are not supported; use a C pointer.
    
    Go functions that take arguments of type string may be called with the
    C type _GoString_, described above. The _GoString_ type will be
    automatically defined in the preamble. Note that there is no way for C
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/clean/clean.go

    	if runtime.GOOS == "windows" {
    		// Remove lingering ~ file from last attempt.
    		if _, err2 := os.Stat(f + "~"); err2 == nil {
    			os.Remove(f + "~")
    		}
    		// Try to move it out of the way. If the move fails,
    		// which is likely, we'll try again the
    		// next time we do an install of this binary.
    		if err2 := os.Rename(f, f+"~"); err2 == nil {
    			os.Remove(f + "~")
    			return
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    // be used for a wider range of types, which have the same memory
    // layout as the parameter type. The compiler converts the
    // to-be-converted type to the parameter type before calling the
    // runtime function. This way, the call is ABI-insensitive.
    func convT16(val uint16) unsafe.Pointer
    func convT32(val uint32) unsafe.Pointer
    func convT64(val uint64) unsafe.Pointer
    func convTstring(val string) unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/testflag.go

    	cf.Var(&testVet, "vet", "")
    
    	// Register flags to be forwarded to the test binary. We retain variables for
    	// some of them so that cmd/go knows what to do with the test output, or knows
    	// to build the test in a way that supports the use of the flag.
    
    	cf.StringVar(&testBench, "bench", "", "")
    	cf.Bool("benchmem", false, "")
    	cf.String("benchtime", "", "")
    	cf.StringVar(&testBlockProfile, "blockprofile", "", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/liveness/intervals.go

    // exported.
    type intWithIdx struct {
    	i         Interval
    	pairIndex int
    }
    
    func (iwi intWithIdx) done() bool {
    	return iwi.pairIndex == -1
    }
    
    // pairVisitor provides a way to visit (iterate through) each interval
    // within a pair of Intervals in order of increasing start time. Expected
    // usage model:
    //
    //	func example(i1, i2 Intervals) {
    //	  var pairVisitor pv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top