Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for BOUND (4.39 sec)

  1. src/go/types/typeparam.go

    // form other types. Once SetConstraint returns the receiver, t is safe for
    // concurrent use.
    func (t *TypeParam) SetConstraint(bound Type) {
    	if bound == nil {
    		panic("nil constraint")
    	}
    	t.bound = bound
    	// iface may mutate t.bound (if bound is not an interface), so ensure that
    	// this is done before returning.
    	t.iface()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typeparam.go

    // form other types. Once SetConstraint returns the receiver, t is safe for
    // concurrent use.
    func (t *TypeParam) SetConstraint(bound Type) {
    	if bound == nil {
    		panic("nil constraint")
    	}
    	t.bound = bound
    	// iface may mutate t.bound (if bound is not an interface), so ensure that
    	// this is done before returning.
    	t.iface()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                org.eclipse.aether.version.VersionRange.Bound bound = delegate.getUpperBound();
                if (bound == null) {
                    return null;
                }
                return new Boundary() {
                    @Override
                    public Version getVersion() {
                        return new DefaultVersion(versionScheme, bound.getVersion());
                    }
    
                    @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/KtTypeParametersRenderer.kt

                        .flatMap { typeParam ->
                            if (typeParam.upperBounds.size > 1) {
                                typeParam.upperBounds.map { bound -> typeParam to bound }
                            } else {
                                emptyList()
                            }
                        }.ifEmpty { return }
                    " ".separated(
                        {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaReceiverValue.kt

    }
    
    /**
     * An implicit receiver. For example
     * ```
     * class A {
     *   val i: Int = 1
     *   fun test() {
     *     i // implicit receiver bound to class `A`
     *   }
     * }
     *
     * fun String.test() {
     *   length // implicit receiver bound to the `KaReceiverParameterSymbol` of type `String` declared by `test`.
     * }
     * ```
     */
    public class KaImplicitReceiverValue(
        symbol: KaSymbol,
        type: KaType,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r33/BuildActionCompositeBuildCrossVersionSpec.groovy

     * present using either of those methods - pre and post Gradle 6.6.  And when the TAPI or Gradle versions
     * are overridden on the method level, you have to be sure to copy the lower bound down to the method level
     * when setting a new upper bound, otherwise the lower bound is lifted, as the method level annotations
     * replace the class level ones.
     */
    @TargetGradleVersion('>=3.3')
    class BuildActionCompositeBuildCrossVersionSpec extends ToolingApiSpecification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/internal/trace/gc.go

    // tracks various statistics for that function.
    type accumulator struct {
    	mmu float64
    
    	// bound is the mutator utilization bound where adding any
    	// mutator utilization above this bound cannot affect the
    	// accumulated statistics.
    	bound float64
    
    	// Worst N window tracking
    	nWorst int
    	wHeap  utilHeap
    
    	// Mutator utilization distribution tracking
    	mud *mud
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

                    JavaWildcardType wildcardType = (JavaWildcardType) type;
                    wildcardType.getUpperBounds().forEach(bound -> unpackJavaType(bound, referencedTypes, visited));
                    wildcardType.getLowerBounds().forEach(bound -> unpackJavaType(bound, referencedTypes, visited));
                } else if (type instanceof JavaParameterizedType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/go/types/decl.go

    				check.error(f.Type, MisplacedTypeParam, "cannot use a type parameter as constraint")
    				bound = Typ[Invalid]
    			}
    		} else {
    			bound = Typ[Invalid]
    		}
    		for i := range f.Names {
    			tparams[index+i].bound = bound
    		}
    		index += len(f.Names)
    	}
    }
    
    func (check *Checker) bound(x ast.Expr) Type {
    	// A type set literal of the form ~T and A|B may only appear as constraint;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

            void match(ModelNodeInternal node) {
                for (Reference reference : references) {
                    bound(reference, node);
                }
                match = node;
            }
    
            void add(Reference reference) {
                references.add(reference);
                if (match != null) {
                    bound(reference, match);
                }
            }
    
            public void remove() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top