- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for WASI (0.03 sec)
-
src/runtime/internal/wasitest/tcpecho_test.go
// cannot access any information about the socket due to limitations // with WASI preview 1 networking, and the WASM runtimes do not log the // port when you pre-open a socket. So, we probe for a free port here. // Given there's an unavoidable race condition, the test is disabled by // default. if os.Getenv("GOWASIENABLERACYTEST") != "1" { t.Skip("skipping WASI test with unavoidable race condition") } var host string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 22:01:11 UTC 2024 - 2.4K bytes - Viewed (0) -
misc/wasm/go_wasip1_wasm_exec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 17:09:10 UTC 2024 - 797 bytes - Viewed (0) -
src/syscall/syscall_wasip1.go
// not have a mechanism to to spawn processes so there is no reason for an // application to take a dependency on this type. type Rusage struct { Utime Timeval Stime Timeval } // ProcAttr is a placeholder to allow compilation of the [os/exec] package // because we need Go programs to be portable across platforms. WASI does
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/runtime/netpoll_wasip1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build wasip1 package runtime import "unsafe" // WASI network poller. // // WASI preview 1 includes a poll_oneoff host function that behaves similarly // to poll(2) on Linux. Like poll(2), poll_oneoff is level triggered. It // accepts one or more subscriptions to FD read or write events. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 6.1K bytes - Viewed (0) -
src/internal/poll/fd_wasip1.go
package poll import ( "internal/byteorder" "sync/atomic" "syscall" "unsafe" ) type SysFile struct { // RefCountPtr is a pointer to the reference count of Sysfd. // // WASI preview 1 lacks a dup(2) system call. When the os and net packages // need to share a file/socket, instead of duplicating the underlying file // descriptor, we instead provide a way to copy FD instances and manage the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:14:02 UTC 2024 - 6.7K bytes - Viewed (0)