Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,853 for Nest (0.18 sec)

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

        if (num >= 0) {
          Object[] rest = new Integer[num];
          for (int i = 0; i < num; i++) {
            rest[i] = partsArray[i + 2];
          }
    
          assertEquals(expected, joiner.join(partsArray[0], partsArray[1], rest));
    
          StringBuilder sb3 = new StringBuilder().append('x');
          joiner.appendTo(sb3, partsArray[0], partsArray[1], rest);
          assertEquals("x" + expected, sb3.toString());
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      // If this test fails, all bets are off
      public void testReallySimpleFingerprints() {
        assertEquals(8473225671271759044L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
        assertEquals(7345148637025587076L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8)));
        // 256 characters long
        assertEquals(4904844928629814570L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known
     * bugs in OpenJDK 6 or higher.
     *
     * @author Kevin Bourrillion
     */
    /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.8K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known
     * bugs in OpenJDK 6 or higher.
     *
     * @author Kevin Bourrillion
     */
    /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/JoinerTest.java

        if (num >= 0) {
          Object[] rest = new Integer[num];
          for (int i = 0; i < num; i++) {
            rest[i] = partsArray[i + 2];
          }
    
          assertEquals(expected, joiner.join(partsArray[0], partsArray[1], rest));
    
          StringBuilder sb3 = new StringBuilder().append('x');
          joiner.appendTo(sb3, partsArray[0], partsArray[1], rest);
          assertEquals("x" + expected, sb3.toString());
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * implement shutdown and termination behavior.
       *
       * <p>The implementation deviates from the {@code ExecutorService} specification with regards to
       * the {@code shutdownNow} method. First, "best-effort" with regards to canceling running tasks is
       * implemented as "no-effort". No interrupts or other attempts are made to stop threads executing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

          T second = shuffledList.get(1);
          T third = shuffledList.get(2);
          T[] rest = shuffledList.subList(3, shuffledList.size()).toArray(emptyArray);
    
          assertEquals(min, ordering.min(shuffledList));
          assertEquals(min, ordering.min(shuffledList.iterator()));
          assertEquals(min, ordering.min(first, second, third, rest));
          assertEquals(min, ordering.min(min, max));
          assertEquals(min, ordering.min(max, min));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          T second = shuffledList.get(1);
          T third = shuffledList.get(2);
          T[] rest = shuffledList.subList(3, shuffledList.size()).toArray(emptyArray);
    
          assertEquals(min, ordering.min(shuffledList));
          assertEquals(min, ordering.min(shuffledList.iterator()));
          assertEquals(min, ordering.min(first, second, third, rest));
          assertEquals(min, ordering.min(min, max));
          assertEquals(min, ordering.min(max, min));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

    import com.google.common.testing.EqualsTester;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link ImmutableSet}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @author Nick Kralevich
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

                    .addAll(curr)
                    .build());
          }
        }
        return allOverloads.build().asList();
      }
    
      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
      // but essentially each line will be a call to a Preconditions method that, but for a documented
      // change would be a compiler error.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top