Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for unlink (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *       return result;
     *     } finally {
     *       lock.unlock();
     *     }
     *   }
     *
     *   public void set(V newValue) throws InterruptedException {
     *     lock.lock();
     *     try {
     *       while (value != null) {
     *         valueAbsent.await();
     *       }
     *       value = newValue;
     *       valuePresent.signal();
     *     } finally {
     *       lock.unlock();
     *     }
     *   }
     * }
     * }</pre>
     *
    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)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

    /**
     * An abstract implementation of {@link ListenableFuture}, intended for advanced users only. More
     * common ways to create a {@code ListenableFuture} include instantiating a {@link SettableFuture},
     * submitting a task to a {@link ListeningExecutorService}, and deriving a {@code Future} from an
     * existing one, typically using methods like {@link Futures#transform(ListenableFuture,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          } finally {
            unlock();
            postWriteCleanup();
          }
        }
    
        // reference queues, for garbage collection cleanup
    
        /** Cleanup collected entries when the lock is available. */
        void tryDrainReferenceQueues() {
          if (tryLock()) {
            try {
              drainReferenceQueues();
            } finally {
              unlock();
            }
          }
        }
    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)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

     * or an explicit {@link Comparator}. In all cases, this implementation uses {@link
     * Comparable#compareTo} or {@link Comparator#compare} instead of {@link Object#equals} to determine
     * equivalence of instances.
     *
     * <p><b>Warning:</b> The comparison must be <i>consistent with equals</i> as explained by the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Strings.java

       *
       * <p>Consider normalizing your string references with {@link #nullToEmpty}. If you do, you can
       * use {@link String#isEmpty()} instead of this method, and you won't need special null-safe forms
       * of methods like {@link String#toUpperCase} either. Or, if you'd like to normalize "in the other
       * direction," converting empty strings to {@code null}, you can use {@link #emptyToNull}.
       *
       * @param string a string reference to check
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

    import com.google.common.collect.Iterables;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /**
     * {@link TestCase} for {@link InternetDomainName}.
     *
     * @author Craig Berry
     */
    @GwtCompatible(emulated = true)
    public final class InternetDomainNameTest extends TestCase {
      private static final InternetDomainName UNICODE_EXAMPLE =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

        }
      }
    
      private static final double LOAD_FACTOR = 1.0;
    
      /*
       * The following two arrays may *contain* nulls, but they are never *themselves* null: Even though
       * they are not initialized inline in the constructor, they are initialized from init(), which the
       * constructor calls (as does readObject()).
       */
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (see above)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link NavigableMap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

          } finally {
            unlock();
            postWriteCleanup();
          }
        }
    
        // reference queues, for garbage collection cleanup
    
        /** Cleanup collected entries when the lock is available. */
        void tryDrainReferenceQueues() {
          if (tryLock()) {
            try {
              drainReferenceQueues();
            } finally {
              unlock();
            }
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * more futures or adding more {@code directExecutor()} listeners inline -- consider {@link
       * MoreExecutors#directExecutor}. Otherwise, avoid it: See the warnings on the docs for {@code
       * directExecutor}.
       *
       * <p>This is the most general listener interface. For common operations performed using
       * listeners, see {@link Futures}. For a simplified but general listener interface, see {@link
       * Futures#addCallback addCallback()}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top