Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 265 for IsSolaris (0.57 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go

    	// sockcmsg_dragonfly.go
    	switch runtime.GOOS {
    	case "aix":
    		// There is no alignment on AIX.
    		salign = 1
    	case "darwin", "ios", "illumos", "solaris":
    		// NOTE: It seems like 64-bit Darwin, Illumos and Solaris
    		// kernels still require 32-bit aligned access to network
    		// subsystem.
    		if SizeofPtr == 8 {
    			salign = 4
    		}
    	case "netbsd", "openbsd":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/kernel_version_solaris.go

    	if errno != 0 {
    		return 0, 0
    	}
    
    	// The version string is in the form "<version>.<update>.<sru>.<build>.<reserved>"
    	// on Solaris: https://blogs.oracle.com/solaris/post/whats-in-a-uname-
    	// Therefore, we use the Version field on Solaris when available.
    	ver := un.Version[:]
    	if runtime.GOOS == "illumos" {
    		// Illumos distributions use different formats without a parsable
    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/cmd/go/internal/imports/testdata/illumos/f.go

    //go:build solaris
    // +build solaris
    
    package illumos
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 68 bytes
    - Viewed (0)
  4. src/internal/syscall/unix/kernel_version_solaris_test.go

    		}
    	} else { // Solaris
    		if gotSock && gotAccept4 && (major < 11 || (major == 11 && minor < 4)) {
    			t.Fatalf("SupportSockNonblockCloexec and SupportAccept4 are true, but kernel version is older than 11.4, Solaris version: %d.%d", major, minor)
    		}
    		if !gotSock && !gotAccept4 && (major > 11 || (major == 11 && minor >= 4)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_cgo_consistent_results.txt

    [short] skip
    [!cgo] skip
    
    [GOOS:solaris] skip "skipping on Solaris; see golang.org/issue/13247"
    [GOOS:illumos] skip "skipping on Solaris; see golang.org/issue/13247"
    
    go build -o $WORK/exe1$GOEXE cgotest
    go build -x -o $WORK/exe2$GOEXE cgotest
    
    # TODO(matloob): skip if stderr does not contain '-fdebug-prefix-map=\$WORK'
    
    cmp $WORK/exe1$GOEXE $WORK/exe2$GOEXE
    
    -- go.mod --
    module cgotest
    
    go 1.16
    -- m.go --
    package cgotest
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 451 bytes
    - Viewed (0)
  6. src/syscall/syscall_solarisonly.go

    // Copyright 2022 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 syscall
    
    // F_DUP2FD_CLOEXEC has different values on Solaris and Illumos.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:07:18 UTC 2022
    - 304 bytes
    - Viewed (0)
  7. src/net/tcpsockopt_solaris.go

    // license that can be found in the LICENSE file.
    
    //go:build !illumos
    
    package net
    
    import (
    	"internal/syscall/unix"
    	"runtime"
    	"syscall"
    	"time"
    )
    
    // Some macros of TCP Keep-Alive options on Solaris 11.4 may
    // differ from those on OpenSolaris-based derivatives.
    const (
    	sysTCP_KEEPIDLE  = 0x1D
    	sysTCP_KEEPINTVL = 0x1E
    	sysTCP_KEEPCNT   = 0x1F
    )
    
    func setKeepAliveIdle(fd *netFD, d time.Duration) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

    public abstract class OperatingSystem {
        public static final Windows WINDOWS = new Windows();
        public static final MacOs MAC_OS = new MacOs();
        public static final Solaris SOLARIS = new Solaris();
        public static final Linux LINUX = new Linux();
        public static final FreeBSD FREE_BSD = new FreeBSD();
        public static final Unix UNIX = new Unix();
        private static OperatingSystem currentOs;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/os/OperatingSystemTest.groovy

            expect:
            os.findInPath("a") == exe
            os.findInPath("unknown") == null
        }
    
        def "solaris uses prefix of x86 for 32bit intel"() {
            given:
            System.properties['os.arch'] = arch
            def solaris = new OperatingSystem.Solaris()
    
            expect:
            solaris.nativePrefix == prefix
    
            where:
            [arch, prefix] << [['i386', 'sunos-x86'], ['x86', 'sunos-x86']]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. src/net/tcpconn_keepalive_solaris_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 solaris && !illumos
    
    package net
    
    import (
    	"internal/syscall/unix"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func getCurrentKeepAliveSettings(fd fdType) (cfg KeepAliveConfig, err error) {
    	tcpKeepAlive, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_KEEPALIVE)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top