Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for illumos (0.2 sec)

  1. src/net/tcpconn_keepalive_illumos_test.go

    	if cfg.Idle == 0 {
    		cfg.Idle = defaultTCPKeepAliveIdle
    	}
    	if cfg.Interval == 0 {
    		cfg.Interval = defaultTCPKeepAliveInterval
    	}
    	if cfg.Count == 0 {
    		cfg.Count = defaultTCPKeepAliveCount
    	}
    
    	if cfg.Idle == -1 {
    		cfg.Idle = oldCfg.Idle
    	}
    	// Check out the comment on KeepAliveConfig and the illumos code:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/kernel_version_solaris.go

    	ver := un.Version[:]
    	if runtime.GOOS == "illumos" {
    		// Illumos distributions use different formats without a parsable
    		// and unified pattern for the Version field while Release level
    		// string is guaranteed to be in x.y or x.y.z format regardless of
    		// whether the kernel is Solaris or illumos.
    		ver = un.Release[:]
    	}
    
    	parseNext := func() (n int) {
    		for i, c := range ver {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/os/exec_unix_test.go

    	// being used is extremely unlikely.
    	pid := math.MaxInt32
    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		// Solaris/Illumos have a lower limit, above which wait returns
    		// EINVAL (see waitid in usr/src/uts/common/os/exit.c in
    		// illumos). This is configurable via sysconf(_SC_MAXPID), but
    		// we'll just take the default.
    		pid = 30000-1
    	}
    
    	p, err := FindProcess(pid)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/internal/syscall/unix/nofollow_posix.go

    //   - android: see linux
    //   - darwin: https://github.com/apple/darwin-xnu/blob/main/bsd/man/man2/open.2
    //   - hurd: who knows if it works at all (https://www.gnu.org/software/hurd/open_issues/open_symlink.html)
    //   - illumos: https://illumos.org/man/2/open
    //   - ios: see darwin
    //   - linux: https://man7.org/linux/man-pages/man2/openat.2.html
    //   - openbsd: https://man.openbsd.org/open.2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 933 bytes
    - Viewed (0)
  5. 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)
  6. src/internal/platform/zosarch.go

    	{"android", "arm64"},
    	{"darwin", "amd64"},
    	{"darwin", "arm64"},
    	{"dragonfly", "amd64"},
    	{"freebsd", "386"},
    	{"freebsd", "amd64"},
    	{"freebsd", "arm"},
    	{"freebsd", "arm64"},
    	{"freebsd", "riscv64"},
    	{"illumos", "amd64"},
    	{"ios", "amd64"},
    	{"ios", "arm64"},
    	{"js", "wasm"},
    	{"linux", "386"},
    	{"linux", "amd64"},
    	{"linux", "arm"},
    	{"linux", "arm64"},
    	{"linux", "loong64"},
    	{"linux", "mips"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:19:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_stack_unix.c

    #if defined(__GLIBC__) || (defined(__sun) && !defined(__illumos__))
    	// pthread_getattr_np is a GNU extension supported in glibc.
    	// Solaris is not glibc but does support pthread_getattr_np
    	// (and the fallback doesn't work...). Illumos does not.
    	pthread_getattr_np(pthread_self(), &attr);  // GNU extension
    	pthread_attr_getstack(&attr, &addr, &size); // low address
    #elif defined(__illumos__)
    	pthread_attr_get_np(pthread_self(), &attr);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 03:44:11 UTC 2024
    - 1.5K 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/net/tcpsock_unix.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 (!windows && !solaris) || illumos
    
    package net
    
    import "syscall"
    
    // SetKeepAliveConfig configures keep-alive messages sent by the operating system.
    func (c *TCPConn) SetKeepAliveConfig(config KeepAliveConfig) error {
    	if !c.ok() {
    		return syscall.EINVAL
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top