Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Hope (0.26 sec)

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

             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
             * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
             * that this will suffice. I have not even benchmarked with different size limits.
             */
            if (validClasses.size() > 1000) {
              validClasses.clear();
            }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

                  @Override
                  protected void finalize() {
                    finalizerRan.countDown();
                  }
                });
    
        await(finalizerRan);
        awaitClear(ref);
    
        // Hope to catch some stragglers queued up behind our finalizable object
        System.runFinalization();
      }
    
      private static RuntimeException formatRuntimeException(String format, Object... args) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        t.start();
        return t;
      }
    
      /**
       * Waits for the specified time (in milliseconds) for the thread to terminate (using {@link
       * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and
       * fails.
       */
      void awaitTermination(Thread t, long timeoutMillis) {
        try {
          t.join(timeoutMillis);
        } catch (InterruptedException ie) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * <p><b>Note:</b> This class is similar to {@link CharEscaper} but with one very important
     * difference. A CharEscaper can only process Java <a
     * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope
     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/UnicodeEscaper.java

     * <p><b>Note:</b> This class is similar to {@link CharEscaper} but with one very important
     * difference. A CharEscaper can only process Java <a
     * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope
     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         *
         * Expected outputs are generated by the code itself, but they've been
         * checked against the inputs under Bash in order to confirm that the two
         * forms are equivalent (though not necessarily minimal, though we hope this
         * to be the case). Thus, this test is more of a regression test.
         *
         * Rough instructions to regenerate the test outputs and verify correctness:
         * - Temporarily change this test:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 11K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

                  @Override
                  protected void finalize() {
                    finalizerRan.countDown();
                  }
                });
    
        await(finalizerRan);
        awaitClear(ref);
    
        // Hope to catch some stragglers queued up behind our finalizable object
        System.runFinalization();
      }
    
      private static RuntimeException formatRuntimeException(String format, Object... args) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
             * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
             * that this will suffice. I have not even benchmarked with different size limits.
             */
            if (validClasses.size() > 1000) {
              validClasses.clear();
            }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

      @ListFeature.Require(absent = {SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX})
      public void testListIterator_unmodifiable() {
        runListIteratorTest(UNMODIFIABLE);
      }
    
      /*
       * For now, we don't cope with testing this when the list supports only some
       * modification operations.
       */
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @ListFeature.Require({SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        t.start();
        return t;
      }
    
      /**
       * Waits for the specified time (in milliseconds) for the thread to terminate (using {@link
       * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and
       * fails.
       */
      void awaitTermination(Thread t, long timeoutMillis) {
        try {
          t.join(timeoutMillis);
        } catch (InterruptedException ie) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top