Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for set_f (0.06 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

    Status ConvertAttribute(const mlir::BoolAttr& attr, AttrValue* value) {
      value->set_b(attr.getValue());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) {
      value->set_i(attr.getInt());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) {
      value->set_f(attr.getValueAsDouble());
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KaFe10Resolver.kt

            private val operatorWithAssignmentVariant = setOf(
                OperatorNameConventions.PLUS,
                OperatorNameConventions.MINUS,
                OperatorNameConventions.TIMES,
                OperatorNameConventions.DIV,
                OperatorNameConventions.REM,
                OperatorNameConventions.MOD,
            )
    
            private val callArgErrors = setOf(
                Errors.ARGUMENT_PASSED_TWICE,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            @Suppress("UNCHECKED_CAST") val teamcity = project.property("teamcity") as MutableMap<String, Any>
            teamcity["teamcity.build.tempDir"] = ""
        }
    }
    
    fun Project.isPerformanceProject() = setOf("build-scan-performance", "performance").contains(name)
    
    fun Project.isNativeProject() = name.contains("native")
    
    /**
     * Whether the project supports running with predictive test selection.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy

                            description = "Experimental declarative plugin for the JVM ecosystem"
                            implementationClass = "org.gradle.api.experimental.jvm.JvmEcosystemPlugin"
                            tags = setOf("declarative-gradle", "java", "jvm")
                        }
                    }
                }
            """
    
            def jvmSourceDir = new File(jvmPluginDir, 'src/main/java/org/gradle/api/experimental/jvm')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                        is NewTypeVariableConstructor -> emptySet()
                        is IntersectionTypeConstructor -> typeConstructor.supertypes.flatMapTo(mutableSetOf()) { it.collectLowerBounds() }
                        else -> setOf(this)
                    }
    
                }
                else -> return emptySet()
            }
        }
    
        private fun KotlinType.collectUpperBounds(): Set<KotlinType> {
            when (this) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt

            override val externalFunctionsByFqName: Map<FqName, DataTopLevelFunction> = mapOf()
            override val externalObjectsByFqName: Map<FqName, ExternalObjectProviderKey> = mapOf()
            override val defaultImports: Set<FqName> = setOf()
    
            private
            fun readResolve(): Any = Empty
        }
    }
    
    
    @Serializable
    @SerialName("data")
    data class DefaultDataClass(
        override val name: FqName,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

                    "org.jetbrains.kotlin.psi",
                    "org.jetbrains.kotlin.KtPsiSourceElement"
                )
            )
        )
    
        private val allowedTypesWithoutTypeParams = setOf(
            Boolean::class,
            String::class,
            Int::class,
            Name::class,
            EventOccurrencesRange::class,
            KtKeywordToken::class,
            KtModifierKeywordToken::class,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

        public val ANY: ClassId = ClassId.topLevel(StandardNames.FqNames.any.toSafe())
        public val NOTHING: ClassId = ClassId.topLevel(StandardNames.FqNames.nothing.toSafe())
        public val PRIMITIVES: Set<ClassId> = setOf(INT, LONG, SHORT, BYTE, FLOAT, DOUBLE, CHAR, BOOLEAN)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            return dsl == GROOVY ? "((${type}) ${variable})" : "(${variable} as ${type})"
        }
    
        String setOf(String expression, GradleDsl dsl = GROOVY) {
            return dsl == GROOVY ? "[$expression]" : "setOf($expression)"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolTest.kt

         * fails.
         */
        open fun getAllowedContainingFiles(mainFile: KtFile, testServices: TestServices): Set<KtFile> = setOf(mainFile)
    
        private fun RegisteredDirectives.doNotCheckSymbolRestoreDirective(): Directive? = findSpecificDirective(
            commonDirective = DO_NOT_CHECK_SYMBOL_RESTORE,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top