Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Miner (0.15 sec)

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

     *
     * <p>A new {@code CacheBuilder} can be instantiated from a {@code CacheBuilderSpec} using {@link
     * CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}.
     *
     * @author Adam Winer
     * @since 12.0
     */
    @SuppressWarnings("GoodTime") // lots of violations (nanosecond math)
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheBuilderSpec {
      /** Parses a single value. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilderSpec.java

     *
     * <p>A new {@code CacheBuilder} can be instantiated from a {@code CacheBuilderSpec} using {@link
     * CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}.
     *
     * @author Adam Winer
     * @since 12.0
     */
    @SuppressWarnings("GoodTime") // lots of violations (nanosecond math)
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheBuilderSpec {
      /** Parses a single value. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
          logger.finer(Platform.format("%s: excluding because it was explicitly suppressed.", test));
          return false;
        }
        TesterRequirements requirements;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
        assertNull(spec.initialCapacity);
        assertNull(spec.maximumSize);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
          logger.finer(Platform.format("%s: excluding because it was explicitly suppressed.", test));
          return false;
        }
        TesterRequirements requirements;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
        assertNull(spec.initialCapacity);
        assertNull(spec.maximumSize);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      @CanIgnoreReturnValue
      public boolean cancel(boolean mayInterruptIfRunning) {
        logger.get().log(FINER, "cancelling {0}", this);
        boolean cancelled = future.cancel(mayInterruptIfRunning);
        if (cancelled) {
          close();
        }
        return cancelled;
      }
    
      private void close() {
        logger.get().log(FINER, "closing {0}", this);
        closeables.close();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top