Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for loading (0.12 sec)

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

      /**
       * Returns a cache loader that uses {@code function} to load keys, without supporting either
       * reloading or bulk loading. This allows creating a cache loader using a lambda expression.
       *
       * <p>The returned object is serializable if {@code function} is serializable.
       *
       * @param function the function to be used for loading values; must never return {@code null}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
       * granularity. For example, access queues and write queues are kept per segment when they are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          return this;
        }
    
        public void setLoading(boolean loading) {
          this.loading = loading;
        }
    
        @Override
        public boolean isLoading() {
          return loading;
        }
    
        @Override
        public boolean isActive() {
          return !loading;
        }
    
        @Override
        public V waitForValue() {
          return get();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching PluginException
            String expectedMessage = "Plugin loading failed";
    
            try {
                throw new PluginException(expectedMessage);
            } catch (PluginException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertEquals(loadedUser, result);
            assertEquals(1, chain.loadCallCount);
            assertEquals(user, chain.lastLoadedUser);
        }
    
        // Test load with multiple chains (chained loading)
        public void test_load_multipleChains() {
            User user = createTestUser("user0");
            User user1 = createTestUser("user1");
            User user2 = createTestUser("user2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public int hashCode() {
          return value.hashCode();
        }
      }
    
      /**
       * LocalManualCache is a wrapper around LocalCache for a cache without loading.
       *
       * @param <K> the base key type
       * @param <V> the base value type
       */
      public static class LocalManualCache<K, V> extends AbstractCache<K, V> {
        final LocalCache<K, V> localCache;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        }
    
        // Test with a custom ClassLoader to simulate class availability
        public void test_hook_withCustomClassLoader() throws Exception {
            // Create a custom ClassLoader that can control class loading behavior
            ClassLoader customClassLoader = new URLClassLoader(new URL[0], null) {
                @Override
                public Class<?> loadClass(String name) throws ClassNotFoundException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. README.md

    ## 🔧 Configuration
    
    ### Logging Configuration
    CoreLib supports multiple logging frameworks. Configure your preferred logger:
    
    ```java
    // Use with SLF4J (add slf4j-api dependency)
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Commons Logging (add commons-logging dependency)  
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Java Util Logging (built-in)
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            assertEquals(longMessage, exception.getMessage());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Theme loading error";
    
            try {
                throw new ThemeException(expectedMessage);
            } catch (ThemeException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.Tuple3;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.SearchRequestParams.SearchRequestType;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top