- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 188 for efficiency (0.05 seconds)
-
guava/src/com/google/common/collect/Multisets.java
* removeAll}{@code (occurrencesToRemove)}, which removes all occurrences of elements that appear * in {@code occurrencesToRemove}. However, this operation <i>is</i> equivalent to, albeit * sometimes more efficient than, the following: * * {@snippet : * for (E e : occurrencesToRemove) { * multisetToModify.remove(e); * } * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
* ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof. * * <p>In particular, this map iterates over entries with repeated calls to {@link * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to * override the {@code entryIterator()} method of this class. * * @since 12.0 */ protected class StandardDescendingMap extends Maps.DescendingMap<K, V> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
* ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof. * * <p>In particular, this map iterates over entries with repeated calls to {@link * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to * override the {@code entryIterator()} method of this class. * * @since 12.0 */ protected class StandardDescendingMap extends Maps.DescendingMap<K, V> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.3K bytes - Click Count (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableList; import java.util.List; import org.jspecify.annotations.Nullable; /** * A memory-efficient binary trie structure for public suffix lookups. The trie is stored as a * series of 16-bit characters in a String. * * <p>The trie data is stored in a {@link CharSequence} where each node takes 3 characters: * * <ol>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 9.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Floats.java
reverse(array, fromIndex, toIndex); } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Floats.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(float[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 25.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSource.java
* InputStream#skip(long) skip}, if possible) to the end of the stream and return the total number * of bytes that were read. * * <p>Note that for some sources that implement {@link #sizeIfKnown} to provide a more efficient * implementation, it is <i>possible</i> that this method will return a different number of bytes * than would be returned by reading all of the bytes (for example, some special files may returnCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Doubles.java
reverse(array, fromIndex, toIndex); } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Doubles.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(double[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 27.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
* @throws CIFSException if connection fails * */ synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException { // Optimization: Check connection validity more efficiently if (this.treeHandle != null && this.treeHandle.isConnected()) { // Connection is still valid - reuse it return this.treeHandle.acquire(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
* Ordering#leastOf(Iterable, int)}, which provides the same implementation with an interface * tailored to that use case. * * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)}, * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
return file(new File(first), more); } /** Returns a {@code File} object for the given path parts. */ private static File file(File first, String... more) { // not very efficient, but should definitely be correct File file = first; for (String name : more) { file = new File(file, name); } return file; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0)