- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 185 for wasip1 (0.11 sec)
-
src/net/sockopt_fake.go
// Copyright 2011 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" func setDefaultSockopts(s, family, sotype int, ipv6only bool) error { return nil } func setDefaultListenerSockopts(s int) error { return nil } func setDefaultMulticastSockopts(s int) error { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 955 bytes - Viewed (0) -
src/os/file_open_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 os import ( "internal/poll" "syscall" ) func open(filePath string, flag int, perm uint32) (int, poll.SysFile, error) { if filePath == "" { return -1, poll.SysFile{}, syscall.EINVAL } absPath := filePath
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 818 bytes - Viewed (0) -
src/net/internal/socktest/switch_unix.go
// Copyright 2015 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 && wasm) || wasip1 package socktest // Sockets maps a socket descriptor to the status of socket. type Sockets map[int]Status func (sw *Switch) sockso(s int) *Status { sw.smu.RLock() defer sw.smu.RUnlock() so, ok := sw.sotab[s] if !ok { return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:10 UTC 2023 - 718 bytes - Viewed (0) -
src/net/hook_unix.go
// Copyright 2015 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 package net import "syscall" var ( testHookCanceledDial = func() {} // for golang.org/issue/16523 hostsFilePath = "/etc/hosts" // Placeholders for socket system calls. socketFunc func(int, int, int) (int, error) = syscall.Socket
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 658 bytes - Viewed (0) -
src/os/pidfd_other.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 (unix && !linux) || (js && wasm) || wasip1 || windows package os import "syscall" func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr { return sysAttr } func getPidfd(_ *syscall.SysProcAttr) (uintptr, bool) { return 0, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 692 bytes - Viewed (0) -
src/os/stat_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 os import ( "internal/filepathlite" "syscall" "time" ) func fillFileStatFromSys(fs *fileStat, name string) { fs.name = filepathlite.Base(name) fs.size = int64(fs.sys.Size) fs.mode = FileMode(fs.sys.Mode)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 990 bytes - Viewed (0) -
src/path/filepath/path_unix.go
// Copyright 2010 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 && wasm) || wasip1 package filepath import ( "strings" ) // HasPrefix exists for historical compatibility and should not be used. // // Deprecated: HasPrefix does not respect path boundaries and // does not ignore case when required.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 970 bytes - Viewed (0) -
test/fixedbugs/issue33275_run.go
// run //go:build !nacl && !js && !wasip1 && !gccgo // Copyright 2019 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. // Make sure we don't get an index out of bounds error // while trying to print a map that is concurrently modified. // The runtime might complain (throw) if it detects the modification, // so we have to run the test as a subprocess.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 717 bytes - Viewed (0) -
src/syscall/timestruct.go
// Copyright 2016 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 && wasm) || wasip1 package syscall // TimespecToNsec returns the time stored in ts as nanoseconds. func TimespecToNsec(ts Timespec) int64 { return ts.Nano() } // NsecToTimespec converts a number of nanoseconds into a [Timespec].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 958 bytes - Viewed (0) -
src/os/signal/signal_unix.go
// Copyright 2012 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 && wasm) || wasip1 || windows package signal import ( "os" "syscall" ) // Defined by the runtime package. func signal_disable(uint32) func signal_enable(uint32) func signal_ignore(uint32) func signal_ignored(uint32) bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 1K bytes - Viewed (0)