Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Neal (0.13 sec)

  1. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
     * for your real time-limiter while you're debugging.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/NullnessCasts.java

       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 17 15:44:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

     * MoreExecutors#listeningDecorator(ExecutorService)}.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @DoNotMock(
        "Use TestingExecutors.sameThreadScheduledExecutor, or wrap a real Executor from "
            + "java.util.concurrent.Executors with MoreExecutors.listeningDecorator")
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ListeningExecutorService extends ExecutorService {
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              // if this is a concern we could add special cases for some known charsets (like utf8)
              // or we could avoid inputstreamreader and use the decoder api directly
              // TODO(lukes): in a real implementation we would need to handle overflow conditions
              int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte());
              char[] buffer = new char[maxChars];
              int bufIndex = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

       */
      /*
       * This test hangs (or maybe is just *very* slow) under Android.
       *
       * TODO(b/218700094): Ideally, get this to pass under Android. Failing that, convince ourselves
       * that the test isn't exposing a real problem with InterruptibleTask, one that could matter in
       * prod.
       */
      @AndroidIncompatible
      public void testInterruptIsSlow() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

       */
      /*
       * This test hangs (or maybe is just *very* slow) under Android.
       *
       * TODO(b/218700094): Ideally, get this to pass under Android. Failing that, convince ourselves
       * that the test isn't exposing a real problem with InterruptibleTask, one that could matter in
       * prod.
       */
      @AndroidIncompatible
      public void testInterruptIsSlow() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/CharEscaper.java

       * than a one-character array containing the character itself. This enables the escaping algorithm
       * to perform more efficiently.
       *
       * <p>An escaper is expected to be able to deal with any {@code char} value, so this method should
       * not throw any exceptions.
       *
       * @param c the character to escape if necessary
       * @return the replacement characters, or {@code null} if no escaping was needed
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * Windows under Java 8, at least as of this writing.
         *
         * Under Windows in particular, we want to test that:
         *
         * - Under Java 9+, createTempDir() succeeds because it can look up the *real* username, rather
         * than relying on the one from the system property.
         *
         * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the
         * system property.
         */
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        suite.addTestSuite(ImmutableTypeToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top