Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for cover (0.31 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Transporter provider is a service that provides somewhat trivial transport capabilities backed by Maven internals.
     * This API does not try to cover all the requirements out there, just the basic ones, and is intentionally simple.
     * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should
     * probably roll its own.
     * <p>
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is
     * tested in {@link FuturesTest}.
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class FluentFutureTest extends TestCase {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is
     * tested in {@link FuturesTest}.
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class FluentFutureTest extends TestCase {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
                return ((int) ((lw >>> n) & UNSIGNED_MASK)) - ((int) ((rw >>> n) & UNSIGNED_MASK));
              }
            }
    
            // The epilogue to cover the last (minLength % stride) elements.
            for (; i < minLength; i++) {
              int result = UnsignedBytes.compare(left[i], right[i]);
              if (result != 0) {
                return result;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

      static <E> ImmutableList<E> asImmutableList(Object[] elements) {
        return asImmutableList(elements, elements.length);
      }
    
      /**
       * Views the array as an immutable list. Copies if the specified range does not cover the complete
       * array. Does not check for nulls.
       */
      static <E> ImmutableList<E> asImmutableList(@Nullable Object[] elements, int length) {
        switch (length) {
          case 0:
            return of();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors
     *       differ significantly. And sometimes testcases cover multiple methods when they cannot be
     *       tested in isolation.
     *   <li>The documentation style for testcases is to provide as javadoc a simple sentence or two
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/IntMathTest.java

      public void testLog10TrivialOnPowerOfTen() {
        int x = 1000000;
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(6, IntMath.log10(x, mode));
        }
      }
    
      // Simple test to cover sqrt(0) for all types and all modes.
      @GwtIncompatible // sqrt
      public void testSqrtZeroAlwaysZero() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(0, IntMath.sqrt(0, mode));
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors
     *       differ significantly. And sometimes testcases cover multiple methods when they cannot be
     *       tested in isolation.
     *   <li>The documentation style for testcases is to provide as javadoc a simple sentence or two
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/IntMathTest.java

      public void testLog10TrivialOnPowerOfTen() {
        int x = 1000000;
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(6, IntMath.log10(x, mode));
        }
      }
    
      // Simple test to cover sqrt(0) for all types and all modes.
      @GwtIncompatible // sqrt
      public void testSqrtZeroAlwaysZero() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(0, IntMath.sqrt(0, mode));
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/CharMatcherTest.java

        if (expected.equals(in)) {
          assertSame(in, out);
        } else {
          assertEquals(expected, out);
        }
      }
    
      // Test collapse() a little differently than the rest, as we really want to
      // cover lots of different configurations of input text
      public void testCollapse() {
        // collapsing groups of '-' into '_' or '-'
        doTestCollapse("-", "_");
        doTestCollapse("x-", "x_");
        doTestCollapse("-x", "_x");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
Back to top