- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for sequence (0.18 sec)
-
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
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) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
apiTypesBySourceName.computeIfAbsent(sourceName) { repository.classBytesFor(sourceName)?.let { apiTypeFor(sourceName) { it } } }?.invoke() } internal fun allTypes(): Sequence<ApiType> = open { repository.allClassesBytesBySourceName().map { (sourceName, classBytes) -> apiTypesBySourceName.computeIfAbsent(sourceName) { apiTypeFor(sourceName, classBytes)
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt
val kotlinVersion = "1.9.23" fun futureKotlin(module: String) = "org.jetbrains.kotlin:kotlin-$module:$kotlinVersion" val ansiControlSequenceUtil = "net.rubygrapefruit:ansi-control-sequence-util" val ant = "org.apache.ant:ant" val antLauncher = "org.apache.ant:ant-launcher" val antJunit = "org.apache.ant:ant-junit" val asm = "org.ow2.asm:asm" val asmAnalysis = "org.ow2.asm:asm-analysis"
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 16 15:50:58 GMT 2024 - 14.4K bytes - Viewed (0) -
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) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt
val implementationClass: String ) private fun pluginExtensionsFrom(jars: Iterable<File>): Sequence<PluginExtension> = jars.asSequence().flatMap(::pluginExtensionsFrom) private fun pluginExtensionsFrom(file: File): Sequence<PluginExtension> = pluginEntriesFrom(file) .asSequence() .map { (id, implementationClass) -> val simpleId = id.substringAfter("org.gradle.")
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sun Nov 12 16:16:07 GMT 2023 - 3.1K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt
isolatedClassLoaderFor(classpath).use { loader -> javaProjectBuilderFor(loader) .sequenceOfJavaSourcesFrom(sources) .flatMap { it.classes.asSequence().filter { it.isPublic } } .flatMap { it.methods.asSequence().filter { it.isPublic && it.parameterTypes.isNotEmpty() } } .map { method -> fullyQualifiedSignatureOf(method) to commaSeparatedParameterNamesOf(method) }
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4K bytes - Viewed (0) -
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) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
return@collectDescendantsOfType false } // Parameter type check method.parameterTypes .asSequence() // Drop the receiver if present .drop(if (extensionCandidate) 1 else 0) .withIndex() .all<IndexedValue<CtClass>> {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 20 20:38:19 GMT 2023 - 11.1K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
} private fun groovyProjectAccessors(): String { val objectMethods = Any::class.java.declaredMethods.toList() return Project::class .memberFunctions .asSequence() .mapNotNull { it.javaMethod } .filterNot { objectMethods.contains(it) } .map { it.toGroovyScriptString() } .sorted() .joinToString(separator = "\n")
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Wed Jun 22 10:58:31 GMT 2022 - 6.9K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt
data class PluginEntry(val pluginId: String, val implementationClass: String) fun pluginEntriesFrom(jar: File): List<PluginEntry> = try { JarFile(jar, false).use { jarFile -> jarFile.entries().asSequence().filter { isGradlePluginPropertiesFile(it) }.map { pluginEntry -> val pluginProperties = jarFile.getInputStream(pluginEntry).use { Properties().apply { load(it) } }
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sat Sep 30 16:17:27 GMT 2023 - 1.8K bytes - Viewed (0)