Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for forType (0.2 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java

            }
        }
    
        @Override
        public <T> ClassGenerator.GeneratedConstructor<? extends T> forParams(Class<T> type, Object[] params) {
            return forType(type);
        }
    
        @Override
        public <T> ClassGenerator.GeneratedConstructor<? extends T> forType(final Class<T> type) throws UnsupportedOperationException {
            CachedConstructor constructor = constructorCache.get(type, () -> {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:52:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultWorkValidationContext.java

        }
    
        @Override
        public InternalProblems getProblemsService() {
            return ProblemsProgressEventEmitterHolder.get();
        }
    
        @Override
        public TypeValidationContext forType(Class<?> type, boolean cacheable) {
            types.add(type);
            Supplier<Optional<PluginId>> pluginId = () -> typeOriginInspector.findPluginDefining(type);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java

        public DefaultProperty(PropertyHost propertyHost, Class<T> type) {
            super(propertyHost);
            this.type = type;
            this.sanitizer = ValueSanitizers.forType(type);
            init(getDefaultValue());
        }
    
        @Override
        protected ProviderInternal<? extends T> getDefaultValue() {
            return Providers.notDefined();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultNodeValidator.java

            // We don't know whether the task is cacheable or not, so we ignore cacheability problems for scheduling
            TypeValidationContext typeValidationContext = validationContext.forType(taskType, false);
            node.getTaskProperties().validateType(typeValidationContext);
            return validationContext;
        }
    
        private void logWarnings(List<? extends Problem> problems) {
            problems.stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ValidateStep.java

            Class<?> workType = workClass.get();
            TypeValidationContext workValidationContext = validationContext.forType(workType, true);
            validateImplementation(workValidationContext, beforeExecutionState.getImplementation(), "Implementation of ", work);
            beforeExecutionState.getAdditionalImplementations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go

    // bar is an object with a string field "bar", an integer field "common", and an integer field "confusion"
    func buildTestEnv() (*cel.Env, error) {
    	fooType := common.SchemaDeclType(simpleMapSchema("foo", spec.StringProperty()), true).MaybeAssignTypeName("fooType")
    	barType := common.SchemaDeclType(simpleMapSchema("bar", spec.Int64Property()), true).MaybeAssignTypeName("barType")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/runtime/tracetype.go

    	}
    	w.flush().end()
    	t.tab.reset()
    }
    
    func dumpTypesRec(node *traceMapNode, w traceExpWriter) traceExpWriter {
    	typ := (*abi.Type)(*(*unsafe.Pointer)(unsafe.Pointer(&node.data[0])))
    	typName := toRType(typ).string()
    
    	// The maximum number of bytes required to hold the encoded type.
    	maxBytes := 1 + 5*traceBytesPerNumber + len(typName)
    
    	// Estimate the size of this record. This
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top