Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 227 for leash (0.14 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

        public static final MojoDescriptor CLEAN = createMojoDescriptor("clean");
    
        public static final MojoDescriptor POST_CLEAN = createMojoDescriptor("post-clean");
    
        // default (or at least some of them)
    
        public static final MojoDescriptor VALIDATE = createMojoDescriptor("validate");
    
        public static final MojoDescriptor INITIALIZE = createMojoDescriptor("initialize");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          for (int insertion = 0; insertion < totalInsertions; insertion++) {
            RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl);
          }
          // We need to ensure that at least 4 bytes have been put into the hasher or else
          // Hasher#hash will throw an ISE.
          int intToPut = random.nextInt();
          for (Hasher hasher : sinksAndControl) {
            hasher.putInt(intToPut);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        @Override
        public void execute(Runnable command) {
          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
          }
        }
      }
    
      private FakeExecutor fakePool;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor. Always returns at least setSize + 2.
       */
      // TODO(cpovirk): Move to Hashing or something, since it's used elsewhere in the Android version.
      static int chooseTableSize(int setSize) {
        setSize = Math.max(setSize, 2);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Cache.java

      /**
       * Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to
       * the map directly affect the cache.
       *
       * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
       * concurrent use, but if the cache is modified (including by eviction) after the iterator is
       * created, it is undefined which of the changes (if any) will be reflected in that iterator.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/PercentEscaper.java

      @Override
      @CheckForNull
      protected char[] escape(int cp) {
        // We should never get negative values here but if we do it will throw an
        // IndexOutOfBoundsException, so at least it will get spotted.
        if (cp < safeOctets.length && safeOctets[cp]) {
          return null;
        } else if (cp == ' ' && plusForSpace) {
          return PLUS_SIGN;
        } else if (cp <= 0x7F) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

       * methods as implementations of normal converters do?
       *
       * But no matter what we do, it's worth remembering that the resulting code is going to be unsound
       * in the presence of LegacyConverter, at least in the case of users who view the converter as a
       * Function<A, B> or who call convertAll (and for any checkers that apply @PolyNull-like semantics
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

            });
      }
    
      /**
       * Tries to perform a "full" garbage collection cycle (including processing of weak references and
       * invocation of finalize methods) and waits for it to complete. Ensures that at least one weak
       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashFunction.java

     *
     * <h3>Desirable properties</h3>
     *
     * <p>A high-quality hash function strives for some subset of the following virtues:
     *
     * <ul>
     *   <li><b>collision-resistant:</b> while the definition above requires making at least <i>some</i>
     *       token attempt, one measure of the quality of a hash function is <i>how well</i> it succeeds
     *       at this goal. Important note: it may be easy to achieve the theoretical minimum collision
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/StatsAccumulator.java

      }
    
      double sumOfSquaresOfDeltas() {
        return sumOfSquaresOfDeltas;
      }
    
      /**
       * Calculates the new value for the accumulated mean when a value is added, in the case where at
       * least one of the previous mean and the value is non-finite.
       */
      static double calculateNewMeanNonFinite(double previousMean, double value) {
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
Back to top