Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 172 for NetBSD (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/os/wait_wait6.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 dragonfly || freebsd || netbsd
    
    package os
    
    import (
    	"runtime"
    	"syscall"
    )
    
    // blockUntilWaitable attempts to block until a call to p.Wait will
    // succeed immediately, and reports whether it has done so.
    // It does not actually call p.Wait.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 781 bytes
    - Viewed (0)
Back to top