Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for loadUser (0.13 seconds)

  1. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

        }
    
        /**
         * Returns the class loader.
         * <p>
         * The class loader is searched in the following order:
         * </p>
         * <ol>
         * <li>If the context class loader is set for the calling thread, that context class loader</li>
         * <li>If the class loader that loaded the target class can be obtained, that class loader</li>
         * <li>If the class loader that loaded this class can be obtained, that class loader</li>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheLoader.java

      public static <K, V> CacheLoader<K, V> asyncReloading(
          CacheLoader<K, V> loader, Executor executor) {
        checkNotNull(loader);
        checkNotNull(executor);
        return new CacheLoader<K, V>() {
          @Override
          public V load(K key) throws Exception {
            return loader.load(key);
          }
    
          @Override
          public ListenableFuture<V> reload(K key, V oldValue) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. android/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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

         *
         * @param classLoader the class loader (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassLoaderIterator}
         */
        public static Iterable<ClassLoader> iterable(final ClassLoader classLoader) {
            return () -> new ClassLoaderIterator(classLoader);
        }
    
        /**
         * Constructs an instance.
         *
         * @param classLoader the class loader (must not be {@literal null})
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/internal/Finalizer.java

     *
     * <p>This class can't depend on other Guava code. If we were to load this class in the same class
     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
     * loader and prevent it from being garbage collected. This poses a problem for environments where
     * you want to throw away the class loader. For example, dynamically reloading a web application or
     * unloading an OSGi bundle.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 9.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/io/Resources.java

       * {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the
       * context class loader will find resources from the class path. In environments where different
       * threads can have different class loaders, for example app servers, the context class loader
       * will typically have been set to an appropriate loader for the current thread.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

                ExpressionEvaluator evaluator,
                ClassLoader loader,
                ConfigurationListener listener)
                throws ComponentConfigurationException {
            new EnhancedConfigurationConverter()
                    .processConfiguration(
                            converterLookup,
                            component,
                            loader, //
                            configuration,
                            evaluator,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. impl/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 path
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top