Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 88 for Initializers (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android-test/src/test/kotlin/okhttp/android/test/RobolectricOkHttpClientTest.kt

    @Config(
      sdk = [23, 26, 30, 33, 35],
    )
    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)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import androidx.startup.Initializer
    
    /**
     * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context.
     */
    class PlatformInitializer : Initializer<Platform> {
      override fun create(context: Context): Platform {
        PlatformRegistry.applicationContext = context
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 1K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

         * Default constructor for DuplicateHostHelper.
         * Creates a new duplicate host helper instance.
         */
        public DuplicateHostHelper() {
            // Default constructor
        }
    
        /**
         * Initializes the duplicate host helper after construction.
         * Loads duplicate host configurations from the DuplicateHostService.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

        /**
         * Default constructor for RelatedQueryHelper.
         * Initializes the helper with an empty related query map.
         */
        public RelatedQueryHelper() {
            super();
        }
    
        /**
         * Initializes the RelatedQueryHelper after dependency injection is complete.
         * This method is called automatically by the dependency injection framework
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o extendedDBFluteInitializerClass: (NotRequired - Default null)
        #  If you want to extend the embedded DBFlute initializer,
        #  specify the class name of your original initializer
        #  that extends the embedded one.
        #  *Basically for fixed DBFluteConfig settings
        #
        #; extendedDBFluteInitializerClass = com.example.ExtendedDBFluteInitializer
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jul 25 06:04:16 GMT 2015
    - 8.8K bytes
    - Click Count (0)
  6. 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
    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)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

            this.params.putAll(params);
        }
    
        /**
         * Initializes the parameter map of the wrapped factory with the parameters stored in this wrapper.
         */
        public void initParameterMap() {
            factory.setInitParameterMap(params);
        }
    
        /**
         * Initializes the wrapped factory.
         */
        @Override
        public void init() {
            factory.init();
        }
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 5.2K bytes
    - Click Count (10)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/DesignForm.java

     * Handles upload and management of design templates and CSS files.
     */
    public class DesignForm {
    
        /**
         * Creates a new instance of DesignForm.
         * This constructor initializes the form for design file management
         * in the admin interface, handling upload and management of templates and CSS files.
         */
        public DesignForm() {
            // Default constructor with explicit documentation
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/group/CreateForm.java

        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * Additional attributes for the group.
         */
        public Map<String, String> attributes = new HashMap<>();
    
        /**
         * Initializes the form with default values.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

    import okhttp3.internal.platform.PlatformRegistry
    
    actual object OkHttp {
      @JvmField
      actual val VERSION: String = CONST_VERSION
    
      /**
       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top