Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 144 for Updated (0.16 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // let computation complete
        letGetFinishSignal.countDown();
        getFinishedSignal.await();
        checkNothingLogged();
    
        // asMap view should have been updated
        assertEquals(2, cache.size());
        assertEquals(getKey + suffix, map.get(getKey));
        assertEquals(refreshKey + suffix, map.get(refreshKey));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            // may have scheduled more operations on another thread, and if those operations then
            // trigger reentrant calls that thread will have updated the latestTaskQueue field, and
            // we'd be interfering with their operation.
            executingTaskQueue.thread = null;
          }
        }
    
        private boolean trySetStarted() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            return executor.schedule(this, schedule.delay, schedule.unit);
          }
        }
    
        /**
         * Contains the most recently submitted {@code Future}, which may be cancelled or updated,
         * always under a lock.
         */
        private static final class SupplantableFuture implements Cancellable {
          private final ReentrantLock lock;
    
          @GuardedBy("lock")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

        final void addDedupedElement(E e) {
          ensureCapacity(distinct + 1);
          dedupedElements[distinct++] = e;
        }
    
        /**
         * Adds e to this SetBuilderImpl, returning the updated result. Only use the returned
         * SetBuilderImpl, since we may switch implementations if e.g. hash flooding is detected.
         */
        abstract SetBuilderImpl<E> add(E e);
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // we really just want to wait for the thread to be in the failure callback so we wait for that
        // explicitly instead.
        failEnter.await();
        assertFalse("State should be updated before calling listeners", manager.isHealthy());
        // now we want to stop the services.
        Thread stoppingThread =
            new Thread() {
              @Override
              public void run() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
       * Number of cache access operations that can be buffered per segment before the cache's recency
       * ordering information is updated. This is used to avoid lock contention by recording a memento
       * of reads and delaying a lock acquisition until the threshold is crossed or a mutation occurs.
       *
       * <p>This must be a (2^n)-1 as it is used as a mask.
    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/io/Files.java

      public static File createTempDir() {
        return TempFileCreator.INSTANCE.createTempDir();
      }
    
      /**
       * Creates an empty file or updates the last updated timestamp on the same as the unix command of
       * the same name.
       *
       * @param file the file to create or update
       * @throws IOException if an I/O error occurs
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        }
    
        @Override
        protected void update(byte b) {
          checkNotDone();
          digest.update(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          checkNotDone();
          digest.update(b, off, len);
        }
    
        @Override
        protected void update(ByteBuffer bytes) {
          checkNotDone();
          digest.update(bytes);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

        hashTableVToK[valueBucket] = entry;
      }
    
      /**
       * Updates the K-to-V hash table to remove the entry at the specified index, which is assumed to
       * be present. Does not update any other data structures.
       */
      private void deleteFromTableKToV(int entry, int keyHash) {
        checkArgument(entry != ABSENT);
        int keyBucket = bucket(keyHash);
    
        if (hashTableKToV[keyBucket] == entry) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
       * Number of cache access operations that can be buffered per segment before the cache's recency
       * ordering information is updated. This is used to avoid lock contention by recording a memento
       * of reads and delaying a lock acquisition until the threshold is crossed or a mutation occurs.
       *
       * <p>This must be a (2^n)-1 as it is used as a mask.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top