- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 996 for useEmpty (0.09 seconds)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
*/ private int checkHeaderComment(List<String> commentLines) { if (getHeader() == null && layout.isEmpty()) { // This is the first comment. Search for blank lines. int index = commentLines.size() - 1; while (index >= 0 && !commentLines.get(index).isEmpty()) { index--; } setHeader(new ArrayList<String>(commentLines.subList(0, index + 1)));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
public UnmodifiableIterator<C> descendingIterator() { return emptyIterator(); } @Override boolean isPartialView() { return false; } @Override public boolean isEmpty() { return true; } @Override public ImmutableList<C> asList() { return ImmutableList.of(); } @Override public String toString() { return "[]"; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
* limitations under the License. */ package okhttp3.zstd import assertk.assertThat import assertk.assertions.hasMessage import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import com.squareup.zstd.okio.zstdCompress import java.io.IOException import kotlin.test.assertFailsWith import okhttp3.CompressionInterceptor
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 4.8K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
throws ComponentConfigurationException { String value = configuration.getValue(); try { Object result = null; if (null != value && !value.isEmpty()) { if (evaluator instanceof TypeAwareExpressionEvaluator typeAwareExpressionEvaluator) { result = typeAwareExpressionEvaluator.evaluate(value, type); } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
assertThat(network.edgesConnecting("A", "A")).containsExactly("AA"); assertThat(network.edgesConnecting("A", "B")).containsExactly("AB"); assertThat(network.edgesConnecting("B", "A")).isEmpty(); } @Test public void edgesConnecting_undirected() { MutableNetwork<String, String> mutableNetwork = NetworkBuilder.undirected().allowsSelfLoops(true).build();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 5.4K bytes - Click Count (0) -
.github/workflows/CheckBadMerge.groovy
.collect { it.trim() } .grep { !it.isEmpty() } } static List<String> parentCommitsOf(String commit) { return getStdout("git show --format=%P --no-patch --no-show-signature $commit") .split(" ").collect { it.trim() }.grep { !it.isEmpty() } } @groovy.transform.ToString static class ExecResult { String stdoutCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jan 24 10:03:31 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
* chars are actually available for reading. This means that a source may return {@code true} from * {@code isEmpty()} despite having readable content. * * @throws IOException if an I/O error occurs * @since 15.0 */ public boolean isEmpty() throws IOException { Optional<Long> lengthIfKnown = lengthIfKnown(); if (lengthIfKnown.isPresent()) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
guava/src/com/google/common/io/CharSource.java
* chars are actually available for reading. This means that a source may return {@code true} from * {@code isEmpty()} despite having readable content. * * @throws IOException if an I/O error occurs * @since 15.0 */ public boolean isEmpty() throws IOException { Optional<Long> lengthIfKnown = lengthIfKnown(); if (lengthIfKnown.isPresent()) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
assertThat(rangeSet.asRanges()).isEmpty(); assertEquals(ImmutableRangeSet.<Integer>all(), rangeSet.complement()); assertFalse(rangeSet.contains(0)); assertFalse(rangeSet.intersects(Range.singleton(0))); assertFalse(rangeSet.encloses(Range.singleton(0))); assertTrue(rangeSet.enclosesAll(rangeSet)); assertTrue(rangeSet.isEmpty()); } public void testAll() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 21.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
if (!loaded.isEmpty()) { result.add(new CoreExtensions(file, loaded)); } // user file = context.userHomeDirectory.resolve(eff.get(Constants.MAVEN_USER_EXTENSIONS)); loaded = readCoreExtensionsDescriptorFromFile(file, true); if (!loaded.isEmpty()) { result.add(new CoreExtensions(file, loaded)); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0)