- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 171 for NetBSD (0.09 sec)
-
src/syscall/export_bsd_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 darwin || dragonfly || freebsd || netbsd || openbsd package syscall import ( "unsafe" ) // pgid should really be pid_t, however _C_int (aka int32) is generally // equivalent. func Tcgetpgrp(fd int) (pgid int32, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 619 bytes - Viewed (0) -
test/fixedbugs/issue24651a.go
//errorcheck -0 -race -m -m //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64) // 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. package main //go:norace func Foo(x int) int { // ERROR "cannot inline Foo: marked go:norace with -race compilation$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 881 bytes - Viewed (0) -
buildscripts/cross-compile.sh
## List of architectures and OS to test coss compilation. SUPPORTED_OSARCH="linux/ppc64le linux/mips64 linux/amd64 linux/arm64 linux/s390x darwin/arm64 darwin/amd64 freebsd/amd64 windows/amd64 linux/arm linux/386 netbsd/amd64 linux/mips openbsd/amd64" } function _build() { local osarch=$1 IFS=/ read -r -a arr <<<"$osarch" os="${arr[0]}" arch="${arr[1]}" package=$(go list -f '{{.ImportPath}}')
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Dec 19 01:08:22 UTC 2023 - 958 bytes - Viewed (0) -
src/internal/syscall/unix/at_fstatat.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 || (linux && !loong64) || netbsd || (openbsd && mips64) package unix import ( "syscall" "unsafe" ) func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error { var p *byte p, err := syscall.BytePtrFromString(path) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 646 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s
// 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. //go:build (darwin || freebsd || netbsd || openbsd) && gc #include "textflag.h" // System call support for ARM64 BSD // Just jump to package syscall's implementation for all these functions. // The runtime may know about them. TEXT ·Syscall(SB),NOSPLIT,$0-56 JMP syscall·Syscall(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 709 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/cmd/vendor/golang.org/x/sys/unix/asm_bsd_386.s
// 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. //go:build (freebsd || netbsd || openbsd) && gc #include "textflag.h" // System call support for 386 BSD // Just jump to package syscall's implementation for all these functions. // The runtime may know about them. TEXT ·Syscall(SB),NOSPLIT,$0-28 JMP syscall·Syscall(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 696 bytes - Viewed (0) -
src/internal/syscall/unix/getentropy_netbsd.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 netbsd package unix import ( "syscall" "unsafe" ) const ( _CTL_KERN = 1 _KERN_ARND = 81 ) func GetEntropy(p []byte) error { mib := [2]uint32{_CTL_KERN, _KERN_ARND} n := uintptr(len(p)) _, _, errno := syscall.Syscall6(
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 19:42:54 UTC 2023 - 779 bytes - Viewed (0) -
src/os/pipe2_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 dragonfly || freebsd || linux || netbsd || openbsd || solaris package os import "syscall" // Pipe returns a connected pair of Files; reads from r return bytes written to w. // It returns the files and an error, if any. func Pipe() (r *File, w *File, err error) { var p [2]int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:47:23 UTC 2024 - 654 bytes - Viewed (0)