- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for Parse (0.79 sec)
-
src/cmd/asm/internal/asm/parse.go
log.Fatal("too many errors") } } func (p *Parser) pos() src.XPos { return p.ctxt.PosTable.XPos(src.MakePos(p.lex.Base(), uint(p.lineNum), 0)) } func (p *Parser) Parse() (*obj.Prog, bool) { scratch := make([][]lex.Token, 0, 3) for { word, cond, operands, ok := p.line(scratch) if !ok { break } scratch = operands if p.pseudo(word, operands) {
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) -
src/cmd/cgo/ast.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Parse input AST and prepare Prog structure. 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 {
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) -
src/cmd/asm/internal/asm/operand_test.go
return NewParser(ctxt, architecture, nil) } // tryParse executes parse func in panicOnError=true context. // parse is expected to call any parsing methods that may panic. // Returns error gathered from recover; nil if no parse errors occurred. // // For unexpected panics, calls t.Fatal. func tryParse(t *testing.T, parse func()) (err error) { panicOnError = true defer func() { panicOnError = false
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
cxx, err := exec.Command("go", "env", "CXX").CombinedOutput() if err != nil { t.Fatalf("go env CXX failed: %s", err) } args, err := quoted.Split(string(cxx)) if err != nil { t.Skipf("could not parse 'go env CXX' output %q: %s", string(cxx), err) } if len(args) == 0 { t.Skip("no C++ compiler") } testenv.MustHaveExecPath(t, string(args[0])) } var ( swigOnce sync.Once haveSwig bool )
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
src/cmd/api/api_test.go
"go/build" "internal/testenv" "os" "path/filepath" "sort" "strings" "sync" "testing" ) var flagCheck = flag.Bool("check", false, "run API checks") func TestMain(m *testing.M) { flag.Parse() for _, c := range contexts { c.Compiler = build.Default.Compiler } build.Default.GOROOT = testenv.GOROOT(nil) os.Exit(m.Run()) } var (
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
api/go1.5.txt
pkg math/big, method (*Float) Mode() RoundingMode pkg math/big, method (*Float) Mul(*Float, *Float) *Float pkg math/big, method (*Float) Neg(*Float) *Float pkg math/big, method (*Float) Parse(string, int) (*Float, int, error) pkg math/big, method (*Float) Prec() uint pkg math/big, method (*Float) Quo(*Float, *Float) *Float pkg math/big, method (*Float) Rat(*Rat) (*Rat, Accuracy)
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
doc/go1.17_spec.html
support for concurrent programming. Programs are constructed from <i>packages</i>, whose properties allow efficient management of dependencies. </p> <p> The grammar is compact and simple to parse, allowing for easy analysis by automatic tools such as integrated development environments. </p> <h2 id="Notation">Notation</h2> <p> The syntax is specified using Extended Backus-Naur Form (EBNF): </p>
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) -
api/go1.18.txt
pkg text/template/parse, const NodeBreak = 21 pkg text/template/parse, const NodeBreak NodeType pkg text/template/parse, const NodeContinue = 22 pkg text/template/parse, const NodeContinue NodeType pkg text/template/parse, method (*BreakNode) Copy() Node pkg text/template/parse, method (*BreakNode) String() string pkg text/template/parse, method (*ContinueNode) Copy() Node
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Viewed (0) -
src/cmd/asm/internal/asm/line_test.go
arch, ctxt := setArch(goarch) tokenizer := lex.NewTokenizer("", strings.NewReader(test.input+"\n"), nil) parser := NewParser(ctxt, arch, tokenizer) err := tryParse(t, func() { parser.Parse() }) switch { case err == nil: t.Errorf("#%d: %q: want error %q; have none", i, test.input, test.error) case !strings.Contains(err.Error(), test.error):
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 1.9K bytes - Viewed (0) -
src/cmd/asm/internal/flags/flags.go
(*m) = append(*m, val) return nil } func Usage() { fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n") fmt.Fprintf(os.Stderr, "Flags:\n") flag.PrintDefaults() os.Exit(2) } func Parse() { objabi.Flagparse(Usage) if flag.NArg() == 0 { flag.Usage() } // Flag refinement. if *OutputFile == "" { if flag.NArg() != 1 { flag.Usage() } input := filepath.Base(flag.Arg(0))
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 22 19:18:23 GMT 2023 - 2.8K bytes - Viewed (0)