Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for Crooks (0.15 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          processCalled--; // don't count the tail invocation (makes tests a bit more understandable)
        }
    
        // ensures that the number of invocations looks sane
        void assertInvariants(int expectedBytes) {
          // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
    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)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      // * We are more responsive to completion than timeouts. This is because parkNanos depends on
      //   system scheduling and as such we could either miss our deadline, or unpark() could be delayed
      //   so that it looks like we timed out even though we didn't. For comparison FutureTask respects
      //   completion preferably and AQS is non-deterministic (depends on where in the queue the waiter
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava-gwt/test/com/google/common/testing/Testing.gwt.xml

        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  4. guava-gwt/src/com/google/common/xml/Xml.gwt.xml

        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Reflection.java

        return (lastDot < 0) ? "" : classFullName.substring(0, lastDot);
      }
    
      /**
       * Ensures that the given classes are initialized, as described in <a
       * href="http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.4.2">JLS Section
       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
     *     .thatReturn(Book.class)
    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. guava-tests/test/com/google/common/base/SplitterTest.java

            Splitter.on('-').split("Testing-rocks-Debugging-sucks");
        assertThat(testCharacteringMotto)
            .containsExactly("Testing", "rocks", "Debugging", "sucks")
            .inOrder();
      }
    
      public void testCharacterSplitWithMatcherDelimiter() {
        Iterable<String> testCharacteringMotto =
            Splitter.on(CharMatcher.whitespace()).split("Testing\nrocks\tDebugging sucks");
        assertThat(testCharacteringMotto)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        new Application().addDelayedShutdownHook(service, terminationTimeout, timeUnit);
      }
    
      /** Represents the current application to register shutdown hooks. */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      @VisibleForTesting
      static class Application {
    
        final ExecutorService getExitingExecutorService(
    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)
  9. android/guava/src/com/google/common/math/IntMath.java

            throw new AssertionError();
        }
      }
    
      private static int sqrtFloor(int x) {
        // There is no loss of precision in converting an int to a double, according to
        // http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#5.1.2
        return (int) Math.sqrt(x);
      }
    
      /**
       * Returns the result of dividing {@code p} by {@code q}, rounding using the specified {@code
       * RoundingMode}.
       *
    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)
  10. android/guava/src/com/google/common/collect/Sets.java

                  if (bitToFlip == index.size()) {
                    return endOfData();
                  }
    
                  /*
                   * The current set in sorted order looks like
                   * {firstSetBit, firstSetBit + 1, ..., bitToFlip - 1, ...}
                   * where it does *not* contain bitToFlip.
                   *
                   * The next combination is
                   *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top