Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,513 for what (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAll_unsupportedNonePresent()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we
       * figure out what to do with <a href="http://goo.gl/qJBruX">{@code ConcurrentHashMap} support for
       * {@code entrySet().add()}</a>.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * of the function, thus time. Thus, the RateLimiter becomes /faster/ after a period of
       * underutilization. If, on the other hand, we pick a function that goes /above/ that horizontal
       * line, then it means that the area (time) is increased, thus storedPermits are more costly than
       * fresh permits, thus the RateLimiter becomes /slower/ after a period of underutilization.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        String data = "Hi There";
    
        checkSha1("b617318655057264e28bc0b6fb378c8ef146be00", key, data);
      }
    
      public void testRfc2202_hmacSha1_case2() {
        byte[] key = "Jefe".getBytes(UTF_8);
        String data = "what do ya want for nothing?";
    
        checkSha1("effcdf6ae5eb2fa2d27416d5f184df9c259a7c79", key, data);
      }
    
      public void testRfc2202_hmacSha1_case3() {
        byte[] key = fillByteArray(20, 0xaa);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

    // TODO lifecycles being executed
    // TODO what runs in each phase
    // TODO plugins that need downloading
    // TODO project dependencies that need downloading
    // TODO unfortunately the plugins need to be downloaded in order to get the plugin.xml file. need to externalize this
    //      from the plugin archive.
    // TODO this will be the class that people get in IDEs to modify
    
    /**
     * MavenExecutionPlan
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

        public Lifecycle get(String phase) {
            return getPhaseToLifecycleMap().get(phase);
        }
    
        /**
         * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the
         * phase they want to execute and we can easily determine what lifecycle we need to run.
         *
         * @return A map of lifecycles, indexed on id
         */
        public Map<String, Lifecycle> getPhaseToLifecycleMap() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * }
     * }</pre>
     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
     * <p>The declaration methods must be public.
     */
    @AndroidIncompatible // only used by android incompatible tests.
    abstract class SubtypeTester implements Cloneable {
    
      /** Annotates a public method that declares subtype assertion. */
      @RequiredModifiers(Modifier.PUBLIC)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
        // return collection::iterator;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.DependencyResolver
     * @see DependencyScope
     */
    @Experimental
    @Immutable
    public interface PathScope extends ExtensibleEnum {
    
        // TODO: what if I simply want all dependencies ?
        @Nonnull
        ProjectScope projectScope();
    
        @Nonnull
        Set<DependencyScope> dependencyScopes();
    
        PathScope MAIN_COMPILE = pathScope(
                "main-compile",
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

       *
       * <p>The {@code AbstractListTester} implementation overrides {@link
       * AbstractCollectionTester#expectContents(Collection)} to verify that the order of the elements
       * in the list under test matches what is expected.
       */
      @Override
      protected void expectContents(Collection<E> expectedCollection) {
        List<E> expectedList = Helpers.copyToList(expectedCollection);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top