Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Justen (0.21 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    /**
     * Supplemental tests for {@link Monitor}.
     *
     * <p>This test class contains various test cases that don't fit into the test case generation in
     * {@link GeneratedMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    public class SupplementalMonitorTest extends TestCase {
    
      public void testLeaveWithoutEnterThrowsIMSE() {
        Monitor monitor = new Monitor();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

       * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the
       * following header:
       *
       * MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author
       * hereby disclaims copyright to this source code.
       */
      static int smear(int hashCode) {
        return C2 * Integer.rotateLeft(hashCode * C1, 15);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *     monitor.enterWhen(valueAbsent);
     *     try {
     *       value = newValue;
     *     } finally {
     *       monitor.leave();
     *     }
     *   }
     * }
     * }</pre>
     *
     * @author Justin T. Sampson
     * @author Martin Buchholz
     * @since 10.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    @ElementTypesAreNonnullByDefault
    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. guava-tests/test/com/google/common/math/LongMathTest.java

        for (int k = 0; k < LongMath.biggestSimpleBinomials.length; k++) {
          assertTrue(LongMath.biggestSimpleBinomials[k] <= LongMath.biggestBinomials[k]);
          long unused = simpleBinomial(LongMath.biggestSimpleBinomials[k], k); // mustn't throw
          if (LongMath.biggestSimpleBinomials[k] < Integer.MAX_VALUE) {
            // unless all n are fair game with this k
            try {
              simpleBinomial(LongMath.biggestSimpleBinomials[k] + 1, k);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

    /**
     * Factory and utility methods for {@link java.util.concurrent.Executor}, {@link ExecutorService},
     * and {@link java.util.concurrent.ThreadFactory}.
     *
     * @author Eric Fellheimer
     * @author Kyle Littlefield
     * @author Justin Mahoney
     * @since 3.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class MoreExecutors {
      private MoreExecutors() {}
    
      /**
    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)
  6. guava/src/com/google/common/collect/CollectCollectors.java

          if (set == null) {
            return ImmutableSet.of();
          }
          ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set);
          set = null; // subsequent manual manipulation of the accumulator mustn't affect ret
          return ret;
        }
      }
    
      @GwtIncompatible
      @SuppressWarnings({"rawtypes", "unchecked"})
      static <E extends Comparable<? super E>>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/LongMathTest.java

        for (int k = 0; k < LongMath.biggestSimpleBinomials.length; k++) {
          assertTrue(LongMath.biggestSimpleBinomials[k] <= LongMath.biggestBinomials[k]);
          long unused = simpleBinomial(LongMath.biggestSimpleBinomials[k], k); // mustn't throw
          if (LongMath.biggestSimpleBinomials[k] < Integer.MAX_VALUE) {
            // unless all n are fair game with this k
            try {
              simpleBinomial(LongMath.biggestSimpleBinomials[k] + 1, k);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    /**
     * Supplemental tests for {@link Monitor}.
     *
     * <p>This test class contains various test cases that don't fit into the test case generation in
     * {@link GeneratedMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    public class SupplementalMonitorTest extends TestCase {
    
      public void testLeaveWithoutEnterThrowsIMSE() {
        Monitor monitor = new Monitor();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/SmallCharMatcher.java

       * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the
       * following header:
       *
       * MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author
       * hereby disclaims copyright to this source code.
       */
      static int smear(int hashCode) {
        return C2 * Integer.rotateLeft(hashCode * C1, 15);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            public String toString() {
              return "stopped()";
            }
          };
    
      /**
       * A listener for the aggregate state changes of the services that are under management. Users
       * that need to listen to more fine-grained events (such as when each particular {@linkplain
       * Service service} starts, or terminates), should attach {@linkplain Service.Listener service
       * listeners} to each individual service.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
Back to top