Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 632 for pure (0.02 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
      protected abstract <V> ListenableFuture<V> createListenableFuture(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

         */
        public String execute() {
            try {
                final long count = ComponentUtil.getThumbnailManager().purge(getExpiry());
                return "Deleted " + count + " thumbnail files.";
            } catch (final Exception e) {
                logger.error("Failed to purge thumbnails.", e);
                return e.getMessage();
            }
        }
    
        /**
         * Gets the expiration time for thumbnails.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlException.java

     * to create an exception instance with a message and an optional cause.
     *
     * <p>Usage examples:</p>
     * <pre>
     *     throw new CurlException("Error message");
     *     throw new CurlException("Error message", cause);
     * </pre>
     *
     * @see RuntimeException
     */
    public class CurlException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomPackagingProvider implements PackagingProvider {
     *     public Collection&lt;Packaging&gt; provides() {
     *         return Arrays.asList(
     *             packaging("docker-image"),
     *             packaging("flatpak")
     *         );
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Packaging
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     * annotated with LargeTest.
     *
     * <p>Why use a custom annotation instead of {@code android.test.suitebuilder.annotation.Suppress}?
     * I'm not completely sure that this is the right choice, but it has various advantages:
     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 07 15:40:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided lifecycles will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomLifecycleProvider implements LifecycleProvider {
     *     public Collection&lt;Lifecycle&gt; provides() {
     *         return Collections.singleton(
     *             lifecycle("deploy-docker", Arrays.asList(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomPathScopeProvider implements PathScopeProvider {
     *     public Collection&lt;PathScope&gt; provides() {
     *         return Collections.singleton(pathScope("integration-test",
     *                 ProjectScope.TEST, DependencyScope.TEST));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.PathScope
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomTypeProvider implements TypeProvider {
     *     public Collection&lt;Type&gt; provides() {
     *         return Arrays.asList(
     *             type("kotlin-library", "jar", "kotlin"),
     *             type("docker-image", "tar.gz", null)
     *         );
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Type
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
    
        assertFalse(iter.hasNext());
    
        // Make sure computeNext() doesn't get invoked again
        assertFalse(iter.hasNext());
    
        assertThrows(NoSuchElementException.class, iter::next);
      }
    
      public void testDefaultBehaviorOfPeek() {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Closer.java

       * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped
       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top