Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 185 for wasip1 (0.12 sec)

  1. src/net/interface_stub.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
    
    // If the ifindex is zero, interfaceTable returns mappings of all
    // network interfaces. Otherwise it returns a mapping of a specific
    // interface.
    func interfaceTable(ifindex int) ([]Interface, error) {
    	return nil, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 814 bytes
    - Viewed (0)
  2. src/os/file_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"
    
    // PollFD returns the poll.FD of the file.
    //
    // Other packages in std that also import internal/poll (such as net)
    // can use a type assertion to access this extension method so that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:41 UTC 2023
    - 633 bytes
    - Viewed (0)
  3. src/internal/syscall/unix/nonblocking_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" // for go:linkname
    )
    
    func IsNonblock(fd int) (nonblocking bool, err error) {
    	flags, e1 := fd_fdstat_get_flags(fd)
    	if e1 != nil {
    		return false, e1
    	}
    	return flags&syscall.FDFLAG_NONBLOCK != 0, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:12:04 UTC 2023
    - 787 bytes
    - Viewed (0)
  4. src/internal/poll/errno_unix.go

    // 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.
    
    //go:build unix || wasip1
    
    package poll
    
    import "syscall"
    
    // Do the interface allocations only once for common
    // Errno values.
    var (
    	errEAGAIN error = syscall.EAGAIN
    	errEINVAL error = syscall.EINVAL
    	errENOENT error = syscall.ENOENT
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:40 UTC 2023
    - 696 bytes
    - Viewed (0)
  5. src/net/sockoptip_stub.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 setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
    	return syscall.ENOPROTOOPT
    }
    
    func setIPv4MulticastLoopback(fd *netFD, v bool) error {
    	return syscall.ENOPROTOOPT
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 769 bytes
    - Viewed (0)
  6. test/fixedbugs/issue9862_run.go

    // run
    
    //go:build !nacl && !js && !wasip1 && gc
    
    // 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.
    
    // Check for compile or link error.
    
    package main
    
    import (
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	out, err := exec.Command("go", "run", "fixedbugs/issue9862.go").CombinedOutput()
    	outstr := string(out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 662 bytes
    - Viewed (0)
  7. src/internal/poll/fd_fsync_posix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix || dragonfly || freebsd || (js && wasm) || linux || netbsd || openbsd || solaris || wasip1
    
    package poll
    
    import "syscall"
    
    // Fsync wraps syscall.Fsync.
    func (fd *FD) Fsync() error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return ignoringEINTR(func() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:17 UTC 2023
    - 507 bytes
    - Viewed (0)
  8. src/os/dirent_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 (
    	"syscall"
    	"unsafe"
    )
    
    // https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#-dirent-record
    const sizeOfDirent = 24
    
    func direntIno(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/internal/filepathlite/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 filepathlite
    
    import (
    	"internal/bytealg"
    	"internal/stringslite"
    )
    
    const (
    	Separator     = '/' // OS-specific path separator
    	ListSeparator = ':' // OS-specific path list separator
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 935 bytes
    - Viewed (0)
  10. test/fixedbugs/issue19182.go

    // run
    
    //go:build !js && !wasip1
    
    // 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.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    	"sync/atomic"
    	"time"
    )
    
    var a uint64 = 0
    
    func main() {
    	runtime.GOMAXPROCS(2) // With just 1, infinite loop never yields
    
    	go func() {
    		for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 737 bytes
    - Viewed (0)
Back to top