- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for unix (0.13 sec)
-
internal/http/dial_linux.go
{ // Enable big buffers _ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_SNDBUF, opts.SendBufSize) _ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_RCVBUF, opts.RecvBufSize) } // Enable TCP open // https://lwn.net/Articles/508865/ - 32k queue size. _ = syscall.SetsockoptInt(fd, syscall.SOL_TCP, unix.TCP_FASTOPEN, 32*1024) // Enable TCP fast connect
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 4.3K bytes - Viewed (3) -
cni/pkg/iptables/iptables_linux.go
package iptables import ( "errors" "fmt" "net" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" ) func AddInpodMarkIPRule(cfg *Config) error { err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd) if errors.Is(err, unix.EEXIST) { log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err) return nil } return err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
if err != nil { return nil, fmt.Errorf("failed to resolve unix addr: %w", err) } // remove potentially existing address // Remove unix socket before use, if one is leftover from previous CNI restart if err := os.Remove(addr); err != nil && !os.IsNotExist(err) { // Anything other than "file not found" is an error. return nil, fmt.Errorf("failed to remove unix://%s: %w", addr, err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/os/33357.md
The [Stat] function now sets the [ModeSocket] bit for files that are Unix sockets on Windows. These files are identified
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 178 bytes - Viewed (0) -
cmd/erasure-metadata_test.go
{ fis: getNFInfo(16, 16, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil), modTime: time.Unix(1603863445, 0), expectedErr: nil, expectedQuorum: 8, }, { fis: getNFInfo(16, 7, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil), modTime: time.Unix(1603863445, 0), expectedErr: InsufficientReadQuorum{}, expectedQuorum: 8, }, {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 00:31:12 GMT 2024 - 9.1K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
// limitations under the License. package nodeagent import ( "context" "errors" "net/netip" "runtime" "sync/atomic" "testing" "time" "golang.org/x/sys/unix" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/intstr" "istio.io/istio/cni/pkg/ipset" "istio.io/istio/cni/pkg/iptables"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java
*/ private static final String FAMILY_TANDEM = "tandem"; /** * OS family that can be tested for. {@value} */ private static final String FAMILY_UNIX = "unix"; /** * OS family that can be tested for. {@value} */ private static final String FAMILY_OPENVMS = "openvms"; /** * OS family that can be tested for. {@value} */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.3K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
"github.com/vishvananda/netlink" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) func RealNlDeps() NetlinkIpsetDeps { return &realDeps{} } type realDeps struct{} func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error { var family uint8 if v6 { family = unix.AF_INET6 } else { family = unix.AF_INET }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
if err != nil { panic(err) } receivedoob := oob[:oobn] msgs, err := unix.ParseSocketControlMessage(receivedoob) if err != nil { panic(err) } // we should get 0 or 1 oob messages if len(msgs) != 0 { assert.Equal(t, len(msgs), 1) } var fdss []int for _, msg := range msgs { fds, err := unix.ParseUnixRights(&msg) if err != nil { panic(err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/os/61893.md
On Windows, the mode bits reported by [Lstat] and [Stat] for reparse points changed. Mount points no longer have [ModeSymlink] set, and reparse points that are not symlinks, Unix sockets, or dedup files now always have [ModeIrregular] set. This behavior is controlled by the `winsymlink` setting. For Go 1.23, it defaults to `winsymlink=1`.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 386 bytes - Viewed (0)