Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 406 for Reed (0.19 sec)

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

    	// which phases to dump IR before/after, etc.
    	if f.Log() {
    		f.Logf("compiling %s\n", f.Name)
    	}
    
    	var rnd *rand.Rand
    	if checkEnabled {
    		seed := int64(crc32.ChecksumIEEE(([]byte)(f.Name))) ^ int64(checkRandSeed)
    		rnd = rand.New(rand.NewSource(seed))
    	}
    
    	// hook to print function & phase if panic happens
    	phaseName := "init"
    	defer func() {
    		if phaseName != "" {
    			err := recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/testflag.go

    	}
    	return nil
    }
    
    type shuffleFlag struct {
    	on   bool
    	seed *int64
    }
    
    func (f *shuffleFlag) String() string {
    	if !f.on {
    		return "off"
    	}
    	if f.seed == nil {
    		return "on"
    	}
    	return fmt.Sprintf("%d", *f.seed)
    }
    
    func (f *shuffleFlag) Set(value string) error {
    	if value == "off" {
    		*f = shuffleFlag{on: false}
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/toolchain/toolchain_test.go

    	for _, tt := range newerToolchainTests {
    		out, err := newerToolchain(tt.need, tt.list)
    		if (err != nil) != (out == "") {
    			t.Errorf("newerToolchain(%v, %v) = %v, %v, want error", tt.need, tt.list, out, err)
    			continue
    		}
    		if out != tt.out {
    			t.Errorf("newerToolchain(%v, %v) = %v, %v want %v, nil", tt.need, tt.list, out, err, tt.out)
    		}
    	}
    }
    
    var f = strings.Fields
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 19:11:44 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/cmd/bisect/rand.go

    // Starting in Go 1.20, the global rand is auto-seeded,
    // with a better value than the current Unix nanoseconds.
    // Only seed if we're using older versions of Go.
    
    //go:build !go1.20
    
    package main
    
    import (
    	"math/rand"
    	"time"
    )
    
    func init() {
    	rand.Seed(time.Now().UnixNano())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:10 UTC 2023
    - 442 bytes
    - Viewed (0)
  5. src/cmd/internal/bootstrap_test/reboot_test.go

    	t.Run("PATH reminder", func(t *testing.T) {
    		var want string
    		switch gorootBin := filepath.Join(goroot, "bin"); runtime.GOOS {
    		default:
    			want = fmt.Sprintf("*** You need to add %s to your PATH.", gorootBin)
    		case "plan9":
    			want = fmt.Sprintf("*** You need to bind %s before /bin.", gorootBin)
    		}
    		if got := stdout.String(); !strings.Contains(got, want) {
    			t.Errorf("reminder %q is missing from %s stdout:\n%s", want, makeScript, got)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/download.go

    	// There is a bit of a chicken-and-egg problem here: ideally we need to know
    	// which Go version to switch to to download the requested modules, but if we
    	// haven't downloaded the module's go.mod file yet the GoVersion field of its
    	// info struct is not yet populated.
    	//
    	// We also need to be careful to only print the info for each module once
    	// if the -json flag is set.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_predicates.go

    //     as a type constraint in Go code
    //   - if T is an uninstantiated generic type
    func AssertableTo(V *Interface, T Type) bool {
    	// Checker.newAssertableTo suppresses errors for invalid types, so we need special
    	// handling here.
    	if !isValid(T.Underlying()) {
    		return false
    	}
    	return (*Checker)(nil).newAssertableTo(nopos, V, T, nil)
    }
    
    // AssignableTo reports whether a value of type V is assignable to a variable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/internal/metadata/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Metadata prints basic system metadata to include in test logs. This is
    // separate from cmd/dist so it does not need to build with the bootstrap
    // toolchain.
    
    // This program is only used by cmd/dist. Add an "ignore" build tag so it
    // is not installed. cmd/dist does "go run main.go" directly.
    
    //go:build ignore
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 21:40:36 UTC 2023
    - 876 bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/edit.go

    			}
    			continue
    		}
    
    		mustSelectVersion[r.Path] = r.Version
    		selectedRoot[r.Path] = r.Version
    	}
    
    	// We've indexed all of the data we need and we've computed the initial
    	// versions of the roots. Now we need to load the actual module graph and
    	// restore the invariant that every root is the selected version of its path.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    	// The notes alone are not enough to prove the inconsistency.
    	// We also need to show that the newer note's tree hash for older.N
    	// does not match older.Hash. The consumer of this report could
    	// of course consult the server to try to verify the inconsistency,
    	// but we are holding all the bits we need to prove it right now,
    	// so we might as well print them and make the report not depend
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top