Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 285 for NetBSD (0.73 sec)

  1. src/net/main_cloexec_test.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 dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package net
    
    import "internal/poll"
    
    func init() {
    	extraTestHookInstallers = append(extraTestHookInstallers, installAccept4TestHook)
    	extraTestHookUninstallers = append(extraTestHookUninstallers, uninstallAccept4TestHook)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 03 14:38:32 UTC 2022
    - 693 bytes
    - Viewed (0)
  2. src/os/sys_bsd.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 darwin || dragonfly || freebsd || (js && wasm) || netbsd || openbsd || wasip1
    
    package os
    
    import "syscall"
    
    func hostname() (name string, err error) {
    	name, err = syscall.Sysctl("kern.hostname")
    	if err != nil {
    		return "", NewSyscallError("sysctl kern.hostname", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 466 bytes
    - Viewed (0)
  3. src/runtime/security_issetugid.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 darwin || dragonfly || freebsd || illumos || netbsd || openbsd || solaris
    
    package runtime
    
    // secureMode is only ever mutated in schedinit, so we don't need to worry about
    // synchronization primitives.
    var secureMode bool
    
    func initSecureMode() {
    	secureMode = issetugid() == 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 502 bytes
    - Viewed (0)
  4. buildscripts/checkdeps.sh

    		exit 1
    		;;
    	esac
    }
    
    assert_is_supported_os() {
    	case "${KNAME}" in
    	Linux | FreeBSD | OpenBSD | NetBSD | DragonFly | SunOS)
    		return
    		;;
    	Darwin)
    		osx_host_version=$(env sw_vers -productVersion)
    		if ! check_minimum_version "${OSX_VERSION}" "${osx_host_version}"; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/syscall/flock_bsd.go

    // Copyright 2018 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 syscall
    
    import "unsafe"
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 475 bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/head.go

    		*h = Haix
    	case "darwin", "ios":
    		*h = Hdarwin
    	case "dragonfly":
    		*h = Hdragonfly
    	case "freebsd":
    		*h = Hfreebsd
    	case "js":
    		*h = Hjs
    	case "linux", "android":
    		*h = Hlinux
    	case "netbsd":
    		*h = Hnetbsd
    	case "openbsd":
    		*h = Hopenbsd
    	case "plan9":
    		*h = Hplan9
    	case "illumos", "solaris":
    		*h = Hsolaris
    	case "wasip1":
    		*h = Hwasip1
    	case "windows":
    		*h = Hwindows
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/nettest/nettest_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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    package nettest
    
    import "syscall"
    
    func supportsRawSocket() bool {
    	for _, af := range []int{syscall.AF_INET, syscall.AF_INET6} {
    		s, err := syscall.Socket(af, syscall.SOCK_RAW, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 526 bytes
    - Viewed (0)
  8. src/os/user/cgo_unix_test.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 (darwin || dragonfly || freebsd || (!android && linux) || netbsd || openbsd || solaris) && cgo && !osusergo
    
    package user
    
    import (
    	"testing"
    )
    
    // Issue 22739
    func TestNegativeUid(t *testing.T) {
    	sp := structPasswdForNegativeTest()
    	u := buildUser(&sp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 595 bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg syscall (netbsd-386), func CheckBpfVersion //deprecated
    pkg syscall (netbsd-386), func FlushBpf //deprecated
    pkg syscall (netbsd-386), func ParseRoutingMessage //deprecated
    pkg syscall (netbsd-386), func ParseRoutingSockaddr //deprecated
    pkg syscall (netbsd-386), func RouteRIB //deprecated
    pkg syscall (netbsd-386), func SetBpf //deprecated
    pkg syscall (netbsd-386), func SetBpfBuflen //deprecated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/sys/cpu/cpu_other_arm64.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 !linux && !netbsd && !openbsd && arm64
    
    package cpu
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 241 bytes
    - Viewed (0)
Back to top