- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 333 for initializers (0.16 seconds)
-
tensorflow/api_template.__init__.py
_optimizers = _KerasLazyLoader( globals(), submodule="optimizers", name="optimizers") _initializers = _KerasLazyLoader( globals(), submodule="initializers", name="initializers") setattr(_current_module, "losses", _losses) setattr(_current_module, "metrics", _metrics) setattr(_current_module, "optimizers", _optimizers) setattr(_current_module, "initializers", _initializers)
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Oct 02 22:16:02 GMT 2024 - 6.8K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/RobolectricOkHttpClientTest.kt
) class RobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() { @Before fun setContext() { // This is awkward because Robolectric won't run our initializers and we don't want test deps // https://github.com/robolectric/robolectric/issues/8461 OkHttp.initialize(ApplicationProvider.getApplicationContext()) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 16:25:39 GMT 2025 - 1.2K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt
"Platform applicationContext not initialized. " + "Possibly running Android unit test without Robolectric. " + "Android tests should run with Robolectric " + "and call OkHttp.initialize before test", ) } else { throw IOException( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " +Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
return new String(buffer); } /** * Initializes the class. */ protected static synchronized void initialize() { if (!initialized) { DisposableUtil.add(() -> { ResourceBundle.clearCache(); initialized = false; }); initialized = true; } }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/context/SingletonContextTest.java
@Test void testInitAlreadyInitializedThrowsException() throws CIFSException { // Test attempting to initialize when already initialized SingletonContext.init(null); CIFSException e = assertThrows(CIFSException.class, () -> SingletonContext.init(null)); assertEquals("Singleton context is already initialized", e.getMessage()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java
* {@link MutableBuildParams#reset()} may be used. * * @param initializer Build parameter initializer */ public static void init(Consumer<MutableBuildParams> initializer) { initializer.accept(MutableBuildParams.INSTANCE); } public static File getRuntimeJavaHome() { return value(runtimeJavaHome); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 7.7K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
hasMessage("Unable to load PublicSuffixDatabase.list resource.") cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " + "call OkHttp.initialize before test.", ) hasClass<IOException>() } } } companion object { @AfterClass @JvmStatic
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 16:25:39 GMT 2025 - 2.1K bytes - Click Count (0) -
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) -
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/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)