Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for NetBSD (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/net/tcpconn_keepalive_posix_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 || darwin || dragonfly || freebsd || linux || netbsd || windows
    
    package net
    
    import (
    	"syscall"
    	"testing"
    	"time"
    )
    
    func getCurrentKeepAliveSettings(fd fdType) (cfg KeepAliveConfig, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:02:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/syscall/getdirentries_test.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 darwin || freebsd || netbsd || openbsd
    
    package syscall_test
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    func TestGetdirentries(t *testing.T) {
    	for _, count := range []int{10, 1000} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/os/user/listgroups_unix_test.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 || (js && wasm) || wasip1 || (!android && linux) || netbsd || openbsd || solaris) && ((!cgo && !darwin) || osusergo)) || aix || illumos
    
    package user
    
    import (
    	"fmt"
    	"slices"
    	"strings"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. cmd/os_unix.go

    //go:build (linux && !appengine) || darwin || freebsd || netbsd || openbsd
    // +build linux,!appengine darwin freebsd netbsd openbsd
    
    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/archive/tar/stat_unix.go

    		case "freebsd":
    			// Copied from golang.org/x/sys/unix/dev_freebsd.go.
    			major := uint32((dev >> 8) & 0xff)
    			minor := uint32(dev & 0xffff00ff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "netbsd":
    			// Copied from golang.org/x/sys/unix/dev_netbsd.go.
    			major := uint32((dev & 0x000fff00) >> 8)
    			minor := uint32((dev & 0x000000ff) >> 0)
    			minor |= uint32((dev & 0xfff00000) >> 12)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/sys/cpu/cpu_arm64.go

    		{Name: "asimddp", Feature: &ARM64.HasASIMDDP},
    		{Name: "asimdfhm", Feature: &ARM64.HasASIMDFHM},
    	}
    }
    
    func archInit() {
    	switch runtime.GOOS {
    	case "freebsd":
    		readARM64Registers()
    	case "linux", "netbsd", "openbsd":
    		doinit()
    	default:
    		// Many platforms don't seem to allow reading these registers.
    		setMinimalFeatures()
    	}
    }
    
    // setMinimalFeatures fakes the minimal ARM64 features expected by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top