- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 738 for isEmpty (0.26 seconds)
-
cmd/net.go
} nonInterIPV6s := mustGetLocalIP6().Intersection(hostIPs) // If intersection of two IP sets is not empty, then the host is localhost. isLocalv4 := !nonInterIPV4s.IsEmpty() isLocalv6 := !nonInterIPV6s.IsEmpty() if port != "" { return (isLocalv4 || isLocalv6) && (port == localPort), nil } return isLocalv4 || isLocalv6, nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.6K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
map.clear(); assertThat(map.isEmpty()).isTrue(); assertThat(map).isEmpty(); cache.getUnchecked(one); assertThat(map).hasSize(1); assertThat(map.get(one)).isSameInstanceAs(one); assertThat(map.containsKey(one)).isTrue(); assertThat(map.containsValue(one)).isTrue(); assertThat(map.remove(one)).isSameInstanceAs(one); assertThat(map).isEmpty(); cache.getUnchecked(one);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 13.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
@Override protected abstract Map<K, V> delegate(); @Override public int size() { return delegate().size(); } @Override public boolean isEmpty() { return delegate().isEmpty(); } @CanIgnoreReturnValue @Override public @Nullable V remove(@Nullable Object key) { return delegate().remove(key); } @Override public void clear() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty(); } public void testGetClassPathFromManifest_noClassPath() throws IOException { File jarFile = new File("base.jar"); assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty(); } public void testGetClassPathFromManifest_emptyClassPath() throws IOException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 23K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java
} } if (!unresolvedSelectors.isEmpty()) { String requiredSelectors = unresolvedSelectors.stream() .filter(pas -> !pas.activationSettings().optional()) .map(ProjectActivation.ProjectActivationSettings::selector) .collect(Collectors.joining(", ")); if (!requiredSelectors.isEmpty()) { throw new MavenExecutionException(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 7.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
} public Set<Artifact> getRequestedArtifacts() { return requestedArtifacts; } public boolean hasMissingArtifacts() { return missingArtifacts != null && !missingArtifacts.isEmpty(); } public List<Artifact> getMissingArtifacts() { return missingArtifacts == null ? Collections.emptyList() : Collections.unmodifiableList(missingArtifacts); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 9.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java
// all new phases should be added after the existing ones List<BuildStep> lasts = org.values().stream().filter(b -> b.successors.isEmpty()).toList(); List<BuildStep> firsts = add.values().stream().filter(b -> b.predecessors.isEmpty()).toList(); firsts.stream() .filter(addNode -> !org.containsKey(addNode.name))Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 6.1K bytes - Click Count (0) -
internal/event/config.go
Name string `xml:"Name"` Value string `xml:"Value"` } func (filter FilterRule) isEmpty() bool { return filter.Name == "" && filter.Value == "" } // MarshalXML implements a custom marshaller to support `omitempty` feature. func (filter FilterRule) MarshalXML(e *xml.Encoder, start xml.StartElement) error { if filter.isEmpty() { return nil } type filterRuleWrapper FilterRule
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 1.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
newInterfaces.keySet().removeAll(oldInterfaces.keySet()) if (newInterfaces.isEmpty()) { return null } List<String> changes = filterChangesToReport(newClass, newInterfaces) if (changes.isEmpty()) { return null } return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces"))Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.8K bytes - Click Count (0)