Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for XClass (0.1 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/ConfigureLambdaHandler.kt

        private
        fun configureLambdaTypeFor(configuredType: KType) =
            Function1::class.createType(
                listOf(
                    KTypeProjection.contravariant(configuredType),
                    KTypeProjection(KVariance.INVARIANT, Unit::class.createType())
                )
            )
    }
    
    
    class CompositeConfigureLambdas(internal val implementations: List<ConfigureLambdaHandler>) : ConfigureLambdaHandler {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/internal/Transformers.java

         */
        public static <T> Transformer<Class<T>, T> type() {
            return new Transformer<Class<T>, T>() {
                @Override
                public Class<T> transform(T original) {
                    @SuppressWarnings("unchecked")
                    Class<T> aClass = (Class<T>) original.getClass();
                    return aClass;
                }
            };
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 15 23:29:03 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_with_control_flow.mlir

        %LoopCond, %ctl_6 = LoopCond(%Less) name("while/LoopCond") : (tensor<*xi1>) -> (tensor<*xi1>)
        %Switch:2, %ctl_7 = Switch(%Merge#0, %LoopCond) name("while/Switch") {T = i32, _class = ["loc:@while/Merge"]} : (tensor<*xi32>, tensor<*xi1>) -> (tensor<*xi32>, tensor<*xi32>)
        %Identity, %ctl_8 = Identity(%Switch#1) name("while/Identity") {T = i32} : (tensor<*xi32>) -> (tensor<*xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 06 18:31:38 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_splits.cc

    #define GEN_PASS_DEF_TPUCOLOCATESPLITSPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    constexpr char kDeviceAttr[] = "device";
    // Attribute of colocation classes.
    constexpr char kClassAttr[] = "_class";
    
    bool HasDevice(Operation* op) {
      auto attr = op->getAttrOfType<StringAttr>(kDeviceAttr);
      if (!attr) return false;
      return !attr.getValue().empty();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 18:44:34 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-while-loop.pbtxt

    }
    node {
      name: "while/Switch"
      op: "Switch"
      input: "while/Merge"
      input: "while/LoopCond"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "_class"
        value {
          list {
            s: "loc:@while/Merge"
          }
        }
      }
    }
    node {
      name: "while/Identity"
      op: "Identity"
      input: "while/Switch:1"
      attr {
        key: "T"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 18:14:13 UTC 2020
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir

      %1 = func.call @id(%arg0) : (tensor<!tf_type.variant>) -> tensor<!tf_type.variant>
      "tf.MakeIterator"(%1, %0) {_class = ["loc:@BatchDatasetV2"], device = ""} : (tensor<!tf_type.variant>, tensor<!tf_type.resource>) -> ()
      %2:2 = "tf.IteratorGetNext"(%0) {_class = ["loc:@iterator"], device = ""} : (tensor<!tf_type.resource>) -> (tensor<200x28x28x1xf32>, tensor<200x10xf32>)
      // CHECK: tf.Iterator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

         */
        private
        fun typeHierarchyViaJavaReflection(kClass: KClass<*>): Iterable<KClass<*>> =
            Traverser.forGraph<Class<*>> { listOfNotNull(it.superclass) + it.interfaces }
                .breadthFirst(kClass.java).map { it.kotlin }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/project/schemaFromGradleExtensions.kt

        fun hasRestrictedAnnotationWithSuperTypes(kClass: KClass<*>) =
            hasRestrictedAnnotationCached(kClass) || kClass.supertypes.any { (it.classifier as? KClass<*>)?.let { isAnnotatedMaybeInSupertypes(it) } ?: false }
    
        private
        val hasRestrictedAnnotationWithSuperTypesCache = mutableMapOf<KClass<*>, Boolean>()
    
        private
        val hasRestrictedAnnotationCache = mutableMapOf<KClass<*>, Boolean>()
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/project/TypeSafeProjectAccessorsSchemaBuildingComponent.kt

            }
        }
    
        private
        fun allClassesReachableFromGetters(kClass: KClass<*>) = buildSet {
            fun visit(kClass: KClass<*>) {
                if (add(kClass)) {
                    val properties = propertyFromTypesafeProjectGetters.extractProperties(kClass)
                    val typesFromGetters = properties.mapNotNull { it.originalReturnType.classifier as? KClass<*> }
                    typesFromGetters.forEach(::visit)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/ReflectionCache.java

        public T get(final Class<?> receiver, final Class<?>[] key) {
            synchronized (lock) {
                return cache.get(receiver, key);
            }
        }
    
        protected abstract T create(Class<?> receiver, Class<?>[] key);
    
        public int size() {
            return cache.size();
        }
    
        private class WeaklyClassReferencingCache extends WeakHashMap<Class<?>, CacheEntry> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top