Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for sequence (0.45 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            }
    
        private
        fun sourceNamesFromJar(jar: File): Sequence<String> =
            openJarFile(jar).run {
                entries().asSequence()
                    .filter { it.name.isClassFilePath }
                    .map { kotlinSourceNameOf(it.name) }
            }
    
        private
        fun sourceNamesFromDir(dir: File): Sequence<String> =
            dir.walkTopDown()
                .filter { it.name.isClassFilePath }
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

              Adapters.GENERALIZED_TIME.toDer(writer, value)
            }
          }
        }
    
      /**
       * ```
       * Validity ::= SEQUENCE {
       *   notBefore      Time,
       *   notAfter       Time
       * }
       * ```
       */
      private val validity: BasicDerAdapter<Validity> =
        Adapters.sequence(
          "Validity",
          time,
          time,
          decompose = {
            listOf(
              it.notBefore,
              it.notAfter,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirResolveExtensionInfoProvider.kt

            crossinline nameFilter: KtScopeNameFilter,
            crossinline getDeclarationsByProvider: (LLFirResolveExtensionToolDeclarationProvider) -> Sequence<D>,
        ): Sequence<S> = sequence {
            for (tool in tools) {
                for (declaration in getDeclarationsByProvider(tool.declarationProvider)) {
                    val declarationName = declaration.nameAsName ?: continue
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt

        override fun getCallableSymbols(names: Collection<Name>): Sequence<KtCallableSymbol> = withValidityAssertion {
            if (names.isEmpty()) return emptySequence()
            val namesSet = names.toSet()
            return getCallableSymbols { it in namesSet }
        }
    
        override fun getClassifierSymbols(nameFilter: KtScopeNameFilter): Sequence<KtClassifierSymbol> = withValidityAssertion {
            return scope
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/firScopeUtils.kt

    import org.jetbrains.kotlin.name.Name
    
    
    internal fun FirScope.getCallableSymbols(
        callableNames: Collection<Name>,
        builder: KtSymbolByFirBuilder
    ): Sequence<KtCallableSymbol> = sequence {
        callableNames.forEach { name ->
            yieldList {
                processFunctionsByName(name) { firSymbol ->
                    add(builder.functionLikeBuilder.buildFunctionSymbol(firSymbol))
                }
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri Jun 24 09:11:25 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirBasedScope.kt

            firScope.getClassifierSymbols(getPossibleClassifierNames().filter(nameFilter), builder)
        }
    
        override fun getClassifierSymbols(names: Collection<Name>): Sequence<KtClassifierSymbol> = withValidityAssertion {
            firScope.getClassifierSymbols(names, builder)
        }
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri May 19 11:53:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *    124 : Mapped inline to the sequence: [b2, b3].
     *    125 : Mapped inline to the sequence: [b2a, b3].
     *    126 : Mapped inline to the sequence: [b2, b3a].
     *    127 : Mapped inline to the sequence: [b2a, b3a].
     *
     * The range goes until the beginning of the next range.
     *
     * When b2 and b3 are unused, their values are set to 0x2d ('-').
     *
     * Section Index (1,240 bytes)
     * ===========================
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            return sequenceOf(directory)
        }
    
        private
        fun someClassesInDefaultPackage(): Sequence<Path> {
            val directory = projectDir.resolve("classes-default")
    
            DEFAULT_EXCLUDES_FOR_TEST.forEachIndexed { i, pkg ->
                touchFile(directory.resolve("$pkg/Foo$i.class"))
            }
    
            return sequenceOf(directory)
        }
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirFileScope.kt

        override fun getCallableSymbols(names: Collection<Name>): Sequence<KtCallableSymbol> = withValidityAssertion {
            if (names.isEmpty()) return emptySequence()
            val namesSet = names.toSet()
            return getCallableSymbols { it in namesSet }
        }
    
        override fun getClassifierSymbols(nameFilter: KtScopeNameFilter): Sequence<KtClassifierSymbol> = withValidityAssertion {
            sequence {
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Mon May 22 19:21:34 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

            isKotlinCollection && typeArguments.single().isJavaClass
    
    
    private
    fun candidatesForExtensionFrom(type: ApiType): Sequence<ApiFunction> =
        type.functions.filter(::isCandidateForExtension).asSequence()
    
    
    private
    fun Sequence<ApiFunction>.sortedWithTypeOfTakingFunctionsFirst() =
        sortedBy { f ->
            if (f.parameters.any { it.type.isGradleTypeOf }) 0
            else 1
        }
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top