Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 264 for acceptX (0.03 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        abstract T returningT();
    
        abstract void acceptT(T t);
    
        abstract <X extends T> X returningX();
    
        abstract <X> void acceptX(X x);
    
        abstract <T2 extends Enum<T2> & CharSequence> T2 returningT2();
    
        abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
    
        static void verifyConsistentRawType() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        abstract T returningT();
    
        abstract void acceptT(T t);
    
        abstract <X extends T> X returningX();
    
        abstract <X> void acceptX(X x);
    
        abstract <T2 extends Enum<T2> & CharSequence> T2 returningT2();
    
        abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
    
        static void verifyConsistentRawType() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

       * empty list of cookies for the network request.
       *
       * Simple implementations will return the accepted cookies that have not yet expired and that
       * [match][Cookie.matches] [url].
       */
      fun loadForRequest(url: HttpUrl): List<Cookie>
    
      companion object {
        /** A cookie jar that never accepts any cookies. */
        @JvmField
        val NO_COOKIES: CookieJar = NoCookies()
    
        private class NoCookies : CookieJar {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

         * using the provided lambda function to populate the favorite log data.
         *
         * @param userCode the unique code identifying the user
         * @param favoriteLogLambda a lambda function that accepts UserInfo and FavoriteLog to populate the favorite log data
         * @return true if the URL was successfully added to favorites, false if the user was not found
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * new stack trace matches that of the current thread.
       *
       * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor
       * that accepts zero or more arguments, all of type {@code String} or {@code Throwable}
       * (preferring constructors with at least one {@code String}, then preferring constructors with at
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableCollection.java

        }
    
        final void addAll(@Nullable Object[] elements, int n) {
          checkElementsNotNull(elements, n);
          ensureRoomFor(n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      }
    
      /**
       * This accepts a [BufferedSource] instead of using [Socket.source], just in case we've already
       * received data from the peer. This accepts a [BufferedSink] for symmetry with the source.
       */
      fun initReaderAndWriter(
        name: String,
        socket: BufferedSocket,
        client: Boolean,
      ) {
        val extensions = this.extensions!!
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

     *
     * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip"
     *
     * If [algorithms] is empty this interceptor has no effect. To disable compression set
     * a specific "Accept-Encoding: identity" or similar.
     *
     * See https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Encoding
     */
    open class CompressionInterceptor(
      vararg val algorithms: DecompressionAlgorithm,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlResponseTest.java

            Map<String, List<String>> headers = new HashMap<>();
            headers.put("Accept", Arrays.asList("application/json", "text/html"));
            response.setHeaders(headers);
    
            String[] acceptValues = response.getHeaderValues("Accept");
            String[] acceptValuesLowercase = response.getHeaderValues("accept"); // Test case insensitive
            String[] missingValues = response.getHeaderValues("Missing-Header");
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

            .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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top