Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for NetBSD (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/internal/syscall/unix/nofollow_posix.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 unix && !dragonfly && !freebsd && !netbsd
    
    package unix
    
    import "syscall"
    
    // POSIX.1-2008 says it's ELOOP. Most platforms follow:
    //
    //   - aix: O_NOFOLLOW not documented (https://www.ibm.com/docs/ssw_aix_73/o_bostechref/open.html), assuming ELOOP
    //   - android: see linux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 933 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/link/internal/ld/elf.go

    	out.Write32(namesz)
    	out.Write32(descsz)
    	out.Write32(tag)
    
    	return sh
    }
    
    // NetBSD Signature (as per sys/exec_elf.h)
    const (
    	ELF_NOTE_NETBSD_NAMESZ  = 7
    	ELF_NOTE_NETBSD_DESCSZ  = 4
    	ELF_NOTE_NETBSD_TAG     = 1
    	ELF_NOTE_NETBSD_VERSION = 700000000 /* NetBSD 7.0 */
    )
    
    var ELF_NOTE_NETBSD_NAME = []byte("NetBSD\x00")
    
    func elfnetbsdsig(sh *ElfShdr, startva uint64, resoff uint64) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top