Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for parare (0.17 sec)

  1. src/cmd/cgo/ast.go

    // 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 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. 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)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/operand_test.go

    	parser.allowABI = true
    	testOperandParser(t, parser, amd64RuntimeOperandTests)
    	testBadOperandParser(t, parser, amd64BadOperandRuntimeTests)
    }
    
    func Test386OperandParser(t *testing.T) {
    	parser := newParser("386")
    	testOperandParser(t, parser, x86OperandTests)
    }
    
    func TestARMOperandParser(t *testing.T) {
    	parser := newParser("arm")
    	testOperandParser(t, parser, armOperandTests)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  4. src/archive/tar/strconv_test.go

    		{"0123456789abcdef", 0, false},
    		{"0123456789\x00abcdef", 0, false},
    		{"01234567\x0089abcdef", 342391, true},
    		{"0123\x7e\x5f\x264123", 0, false},
    	}
    
    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/importer, func Default() types.Importer
    pkg go/importer, func For(string, Lookup) types.Importer
    pkg go/importer, type Lookup func(string) (io.ReadCloser, error)
    pkg go/parser, func ParseExprFrom(*token.FileSet, string, interface{}, Mode) (ast.Expr, error)
    pkg go/types, const Bool = 1
    pkg go/types, const Bool BasicKind
    pkg go/types, const Byte = 8
    pkg go/types, const Byte BasicKind
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    decide which.
    
    The obvious thing for cgo to do is to process the preamble, expanding
    #includes and processing the corresponding C code. That would require
    a full C parser and type checker that was also aware of any extensions
    known to the system compiler (for example, all the GNU C extensions) as
    well as the system-specific header locations and system-specific
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const PTRACE_CONT = 7
    pkg syscall (netbsd-arm64-cgo), const PTRACE_CONT ideal-int
    pkg syscall (netbsd-arm64-cgo), const PTRACE_KILL = 8
    pkg syscall (netbsd-arm64-cgo), const PTRACE_KILL ideal-int
    pkg syscall (netbsd-arm64-cgo), const PTRACE_TRACEME = 0
    pkg syscall (netbsd-arm64-cgo), const PTRACE_TRACEME ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    			b = append(b, byte(c))
    		}
    	}
    	return string(b)
    }
    
    type parser struct {
    	err error // Last error seen
    }
    
    type formatter struct {
    	err error // Last error seen
    }
    
    // parseString parses bytes as a NUL-terminated C-style string.
    // If a NUL byte is not found then the whole slice is returned as a string.
    func (*parser) parseString(b []byte) string {
    	if i := bytes.IndexByte(b, 0); i >= 0 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    		return "", false
    	}
    
    	params := name.FuncType.Params
    	args := call.Call.Args
    	end := call.Call.End()
    
    	// Avoid a crash if the number of arguments doesn't match
    	// the number of parameters.
    	// This will be caught when the generated file is compiled.
    	if len(args) != len(params) {
    		return "", false
    	}
    
    	any := false
    	for i, param := range params {
    		if p.needsPointerCheck(f, param.Go, args[i]) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. lib/time/zoneinfo.zip

    Africa/Banjul Africa/Bissau Africa/Blantyre Africa/Brazzaville Africa/Bujumbura Africa/Cairo Africa/Casablanca Africa/Ceuta Africa/Conakry Africa/Dakar Africa/Dar_es_Salaam Africa/Djibouti Africa/Douala Africa/El_Aaiun Africa/Freetown Africa/Gaborone Africa/Harare Africa/Johannesburg Africa/Juba Africa/Kampala Africa/Khartoum Africa/Kigali Africa/Kinshasa Africa/Lagos Africa/Libreville Africa/Lome Africa/Luanda Africa/Lubumbashi Africa/Lusaka Africa/Malabo Africa/Maputo Africa/Maseru Africa/Mbabane Africa/Mogadishu...
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 392.3K bytes
    - Viewed (1)
Back to top