Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 235 for bound (0.15 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

                  + " called");
        }
      }
    
      public void testNullBounds() {
        // NullBounds has methods whose parameters are type variables that have
        // "extends @Nullable Object" as a bound. This test ensures that NullPointerTester considers
        // those parameters to be @Nullable, so it won't call the methods.
        NullBounds<?, ?, ?> nullBounds = new NullBounds<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       * value} is greater than {@code max}, {@code max} is returned.
       *
       * @param value the {@code int} value to constrain
       * @param min the lower bound (inclusive) of the range to constrain {@code value} to
       * @param max the upper bound (inclusive) of the range to constrain {@code value} to
       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

      }
    
      /**
       * Returns an estimate of the number of threads waiting for the given guard to become satisfied.
       * Note that because timeouts and interrupts may occur at any time, the estimate serves only as an
       * upper bound on the actual number of waiters. This method is designed for use in monitoring of
       * the system state, not for synchronization control.
       */
      public int getWaitQueueLength(Guard guard) {
        if (guard.monitor != this) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

              long result = 1;
              long numerator = n--;
              long denominator = 1;
    
              int numeratorBits = nBits;
              // This is an upper bound on log2(numerator, ceiling).
    
              /*
               * We want to do this in long math for speed, but want to avoid overflow. We adapt the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          <B extends A> void verifyTwoStageResolution() {
            @SuppressWarnings({"unchecked", "rawtypes"})
            Type type =
                new TypeToken<B>(getClass()) {}
                // B's bound may have already resolved to something.
                // Make sure it can still further resolve when given a context.
                .where(new TypeParameter<B>() {}, (Class) Integer.class).getType();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Striped.java

     * either of these extremes, {@code Striped} allows the user to trade between required concurrency
     * and memory footprint. For example, if a set of tasks are CPU-bound, one could easily create a
     * very compact {@code Striped<Lock>} of {@code availableProcessors() * 4} stripes, instead of
     * possibly thousands of locks which could be created in a {@code Map<K, Lock>} structure.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `I thought you did,' said the Mouse.  `--I proceed.  "Edwin and
    Morcar, the earls of Mercia and Northumbria, declared for him:
    and even Stigand, the patriotic archbishop of Canterbury, found
    it advisable--"'
    
      `Found WHAT?' said the Duck.
    
      `Found IT,' the Mouse replied rather crossly:  `of course you
    know what "it" means.'
    
      `I know what "it" means well enough, when I find a thing,' said
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

     *       property <i>P</i>. See, for example, the definition of {@link #intersection intersection}.
     *   <li>A {@code Range} is serializable if it has no bounds, or if each bound is serializable.
     * </ul>
     *
     * <h3>Further reading</h3>
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/RangesExplained">{@code Range}</a>.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

           */
          return null;
        }
      }
    
      /**
       * Returns the Method that can be used to resolve an individual StackTraceElement, or null if that
       * method cannot be found (it is only to be found in fairly recent JDKs).
       */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Method getGetMethod() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

           */
          return null;
        }
      }
    
      /**
       * Returns the Method that can be used to resolve an individual StackTraceElement, or null if that
       * method cannot be found (it is only to be found in fairly recent JDKs).
       */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Method getGetMethod() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top