Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for replication (0.23 sec)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      }
    
      /**
       * A {@code CycleDetectingLockFactory.WithExplicitOrdering} provides the additional enforcement of
       * an application-specified ordering of lock acquisitions. The application defines the allowed
       * ordering with an {@code Enum} whose values each correspond to a lock type. The order in which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. CONTRIBUTING.md

    for it.
    
    If the feature has merit, it will go through a thorough process of API design
    and review. Any code should come after this.
    
    [APIs]: https://en.wikipedia.org/wiki/Application_programming_interface
    [issue]: https://github.com/google/guava/issues
    
    Pull requests
    -------------
    
    Unless the change is a trivial fix such as for a typo, it's generally best to
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Utf8.java

     * Specification, Chapter 3</a>.
     *
     * <p>The variant of UTF-8 implemented by this class is the restricted definition of UTF-8
     * introduced in Unicode 3.1. One implication of this is that it rejects <a
     * href="http://www.unicode.org/versions/corrigendum1.html">"non-shortest form"</a> byte sequences,
     * even though the JDK decoder may accept them.
     *
     * @author Martin Buchholz
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        inverseFeatures.remove(CollectionFeature.KNOWN_ORDER);
        inverseFeatures.add(MapFeature.REJECTS_DUPLICATES_AT_CREATION);
    
        return inverseFeatures;
      }
    
      // TODO(lowasser): can we eliminate the duplication from MapTestSuiteBuilder here?
    
      private static Set<Feature<?>> computeValuesSetFeatures(Set<Feature<?>> mapFeatures) {
        Set<Feature<?>> valuesCollectionFeatures = computeCommonDerivedCollectionFeatures(mapFeatures);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
         */
        @Override
        public String toString() {
          // create a copy to keep it consistent in case value changes
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          Multiset<Integer> get() {
            return Synchronized.multiset(HashMultiset.<Integer>create(), null);
          }
        },
        ;
    
        abstract Multiset<Integer> get();
      }
    
      /**
       * Duplication of the old version of ConcurrentHashMultiset (with some unused stuff removed, like
       * serialization code) which used a map with boxed integers for the values.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

    /**
     * Tests for {@link ImmutableBiMap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableBiMapTest extends TestCase {
    
      // TODO: Reduce duplication of ImmutableMapTest code
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          ExecutorService service, long terminationTimeout, TimeUnit timeUnit) {
        new Application().addDelayedShutdownHook(service, terminationTimeout, timeUnit);
      }
    
      /** Represents the current application to register shutdown hooks. */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      @VisibleForTesting
      static class Application {
    
        final ExecutorService getExitingExecutorService(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

          this.delayLatch = delayLatch;
        }
    
        @Override
        public T apply(T key) {
          awaitUninterruptibly(delayLatch);
          return key;
        }
      }
    
      /*
       * TODO(cpovirk): eliminate duplication between these tests and those in LegacyMapMakerTests and
       * anywhere else
       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        try {
          maker.initialCapacity(-1);
    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)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       * can therefore be converted safely to integers (for whatever purpose) this function can be used
       * to handle IPv6 addresses as well until the application is suitably fixed.
       *
       * <p>NOTE: an IPv6 address coerced to an IPv4 address can only be used for such purposes as
       * rudimentary identification or indexing into a collection of real {@link InetAddress}es. They
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top