Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for publication (0.28 sec)

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

         *       operations in a thread always happen-before subsequent read operations in the same
         *       thread
         *   <li>If this field's value == null because of unsafe publication, we know that it isn't the
         *       object associated with our thread, because if it was the publication wouldn't have been
         *       unsafe and we'd have seen our thread as the value. This state is also why a new
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  2. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

      /**
       * As described in the <a href="http://idpf.org/epub">International Digital Publishing Forum</a>
       * EPUB is the distribution and interchange format standard for digital publications and
       * documents. This media type is defined in the <a
       * href="http://www.idpf.org/epub/30/spec/epub30-ocf.html">EPUB Open Container Format</a>
       * specification.
       *
       * @since 15.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top