- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 847 for initializer (0.1 seconds)
-
internal/cachevalue/cache.go
// NewFromFunc allocates a new cached value instance and initializes it with an // update function, making it ready for use. func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } } // InitOnce initializes the cache with a TTL and an update function. It is // guaranteed to be called only once.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 12:50:46 GMT 2024 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryTestBase.java
// Setup FessConfig with proper initialization setupBaseFessConfig(); // Initialize QueryFieldConfig QueryFieldConfig queryFieldConfig = new QueryFieldConfig(); queryFieldConfig.init(); ComponentUtil.register(queryFieldConfig, "queryFieldConfig"); // Initialize QueryParser QueryParser queryParser = new QueryParser(); queryParser.init();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/log/Logger.java
} } /** * Initializes the {@link Logger}. */ protected static synchronized void initialize() { DisposableUtil.addFirst(() -> { initialized = false; loggers.clear(); factory.releaseAll(); }); initialized = true; } /** * Returns the logger adapter factory.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
} /** * Initialize DiSNI components if not already initialized * * @throws IOException if initialization fails */ private void ensureInitialized() throws IOException { if (!initialized) { try { // In a real implementation, this would initialize DiSNI:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/iam.go
logger.Info("Waiting for OpenID to be initialized.. (retrying in %s)", retryInterval) } if !ldapInit { logger.Info("Waiting for LDAP to be initialized.. (retrying in %s)", retryInterval) } if !authNInit { logger.Info("Waiting for AuthN to be initialized.. (retrying in %s)", retryInterval) } if !authZInit { logger.Info("Waiting for AuthZ to be initialized.. (retrying in %s)", retryInterval) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
cmd/erasure-sets_test.go
nDisks := 16 // Maximum disks. var erasureDisks []string for range nDisks { // Do not attempt to create this path, the test validates // so that newErasureSets initializes non existing paths // and successfully returns initialized object layer. disk := filepath.Join(globalTestTmpDir, "minio-"+nextSuffix()) erasureDisks = append(erasureDisks, disk) defer os.RemoveAll(disk) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
emptyGenerator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized assertTrue(e.getMessage().contains("Not initialized")); } } @Test public void test_getName() { // Initialize without container emptyGenerator = new EmptyGenerator(); // Test default name (null)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
// Assert that the public 'sids' field is initialized as expected assertEquals(sids, request.sids, "The 'sids' field should be initialized by the constructor."); // Use reflection to access and verify protected fields from the parent class DcerpcMessage Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
cmd/typed-errors.go
var errInvalidRangeSource = errors.New("Range specified exceeds source object size") // error returned by disks which are to be initialized are waiting for the // first server to initialize them in distributed set to initialize them. var errNotFirstDisk = errors.New("Not first drive") // error returned by first disk waiting to initialize other servers. var errFirstDiskWait = errors.New("Waiting on other drives") // error returned for a negative actual size.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 5.9K bytes - Click Count (1)