Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for BOTH (0.25 sec)

  1. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    # Test go build -pgo=auto flag with multiple main packages.
    
    go install -a -n -pgo=auto ./a ./b ./nopgo
    
    # a/default.pgo and b/default.pgo are both preprocessed
    stderr 'preprofile.*-i.*a(/|\\\\)default\.pgo'
    stderr 'preprofile.*-i.*b(/|\\\\)default\.pgo'
    
    # a and b built once each with PGO.
    # Ideally we would check that the passed profile is the expected profile (here
    # and for dependencies). Unfortunately there is no nice way to map the expected
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modinfo/info.go

    	Reuse      bool             `json:",omitempty"` // reuse of old module info is safe
    }
    
    type ModuleError struct {
    	Err string // error text
    }
    
    type moduleErrorNoMethods ModuleError
    
    // UnmarshalJSON accepts both {"Err":"text"} and "text",
    // so that the output of go mod download -json can still
    // be unmarshaled into a ModulePublic during -reuse processing.
    func (e *ModuleError) UnmarshalJSON(data []byte) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_predicates.go

    }
    
    // Identical reports whether x and y are identical types.
    // Receivers of [Signature] types are ignored.
    //
    // Predicates such as [Identical], [Implements], and
    // [Satisfies] assume that both operands belong to a
    // consistent collection of symbols ([Object] values).
    // For example, two [Named] types can be identical only if their
    // [Named.Obj] methods return the same [TypeName] symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/copyelim.go

    			v.SetArg(i, copySource(a))
    		}
    	}
    }
    
    // phielim eliminates redundant phi values from f.
    // A phi is redundant if its arguments are all equal. For
    // purposes of counting, ignore the phi itself. Both of
    // these phis are redundant:
    //
    //	v = phi(x,x,x)
    //	v = phi(x,v,x,v)
    //
    // We repeat this process to also catch situations like:
    //
    //	v = phi(x, phi(x, x), phi(x, v))
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/telemetrycmd/telemetry.go

    (https://policies.google.com/privacy).
    
    To view the current telemetry mode, run "go telemetry".
    To disable telemetry uploading, but keep local data collection, run
    "go telemetry local".
    To enable both collection and uploading, run “go telemetry on”.
    To disable both collection and uploading, run "go telemetry off".
    
    See https://go.dev/doc/telemetry for more information on telemetry.
    `,
    	Run: runTelemetry,
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/security_test.go

    	{"-fno-PIE"},
    	{"-fsanitize=hands"},
    	{"-g"},
    	{"-ggdb"},
    	{"-march=souza"},
    	{"-mcpu=123"},
    	{"-mfpu=123"},
    	{"-mtune=happybirthday"},
    	{"-pic"},
    	{"-pthread"},
    	{"-Wl,--hash-style=both"},
    	{"-Wl,-rpath,foo"},
    	{"-Wl,-rpath,$ORIGIN/foo"},
    	{"-Wl,-R", "/foo"},
    	{"-Wl,-R", "foo"},
    	{"-Wl,-R,foo"},
    	{"-Wl,--just-symbols=foo"},
    	{"-Wl,--just-symbols,foo"},
    	{"-Wl,--warn-error"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_compat_ambiguous.txt

    # Go 1.16 (because two different modules contain plausible packages and Go 1.16
    # does not privilege roots above other dependencies).
    #
    # However, the overall build list is identical for both versions.
    
    cp go.mod go.mod.orig
    
    ! go mod tidy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/par/work.go

    		panic("par.Work.Do: already called Do")
    	}
    
    	w.running = n
    	w.f = f
    	w.wait.L = &w.mu
    
    	for i := 0; i < n-1; i++ {
    		go w.runner()
    	}
    	w.runner()
    }
    
    // runner executes work in w until both nothing is left to do
    // and all the runners are waiting for work.
    // (Then all the runners return.)
    func (w *Work[T]) runner() {
    	for {
    		// Wait for something to do.
    		w.mu.Lock()
    		for len(w.todo) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/work.txt

    cd ..
    go run example.com/b
    stdout 'Hello, world.'
    
    # And try from a different directory
    cd c
    go run  example.com/b
    stdout 'Hello, world.'
    cd $GOPATH/src
    
    go list all # all includes both modules
    stdout 'example.com/a'
    stdout 'example.com/b'
    
    # -mod can only be set to readonly in workspace mode
    go list -mod=readonly all
    ! go list -mod=mod all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    //   2. Rewrite (CMPconst [0] (Select0 (OpCC ...))) into (Select1 (OpCC...))
    // Note: to minimize potentially expensive regeneration of CC opcodes during the flagalloc pass, only rewrite if
    //       both ops are in the same block.
    (CMPconst [0] z:((ADD|AND|ANDN|OR|SUB|NOR|XOR) x y)) && v.Block == z.Block => (CMPconst [0] convertPPC64OpToOpCC(z))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top