Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 371 for have (0.49 sec)

  1. src/cmd/compile/internal/walk/switch.go

    			if score > bestScore {
    				bestScore = score
    				bestIdx = idx
    				bestByte = b
    			}
    		}
    	}
    
    	// The split must be at least 1:n-1 because we have at least 2 distinct strings; they
    	// have to be different somewhere.
    	// TODO: what if the best split is still pretty bad?
    	if bestScore == 0 {
    		base.Fatalf("unable to split string set")
    	}
    
    	// Convert expr to a []int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/edit.go

    					t.disqualify(m, pruned, dqState{dep: r})
    					return
    				}
    			}
    			for _, r := range reqs {
    				if !t.require(m, r) {
    					break
    				}
    			}
    		})
    
    		// We have now marked all of the versions in the graph that have conflicts,
    		// with a path to each conflict from one or more roots that introduce it.
    		// Now we need to identify those roots and change their versions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/help/helpdoc.go

    Every package in a program must have a unique import path.
    By convention, this is arranged by starting each path with a
    unique prefix that belongs to you. For example, paths used
    internally at Google all begin with 'google', and paths
    denoting remote repositories begin with the path to the code,
    such as 'github.com/user/repo'.
    
    Packages in a program need not have unique package names,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. src/cmd/dist/build.go

    	// should have accurate build IDs suitable for caching.
    	// Now prime the build cache with the rest of the standard library for
    	// testing, and so that the user can run 'go install std cmd' to quickly
    	// iterate on local changes without waiting for a full rebuild.
    	if _, err := os.Stat(pathf("%s/VERSION", goroot)); err == nil {
    		// If we have a VERSION file, then we use the Go version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/pgen.go

    	pos    src.XPos
    }
    
    var (
    	largeStackFramesMu sync.Mutex // protects largeStackFrames
    	largeStackFrames   []largeStack
    )
    
    func CheckLargeStacks() {
    	// Check whether any of the functions we have compiled have gigantic stack frames.
    	sort.Slice(largeStackFrames, func(i, j int) bool {
    		return largeStackFrames[i].pos.Before(largeStackFrames[j].pos)
    	})
    	for _, large := range largeStackFrames {
    		if large.callee != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/inl_test.go

    		// architectures don't have atomic intrinsics, so these go over
    		// the inlining budget. Move back to the main table once that
    		// problem is solved.
    		want["sync"] = []string{
    			"(*Mutex).Lock",
    			"(*Mutex).Unlock",
    			"(*RWMutex).RLock",
    			"(*RWMutex).RUnlock",
    			"(*Once).Do",
    		}
    	}
    
    	// Functions that must actually be inlined; they must have actual callers.
    	must := map[string]bool{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/init.go

    	} else if len(modRoots) == 0 {
    		// We're in module mode, but not inside a module.
    		//
    		// Commands like 'go build', 'go run', 'go list' have no go.mod file to
    		// read or write. They would need to find and download the latest versions
    		// of a potentially large number of modules with no way to save version
    		// information. We can succeed slowly (but not reproducibly), but that's
    		// not usually a good experience.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testplugin/testdata/host/host.go

    		log.Fatal(`plugin.Open("plugin2-dup.so"): duplicate open should have failed`)
    	}
    	if s := err.Error(); !strings.Contains(s, "already loaded") {
    		log.Fatal(`plugin.Open("plugin2.so"): error does not mention "already loaded"`)
    	}
    
    	_, err = plugin.Open("plugin-mismatch.so")
    	if err == nil {
    		log.Fatal(`plugin.Open("plugin-mismatch.so"): should have failed`)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/schedule.go

    				// of flag values.
    				score[v.ID] = ScoreReadFlags
    			case v.isFlagOp():
    				// Schedule flag register generation as late as possible.
    				// This makes sure that we only have one live flags
    				// value at a time.
    				// Note that this case is after the case above, so values
    				// which both read and generate flags are given ScoreReadFlags.
    				score[v.ID] = ScoreFlags
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    A test function is one named TestXxx (where Xxx does not start with a
    lower case letter) and should have the signature,
    
    	func TestXxx(t *testing.T) { ... }
    
    A benchmark function is one named BenchmarkXxx and should have the signature,
    
    	func BenchmarkXxx(b *testing.B) { ... }
    
    A fuzz test is one named FuzzXxx and should have the signature,
    
    	func FuzzXxx(f *testing.F) { ... }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top