- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 225 for wasip1 (0.31 sec)
-
src/internal/goos/zgoos_wasip1.go
// Code generated by gengoos.go using 'go generate'. DO NOT EDIT. //go:build wasip1 package goos const GOOS = `wasip1` const IsAix = 0 const IsAndroid = 0 const IsDarwin = 0 const IsDragonfly = 0 const IsFreebsd = 0 const IsHurd = 0 const IsIllumos = 0 const IsIos = 0 const IsJs = 0 const IsLinux = 0 const IsNacl = 0 const IsNetbsd = 0 const IsOpenbsd = 0 const IsPlan9 = 0 const IsSolaris = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 30 18:50:57 UTC 2023 - 455 bytes - Viewed (0) -
src/time/sys_unix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix || (js && wasm) || wasip1 package time import ( "errors" "runtime" "syscall" ) // for testing: whatever interrupts a sleep func interrupt() { // There is no mechanism in wasi to interrupt the call to poll_oneoff // used to implement runtime.usleep so this function does nothing, which
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:10 UTC 2023 - 1.4K bytes - Viewed (0) -
src/internal/testenv/testenv_notwin.go
package testenv import ( "fmt" "os" "path/filepath" "runtime" ) func hasSymlink() (ok bool, reason string) { switch runtime.GOOS { case "plan9": return false, "" case "android", "wasip1": // For wasip1, some runtimes forbid absolute symlinks, // or symlinks that escape the current working directory. // Perform a simple test to see whether the runtime // supports symlinks or not. If we get a permission
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 05:22:00 UTC 2023 - 1.1K bytes - Viewed (0) -
src/syscall/dirent.go
} rec := buf[:reclen] buf = buf[reclen:] ino, ok := direntIno(rec) if !ok { break } // See src/os/dir_unix.go for the reason why this condition is // excluded on wasip1. if ino == 0 && runtime.GOOS != "wasip1" { // File absent in directory. continue } const namoff = uint64(unsafe.Offsetof(Dirent{}.Name)) namlen, ok := direntNamlen(rec) if !ok || namoff+namlen > uint64(len(rec)) { break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:13:24 UTC 2024 - 2.4K bytes - Viewed (0) -
src/syscall/net_fake.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Fake networking for js/wasm and wasip1/wasm. //go:build js || wasip1 package syscall const ( AF_UNSPEC = iota AF_UNIX AF_INET AF_INET6 ) const ( SOCK_STREAM = 1 + iota SOCK_DGRAM SOCK_RAW SOCK_SEQPACKET ) const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 883 bytes - Viewed (0) -
src/os/wait_unimp.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // aix, darwin, js/wasm, openbsd, solaris and wasip1/wasm don't implement // waitid/wait6. //go:build aix || darwin || (js && wasm) || openbsd || solaris || wasip1 package os // blockUntilWaitable attempts to block until a call to p.Wait will // succeed immediately, and reports whether it has done so.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 13:16:52 UTC 2023 - 831 bytes - Viewed (0) -
src/runtime/internal/wasitest/nonblock_test.go
// goroutines would be blocked waiting for one read call to return, and the // output order wouldn't match. type fifo struct { file *os.File path string } func TestNonblock(t *testing.T) { if target != "wasip1/wasm" { t.Skip() } switch os.Getenv("GOWASIRUNTIME") { case "wasmer": t.Skip("wasmer does not support non-blocking I/O") } for _, mode := range []string{"os.OpenFile", "os.NewFile"} {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 29 15:35:27 UTC 2023 - 2.4K bytes - Viewed (0) -
src/net/cgo_stub.go
// - on a Unix system without the cgo resolver functions // (Darwin always provides the cgo functions, in cgo_unix_syscall.go) // - on wasip1, where cgo is never available //go:build (netgo && unix) || (unix && !cgo && !darwin) || js || wasip1 package net import "context" // cgoAvailable set to false to indicate that the cgo resolver // is not available on this system. const cgoAvailable = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.3K bytes - Viewed (0) -
src/net/parse_test.go
"bufio" "os" "runtime" "testing" ) func TestReadLine(t *testing.T) { // /etc/services file does not exist on android, plan9, windows, or wasip1 // where it would be required to be mounted from the host file system. switch runtime.GOOS { case "android", "plan9", "windows", "wasip1": t.Skipf("not supported on %s", runtime.GOOS) } filename := "/etc/services" // a nice big file fd, err := os.Open(filename)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 00:04:48 UTC 2024 - 1.6K bytes - Viewed (0) -
src/net/file_test.go
var fileConnTests = []struct { network string }{ {"tcp"}, {"udp"}, {"unix"}, {"unixpacket"}, } func TestFileConn(t *testing.T) { switch runtime.GOOS { case "plan9", "windows", "js", "wasip1": t.Skipf("not supported on %s", runtime.GOOS) } for _, tt := range fileConnTests { if !testableNetwork(tt.network) { t.Logf("skipping %s test", tt.network) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6.4K bytes - Viewed (0)