Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for IsWildCard (0.26 sec)

  1. src/net/sockaddr_posix.go

    type sockaddr interface {
    	Addr
    
    	// family returns the platform-dependent address family
    	// identifier.
    	family() int
    
    	// isWildcard reports whether the address is a wildcard
    	// address.
    	isWildcard() bool
    
    	// sockaddr returns the address converted into a syscall
    	// sockaddr type that implements syscall.Sockaddr
    	// interface. It returns a nil interface when the address is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/net/ipsock_plan9.go

    		return nil, err
    	}
    	return newFD(fd.net, name, listen, ctl, data, fd.laddr, raddr)
    }
    
    func isWildcard(a Addr) bool {
    	var wildcard bool
    	switch a := a.(type) {
    	case *TCPAddr:
    		wildcard = a.isWildcard()
    	case *UDPAddr:
    		wildcard = a.isWildcard()
    	case *IPAddr:
    		wildcard = a.isWildcard()
    	}
    	return wildcard
    }
    
    func toLocal(a Addr, net string) Addr {
    	switch a := a.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 20:38:53 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/ModuleExclusions.java

                }
    
                ModuleIdentifier moduleId = rule.getModuleId();
                IvyArtifactName artifact = rule.getArtifact();
                boolean anyOrganisation = isWildcard(moduleId.getGroup());
                boolean anyModule = isWildcard(moduleId.getName());
    
                // Build a strongly typed (mergeable) exclude spec for each supplied rule
                if (artifact == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. src/net/platform_test.go

    		return false
    	}
    	var ip IP
    	var wildcard bool
    	switch addr := addr.(type) {
    	case *TCPAddr:
    		ip = addr.IP
    		wildcard = addr.isWildcard()
    	case *UDPAddr:
    		ip = addr.IP
    		wildcard = addr.isWildcard()
    	case *IPAddr:
    		ip = addr.IP
    		wildcard = addr.isWildcard()
    	}
    
    	// Test wildcard IP addresses.
    	if wildcard && !testenv.HasExternalNetwork() {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. subprojects/core-api/src/test/groovy/org/gradle/api/reflect/TypeOfTest.java

        }
    
        @Test
        public void canRepresentWildcardTypeExpression() {
            TypeOf<?> type = new TypeOf<List<? extends Cloneable>>() {}.getActualTypeArguments().get(0);
    
            assertTrue(type.isWildcard());
            assertEquals(
                type.getUpperBound(),
                new TypeOf<Cloneable>() {});
    
            assertFalse(type.isSimple());
            assertFalse(type.isArray());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsState.groovy

            wildcard ? "DaemonsState{*}" : "DaemonsState{busy=$busy,idle=$idle}"
        }
    
        boolean matches(DaemonsState rhs) {
            wildcard || (this.busy == rhs.busy && this.idle == rhs.idle)
        }
    
        boolean isWildcard() {
            busy < 0
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/KotlinTypeStrings.kt

                "Array<${kotlinTypeStringFor(componentType!!)}>"
            isParameterized ->
                "$parameterizedTypeDefinition<${actualTypeArguments.joinToString(transform = ::kotlinTypeStringFor)}>"
            isWildcard ->
                (upperBound ?: lowerBound)?.let(::kotlinTypeStringFor) ?: "Any"
            else ->
                toString().let { primitiveTypeStrings[it] ?: it }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/gofmt/rewrite.go

    	case reflect.Struct:
    		for i := 0; i < v.NumField(); i++ {
    			e := v.Field(i)
    			set(e, f(e))
    		}
    	case reflect.Interface:
    		e := v.Elem()
    		set(v, f(e))
    	}
    	return val
    }
    
    func isWildcard(s string) bool {
    	rune, size := utf8.DecodeRuneInString(s)
    	return size == len(s) && unicode.IsLower(rune)
    }
    
    // match reports whether pattern matches val,
    // recording wildcard submatches in m.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modget/query.go

    	}
    	if m.Version != q.version {
    		return fmt.Sprintf("%s@%s (%s)", q.pattern, q.version, m.Version)
    	}
    	return q.String()
    }
    
    // isWildcard reports whether q is a pattern that can match multiple paths.
    func (q *query) isWildcard() bool {
    	return q.matchWildcard != nil || (q.patternIsLocal && strings.Contains(q.pattern, "..."))
    }
    
    // matchesPath reports whether the given path matches q.pattern.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top