Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 355 for Reed (0.49 sec)

  1. 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)
  2. src/cmd/objdump/objdump_test.go

    	}
    	need := []string{
    		"TEXT main.main(SB)",
    	}
    
    	if printCode {
    		need = append(need, `	Println("hello, world")`)
    	} else {
    		need = append(need, srcfname+":6")
    	}
    
    	switch goarch {
    	case "amd64", "386":
    		need = append(need, x86Need...)
    	case "arm":
    		need = append(need, armNeed...)
    	case "arm64":
    		need = append(need, arm64Need...)
    	case "ppc64", "ppc64le":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssagen/abi.go

    		forEachWrapperABI(fn, makeABIWrapper)
    	}
    }
    
    func forEachWrapperABI(fn *ir.Func, cb func(fn *ir.Func, wrapperABI obj.ABI)) {
    	need := fn.ABIRefs &^ obj.ABISetOf(fn.ABI)
    	if need == 0 {
    		return
    	}
    
    	for wrapperABI := obj.ABI(0); wrapperABI < obj.ABICount; wrapperABI++ {
    		if !need.Get(wrapperABI) {
    			continue
    		}
    		cb(fn, wrapperABI)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testshared/testdata/issue25065/a.go

    //  2. not called
    //  3. not converted to an interface
    //  4. is a value method but the reference is to the pointer method
    //
    // These cases avoid the call to makefuncsym from typecheckfunc, but we
    // still need to call makefuncsym somehow or the symbol will not be defined.
    package issue25065
    
    type T int
    
    func (t T) M() {}
    
    func F() func(*T) {
    	return (*T).M
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 619 bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/outbuf_nommap.go

    //go:build !unix && !windows
    
    package ld
    
    // Mmap allocates an in-heap output buffer with the given size. It copies
    // any old data (if any) to the new buffer.
    func (out *OutBuf) Mmap(filesize uint64) error {
    	// We need space to put all the symbols before we apply relocations.
    	oldheap := out.heap
    	if filesize < uint64(len(oldheap)) {
    		panic("mmap size too small")
    	}
    	out.heap = make([]byte, filesize)
    	copy(out.heap, oldheap)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 660 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/types2/typestring.go

    			}
    			// If the type parameter name is the same as a predeclared object
    			// (say int), point out where it is declared to avoid confusing
    			// error messages. This doesn't need to be super-elegant; we just
    			// need a clear indication that this is not a predeclared name.
    			if w.ctxt == nil && Universe.Lookup(t.obj.name) != nil {
    				if isTypes2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top