Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 94 for gopark (0.38 sec)

  1. src/cmd/doc/main.go

    			return d.dir, true
    		}
    	}
    }
    
    var buildCtx = build.Default
    
    // splitGopath splits $GOPATH into a list of roots.
    func splitGopath() []string {
    	return filepath.SplitList(buildCtx.GOPATH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. hack/update-vendor.sh

    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # Get all the default Go environment.
    kube::golang::setup_env
    
    # Turn off workspaces until we are ready for them later
    export GOWORK=off
    # Explicitly opt into go modules
    export GO111MODULE=on
    # Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
    export GOFLAGS=-mod=mod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. src/cmd/doc/doc_test.go

    	"internal/testenv"
    	"log"
    	"os"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	// Clear GOPATH so we don't access the user's own packages in the test.
    	buildCtx.GOPATH = ""
    	testGOPATH = true // force GOPATH mode; module test is in cmd/go/testdata/script/mod_doc.txt
    
    	// Set GOROOT in case runtime.GOROOT is wrong (for example, if the test was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_invalid_version.txt

    cp go.mod.orig go.mod
    go mod edit -require golang.org/x/text@14c0d48ead0c
    cd outside
    ! go list -m golang.org/x/text
    stderr 'go: example.com@v0.0.0 \(replaced by \./\.\.\): parsing ..[/\\]go.mod: '$WORK'[/\\]gopath[/\\]src[/\\]go.mod:5: require golang.org/x/text: version "14c0d48ead0c" invalid: must be of the form v1.2.3'
    cd ..
    go list -m golang.org/x/text
    stdout 'golang.org/x/text v0.1.1-0.20170915032832-14c0d48ead0c'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 02:54:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

             * protect ourselves from this, we park ourselves and tell our interrupter that we did so.
             */
            if (state == PARKED || compareAndSet(state, PARKED)) {
              // Interrupting Cow Says:
              //  ______
              // < Park >
              //  ------
              //        \   ^__^
              //         \  (oo)\_______
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/schedule.go

    				// In particular, they need to come before regular OpArg operations because
    				// of how regalloc places spill code (see regalloc.go:placeSpills:mustBeFirst).
    				if b != f.Entry {
    					f.Fatalf("%s appeared outside of entry block, b=%s", v.Op, b.String())
    				}
    				score[v.ID] = ScorePhi
    			case v.Op == OpArg || v.Op == OpSP || v.Op == OpSB:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. src/math/rand/rand_test.go

    		t.Errorf("fe disagrees at index %v; %v != %v", i, fe[i], testFe[i])
    	}
    }
    
    func hasSlowFloatingPoint() bool {
    	switch runtime.GOARCH {
    	case "arm":
    		return os.Getenv("GOARM") == "5" || strings.HasSuffix(os.Getenv("GOARM"), ",softfloat")
    	case "mips", "mipsle", "mips64", "mips64le":
    		// Be conservative and assume that all mips boards
    		// have emulated floating point.
    		// TODO: detect what it actually has.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/gc.go

    	}
    
    	if cfg.Goarch == "arm" {
    		// Define GOARM_value from cfg.GOARM, which can be either a version
    		// like "6", or a version and a FP mode, like "7,hardfloat".
    		switch {
    		case strings.Contains(cfg.GOARM, "7"):
    			args = append(args, "-D", "GOARM_7")
    			fallthrough
    		case strings.Contains(cfg.GOARM, "6"):
    			args = append(args, "-D", "GOARM_6")
    			fallthrough
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/cache.go

    func checkCacheDir(ctx context.Context) error {
    	if cfg.GOMODCACHE == "" {
    		// modload.Init exits if GOPATH[0] is empty, and cfg.GOMODCACHE
    		// is set to GOPATH[0]/pkg/mod if GOMODCACHE is empty, so this should never happen.
    		return fmt.Errorf("module cache not found: neither GOMODCACHE nor GOPATH is set")
    	}
    	if !filepath.IsAbs(cfg.GOMODCACHE) {
    		counterErrorsGOMODCACHEEntryRelative.Inc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. src/cmd/doc/pkg.go

    	if buildCtx.GOROOT != "" {
    		goroot := filepath.Join(buildCtx.GOROOT, "src")
    		if p, ok := trim(path, filepath.ToSlash(goroot)); ok {
    			return p
    		}
    	}
    	for _, gopath := range splitGopath() {
    		if p, ok := trim(path, filepath.ToSlash(gopath)); ok {
    			return p
    		}
    	}
    	return path
    }
    
    // trim trims the directory prefix from the path, paying attention
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top