Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 295 for NetBSD (0.46 sec)

  1. src/syscall/syscall_ptrace_test.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 darwin || dragonfly || freebsd || linux || netbsd || openbsd
    
    package syscall_test
    
    import (
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"syscall"
    	"testing"
    )
    
    func TestExecPtrace(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	bin, err := exec.LookPath("sh")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 768 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/pagesize_unix.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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    // For Unix, get the pagesize from the runtime.
    
    package unix
    
    import "syscall"
    
    func Getpagesize() int {
    	return syscall.Getpagesize()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 396 bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/route/syscall.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 darwin || dragonfly || freebsd || netbsd || openbsd
    
    package route
    
    import _ "unsafe" // for linkname
    
    //go:linkname sysctl syscall.sysctl
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 396 bytes
    - Viewed (0)
  4. src/net/tcpconn_keepalive_conf_unix_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 aix || dragonfly || freebsd || illumos || linux || netbsd
    
    package net
    
    import (
    	"syscall"
    	"testing"
    )
    
    const (
    	syscall_TCP_KEEPIDLE  = syscall.TCP_KEEPIDLE
    	syscall_TCP_KEEPCNT   = syscall.TCP_KEEPCNT
    	syscall_TCP_KEEPINTVL = syscall.TCP_KEEPINTVL
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 490 bytes
    - Viewed (0)
  5. src/internal/poll/read_test.go

    						time.Sleep(time.Nanosecond)
    					}
    				}(p)
    			}
    		}
    		wg.Wait()
    	})
    }
    
    func specialFiles() []string {
    	var ps []string
    	switch runtime.GOOS {
    	case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd":
    		ps = []string{
    			"/dev/null",
    		}
    	case "linux":
    		ps = []string{
    			"/dev/null",
    			"/proc/stat",
    			"/sys/devices/system/cpu/online",
    		}
    	}
    	nps := ps[:0]
    	for _, p := range ps {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testso/testdata/so/cgoso_unix.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 || dragonfly || freebsd || linux || netbsd || solaris
    
    package cgosotest
    
    /*
    extern int __thread tlsvar;
    int *getTLS() { return &tlsvar; }
    */
    import "C"
    
    func init() {
    	if v := *C.getTLS(); v != 12345 {
    		println("got", v)
    		panic("BAD TLS value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:41 UTC 2023
    - 428 bytes
    - Viewed (0)
  7. test/fixedbugs/issue13265.go

    // errorcheck -0 -race
    
    //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)
    
    // 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.
    
    // Issue 13265: nil pointer deref.
    
    package p
    
    func f() {
        var c chan chan chan int
        for ; ; <-<-<-c {
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 438 bytes
    - Viewed (0)
  8. src/os/sticky_bsd.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 || dragonfly || freebsd || (js && wasm) || netbsd || openbsd || solaris || wasip1
    
    package os
    
    // According to sticky(8), neither open(2) nor mkdir(2) will create
    // a file with the sticky bit set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 425 bytes
    - Viewed (0)
  9. src/os/wait_wait6.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 dragonfly || freebsd || netbsd
    
    package os
    
    import (
    	"runtime"
    	"syscall"
    )
    
    // blockUntilWaitable attempts to block until a call to p.Wait will
    // succeed immediately, and reports whether it has done so.
    // It does not actually call p.Wait.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 781 bytes
    - Viewed (0)
  10. src/net/cgo_sockold.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 cgo && !netgo && (aix || dragonfly || freebsd || netbsd || openbsd)
    
    package net
    
    /*
    #include <sys/types.h>
    #include <sys/socket.h>
    
    #include <netinet/in.h>
    */
    import "C"
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 14:05:39 UTC 2022
    - 842 bytes
    - Viewed (0)
Back to top