- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for cdecl (0.05 sec)
-
src/go/parser/testdata/resolution/resolution.src
// license that can be found in the LICENSE file. package resolution func f /* =@fdecl */(n /* =@narg */ ast.Node) bool { if n /* =@ninit */, ok /* =@ok */ := n /* @narg */ .(*ast.SelectorExpr); ok /* @ok */ { sel = n /* @ninit */ } } type c /* =@cdecl */ map[token.Pos]resolvedObj func (v /* =@vdecl */ c /* @cdecl */) Visit(node /* =@nodearg */ ast.Node) (w /* =@w */ ast.Visitor) {} const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 16 21:19:23 UTC 2021 - 1.5K bytes - Viewed (0) -
src/runtime/sys_windows_386.s
JE docall // Copy args to the stack. MOVL CX, AX SALL $2, AX SUBL AX, SP // room for args MOVL SP, DI MOVL libcall_args(BX), SI CLD REP; MOVSL docall: // Call stdcall or cdecl function. // DI SI BP BX are preserved, SP is not CALL libcall_fn(BX) MOVL BP, SP // Return result. MOVL fn+0(FP), BX MOVL AX, libcall_r1(BX) MOVL DX, libcall_r2(BX) // GetLastError().
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/argposition_test.go
}, }, "doublePointerChecked": []ShortPosition{ ShortPosition{ Line: 42, Column: 91, }, }, } for _, decl := range f.Decls { if fdecl, ok := decl.(*ast.FuncDecl); ok { ast.Walk(&Visitor{expectation, fset, t}, fdecl.Body) } } for ident, positions := range expectation { for _, position := range positions { if !position.Visited {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/nodes.go
Name *Name TParamList []*Field // nil means no type parameters Type *FuncType Body *BlockStmt // nil means no body (forward declaration) decl } ) type decl struct{ node } func (*decl) aDecl() {} // All declarations belonging to the same group point to the same Group node. type Group struct { _ int // not empty so we are guaranteed different Group instances }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 9K bytes - Viewed (0) -
test/decl.go
Alan Donovan <******@****.***> 1360693069 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 12 18:17:49 UTC 2013 - 926 bytes - Viewed (0) -
src/go/printer/performance_test.go
} fileNode = file fileSize = int64(len(src)) for _, decl := range file.Decls { // The first global variable, which is pretty short: // // var unresolved = new(ast.Object) if decl, ok := decl.(*ast.GenDecl); ok && decl.Tok == token.VAR { declNode = decl declSize = int64(fset.Position(decl.End()).Offset - fset.Position(decl.Pos()).Offset) break } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 15:10:10 UTC 2022 - 1.8K bytes - Viewed (0) -
src/go/doc/testdata/template.txt
CONSTANTS {{range .}} {{synopsis .Doc}} {{node .Decl $.FSet}} {{end}}{{end}}{{/* */}}{{with .Vars}} VARIABLES {{range .}} {{synopsis .Doc}} {{node .Decl $.FSet}} {{end}}{{end}}{{/* */}}{{with .Funcs}} FUNCTIONS {{range .}} {{synopsis .Doc}} {{node .Decl $.FSet}} {{end}}{{end}}{{/* */}}{{with .Types}} TYPES {{range .}} {{synopsis .Doc}} {{node .Decl $.FSet}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/mkbuiltin.go
for _, decl := range f.Decls { switch decl := decl.(type) { case *ast.FuncDecl: if decl.Recv != nil { log.Fatal("methods unsupported") } if decl.Body != nil { log.Fatal("unexpected function body") } fmt.Fprintf(w, "{%q, funcTag, %d},\n", decl.Name.Name, interner.intern(decl.Type)) case *ast.GenDecl: if decl.Tok == token.IMPORT {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/internal/goobj/mkbuiltin.go
fmt.Fprintf(w, "var builtins = [...]struct{ name string; abi int }{\n") for _, decl := range f.Decls { switch decl := decl.(type) { case *ast.FuncDecl: if decl.Recv != nil { log.Fatal("methods unsupported") } if decl.Body != nil { log.Fatal("unexpected function body") } declName := pkg + "." + decl.Name.Name decls[declName] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 3.8K bytes - Viewed (0) -
src/internal/types/errors/generrordocs.go
} _, err = conf.Check("types", fset, []*ast.File{file}, info) if err != nil { log.Fatalf("Check failed: %s", err) } for _, decl := range file.Decls { decl, ok := decl.(*ast.GenDecl) if !ok || decl.Tok != token.CONST { continue } for _, spec := range decl.Specs { spec, ok := spec.(*ast.ValueSpec) if !ok || len(spec.Names) == 0 { continue } obj := info.ObjectOf(spec.Names[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 03:14:42 UTC 2023 - 3K bytes - Viewed (0)