Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 289 for DO (0.21 sec)

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

       * number of elements and whose elements may change over time.
       *
       * <p>This test might fail in GWT because the GWT emulations might count on the input collection
       * not to change during the copy. It is safe to do so in GWT because javascript is
       * single-threaded.
       */
      @GwtIncompatible // GWT is single threaded
      public void testCopyOf_threadSafe() {
        /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

       * number of elements and whose elements may change over time.
       *
       * <p>This test might fail in GWT because the GWT emulations might count on the input collection
       * not to change during the copy. It is safe to do so in GWT because javascript is
       * single-threaded.
       */
      @GwtIncompatible // GWT is single threaded
      public void testCopyOf_threadSafe() {
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      @CheckForNull
      private static Object createHashTable(
          @Nullable Object[] alternatingKeysAndValues, int n, int tableSize, int keyOffset) {
        if (n == 1) {
          // for n=1 we don't create a hash table, but we need to do the checkEntryNotNull check!
          // requireNonNull is safe because the first `2*n` elements have been filled in.
          checkEntryNotNull(
              requireNonNull(alternatingKeysAndValues[keyOffset]),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test
         * anything interesting under most environments. Still, we can run it (except for Android, at
         * least old versions), so we mostly do. This is useful because we don't actually run our CI on
         * Windows under Java 8, at least as of this writing.
         *
         * Under Windows in particular, we want to test that:
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Striped64.java

    /**
     * A package-local class holding common representation and mechanics for classes supporting dynamic
     * striping on 64bit values. The class extends Number so that concrete subclasses must publicly do
     * so.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterable containing two
       * inner lists of three and two elements, all in the original order.
       *
       * <p>Iterators returned by the returned iterable do not support the {@link Iterator#remove()}
       * method. The returned lists implement {@link RandomAccess}, whether or not the input list does.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Collections2.java

       * predicate)} and use the copy.
       *
       * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedSetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code LinkedHashMultimap}
     * in a way that affects its {@link Object#equals} behavior. Undefined behavior and bugs will
     * result.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

       * tests of {@link CopyOnWriteArraySet} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570575">Sun bug 6570575</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getListIteratorFullyModifiableMethod() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

      private static List<Integer> asList(Integer[] values) {
        int[] temp = new int[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Ints.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        List<ListTestSuiteBuilder<Integer>> builders =
            ImmutableList.of(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top