Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 100 for wasip1 (0.24 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top