Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for Cook (0.13 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>For testing against the returned instances from a static factory class, such as
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>please use {@link ClassSanityTester#forAllPublicStaticMethods}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

      static {
        ImmutableSet.Builder<Long> testLongsBuilder = ImmutableSet.builder();
        ImmutableSet.Builder<BigInteger> testBigIntegersBuilder = ImmutableSet.builder();
    
        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      // @IgnoreJRERequirement is not necessary because this compiles down to a constant.
      // (which is fortunate because Animal Sniffer doesn't look for @IgnoreJRERequirement on fields)
      static final int SPLITERATOR_CHARACTERISTICS =
          Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED;
    
      ImmutableCollection() {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Splitter.java

              /*
               * This occurs when some pattern has an empty match, even if it doesn't match the empty
               * string -- for example, if it requires lookahead or the like. The offset must be
               * increased to look for separators beyond this point, without changing the start position
               * of the next returned substring -- so nextStart stays the same.
               */
              offset++;
              if (offset > toSplit.length()) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Converter.java

         *
         * All that said, don't forget that everyone should call converter.convert() instead of
         * converter.apply(), anyway. If clients use only converter.convert(), then their nullness
         * checkers are unlikely to ever look at the annotations on this declaration.
         *
         * Historical note: At one point, we'd declared this method as accepting and returning nullable
         * values. For details on that, see earlier revisions of this file.
         */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                      for (Integer node : network.nodes()) {
                        Set<Integer> unused = network.successors(node);
                      }
                      /*
                       * Also look up an earlier node so that, if the graph is using MapRetrievalCache,
                       * we read one of the fields declared in that class.
                       */
                      Set<Integer> unused = network.successors(first);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                      for (Integer node : network.nodes()) {
                        Set<Integer> unused = network.successors(node);
                      }
                      /*
                       * Also look up an earlier node so that, if the graph is using MapRetrievalCache,
                       * we read one of the fields declared in that class.
                       */
                      Set<Integer> unused = network.successors(first);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

          }
        };
    
        // Masks used to compute indices in the following table.
    
        static final int ACCESS_MASK = 1;
        static final int WRITE_MASK = 2;
        static final int WEAK_MASK = 4;
    
        /** Look-up table for factories. */
        static final EntryFactory[] factories = {
          STRONG,
          STRONG_ACCESS,
          STRONG_WRITE,
          STRONG_ACCESS_WRITE,
          WEAK,
          WEAK_ACCESS,
          WEAK_WRITE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // for 5.5 seconds happens about 2% of the time.
        boolean longWait = TimeUnit.NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
        // Count how long it actually took to return; we'll accept any number between the expected delay
        // and the approximate actual delay, to be robust to variance in thread scheduling.
        char overWaitNanosFirstDigit =
            Long.toString(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/TraverserTest.java

       * }</pre>
       */
      private static final SuccessorsFunction<Character> TREE =
          createDirectedGraph("hd", "he", "hg", "da", "db", "dc", "gf");
    
      /**
       * Two disjoint tree-shaped graphs that look as follows (all edges are directed facing downwards):
       *
       * <pre>{@code
       * a   c
       * |   |
       * |   |
       * b   d
       * }</pre>
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
Back to top