Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for familyOf (0.17 sec)

  1. pkg/registry/core/service/storage/storage_test.go

    	}
    
    	for i, fam := range after.Spec.IPFamilies {
    		if want, got := fam, familyOf(after.Spec.ClusterIPs[i]); want != got {
    			t.Errorf("%s: clusterIP is the wrong IP family: want %s, got %s", callName(before, after), want, got)
    		}
    	}
    
    	if after.Spec.IPFamilyPolicy == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

         * given OS family.
         *
         * @param family the family to check for
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family) {
            return isFamily(family, OS_NAME);
        }
    
        /**
         * Determines if the OS on which Maven is executing matches the
         * given OS family derived from the given OS name
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. pkg/proxy/util/nodeport_addresses.go

    // NewNodePortAddresses takes an IP family and the `--nodeport-addresses` value (which is
    // assumed to contain only valid CIDRs, potentially of both IP families) and returns a
    // NodePortAddresses object for the given family. If there are no CIDRs of the given
    // family then the CIDR "0.0.0.0/0" or "::/0" will be added (even if there are CIDRs of
    // the other family).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/net/iprawsock_posix.go

    	}
    	return nil
    }
    
    func (a *IPAddr) family() int {
    	if a == nil || len(a.IP) <= IPv4len {
    		return syscall.AF_INET
    	}
    	if a.IP.To4() != nil {
    		return syscall.AF_INET
    	}
    	return syscall.AF_INET6
    }
    
    func (a *IPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
    	if a == nil {
    		return nil, nil
    	}
    	return ipToSockaddr(family, a.IP, 0, a.Zone)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/net/ipsock_posix.go

    		if supportsIPv4map() || !supportsIPv4() {
    			return syscall.AF_INET6, false
    		}
    		if laddr == nil {
    			return syscall.AF_INET, false
    		}
    		return laddr.family(), false
    	}
    
    	if (laddr == nil || laddr.family() == syscall.AF_INET) &&
    		(raddr == nil || raddr.family() == syscall.AF_INET) {
    		return syscall.AF_INET, false
    	}
    	return syscall.AF_INET6, false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/net/udpsock_posix.go

    	}
    	return nil
    }
    
    func (a *UDPAddr) family() int {
    	if a == nil || len(a.IP) <= IPv4len {
    		return syscall.AF_INET
    	}
    	if a.IP.To4() != nil {
    		return syscall.AF_INET
    	}
    	return syscall.AF_INET6
    }
    
    func (a *UDPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
    	if a == nil {
    		return nil, nil
    	}
    	return ipToSockaddr(family, a.IP, a.Port, a.Zone)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    				}
    				prog.Reg = reg
    			}
    			break
    		}
    		if p.arch.Family == sys.MIPS || p.arch.Family == sys.MIPS64 || p.arch.Family == sys.RISCV64 {
    			// 3-operand jumps.
    			// First two must be registers
    			target = &a[2]
    			prog.From = a[0]
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			break
    		}
    		if p.arch.Family == sys.Loong64 {
    			// 3-operand jumps.
    			// First two must be registers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. docs/en/docs/css/termynal.css

    [data-termynal] {
        width: 750px;
        max-width: 100%;
        background: var(--color-bg);
        color: var(--color-text);
        /* font-size: 18px; */
        font-size: 15px;
        /* font-family: 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; */
        font-family: 'Roboto Mono', 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace;
        border-radius: 4px;
        padding: 75px 45px 35px;
        position: relative;
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. cni/pkg/ipset/nldeps_linux.go

    }
    
    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
    	}
    	err := netlink.IpsetCreate(name, "hash:ip", netlink.IpsetCreateOptions{Comments: true, Replace: true, Family: family})
    	if ipsetErr, ok := err.(nl.IPSetError); ok && ipsetErr == nl.IPSET_ERR_EXIST {
    		return nil
    	}
    
    	return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/controller/repairip.go

    func newIPAddress(name string, svc *v1.Service) *networkingv1alpha1.IPAddress {
    	family := string(v1.IPv4Protocol)
    	if netutils.IsIPv6String(name) {
    		family = string(v1.IPv6Protocol)
    	}
    	return &networkingv1alpha1.IPAddress{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    			Labels: map[string]string{
    				networkingv1alpha1.LabelIPAddressFamily: family,
    				networkingv1alpha1.LabelManagedBy:       ipallocator.ControllerName,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top