Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,808 for versions (0.23 sec)

  1. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    import java.util.concurrent.atomic.AtomicInteger;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset that supports concurrent modifications and that provides atomic versions of most
     * {@code Multiset} operations (exceptions where noted). Null elements are not supported.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      final Segment<K, V, E, S>[] newSegmentArray(int ssize) {
        return (Segment<K, V, E, S>[]) new Segment<?, ?, ?, ?>[ssize];
      }
    
      // Inner Classes
    
      /**
       * Segments are specialized versions of hash tables. This subclass inherits from ReentrantLock
       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

      final Segment<K, V>[] newSegmentArray(int ssize) {
        return (Segment<K, V>[]) new Segment<?, ?>[ssize];
      }
    
      // Inner Classes
    
      /**
       * Segments are specialized versions of hash tables. This subclass inherits from ReentrantLock
       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android
      @GwtIncompatible // java.util.regex.Pattern
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
      public void testPatternSplitLookBehind() {
        if (!CommonPattern.isPcreLike()) {
          return;
        }
        String toSplit = ":foo::barbaz:";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. android/pom.xml

        <test.include>%regex[.*.class]</test.include>
        <truth.version>1.4.2</truth.version>
        <jsr305.version>3.0.2</jsr305.version>
        <checker.version>3.42.0</checker.version>
        <errorprone.version>2.26.1</errorprone.version>
        <j2objc.version>3.0.0</j2objc.version>
        <javac.version>9+181-r4173-1</javac.version>
        <!-- Empty for all JDKs but 9-12 -->
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .isEqualTo(new File("/c:/Documents ~ Settings, or not/11-12 12:05"));
      }
    
      // https://github.com/google/guava/issues/2152
      @AndroidIncompatible // works in newer Android versions but fails at the version we test with
      public void testToFile_AndroidIncompatible() throws Exception {
        assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05")))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k");
        assertEquals(Lists.newArrayList("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k"), list);
      }
    
      // Varargs versions
    
      public void testCreation_twelveElements() {
        List<String> list =
            ImmutableList.of("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l");
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .isEqualTo(new File("/c:/Documents ~ Settings, or not/11-12 12:05"));
      }
    
      // https://github.com/google/guava/issues/2152
      @AndroidIncompatible // works in newer Android versions but fails at the version we test with
      public void testToFile_AndroidIncompatible() throws Exception {
        assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05")))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // All futures are now complete; outstanding inputs are cancelled
        assertTrue(future3.isCancelled());
        assertTrue(future3.wasInterrupted());
      }
    
      @AndroidIncompatible // runs out of memory under some versions of the emulator
      public void testCancellingAllDelegatesIsNotQuadratic() throws Exception {
        ImmutableList.Builder<SettableFuture<Long>> builder = ImmutableList.builder();
        for (int i = 0; i < 500_000; i++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Optional.java

     *   <li>{@code java.util.Optional} has the additional methods {@code ifPresent}, {@code filter},
     *       {@code flatMap}, and {@code orElseThrow}.
     *   <li>{@code java.util} offers the primitive-specialized versions {@code OptionalInt}, {@code
     *       OptionalLong} and {@code OptionalDouble}, the use of which is recommended; Guava does not
     *       have these.
     * </ul>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top