- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 244 for backing (0.03 sec)
-
guava/src/com/google/common/primitives/ImmutableIntArray.java
* no data is copied as part of this step, but this may occupy more memory than strictly * necessary. To copy the data to a right-sized backing array, use {@code .build().trimmed()}. */ public ImmutableIntArray build() { return count == 0 ? EMPTY : new ImmutableIntArray(array, 0, count); } } // Instance stuff hereRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* no data is copied as part of this step, but this may occupy more memory than strictly * necessary. To copy the data to a right-sized backing array, use {@code .build().trimmed()}. */ public ImmutableLongArray build() { return count == 0 ? EMPTY : new ImmutableLongArray(array, 0, count); } } // Instance stuff hereRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
* * <p>Keep a strong reference to this object until all of the associated referents have been * finalized. If this object is garbage collected earlier, the backing thread will not invoke {@code * finalizeReferent()} on the remaining references. * * <p>As an example of how this is used, imagine you have a class {@code MyServer} that creates aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
assertThat(request.tag(String::class.java)).isSameAs(stringTag) assertThat(request.tag(Long::class.javaObjectType)).isSameAs(longTag) } /** Confirm that we don't accidentally share the backing map between objects. */ @Test fun tagsAreImmutable() { val builder = Request .Builder() .url("https://square.com") val requestA = builder.tag(String::class.java, "a").build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:36:14 UTC 2025 - 24.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
import java.util.TreeSet; import org.jspecify.annotations.Nullable; /** * An immutable builder for {@link Multimap} instances, letting you independently select the desired * behaviors (for example, ordering) of the backing map and value-collections. Example: * * {@snippet : * ListMultimap<UserId, ErrorResponse> errorsByUser = * MultimapBuilder.linkedHashKeys().arrayListValues().build();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 18K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
* seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says * that behavior is undefined when the backing map is modified through another API. (It even * permits us to throw IllegalStateException. Maybe we should have done that, but we probably * shouldn't change now for fear of breaking people.) *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:46:34 UTC 2025 - 37.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says * that behavior is undefined when the backing map is modified through another API. (It even * permits us to throw IllegalStateException. Maybe we should have done that, but we probably * shouldn't change now for fear of breaking people.) */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
// If the set has this many elements, it will "max out" the table size private static final int CUTOFF = (int) (MAX_TABLE_SIZE * DESIRED_LOAD_FACTOR); /** * Returns an array size suitable for the backing array of a hash table that uses open addressing * with linear probing in its implementation. The returned size is the smallest power of two that
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* streams. * * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class * are <i>lazy</i>, which means that their iterators only advance the backing iteration when * absolutely necessary. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#iterables">{@code * Iterables}</a>. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 18:35:28 UTC 2025 - 43.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
* .nullsLast(); * } * * Note that each chaining method returns a new ordering instance which is backed by the previous * instance, but has the chance to act on values <i>before</i> handing off to that backing instance. * As a result, it usually helps to read chained ordering expressions <i>backwards</i>. For example, * when {@code compare} is called on the above ordering: * * <ol>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 39.5K bytes - Viewed (0)