Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for top (0.15 sec)

  1. src/cmd/cgo/doc.go

    generated by cgo. A typical preamble #includes necessary definitions:
    
    	// #include <stdio.h>
    	import "C"
    
    For more details about the usage of cgo, see the documentation
    comment at the top of this file.
    
    Understanding C
    
    Cgo scans the Go source files that import "C" for uses of that
    package, such as C.puts. It collects all such identifiers. The next
    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. doc/godebug.md

    programs listing versions of Go earlier than Go 1.20 are configured to match Go 1.20,
    not the older version.
    
    To override these defaults, a main package's source files
    can include one or more `//go:debug` directives at the top of the file
    (preceding the `package` statement).
    Continuing the `panicnil` example, if the module or workspace is updated
    to say `go` `1.21`, the program can opt back into the old `panic(nil)`
    behavior by including this directive:
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    	<li>The scope of a <a href="#Predeclared_identifiers">predeclared identifier</a> is the universe block.</li>
    
    	<li>The scope of an identifier denoting a constant, type, variable,
    	    or function (but not method) declared at top level (outside any
    	    function) is the package block.</li>
    
    	<li>The scope of the package name of an imported package is the file block
    	    of the file containing the import declaration.</li>
    
    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)
  4. doc/asm.html

    This form is used to name global functions and data.
    Adding <code>&lt;&gt;</code> to the name, as in <span style="white-space: nowrap"><code>foo&lt;&gt;(SB)</code></span>, makes the name
    visible only in the current source file, like a top-level <code>static</code> declaration in a C file.
    Adding an offset to the name refers to that offset from the symbol's address, so
    <code>foo+4(SB)</code> is four bytes past the start of <code>foo</code>.
    </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)
  5. src/cmd/asm/internal/asm/endtoend_test.go

    		output = output[1:]
    	}
    
    	// Checked printing.
    	// Now check machine code layout.
    
    	top := pList.Firstpc
    	var text *obj.LSym
    	ok = true
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    		t.Errorf(format, args...)
    		ok = false
    	}
    	obj.Flushplist(ctxt, pList, nil)
    
    	for p := top; p != nil; p = p.Link {
    		if p.As == obj.ATEXT {
    			text = p.From.Sym
    		}
    		hexes := hexByLine[p.Line()]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  6. doc/go_spec.html

    	<li>The scope of a <a href="#Predeclared_identifiers">predeclared identifier</a> is the universe block.</li>
    
    	<li>The scope of an identifier denoting a constant, type, variable,
    	    or function (but not method) declared at top level (outside any
    	    function) is the package block.</li>
    
    	<li>The scope of the package name of an imported package is the file block
    	    of the file containing the import declaration.</li>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top