- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 2,335 for idents (0.18 sec)
-
src/go/scanner/scanner_test.go
{"var\n", "var"}, {"foo//comment\n", "IDENT COMMENT ;"}, {"foo//comment", "IDENT COMMENT ;"}, {"foo/*comment*/\n", "IDENT COMMENT ;"}, {"foo/*\n*/", "IDENT COMMENT ;"}, {"foo/*comment*/ \n", "IDENT COMMENT ;"}, {"foo/*\n*/ ", "IDENT COMMENT ;"}, {"foo // comment\n", "IDENT COMMENT ;"}, {"foo // comment", "IDENT COMMENT ;"}, {"foo /*comment*/\n", "IDENT COMMENT ;"}, {"foo /*\n*/", "IDENT COMMENT ;"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/cmd/gofmt/simplify.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 20:06:14 UTC 2022 - 4.8K bytes - Viewed (0) -
src/go/doc/exports.go
func copyConstType(typ ast.Expr, pos token.Pos) ast.Expr { switch typ := typ.(type) { case *ast.Ident: return &ast.Ident{Name: typ.Name, NamePos: pos} case *ast.SelectorExpr: if id, ok := typ.X.(*ast.Ident); ok { // presumably a qualified identifier return &ast.SelectorExpr{ Sel: ast.NewIdent(typ.Sel.Name), X: &ast.Ident{Name: id.Name, NamePos: pos}, } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 8.5K bytes - Viewed (0) -
settings.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 16.4K bytes - Viewed (0) -
src/go/types/resolver.go
// and updates check.objMap. The object must not be a function or method. func (check *Checker) declarePkgObj(ident *ast.Ident, obj Object, d *declInfo) { assert(ident.Name == obj.Name()) // spec: "A package-scope or file-scope identifier with name init // may only be declared to be a function with this (func()) signature." if ident.Name == "init" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0) -
src/text/template/parse/node.go
// The names may be chained ('.x.y'). // The period is dropped from each ident. type FieldNode struct { NodeType Pos tr *Tree Ident []string // The identifiers in lexical order. } func (t *Tree) newField(pos Pos, ident string) *FieldNode { return &FieldNode{tr: t, NodeType: NodeField, Pos: pos, Ident: strings.Split(ident[1:], ".")} // [1:] to drop leading period } func (f *FieldNode) String() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
src/runtime/os_openbsd_syscall1.go
// license that can be found in the LICENSE file. //go:build openbsd && mips64 package runtime //go:noescape func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32 //go:noescape func thrwakeup(ident uintptr, n int32) int32 func osyield() //go:nosplit func osyield_no_g() { osyield()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 441 bytes - Viewed (0) -
src/go/ast/example_test.go
ast.Print(fset, f) // Output: // 0 *ast.File { // 1 . Package: 2:1 // 2 . Name: *ast.Ident { // 3 . . NamePos: 2:9 // 4 . . Name: "main" // 5 . } // 6 . Decls: []ast.Decl (len = 1) { // 7 . . 0: *ast.FuncDecl { // 8 . . . Name: *ast.Ident { // 9 . . . . NamePos: 3:6 // 10 . . . . Name: "main" // 11 . . . . Obj: *ast.Object {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:44:50 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo.go
// a format-specific function to load segment and section headers. ident := make([]byte, 16) if n, err := r.ReadAt(ident, 0); n < len(ident) || err != nil { return "", "", errUnrecognizedFormat } var x exe switch { case bytes.HasPrefix(ident, []byte("\x7FELF")): f, err := elf.NewFile(r) if err != nil { return "", "", errUnrecognizedFormat }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 12.6K bytes - Viewed (0)