Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for emit (0.16 sec)

  1. src/cmd/api/main_test.go

    	case *types.Const:
    		if w.isDeprecated(obj) {
    			w.emitf("const %s //deprecated", obj.Name())
    		}
    		w.emitf("const %s %s", obj.Name(), w.typeString(obj.Type()))
    		x := obj.Val()
    		short := x.String()
    		exact := x.ExactString()
    		if short == exact {
    			w.emitf("const %s = %s", obj.Name(), short)
    		} else {
    			w.emitf("const %s = %s  // %s", obj.Name(), short, exact)
    		}
    	case *types.Var:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    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)
  3. misc/wasm/wasm_exec.js

    	const encoder = new TextEncoder("utf-8");
    	const decoder = new TextDecoder("utf-8");
    
    	globalThis.Go = class {
    		constructor() {
    			this.argv = ["js"];
    			this.env = {};
    			this.exit = (code) => {
    				if (code !== 0) {
    					console.warn("exit code:", code);
    				}
    			};
    			this._exitPromise = new Promise((resolve) => {
    				this._resolveExitPromise = resolve;
    			});
    			this._pendingEvent = null;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  4. doc/asm.html

    <pre>
    PCALIGN $32
    MOVD $2, R0
    </pre>
    </p>
    
    <h3 id="data-offsets">Interacting with Go types and constants</h3>
    
    <p>
    If a package has any .s files, then <code>go build</code> will direct
    the compiler to emit a special header called <code>go_asm.h</code>,
    which the .s files can then <code>#include</code>.
    The file contains symbolic <code>#define</code> constants for the
    offsets of Go struct fields, the sizes of Go struct types, and most
    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/testdata/avx512enc/aes_avx512f.s

    // Code generated by avx512test. DO NOT EDIT.
    
    #include "../../../../../../runtime/textflag.h"
    
    TEXT asmtest_aes_avx512f(SB), NOSPLIT, $0
    	VAESDEC X24, X7, X11                               // 62124508ded8 or 6212c508ded8
    	VAESDEC X20, X7, X11                               // 62324508dedc or 6232c508dedc
    	VAESDEC X24, X0, X11                               // 62127d08ded8 or 6212fd08ded8
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue May 22 14:57:15 GMT 2018
    - 29K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    The compiler options are passed through uninterpreted when
    invoking the C compiler to compile the C parts of the package.
    
    The following options are available when running cgo directly:
    
    	-V
    		Print cgo version and exit.
    	-debug-define
    		Debugging option. Print #defines.
    	-debug-gcc
    		Debugging option. Trace C compiler execution and output.
    	-dynimport file
    		Write list of symbols imported by file. Write to
    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)
  7. src/cmd/asm/internal/asm/testdata/avx512enc/avx512_ifma.s

    // Code generated by avx512test. DO NOT EDIT.
    
    #include "../../../../../../runtime/textflag.h"
    
    TEXT asmtest_avx512_ifma(SB), NOSPLIT, $0
    	VPMADD52HUQ X7, X11, K1, X18                       // 62e2a509b5d7
    	VPMADD52HUQ X0, X11, K1, X18                       // 62e2a509b5d0
    	VPMADD52HUQ 17(SP)(BP*2), X11, K1, X18             // 62e2a509b5946c11000000
    	VPMADD52HUQ -7(DI)(R8*4), X11, K1, X18             // 62a2a509b59487f9ffffff
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue May 22 14:57:15 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/avx512enc/avx512_vbmi.s

    // Code generated by avx512test. DO NOT EDIT.
    
    #include "../../../../../../runtime/textflag.h"
    
    TEXT asmtest_avx512_vbmi(SB), NOSPLIT, $0
    	VPERMB X26, X20, K1, X23                           // 62825d018dfa
    	VPERMB X19, X20, K1, X23                           // 62a25d018dfb
    	VPERMB X0, X20, K1, X23                            // 62e25d018df8
    	VPERMB 7(SI)(DI*4), X20, K1, X23                   // 62e25d018dbcbe07000000
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue May 22 14:57:15 GMT 2018
    - 28.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/input.go

    func (in *Input) Error(args ...interface{}) {
    	if panicOnError {
    		panic(fmt.Errorf("%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...)))
    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    func (in *Input) expectText(args ...interface{}) {
    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)
  10. src/builtin/builtin.go

    // execution and running any deferred functions. This continues until all
    // functions in the executing goroutine have stopped, in reverse order. At
    // that point, the program is terminated with a non-zero exit code. This
    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    // Starting in Go 1.21, calling panic with a nil interface value or an
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top