Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for __construct (0.2 sec)

  1. misc/wasm/wasm_exec.js

    					"syscall/js.valueNew": (sp) => {
    						sp >>>= 0;
    						try {
    							const v = loadValue(sp + 8);
    							const args = loadSliceOfValues(sp + 16);
    							const result = Reflect.construct(v, args);
    							sp = this._inst.exports.getsp() >>> 0; // see comment above
    							storeValue(sp + 40, result);
    							this.mem.setUint8(sp + 48, 1);
    						} catch (err) {
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  2. doc/go1.17_spec.html

    it, so these two expressions are equivalent:
    </p>
    
    <pre>
    make([]int, 50, 100)
    new([100]int)[0:50]
    </pre>
    
    <p>
    Like arrays, slices are always one-dimensional but may be composed to construct
    higher-dimensional objects.
    With arrays of arrays, the inner arrays are, by construction, always the same length;
    however with slices of slices (or arrays of slices), the inner lengths may vary dynamically.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/runtime/debug/42888.md

    The [SetCrashOutput] function allows the user to specify an alternate
    file to which the runtime should write its fatal crash report.
    It may be used to construct an automated reporting mechanism for all
    unexpected crashes, not just those in goroutines that explicitly use
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 283 bytes
    - Viewed (0)
  4. doc/go_spec.html

    it, so these two expressions are equivalent:
    </p>
    
    <pre>
    make([]int, 50, 100)
    new([100]int)[0:50]
    </pre>
    
    <p>
    Like arrays, slices are always one-dimensional but may be composed to construct
    higher-dimensional objects.
    With arrays of arrays, the inner arrays are, by construction, always the same length;
    however with slices of slices (or arrays of slices), the inner lengths may vary dynamically.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/endtoend_test.go

    		t.Errorf(format, args...)
    	}
    	pList.Firstpc, ok = parser.Parse()
    	if !ok || failed {
    		t.Errorf("asm: %s assembly failed", goarch)
    		return
    	}
    	output := strings.Split(testOut.String(), "\n")
    
    	// Reconstruct expected output by independently "parsing" the input.
    	data, err := os.ReadFile(input)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    	lineno := 0
    	seq := 0
    	hexByLine := map[string]string{}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/asm.go

    		flag = p.evalInteger("TEXT", operands[1])
    		next++
    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    	// without NOSPLIT. In ABIInternal, obj needs to know the function
    	// signature in order to construct the morestack path, so this
    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top