Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for Factory (0.19 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

            Request.Builder()
              .url("https://$uriHost:$uriPort/")
              .build(),
          ) as RealCall
      }
    
      @AfterEach fun tearDown() {
        factory.close()
      }
    
      @Test fun singleRoute() {
        val address = factory.newAddress()
        val routeSelector = newRouteSelector(address)
        assertThat(routeSelector.hasNext()).isTrue()
        dns[uriHost] = dns.allocate(1)
        val selection = routeSelector.next()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

        return new CustomMultimap<>(map, factory);
      }
    
      private static 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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. fastapi/params.py

            self.example = example
            self.include_in_schema = include_in_schema
            self.openapi_examples = openapi_examples
            kwargs = dict(
                default=default,
                default_factory=default_factory,
                alias=alias,
                title=title,
                description=description,
                gt=gt,
                ge=ge,
                lt=lt,
                le=le,
                min_length=min_length,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  4. 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 {
        return EventSource.Factory { request, listener ->
          val actualRequest =
            if (request.header("Accept") == null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:18:15 GMT 2024
    - 1.6K bytes
    - Viewed (1)
  5. .idea/inspectionProfiles/Gradle.xml

          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" description="Many no-argument Guava Collection factory methods are marked in their javadoc &quot;Should be treated as deprecated&quot;.  These should not be used." suppressId="guava-collection-factory" problemDescriptor="Treat some Guava Collection factory methods as Deprecated" text="com.google.common.collect.Lists.newArrayList()" recursive="false"...
    XML
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/SchemaUtil.java

         *
         * @param factory
         *            {@link SchemaFactory}。{@literal null}であってはいけません
         * @param schema
         *            スキーマファイル。{@literal null}であってはいけません
         * @return {@link Schema}
         */
        public static Schema newSchema(final SchemaFactory factory, final File schema) {
            assertArgumentNotNull("factory", factory);
            assertArgumentNotNull("schema", schema);
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        CountingSupplier<Queue<Integer>> factory = new QueueSupplier();
    
        Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class);
        Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory);
        assertEquals(0, factory.count);
        multimap.putAll(Color.BLUE, asList(3, 1, 4));
        assertEquals(1, factory.count);
        multimap.putAll(Color.RED, asList(2, 7, 1, 8));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      private val routePlanner = FakeRoutePlanner()
      private val factory = routePlanner.factory
      private val taskFaker = routePlanner.taskFaker
      private val peer = MockHttp2Peer()
    
      /** The fake task runner prevents the cleanup runnable from being started.  */
      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
      private val addressB = factory.newAddress("b")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

         *
         * @param factory
         *            {@link SAXParserFactory}。{@literal null}であってはいけません
         * @return {@link SAXParser}の新しいインスタンス
         */
        public static SAXParser newSAXParser(final SAXParserFactory factory) {
            assertArgumentNotNull("factory", factory);
    
            try {
                return factory.newSAXParser();
            } catch (final ParserConfigurationException e) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KotlinFirReferenceContributor.kt

                registerProvider(factory = ::KtFirForLoopInReference)
                registerProvider(factory = ::KtFirInvokeFunctionReference)
                registerProvider(factory = ::KtFirPropertyDelegationMethodsReference)
                registerProvider(factory = ::KtFirDestructuringDeclarationReference)
                registerProvider(factory = ::KtFirArrayAccessReference)
                registerProvider(factory = ::KtFirConstructorDelegationReference)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 10 16:23:23 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top