- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 285 for NetBSD (0.13 sec)
-
src/cmd/cgo/internal/testcshared/testdata/libgo2/dup2.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 || (linux && !arm64 && !loong64 && !riscv64) || netbsd || openbsd package main import "syscall" func dup2(oldfd, newfd int) error { return syscall.Dup2(oldfd, newfd)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 374 bytes - Viewed (0) -
src/internal/testpty/pty_none.go
// Copyright 2022 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)) && !darwin package testpty import "os" func open() (pty *os.File, processTTY string, err error) { return nil, "", ErrNotSupported
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 19:00:20 UTC 2022 - 391 bytes - Viewed (0) -
src/crypto/rand/rand_getentropy.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 openbsd || netbsd package rand import "internal/syscall/unix" func init() { // getentropy(2) returns a maximum of 256 bytes per call. altGetRandom = batched(unix.GetEntropy, 256)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:02:21 UTC 2024 - 357 bytes - Viewed (0) -
src/runtime/pprof/pprof_rusage.go
"runtime" "syscall" ) // Adds MaxRSS to platforms that are supported. func addMaxRSS(w io.Writer) { var rssToBytes uintptr switch runtime.GOOS { case "aix", "android", "dragonfly", "freebsd", "linux", "netbsd", "openbsd": rssToBytes = 1024 case "darwin", "ios": rssToBytes = 1 case "illumos", "solaris": rssToBytes = uintptr(syscall.Getpagesize()) default: panic("unsupported OS") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 23:58:34 UTC 2022 - 792 bytes - Viewed (0) -
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) -
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/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) -
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/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) -
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)