Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 387 for IsString (0.12 sec)

  1. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

            }
        }
    
        private fun String.asArrayType(): String {
            arrayClassIdByElementType[this]?.let { return it }
            return "kotlin.Array<out $this>"
        }
    
        private val arrayClassIdByElementType: Map<String, String> = buildList<Pair<String, String>> {
            StandardClassIds.primitiveArrayTypeByElementType.mapTo(this) { (classId, arrayClassId) ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/universe.go

    			types.IsSimple[et] = true
    		}
    	}
    
    	types.IsSimple[types.TBOOL] = true
    
    	okforadd[types.TSTRING] = true
    
    	okforbool[types.TBOOL] = true
    
    	okforcap[types.TARRAY] = true
    	okforcap[types.TCHAN] = true
    	okforcap[types.TSLICE] = true
    
    	ir.OKForConst[types.TBOOL] = true
    	ir.OKForConst[types.TSTRING] = true
    
    	okforlen[types.TARRAY] = true
    	okforlen[types.TCHAN] = true
    	okforlen[types.TMAP] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    private
    fun <T> T.matchesNameAndIsSince(candidateName: String, version: String): Boolean where T : BodyDeclaration<*>, T : NodeWithSimpleName<*> =
        takeIf { it.matchesName(candidateName) }?.isSince(version) == true
    
    
    private
    fun <T : NodeWithSimpleName<*>> T.matchesName(candidateName: String) =
        matchesName(name.asString(), candidateName)
    
    
    private
    fun matchesName(name: String, candidateName: String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirNamedClassOrObjectSymbolBase.kt

            return when (val symbolKind = symbolKind) {
                KaSymbolKind.LOCAL ->
                    throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(classId?.asString() ?: name.asString())
    
                KaSymbolKind.CLASS_MEMBER, KaSymbolKind.TOP_LEVEL ->
                    KaFirClassLikeSymbolPointer(classId!!, KaNamedClassOrObjectSymbol::class)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun KtFile.ktClassOf(member: CtClass) =
        collectDescendantsOfType<KtClassOrObject> { it.fqName?.asString() == member.name }.singleOrNull()
    
    
    private
    fun KtDeclaration.isDocumentedAsSince(version: String) =
        docComment?.isSince(version) == true
    
    
    private
    fun KDoc.isSince(version: String) =
        text.contains("@since $version")
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 20:38:19 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/id/UniqueIdTest.groovy

            def n = 100
            (1..n).collect { UniqueId.generate() }.unique().size() == n
        }
    
        def "can roundtrip to / from string"() {
            when:
            def id = UniqueId.generate()
            def s = id.asString()
    
            then:
            UniqueId.from(s) == id
            UniqueId.from(s).asString() == s
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleBindingTest.groovy

        static class AmbiguousBindingsInOneSource extends RuleSource {
            @Mutate
            void m(String s) {
    
            }
    
            @Model
            String s1() {
                "foo"
            }
    
            @Model
            String s2() {
                "bar"
            }
        }
    
        def "error message produced when unpathed reference matches more than one item"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/InputParameterUtils.java

     */
    
    package org.gradle.api.internal.tasks.properties;
    
    import groovy.lang.GString;
    import org.gradle.api.Task;
    import org.gradle.util.internal.DeferredUtil;
    
    import javax.annotation.Nullable;
    
    public class InputParameterUtils {
        @Nullable
        public static Object prepareInputParameterValue(InputPropertySpec inputProperty, Task task) {
            String propertyName = inputProperty.getPropertyName();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 14 08:05:31 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/packages/KotlinPackageProviderBase.kt

        }
    
        override fun doesPlatformSpecificPackageExist(packageFqName: FqName, platform: TargetPlatform): Boolean {
            when {
                platform.isJvm() -> {
                    val fqNameString = packageFqName.asString()
                    forEachNonKotlinPsiElementFinder(project) { finder ->
                        val psiPackage = finder.findPackage(fqNameString)
                        if (psiPackage != null) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/VirtualFileSystemTestSpec.groovy

    import javax.annotation.Nullable
    
    class VirtualFileSystemTestSpec {
        private static final String ABSOLUTE_PATH_PREFIX = "/home/user/project/my/directory"
    
        final List<String> childPaths
        final VfsRelativePath searchedPath
        final String selectedChildPath
    
        VirtualFileSystemTestSpec(List<String> childPaths, String relativeSearchedPath, @Nullable String selectedChildPath) {
            this.childPaths = childPaths
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top