- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 560 for initializer (0.16 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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; }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 14.3K bytes - Click Count (0) -
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 Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Dec 31 14:50:53 GMT 2024 - 1K bytes - Click Count (1) -
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
/** * 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. */ fun initialize(applicationContext: Context) { if (PlatformRegistry.applicationContext == null) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.3K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
return FileSpec .builder(packageName, "IdnaMappingTableInstance") .addProperty( PropertySpec .builder("IDNA_MAPPING_TABLE", idnaMappingTable) .addModifiers(KModifier.INTERNAL) .initializer( """ |%T(⇥ |sections = "%L", |ranges = "%L", |mappings = "%L", |⇤) """.trimMargin(), idnaMappingTable,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (1) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
} /** * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified * safe range. If {@code safeMax < safeMin} then no code points are considered safe. This * initializer is useful when explicit instances of ArrayBasedEscaperMap are used to allow the * sharing of large replacement mappings. * * <p>If a code point has no mapped replacement then it is checked against the safe range. If itCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Invokable.java
} else { // Strictly, this doesn't necessarily indicate a hidden 'this' in the case of // static initializer. But there seems no way to tell in that case. :( // This may cause issues when an anonymous class is created inside a static initializer, // and the class's constructor's first parameter happens to be the enclosing class.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 18.4K bytes - Click Count (0) -
README.md
Requirements ------------ OkHttp works on Android 5.0+ (API level 21+) and Java 8+. On Android, OkHttp uses [AndroidX Startup][androidx_startup]. If you disable the initializer in the manifest, then apps are responsible for calling `OkHttp.initialize(applicationContext)` in `Application.onCreate`.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.5K bytes - Click Count (0) -
guava/src/com/google/common/reflect/Types.java
} /* * We use this only when getTypeName is available. * * Well, really, we use this when we think we're running under Java 8, as determined by some * logic in the static initializer, which does not check for getTypeName specifically. We * should really validate that it works as desired for all Android versions that we support. */ @SuppressWarnings("NewApi") @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
new LocalClassWithSeeminglyHiddenThisInStaticInitializer(); } /** * This class demonstrates a bug in getParameters() when the local class is inside static * initializer. */ private static class LocalClassWithSeeminglyHiddenThisInStaticInitializer { static { class Local { @SuppressWarnings("unused") // through reflection
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
} /* * We use this only when getTypeName is available. * * Well, really, we use this when we think we're running under Java 8, as determined by some * logic in the static initializer, which does not check for getTypeName specifically. We * should really validate that it works as desired for all Android versions that we support. */ @IgnoreJRERequirementCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0)