- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 138 for loading (0.04 sec)
-
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) -
cmd/iam-object-store.go
bootstrapTraceMsgFirstTime := func(s string) { if firstTime { bootstrapTraceMsg(s) } } if iamOS.objAPI == nil { return errServerNotInitialized } bootstrapTraceMsgFirstTime("loading all IAM items") setDefaultCannedPolicies(cache.iamPolicyDocsMap) listStartTime := UTCNow() listedConfigItems, err := iamOS.listAllIAMConfigItems(ctx) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 26.6K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
This can be very useful for setting up **resources** that you need to use for the whole app, and that are **shared** among requests, and/or that you need to **clean up** afterwards. For example, a database connection pool, or loading a shared machine learning model. ## Use Case { #use-case } Let's start with an example **use case** and then see how to solve it with this.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/iam-store.go
bootstrapTraceMsgFirstTime("loading regular users") if err := store.loadUsers(ctx, regUser, newCache.iamUsersMap); err != nil { return err } bootstrapTraceMsgFirstTime("loading regular groups") if err := store.loadGroups(ctx, newCache.iamGroupsMap); err != nil { return err } } bootstrapTraceMsgFirstTime("loading user policy mapping") // load polices mapped to users
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/main/java/jcifs/smb1/util/MimeMap.java
private static final int ST_EXT = 5; private final byte[] in; private int inLen; /** * Creates a new MimeMap instance by loading MIME type mappings from the resource file. * * @throws IOException if there is an error reading the mime.map resource file */ public MimeMap() throws IOException { int n; in = new byte[IN_SIZE];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
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)