Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for impls (0.33 sec)

  1. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .named("ForwardingSortedMultiset with standard impls")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.GENERAL_PURPOSE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .named("ForwardingSortedMultiset with standard impls")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.GENERAL_PURPOSE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

        return Types.toString(runtimeType);
      }
    
      /** Implemented to support serialization of subclasses. */
      protected Object writeReplace() {
        // TypeResolver just transforms the type to our own impls that are Serializable
        // except TypeVariable.
        return of(new TypeResolver().resolveType(runtimeType));
      }
    
      /**
    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)
  4. guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

              immutableEntry((Class) Two.class, new Impl(2)),
              immutableEntry((Class) Three.class, new Impl(3)),
              immutableEntry((Class) Four.class, new Impl(4)),
              immutableEntry((Class) Five.class, new Impl(5)));
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public Entry<Class, Impl>[] createArray(int length) {
          return (Entry<Class, Impl>[]) new Entry<?, ?>[length];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

      private final int[][] intsToMul = new int[ARRAY_SIZE][2];
      private final long[][] longsToAdd = new long[ARRAY_SIZE][2];
      private final long[][] longsToMul = new long[ARRAY_SIZE][2];
    
      @Param({"APACHE", "GUAVA"})
      Impl impl;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          factorials[i] = RANDOM_SOURCE.nextInt(200);
          for (int j = 0; j < 2; j++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.9K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      @Param({"2", "8", "64", "1024", "65536"})
      int numStripes;
    
      @Param Impl impl;
    
      enum Impl {
        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      @Param({"2", "8", "64", "1024", "65536"})
      int numStripes;
    
      @Param Impl impl;
    
      enum Impl {
        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java

      })
      private int size;
    
      // "" means no fixed seed
      @Param("1234")
      private SpecialRandom random;
    
      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private CollectionBenchmarkSampleData sampleData;
    
      @BeforeExperiment
      void setUp() {
        sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
      void setUp() {
        CollectionBenchmarkSampleData sampleData =
            new CollectionBenchmarkSampleData(true, random, 0.8, size);
        setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet());
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/EqualsTester.java

       * equal to any other equality groups added to this tester.
       *
       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top