Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for reference (0.24 sec)

  1. misc/wasm/wasm_exec.js

    			this._values = [ // JS values that Go currently has references to, indexed by reference id
    				NaN,
    				0,
    				null,
    				true,
    				false,
    				globalThis,
    				this,
    			];
    			this._goRefCounts = new Array(this._values.length).fill(Infinity); // number of references that Go has to a JS value, indexed by reference id
    			this._ids = new Map([ // mapping from JS values to reference ids
    				[0, 1],
    				[null, 2],
    				[true, 3],
    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)
  2. src/cmd/asm/internal/asm/pseudo_test.go

    		{"TEXT", "@B(SB),0,$0", "expected '(', found B"},             // Issue 23580.
    		{"TEXT", "foo<ABIInternal>(SB),0", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    		{"FUNCDATA", "", "expect two operands for FUNCDATA"},
    		{"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
    		{"DATA", "", "expect two operands for DATA"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    	void _cgo_reginit(void) { }
    
    The extra functions here are stubs to satisfy the references in the C
    code generated for gcc. The build process links this stub, along with
    _cgo_export.c and *.cgo2.c, into a dynamic executable and then lets
    cgo examine the executable. Cgo records the list of shared library
    references and resolved names and writes them into a new file
    _cgo_import.go, which looks like:
    
    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)
  4. doc/next/6-stdlib/2-unique.md

    The new [unique](/pkg/unique) package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    		return
    	case "GLOBL", "PCDATA":
    		// No text definitions or symbol references.
    	case "DATA", "FUNCDATA":
    		// For DATA, operands[0] is defined symbol.
    		// For FUNCDATA, operands[0] is an immediate constant.
    		// Remaining operands may have references.
    		if len(operands) < 2 {
    			return
    		}
    		operands = operands[1:]
    	}
    	// Search for symbol references.
    	for _, op := range operands {
    		p.start(op)
    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)
  6. src/cmd/asm/internal/asm/operand_test.go

    	{"[X0,X1,X2,X3]", "register list: expected '-' after `[X0`, found ','"},
    	{"$foo<ABI0>", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    }
    
    var amd64BadOperandRuntimeTests = []badOperandTest{
    	{"$foo<bletch>", "malformed ABI selector \"bletch\" in reference to \"foo\""},
    }
    
    var x86OperandTests = []operandTest{
    	{"$(2.928932188134524e-01)", "$(0.29289321881345243)"},
    	{"$-1", "$-1"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/amd64.s

    	MOVW	foo+32323(SP)(AX*1), DX		// 668b9404437e0000
    	MOVB	foo(SP)(AX*2), AL		// 8a0444
    	MOVB	foo+32(SP)(CX*4), AH		// 8a648c20
    	MOVB	foo+32323(SP)(CX*8), R9		// 448a8ccc437e0000
    
    // Tests for TLS reference.
    	MOVQ	(TLS), AX
    	MOVQ	8(TLS), DX
    
    // LTYPE0 nonnon	{ outcode($1, &$2); }
    	RET // c3
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    <pre>
    func(float32) float32
    </pre>
    
    <p>
    As with <a href="#Selectors">selectors</a>, a reference to a non-interface method with a value receiver
    using a pointer will automatically dereference that pointer: <code>pt.Mv</code> is equivalent to <code>(*pt).Mv</code>.
    </p>
    
    <p>
    As with <a href="#Calls">method calls</a>, a reference to a non-interface method with a pointer receiver
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/ast.go

    		}
    	}
    }
    
    // Save various references we are going to need later.
    func (f *File) saveExprs(x interface{}, context astContext) {
    	switch x := x.(type) {
    	case *ast.Expr:
    		switch (*x).(type) {
    		case *ast.SelectorExpr:
    			f.saveRef(x, context)
    		}
    	case *ast.CallExpr:
    		f.saveCall(x, context)
    	}
    }
    
    // Save references to C.xxx for later processing.
    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)
  10. src/arena/arena.go

    // the runtime manually, though any memory obtained from freed arenas must
    // not be accessed once that happens. An Arena is automatically freed once
    // it is no longer referenced, so it must be kept alive (see runtime.KeepAlive)
    // until any memory allocated from it is no longer needed.
    //
    // An Arena must never be used concurrently by multiple goroutines.
    type Arena struct {
    	a unsafe.Pointer
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
Back to top