Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 782 for loader (0.07 seconds)

  1. guava/src/com/google/common/cache/CacheLoader.java

     * overridden as desired.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() {
     *   public Graph load(Key key) throws AnyException {
     *     return createExpensiveGraph(key);
     *   }
     * };
     * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader);
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

         * </ol>
         * <p>
         * However, if both the class loader that loaded the target class and the class loader that loaded this class can be obtained,
         * and the class loader that loaded the target class is an ancestor of the class loader that loaded this class,
         * the class loader that loaded this class is returned.
         * </p>
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/internal/Finalizer.java

     * loader. That way, this class doesn't prevent the main class loader from getting garbage
     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
     */
    public class Finalizer implements Runnable {
    
      private static final Logger logger = Logger.getLogger(Finalizer.class.getName());
    
      /**
       * Starts the Finalizer thread. FinalizableReferenceQueue calls this method reflectively.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

        public static CoreExtensionEntry discoverFrom(ClassRealm loader) {
            Set<String> artifacts = new LinkedHashSet<>();
            Set<String> packages = new LinkedHashSet<>();
    
            try {
                Enumeration<URL> urls = loader.getResources(BUILDER.getExtensionDescriptorLocation());
                while (urls.hasMoreElements()) {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

    /**
     * An {@link Iterator} that iterates through the hierarchy of class loaders towards their parent class loaders.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.lang.ClassLoaderIterator.*;
     *
     * ClassLoader classLoader = ...;
     * for (ClassLoader loader : iterable(classLoader)) {
     *     ...
     * }
     * </pre>
     *
     * @author koichik
     */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

       * {@link CacheLoader#load} calls to {@code loader}.
       */
      static <K, V> CacheLoader<K, V> bulkLoader(CacheLoader<K, V> loader) {
        checkNotNull(loader);
        return new CacheLoader<K, V>() {
          @Override
          public V load(K key) throws Exception {
            return loader.load(key);
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/Cache.java

       *       CacheLoader#loadAll bulk loading implementations}
       * </ul>
       *
       * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same
       * value. Otherwise, a call that passes one {@code loader} may return the result of another call
       * with a differently behaving {@code loader}. For example, a call that requests a short timeout
       * for an RPC may wait for a similar call that requests a long timeout, or a call by an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/CacheRefreshTest.java

        assertThat(loader.getLoadCount()).isEqualTo(expectedLoads);
        assertThat(loader.getReloadCount()).isEqualTo(expectedReloads);
    
        ticker.advance(1, MILLISECONDS);
        assertThat(cache.getUnchecked(0)).isEqualTo(1);
        assertThat(cache.getUnchecked(1)).isEqualTo(-1);
        assertThat(cache.getUnchecked(2)).isEqualTo(3);
        assertThat(loader.getLoadCount()).isEqualTo(expectedLoads);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/CacheLoader.java

     * overridden as desired.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() {
     *   public Graph load(Key key) throws AnyException {
     *     return createExpensiveGraph(key);
     *   }
     * };
     * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader);
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java

            return loadJsonResource(SettingsResourceLoader.class.getClassLoader(), resourcePath, substitutions);
        }
    
        /**
         * Loads a JSON resource file with the specified class loader.
         *
         * @param classLoader The class loader to use for loading the resource
         * @param resourcePath The path to the resource file
         * @param substitutions A map of placeholder patterns to replacement values
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.7K bytes
    - Click Count (0)
Back to Top