Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for goto (0.46 sec)

  1. src/all.bat

    license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:if exist make.bat goto ok
    L10:echo all.bat must be run from go\src
    L11::: cannot exit: would kill parent command interpreter
    L12:goto end
    L13::ok
    L14:
    L15:call .\make.bat --no-banner --no-local
    L16:if %GOBUILDFAIL%==1 goto end
    L17:call .\run.bat --no-rebuild --no-local
    L18:if %GOBUILDFAIL%==1 goto end
    L19:"%GOTOOLDIR%/dist" banner
    L20:
    L21::end
    L22:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Batch File
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 19 14:36:22 GMT 2023
    - 543 bytes
    - Viewed (0)
  2. src/clean.bat

    L7:setlocal
    L8:
    L9:set GOBUILDFAIL=0
    L10:
    L11:go tool dist env -w -p >env.bat
    L12:if errorlevel 1 goto fail
    L13:call .\env.bat
    L14:del env.bat
    L15:echo.
    L16:
    L17:if exist %GOTOOLDIR%\dist.exe goto distok
    L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean
    L19:goto fail
    L20::distok
    L21:
    L22:"%GOBIN%\go" clean -i std
    L23:"%GOBIN%\go" tool dist clean
    L24:"%GOBIN%\go" clean -i cmd
    L25:
    L26:goto end
    L27:
    L28::fail
    L29:set GOBUILDFAIL=1
    L30:
    L31::end
    L32:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Batch File
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu May 12 16:59:17 GMT 2022
    - 600 bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    		}
    	}
    </pre>
    
    <h3 id="Goto_statements">Goto statements</h3>
    
    <p>
    A "goto" statement transfers control to the statement with the corresponding label
    within the same function.
    </p>
    
    <pre class="ebnf">
    GotoStmt = "goto" Label .
    </pre>
    
    <pre>
    goto Error
    </pre>
    
    <p>
    Executing the "goto" statement must not cause any variables to come into
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. doc/go_spec.html

    		}
    	}
    </pre>
    
    <h3 id="Goto_statements">Goto statements</h3>
    
    <p>
    A "goto" statement transfers control to the statement with the corresponding label
    within the same function.
    </p>
    
    <pre class="ebnf">
    GotoStmt = "goto" Label .
    </pre>
    
    <pre>
    goto Error
    </pre>
    
    <p>
    Executing the "goto" statement must not cause any variables to come into
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. src/cmd/api/api_test.go

    		},
    	}
    	for _, tt := range tests {
    		buf := new(strings.Builder)
    		gotOK := compareAPI(buf, tt.features, tt.required, tt.exception)
    		if gotOK != tt.ok {
    			t.Errorf("%s: ok = %v; want %v", tt.name, gotOK, tt.ok)
    		}
    		if got := buf.String(); got != tt.out {
    			t.Errorf("%s: output differs\nGOT:\n%s\nWANT:\n%s", tt.name, got, tt.out)
    		}
    	}
    }
    
    func TestSkipInternal(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    }
    
    func TestReaderSize(t *testing.T) {
    	if got, want := NewReader(nil).Size(), DefaultBufSize; got != want {
    		t.Errorf("NewReader's Reader.Size = %d; want %d", got, want)
    	}
    	if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want {
    		t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want)
    	}
    }
    
    func TestWriterSize(t *testing.T) {
    	if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  7. src/archive/tar/strconv_test.go

    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && got != v.want {
    			t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    	}
    }
    
    func TestWriteAppend(t *testing.T) {
    	var got Buffer
    	var want []byte
    	for i := 0; i < 1000; i++ {
    		b := got.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		want = strconv.AppendInt(want, int64(i), 10)
    		got.Write(b)
    	}
    	if !Equal(got.Bytes(), want) {
    		t.Fatalf("Bytes() = %q, want %q", got, want)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg debug/elf, const R_PPC64_GOT_TLSGD16 R_PPC64
    pkg debug/elf, const R_PPC64_GOT_TLSGD16_HA = 82
    pkg debug/elf, const R_PPC64_GOT_TLSGD16_HA R_PPC64
    pkg debug/elf, const R_PPC64_GOT_TLSGD16_HI = 81
    pkg debug/elf, const R_PPC64_GOT_TLSGD16_HI R_PPC64
    pkg debug/elf, const R_PPC64_GOT_TLSGD16_LO = 80
    pkg debug/elf, const R_PPC64_GOT_TLSGD16_LO R_PPC64
    pkg debug/elf, const R_PPC64_GOT_TLSLD16 = 83
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/operand_test.go

    	{"armCAS64(SB)", "armCAS64(SB)"},
    	{"asmcgocall<>(SB)", "asmcgocall<>(SB)"},
    	{"c+28(FP)", "c+28(FP)"},
    	{"g", "g"},
    	{"gosave<>(SB)", "gosave<>(SB)"},
    	{"retlo+12(FP)", "retlo+12(FP)"},
    	{"runtime·gogo(SB)", "runtime.gogo(SB)"},
    	{"·AddUint32(SB)", "pkg.AddUint32(SB)"},
    	{"(R1, R3)", "(R1, R3)"},
    	{"[R0,R1,g,R15", ""}, // Issue 11764 - asm hung parsing ']' missing register lists.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
Back to top