Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for wasmtime (0.17 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 23 11:13:09 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 385 bytes
    - Viewed (0)
  3. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. cmd/metacache-entries_test.go

    	}
    }
    
    func Test_metaCacheEntries_resolve(t *testing.T) {
    	baseTime, err := time.Parse("2006/01/02", "2015/02/25")
    	if err != nil {
    		t.Fatal(err)
    	}
    	inputs := []xlMetaV2{
    		0: {
    			versions: []xlMetaV2ShallowVersion{
    				{header: xlMetaV2VersionHeader{
    					VersionID: [16]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    					ModTime:   baseTime.Add(30 * time.Minute).UnixNano(),
    					Signature: [4]byte{1, 1, 1, 1},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  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 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Thursday, 01-Jan-70 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Friday, 06-Jun-14 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
        // ANSI C's asctime(): should use GMT, not platform default.
        assertThat("Thu Jan 1 00:00:00 1970".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Fri Jun 6 12:30:30 2014".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. internal/s3select/sql/timestampfuncs.go

    	hasZone := zoneOffset != 0
    	hasFracSecond := t.Nanosecond() != 0
    	hasSecond := t.Second() != 0
    	hasTime := t.Hour() != 0 || t.Minute() != 0
    	hasDay := t.Day() != 1
    	hasMonth := t.Month() != 1
    
    	switch {
    	case hasFracSecond:
    		return t.Format(layoutNanosecond)
    	case hasSecond:
    		return t.Format(layoutSecond)
    	case hasTime || hasZone:
    		return t.Format(layoutMinute)
    	case hasDay:
    		return t.Format(layoutDay)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.lock.withLock {
              TaskRunner.INSTANCE.cancelAll()
            }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/route.go

    	}
    	drc := routeDump.GetDynamicRouteConfigs()
    
    	lastUpdated := time.Unix(0, 0) // get the oldest possible timestamp
    	for i := range drc {
    		if drc[i].LastUpdated != nil {
    			drLastUpdated := drc[i].LastUpdated.AsTime()
    			if drLastUpdated.After(lastUpdated) {
    				lastUpdated = drLastUpdated
    			}
    		}
    	}
    	if lastUpdated.After(time.Unix(0, 0)) { // if a timestamp was obtained from a drc
    		return &lastUpdated, nil
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  10. 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 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
Back to top