Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,875 for gots (0.38 sec)

  1. src/internal/types/testdata/check/gotos.go

    L:
    }
    
    // goto into outer block okay
    func _() {
    	{
    		goto L
    	}
    L:
    }
    
    func _() {
    	{
    		goto L
    		goto L1
    	}
    L: L1:
    }
    
    // goto backward into outer block okay
    func _() {
    L:
    	{
    		goto L
    	}
    }
    
    func _() {
    L: L1:
    	{
    		goto L
    		goto L1
    	}
    }
    
    // goto into inner block not okay
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. test/goto.go

    		goto L
    	}
    }
    
    // goto into inner block not okay
    func _() {
    	goto L // ERROR "goto L jumps into block starting at LINE+1|goto jumps into block"
    	{      // GCCGO_ERROR "block starts here"
    	L:
    	}
    }
    
    // goto backward into inner block still not okay
    func _() {
    	{ // GCCGO_ERROR "block starts here"
    	L:
    	}
    	goto L // ERROR "goto L jumps into block starting at LINE-3|goto jumps into block"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 02:27:58 UTC 2017
    - 8.4K bytes
    - Viewed (0)
  3. src/runtime/lock_js.go

    	idleTimeout = nil
    }
    
    // pause sets SP to newsp and pauses the execution of Go's WebAssembly code until an event is triggered.
    func pause(newsp uintptr)
    
    // scheduleTimeoutEvent tells the WebAssembly environment to trigger an event after ms milliseconds.
    // It returns a timer id that can be used with clearTimeoutEvent.
    //
    //go:wasmimport gojs runtime.scheduleTimeoutEvent
    func scheduleTimeoutEvent(ms int64) int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. .github/PULL_REQUEST_TEMPLATE

    **Please ensure you adhere to every item in this list.**
    
    More info can be found at https://github.com/golang/go/wiki/CommitMessage
    
    + The PR title is formatted as follows: `net/http: frob the quux before blarfing`
      + The package name goes before the colon
      + The part after the colon uses the verb tense + phrase that completes the blank in,
        "This change modifies Go to ___________"
      + Lowercase verb after the colon
      + No trailing period
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 02:07:46 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/init.go

    		base.Exit()
    	}
    	if cfg.BuildMSan && !platform.MSanSupported(cfg.Goos, cfg.Goarch) {
    		fmt.Fprintf(os.Stderr, "-msan is not supported on %s/%s\n", cfg.Goos, cfg.Goarch)
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    	if cfg.BuildRace && !platform.RaceDetectorSupported(cfg.Goos, cfg.Goarch) {
    		fmt.Fprintf(os.Stderr, "-race is not supported on %s/%s\n", cfg.Goos, cfg.Goarch)
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/distpack/pack.go

    	if goroot == "" {
    		log.Fatalf("missing $GOROOT")
    	}
    	gohostos = runtime.GOOS
    	gohostarch = runtime.GOARCH
    	goos = os.Getenv("GOOS")
    	if goos == "" {
    		goos = gohostos
    	}
    	goarch = os.Getenv("GOARCH")
    	if goarch == "" {
    		goarch = gohostarch
    	}
    	goosUnderGoarch := goos + "_" + goarch
    	goosDashGoarch := goos + "-" + goarch
    	exe := ""
    	if goos == "windows" {
    		exe = ".exe"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/imports/build.go

    // MatchFile returns false if the name contains a $GOOS or $GOARCH
    // suffix which does not match the current system.
    // The recognized name formats are:
    //
    //	name_$(GOOS).*
    //	name_$(GOARCH).*
    //	name_$(GOOS)_$(GOARCH).*
    //	name_$(GOOS)_test.*
    //	name_$(GOARCH)_test.*
    //	name_$(GOOS)_$(GOARCH)_test.*
    //
    // Exceptions:
    //
    //	if GOOS=android, then files with GOOS=linux are also matched.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    	}
    
    	lc.Sysctls = sysctls
    
    	if pod.Spec.SecurityContext != nil {
    		sc := pod.Spec.SecurityContext
    		if sc.RunAsUser != nil && runtime.GOOS != "windows" {
    			lc.SecurityContext.RunAsUser = &runtimeapi.Int64Value{Value: int64(*sc.RunAsUser)}
    		}
    		if sc.RunAsGroup != nil && runtime.GOOS != "windows" {
    			lc.SecurityContext.RunAsGroup = &runtimeapi.Int64Value{Value: int64(*sc.RunAsGroup)}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. pkg/util/coverage/coverage.go

    // The file is in the same directory as the destination, ensuring os.Rename will work.
    func tempCoveragePath() string {
    	return coverageFile + ".tmp"
    }
    
    // InitCoverage is called from the dummy unit test to prepare Go's coverage framework.
    // Clients should never need to call it.
    func InitCoverage(name string) {
    	// We read the coverage destination in from the KUBE_COVERAGE_FILE env var,
    	// or if it's empty we just use a default in /tmp
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 21:00:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cfg/cfg.go

    		// Note that ctxt.GOOS/GOARCH are derived from the preference list
    		// (1) environment, (2) go/env file, (3) runtime constants,
    		// while go/build.Default.GOOS/GOARCH are derived from the preference list
    		// (1) environment, (2) runtime constants.
    		//
    		// We know ctxt.GOOS/GOARCH == runtime.GOOS/GOARCH;
    		// no matter how that happened, go/build.Default will make the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top