Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Pointer (0.17 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class Counter<N extends Number> {
        @SuppressWarnings("unused") // used by reflection
        List<N> counts;
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound()
          throws Exception {
        TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {};
        TypeToken<?> fieldType =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
       * all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
       * <p><i>Performance notes:</i> while the cartesian product of sets of size {@code m, n, p} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * always {@code (int) (capacity * 0.75)}.)
         */
        int threshold;
    
        /** The per-segment table. */
        @CheckForNull volatile AtomicReferenceArray<E> table;
    
        /**
         * A counter of the number of reads since the last write, used to drain queues on a small
         * fraction of read operations.
         */
        final AtomicInteger readCount = new AtomicInteger();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> recordStats() {
        statsCounterSupplier = CACHE_STATS_COUNTER;
        return this;
      }
    
      boolean isRecordingStats() {
        return statsCounterSupplier == CACHE_STATS_COUNTER;
      }
    
      Supplier<? extends StatsCounter> getStatsCounterSupplier() {
        return statsCounterSupplier;
      }
    
      /**
    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)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * Future}.
       *
       * <p>Usage example:
       *
       * <pre>{@code
       * ListenableFuture<Integer> fetchCounterFuture = ...;
       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(
       *     fetchCounterFuture, FetchException.class, x -> 0, directExecutor());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeToken.java

    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.collect.FluentIterable;
    import com.google.common.collect.ForwardingSet;
    import com.google.common.collect.ImmutableList;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class Counter<N extends Number> {
        @SuppressWarnings("unused") // used by reflection
        List<N> counts;
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound()
          throws Exception {
        TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {};
        TypeToken<?> fieldType =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top