Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 117 of 117 for fileText (0.4 sec)

  1. src/go/types/api_test.go

    	"internal/testenv"
    	"reflect"
    	"regexp"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    
    	. "go/types"
    )
    
    // nopos indicates an unknown position
    var nopos token.Pos
    
    func mustParse(fset *token.FileSet, src string) *ast.File {
    	f, err := parser.ParseFile(fset, pkgName(src), src, parser.ParseComments)
    	if err != nil {
    		panic(err) // so we don't need to pass *testing.T
    	}
    	return f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    func scannerMode(mode uint) uint {
    	var m uint = scanner.InsertSemis
    	if mode&ParseComments != 0 {
    		m |= scanner.ScanComments
    	}
    	return m
    }
    
    func (p *parser) init(fset *token.FileSet, filename string, src []byte, mode uint) {
    	p.file = fset.AddFile(filename, fset.Base(), len(src))
    	p.scanner.Init(p.file, src, p, scannerMode(mode))
    
    	p.mode = mode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    	imports []*ast.ImportSpec // list of imports
    
    	// nestLev is used to track and limit the recursion depth
    	// during parsing.
    	nestLev int
    }
    
    func (p *parser) init(fset *token.FileSet, filename string, src []byte, mode Mode) {
    	p.file = fset.AddFile(filename, -1, len(src))
    	eh := func(pos token.Position, msg string) { p.errors.Add(pos, msg) }
    	p.scanner.Init(p.file, src, eh, scanner.ScanComments)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/static/trace_viewer_full.html

    pWidth,tooltipHeight);this.chartCtx_.restore();this.chartCtx_.fillStyle='#222';this.chartCtx_.textBaseline='top';this.chartCtx_.font='800 12px Arial';this.chartCtx_.fillText(tooltipTitle,left+8,top+8);this.chartCtx_.fillStyle='#555';this.chartCtx_.textBaseline='top';this.chartCtx_.font='400 italic 10px Arial';this.chartCtx_.fillText('Total: '+tooltipTime+'ms',left+8,top+22);},drawBars_(){const len=this.opsTimingData_.length;const max=this.opsTimingData_[0].cmd_time;const min=this.opsTimingData_[...
    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.14.txt

    pkg encoding/asn1, const TagBMPString ideal-int
    pkg encoding/json, method (*Decoder) InputOffset() int64
    pkg go/build, type Context struct, Dir string
    pkg go/doc, func NewFromFiles(*token.FileSet, []*ast.File, string, ...interface{}) (*Package, error)
    pkg go/doc, type Example struct, Suffix string
    pkg go/doc, type Func struct, Examples []*Example
    pkg go/doc, type Package struct, Examples []*Example
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  6. api/go1.20.txt

    pkg go/ast, type File struct, FileEnd token.Pos #53202
    pkg go/ast, type File struct, FileStart token.Pos #53202
    pkg go/ast, type RangeStmt struct, Range token.Pos #50429
    pkg go/token, method (*FileSet) RemoveFile(*File) #53200
    pkg go/types, func Satisfies(Type, *Interface) bool #56548
    pkg io/fs, var SkipAll error #47209
    pkg io, func NewOffsetWriter(WriterAt, int64) *OffsetWriter #45899
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  7. api/go1.1.txt

    pkg go/ast, const Lbl = 6
    pkg go/ast, const Pkg = 1
    pkg go/ast, const RECV = 2
    pkg go/ast, const SEND = 1
    pkg go/ast, const Typ = 3
    pkg go/ast, const Var = 4
    pkg go/ast, func NewCommentMap(*token.FileSet, Node, []*CommentGroup) CommentMap
    pkg go/ast, method (CommentMap) Comments() []*CommentGroup
    pkg go/ast, method (CommentMap) Filter(Node) CommentMap
    pkg go/ast, method (CommentMap) String() string
    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