Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 225 for tabling (0.15 sec)

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

        // we really just want to wait for the thread to be in the failure callback so we wait for that
        // explicitly instead.
        failEnter.await();
        assertFalse("State should be updated before calling listeners", manager.isHealthy());
        // now we want to stop the services.
        Thread stoppingThread =
            new Thread() {
              @Override
              public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
       * [acquire(5), acquire(1)] takes exactly the same time as [acquire(2), acquire(3), acquire(1)].
       */
      public void testTimeToWarmUpIsHonouredEvenWithWeights() {
        Random random = new Random();
    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)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashSet based
       * implementation. Experimentally determined.
       */
      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

      // case, but we do check that its API still has the same public methods. We exclude some methods
      // that were added in Java 9 and that people probably weren't calling via Invokable, namely
      // `boolean canAccess(Object)` and `boolean trySetAccessible()`.
      public void testApiCompatibleWithAccessibleObject() {
        ImmutableSet<String> invokableMethods =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/IntMath.java

       * time.
       *
       * <p>Compare {@link #checkedPow}, which throws an {@link ArithmeticException} upon overflow.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       */
      @GwtIncompatible // failing tests
      public static int pow(int b, int k) {
        checkNonNegative("exponent", k);
        switch (b) {
          case 0:
            return (k == 0) ? 1 : 0;
          case 1:
            return 1;
          case (-1):
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * type}, the distinct values of {@code type} can be passed as parameters to create {@code Foo}
       * instances that are unequal.
       *
       * <p>Calling {@code setDistinctValues(type, v1, v2)} also sets the default value for {@code type}
       * that's used for {@link #testNulls}.
       *
       * <p>Only necessary for types where {@link ClassSanityTester} doesn't already know how to create
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        @Test
        void testMailingListsAreInheritedButNotAggregated() throws Exception {
            PomTestWrapper pom = buildPom("mailing-lists-inheritance/child-2");
            assertEquals(1, ((List<?>) pom.getValue("mailingLists")).size());
            assertEquals("child-mailing-list", pom.getValue("mailingLists[1]/name"));
        }
    
        @Test
        void testPluginInheritanceOrder() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          return index;
        }
    
        // About the term "aunt node": it's better to leave gender out of it, but for this the English
        // language has nothing for us. Except for the whimsical neologism "pibling" (!) which we
        // obviously could not expect to increase anyone's understanding of the code.
    
        /**
         * Swap {@code actualLastElement} with the conceptually correct last element of the heap.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/OrderingTest.java

        checkArgument(
            strictlyOrderedElements.length >= 3,
            "strictlyOrderedElements " + "requires at least 3 elements");
        List<T> list = Arrays.asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        checkArgument(
            strictlyOrderedElements.length >= 3,
            "strictlyOrderedElements " + "requires at least 3 elements");
        List<T> list = Arrays.asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top