Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for scanRune (0.46 sec)

  1. src/fmt/scan.go

    	if !haveDigits {
    		s.notEOF()
    		if !s.accept(digits) {
    			s.errorString("expected integer")
    		}
    	}
    	for s.accept(digits) {
    	}
    	return string(s.buf)
    }
    
    // scanRune returns the next rune value in the input.
    func (s *ss) scanRune(bitSize int) int64 {
    	s.notEOF()
    	r := s.getRune()
    	n := uint(bitSize)
    	x := (int64(r) << (64 - n)) >> (64 - n)
    	if x != int64(r) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. src/go/scanner/scanner.go

    		s.next()
    		n--
    	}
    
    	if x > max || 0xD800 <= x && x < 0xE000 {
    		s.error(offs, "escape sequence is invalid Unicode code point")
    		return false
    	}
    
    	return true
    }
    
    func (s *Scanner) scanRune() string {
    	// '\'' opening already consumed
    	offs := s.offset - 1
    
    	valid := true
    	n := 0
    	for {
    		ch := s.ch
    		if ch == '\n' || ch < 0 {
    			// only report error if we don't have one already
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NewWriterSize", Func, 0},
    		{"ReadWriter", Type, 0},
    		{"ReadWriter.Reader", Field, 0},
    		{"ReadWriter.Writer", Field, 0},
    		{"Reader", Type, 0},
    		{"ScanBytes", Func, 1},
    		{"ScanLines", Func, 1},
    		{"ScanRunes", Func, 1},
    		{"ScanWords", Func, 1},
    		{"Scanner", Type, 1},
    		{"SplitFunc", Type, 1},
    		{"Writer", Type, 0},
    	},
    	"bytes": {
    		{"(*Buffer).Available", Method, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/static/trace_viewer_full.html

    var i,j;for(var blockRow=0;blockRow<blocksPerColumn;blockRow++){var scanLine=blockRow<<3;for(i=0;i<8;i++)
    lines.push(new Uint8Array(samplesPerLine));for(var blockCol=0;blockCol<blocksPerLine;blockCol++){quantizeAndInverse(component.blocks[blockRow][blockCol],r,R);var offset=0,sample=blockCol<<3;for(j=0;j<8;j++){var line=lines[scanLine+j];for(i=0;i<8;i++)
    line[sample+i]=r[offset++];}}}
    return lines;}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
  5. api/go1.1.txt

    pkg bufio, func NewScanner(io.Reader) *Scanner
    pkg bufio, func ScanBytes([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanLines([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanRunes([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanWords([]uint8, bool) (int, []uint8, error)
    pkg bufio, method (*Reader) WriteTo(io.Writer) (int64, error)
    pkg bufio, method (*Scanner) Bytes() []uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top