- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 432 for operators (0.17 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
// Should write a benchmark to test that! Map<Element, Element> map = mapToTest; Element[] queries = this.queries; // Allows us to use & instead of %, acting on hearsay that division // operators (/%) are disproportionately expensive; should test this too! int mask = queries.length - 1; boolean dummy = false; for (int i = 0; i < reps; i++) { dummy ^= map.get(queries[i & mask]) != null;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
// Should write a benchmark to test that! Map<Element, Element> map = mapToTest; Element[] queries = this.queries; // Allows us to use & instead of %, acting on hearsay that division // operators (/%) are disproportionately expensive; should test this too! int mask = queries.length - 1; boolean dummy = false; for (int i = 0; i < reps; i++) { dummy ^= map.get(queries[i & mask]) != null;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
/** * Returns the access mask accociated with this ACE. Use the * constants for <tt>FILE_READ_DATA</tt>, <tt>FILE_WRITE_DATA</tt>, * <tt>READ_CONTROL</tt>, <tt>GENERIC_ALL</tt>, etc with bitwise * operators to determine which bits of the mask are on or off. */ public int getAccessMask() { return access; } /** * Return the SID associated with this ACE. */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
/** * Returns the access mask associated with this ACE. Use the * constants for <tt>FILE_READ_DATA</tt>, <tt>FILE_WRITE_DATA</tt>, * <tt>READ_CONTROL</tt>, <tt>GENERIC_ALL</tt>, etc with bitwise * operators to determine which bits of the mask are on or off. * * @return the access mask */ int getAccessMask (); /** * Returns the 'Apply To' text for inheritance of ACEs on
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* creation methods appear to adhere doggedly to the original intent of the "mapped" address: all * "mapped" addresses return {@link Inet4Address} objects. * * <p>For added safety, it is common for IPv6 network operators to filter all packets where either * the source or destination address appears to be a "compat" or "mapped" address. Filtering * suggestions usually recommend discarding any packets with source or destination addresses in the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i> * possible sequences of these operations, up to a given number of steps. So, if the caller * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
import com.google.common.collect.testing.features.CollectionSize; import java.util.ConcurrentModificationException; import java.util.Iterator; import org.junit.Ignore; /** * A generic JUnit test which tests {@code clear()} operations on a collection. Can't be invoked * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author George van den Driessche */ @GwtCompatible
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * CompactHashSet is an implementation of a Set. All optional operations (adding and removing) are * supported. The elements can be any objects. * * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized) * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 24K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
} @VisibleForTesting OldConcurrentHashMultiset(ConcurrentMap<E, Integer> countMap) { checkArgument(countMap.isEmpty()); this.countMap = countMap; } // Query Operations /** * Returns the number of occurrences of {@code element} in this multiset. * * @param element the element to look for * @return the nonnegative number of occurrences of the element
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* <li>The retrieval operations {@link #peek}, {@link #peekFirst}, {@link #peekLast}, {@link * #element}, and {@link #size} are constant-time. * <li>The enqueuing and dequeuing operations ({@link #offer}, {@link #add}, and all the forms of * {@link #poll} and {@link #remove()}) run in {@code O(log n) time}. * <li>The {@link #remove(Object)} and {@link #contains} operations require linear ({@code O(n)}) * time.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0)