Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for syntax (0.18 sec)

  1. src/cmd/cgo/doc.go

    together. The directive can include a list of build constraints limiting its
    effect to systems satisfying one of the constraints
    (see https://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax).
    For example:
    
    	// #cgo CFLAGS: -DPNG_DEBUG=1
    	// #cgo amd64 386 CFLAGS: -DX86=1
    	// #cgo LDFLAGS: -lpng
    	// #include <png.h>
    	import "C"
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    			case ')':
    				tok = in.Stack.Next() // First token of macro definition.
    				break Loop
    			case ',':
    				if acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				acceptArg = true
    			case scanner.Ident:
    				if !acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				arg := in.Stack.Text()
    				if i := lookup(args, arg); i >= 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    					goto next
    				}
    			}
    			if tok == scanner.EOF {
    				p.errorf("unexpected EOF")
    				return "", "", nil, false
    			}
    			// Split operands on comma. Also, the old syntax on x86 for a "register pair"
    			// was AX:DX, for which the new syntax is DX, AX. Note the reordering.
    			if tok == '\n' || tok == ';' || (nesting == 0 && (tok == ',' || tok == ':')) {
    				if tok == ':' {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/godefs.go

    				override[id.Name] = new
    			}
    		}
    	}
    
    	// Apply overrides.
    	for old, new := range override {
    		if id := goIdent[old]; id != nil {
    			id.Name = new
    		}
    	}
    
    	// Any names still using the _C syntax are not going to compile,
    	// although in general we don't know whether they all made it
    	// into the file, so we can't warn here.
    	//
    	// The most common case is union types, which begin with
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  5. doc/asm.html

    <a href="https://9p.io/sys/doc/asm.html">elsewhere</a>.
    If you plan to write assembly language, you should read that document although much of it is Plan 9-specific.
    The current document provides a summary of the syntax and the differences with
    what is explained in that document, and
    describes the peculiarities that apply when writing assembly code to interact with Go.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/net/http/66008.md

    name can appear multiple times the returned Values can contain
    more than one value for a given key.
    
    The new [ParseSetCookie] function parses a Set-Cookie header value and
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 17 17:43:50 GMT 2024
    - 359 bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    dependencies.
    </p>
    
    <p>
    The grammar is compact and simple to parse, allowing for easy analysis
    by automatic tools such as integrated development environments.
    </p>
    
    <h2 id="Notation">Notation</h2>
    <p>
    The syntax is specified using Extended Backus-Naur Form (EBNF):
    </p>
    
    <pre class="grammar">
    Production  = production_name "=" [ Expression ] "." .
    Expression  = Alternative { "|" Alternative } .
    Alternative = Term { Term } .
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		defer f.Close()
    		d, err := f.DWARF()
    		if err != nil {
    			fatalf("cannot load DWARF output from %s: %v", gccTmp(), err)
    		}
    		bo := f.ByteOrder
    		if f.Symtab != nil {
    			for i := range f.Symtab.Syms {
    				s := &f.Symtab.Syms[i]
    				switch {
    				case isDebugInts(s.Name):
    					// Found it. Now find data section.
    					if i := int(s.Sect) - 1; 0 <= i && i < len(f.Sections) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. src/cmd/asm/doc.go

    	-spectre list
    		Enable spectre mitigations in list (all, ret).
    	-trimpath prefix
    		Remove prefix from recorded source file paths.
    	-v
    		Print debug output.
    
    Input language:
    
    The assembler uses mostly the same syntax for all architectures,
    the main variation having to do with addressing modes. Input is
    run through a simplified C preprocessor that implements #include,
    #define, #ifdef/endif, but not #if or ##.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/00-bug.yml

    # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
    name: Bugs
    description: The go command, standard library, or anything else
    title: "import/path: issue title"
    
    body:
      - type: markdown
        attributes:
          value: |
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top