Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 567 for acceptT2 (0.04 sec)

  1. docs/recipes.md

            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 ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/UrlEscapers.java

       * href="https://url.spec.whatwg.org/#syntax-url-path-segment">URL path segments</a>. The returned
       * escaper escapes all non-ASCII characters, even though <a
       * href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern
       * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these
       * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                });
            } catch (Exception e) {
                // Expected in test environment without proper SearchEngineClient
                // The important thing is that the method exists and accepts the correct parameters
            }
    
            // Verify that the scroll method exists with correct signature
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/UniAddressTest.java

                verify(mockAddress, times(1)).toInetAddress();
            }
    
            @Test
            void shouldReturnNullWhenWrappedIsNeitherInetAddressNorAddress() throws Exception {
                // UniAddress only accepts InetAddress, NbtAddress (which implements Address), or Address
                // Testing with NbtAddress which doesn't return anything from toInetAddress
                NbtAddress nbtAddress = mock(NbtAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
        bestGetCheckedTypeValidator().validateClass(exceptionClass);
        try {
          return future.get(timeout, unit);
        } catch (InterruptedException e) {
          currentThread().interrupt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ListenableFuture.java

    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

                // Then
                assertEquals(expectedAttributes, attributes, "Should return correct attributes");
            }
    
            @Test
            @DisplayName("setAttributes should accept valid attributes")
            void testSetAttributes() throws CIFSException {
                // Given
                int newAttributes = 0x01; // FILE_ATTRIBUTE_READONLY
    
                // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertNotNull(writeRequest);
            }
    
            @Test
            @DisplayName("Should accept null file ID in constructor")
            void testConstructorWithNullFileId() {
                assertDoesNotThrow(() -> new Smb2WriteRequest(mockConfig, null));
            }
    
            @Test
            @DisplayName("Should accept empty file ID in constructor")
            void testConstructorWithEmptyFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      /**
       * Represents an operation that accepts a {@link ValueAndCloser} for the last step in a {@link
       * ClosingFuture} pipeline.
       *
       * @param <V> the type of the final value of a successful pipeline
       * @see ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)
       */
      public interface ValueAndCloserConsumer<V extends @Nullable Object> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
Back to top