Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for IsWildCard (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/go/internal/modget/get.go

    		} else if q.patternIsLocal {
    			r.localQueries = append(r.localQueries, q)
    		} else if q.isWildcard() {
    			r.wildcardQueries = append(r.wildcardQueries, q)
    		} else {
    			r.pathQueries = append(r.pathQueries, q)
    		}
    
    		if q.version == "none" {
    			// Index "none" queries to make noneForPath more efficient.
    			if q.isWildcard() {
    				r.wildcardNones = append(r.wildcardNones, q)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  8. src/net/tcpsock.go

    	if a == nil {
    		return "<nil>"
    	}
    	ip := ipEmptyString(a.IP)
    	if a.Zone != "" {
    		return JoinHostPort(ip+"%"+a.Zone, itoa.Itoa(a.Port))
    	}
    	return JoinHostPort(ip, itoa.Itoa(a.Port))
    }
    
    func (a *TCPAddr) isWildcard() bool {
    	if a == nil || a.IP == nil {
    		return true
    	}
    	return a.IP.IsUnspecified()
    }
    
    func (a *TCPAddr) opAddr() Addr {
    	if a == nil {
    		return nil
    	}
    	return a
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/queue/scheduling_queue.go

    	queueImmediately
    )
    
    // isEventOfInterest returns true if the event is of interest by some plugins.
    func (p *PriorityQueue) isEventOfInterest(logger klog.Logger, event framework.ClusterEvent) bool {
    	if event.IsWildCard() {
    		return true
    	}
    
    	for _, hintMap := range p.queueingHintMap {
    		for eventToMatch := range hintMap {
    			if eventToMatch.Match(event) {
    				// This event is interested by some plugins.
    				return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top