- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 738 for isEmpty (0.04 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
@Suppress("UNCHECKED_CAST") @Throws(SSLPeerUnverifiedException::class) override fun getPeerCertificates(): Array<Certificate> = if (certificates.isEmpty()) { throw SSLPeerUnverifiedException("peer not authenticated") } else { certificates as Array<Certificate> } @Throws( SSLPeerUnverifiedException::class, )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.1K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
writeShort(0) // answerCount writeShort(0) // authorityResourceCount writeShort(0) // additional val nameBuf = Buffer() val labels = host.split('.').dropLastWhile { it.isEmpty() } for (label in labels) { val utf8ByteCount = label.utf8Size() require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" } nameBuf.writeByte(utf8ByteCount.toInt())
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/CollectionFuture.java
ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed) { super(futures, allMustSucceed, true); List<@Nullable Present<V>> values = futures.isEmpty() ? Collections.<@Nullable Present<V>>emptyList() : Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size()); // Populate the results list with null initially.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java
try { context.doCloseContainer(); } catch (Exception e) { exceptions.add(e); } } if (!exceptions.isEmpty()) { InvokerException exception = new InvokerException("Could not cleanly shut down context pool"); exceptions.forEach(exception::addSuppressed); throw exception; } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
return new UpgradeResult(mergedProcessed, mergedModified, mergedErrors); } /** * Returns true if no errors occurred. */ public boolean success() { return errorPoms.isEmpty(); } /** * Returns the number of POMs processed. */ public int processedCount() { return processedPoms.size(); } /** * Returns the number of POMs modified.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
assertEquals("", myConfig.prefix()); assertEquals("myConfig", myConfig.name()); String config = node.toString(); assertFalse(config.isEmpty(), "Expected collection to not be empty but was empty"); } String toXml(Model model) throws IOException, XMLStreamException { StringWriter sw = new StringWriter();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
// Empty multimaps *do* have defined equals semantics. @SuppressWarnings("UndefinedEquals") public void testPutAllIntoEmpty() { Multimap<K, V> target = getSubjectGenerator().create(); assertEquals(!multimap().isEmpty(), target.putAll(multimap())); assertEquals(multimap(), target); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAll() { Multimap<K, V> source =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed) { super(futures, allMustSucceed, true); List<@Nullable Present<V>> values = futures.isEmpty() ? Collections.<@Nullable Present<V>>emptyList() : Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size()); // Populate the results list with null initially.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
// Empty multimaps *do* have defined equals semantics. @SuppressWarnings("UndefinedEquals") public void testPutAllIntoEmpty() { Multimap<K, V> target = getSubjectGenerator().create(); assertEquals(!multimap().isEmpty(), target.putAll(multimap())); assertEquals(multimap(), target); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAll() { Multimap<K, V> source =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/PerformanceTest.kt
tasks = "" workingDir = os.perfTestWorkingDir val typeExtraParameters = if (type.extraParameters.isEmpty()) "" else " ${type.extraParameters}" gradleParams = ( performanceTestCommandLine(Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 6K bytes - Click Count (0)