- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 145 for value_dtype (0.3 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/BuildableBackedProvider.java
private final Buildable buildable; private final Class<T> valueType; private final Factory<T> valueFactory; public BuildableBackedProvider(Buildable buildable, Class<T> valueType, Factory<T> valueFactory) { this.buildable = buildable; this.valueType = valueType; this.valueFactory = valueFactory; } @Nullable @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:30 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/software/internal/SoftwareTypeAnnotationHandler.java
Class<?> publicType = softwareType.modelPublicType(); Class<?> valueType = propertyMetadata.getDeclaredType().getRawType(); if (publicType != Void.class && !publicType.isAssignableFrom(valueType)) { validationContext.visitPropertyProblem(problem -> problem
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 19:19:32 UTC 2024 - 3.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultMutableAttributeContainer.java
// check the value type is appropriate. see doInsertion if (provider instanceof ProviderInternal) { Class<T> valueType = Cast.<ProviderInternal<T>>uncheckedCast(provider).getType(); if (valueType != null) { assertAttributeTypeIsValid(valueType, key); } } doInsertionLazy(key, provider); return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 07 20:29:26 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java
PropertyMutator mutator = writeablePropertyIfExists(target, property, valueType); if (mutator != null) { return mutator; } throw new NoSuchPropertyException(String.format("Could not find setter method for property '%s' %s on class %s.",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderTestUtil.java
Class<T> valueType = values.length == 0 ? type : Cast.uncheckedNonnullCast(values[0].getClass()); return new TestProvider<>(valueType, Arrays.asList(values), producer); } public static <T> ProviderInternal<T> withProducerAndChangingExecutionTimeValue(Class<T> type, Task producer, T... values) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 05:02:13 UTC 2024 - 4.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/model/InstantiatorBackedObjectFactory.java
} @Override public <T> Property<T> property(Class<T> valueType) { return new DefaultProperty<>(PropertyHost.NO_OP, valueType); } @Override public <T> ListProperty<T> listProperty(Class<T> elementType) { return new DefaultListProperty<>(PropertyHost.NO_OP, elementType); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 18:56:03 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
return fmt.Errorf("inconsistent samples type count: %d != %d", numSampleTypes, len(p.SampleType)) } } sampleType := make([]*profile.ValueType, numSampleTypes) for i := 0; i < numSampleTypes; i++ { sampleTypes := make([]*profile.ValueType, len(profiles)) for j, p := range profiles { sampleTypes[j] = p.SampleType[i] } sampleType[i], err = CommonValueType(sampleTypes) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/encode.go
} func (p *ValueType) decoder() []decoder { return valueTypeDecoder } func (p *ValueType) encode(b *buffer) { encodeInt64Opt(b, 1, p.typeX) encodeInt64Opt(b, 2, p.unitX) } var valueTypeDecoder = []decoder{ nil, // 0 // optional int64 type = 1 func(b *buffer, m message) error { return decodeInt64(b, &m.(*ValueType).typeX) }, // optional int64 unit = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/c/eager/tfe_monitoring_internal.h
tensorflow::monitoring::GaugeCell<bool> cell; }; template <typename ValueType, int NumLabels> struct TFE_MonitoringGauge { template <typename... LabelDesc> TFE_MonitoringGauge(const char* name, const char* description, LabelDesc&&... label) { gauge = absl::WrapUnique( tensorflow::monitoring::Gauge<ValueType, NumLabels>::New( name, description, label...)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc
Value PackOperand(OpBuilder &builder, Location loc, Value value, int pack_dim) { ShapedType value_type = mlir::cast<ShapedType>(value.getType()); const int rank = value_type.getRank(); SmallVector<int64_t> packed_shape(value_type.getShape().begin(), value_type.getShape().end()); RankedTensorType shape_type = RankedTensorType::get({rank}, builder.getI64Type());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0)