Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for remark (0.14 sec)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

        for (int i = 0; i < ITERS; i++) {
          countRemaps(r.nextLong(), map);
        }
        for (int shard = 2; shard <= MAX_SHARDS; shard++) {
          // Rough: don't exceed 1.2x the expected number of remaps by more than 20
          assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20);
        }
      }
    
      private void countRemaps(long h, AtomicLongMap<Integer> map) {
        int last = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * delegate is non-empty. The {@code refreshIfEmpty}, {@code removeIfEmpty}, and {@code addToMap}
       * methods ensure that the {@code WrappedCollection} and map remain consistent.
       *
       * <p>A subcollection, such as a sublist, contains some of the values for a given key. Its
       * ancestor field points to the full wrapped collection with all values for the key. The
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

      }
    
      /**
       * Serialized type for all ImmutableMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       */
      @J2ktIncompatible // serialization
      static class SerializedForm<K, V> implements Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Serialized type for all ImmutableSortedMap instances. It captures the logical contents and they
       * are reconstructed using public factory methods. This ensures that the implementation types
       * remain as implementation details.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> {
        private final Comparator<? super K> comparator;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteStreams.java

        public int available() throws IOException {
          return (int) Math.min(in.available(), left);
        }
    
        // it's okay to mark even if mark isn't supported, as reset won't work
        @Override
        public synchronized void mark(int readLimit) {
          in.mark(readLimit);
          mark = left;
        }
    
        @Override
        public int read() throws IOException {
          if (left == 0) {
            return -1;
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. README.md

        the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!**
    
    2.  APIs without `@Beta` will remain binary-compatible for the indefinite
        future. (Previously, we sometimes removed such APIs after a deprecation
        period. The last release to remove non-`@Beta` APIs was Guava 21.0.) Even
        `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no
        plans to start removing things again, but officially, we're leaving our
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

    import java.util.List;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code List}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum ListFeature implements Feature<List> {
      SUPPORTS_SET,
      SUPPORTS_ADD_WITH_INDEX(CollectionFeature.SUPPORTS_ADD),
      SUPPORTS_REMOVE_WITH_INDEX(CollectionFeature.SUPPORTS_REMOVE),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    import java.util.Map;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractNetworkTest.validateNetwork(network);
    
          Collections.shuffle(nodeList, gen);
          for (Integer node : nodeList) {
            assertThat(network.addNode(node)).isTrue();
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
       * method is called reflectively by Subscriber during tests, and must remain public.
       *
       * @param arg argument to record.
       */
      @Subscribe
      public void recordingMethod(Object arg) {
        assertFalse(methodCalled);
        methodCalled = true;
        methodArgument = arg;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top