Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 593 for factory (0.09 seconds)

  1. android/guava/src/com/google/common/base/CharMatcher.java

       *     NMM.:7O           777777778
       *                       7777777MN
       *                       M NO .7:
       *                       M   :   M
       *                            8
       */
    
      // Constant matcher factory methods
    
      /**
       * Matches any character.
       *
       * @since 19.0 (since 1.0 as constant {@code ANY})
       */
      public static CharMatcher any() {
        return Any.INSTANCE;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                        DfsReferralDataImpl.fromReferral(mockReferral, "\\\\server\\share\\path", System.currentTimeMillis() + 10000, 10);
            }
        }
    
        @Nested
        @DisplayName("FromReferral Factory Method Tests")
        class FromReferralTests {
    
            @Test
            @DisplayName("Should create from referral with regular flags")
            void testFromReferralRegular() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            assertSame(doc, result);
        }
    
        // Test ingest with exception in ingester
        @Test
        public void test_ingest_withException() {
            final TestIngestFactory factory = (TestIngestFactory) ingestFactory;
            factory.setThrowException(true);
    
            final Map<String, Object> doc = new HashMap<>();
            doc.put("test", "value");
            final AccessResult<String> accessResult = new TestAccessResult();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

    import java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Factory and utility methods for {@link Executor}, {@link ExecutorService}, and {@link
     * ThreadFactory}.
     *
     * @author Eric Fellheimer
     * @author Kyle Littlefield
     * @author Justin Mahoney
     * @since 3.0
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

     */
    internal class FastFallbackExchangeFinderTest {
      private val taskFaker = TaskFaker()
      private val taskRunner = taskFaker.taskRunner
    
      /**
       * Note that we don't use the same [TaskFaker] for this factory. That way off-topic tasks like
       * connection pool maintenance tasks don't add noise to route planning tests.
       */
      private val routePlanner = FakeRoutePlanner(taskFaker = taskFaker)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

       * parameter.
       */
      private fun sampleValuesMap(): Map<Class<*>, Any> {
        TestValueFactory().use { factory ->
          val address = factory.newAddress("a")
          val route = factory.newRoute(address)
          val pool = factory.newConnectionPool()
          val url = "https://example.com/".toHttpUrl()
          val request = Request(url = url)
          val response =
            Response
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Serialized type for all ImmutableBiMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       *
       * <p>Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

        level = DeprecationLevel.HIDDEN,
      )
      @JvmStatic
      fun createFactory(client: OkHttpClient) = createFactory(client as Call.Factory)
    
      @JvmStatic
      fun createFactory(callFactory: Call.Factory): EventSource.Factory =
        EventSource.Factory { request, listener ->
          val actualRequest =
            if (request.header("Accept") == null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

            other is AggregateEventListener -> other.eventListeners
            else -> arrayOf(other)
          }
    
        return AggregateEventListener(left + right)
      }
    
      fun interface Factory {
        /**
         * Creates an instance of the [EventListener] for a particular [Call]. The returned
         * [EventListener] instance will be used during the lifecycle of [call].
         *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

        }
        
        private void fallbackToTcp(RdmaConnection connection) {
            log.info("Falling back to TCP transport");
            // Switch transport to TCP
            // This would require transport factory modification
        }
    }
    ```
    
    ## 10. Security Considerations
    
    ### 10.1 RDMA Security
    ```java
    public class RdmaSecurityManager {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
Back to Top