Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Stale (0.18 sec)

  1. android/guava/src/com/google/common/hash/Striped64.java

            else if (a.cas(v = a.value, fn(v, x))) break;
            else if (n >= NCPU || cells != as) collide = false; // At max size or stale
            else if (!collide) collide = true;
            else if (busy == 0 && casBusy()) {
              try {
                if (cells == as) { // Expand table unless stale
                  Cell[] rs = new Cell[n << 1];
                  for (int i = 0; i < n; ++i) rs[i] = as[i];
                  cells = rs;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

       * implementation; otherwise refreshes will be performed during unrelated cache read and write
       * operations.
       *
       * <p>Currently automatic refreshes are performed when the first stale request for an entry
       * occurs. The request triggering refresh will make a synchronous call to {@link
       * CacheLoader#reload}
       * to obtain a future of the new value. If the returned future is already complete, it is returned
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/ReferenceEntry.java

      @CheckForNull
      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/ReferenceEntry.java

      @CheckForNull
      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

       * implementation; otherwise refreshes will be performed during unrelated cache read and write
       * operations.
       *
       * <p>Currently automatic refreshes are performed when the first stale request for an entry
       * occurs. The request triggering refresh will make a synchronous call to {@link
       * CacheLoader#reload}
       * and immediately return the new value if the returned future is complete, and the old value
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Striped64.java

            else if (a.cas(v = a.value, fn(v, x))) break;
            else if (n >= NCPU || cells != as) collide = false; // At max size or stale
            else if (!collide) collide = true;
            else if (busy == 0 && casBusy()) {
              try {
                if (cells == as) { // Expand table unless stale
                  Cell[] rs = new Cell[n << 1];
                  for (int i = 0; i < n; ++i) rs[i] = as[i];
                  cells = rs;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Striped64.java

            else if (a.cas(v = a.value, fn(v, x))) break;
            else if (n >= NCPU || cells != as) collide = false; // At max size or stale
            else if (!collide) collide = true;
            else if (busy == 0 && casBusy()) {
              try {
                if (cells == as) { // Expand table unless stale
                  Cell[] rs = new Cell[n << 1];
                  for (int i = 0; i < n; ++i) rs[i] = as[i];
                  cells = rs;
    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)
  8. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      /**
       * Gets the value from an entry. Returns null if the entry is invalid, partially-collected,
       * loading, or expired. Unlike {@link Segment#getLiveValue} this method does not attempt to clean
       * up stale entries. As such it should only be called outside a segment context, such as during
       * iteration.
       */
      @CheckForNull
      V getLiveValue(ReferenceEntry<K, V> entry, long now) {
        if (entry.getKey() == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

         * its own "running" check.
         */
        void awaitRunChecks() throws InterruptedException {
          assertTrue(
              "Service thread hasn't finished its checks. "
                  + "Exception status (possibly stale): "
                  + thrownByExecutionThread,
              hasConfirmedIsRunning.await(10, SECONDS));
        }
    
        @Override
        protected void doStart() {
          assertEquals(State.STARTING, state());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

         * its own "running" check.
         */
        void awaitRunChecks() throws InterruptedException {
          assertTrue(
              "Service thread hasn't finished its checks. "
                  + "Exception status (possibly stale): "
                  + thrownByExecutionThread,
              hasConfirmedIsRunning.await(10, SECONDS));
        }
    
        @Override
        protected void doStart() {
          assertEquals(State.STARTING, state());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
Back to top