- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 64 for predicates (0.89 seconds)
-
internal/bucket/lifecycle/and.go
} return false } // BySize returns true when sz satisfies a // ObjectSizeLessThan/ObjectSizeGreaterthan or a logical AND of these predicates // Note: And combines size and other predicates like Tags, Prefix, etc. This // method applies exclusively to size predicates only. func (a And) BySize(sz int64) bool { if a.ObjectSizeGreaterThan > 0 && sz <= a.ObjectSizeGreaterThan { return false }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicate.java
/** * Legacy version of {@link java.util.function.Predicate java.util.function.Predicate}. Determines a * true or false value for a given input. * * <p>As this interface extends {@code java.util.function.Predicate}, an instance of this type may * be used as a {@code Predicate} directly. To use a {@code java.util.function.Predicate} where a * {@code com.google.common.base.Predicate} is expected, use the method reference {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 15:22:00 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicate.java
* java.util.function.Predicate java.util.function.Predicate}. * * <p>The {@link Predicates} class provides common predicates and related utilities. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Predicate}</a>. * * <h3>For Java 8+ users</h3> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 15:22:00 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
* limitations under the License. */ package com.google.common.testing; import static com.google.common.truth.Truth.assertThat; import com.google.common.base.Predicates; import com.google.common.collect.ImmutableList; import java.util.Arrays; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 02:48:50 GMT 2024 - 5.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
this.exclusions = exclusions; this.predicates = exclusions.stream().map(ExclusionArtifactFilter::toPredicate).collect(Collectors.toList()); } @Override public boolean include(Artifact artifact) { return predicates.stream().noneMatch(p -> p.test(artifact)); } private static Predicate<Artifact> toPredicate(Exclusion exclusion) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
* limitations under the License. */ package com.google.common.testing; import static com.google.common.truth.Truth.assertThat; import com.google.common.base.Predicates; import com.google.common.collect.ImmutableList; import java.util.Arrays; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 02:48:50 GMT 2024 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
* UniAddress} are network dependent and therefore not exercised here – they * would require complex stubbing of static methods. Instead the tests * concentrate on the instance methods and simple static predicates * that are observable without network access. */ @ExtendWith(MockitoExtension.class) class UniAddressTest { /* ---------------------------------------------------------------------Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
internal/bucket/lifecycle/filter.go
v, ok := tagsMap[k] if !ok || v != cv { mismatch = true break } } return !mismatch } // BySize returns true if sz satisfies one of ObjectSizeGreaterThan, // ObjectSizeLessThan predicates or a combination of them via And. func (f Filter) BySize(sz int64) bool { if f.ObjectSizeGreaterThan > 0 && sz <= f.ObjectSizeGreaterThan { return false } if f.ObjectSizeLessThan > 0 &&
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 04 17:01:26 GMT 2024 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredMultimapValues.java
import static com.google.common.base.Predicates.and; import static com.google.common.base.Predicates.in; import static com.google.common.base.Predicates.not; import static com.google.common.collect.Maps.valuePredicateOnEntries; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Predicate; import com.google.j2objc.annotations.Weak; import java.util.AbstractCollection;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredMultimapValues.java
import static com.google.common.base.Predicates.and; import static com.google.common.base.Predicates.in; import static com.google.common.base.Predicates.not; import static com.google.common.collect.Maps.valuePredicateOnEntries; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Predicate; import com.google.j2objc.annotations.Weak; import java.util.AbstractCollection;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.8K bytes - Click Count (0)