Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for CHARLES (0.17 sec)

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

    import com.google.common.annotations.GwtIncompatible;
    import java.util.concurrent.Executor;
    
    /**
     * A collection of common removal listeners.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class RemovalListeners {
    
      private RemovalListeners() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

    import com.google.caliper.Param;
    import com.google.common.cache.LocalCache.Segment;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    
    /**
     * Benchmark for {@code LocalCache.Segment.expand()}.
     *
     * @author Charles Fry
     */
    public class SegmentBenchmark {
    
      @Param({"16", "32", "64", "128", "256", "512", "1024", "2048", "4096", "8192"})
      int capacity;
    
      private Segment<Object, Object> segment;
    
      @BeforeExperiment
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 23 16:59:39 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    /**
     * GWT emulated version of LongAdder.
     *
     * @author Charles Fry
     */
    class LongAdder implements LongAddable {
    
      private long value;
    
      public void increment() {
        value++;
      }
    
      public void add(long x) {
        value += x;
      }
    
      public long sum() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 914 bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Weigher.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Calculates the weights of cache entries.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    @FunctionalInterface
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/ForwardingCacheTest.java

    import com.google.common.collect.ImmutableMap;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link ForwardingCache}.
     *
     * @author Charles Fry
     */
    public class ForwardingCacheTest extends TestCase {
      private Cache<String, Boolean> forward;
      private Cache<String, Boolean> mock;
    
      @SuppressWarnings({"unchecked", "DoNotMock"}) // mock
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Weigher.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Calculates the weights of cache entries.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/ForwardingCache.java

     * more methods to modify the behavior of the backing cache as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingCache<K, V> extends ForwardingObject implements Cache<K, V> {
    
      /** Constructor for use by subclasses. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/ForwardingCache.java

     * more methods to modify the behavior of the backing cache as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingCache<K, V> extends ForwardingObject implements Cache<K, V> {
    
      /** Constructor for use by subclasses. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

    import com.google.caliper.Param;
    import com.google.common.cache.LocalCache.Segment;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    
    /**
     * Benchmark for {@code LocalCache.Segment.expand()}.
     *
     * @author Charles Fry
     */
    public class SegmentBenchmark {
    
      @Param({"16", "32", "64", "128", "256", "512", "1024", "2048", "4096", "8192"})
      int capacity;
    
      private Segment<Object, Object> segment;
    
      @BeforeExperiment
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 23 16:59:39 GMT 2019
    - 2.1K bytes
    - Viewed (0)
Back to top