- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for IsSolaris (0.21 sec)
-
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) -
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) -
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) -
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) -
pilot/cmd/pilot-agent/app/fds_unix.go
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // Copyright Istio Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 22:16:26 UTC 2024 - 1.1K bytes - Viewed (0) -
internal/disk/stat_solaris.go
//go:build solaris // +build solaris // 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 // (at your option) any later version. //
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.8K bytes - Viewed (0) -
src/net/tcpconn_keepalive_test.go
}); err != nil { t.Fatal(err) } if errHook != nil { t.Fatal(errHook) } err = c.(*TCPConn).SetKeepAliveConfig(cfg) if err != nil { if runtime.GOOS == "solaris" { // Solaris prior to 11.4 does not support TCP_KEEPINTVL and TCP_KEEPCNT, // so it will return syscall.ENOPROTOOPT when only one of Interval and Count // is negative. This is expected, so skip the error check in this case.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 4.2K bytes - Viewed (0) -
src/internal/poll/sock_cloexec_solaris.go
// This file implements accept for platforms that provide a fast path for // setting SetNonblock and CloseOnExec, but don't necessarily have accept4. // The accept4(3c) function was added to Oracle Solaris in the Solaris 11.4.0 // release. Thus, on releases prior to 11.4, we fall back to the combination // of accept(3c) and fcntl(2). package poll import ( "internal/syscall/unix" "syscall" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 1.5K bytes - Viewed (0) -
src/os/exec_unix_test.go
func TestProcessAlreadyDone(t *testing.T) { // Theoretically MaxInt32 is a valid PID, but the chance of it actually // 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0) -
src/internal/poll/writev.go
// 1024 and this seems conservative enough for now. Darwin's // UIO_MAXIOV also seems to be 1024. maxVec := 1024 if runtime.GOOS == "aix" || runtime.GOOS == "solaris" { // IOV_MAX is set to XOPEN_IOV_MAX on AIX and Solaris. maxVec = 16 } var n int64 var err error for len(*v) > 0 { iovecs = iovecs[:0] for _, chunk := range *v { if len(chunk) == 0 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 1.8K bytes - Viewed (0)