Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 259 for Mack (0.31 sec)

  1. src/cmd/distpack/pack.go

    	srcArch.AddPrefix("go")
    	testSrc(srcArch)
    
    	// The binary distribution includes only a subset of bin and pkg.
    	binArch := base.Clone()
    	binArch.Filter(func(name string) bool {
    		// Discard bin/ for now, will add back later.
    		if strings.HasPrefix(name, "bin/") {
    			return false
    		}
    		// Discard most of pkg.
    		if strings.HasPrefix(name, "pkg/") {
    			// Keep pkg/include.
    			if strings.HasPrefix(name, "pkg/include/") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/cmd/pack/pack_test.go

    	"time"
    )
    
    // TestMain executes the test binary as the pack command if
    // GO_PACKTEST_IS_PACK is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_PACKTEST_IS_PACK") != "" {
    		main()
    		os.Exit(0)
    	}
    
    	os.Setenv("GO_PACKTEST_IS_PACK", "1") // Set for subprocesses to inherit.
    	os.Exit(m.Run())
    }
    
    // packPath returns the path to the "pack" binary to run.
    func packPath(t testing.TB) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/install_cross_gobin.txt

    env GOBIN=$WORK/bin
    ! go install mycmd
    ! exists $GOBIN/linux_$GOARCH
    
    # The install directory for a cross-compiled standard command should include GOARCH.
    go list -f '{{.Target}}'  cmd/pack
    stdout ${GOROOT}[/\\]pkg[/\\]tool[/\\]${GOOS}_${GOARCH}[/\\]pack$
    
    -- mycmd/x.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 667 bytes
    - Viewed (0)
  4. src/cmd/pack/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Pack is a simple version of the traditional Unix ar tool.
    It implements only the operations needed by Go.
    
    Usage:
    
    	go tool pack op file.a [name...]
    
    Pack applies the operation to the archive, using the names as arguments to the operation.
    
    The operation op is given by one of these letters:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_get_errors.txt

    -- badimport/go.mod --
    module example.com/badimport
    
    go 1.16
    -- badimport/badimport.go --
    package badimport
    
    import "example.net/oops"
    -- badimport/syntaxerror/syntaxerror.go --
    pack-age syntaxerror // sic
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/compiler_internal.go

    // the newly named object is inserted into the signature's scope,
    // and the object and new field name are returned.
    //
    // The intended use for RenameResult is to allow rangefunc to assign results within a closure.
    // This is a hack, as narrowly targeted as possible to discourage abuse.
    func (s *Signature) RenameResult(results []*syntax.Field, i int) (*Var, *syntax.Name) {
    	a := results[i]
    	obj := s.Results().At(i)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/arch.go

    package ssagen
    
    import (
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    )
    
    var Arch ArchInfo
    
    // interface to back end
    
    type ArchInfo struct {
    	LinkArch *obj.LinkArch
    
    	REGSP     int
    	MAXWIDTH  int64
    	SoftFloat bool
    
    	PadFrame func(int64) int64
    
    	// ZeroRange zeroes a range of memory on stack. It is only inserted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/trace/threadgen.go

    			gs.block(ev.Time(), ev.Stack(), st.Reason, ctx)
    		} else {
    			gs.stop(ev.Time(), ev.Stack(), ctx)
    		}
    	}
    	if !from.Executing() && to.Executing() {
    		start := ev.Time()
    		if from == trace.GoUndetermined {
    			// Back-date the event to the start of the trace.
    			start = ctx.startTime
    		}
    		gs.start(start, ev.Thread(), ctx)
    	}
    
    	if from == trace.GoWaiting {
    		// Goroutine was unblocked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_query.txt

    # Same for rsc.io/quote@v1 and rsc.io/quote@v1.5 (with no patch version).
    go list -m rsc.io/quote@v1
    stdout 'rsc.io/quote v1.5.2$'
    go list -m rsc.io/quote@v1.5
    stdout 'rsc.io/quote v1.5.2$'
    
    # We should fall back to prereleases if no release tags match...
    go list -m rsc.io/quote@>v1.5.2
    stdout 'rsc.io/quote v1.5.3-pre1$'
    
    # ...but prefer release versions when given the option.
    go list -m rsc.io/quote@<v1.5.4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_sumdb_proxy.txt

    env GOPROXY=direct
    ! go get rsc.io/fortune@v1.0.0
    stderr 'verifying module: rsc.io/fortune@v1.0.0: .*: no such host localhost.localdev'
    rm $GOPATH/pkg/mod/cache/download/sumdb
    rm go.sum
    
    # proxy 404 falls back to direct access (which fails)
    cp go.mod.orig go.mod
    env GOSUMDB=$sumdb
    env GOPROXY=$proxy/sumdb-404
    ! go get rsc.io/fortune@v1.0.0
    stderr 'verifying.*localhost.localdev'
    rm $GOPATH/pkg/mod/cache/download/sumdb
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top