Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 497 for Nest (0.14 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

          }
        };
      }
    
      public void test_contains_null_set_yes() {
        Iterable<@Nullable String> set = Sets.newHashSet("a", null, "b");
        assertTrue(Iterables.contains(set, null));
      }
    
      public void test_contains_null_set_no() {
        Iterable<String> set = Sets.newHashSet("a", "b");
        assertFalse(Iterables.contains(set, null));
      }
    
      public void test_contains_null_iterable_yes() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
       * without needing a separate VM or classloader.
       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RangeTest.java

    import java.util.Collections;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Range}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class RangeTest extends TestCase {
      public void testOpen() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/callResolver/Fe10IdeNormalAnalysisSourceModuleResolveCandidatesTestGenerated.java

    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiTestConfigurator;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.TestModuleKind;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.FrontendKind;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisSessionMode;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiMode;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Feb 16 12:48:24 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.concurrent.ConcurrentSkipListMap;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
      public interface CollectionsImplEnum {
        <E extends Comparable<E>> Collection<E> create(Collection<E> contents);
    
        String name();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
Back to top