Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Bent (0.68 sec)

  1. android/guava/src/com/google/common/cache/LoadingCache.java

       * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with
       * {@code key} while the new value was loading then a removal notification will be sent for the
       * new value.
       *
       * <p>If the cache loader associated with this cache is known not to throw checked exceptions,
       * then prefer {@link #getUnchecked} over this method.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals("Eviction notifications must be received", 10, removalListener.getCount());
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
        // ensure that no new notifications are sent
        assertEquals("Eviction notifications must be received", 10, removalListener.getCount());
      }
    
      public void testExpiringGet_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                  workerRunningState = IDLE;
                  return;
                }
              }
              // Remove the interrupt bit before each task. The interrupt is for the "current task" when
              // it is sent, so subsequent tasks in the queue should not be caused to be interrupted
              // by a previous one in the queue being interrupted.
              interruptedDuringTask |= Thread.interrupted();
              try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, segment.count);
        assertNull(table.get(0));
    
        // clear wrong value reference
        segment.setTableEntryForTesting(0, entry);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, segment.count);
        assertNull(table.get(0));
    
        // clear wrong value reference
        segment.setTableEntryForTesting(0, entry);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       * <p><b>Warning:</b> a new random seed for these functions is chosen each time the {@code
       * Hashing} class is loaded. <b>Do not use this method</b> if hash codes may escape the current
       * process in any way, for example being sent over RPC, or saved to disk. For a general-purpose,
       * non-cryptographic hash function that will never change behavior, we suggest {@link
       * #murmur3_128}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * of signaling the next waiter.
       *
       * Unlike the underlying Condition, if we are not careful, an interrupt *can* cause a signal to be
       * lost, because the signal may be sent to a condition whose sole waiter has just been
       * interrupted.
       *
       * Imagine a monitor with multiple guards. A thread enters the monitor, satisfies all the guards,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals("Eviction notifications must be received", 10, removalListener.getCount());
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
        // ensure that no new notifications are sent
        assertEquals("Eviction notifications must be received", 10, removalListener.getCount());
      }
    
      public void testExpiringGet_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * complete chunk are handled with {@link #processRemaining}.
       */
      protected abstract HashCode makeHash();
    
      // Process pent-up data in chunks
      private void munchIfFull() {
        if (buffer.remaining() < 8) {
          // buffer is full; not enough room for a primitive. We have at least one full chunk.
          munch();
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  10. LICENSE

          or by an individual or Legal Entity authorized to submit on behalf of
          the copyright owner. For the purposes of this definition, "submitted"
          means any form of electronic, verbal, or written communication sent
          to the Licensor or its representatives, including but not limited to
          communication on electronic mailing lists, source code control systems,
          and issue tracking systems that are managed by, or on behalf of, the
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
Back to top