Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for plot (0.13 sec)

  1. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        assertEquals(2, copy.size());
        assertSame(copy, copy.iterator().next().member);
      }
    
      /*
       * The behavior of toString() and iteration is tested by LinkedHashMultiset,
       * which shares a lot of code with HashMultiset and has deterministic
       * iteration order.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

     * string formatting itself should not be a concern.
     *
     * <p>As with any performance concerns, you should consider profiling your code (in a production
     * environment if possible) before spending a lot of effort on tweaking a particular element.
     *
     * <h3>Other types of preconditions</h3>
     *
     * <p>Not every type of precondition failure is supported by these methods. Continue to throw
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Striped64.java

       * the capacity, it is doubled in size unless some other thread
       * holds the lock. If a hashed slot is empty, and lock is
       * available, a new Cell is created. Otherwise, if the slot
       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
       * The table size is capped because, when there are more threads
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          if (state instanceof Blocker) {
            blocker = (Blocker) state;
          }
          spinCount++;
          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
             * If we have spun a lot, just park ourselves. This will save CPU while we wait for a slow
             * interrupting thread. In theory, interruptTask() should be very fast, but due to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Striped64.java

       * the capacity, it is doubled in size unless some other thread
       * holds the lock. If a hashed slot is empty, and lock is
       * available, a new Cell is created. Otherwise, if the slot
       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
       * The table size is capped because, when there are more threads
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Gets the key for this entry. */
        K getKey();
    
        /** Gets the value for the entry. */
        V getValue();
      }
    
      /*
       * Note: the following classes have a lot of duplicate code. It sucks, but it saves a lot of
       * memory. If only Java had mixins!
       */
    
      /** Base class for {@link InternalEntry} implementations for strong keys. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

      static final class Whitespace extends NamedFastMatcher {
    
        // TABLE is a precomputed hashset of whitespace characters. MULTIPLIER serves as a hash function
        // whose key property is that it maps 25 characters into the 32-slot table without collision.
        // Basically this is an opportunistic fast implementation as opposed to "good code". For most
        // other use-cases, the reduction in readability isn't worth it.
        static final String TABLE =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], 0, -1));
      }
    
      /**
       * This test creates a long random sequence of inputs, then a lot of differently configured sinks
       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Lists.java

       * instead.
       *
       * <p><b>Performance note:</b> {@link ArrayList} and {@link java.util.ArrayDeque} consistently
       * outperform {@code LinkedList} except in certain rare and specific situations. Unless you have
       * spent a lot of time benchmarking your specific needs, use one of those instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    /*
     * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
Back to top