- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 295 for NetBSD (0.13 sec)
-
src/net/sockoptip_bsdvar.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 aix || darwin || dragonfly || freebsd || netbsd || openbsd || solaris package net import ( "runtime" "syscall" ) func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error { ip, err := interfaceToIPv4Addr(ifi) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 867 bytes - Viewed (0) -
src/net/internal/socktest/sys_cloexec.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 socktest import "syscall" // Accept4 wraps syscall.Accept4. func (sw *Switch) Accept4(s, flags int) (ns int, sa syscall.Sockaddr, err error) { so := sw.sockso(s) if so == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 03 14:38:32 UTC 2022 - 1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/fcntl.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 dragonfly || freebsd || linux || netbsd package unix import "unsafe" // fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux // systems by fcntl_linux_32bit.go to be SYS_FCNTL64. var fcntl64Syscall uintptr = SYS_FCNTL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/cgo/internal/testso/testdata/so/cgoso.go
#cgo linux LDFLAGS: -L. -lcgosotest #cgo dragonfly LDFLAGS: -L. -l cgosotest #cgo freebsd LDFLAGS: -L. -l cgosotest #cgo openbsd LDFLAGS: -L. -l cgosotest #cgo solaris LDFLAGS: -L. -lcgosotest #cgo netbsd LDFLAGS: -L. libcgosotest.so #cgo darwin LDFLAGS: -L. libcgosotest.dylib #cgo windows LDFLAGS: -L. libcgosotest.a #cgo aix LDFLAGS: -L. -l cgosotest void init(void); void sofunc(void); */ import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:41 UTC 2023 - 761 bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/sys.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 ( "syscall" "unsafe" ) var ( nativeEndian binaryByteOrder kernelAlign int rtmVersion byte wireFormats map[int]*wireFormat ) func init() { i := uint32(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 940 bytes - Viewed (0) -
src/internal/syscall/unix/at.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 dragonfly || freebsd || linux || netbsd || (openbsd && mips64) package unix import ( "syscall" "unsafe" ) func Unlinkat(dirfd int, path string, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 19 15:51:18 UTC 2022 - 917 bytes - Viewed (0) -
src/internal/testpty/pty_cgo.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 cgo && (aix || dragonfly || freebsd || (linux && !android) || netbsd || openbsd) package testpty /* #define _XOPEN_SOURCE 600 #include <fcntl.h> #include <stdlib.h> #include <unistd.h> */ import "C" import "os"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 25 18:38:54 UTC 2023 - 840 bytes - Viewed (0) -
src/crypto/rand/rand.go
// // - On Linux, FreeBSD, Dragonfly, and Solaris, Reader uses getrandom(2) // if available, and /dev/urandom otherwise. // - On macOS and iOS, Reader uses arc4random_buf(3). // - On OpenBSD and NetBSD, Reader uses getentropy(2). // - On other Unix-like systems, Reader reads from /dev/urandom. // - On Windows, Reader uses the ProcessPrng API. // - On js/wasm, Reader uses the Web Crypto API.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:02:21 UTC 2024 - 1.5K bytes - Viewed (0) -
src/runtime/runtime_unix_test.go
// Only works on systems with syscall.Close. // We need a fast system call to provoke the race, // and Close(-1) is nearly universally fast. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || plan9 package runtime_test import ( "runtime" "sync" "sync/atomic" "syscall" "testing" ) func TestGoroutineProfile(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/fdset.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 unix // Set adds fd to the set fds. func (fds *FdSet) Set(fd int) { fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS)) } // Clear removes fd from the set fds.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 781 bytes - Viewed (0)