Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 295 for NetBSD (0.18 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix_gc.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 && !ppc64 && !ppc64le) || netbsd || openbsd || solaris) && gc
    
    package unix
    
    import "syscall"
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 640 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s

    // 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 (darwin || freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    //
    // System call support for ppc64, BSD
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 716 bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/nbpipe_pipe2.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 dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package runtime
    
    func nonblockingPipe() (r, w int32, errno int32) {
    	return pipe2(_O_NONBLOCK | _O_CLOEXEC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 03 20:47:17 UTC 2022
    - 344 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/term/term_unix_bsd.go

    // Copyright 2013 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 term
    
    import "golang.org/x/sys/unix"
    
    const ioctlReadTermios = unix.TIOCGETA
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 349 bytes
    - Viewed (0)
  6. src/net/interface_bsd.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 darwin || dragonfly || freebsd || netbsd || openbsd
    
    package net
    
    import (
    	"syscall"
    
    	"golang.org/x/net/route"
    )
    
    // If the ifindex is zero, interfaceTable returns mappings of all
    // network interfaces. Otherwise it returns a mapping of a specific
    // interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top