Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 237 for typeName (0.14 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/GradleLazyType.java

        }
    
        GradleLazyType(Type type) {
            this.type = type;
        }
    
        public Type asType() {
            return type;
        }
    
        public TypeName asTypeName() {
            return TypeUtils.typeName(type);
        }
    
        public static boolean isAnyOf(Type type) {
            for (GradleLazyType gradleType : values()) {
                if (gradleType.type != null && gradleType.type.equals(type)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

    namespace tensorflow {
    
    namespace {
    
    // Sets type list attribute with the given `name` to the given `types`. If the
    // attribute already exists with a different value, returns an error.
    template <typename ContainerT,
              typename = typename std::enable_if<
                  std::is_same<mlir::Type, decltype(*std::declval<ContainerT>()
                                                         .begin())>::value>::type>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typeparam.go

    // constraint is non-nil, it must be fully defined.
    func NewTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	return (*Checker)(nil).newTypeParam(obj, constraint)
    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	// Always increment lastID, even if it is not used.
    	id := nextID()
    	if check != nil {
    		check.nextID++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/build/relnote/dump.go

    }
    
    func dumpBlocks(bs []md.Block, depth int) {
    	for _, b := range bs {
    		dumpBlock(b, depth)
    	}
    }
    
    func dumpBlock(b md.Block, depth int) {
    	typeName := strings.TrimPrefix(fmt.Sprintf("%T", b), "*markdown.")
    	dprintf(depth, "%s\n", typeName)
    	switch b := b.(type) {
    	case *md.Paragraph:
    		dumpInlines(b.Text.Inline, depth+1)
    	case *md.Heading:
    		dumpInlines(b.Text.Inline, depth+1)
    	case *md.List:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. pkg/ptr/pointer.go

    	return empty
    }
    
    // ToList returns an empty list if t is nil, or a list with a single element
    func ToList[T any](t *T) []T {
    	if t == nil {
    		return nil
    	}
    	return []T{*t}
    }
    
    // TypeName returns the name of the type
    func TypeName[T any]() string {
    	var empty T
    	return fmt.Sprintf("%T", empty)
    }
    
    // Flatten converts a double pointer to a single pointer by referencing if its non-nil
    func Flatten[T any](t **T) *T {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 07 14:56:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/universe.go

    var Unsafe *Package
    
    var (
    	universeIota       Object
    	universeByte       Type // uint8 alias, but has name "byte"
    	universeRune       Type // int32 alias, but has name "rune"
    	universeAnyNoAlias *TypeName
    	universeAnyAlias   *TypeName
    	universeError      Type
    	universeComparable Object
    )
    
    // Typ contains the predeclared *Basic types indexed by their
    // corresponding BasicKind.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/go/types/universe.go

    var Unsafe *Package
    
    var (
    	universeIota       Object
    	universeByte       Type // uint8 alias, but has name "byte"
    	universeRune       Type // int32 alias, but has name "rune"
    	universeAnyNoAlias *TypeName
    	universeAnyAlias   *TypeName
    	universeError      Type
    	universeComparable Object
    )
    
    // Typ contains the predeclared *Basic types indexed by their
    // corresponding BasicKind.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

    //
    // * `QuantizeOpT` should have only one operand.
    // * `DequantizeOpT` should have only one result.
    template <typename ConcreteT, typename QuantizeOpT, typename DequantizeOpT,
              typename VerifierT, typename RootOpT = DequantizeOpT,
              typename = std::enable_if_t<
                  QuantizeOpT::template hasTrait<OpTrait::OneOperand>() &&
                  DequantizeOpT::template hasTrait<OpTrait::OneResult>()>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

      }
      return DenseElementsAttr::get(result_type,
                                    ArrayRef<ElementValueT>(new_values));
    }
    
    template <typename Op, typename ElementType = Type, typename ValType,
              typename Convert>
    static Attribute BinaryFolder(Op *op) {
      auto lhs_op = op->getLhs().template getDefiningOp<mhlo::ConstantOp>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

                    .map(parameter -> ParameterSpec.builder(typeName(parameter.getParameterType()), parameter.getName()).build())
                    .collect(Collectors.toList());
                MethodSpec spec = MethodSpec.methodBuilder(implementation.getName())
                    .addModifiers(Modifier.PUBLIC, Modifier.STATIC)
                    .addParameter(typeName(callable.getOwner().getType()), SELF_PARAMETER_NAME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top