Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Fry (0.16 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    
    /**
     * @author Charles Fry
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // MapMaker
    public class MapMakerTest extends TestCase {
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
    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)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
    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)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * MapMaker emulation.
     *
     * @author Charles Fry
     */
    @ElementTypesAreNonnullByDefault
    public final class MapMaker {
      private int initialCapacity = 16;
    
      public MapMaker() {}
    
      @CanIgnoreReturnValue
      public MapMaker initialCapacity(int initialCapacity) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    
    /**
     * @author Charles Fry
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // MapMaker
    public class MapMakerTest extends TestCase {
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
     * wrapping a checked exception, prefer {@code ExecutionException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UncheckedExecutionException extends RuntimeException {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public String toString() {
          return getKey() + "=" + getValue();
        }
      }
    
      // TODO(fry): Separate logic for consistency between emul and nonemul implementation.
      // TODO(fry): Look into Maps.KeySet and Maps.Values, which can ideally be reused here but are
      // currently only package visible.
      abstract class AbstractCacheSet<T> extends AbstractSet<T> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

     *
     * <p>This implementation is heavily derived from revision 1.96 of <a
     * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>.
     *
     * @author Charles Fry
     * @author Bob Lee ({@code com.google.common.collect.MapMaker})
     * @author Doug Lea ({@code ConcurrentHashMap})
     */
    @SuppressWarnings({
      "GoodTime", // lots of violations (nanosecond math)
    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)
  9. guava/src/com/google/common/cache/LocalCache.java

     *
     * <p>This implementation is heavily derived from revision 1.96 of <a
     * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>.
     *
     * @author Charles Fry
     * @author Bob Lee ({@code com.google.common.collect.MapMaker})
     * @author Doug Lea ({@code ConcurrentHashMap})
     */
    @SuppressWarnings({
      "GoodTime", // lots of violations (nanosecond math)
    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)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     *
     * <p><b>Warning:</b> Unlike {@code Multiset}, entries whose values are zero are not automatically
     * removed from the map. Instead they must be removed manually with {@link #removeAllZeros}.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class AtomicLongMap<K> implements Serializable {
      private final ConcurrentHashMap<K, AtomicLong> map;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top