Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 171 for NetBSD (0.11 sec)

  1. src/cmd/vendor/golang.org/x/term/term_unsupported.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 !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !zos && !windows && !solaris && !plan9
    
    package term
    
    import (
    	"fmt"
    	"runtime"
    )
    
    type state struct{}
    
    func isTerminal(fd int) bool {
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/syscall/mksyscall.pl

    if($ARGV[0] eq "-plan9") {
    	$plan9 = 1;
    	shift;
    }
    if($ARGV[0] eq "-darwin") {
    	$darwin = 1;
    	$libc = 1;
    	shift;
    }
    if($ARGV[0] eq "-openbsd") {
    	$openbsd = 1;
    	shift;
    }
    if($ARGV[0] eq "-netbsd") {
    	$netbsd = 1;
    	shift;
    }
    if($ARGV[0] eq "-dragonfly") {
    	$dragonfly = 1;
    	shift;
    }
    if($ARGV[0] eq "-arm") {
    	$arm = 1;
    	shift;
    }
    if($ARGV[0] eq "-libc") {
    	$libc = 1;
    	shift;
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. 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)
  4. src/syscall/exec_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 dragonfly || netbsd || (openbsd && mips64)
    
    package syscall
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    type SysProcAttr struct {
    	Chroot     string      // Chroot.
    	Credential *Credential // Credential.
    	Ptrace     bool        // Enable tracing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. 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)
  6. src/vendor/golang.org/x/net/route/message.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
    
    // A Message represents a routing message.
    type Message interface {
    	// Sys returns operating system-specific information.
    	Sys() []Sys
    }
    
    // A Sys reprensents operating system-specific information.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.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 freebsd || netbsd
    
    package unix
    
    import (
    	"strings"
    	"unsafe"
    )
    
    // Derive extattr namespace and attribute name
    
    func xattrnamespace(fullattr string) (ns int, attr string, err error) {
    	s := strings.IndexByte(fullattr, '.')
    	if s == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. src/cmd/internal/bio/buf_mmap.go

    //
    //	Darwin    unlimited
    //	DragonFly   1000000 (vm.max_proc_mmap)
    //	FreeBSD   unlimited
    //	Linux         65530 (vm.max_map_count) // TODO: query /proc/sys/vm/max_map_count?
    //	NetBSD    unlimited
    //	OpenBSD   unlimited
    var mmapLimit int32 = 1<<31 - 1
    
    func init() {
    	// Linux is the only practically concerning OS.
    	if runtime.GOOS == "linux" {
    		mmapLimit = 30000
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/route/interface.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
    
    // An InterfaceMessage represents an interface message.
    type InterfaceMessage struct {
    	Version int    // message version
    	Type    int    // message type
    	Flags   int    // interface flags
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/route_classic.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
    
    package route
    
    import (
    	"runtime"
    	"syscall"
    )
    
    func (m *RouteMessage) marshal() ([]byte, error) {
    	w, ok := wireFormats[m.Type]
    	if !ok {
    		return nil, errUnsupportedMessage
    	}
    	l := w.bodyOff + addrsSpace(m.Addrs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top