Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for Camile (0.22 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    /**
     * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of
     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function)
     * Futures.catching} family of methods. Those versions have slightly different signatures.
     */
    @ElementTypesAreNonnullByDefault
    abstract class GwtFuturesCatchingSpecialization {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       */
      private @Nullable Object generate(TypeToken<?> type) {
        Class<?> rawType = type.getRawType();
        List<Object> samples = sampleInstances.get(rawType);
        Object sample = pickInstance(samples, null);
        if (sample != null) {
          return sample;
        }
        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       * <ul>
       *   <li>The non-private constructor or non-private static factory method with the most parameters
       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      protected Collection<E> getSampleElements() {
        return getSampleElements(getNumElements());
      }
    
      /**
       * Returns the {@linkplain #getSampleElements() sample elements} as ordered by {@link
       * TestContainerGenerator#order(List)}. Tests should use this method only if they declare
       * requirement {@link com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/PairedStats.java

       * @throws IllegalStateException if the dataset is empty
       */
      public double populationCovariance() {
        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
       * Returns the sample covariance of the values. The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values
       * multiple times, due to numerical errors.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

                      return i;
                    }
                  }
                  throw new IllegalArgumentException(
                      "Map.values generator can order only sample values");
                }
              });
          return insertionOrder;
        }
    
        @Override
        public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() {
          return mapGenerator;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public static final NullsBeforeTwo INSTANCE = new NullsBeforeTwo();
    
        private NullsBeforeTwo() {
          super("two"); // from TestStringSortedMapGenerator's sample keys
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getMethod(Class<?> clazz, String name) {
        try {
          return clazz.getMethod(name);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

      @BeforeExperiment
      void setUp() {
        Random random = new Random(randomSeed);
        xInts = new int[SAMPLE_SIZE];
        yInts = new int[SAMPLE_SIZE];
        xLongs = new long[SAMPLE_SIZE];
        yLongs = new long[SAMPLE_SIZE];
        constant = new int[SAMPLE_SIZE];
        for (int i = 0; i < SAMPLE_SIZE; i++) {
          xInts[i] = random.nextInt(Integer.MAX_VALUE);
          yInts[i] = random.nextInt(Integer.MAX_VALUE);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
Back to top