Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for IsWildCard (0.27 sec)

  1. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ModelType.java

         */
        public <U> ModelType<? extends U> asSubtype(ModelType<U> modelType) {
            if (isWildcard()) {
                throw new IllegalStateException(this + " is a wildcard type");
            }
            if (modelType.isWildcard()) {
                throw new IllegalArgumentException(modelType + " is a wildcard type");
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/capture/run_test.go

    	}
    	cases := []struct {
    		name string
    		cidr string
    		v4   NetworkRange
    		v6   NetworkRange
    	}{
    		{
    			name: "wildcard",
    			cidr: "*",
    			v4:   NetworkRange{IsWildcard: true},
    			v6:   NetworkRange{IsWildcard: true},
    		},
    		{
    			name: "v4 only",
    			cidr: "10.0.0.0/8,172.16.0.0/16",
    			v4:   NetworkRange{CIDRs: mkIPList("10.0.0.0/8", "172.16.0.0/16")},
    		},
    		{
    			name: "v6 only",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/reflect/TypeOf.java

         *
         * @return true if this object represents a wildcard type expression.
         * @see #getUpperBound()
         */
        public boolean isWildcard() {
            return type.isWildcard();
        }
    
        /**
         * Returns the first declared upper-bound of the wildcard type expression represented by this type.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/net/unixsock_posix.go

    	case "unixpacket":
    		sotype = syscall.SOCK_SEQPACKET
    	default:
    		return nil, UnknownNetworkError(net)
    	}
    
    	switch mode {
    	case "dial":
    		if laddr != nil && laddr.isWildcard() {
    			laddr = nil
    		}
    		if raddr != nil && raddr.isWildcard() {
    			raddr = nil
    		}
    		if raddr == nil && (sotype != syscall.SOCK_DGRAM || laddr == nil) {
    			return nil, errMissingAddress
    		}
    	case "listen":
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. src/net/dial.go

    		udp      *UDPAddr
    		ip       *IPAddr
    		wildcard bool
    	)
    	switch hint := hint.(type) {
    	case *TCPAddr:
    		tcp = hint
    		wildcard = tcp.isWildcard()
    	case *UDPAddr:
    		udp = hint
    		wildcard = udp.isWildcard()
    	case *IPAddr:
    		ip = hint
    		wildcard = ip.isWildcard()
    	}
    	naddrs := addrs[:0]
    	for _, addr := range addrs {
    		if addr.Network() != hint.Network() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. src/net/ipsock_posix.go

    	switch network[len(network)-1] {
    	case '4':
    		return syscall.AF_INET, false
    	case '6':
    		return syscall.AF_INET6, true
    	}
    
    	if mode == "listen" && (laddr == nil || laddr.isWildcard()) {
    		if supportsIPv4map() || !supportsIPv4() {
    			return syscall.AF_INET6, false
    		}
    		if laddr == nil {
    			return syscall.AF_INET, false
    		}
    		return laddr.family(), 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)
  7. tools/istio-iptables/pkg/capture/run.go

    	}
    }
    
    type NetworkRange struct {
    	IsWildcard    bool
    	CIDRs         []netip.Prefix
    	HasLoopBackIP bool
    }
    
    func split(s string) []string {
    	return config.Split(s)
    }
    
    func (cfg *IptablesConfigurator) separateV4V6(cidrList string) (NetworkRange, NetworkRange, error) {
    	if cidrList == "*" {
    		return NetworkRange{IsWildcard: true}, NetworkRange{IsWildcard: true}, nil
    	}
    	ipv6Ranges := NetworkRange{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. src/net/iprawsock.go

    func (a *IPAddr) String() string {
    	if a == nil {
    		return "<nil>"
    	}
    	ip := ipEmptyString(a.IP)
    	if a.Zone != "" {
    		return ip + "%" + a.Zone
    	}
    	return ip
    }
    
    func (a *IPAddr) isWildcard() bool {
    	if a == nil || a.IP == nil {
    		return true
    	}
    	return a.IP.IsUnspecified()
    }
    
    func (a *IPAddr) opAddr() Addr {
    	if a == nil {
    		return nil
    	}
    	return a
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/types.go

    // ActionType denotes the specific change such as Add, Update or Delete.
    type ClusterEvent struct {
    	Resource   GVK
    	ActionType ActionType
    	Label      string
    }
    
    // IsWildCard returns true if ClusterEvent follows WildCard semantics
    func (ce ClusterEvent) IsWildCard() bool {
    	return ce.Resource == WildCard && ce.ActionType == All
    }
    
    // Match returns true if ClusterEvent is matched with the coming event.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  10. src/net/unixsock.go

    // "unixpacket".
    func (a *UnixAddr) Network() string {
    	return a.Net
    }
    
    func (a *UnixAddr) String() string {
    	if a == nil {
    		return "<nil>"
    	}
    	return a.Name
    }
    
    func (a *UnixAddr) isWildcard() bool {
    	return a == nil || a.Name == ""
    }
    
    func (a *UnixAddr) opAddr() Addr {
    	if a == nil {
    		return nil
    	}
    	return a
    }
    
    // ResolveUnixAddr returns an address of Unix domain socket end point.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top