Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 352 for host1 (0.14 sec)

  1. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            currentThread.setName(originalName);
          }
        }
      }
    
      public void fetch(HttpUrl url) throws IOException {
        // Skip hosts that we've visited many times.
        AtomicInteger hostnameCount = new AtomicInteger();
        AtomicInteger previous = hostnames.putIfAbsent(url.host(), hostnameCount);
        if (previous != null) hostnameCount = previous;
        if (hostnameCount.getAndIncrement() >= hostLimit) return;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          "ConnectionReleased",
          "CallEnd",
        )
    
        val get = server.takeRequest()
        assertThat(get.exchangeIndex).isEqualTo(0)
    
        val post1 = server.takeRequest()
        assertThat(post1.body?.utf8()).isEqualTo("body!")
        assertThat(post1.exchangeIndex).isEqualTo(1)
    
        val get2 = server.takeRequest()
        assertThat(get2.exchangeIndex).isEqualTo(0)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

              )
          }
    
        /**
         * @param host either a regular hostname, International Domain Name, IPv4 address, or IPv6
         * address.
         */
        fun host(host: String) =
          apply {
            val encoded =
              host.percentDecode().toCanonicalHost()
                ?: throw IllegalArgumentException("unexpected host: $host")
            this.host = encoded
          }
    
        fun port(port: Int) =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

      /**
       * Don't call through to the proxy selector if we don't have a host name.
       * https://github.com/square/okhttp/issues/5770
       */
      @Test fun proxySelectorNotCalledForNullHost() {
        // The string '>' is okay in a hostname in HttpUrl, which does very light hostname validation.
        // It is not okay in URI, and so it's stripped and we get a URI with a null host.
        val bogusHostname = ">"
        val address =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/main/resources/fess_label_en.properties

    labels.max_access_count=Max Access Count
    labels.number_of_thread=Number of Threads
    labels.interval_time=Interval
    labels.millisec=msec
    labels.permissions=Permissions
    labels.virtual_hosts=Virtual Hosts
    labels.virtual_host=Virtual Host
    labels.label_type=Label
    labels.file_crawling_button_create=Create
    labels.file_crawling_button_create_job=Create New Job
    labels.web_crawling_configuration=Web Crawling
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        }
    
        /**
         * Generates a unique document ID from the provided data map.
         * Constructs an ID string from URL, roles, and virtual hosts, then generates a hash.
         *
         * @param dataMap the document data map containing URL, roles, and virtual host information
         * @return a unique hashed ID string for the document
         */
        public String generateId(final Map<String, Object> dataMap) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      fun recordedConnectionEventTypes(): List<String> = connectionListener.recordedEventTypes()
    
      companion object {
        /**
         * A network that resolves only one IP address per host. Use this when testing route selection
         * fallbacks to prevent the host machine's various IP addresses from interfering.
         */
        private val SINGLE_INET_ADDRESS_DNS =
          Dns { hostname ->
            val addresses = Dns.SYSTEM.lookup(hostname)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            return buf.toString().trim();
        }
    
        /**
         * Replaces duplicate hosts in the URL using the duplicate host helper.
         *
         * @param url the URL to process
         * @return the URL with duplicate hosts replaced
         */
        protected String replaceDuplicateHost(final String url) {
            try {
                // remove duplicate host
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

        assertThat("http://host/a\u0000b".toHttpUrl().toUri())
          .isEqualTo(URI("http://host/a%00b"))
        assertThat("http://host/a\u0080b".toHttpUrl().toUri())
          .isEqualTo(URI("http://host/a%C2%80b"))
        assertThat("http://host/a\u009fb".toHttpUrl().toUri())
          .isEqualTo(URI("http://host/a%C2%9Fb"))
        // Percent-encoded in the query.
        assertThat("http://host/?a\u0000b".toHttpUrl().toUri())
          .isEqualTo(URI("http://host/?a%00b"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/NameServiceClientTest.java

            // Arrange
            String host = "testHost";
            when(nameServiceClient.getNbtAllByAddress(host)).thenThrow(new UnknownHostException("Host not found"));
    
            // Act & Assert
            assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtAllByAddress(host));
            verify(nameServiceClient, times(1)).getNbtAllByAddress(host);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top