Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for illumos (0.14 sec)

  1. src/os/user/getgrouplist_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo && !osusergo && (dragonfly || freebsd || (!android && linux) || netbsd || openbsd || (solaris && !illumos))
    
    package user
    
    /*
    #include <unistd.h>
    #include <sys/types.h>
    #include <grp.h>
    
    static int mygetgrouplist(const char* user, gid_t group, gid_t* groups, int* ngroups) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 657 bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/internal/imports/build.go

    		return prefer
    	}
    
    	if tags[name] {
    		return true
    	}
    
    	switch name {
    	case "linux":
    		return tags["android"]
    	case "solaris":
    		return tags["illumos"]
    	case "darwin":
    		return tags["ios"]
    	case "unix":
    		return unixOS[cfg.BuildContext.GOOS]
    	default:
    		return false
    	}
    }
    
    // eval is like
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  4. src/crypto/rand/rand_getrandom.go

    		//     is returned by a single call to getrandom() on systems where int
    		//     has a size of 32 bits.
    		maxGetRandomRead = (1 << 25) - 1
    	case "dragonfly", "freebsd", "illumos", "solaris":
    		maxGetRandomRead = 1 << 8
    	default:
    		panic("no maximum specified for GetRandom")
    	}
    	altGetRandom = batched(getRandom, maxGetRandomRead)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:26:43 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/net/tcpconn_keepalive_conf_solaris_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 solaris && !illumos
    
    package net
    
    import (
    	"testing"
    	"time"
    )
    
    const (
    	syscall_TCP_KEEPIDLE  = sysTCP_KEEPIDLE
    	syscall_TCP_KEEPCNT   = sysTCP_KEEPCNT
    	syscall_TCP_KEEPINTVL = sysTCP_KEEPINTVL
    )
    
    type fdType = int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/cmd/dist/main.go

    		// uname -m doesn't work under AIX
    		gohostarch = "ppc64"
    	case "plan9":
    		gohostarch = os.Getenv("objtype")
    		if gohostarch == "" {
    			fatalf("$objtype is unset")
    		}
    	case "solaris", "illumos":
    		// Solaris and illumos systems have multi-arch userlands, and
    		// "uname -m" reports the machine hardware name; e.g.,
    		// "i86pc" on both 32- and 64-bit x86 systems.  Check for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. src/net/tcpsock_solaris.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 !illumos
    
    package net
    
    import (
    	"internal/syscall/unix"
    	"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.3K bytes
    - Viewed (0)
Back to top