- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 114 for index (0.04 sec)
-
android/guava/src/com/google/common/primitives/Doubles.java
return i - start; } } return -1; } @Override public Double set(int index, Double element) { checkElementIndex(index, size()); double oldValue = array[start + index]; // checkNotNull for GWT (do not optimize) array[start + index] = checkNotNull(element); return oldValue; } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 15:43:06 UTC 2024 - 27.1K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
return i - start; } } return -1; } @Override public Double set(int index, Double element) { checkElementIndex(index, size()); double oldValue = array[start + index]; // checkNotNull for GWT (do not optimize) array[start + index] = checkNotNull(element); return oldValue; } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 15:43:06 UTC 2024 - 27.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
@CheckForNull @Nullable ImmutableMapEntry<?, V>[] keyTable, int mask) { if (key == null || keyTable == null) { return null; } int index = Hashing.smear(key.hashCode()) & mask; for (ImmutableMapEntry<?, V> entry = keyTable[index]; entry != null; entry = entry.getNextInKeyBucket()) { Object candidateKey = entry.getKey(); /*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
} boolean negative = string.charAt(0) == '-'; int index = negative ? 1 : 0; if (index == string.length()) { return null; } int digit = AsciiDigits.digit(string.charAt(index++)); if (digit < 0 || digit >= radix) { return null; } long accum = -digit; long cap = Long.MIN_VALUE / radix; while (index < string.length()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 28.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Longs.java
} boolean negative = string.charAt(0) == '-'; int index = negative ? 1 : 0; if (index == string.length()) { return null; } int digit = AsciiDigits.digit(string.charAt(index++)); if (digit < 0 || digit >= radix) { return null; } long accum = -digit; long cap = Long.MIN_VALUE / radix; while (index < string.length()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 28.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
} public final boolean addAll(int index, Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } public final E set(int index, E element) { throw new UnsupportedOperationException(); } public final void add(int index, E element) { throw new UnsupportedOperationException(); } public final E remove(int index) { throw new UnsupportedOperationException();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
checkArgument(xValues.size() == yValues.size()); PairedStatsAccumulator accumulator = new PairedStatsAccumulator(); for (int index = 0; index < xValues.size(); index++) { accumulator.add(xValues.get(index), yValues.get(index)); } return accumulator; } /** * Creates a {@link PairedStatsAccumulator} filled with the given lists of {@code x} and {@code y}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 09 22:49:56 UTC 2023 - 22.4K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
checkArgument(values.length > 0); double mean = values[0]; for (int index = 1; index < values.length; index++) { double value = values[index]; if (isFinite(value) && isFinite(mean)) { // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) mean += (value - mean) / (index + 1); } else { mean = calculateNewMeanNonFinite(mean, value); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 24.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
int hash = element.hashCode(); for (int j = Hashing.smear(hash); ; j++) { int index = j & mask; Object value = table[index]; if (value == null) { // Came to an empty slot. Put the element here. elements[uniques++] = element; table[index] = element; hashCode += hash; break; } else if (value.equals(element)) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 22.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
@ParametricNullness public V get(int index) { refreshIfEmpty(); return getListDelegate().get(index); } @Override @ParametricNullness public V set(int index, @ParametricNullness V element) { refreshIfEmpty(); return getListDelegate().set(index, element); } @Override public void add(int index, @ParametricNullness V element) { refreshIfEmpty();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 48K bytes - Viewed (0)