Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 604 for initializers (0.05 sec)

  1. 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())
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. RELEASE.md

    *   RNG behavior change for `tf.keras.initializers`. Keras initializers will now
        use stateless random ops to generate random numbers.
        *   Both seeded and unseeded initializers will always generate the same
            values every time they are called (for a given variable shape). For
            unseeded initializers (`seed=None`), a random seed will be created and
            assigned at initializer creation (different initializer instances get
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

             * @param initializer the initializer function (can be null)
             * @param container the container instance for dependency injection
             */
            protected ComponentDef(final Class<T> cls, final Consumer<T> initializer, final StandardCrawlerContainer container) {
                this.cls = cls;
                this.initializer = initializer;
                this.container = container;
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. 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, " +
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

        }
    
        /**
         * Initializes the settings.
         */
        public void init() {
            if (initialized) {
                return;
            }
            initialized = true;
            initialize(initialSettings);
            new AnalyzerSettings(client, this, settingsIndexName).init();
        }
    
        private void initialize(final Map<String, Object> initialSettings) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. 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;
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

        void destroy();
    
        /**
         * Initializes the CrawlerContainer by setting the system property
         * "java.protocol.handler.pkgs" to include the package "org.codelibs.fess.net.protocol".
         * If the property is not already set, it will be initialized with this package.
         * If the property is set but does not contain this package, the package will be appended.
         */
        default void initialize() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. 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());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. 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.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top