Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for rclass (0.08 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt

                        subject.collectionOfClasses(listOf(Number::class, Int::class))
    
                        subject.methodParameterizedClass(type = Int::class)
                        subject.covariantMethodParameterizedClass(type = Int::class)
                        subject.methodParameterizedCovariantClass(type = Int::class)
                        subject.methodParameterizedContravariantClass(type = Int::class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:08 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir

      func.return
    }
    
    // -----
    
    // Test case: Invalid multiple location information in a class attribute on VariableV2 op.
    
    func.func @f() {
      // expected-error @+1 {{'tf.VariableV2' op expects only one named location in '_class' attribute, but got ["loc:@v1", "loc:@v2"]}}
      %val0 = "tf.VariableV2"() {_class = ["loc:@v1", "loc:@v2"], container = "", device = "", shape = #tf_type.shape<96>, shared_name = ""} : () -> tensor<96x!tf_type.f32ref>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/ArgumentsConverterGenerator.kt

    import java.io.File
    import kotlin.reflect.KClass
    import kotlin.reflect.full.createType
    
    private const val CONVERT_ARGUMENT = "convertArgument"
    
    object ArgumentsConverterGenerator {
        fun render(file: File, packageName: String) {
            val convertArgumentFunctionCallConversion = HLFunctionCallConversion(
                "$CONVERT_ARGUMENT({0}, firSymbolBuilder)",
                callType = Any::class.createType(nullable = true)
            )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/zipUtils.kt

    package org.gradle.kotlin.dsl.fixtures
    
    import kotlin.reflect.KClass
    
    
    fun classEntriesFor(classes: Array<out KClass<*>>): Sequence<Pair<String, ByteArray>> =
        classes.asSequence().map { classEntryFor(it) }
    
    
    fun classEntriesFor(vararg classes: Class<*>): Sequence<Pair<String, ByteArray>> =
        classes.asSequence().map { classEntryFor(it) }
    
    
    fun classEntryFor(clazz: KClass<*>): Pair<String, ByteArray> =
        classEntryFor(clazz.java)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 648 bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/TypeStringFormatter.java

    import java.lang.reflect.Type;
    
    class TypeStringFormatter {
    
        static String format(Type type) {
            if (type instanceof Class) {
                Class<?> aClass = (Class) type;
                Class<?> enclosingClass = aClass.getEnclosingClass();
                if (enclosingClass != null) {
                    return format(enclosingClass) + "$" + aClass.getSimpleName();
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/generatorUtils.kt

                } + nullableSuffix
            }
        }
        print(typeConversion(type))
    }
    
    val KType.simpleName: String
        get() = (classifier as KClass<*>).simpleName!!
    
    val KType.qualifiedName: String
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jul 18 11:49:20 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt

     * based on the static type of the provider.
     */
    class RegisteringDomainObjectDelegateProviderWithType<T, U : Any>
    private constructor(
        internal val delegateProvider: T,
        internal val type: KClass<U>
    ) {
        companion object {
            fun <T, U : Any> of(delegateProvider: T, type: KClass<U>) =
                RegisteringDomainObjectDelegateProviderWithType(delegateProvider, type)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 22:09:44 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/pointers/SymbolPointerExceptions.kt

    import org.jetbrains.kotlin.analysis.api.symbols.markers.KaSymbolKind
    import kotlin.reflect.KClass
    
    public class CanNotCreateSymbolPointerForLocalLibraryDeclarationException(identifier: String) :
        IllegalStateException("Could not create a symbol pointer for local symbol $identifier") {
        public constructor(klass: KClass<*>) : this(klass.java.simpleName)
    }
    
    public class UnsupportedSymbolKind(identifier: String, kind: KaSymbolKind) : IllegalStateException(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 908 bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/schemaFromTypes.kt

    import kotlin.reflect.KCallable
    import kotlin.reflect.KClass
    import kotlin.reflect.KFunction
    import kotlin.reflect.KVisibility
    
    
    fun schemaFromTypes(
        topLevelReceiver: KClass<*>,
        types: Iterable<KClass<*>>,
        externalFunctions: List<KFunction<*>> = emptyList(),
        externalObjects: Map<FqName, KClass<*>> = emptyMap(),
        defaultImports: List<FqName> = emptyList(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc

        if (!shared_name.empty()) {
          return shared_name;
        }
      }
      // Attempt to parse "_class" attribute if there is no "shared_name"
      // attribute.
      ArrayAttr classes_attr = op->getAttrOfType<ArrayAttr>(kClassAttr);
      if (!classes_attr) {
        // Attempt to parse "_class" from the IdentityOp that follows VariableV2.
        // For read-only reference variables, IdentityOp should be the only user of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top