Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for scatter (0.27 sec)

  1. src/bufio/export_test.go

    )
    
    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    		s.buf = make([]byte, n)
    	}
    	s.maxTokenSize = n
    }
    
    // ErrOrEOF is like Err, but returns EOF. Used to test a corner case.
    func (s *Scanner) ErrOrEOF() error {
    	return s.err
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 17:17:44 GMT 2017
    - 597 bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    		t.Errorf("NewWriterSize's Writer.Size = %d; want %d", got, want)
    	}
    }
    
    // An onlyReader only implements io.Reader, no matter what other methods the underlying implementation may have.
    type onlyReader struct {
    	io.Reader
    }
    
    // An onlyWriter only implements io.Writer, no matter what other methods the underlying implementation may have.
    type onlyWriter struct {
    	io.Writer
    }
    
    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)
  4. src/cmd/asm/internal/lex/input.go

    			}
    			in.beginningOfLine = in.hash()
    			in.text = "#"
    			return '#'
    
    		case scanner.Ident:
    			// Is it a macro name?
    			name := in.Stack.Text()
    			macro := in.macros[name]
    			if macro != nil {
    				nesting++
    				in.invokeMacro(macro)
    				continue
    			}
    			fallthrough
    		default:
    			if tok == scanner.EOF && len(in.ifdefStack) > 0 {
    				// We're skipping text but have run out of input with no #endif.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    		return
    	}
    
    	// Constant.
    	haveConstant := false
    	switch tok.ScanToken {
    	case scanner.Int, scanner.Float, scanner.String, scanner.Char, '+', '-', '~':
    		haveConstant = true
    	case '(':
    		// Could be parenthesized expression or (R). Must be something, though.
    		tok := p.next()
    		if tok.ScanToken == scanner.EOF {
    			p.errorf("missing right parenthesis")
    			return
    		}
    		rname := tok.String()
    		p.back()
    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)
  6. misc/chrome/gophertool/gopher.js

        }
    
        var match = commitRE.exec(t);
        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
            return "https://golang.org/pkg/" + t;
        }
    
        return null;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/04-vuln.yml

          label: govulncheck version
          description: What version of govulncheck are you using (`govulncheck -version`)?
          placeholder: |
            Go: devel go1.22-0262ea1ff9 Thu Oct 26 18:46:50 2023 +0000
            Scanner: govulncheck@v1.0.2-0.20231108200754-fcf7dff7b242
            DB: https://vuln.go.dev
            DB updated: 2023-11-21 15:39:17 +0000 UTC
        validations:
          required: true
      - type: textarea
        id: reproduce-latest-version
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg text/scanner, const Char = -5
    pkg text/scanner, const Comment = -8
    pkg text/scanner, const EOF = -1
    pkg text/scanner, const Float = -4
    pkg text/scanner, const GoTokens = 1012
    pkg text/scanner, const GoWhitespace = 4294977024
    pkg text/scanner, const Ident = -2
    pkg text/scanner, const Int = -3
    pkg text/scanner, const RawString = -7
    pkg text/scanner, const ScanChars = 32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. doc/go_spec.html

    type parameters.
    <code>D0[int, string]</code> and <code>struct{ x int; y string }</code> are
    different because the former is an <a href="#Instantiations">instantiated</a>
    defined type while the latter is a type literal
    (but they are still <a href="#Assignability">assignable</a>).
    </p>
    
    <h3 id="Assignability">Assignability</h3>
    
    <p>
    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)
  10. src/cmd/asm/internal/lex/lex.go

    	switch t {
    	case scanner.EOF:
    		return "EOF"
    	case scanner.Ident:
    		return "identifier"
    	case scanner.Int:
    		return "integer constant"
    	case scanner.Float:
    		return "float constant"
    	case scanner.Char:
    		return "rune constant"
    	case scanner.String:
    		return "string constant"
    	case scanner.RawString:
    		return "raw string constant"
    	case scanner.Comment:
    		return "comment"
    	default:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top