Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for goto (0.02 seconds)

  1. src/bytes/bytes.go

    			}
    			// Step backwards comparing bytes.
    			for j := 1; j < n; j++ {
    				if s[i-j] != b[last-j] {
    					goto next
    				}
    			}
    			return i - last
    		next:
    			fails++
    			i++
    			if (haveFastIndex && fails > bytealg.Cutover(i)) && i < len(s) ||
    				(!haveFastIndex && fails >= 4+i>>4 && i < len(s)) {
    				goto fallback
    			}
    		}
    		return -1
    
    	fallback:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  2. scripts/playwright/json_base64_bytes/image01.py

        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="POST /data Post Data").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/json-base64-bytes/image01.png")
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  3. 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
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  4. src/cmd/asm/internal/asm/parse.go

    					}
    					cond = cond + "." + str
    					continue
    				}
    				if tok == ':' {
    					// Labels.
    					p.pendingLabels = append(p.pendingLabels, word)
    					goto next
    				}
    			}
    			if tok == scanner.EOF {
    				p.errorf("unexpected EOF")
    				return "", "", nil, false
    			}
    			// Split operands on comma. Also, the old syntax on x86 for a "register pair"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 17 19:57:47 GMT 2026
    - 37.3K bytes
    - Click Count (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) {
    	if *flagCheck {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. tests/migrate_test.go

    	if err := DB.Migrator().DropTable(allModels...); err != nil {
    		t.Fatalf("Failed to drop table, got error %v", err)
    	}
    
    	if err := DB.AutoMigrate(allModels...); err != nil {
    		t.Fatalf("Failed to auto migrate, got error %v", err)
    	}
    
    	if tables, err := DB.Migrator().GetTables(); err != nil {
    		t.Fatalf("Failed to get database all tables, but got error %v", err)
    	} else {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  7. docs/en/docs/css/custom.css

    /* Noto Color Emoji for emoji support with the same font everywhere */
    @import url(https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap);
    
    /* Override default code font in Material for MkDocs to Fira Code */
    :root {
        --md-code-font: "Fira Code", monospace, "Noto Color Emoji";
    }
    
    /* Override default regular font in Material for MkDocs to include Noto Color Emoji */
    :root {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:56:46 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  8. docs_src/stream_data/tutorial001_py310.py

    
    message = """
    Rick: (stumbles in drunkenly, and turns on the lights) Morty! You gotta come on. You got--... you gotta come with me.
    Morty: (rubs his eyes) What, Rick? What's going on?
    Rick: I got a surprise for you, Morty.
    Morty: It's the middle of the night. What are you talking about?
    Rick: (spills alcohol on Morty's bed) Come on, I got a surprise for you. (drags Morty by the ankle) Come on, hurry up. (pulls Morty out of his bed and into the hall)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. generics_withresult_test.go

    	}
    	if r.RowsAffected <= 0 {
    		t.Fatalf("expected RowsAffected > 0, got %d", r.RowsAffected)
    	}
    
    	u2 := withResultUser{Name: "with-result-fail"}
    	r2 := gorm.WithResult()
    	if err := gorm.G[withResultUser](db, r2).Table("does_not_exist").Create(ctx, &u2); err == nil {
    		t.Fatalf("expected error for missing table, got nil")
    	}
    	if r2.Error == nil {
    		t.Fatalf("expected result error to be set for missing table")
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/sql-databases.md

    Não precisamos herdar de `HeroBase`, pois estamos redeclarando todos os campos. Vou deixá-lo herdando apenas por consistência, mas isso não é necessário. É mais uma questão de gosto pessoal. 🤷
    
    Os campos de `HeroUpdate` são:
    
    * `name`
    * `age`
    * `secret_name`
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[7:28] hl[25:28] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.5K bytes
    - Click Count (0)
Back to Top