Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 228 for wasip1 (0.13 sec)

  1. src/internal/syscall/unix/net_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"
    	_ "unsafe"
    )
    
    func RecvfromInet4(fd int, p []byte, flags int, from *syscall.SockaddrInet4) (int, error) {
    	return 0, syscall.ENOSYS
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:17 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/os/error_unix_test.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 os_test
    
    import (
    	"io/fs"
    	"os"
    	"syscall"
    )
    
    func init() {
    	isExistTests = append(isExistTests,
    		isExistTest{err: &fs.PathError{Err: syscall.EEXIST}, is: true, isnot: false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/lock_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 runtime
    
    // wasm has no support for threads yet. There is no preemption.
    // See proposal: https://github.com/WebAssembly/threads
    // Waiting for a mutex or timeout is implemented as a busy loop
    // while allowing other goroutines to run.
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/net/ipsock_posix.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 unix || js || wasip1 || windows
    
    package net
    
    import (
    	"context"
    	"internal/poll"
    	"net/netip"
    	"runtime"
    	"syscall"
    	_ "unsafe" // for linkname
    )
    
    // probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/runtime/stubs2.go

    // Copyright 2014 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 && !darwin && !js && !openbsd && !plan9 && !solaris && !wasip1 && !windows
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // read calls the read system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. test/fixedbugs/issue52127.go

    // run
    
    //go:build !js && !wasip1
    
    // 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.
    
    // Issue 52127: Too many syntax errors in many files can
    // cause deadlocks instead of displaying error messages
    // correctly.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/crypto/rand/rand.go

    //   - On other Unix-like systems, Reader reads from /dev/urandom.
    //   - On Windows, Reader uses the ProcessPrng API.
    //   - On js/wasm, Reader uses the Web Crypto API.
    //   - On wasip1/wasm, Reader uses random_get from wasi_snapshot_preview1.
    var Reader io.Reader
    
    // Read is a helper function that calls Reader.Read using io.ReadFull.
    // On return, n == len(b) if and only if err == nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. test/fixedbugs/issue9355.go

    // run
    
    //go:build !js && !wasip1 && gc
    
    // Copyright 2014 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.
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    )
    
    func main() {
    	err := os.Chdir(filepath.Join("fixedbugs", "issue9355.dir"))
    	check(err)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue21576.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.
    //
    // Ensure that deadlock detection can still
    // run even with an import of "_ os/signal".
    
    package main
    
    import (
    	"bytes"
    	"context"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"time"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modindex/syslist.go

    	"hurd":      true,
    	"illumos":   true,
    	"ios":       true,
    	"js":        true,
    	"linux":     true,
    	"nacl":      true,
    	"netbsd":    true,
    	"openbsd":   true,
    	"plan9":     true,
    	"solaris":   true,
    	"wasip1":    true,
    	"windows":   true,
    	"zos":       true,
    }
    
    // unixOS is the set of GOOS values matched by the "unix" build tag.
    // This is not used for filename matching.
    // This list also appears in cmd/dist/build.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 01:45:58 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top