- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 115 for isEmpty (0.26 sec)
-
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty() } assertFalse(subProjectFolders.isEmpty()) return subProjectFolders } @Test fun allSubprojectsAreListed() { val knownSubprojectDirs = model.subprojects.subprojects.map { File("../", it.path) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Jan 02 10:00:06 GMT 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt
if (addresses.size < 2) { return addresses } val (ipv6, ipv4) = addresses.partition { it is Inet6Address } return if (ipv6.isEmpty() || ipv4.isEmpty()) { addresses } else { interleave(ipv6, ipv4) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
require(keepAliveDuration > 0L) { "keepAliveDuration <= 0: $keepAliveDuration" } } fun idleConnectionCount(): Int { return connections.count { it.withLock { it.calls.isEmpty() } } } fun connectionCount(): Int { return connections.size } /** * Attempts to acquire a recycled connection to [address] for [connectionUser]. Returns the connection if it
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
sslContext.clientSessionContext.ids.toList().map { it.toByteString().hex() } if (platform.isConscrypt()) { if (tlsVersion == TlsVersion.TLS_1_3) { assertThat(sessionIds[0]).isEmpty() assertThat(sessionIds[1]).isEmpty() // https://github.com/google/conscrypt/issues/985 // assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[0], sessionIds[1]) } else {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt
.mapNotNull { it.toKtSymbol(analysisContext) as? KtCallableSymbol } } override fun getCallableSymbols(names: Collection<Name>): Sequence<KtCallableSymbol> = withValidityAssertion { if (names.isEmpty()) return emptySequence() val namesSet = names.toSet() return getCallableSymbols { it in namesSet } }
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) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/generatorUtils.kt
val simpleName = if (shouldRenderFqName(type)) { type.qualifiedName } else { type.simpleName } return if (type.arguments.isEmpty()) simpleName + nullableSuffix else simpleName + type.arguments.joinToString(separator = ", ", prefix = "<", postfix = ">") { when (val typeArgument = it.type) { null -> "*"
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Jul 18 11:49:20 GMT 2023 - 1.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt
val errors: List<ReportMessage>, val warnings: List<ReportMessage>, val information: List<ReportMessage>, val accepted: List<ReportMessage> ) { val isEmpty: Boolean get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty() fun toText() = StringBuilder("Binary compatibility\n").apply {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Sep 21 16:02:23 GMT 2023 - 2.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubstitutorFactory.kt
override val analysisSession: KtFirAnalysisSession ) : KtSubstitutorFactory(), KtFirAnalysisSessionComponent { override fun buildSubstitutor(builder: KtSubstitutorBuilder): KtSubstitutor { if (builder.mappings.isEmpty()) return KtSubstitutor.Empty(token) val firSubstitution = buildMap { builder.mappings.forEach { (ktTypeParameterSymbol, ktType) -> check(ktTypeParameterSymbol is KtFirTypeParameterSymbol)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 06 06:40:28 GMT 2024 - 1.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForReceiverParameter.kt
val receiverParameter = firCallableSymbol.receiverParameter return if (receiverParameter?.annotations?.isEmpty() != false) { KtEmptyAnnotationsList(builder.token) } else { KtFirAnnotationListForReceiverParameter(firCallableSymbol, receiverParameter, builder) } } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 3.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ReferenceShortener.kt
override val thisLabelsToShorten: List<ThisLabelToShortenInfo> = emptyList() override val kDocQualifiersToShorten: List<SmartPsiElementPointer<KDocName>> get() = emptyList() override val isEmpty: Boolean get() = true } }
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Nov 20 20:18:18 GMT 2023 - 2.4K bytes - Viewed (0)