- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 226 for EmptyList (0.06 seconds)
-
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
* Test contains method with empty list */ @Test @DisplayName("Contains should return false for empty list") void testContainsEmptyList() { List<AvPair> emptyList = new ArrayList<>(); assertFalse(AvPairs.contains(emptyList, AvPair.MsvAvFlags), "Should return false for empty list"); } /** * Test contains method with existing type */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
val x509KeyManager = newKeyManager(keystoreType, heldCertificate, *intermediates) val trustManager = newTrustManager( keystoreType, emptyList(), emptyList(), ) val sslContext = get().newSSLContext() sslContext.init( arrayOf<KeyManager>(x509KeyManager), arrayOf<TrustManager>(trustManager), SecureRandom(), )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 24.4K bytes - Click Count (2) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
validSubprojects.forEach { if (!subProjectToClassTimes.containsKey(it.name)) { subProjectToClassTimes[it.name] = emptyList() } } val subProjectTestClassTimes: List<SubprojectTestClassTime> = subProjectToClassTimes .entries .filter { "UNKNOWN" != it.key }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Feb 12 14:43:33 GMT 2026 - 8.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
val couldBeExtensionProperty = (hasGetterName && paramCount == 1 && !returnsVoid) || (hasSetterName && paramCount == 2 && returnsVoid) if (!couldBeProperty && !couldBeExtensionProperty) { return emptyList() } val propertyJavaType = if (hasGetterName) method.returnType.name else method.parameterTypes.last().name val isBoolean =Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
listOf(testProjectToScenarioDurations, testProjectScenarioDurationsFallback) .mapNotNull { it.getOrDefault(scenario.testProject, emptyList()).firstOrNull { duration -> duration.scenario == scenario.scenario } }.firstOrNull()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 29 01:37:22 GMT 2026 - 17.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
apply { for (e in suppressed) addSuppressed(e) } internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> { var result: List<T> = emptyList() for (i in this) { if (predicate(i)) { if (result.isEmpty()) result = mutableListOf() (result as MutableList<T>).add(i) } } return result }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
val reports: List<File> = executedTaskPaths.asSequence() .flatMap { taskPathToReports.getOrDefault(it, emptyList()) } .map { it.file } .toList() if (isAnyTestTaskFailed(projectPath) || tmpTestFiles.isNotEmpty()) { prepareReportForCiPublishing(tmpTestFiles + reports) } else {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
if (protwordsItemList == null) { reload(null); } if (offset >= protwordsItemList.size() || offset < 0) { return new PagingList<>(Collections.<ProtwordsItem> emptyList(), offset, size, protwordsItemList.size()); } int toIndex = offset + size; if (toIndex > protwordsItemList.size()) { toIndex = protwordsItemList.size(); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
import static com.google.common.collect.testing.features.MapFeature.ALLOWS_ANY_NULL_QUERIES; import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.emptyList; import static java.util.Collections.emptySet; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0)