- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Repeat (1.01 sec)
-
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt
} fun prettyPrintLanguageResult(languageResult: LanguageResult<*>, startDepth: Int = 0): String { fun StringBuilder.recurse(current: LanguageResult<*>, depth: Int) { fun indent() = " ".repeat(depth) fun nextIndent() = " ".repeat(depth + 1) fun appendIndented(value: Any) { append(indent()) append(value) } fun appendNextIndented(value: Any) { append(nextIndent())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 22:06:18 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompilerTest.kt
require(lineNumber >= 1) { "Line numbers are 1-based" } return fragment(identifier, body, prefix = String(repeat('\n', lineNumber - 1))) } private fun repeat(char: Char, times: Int) = CharArray(times).also { fill(it, char) } internal fun fragment(identifier: String, body: String, prefix: String = ""): ProgramSourceFragment {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 22.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptIntegrationTest.kt
kotlin.kclass.get kotlin.configure """.trimIndent() ) ) // Deprecation warnings assertion repeat(5) { executer.expectDocumentedDeprecationWarning( "The org.gradle.api.plugins.Convention type has been deprecated. " + "This is scheduled to be removed in Gradle 9.0. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 11:39:00 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt
internal class ParserDebugger<T>(val parserBuilder: () -> Parser<T>) { companion object { var level = 0 fun <T> debug(name: String, parser: Parser<T>): Parser<T> = { val levelString = "\t".repeat(level) println("${levelString}Parsing with $name @ ${this.currentPosition.offset} ...") level++ val result = parser() level--
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 12.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginSyntheticIntegrationTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 07:16:19 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DependencyHandlerExtensionsTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 04 06:41:25 UTC 2023 - 16.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt
errorAt(location, error.message) } ?: error.message private fun errorAt(location: CompilerMessageSourceLocation, message: String): String { val columnIndent = " ".repeat(5 + maxLineNumberStringLength + 1 + location.column) return "Line ${lineNumber(location)}: ${location.lineContent}\n" + "^ $message".lines().joinToString( prefix = columnIndent,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 31 08:46:17 UTC 2023 - 20.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
if (value.arrayDimensions > 0) { val arrayDescriptor = analysisContext.resolveSession.moduleDescriptor.findClassAcrossModuleDependencies(StandardClassIds.Array) ?: return null repeat(value.arrayDimensions) { type = TypeUtils.substituteParameters(arrayDescriptor, listOf(type)) } classId = StandardClassIds.Array }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 33.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
*/ private fun KaSession.goToNthParent(symbol: KaDeclarationSymbol, steps: Int): KaDeclarationSymbol? { var currentSymbol = symbol repeat(steps) { currentSymbol = currentSymbol.getContainingSymbol() as? KaClassOrObjectSymbol ?: return null } return currentSymbol } private fun KaSession.resolveKdocFqName(
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 22.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
val classifiersToSkip = expression.parents.takeWhile { it != ktTypeElementFromFirType }.count() var classifier: FirClassLikeSymbol<*>? = fir.type.toRegularClassSymbol(session) repeat(classifiersToSkip) { classifier = classifier?.getContainingClassSymbol(session) } val firClassSymbol = classifier
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 37K bytes - Viewed (0)