Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 235 for NetBSD (0.13 sec)

  1. src/internal/poll/fd_fsync_posix.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 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()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:17 UTC 2023
    - 507 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/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)
  7. 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)
  8. 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)
  9. 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)
  10. test/fixedbugs/bug513.go

    // run -race -gcflags=all=-d=checkptr=0
    
    //go:build ((linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)) && cgo
    
    // Copyright 2021 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.
    
    // Although -race turns on -d=checkptr, the explicit -d=checkptr=0
    // should override it.
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 596 bytes
    - Viewed (0)
Back to top