- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 201 for typeName (0.13 sec)
-
src/cmd/compile/internal/types2/check.go
func (check *Checker) brokenAlias(alias *TypeName) { assert(!check.conf.EnableAlias) if check.brokenAliases == nil { check.brokenAliases = make(map[*TypeName]bool) } check.brokenAliases[alias] = true alias.typ = Typ[Invalid] } // validAlias records that alias has the valid type typ (possibly Typ[Invalid]). func (check *Checker) validAlias(alias *TypeName, typ Type) { assert(!check.conf.EnableAlias)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyWriter.kt
bean.uncheckedCast<IConventionAware>() .conventionMapping .getConventionValue<Any?>(fieldValue, field.name, false) private fun Field.debugFrameName() = "${declaringClass.typeName}.$name" private fun Any?.isAssignableTo(type: Class<*>) = (if (type.isPrimitive) wrap(type) else type) .isInstance(this)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases_go122.go
func Unalias(t types.Type) types.Type { return types.Unalias(t) } // newAlias is an internal alias around types.NewAlias. // Direct usage is discouraged as the moment. // Try to use NewAlias instead. func newAlias(tname *types.TypeName, rhs types.Type) *Alias { a := types.NewAlias(tname, rhs) // TODO(go.dev/issue/65455): Remove kludgy workaround to set a.actual as a side-effect. Unalias(a) return a }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 2K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy
it.id("id", "label", GradleCoreProblemGroup.validation()) .additionalData(TypeValidationDataSpec.class) { it.propertyName("property") it.typeName("type") it.parentPropertyName("parent") it.pluginId("id") } } when: def json = gson.toJson([problem])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 08:30:15 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize.cc
enum QuantizationTrait { kFullQuantization, kDynamicRangeQuantization }; // Base struct for quantization. template <QuantizationTrait quantization_trait, typename ConcreteT, typename RootOpT = DequantizeOp> struct TFLQuantizationBase : public quant::QuantizationPattern<ConcreteT, QuantizeOp, DequantizeOp, NumericVerifyOp, RootOpT> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 13.3K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy
solutions == [ 'Assign a value to \'destFile\'', 'Mark property \'destFile\' as optional', ] additionalData.asMap == [ 'typeName' : 'CustomTask', 'propertyName' : 'destFile', ] } verifyAll(receivedProblem(1)) { fqid == 'validation:property-validation:value-not-set'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
inline const char kMlirPh1BridgeCounterNonTpu[] = "cpu/gpu"; inline const char kXlaOutsideCompilation[] = "_xla_outside_compilation"; // Copies attributes that satisfy the given predicate from `from` to `to`. template <typename Predicate> void CopyAttributes(Operation *from, Operation *to, Predicate P) { for (const NamedAttribute &attr : from->getAttrs()) if (P(attr)) to->setAttr(attr.getName(), attr.getValue()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/kube/krt/collection.go
res := hf(ctx, i) if res == nil { return nil } return []O{*res} } o := buildCollectionOptions(opts...) if o.name == "" { o.name = fmt.Sprintf("Collection[%v,%v]", ptr.TypeName[I](), ptr.TypeName[O]()) } return newManyCollection[I, O](c, hm, o) } // NewManyCollection transforms a Collection[I] to a Collection[O] by applying the provided transformation function.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.h
namespace mlir { namespace odml { // Ensure an attribute named attr_name exists and it is of type AttrType. // If so, sets the `out_attr` pointer to point to the casted attribute. template <typename AttrType> bool EnsureAttribute(const DictionaryAttr& composite_attributes, const std::string& attr_name, AttrType* out_attr) { Attribute attr = composite_attributes.get(attr_name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 18:33:05 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.h
// ShapeContainerT is any type with the following methods: // bool hasRank() // ArrayRef<int64_t> getShape() // This includes mlir::TF::ShapeAttr and mlir::ShapedType. template <typename ShapeContainerT> void SetTensorShapeProto(ShapeContainerT shape, TensorShapeProto* proto) { if (shape.hasRank()) { for (int64_t dim : shape.getShape()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 3.9K bytes - Viewed (0)