Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for asTyped (0.26 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

            private final Value<? extends C> value;
    
            public NoValueSupplier(Value<? extends C> value) {
                assert value.isMissing();
                this.value = value.asType();
            }
    
            @Override
            public CollectionSupplier<T, C> absentIgnoring() {
                return Cast.uncheckedCast(emptySupplier());
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/infer.go

    		if isParameterized(tparams, par.typ) || isParameterized(tparams, arg.typ) {
    			// Function parameters are always typed. Arguments may be untyped.
    			// Collect the indices of untyped arguments and handle them later.
    			if isTyped(arg.typ) {
    				if !u.unify(par.typ, arg.typ, assign) {
    					errorf(par.typ, arg.typ, arg)
    					return nil
    				}
    			} else if _, ok := par.typ.(*TypeParam); ok && !arg.isNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. src/go/types/infer.go

    		if isParameterized(tparams, par.typ) || isParameterized(tparams, arg.typ) {
    			// Function parameters are always typed. Arguments may be untyped.
    			// Collect the indices of untyped arguments and handle them later.
    			if isTyped(arg.typ) {
    				if !u.unify(par.typ, arg.typ, assign) {
    					errorf(par.typ, arg.typ, arg)
    					return nil
    				}
    			} else if _, ok := par.typ.(*TypeParam); ok && !arg.isNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Hashing.java

             * CRC32C to Checksum. This may carry some performance cost
             * (https://stackoverflow.com/a/22321671/28465), but I'd have to benchmark more carefully to
             * even detect it.
             */
            return MethodHandles.lookup()
                .findConstructor(clazz, methodType(void.class))
                .asType(methodType(Checksum.class));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/expr.go

    	// not compatible, we report a type mismatch error.
    	mayConvert := func(x, y *operand) bool {
    		// If both operands are typed, there's no need for an implicit conversion.
    		if isTyped(x.typ) && isTyped(y.typ) {
    			return false
    		}
    		// An untyped operand may convert to its default type when paired with an empty interface
    		// TODO(gri) This should only matter for comparisons (the only binary operation that is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  6. src/go/types/expr.go

    	// not compatible, we report a type mismatch error.
    	mayConvert := func(x, y *operand) bool {
    		// If both operands are typed, there's no need for an implicit conversion.
    		if isTyped(x.typ) && isTyped(y.typ) {
    			return false
    		}
    		// An untyped operand may convert to its default type when paired with an empty interface
    		// TODO(gri) This should only matter for comparisons (the only binary operation that is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

    Working with files::
     * You can no longer cast `FileCollection` objects to other types using the `as` keyword or the `asType()` method.
     * You can no longer pass `null` as the configuration action of link:{javadocPath}/org/gradle/api/file/CopySpec.html#from-java.lang.Object-org.gradle.api.Action-[CopySpec.from(Object, Action)].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		return r
    	}
    	return t
    }
    
    func (t *Typed) GoString() string {
    	return t.goString(0, "")
    }
    
    func (t *Typed) goString(indent int, field string) string {
    	return fmt.Sprintf("%*s%sTyped:\n%s\n%s", indent, "", field,
    		t.Name.goString(indent+2, "Name: "),
    		t.Type.goString(indent+2, "Type: "))
    }
    
    // Qualified is a name in a scope.
    type Qualified struct {
    	Scope AST
    	Name  AST
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
Back to top