- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 1,105 for Seed (0.04 sec)
-
android/guava/src/com/google/common/primitives/Shorts.java
* {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code * (short) 0x1234} would yield the byte array {@code {0x12, 0x34}}. * * <p>If you need to convert and concatenate several values (possibly even of different types), * use a shared {@link java.nio.ByteBuffer} instance, or use {@link * com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
* operations like {@link Table#containsValue} and {@code Table.toString()}. For this to perform * well, {@code function} should be fast. To avoid lazy evaluation when the returned table doesn't * need to be a view, copy the returned table into a new table of your choosing. * * @since 10.0 */ public static < R extends @Nullable Object, C extends @Nullable Object,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 26.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code * (short) 0x1234} would yield the byte array {@code {0x12, 0x34}}. * * <p>If you need to convert and concatenate several values (possibly even of different types), * use a shared {@link java.nio.ByteBuffer} instance, or use {@link * com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 25.5K bytes - Viewed (0) -
guava/src/com/google/common/graph/Network.java
* }</pre> * * <p>{@link NetworkBuilder#build()} returns an instance of {@link MutableNetwork}, which is a * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on * the network), you should use the non-mutating {@link Network} interface, or an {@link * ImmutableNetwork}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
if (oldValue != 0) { try { int newValue = IntMath.checkedAdd(oldValue, occurrences); if (existingCounter.compareAndSet(oldValue, newValue)) { // newValue can't == 0, so no need to check & remove return oldValue; } } catch (ArithmeticException overflow) { throw new IllegalArgumentException(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
@CheckForNull private static Object createHashTable( @Nullable Object[] alternatingKeysAndValues, int n, int tableSize, int keyOffset) { if (n == 1) { // for n=1 we don't create a hash table, but we need to do the checkEntryNotNull check! // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull( requireNonNull(alternatingKeysAndValues[keyOffset]),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} statsCounter.recordEviction(); return removal; } } /** * Any updates to LocalCache.Strength used in CacheBuilder need to be matched in this class for * compilation purposes. */ enum Strength { /* * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 21.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* * <h4>Creation</h4> * * <p>Except for logically "abstract" types like {@code ImmutableCollection} itself, each {@code * Immutable} type provides the static operations you need to obtain instances of that type. These * usually include: * * <ul> * <li>Static methods named {@code of}, accepting an explicit list of elements or entries.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
bloomFilter.put(key); // False negative should *never* happen. assertThat(bloomFilter.mightContain(key)).isTrue(); // If this check ever fails, that means we need to either bump the // number of expected insertions or don't run the test for so long. // Don't forget, the bloom filter slowly saturates over time and the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0)