Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 498 for Accent (0.21 sec)

  1. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

            .url(server.url("/"))
            .header("Accept", "text/plain")
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("hello, OkHttp")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

      public void testAccept() {
        File dir = new File("foo");
        FilenameFilter filter = new PatternFilenameFilter("a+");
        assertTrue(filter.accept(dir, "a"));
        assertTrue(filter.accept(dir, "aaaa"));
        assertFalse(filter.accept(dir, "b"));
    
        // Show that dir is ignored
        assertTrue(filter.accept(null, "a"));
      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt

    /**
     * Transparent Brotli response support.
     *
     * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in
     * responses.  n.b. this replaces the transparent gzip compression in BridgeInterceptor.
     */
    object BrotliInterceptor : Interceptor {
      override fun intercept(chain: Interceptor.Chain): Response {
        return if (chain.request().header("Accept-Encoding") == null) {
          val request =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/PeekingIterator.java

      /**
       * {@inheritDoc}
       *
       * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred
       * since the most recent call to {@link #next()}.
       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
      @Override
      void remove();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/CurlRequest.java

                final RequestProcessor processor = new RequestProcessor(encoding, threshold);
                processor.accept(con);
                try (final CurlResponse res = processor.getResponse()) {
                    actionListener.accept(res);
                } catch (final IOException e) {
                    exceptionListener.accept(e);
                }
            }, exceptionListener);
        }
    
        public CurlResponse execute() {
    Java
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K 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")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                @Override
                public boolean accept ( SmbResource parent, String name ) throws CIFSException {
                    if ( ! ( parent instanceof SmbFile ) ) {
                        return false;
                    }
                    return fnf.accept((SmbFile) parent, name);
                }
            }, ff == null ? null : new ResourceFilter() {
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -		     : __builtin_strspn (s, accept))))))		      \
    -      : __builtin_strspn (s, accept)); })
    -#  else
    -#   define strspn(s, accept) \
    -  __extension__								      \
    -  ({ char __a0, __a1, __a2;						      \
    -     (__builtin_constant_p (accept) && __string2_1bptr_p (accept)	      \
    -      ? ((__a0 = ((const char *) (accept))[0], __a0 == '\0')		      \
    -	 ? ((void) (s), (size_t) 0)					      \
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Specifies that each entry should be automatically removed from the cache once a fixed duration
       * has elapsed after the entry's creation, or the most recent replacement of its value.
       *
       * <p>When {@code duration} is zero, this method hands off to {@link #maximumSize(long)
       * maximumSize}{@code (0)}, ignoring any otherwise-specified maximum size or weight. This can be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("B")
            .build(),
        )
        val url = server.url("/")
        val request =
          Request.Builder()
            .url(url)
            .header("Accept-Language", "fr-CA")
            .header("Accept-Charset", "UTF-8")
            .header("Accept-Encoding", "identity")
            .build()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top