- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 332 for seas (0.03 sec)
-
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
} return filter(multimap); } @Override public Collection<Integer> createCollection(Iterable<? extends Integer> values) { return Sets.newLinkedHashSet(values); } } abstract static class FilteredListMultimapGenerator extends TestFilteredMultimapGenerator<ListMultimap<String, Integer>>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
* then we can get a double approximation of the square root. Then, we iteratively improve this * guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2. * This iteration has the following two properties: * * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 18.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}. * * @author Kurt Alfred Kluever * @since 11.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Queues { private Queues() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} catch (NoSuchMethodException shouldBeImpossible) { // OK, fine: If it doesn't exist, then there's chance that we're going to be asked to test it. } } /** * 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) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList<Integer> addedColor = webSafeColorsBuilder.add(0x00BFFF).build(); assertEquals( "Modifying the builder should not have changed any already" + " built sets", 216, webSafeColors.size()); assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
import static com.google.common.collect.Platform.reduceIterationsIfGwt; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.shuffle; import com.google.common.annotations.GwtCompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
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); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 16:39:37 UTC 2024 - 45.2K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
for i := range m.filled { if m.filled[i] == 1 { lastValid = i } else { missing++ } } if missing > 0 && len(m.parityData) > 0 { fmt.Println("Attempting to reconstruct using parity sets:") for k, v := range m.parityData { if missing == 0 { break } fmt.Println("* Setup: Data shards:", k, "- Parity blocks:", m.shards-k) rs, err := reedsolomon.New(k, m.shards-k)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 05 11:57:44 UTC 2024 - 40.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Range.java
* this range. */ public boolean containsAll(Iterable<? extends C> values) { if (Iterables.isEmpty(values)) { return true; } // 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();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 27.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
private boolean maybeTyped; /** Stores if the properties are typed or not */ Boolean typed; /** * Creates a new instance of <code>PropertiesReader</code> and sets * the underlaying reader and the list delimiter. * * @param reader the reader */ public PropertiesReader(Reader reader, boolean maybeTyped) { super(reader);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0)