- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 228 for wasip1 (0.14 sec)
-
src/net/error_posix.go
// Copyright 2017 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. //go:build unix || js || wasip1 || windows package net import ( "os" "syscall" ) // wrapSyscallError takes an error and a syscall name. If the error is // a syscall.Errno, it wraps it in an os.SyscallError using the syscall name.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 543 bytes - Viewed (0) -
src/internal/testenv/testenv_notunix.go
// Copyright 2021 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. //go:build windows || plan9 || (js && wasm) || wasip1 package testenv import ( "errors" "io/fs" "os" ) // Sigquit is the signal to send to kill a hanging subprocess. // On Unix we send SIGQUIT, but on non-Unix we only have os.Kill. var Sigquit = os.Kill
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 05:22:00 UTC 2023 - 550 bytes - Viewed (0) -
src/cmd/go/internal/toolchain/exec_stub.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. //go:build js || wasip1 package toolchain import "cmd/go/internal/base" func execGoToolchain(gotoolchain, dir, exe string) { base.Fatalf("execGoToolchain unsupported")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 30 19:11:44 UTC 2023 - 334 bytes - Viewed (0) -
src/internal/platform/zosarch.go
{"openbsd", "arm"}, {"openbsd", "arm64"}, {"openbsd", "mips64"}, {"openbsd", "ppc64"}, {"openbsd", "riscv64"}, {"plan9", "386"}, {"plan9", "amd64"}, {"plan9", "arm"}, {"solaris", "amd64"}, {"wasip1", "wasm"}, {"windows", "386"}, {"windows", "amd64"}, {"windows", "arm"}, {"windows", "arm64"}, } var distInfo = map[OSArch]osArchInfo{ {"aix", "ppc64"}: {CgoSupported: true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 09:19:16 UTC 2024 - 3.8K bytes - Viewed (0) -
src/os/pipe_wasm.go
import "syscall" // Pipe returns a connected pair of Files; reads from r return bytes written to w. // It returns the files and an error, if any. func Pipe() (r *File, w *File, err error) { // Neither GOOS=js nor GOOS=wasip1 have pipes. return nil, nil, NewSyscallError("pipe", syscall.ENOSYS)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 488 bytes - Viewed (0) -
src/net/sock_stub.go
// Copyright 2009 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. //go:build aix || js || solaris || wasip1 package net import "syscall" func maxListenerBacklog() int { // TODO: Implement this // NOTE: Never return a number bigger than 1<<16 - 1. See issue 5030. return syscall.SOMAXCONN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 390 bytes - Viewed (0) -
src/net/rawconn_stub_test.go
// Copyright 2018 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. //go:build js || plan9 || wasip1 package net import ( "errors" "syscall" ) func readRawConn(c syscall.RawConn, b []byte) (int, error) { return 0, errors.New("not supported") } func writeRawConn(c syscall.RawConn, b []byte) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 631 bytes - Viewed (0) -
src/internal/syscall/unix/fcntl_wasip1.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. //go:build wasip1 package unix import "syscall" func Fcntl(fd int, cmd int, arg int) (int, error) { if cmd == syscall.F_GETFL { flags, err := fd_fdstat_get_flags(fd) return int(flags), err } return 0, syscall.ENOSYS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 26 17:59:52 UTC 2023 - 388 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_other.go
// Copyright 2022 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. //go:build (js && wasm) || wasip1 || plan9 || (solaris && !go1.20) package mmap import ( "io" "os" ) // mmapFile on other systems doesn't mmap the file. It just reads everything. func mmapFile(f *os.File, _ *Data) (Data, error) { b, err := io.ReadAll(f) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 21:40:49 UTC 2024 - 540 bytes - Viewed (0) -
src/io/ioutil/ioutil_test.go
} func TestReadOnlyWriteFile(t *testing.T) { if os.Getuid() == 0 { t.Skipf("Root can write to read-only files anyway, so skip the read-only test.") } if runtime.GOOS == "wasip1" { t.Skip("file permissions are not supported by wasip1") } // We don't want to use TempFile directly, since that opens a file for us as 0600. tempDir, err := TempDir("", t.Name()) if err != nil { t.Fatalf("TempDir %s: %v", t.Name(), err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 3.2K bytes - Viewed (0)