Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 567 for goio (0.06 sec)

  1. test/ken/label.go

    // license that can be found in the LICENSE file.
    
    // Test goto and labels.
    
    package main
    
    func main() {
    	i := 0
    	if false {
    		goto gogoloop
    	}
    	if false {
    		goto gogoloop
    	}
    	if false {
    		goto gogoloop
    	}
    	goto gogoloop
    
    	// backward declared
    loop:
    	i = i + 1
    	if i < 100 {
    		goto loop
    	}
    	return
    
    gogoloop:
    	goto loop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 439 bytes
    - Viewed (0)
  2. src/main/assemblies/files/service.bat

    set conv=%value:~0,-1%
    
    if "%unit%" == "k" goto kilo
    if "%unit%" == "K" goto kilo
    if "%unit%" == "m" goto mega
    if "%unit%" == "M" goto mega
    if "%unit%" == "g" goto giga
    if "%unit%" == "G" goto giga
    
    rem no unit found, must be bytes; consider the whole value
    set conv=%value%
    rem convert to KB
    set /a conv=%conv% / 1024
    :kilo
    rem convert to MB
    set /a conv=%conv% / 1024
    goto mega
    :giga
    rem convert to MB
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. test/fixedbugs/issue64606.go

    package main
    
    func main() {
    	var o any = uint64(5)
    	switch o.(type) {
    	case int:
    		goto ret
    	case int8:
    		goto ret
    	case int16:
    		goto ret
    	case int32:
    		goto ret
    	case int64:
    		goto ret
    	case float32:
    		goto ret
    	case float64:
    		goto ret
    	default:
    		goto ret
    	}
    ret:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 463 bytes
    - Viewed (0)
  4. src/run.bat

    dist env > env.bat
    L23:if errorlevel 1 goto fail
    L24:call .\env.bat
    L25:del env.bat
    L26:
    L27:set GOPATH=c:\nonexist-gopath
    L28:
    L29:if x%1==x--no-rebuild goto norebuild
    L30:..\bin\go tool dist test --rebuild
    L31:if errorlevel 1 goto fail
    L32:goto end
    L33:
    L34::norebuild
    L35:..\bin\go tool dist test
    L36:if errorlevel 1 goto fail
    L37:goto end
    L38:
    L39::fail
    L40:set GOBUILDFAIL=1
    L41:
    L42::end
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 20:19:28 UTC 2022
    - 859 bytes
    - Viewed (0)
  5. src/cmd/trace/goroutinegen.go

    	globalMetricGenerator
    	stackSampleGenerator[trace.GoID]
    	logEventGenerator[trace.GoID]
    
    	gStates map[trace.GoID]*gState[trace.GoID]
    	focus   trace.GoID
    	filter  map[trace.GoID]struct{}
    }
    
    func newGoroutineGenerator(ctx *traceContext, focus trace.GoID, filter map[trace.GoID]struct{}) *goroutineGenerator {
    	gg := new(goroutineGenerator)
    	rg := func(ev *trace.Event) trace.GoID {
    		return ev.Goroutine()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/make.bat

    script
    L38::: unless invoked with --no-local.
    L39:if x%1==x-no-local goto nolocal
    L40:if x%2==x-no-local goto nolocal
    L41:if x%3==x-no-local goto nolocal
    L42:if x%4==x-no-local goto nolocal
    L43:if x%1==x--no-local goto nolocal
    L44:if x%2==x--no-local goto nolocal
    L45:if x%3==x--no-local goto nolocal
    L46:if x%4==x--no-local goto nolocal
    L47:setlocal
    L48::nolocal
    L49:
    L50:set GOBUILDFAIL=0
    L51:
    L52:if exist make.bat goto ok
    L53:echo Must run make.bat from Go src directory.
    L54:goto fail
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/fuse_test.go

    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto("z0")),
    		Bloc("z1",
    			Goto("z2")),
    		Bloc("z3",
    			Goto("exit")),
    		Bloc("z2",
    			Goto("z3")),
    		Bloc("z0",
    			Goto("z1")),
    		Bloc("exit",
    			Exit("mem"),
    		))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for k, b := range fun.blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. src/race.bat

    windows/amd64.
    L28:goto fail
    L29:
    L30::continue
    L31:call .\make.bat --no-banner --no-local
    L32:if %GOBUILDFAIL%==1 goto end
    L33:echo # go install -race std
    L34:go install -race std
    L35:if errorlevel 1 goto fail
    L36:
    L37:go tool dist test -race
    L38:
    L39:if errorlevel 1 goto fail
    L40:goto succ
    L41:
    L42::fail
    L43:set GOBUILDFAIL=1
    L44:echo Fail.
    L45:goto end
    L46:
    L47::succ
    L48:echo All tests passed.
    L49:
    L50::end
    L51:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 16:59:17 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. test/escape2.go

    	goto L30
    	goto L31
    	goto L32
    	goto L33
    	goto L34
    	goto L35
    	goto L36
    	goto L37
    	goto L38
    	goto L39
    	goto L40
    	goto L41
    	goto L42
    	goto L43
    	goto L44
    	goto L45
    	goto L46
    	goto L47
    	goto L48
    	goto L49
    	goto L50
    	goto L51
    	goto L52
    	goto L53
    	goto L54
    	goto L55
    	goto L56
    	goto L57
    	goto L58
    	goto L59
    	goto L60
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  10. test/defererrcheck.go

    		fmt.Println("defer")
    	}()
    label:
    	fmt.Println("goto loop")
    	if glob > 2 {
    		goto label
    	}
    }
    
    func f5() {
    label:
    	fmt.Println("goto loop")
    	defer func() { // ERROR "heap-allocated defer"
    		fmt.Println("defer")
    	}()
    	if glob > 2 {
    		goto label
    	}
    }
    
    func f6() {
    label:
    	fmt.Println("goto loop")
    	if glob > 2 {
    		goto label
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 26 16:54:17 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top