Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for top (0.12 sec)

  1. src/cmd/asm/internal/lex/input.go

    func (in *Input) expectText(args ...interface{}) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    // enabled reports whether the input is enabled by an ifdef, or is at the top level.
    func (in *Input) enabled() bool {
    	return len(in.ifdefStack) == 0 || in.ifdefStack[len(in.ifdefStack)-1]
    }
    
    func (in *Input) expectNewline(directive string) {
    	tok := in.Stack.Next()
    	if tok != '\n' {
    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)
  2. 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)
  3. src/cmd/cgo/ast.go

    	// For now, assume that the only instance of capital C is when
    	// used as the imported package identifier.
    	// The parser should take care of scoping in the future, so
    	// that we will be able to distinguish a "top-level C" from a
    	// local C.
    	if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" {
    		return
    	}
    	if context == ctxAssign2 {
    		context = ctxExpr
    	}
    	if context == ctxEmbedType {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. 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)
Back to top