Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for specs (0.17 sec)

  1. src/cmd/cgo/ast.go

    			if !ok {
    				ast2.Decls[w] = decl
    				w++
    				continue
    			}
    			ws := 0
    			for _, spec := range d.Specs {
    				s, ok := spec.(*ast.ImportSpec)
    				if !ok || s.Path.Value != `"C"` {
    					d.Specs[ws] = spec
    					ws++
    				}
    			}
    			if ws == 0 {
    				continue
    			}
    			d.Specs = d.Specs[0:ws]
    			ast2.Decls[w] = d
    			w++
    		}
    		ast2.Decls = ast2.Decls[0:w]
    	} else {
    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/cgo/godefs.go

    	for _, r := range f.Ref {
    		refName[r.Expr] = r.Name
    	}
    	for _, d := range f.AST.Decls {
    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    	// Extend overrides using typedefs:
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    	"Subtitle": "Version of Oct 15, 2021",
    	"Path": "/ref/spec"
    }-->
    
    <h2 id="Introduction">Introduction</h2>
    
    <p>
    This is the reference manual for the Go programming language as it was for
    language version 1.17, in October 2021, before the introduction of generics.
    It is provided for historical interest.
    The current reference manual can be found <a href="/doc/go_spec.html">here</a>.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    		// TODO: Handle types defined within function.
    		for _, d := range p.Decl {
    			gd, ok := d.(*ast.GenDecl)
    			if !ok || gd.Tok != token.TYPE {
    				continue
    			}
    			for _, spec := range gd.Specs {
    				ts, ok := spec.(*ast.TypeSpec)
    				if !ok {
    					continue
    				}
    				if ts.Name.Name == t.Name {
    					return p.hasPointer(f, ts.Type, top)
    				}
    			}
    		}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/archive/tar/strconv.go

    	}
    
    	// If seconds is negative, then perform correction.
    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/amd64.s

    	JCS	2(PC)
    	JMP	(AX)(AX*4)
    	JCS	2(PC)
    	JMP	R13
    
    // LTYPEN spec4	{ outcode($1, &$2); }
    	NOP
    	NOP	AX
    	NOP	foo+4(SB)
    
    // LTYPES spec5	{ outcode($1, &$2); }
    	SHLL	CX, R12
    	SHLL	CX, foo+4(SB)
    	// Old syntax, still accepted:
    	SHLL	CX, R11:AX // SHLL CX, AX, R11
    
    // LTYPEM spec6	{ outcode($1, &$2); }
    	MOVL	AX, R11
    	MOVL	$4, R11
    //	MOVL	AX, 0(AX):DS // no longer works - did it ever?
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/11-language-change.yml

        validations:
          required: true
    
      - type: textarea
        id: language-spec-changes
        attributes:
          label: "Language Spec Changes"
          description: "What would change in the language spec?"
        validations:
          required: false
    
      - type: textarea
        id: informal-change
        attributes:
          label: "Informal Change"
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    	paxUid      = "uid"
    	paxGid      = "gid"
    	paxUname    = "uname"
    	paxGname    = "gname"
    	paxMtime    = "mtime"
    	paxAtime    = "atime"
    	paxCtime    = "ctime"   // Removed from later revision of PAX spec, but was valid
    	paxCharset  = "charset" // Currently unused
    	paxComment  = "comment" // Currently unused
    
    	paxSchilyXattr = "SCHILY.xattr."
    
    	// Keywords for GNU sparse files in a PAX extended header.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. api/go1.txt

    pkg go/ast, type SliceExpr struct, Low Expr
    pkg go/ast, type SliceExpr struct, Rbrack token.Pos
    pkg go/ast, type SliceExpr struct, X Expr
    pkg go/ast, type Spec interface, End() token.Pos
    pkg go/ast, type Spec interface, Pos() token.Pos
    pkg go/ast, type Spec interface, unexported methods
    pkg go/ast, type StarExpr struct
    pkg go/ast, type StarExpr struct, Star token.Pos
    pkg go/ast, type StarExpr struct, X Expr
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  10. api/go1.16.txt

    pkg syscall (darwin-arm64), type Inet4Pktinfo struct, Addr [4]uint8
    pkg syscall (darwin-arm64), type Inet4Pktinfo struct, Ifindex uint32
    pkg syscall (darwin-arm64), type Inet4Pktinfo struct, Spec_dst [4]uint8
    pkg syscall (darwin-arm64), type Inet6Pktinfo struct
    pkg syscall (darwin-arm64), type Inet6Pktinfo struct, Addr [16]uint8
    pkg syscall (darwin-arm64), type Inet6Pktinfo struct, Ifindex uint32
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
Back to top