- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 100 for wasip1 (0.12 sec)
-
src/net/fd_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 net import ( "syscall" ) func (fd *netFD) closeRead() error { if fd.fakeNetFD != nil { return fd.fakeNetFD.closeRead() } return fd.shutdown(syscall.SHUT_RD) } func (fd *netFD) closeWrite() error { if fd.fakeNetFD != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 496 bytes - Viewed (0) -
src/vendor/golang.org/x/net/nettest/nettest.go
// package net of the standard library. switch runtime.GOOS { case "android", "fuchsia", "hurd", "ios", "js", "nacl", "plan9", "wasip1", "windows": return false } case "ip", "ip4", "ip6": switch runtime.GOOS { case "fuchsia", "hurd", "js", "nacl", "plan9", "wasip1": return false default: if os.Getuid() != 0 { return false } } case "unix", "unixgram":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.5K bytes - Viewed (0) -
src/net/net_fake_test.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 net // GOOS=js and GOOS=wasip1 do not have typical socket networking capabilities // found on other platforms. To help run test suites of the stdlib packages, // an in-memory "fake network" facility is implemented. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 2.8K bytes - Viewed (0) -
src/net/tcpsockopt_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 js || wasip1 package net import ( "syscall" "time" ) func setNoDelay(fd *netFD, noDelay bool) error { return syscall.ENOPROTOOPT } func setKeepAliveIdle(fd *netFD, d time.Duration) error { return syscall.ENOPROTOOPT }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 570 bytes - Viewed (0) -
src/cmd/go/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 package mmap import ( "io" "os" ) // mmapFile on other systems doesn't mmap the file. It just reads everything. func mmapFile(f *os.File) (Data, error) { b, err := io.ReadAll(f) if err != nil { return Data{}, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 454 bytes - Viewed (0) -
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/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/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/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)