Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for Lavoie (0.14 sec)

  1. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .testEquals();
      }
    
      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

       * in the list under test matches what is expected.
       */
      @Override
      protected void expectContents(Collection<E> expectedCollection) {
        List<E> expectedList = Helpers.copyToList(expectedCollection);
        // Avoid expectEquals() here to delay reason manufacture until necessary.
        if (getList().size() != expectedList.size()) {
          fail("size mismatch: " + reportContext(expectedList));
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              if (comparator == null) {
                // A sorted spliterator with no comparator is already using natural order.
                // (We could probably find a way to avoid rawtypes here if we wanted.)
                @SuppressWarnings({"unchecked", "rawtypes"})
                Comparator<? super E> naturalOrder =
                    (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. guava/pom.xml

          <version>1.0.2</version>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>listenablefuture</artifactId>
          <version>9999.0-empty-to-avoid-conflict-with-guava</version>
        </dependency>
        <dependency>
          <groupId>com.google.code.findbugs</groupId>
          <artifactId>jsr305</artifactId>
        </dependency>
        <dependency>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        // manually add elements to avoid expansion
        int originalCount = 1024;
        InternalEntry<Object, Object, ?> entry = null;
        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = new Object();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        // manually add elements to avoid expansion
        int originalCount = 1024;
        InternalEntry<Object, Object, ?> entry = null;
        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = new Object();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          Collection<E> collection, E sampleElement) {
        Collection<E> siblingCollection = new ArrayList<>();
        siblingCollection.add(sampleElement);
    
        Collection<E> copy = new ArrayList<>();
        // Avoid copy.addAll(collection), which runs afoul of an Android bug in older versions:
        // http://b.android.com/72073 http://r.android.com/98929
        Iterators.addAll(copy, collection.iterator());
    
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

     * void exampleBadCaller() {
     *   double d = sqrt(-1.0);
     * }
     * }</pre>
     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @deprecated If you must interoperate with a system that requires MD5, then use this method,
       *     despite its deprecation. But if you can choose your hash function, avoid MD5, which is
       *     neither fast nor secure. As of January 2017, we suggest:
       *     <ul>
       *       <li>For security:
       *           {@link Hashing#sha256} or a higher-level API.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
Back to top