Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 620 for acceptT2 (0.11 sec)

  1. android/guava/src/com/google/common/collect/Streams.java

        if (streamA.isParallel() || streamB.isParallel()) {
          zip(streamA, streamB, TemporaryPair::new).forEach(pair -> consumer.accept(pair.a, pair.b));
        } else {
          Iterator<A> iterA = streamA.iterator();
          Iterator<B> iterB = streamB.iterator();
          while (iterA.hasNext() && iterB.hasNext()) {
            consumer.accept(iterA.next(), iterB.next());
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
          .assertLogEqual("Accept-Encoding: gzip")
          .assertLogMatch(Regex("""User-Agent: okhttp/.+"""))
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
          .assertLogEqual("Content-Length: 0")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsCrawlingInfoParamCB.java

        public CrawlingInfoParamCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsCrawlingInfoParamCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (CrawlingInfoParamCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

        val request = HttpGet(server.url("/").toUri())
        request.addHeader("Accept", "text/plain")
    
        httpClient.execute(request).use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(EntityUtils.toString(response.entity)).isEqualTo("hello, Apache HttpClient 5.x")
        }
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileConfigCB.java

        public FileConfigCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsFileConfigCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (FileConfigCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

          client.newRequest(server.url("/").toUri())
            .header("Accept", "text/plain")
        val response = request.send()
        assertThat(response.status).isEqualTo(200)
        assertThat(response.contentAsString).isEqualTo("hello, Jetty HTTP Client")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsWebConfigCB.java

        public WebConfigCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsWebConfigCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (WebConfigCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

                    executeCallbacks.add(callback);
                }
            }
            if (executeCallbacks.size() > 0) {
                try {
                    executeCallbacks.stream().forEach(callback -> callback.accept(response));
                } catch (final Exception ignore) {}
            }
            latch.countDown();
        }
    
        public void reject(final Throwable t) {
            final ArrayList<Consumer<Throwable>> executeCallbacks;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTransportPool.java

         * Authenticate arbitrary credentials represented by the
         * <tt>NtlmPasswordAuthentication</tt> object against the domain controller
         * specified by the <tt>UniAddress</tt> parameter. If the credentials are
         * not accepted, an <tt>SmbAuthException</tt> will be thrown. If an error
         * occurs an <tt>SmbException</tt> will be thrown. If the credentials are
         * valid, the method will return without throwing an exception. See the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

      fun run() {
        val request =
          Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top