Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for Walker (0.43 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
    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)
  2. android/guava/src/com/google/common/collect/Platform.java

       * likewise not type-checked)? Could our single caller do something different?
       */
      @SuppressWarnings({"nullness", "unchecked"})
      static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
        return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass());
      }
    
      /**
       * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       * identifier} as the bus's name for logging purposes.
       *
       * @param identifier short name for the bus, for logging purposes.
       * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut
       *     down the executor after the last event has been posted to this event bus.
       */
      public AsyncEventBus(String identifier, Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/internal/Finalizer.java

            // ignore
          }
        }
      }
    
      /**
       * Cleans up the given reference and any other references already in the queue. Catches and logs
       * all throwables.
       *
       * @return true if the caller should continue to wait for more references to be added to the
       *     queue, false if the associated FinalizableReferenceQueue is no longer referenced.
       */
      private boolean cleanUp(Reference<?> firstReference) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
     * <p>For instance, if <i>steps</i> is 5, one example sequence that will be tested is:
     *
     * <ol>
     *   <li>remove();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/EnumBiMap.java

       * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance.
       *
       * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller
       * calls `create(Foo.class)`, rather than `create(map)`. That's fine; we just shouldn't rely on
       * it.
       */
      transient Class<K> keyTypeOrObjectUnderJ2cl;
      transient Class<V> valueTypeOrObjectUnderJ2cl;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      private static final int CRC32C_GENERATOR = 0x1EDC6F41; // 0x11EDC6F41
      private static final int CRC32C_GENERATOR_FLIPPED = Integer.reverse(CRC32C_GENERATOR);
    
      public void testCrc32cByteTable() {
        // See Hacker's Delight 2nd Edition, Figure 14-7.
        int[] expected = new int[256];
        for (int i = 0; i < expected.length; i++) {
          int crc = i;
          for (int j = 7; j >= 0; j--) {
            int mask = -(crc & 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>());
      }
    
      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a given empty {@code
       * backingMap}. The caller surrenders control of the backing map, and thus should not allow any
       * direct references to it to remain accessible.
       */
      public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/BigIntegerMath.java

    import java.util.List;
    
    /**
     * A class for arithmetic on values of type {@code BigInteger}.
     *
     * <p>The implementations of many methods in this class are based on material from Henry S. Warren,
     * Jr.'s <i>Hacker's Delight</i>, (Addison Wesley, 2002).
     *
     * <p>Similar functionality for {@code int} and for {@code long} can be found in {@link IntMath} and
     * {@link LongMath} respectively.
     *
     * @author Louis Wasserman
     * @since 11.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

            ? SortedSetTestSuiteBuilder.using((TestSortedSetGenerator<K>) keySetGenerator)
            : SetTestSuiteBuilder.using(keySetGenerator);
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<@Nullable Void> {
        SUBMAP,
        DESCENDING;
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top