- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 520 for factors (0.16 seconds)
-
android/guava/src/com/google/common/collect/Multimaps.java
return new CustomMultimap<>(map, factory); } private static final class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapBasedMultimap<K, V> { transient Supplier<? extends Collection<V>> factory; CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) { super(map);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 86.5K bytes - Click Count (0) -
docs/features/events.md
0001 0.624 responseBodyEnd 0001 0.624 connectionReleased 0001 0.624 callEnd ``` The `EventListener.Factory` also makes it possible to limit metrics to a subset of calls. This one captures metrics on a random 10%: ```java class MetricsEventListener extends EventListener { private static final Factory FACTORY = new Factory() { @Override public EventListener create(Call call) { if (Math.random() < 0.10) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 7.7K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
override fun platformTrustManager(): X509TrustManager { val factory = TrustManagerFactory.getInstance( "PKIX", BouncyCastleJsseProvider.PROVIDER_NAME, ) factory.init(null as KeyStore?) val trustManagers = factory.trustManagers!! check(trustManagers.size == 1 && trustManagers[0] is X509TrustManager) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
private val recordingAuthenticator = RecordingAuthenticator() private val factory = TestValueFactory() .apply { dns = fakeDns } @BeforeEach fun setup() { Authenticator.setDefault(recordingAuthenticator) } @AfterEach fun tearDown() { Authenticator.setDefault(null) factory.close() } @Test fun testBasicAuth() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
factory.setExpandEntityReferences(expandEntityRef); factory.setIgnoringComments(ignoringComments); factory.setIgnoringElementContentWhitespace(ignoringElementContentWhitespace); factory.setNamespaceAware(namespaceAware); factory.setValidating(validating); factory.setXIncludeAware(includeAware);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 23.9K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlTest.java
// ## Test that each factory method call returns a new instance ## // ## Act ## final CurlRequest request1 = Curl.get("http://example.com"); final CurlRequest request2 = Curl.get("http://example.com"); // ## Assert ## assertNotNull(request1); assertNotNull(request2);Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 16.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java
return kanaBuf.toString(); } /** * Checks if the tokenizer is enabled. * @param factory The tokenizer factory. * @return True if the tokenizer is enabled, false otherwise. */ protected boolean isEnableTokenizer(final TokenizerFactory factory) { // TODO return factory instanceof JapaneseTokenizerFactory; return false; }
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
*/ package org.codelibs.fess.ingest; import java.util.Arrays; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; /** * Factory class for managing and organizing document ingesters. * The factory maintains a sorted collection of ingesters based on their priority * and provides methods to add new ingesters and retrieve the current collection. *
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
var loggingEventListener: EventListener = LoggingEventListener.Factory().create(FailingCall()) } @Test fun loggingEventListenerFactory() { var factory: LoggingEventListener.Factory = LoggingEventListener.Factory() factory = LoggingEventListener.Factory(HttpLoggingInterceptor.Logger.DEFAULT) factory = object : LoggingEventListener.Factory() { override fun create(call: Call): EventListener = TODO()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 47K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
} /** * Creates a table that uses the specified backing map and factory. It can generate a table based * on arbitrary {@link Map} classes. * * <p>The {@code factory}-generated and {@code backingMap} classes determine the table iteration * order. However, the table's {@code row()} method returns instances of a different class than * {@code factory.get()} does. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 24.9K bytes - Click Count (0)