Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for advanced (0.26 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre class="ebnf">
    ContinueStmt = "continue" [ Label ] .
    </pre>
    
    <p>
    If there is a label, it must be that of an enclosing
    "for" statement, and that is the one whose execution
    advances.
    </p>
    
    <pre>
    RowLoop:
    	for y, row := range rows {
    		for x, data := range row {
    			if data == endOfRow {
    				continue RowLoop
    			}
    			row[x] = data + bias(x, y)
    		}
    	}
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	errorCount    int   // Number of errors.
    	sawCode       bool  // saw code in this file (as opposed to comments and blank lines)
    	pc            int64 // virtual PC; count of Progs; doesn't advance for GLOBL or DATA.
    	input         []lex.Token
    	inputPos      int
    	pendingLabels []string // Labels to attach to next instruction.
    	labels        map[string]*obj.Prog
    	toPatch       []Patch
    	addr          []obj.Addr
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. doc/go_spec.html

    </p>
    
    <pre class="ebnf">
    ContinueStmt = "continue" [ Label ] .
    </pre>
    
    <p>
    If there is a label, it must be that of an enclosing
    "for" statement, and that is the one whose execution
    advances.
    </p>
    
    <pre>
    RowLoop:
    	for y, row := range rows {
    		for x, data := range row {
    			if data == endOfRow {
    				continue RowLoop
    			}
    			row[x] = data + bias(x, y)
    		}
    	}
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    type SplitFunc func(data []byte, atEOF bool) (advance int, token []byte, err error)
    
    // Errors returned by Scanner.
    var (
    	ErrTooLong         = errors.New("bufio.Scanner: token too long")
    	ErrNegativeAdvance = errors.New("bufio.Scanner: SplitFunc returns negative advance count")
    	ErrAdvanceTooFar   = errors.New("bufio.Scanner: SplitFunc returns advance count beyond input")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/bufio/example_test.go

    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Create a custom split function by wrapping the existing ScanWords function.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = bufio.ScanWords(data, atEOF)
    		if err == nil && token != nil {
    			_, err = strconv.ParseInt(string(token), 10, 32)
    		}
    		return
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    package tar
    
    import (
    	"bytes"
    	"io"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // Reader provides sequential access to the contents of a tar archive.
    // Reader.Next advances to the next file in the archive (including the first),
    // and then Reader can be treated as an io.Reader to access the file's data.
    type Reader struct {
    	r    io.Reader
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    func TestErrAtEOF(t *testing.T) {
    	s := NewScanner(strings.NewReader("1 2 33"))
    	// This splitter will fail on last entry, after s.err==EOF.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = ScanWords(data, atEOF)
    		if len(token) > 1 {
    			if s.ErrOrEOF() != io.EOF {
    				t.Fatal("not testing EOF")
    			}
    			err = testError
    		}
    		return
    	}
    	s.Split(split)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/slice.go

    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    func (s *Slice) Next() ScanToken {
    	s.pos++
    	if s.pos >= len(s.tokens) {
    		return scanner.EOF
    	}
    	return s.tokens[s.pos].ScanToken
    }
    
    func (s *Slice) Text() string {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top