- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 2,463 for setS (0.04 seconds)
-
guava-testlib/src/com/google/common/testing/NullPointerTester.java
|| m.getName().equals("casListeners") || m.getName().equals("gasListeners")) .forEach(ignoredMembers::add); } /** * Sets a default value that can be used for any parameter of type {@code type}. Returns this * object. */ @CanIgnoreReturnValue public <T> NullPointerTester setDefault(Class<T> type, T value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
src/archive/tar/reader_test.go
}}, }, { // This archive was generated by Writer but is readable by both // GNU and BSD tar utilities. // The archive generated by GNU is nearly byte-for-byte identical // to the Go version except the Go version sets a negative Devminor // just to force the GNU format. file: "testdata/gnu-utf8.tar", headers: []*Header{{ Name: "☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹", Mode: 0644,Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
android/guava/src/com/google/common/math/LongMath.java
long minDeltaOrZero = delta & (delta >> (Long.SIZE - 1)); // equivalent to Math.min(delta, 0) a = delta - minDeltaOrZero - minDeltaOrZero; // sets a to Math.abs(a - b) // a is now nonnegative and even b += minDeltaOrZero; // sets b to min(old a, b) a >>= Long.numberOfTrailingZeros(a); // divide out all 2s, since 2 doesn't divide b } return a << min(aTwos, bTwos); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 09 23:01:02 GMT 2026 - 46.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multiset.java
// Views /** * Returns the set of distinct elements contained in this multiset. The element set is backed by * the same data as the multiset, so any change to either is immediately reflected in the other. * The order of the elements in the element set is unspecified. * * <p>If the element set supports any removal operations, these necessarily cause <b>all</b>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java
import static com.google.common.collect.Sets.newHashSet; import com.google.common.base.Predicate; import com.google.common.collect.FilteredCollectionsTestUtil.AbstractFilteredSetTest; import java.util.Set; import org.jspecify.annotations.NullUnmarked; @NullUnmarked public final class SetsFilterHashSetTest extends AbstractFilteredSetTest<Set<Integer>> { @Override Set<Integer> createUnfiltered(Iterable<Integer> contents) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
assertEquals(set.comparator(), copy.comparator()); } @GwtIncompatible // SerializableTester public void testSeveral_serialization() { SortedSet<String> set = new SafeTreeSet<>(); set.add("a"); set.add("b"); set.add("c"); SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); assertEquals(set.comparator(), copy.comparator()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSet.java
import com.google.common.annotations.GwtCompatible; import java.util.Collection; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A set which forwards all its method calls to another set. Subclasses should override one or more * methods to modify the behavior of the backing set as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
assertEquals(set.comparator(), copy.comparator()); } @GwtIncompatible // SerializableTester public void testSeveral_serialization() { SortedSet<String> set = new SafeTreeSet<>(); set.add("a"); set.add("b"); set.add("c"); SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); assertEquals(set.comparator(), copy.comparator()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Range.java
} // this optimizes testing equality of two range-backed sets if (values instanceof SortedSet) { SortedSet<? extends C> set = (SortedSet<? extends C>) values; Comparator<?> comparator = set.comparator(); if (Ordering.natural().equals(comparator) || comparator == null) { return contains(set.first()) && contains(set.last()); } } for (C value : values) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
/** * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given node is * not present in this network. * * @since 33.1.0 */ protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) { return InvalidatableSet.of( set, () -> nodes().contains(node), () -> String.format(NODE_REMOVED_FROM_GRAPH, node)); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 10K bytes - Click Count (0)