Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 264 for deck (0.04 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/_gen/dec.rules

    David Chase <******@****.***> 1697059682 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. test/map.go

    		f := float32(i)
    		{
    			_, b := mib[i]
    			if !b {
    				panic(fmt.Sprintf("tuple existence decl: mib[%d]\n", i))
    			}
    			_, b = mib[i]
    			if !b {
    				panic(fmt.Sprintf("tuple existence assign: mib[%d]\n", i))
    			}
    		}
    		{
    			_, b := mii[i]
    			if !b {
    				panic(fmt.Sprintf("tuple existence decl: mii[%d]\n", i))
    			}
    			_, b = mii[i]
    			if !b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 06 21:02:55 UTC 2014
    - 14.9K bytes
    - Viewed (0)
  6. src/cmd/doc/pkg.go

    				// Now print the consts, vars, and constructors.
    				for _, c := range typ.Consts {
    					if decl := pkg.oneLineNode(c.Decl); decl != "" {
    						pkg.Printf(indent+"%s\n", decl)
    					}
    				}
    				for _, v := range typ.Vars {
    					if decl := pkg.oneLineNode(v.Decl); decl != "" {
    						pkg.Printf(indent+"%s\n", decl)
    					}
    				}
    				for _, constructor := range typ.Funcs {
    					if isExported(constructor.Name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/cgo/ast.go

    	f.Name = make(map[string]*Name)
    	f.NamePos = make(map[*Name]token.Pos)
    
    	// In ast1, find the import "C" line and get any extra C preamble.
    	sawC := false
    	for _, decl := range ast1.Decls {
    		switch decl := decl.(type) {
    		case *ast.GenDecl:
    			for _, spec := range decl.Specs {
    				s, ok := spec.(*ast.ImportSpec)
    				if !ok || s.Path.Value != `"C"` {
    					continue
    				}
    				sawC = true
    				if s.Name != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top