Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for familyOf (0.44 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. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/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: Fri Apr 12 10:50:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/syscall/route_bsd.go

    			sas[i] = sa
    			b = b[rsaAlignOf(int(rsa.Len)):]
    		case AF_INET, AF_INET6:
    			sa, err := parseSockaddrInet(b, rsa.Family)
    			if err != nil {
    				return nil, err
    			}
    			sas[i] = sa
    			b = b[rsaAlignOf(int(rsa.Len)):]
    			family = rsa.Family
    		default:
    			sa, err := parseNetworkLayerAddr(b, family)
    			if err != nil {
    				return nil, err
    			}
    			sas[i] = sa
    			b = b[rsaAlignOf(int(b[0])):]
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/net/sock_cloexec_solaris.go

    )
    
    // Wrapper around the socket system call that marks the returned file
    // descriptor as nonblocking and close-on-exec.
    func sysSocket(family, sotype, proto int) (int, error) {
    	// Perform a cheap test and try the fast path first.
    	if unix.SupportSockNonblockCloexec() {
    		s, err := socketFunc(family, sotype|syscall.SOCK_NONBLOCK|syscall.SOCK_CLOEXEC, proto)
    		if err != nil {
    			return -1, os.NewSyscallError("socket", err)
    		}
    		return s, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. 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)
Back to top