- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 30 for NetBSD (0.14 sec)
-
src/internal/sysinfo/cpuinfo_bsd.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 || freebsd || netbsd || openbsd package sysinfo import "syscall" func osCPUInfoName() string { cpu, _ := syscall.Sysctl("machdep.cpu.brand_string") return cpu
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 344 bytes - Viewed (0) -
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) -
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) -
src/internal/poll/sock_cloexec.go
// license that can be found in the LICENSE file. // This file implements accept for platforms that provide a fast path for // setting SetNonblock and CloseOnExec. //go:build dragonfly || freebsd || (linux && !arm) || netbsd || openbsd package poll import "syscall" // Wrapper around the accept system call that marks the returned file // descriptor as nonblocking and close-on-exec.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 712 bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_bsd.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 dragonfly || freebsd || netbsd || (openbsd && mips64) package unix import ( "syscall" "unsafe" ) func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:36:52 UTC 2024 - 708 bytes - Viewed (0) -
src/internal/syscall/unix/nofollow_posix.go
// Copyright 2024 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 && !dragonfly && !freebsd && !netbsd package unix import "syscall" // POSIX.1-2008 says it's ELOOP. Most platforms follow: // // - aix: O_NOFOLLOW not documented (https://www.ibm.com/docs/ssw_aix_73/o_bostechref/open.html), assuming ELOOP // - android: see linux
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 933 bytes - Viewed (0) -
src/net/tcpsockopt_unix.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 aix || dragonfly || freebsd || illumos || linux || netbsd package net import ( "runtime" "syscall" "time" ) func setKeepAliveIdle(fd *netFD, d time.Duration) error { if d == 0 { d = defaultTCPKeepAliveIdle } else if d < 0 { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:21 UTC 2024 - 1.3K bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_posix_test.go
// Copyright 2024 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 || illumos || linux || netbsd || windows package net import "time" var testConfigs = []KeepAliveConfig{ { Enable: true, Idle: 5 * time.Second, Interval: 3 * time.Second, Count: 10, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:21 UTC 2024 - 1.5K bytes - Viewed (0) -
src/syscall/getdirentries_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 || freebsd || netbsd || openbsd package syscall_test import ( "fmt" "os" "path/filepath" "slices" "strings" "syscall" "testing" "unsafe" ) func TestGetdirentries(t *testing.T) { for _, count := range []int{10, 1000} {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.1K bytes - Viewed (0) -
src/os/user/listgroups_unix_test.go
// 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) || wasip1 || (!android && linux) || netbsd || openbsd || solaris) && ((!cgo && !darwin) || osusergo)) || aix || illumos package user import ( "fmt" "slices" "strings" "testing" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0)