Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,272 for unixOS (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/serving_unix.go

    limitations under the License.
    */
    
    package options
    
    import (
    	"syscall"
    
    	"golang.org/x/sys/unix"
    
    	"k8s.io/klog/v2"
    )
    
    func permitPortReuse(network, addr string, conn syscall.RawConn) error {
    	return conn.Control(func(fd uintptr) {
    		if err := syscall.SetsockoptInt(int(fd), syscall.SOL_SOCKET, unix.SO_REUSEPORT, 1); err != nil {
    			klog.Warningf("failed to set SO_REUSEPORT on socket: %v", err)
    		}
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/pagesize_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    // For Unix, get the pagesize from the runtime.
    
    package unix
    
    import "syscall"
    
    func Getpagesize() int {
    	return syscall.Getpagesize()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 396 bytes
    - Viewed (0)
  3. cmd/erasure-metadata_test.go

    			fis:            getNFInfo(16, 16, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil),
    			modTime:        time.Unix(1603863445, 0),
    			expectedErr:    nil,
    			expectedQuorum: 8,
    		},
    		{
    			fis:            getNFInfo(16, 7, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil),
    			modTime:        time.Unix(1603863445, 0),
    			expectedErr:    InsufficientReadQuorum{},
    			expectedQuorum: 8,
    		},
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/nettest/nettest.go

    // the current platform configuration.
    func TestableAddress(network, address string) bool {
    	switch ss := strings.Split(network, ":"); ss[0] {
    	case "unix", "unixgram", "unixpacket":
    		// Abstract unix domain sockets, a Linux-ism.
    		if address[0] == '@' && runtime.GOOS != "linux" {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/kms-first.yaml

    resources:
      - resources:
          - secrets
        providers:
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
              timeout: 7s
          - kms:
              apiVersion: v2
              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
          - secretbox:
              keys:
                - name: key1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 30 23:18:14 UTC 2023
    - 883 bytes
    - Viewed (0)
  6. src/internal/syscall/unix/constants.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 unix
    
    package unix
    
    const (
    	R_OK = 0x4
    	W_OK = 0x2
    	X_OK = 0x1
    
    	// NoFollowErrno is the error returned from open/openat called with
    	// O_NOFOLLOW flag, when the trailing component (basename) of the path
    	// is a symbolic link.
    	NoFollowErrno = noFollowErrno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 434 bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/capture/run_linux.go

    			// Route all packets marked in chain ISTIODIVERT using routing table ${INBOUND_TPROXY_ROUTE_TABLE}.
    			// Equivalent to `ip rule add fwmark <tproxyMark> lookup <tproxyTable>`
    			families := []int{unix.AF_INET}
    			if cfg.EnableIPv6 {
    				families = append(families, unix.AF_INET6)
    			}
    			for _, family := range families {
    				r := netlink.NewRule()
    				r.Family = family
    				r.Table = tproxyTable
    				r.Mark = tproxyMark
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/net/sock_linux_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"internal/syscall/unix"
    	"testing"
    )
    
    func TestMaxAckBacklog(t *testing.T) {
    	n := 196602
    	major, minor := unix.KernelVersion()
    	backlog := maxAckBacklog(n)
    	expected := 1<<16 - 1
    	if major > 4 || (major == 4 && minor >= 1) {
    		expected = n
    	}
    	if backlog != expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 03 18:39:45 UTC 2022
    - 575 bytes
    - Viewed (0)
  9. src/os/user/getgrouplist_syscall.go

    // license that can be found in the LICENSE file.
    
    //go:build !osusergo && darwin
    
    package user
    
    import (
    	"internal/syscall/unix"
    )
    
    func getGroupList(name *_C_char, userGID _C_gid_t, gids *_C_gid_t, n *_C_int) _C_int {
    	err := unix.Getgrouplist(name, userGID, gids, n)
    	if err != nil {
    		return -1
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 424 bytes
    - Viewed (0)
  10. internal/disk/stat_netbsd.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top