Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for Cook (0.21 sec)

  1. guava/src/com/google/common/base/Predicates.java

        }
    
        @Override
        public int hashCode() {
          return f.hashCode() ^ p.hashCode();
        }
    
        @Override
        public String toString() {
          // TODO(cpovirk): maybe make this look like the method call does ("Predicates.compose(...)")
          return p + "(" + f + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * @see Predicates#contains(Pattern)
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  3. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        unused.cancel(false);
        future = null;
    
        // Future should be collected because whenAll*Complete* doesn't need to look at its result.
        GcFinalization.awaitClear(futureRef);
      }
    
      @AndroidIncompatible
      @J2ktIncompatible
      @GwtIncompatible
      public void testWhenAllSucceed_releasesCallable() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

                      }
                    }
                  }));
        }
    
        @VisibleForTesting
        void addShutdownHook(Thread hook) {
          Runtime.getRuntime().addShutdownHook(hook);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // TODO
      private static void useDaemonThreadFactory(ThreadPoolExecutor executor) {
        executor.setThreadFactory(
    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)
  7. 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)
  8. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
     *       suppression. This would follow the precedent of many of our annotation processors, which
     *       look for any annotation named, e.g., "GwtIncompatible," regardless of package.
     *   <li>An annotation named just "Suppress" might suggest to users that the test is suppressed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

        @Override
        public int hashCode() {
          return Objects.hashCode(map, defaultValue);
        }
    
        @Override
        public String toString() {
          // TODO(cpovirk): maybe remove "defaultValue=" to make this look like the method call does
          return "Functions.forMap(" + map + ", defaultValue=" + defaultValue + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/StandardSystemProperty.java

      /** User's current working directory. */
      USER_DIR("user.dir");
    
      private final String key;
    
      StandardSystemProperty(String key) {
        this.key = key;
      }
    
      /** Returns the key used to look up this system property. */
      public String key() {
        return key;
      }
    
      /**
       * Returns the current value for this system property by delegating to {@link
       * System#getProperty(String)}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
Back to top