- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 264 for Harper (0.12 sec)
-
src/cmd/internal/obj/x86/obj6_test.go
input_insns = append(input_insns, input_insn) r.marker_to_input[marker] = append(r.marker_to_input[marker], normalize(input_insn)) } for _, expected_insn := range strings.Split(parts[1], ";") { r.marker_to_expected[marker] = append(r.marker_to_expected[marker], normalize(expected_insn)) } marker++ } r.input = "TEXT ·foo(SB),$0\n" + strings.Join(input_insns, "\n") + "\n" return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:21:30 UTC 2022 - 4.5K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
var fdSem = make(chan bool, 200) var ( rewrite func(*token.FileSet, *ast.File) *ast.File parserMode parser.Mode ) func usage() { fmt.Fprintf(os.Stderr, "usage: gofmt [flags] [path ...]\n") flag.PrintDefaults() } func initParserMode() { parserMode = parser.ParseComments if *allErrors { parserMode |= parser.AllErrors } // It's only -r that makes use of go/ast's object resolution,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
} } func TestAMD64OperandParser(t *testing.T) { parser := newParser("amd64") testOperandParser(t, parser, amd64OperandTests) testBadOperandParser(t, parser, amd64BadOperandTests) parser.allowABI = true testOperandParser(t, parser, amd64RuntimeOperandTests) testBadOperandParser(t, parser, amd64BadOperandRuntimeTests) } func Test386OperandParser(t *testing.T) { parser := newParser("386")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 23.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
// Note these errors should be independent of the architecture. // Just run the test with amd64. parser := newParser("amd64") var buf strings.Builder parser.errorWriter = &buf for _, cat := range testcats { for _, test := range cat.tests { parser.allowABI = cat.allowABI parser.errorCount = 0 parser.lineNum++ if !parser.pseudo(test.pseudo, tokenize(test.operands)) { t.Fatalf("Wrong pseudo-instruction: %s", test.pseudo)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/bisect/bisect.go
return c.result } } return false } // Marker returns the match marker text to use on any line reporting details // about a match of the given ID. // It always returns the hexadecimal format. func Marker(id uint64) string { return string(AppendMarker(nil, id)) } // AppendMarker is like [Marker] but appends the marker to dst. func AppendMarker(dst []byte, id uint64) []byte {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 18:11:19 UTC 2023 - 15.4K bytes - Viewed (0) -
src/cmd/compile/internal/noder/codes.go
) type codeAssign int func (c codeAssign) Marker() pkgbits.SyncMarker { return pkgbits.SyncAssign } func (c codeAssign) Value() int { return int(c) } const ( assignBlank codeAssign = iota assignDef assignExpr ) // A codeDecl distinguishes among declaration encodings. type codeDecl int func (c codeDecl) Marker() pkgbits.SyncMarker { return pkgbits.SyncDecl }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 20:07:46 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/dist/buildtag.go
// license that can be found in the LICENSE file. package main import ( "fmt" "strings" ) // exprParser is a //go:build expression parser and evaluator. // The parser is a trivial precedence-based parser which is still // almost overkill for these very simple expressions. type exprParser struct { x string t exprToken // upcoming token } // val is the value type result of parsing.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 03:35:04 UTC 2021 - 3K bytes - Viewed (0) -
src/cmd/asm/main.go
lexer := lex.NewLexer(f) parser := asm.NewParser(ctxt, architecture, lexer) ctxt.DiagFunc = func(format string, args ...interface{}) { diag = true log.Printf(format, args...) } if *flags.SymABIs { ok = parser.ParseSymABIs(buf) } else { pList := new(obj.Plist) pList.Firstpc, ok = parser.Parse() // reports errors to parser.Errorf if ok { obj.Flushplist(ctxt, pList, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/archive/tar/format.go
// // While this format is compatible with most tar readers, // the format has several limitations making it unsuitable for some usages. // Most notably, it cannot support sparse files, files larger than 8GiB, // filenames larger than 256 characters, and non-ASCII filenames. // // Reference: // http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06 FormatUSTAR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/parse.go
Position Blocks []Block Links map[string]*Link } // A Parser is a Markdown parser. // The exported fields in the struct can be filled in before calling // [Parser.Parse] in order to customize the details of the parsing process. // A Parser is safe for concurrent use by multiple goroutines. type Parser struct { // HeadingIDs determines whether the parser accepts // the {#hdr} syntax for an HTML id="hdr" attribute on headings.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0)