Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for wasmtime (0.16 sec)

  1. misc/wasm/go_wasip1_wasm_exec

    		;;
    	"wazero")
    		exec wazero run -mount /:/ -env-inherit -cachedir "${TMPDIR:-/tmp}"/wazero ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmtime" | "")
    		exec wasmtime run --dir=/ --env PWD="$PWD" --env PATH="$PATH" -W max-wasm-stack=1048576 ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	*)
    		echo "Unknown Go WASI runtime specified: $GOWASIRUNTIME"
    		exit 1
    		;;
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 797 bytes
    - Viewed (0)
  2. doc/next/7-ports.md

    support for previous versions has been discontinued.
    
    ### Wasm {#wasm}
    
    <!-- go.dev/issue/63718 -->
    The `go_wasip1_wasm_exec` script in `GOROOT/misc/wasm` has dropped support
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 385 bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    					// func nanotime1() int64
    					"runtime.nanotime1": (sp) => {
    						sp >>>= 0;
    						setInt64(sp + 8, (timeOrigin + performance.now()) * 1000000);
    					},
    
    					// func walltime() (sec int64, nsec int32)
    					"runtime.walltime": (sp) => {
    						sp >>>= 0;
    						const msec = (new Date).getTime();
    						setInt64(sp + 8, msec / 1000);
    						this.mem.setInt32(sp + 16, (msec % 1000) * 1000000, true);
    					},
    
    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. src/archive/tar/common.go

    			format.mustNotBe(FormatGNU)
    		}
    		isMtime := paxKey == paxMtime
    		fitsOctal := fitsInOctal(size, ts.Unix())
    		if (isMtime && !fitsOctal) || !isMtime {
    			whyNoUSTAR = fmt.Sprintf("USTAR cannot encode %s=%v", name, ts)
    			format.mustNotBe(FormatUSTAR)
    		}
    		needsNano := ts.Nanosecond() != 0
    		if !isMtime || !fitsOctal || needsNano {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  5. src/archive/tar/tar_test.go

    		paxHdrs: map[string]string{paxMtime: "8589934592"},
    		formats: FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{ModTime: time.Unix(math.MaxInt64, 0)},
    		paxHdrs: map[string]string{paxMtime: "9223372036854775807"},
    		formats: FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{ModTime: time.Unix(math.MaxInt64, 0), Format: FormatUSTAR},
    		paxHdrs: map[string]string{paxMtime: "9223372036854775807"},
    		formats: FormatUnknown,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    		case paxGid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    			hdr.Gid = int(id64) // Integer overflow possible
    		case paxAtime:
    			hdr.AccessTime, err = parsePAXTime(v)
    		case paxMtime:
    			hdr.ModTime, err = parsePAXTime(v)
    		case paxCtime:
    			hdr.ChangeTime, err = parsePAXTime(v)
    		case paxSize:
    			hdr.Size, err = strconv.ParseInt(v, 10, 64)
    		default:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top