Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for some (0.25 sec)

  1. src/cmd/link/internal/loader/loader_test.go

    	dummyOreader := oReader{version: -1, syms: make([]Sym, 100)}
    	or := &dummyOreader
    
    	// Create some syms from a dummy object file symbol to get things going.
    	ts1 := addDummyObjSym(t, ldr, or, "type:uint8")
    	ts2 := addDummyObjSym(t, ldr, or, "mumble")
    	ts3 := addDummyObjSym(t, ldr, or, "type:string")
    
    	// Create some external symbols.
    	es1 := ldr.LookupOrCreateSym("extnew1", 0)
    	if es1 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/testflag.go

    	"strings"
    	"time"
    )
    
    //go:generate go run ./genflags.go
    
    // The flag handling part of go test is large and distracting.
    // We can't use (*flag.FlagSet).Parse because some of the flags from
    // our command line are for us, and some are for the test binary, and
    // some are for both.
    
    func init() {
    	work.AddBuildFlags(CmdTest, work.OmitVFlag)
    
    	cf := CmdTest.Flag
    	cf.BoolVar(&testC, "c", false, "")
    	cf.StringVar(&testO, "o", "", "")
    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/link/internal/ld/elf_test.go

    	//   to .dynamic); for some other less mainstream archs (ppc64le,
    	//   s390) this is not the case (on ppc64le for example we only
    	//   see got refs from C objects). Hence we put ".dynamic" in the
    	//   'want RO' list below and ".got" in the 'want RO if present".
    	// - when using the external linker, checking for read-only ".got"
    	//   is problematic since some linkers will only make the .got
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/sccp.go

    //     \ | /
    //     Bottom      not constant
    //
    // It starts with optimistically assuming that all SSA values are initially Top
    // and then propagates constant facts only along reachable control flow paths.
    // Since some basic blocks are not visited yet, corresponding inputs of phi become
    // Top, we use the meet(phi) to compute its lattice.
    //
    // 	  Top ∩ any = any
    // 	  Bottom ∩ any = Bottom
    // 	  ConstantA ∩ ConstantA = ConstantA
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/edit.go

    				// conflicts with mustSelect. (For example, we don't want
    				// 'go get -u ./...' to incidentally downgrade some dependency whose
    				// go.mod file is unavailable or has a bad checksum.)
    				conflicts = append(conflicts, conflict)
    				continue
    			}
    
    			// We need to downgrade m's path to some lower version to try to resolve
    			// the conflict. Find the next-lowest candidate and apply it.
    			rejectedRoot[m] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/compile.go

    	time     bool            // report time to run pass
    	mem      bool            // report mem stats to run pass
    	stats    int             // pass reports own "stats" (e.g., branches removed)
    	debug    int             // pass performs some debugging. =1 should be in error-testing-friendly Warnl format.
    	test     int             // pass-specific ad-hoc option, perhaps useful in development
    	dump     map[string]bool // dump if function name matches
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/macho.go

    }
    
    type MachoLoad struct {
    	type_ uint32
    	data  []uint32
    }
    
    type MachoPlatform int
    
    /*
     * Total amount of space to reserve at the start of the file
     * for Header, PHeaders, and SHeaders.
     * May waste some.
     */
    const (
    	INITIAL_MACHO_HEADR = 4 * 1024
    )
    
    const (
    	MACHO_CPU_AMD64                      = 1<<24 | 7
    	MACHO_CPU_386                        = 7
    	MACHO_SUBCPU_X86                     = 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  8. src/cmd/covdata/tool_test.go

    		s.outdirs[i] = d
    		if err := os.Mkdir(d, 0777); err != nil {
    			t.Fatalf("can't create outdir %s: %v", d, err)
    		}
    	}
    
    	// Run instrumented program to generate some coverage data output files,
    	// as follows:
    	//
    	//   <tmp>/covdata0   -- prog1.go compiled -cover
    	//   <tmp>/covdata1   -- prog1.go compiled -cover
    	//   <tmp>/covdata2   -- prog1.go compiled -covermode=atomic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/magic.go

    //
    // If x is not divisible by c, then x*m mod 2^n must take some larger value than max.
    //
    // This gives x*m mod 2^n <= ⎣(2^n - 1)/c⎦ as a test for divisibility
    // involving one multiplication and compare.
    //
    // To extend this to even integers, consider c = d0 * 2^k where d0 is odd.
    // We can test whether x is divisible by both d0 and 2^k.
    // For d0, the test is the same as above.  Let m be such that m*d0 mod 2^n == 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf_test.go

    // First testcase. All input params in registers, all params used.
    
    //go:noinline
    func tc1(p1, p2 int, p3 string) (int, string) {
    	return p1 + p2, p3 + "foo"
    }
    
    // Second testcase. Some params in registers, some on stack.
    
    //go:noinline
    func tc2(p1 int, p2 [128]int, p3 string) (int, string, [128]int) {
    	return p1 + p2[p1], p3 + "foo", [128]int{p1}
    }
    
    // Third testcase. Named return params.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top