Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,157 for loader (0.35 sec)

  1. android/guava/src/com/google/common/cache/LocalCache.java

          try {
            stopwatch.start();
            V previousValue = oldValue.get();
            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : Futures.immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      private final CacheLoader<? super K, V> loader;
      private final RemovalListener<? super K, ? super V> removalListener;
      private final StatsCounter statsCounter;
      private final Ticker ticker;
      private final long expireAfterWrite;
      private final long expireAfterAccess;
    
      LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) {
        this.loader = loader;
        this.removalListener = builder.removalListener;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    configuration attributes on the instantiated LogFactory instance. Once an implementation class name is selected, the corresponding class is loaded from the current Thread context class loader (if there is one), or from the class loader that loaded the LogFactory class itself otherwise. This allows a copy of commons-logging.jar to be shared in a multiple class loader environment (such as a servlet container), but still allow each web application to provide its own LogFactory implementation, if it so desires....
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 30.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

          try {
            stopwatch.start();
            V previousValue = oldValue.get();
            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : Futures.immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
    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)
  5. src/main/java/org/codelibs/core/io/ResourceUtil.java

         *            リソースの拡張子
         * @param loader
         *            リソースを検索するクラスローダ。{@literal null}であってはいけません
         * @return リソース
         * @see #getResourcePath(String, String)
         */
        public static URL getResourceNoException(final String path, final String extension, final ClassLoader loader) {
            assertArgumentNotNull("loader", loader);
    
            if (path == null || loader == null) {
                return null;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingHelper.java

        /**
         * Updates the context class loader such that the container will search the project realm when the model builder
         * injects the lifecycle bindings from the packaging in the next step. The context class loader is to be reset by
         * the project builder when the project is fully assembled.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            final File junitJar = ResourceUtil.getBuildDir(TestCase.class);
            assertTrue(junitJar.exists());
            final URL url = junitJar.toURI().toURL();
            final URLClassLoader loader = new URLClassLoader(new URL[] { url });
            loader.loadClass(TestCase.class.getName());
        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                        throw e;
                    } catch (final Exception e) {
                        return null;
                    } finally {
                        final GroovyClassLoader loader = groovyShell.getClassLoader();
                        loader.clearCache();
                    }
                }
    
                @Override
                protected String getName() {
                    return Constants.DEFAULT_SCRIPT;
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                    final Class<?> enclosingType,
                    final ClassLoader loader,
                    final ExpressionEvaluator evaluator,
                    final ConfigurationListener listener)
                    throws ComponentConfigurationException {
                final Object result =
                        super.fromConfiguration(lookup, configuration, type, enclosingType, loader, evaluator, listener);
    
                return result instanceof Path
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ClassUtil.java

         */
        @SuppressWarnings("unchecked")
        public static <T> Class<T> forName(final String className, final ClassLoader loader) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
            try {
                return (Class<T>) Class.forName(className, true, loader);
            } catch (final ClassNotFoundException e) {
                throw new ClassNotFoundRuntimeException(e);
            }
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top