Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,156 for calls (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

            .url(server.url("/"))
            .post(AsyncRequestBody())
            .build()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertTrue(call.isCanceled())
        }
      }
    
      @Test
      fun fullCallTimeoutDoesNotApplyOnceConnected() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          }
        }
    
        // subsequent calls should call the loader again, not get the old exception
        try {
          cache.getUnchecked("bar");
          fail();
        } catch (UncheckedExecutionException expected) {
        }
        assertEquals(2, callCount.get());
      }
    
      /**
       * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            }
        }
    
        public void test_setError_withNullException() {
            // Test setError with null exception
            // Note: WebApiException constructor calls e.getMessage() on null exception, causing NullPointerException
            try {
                WebApiUtil.setError(500, (Exception) null);
                fail("setError should throw NullPointerException when passed null exception");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    			guessIsRPCReq(r) || guessIsLoginSTSReq(r) || isAdminReq(r) || isKMSReq(r) {
    			h.ServeHTTP(w, r)
    			return
    		}
    
    		bucket, object := request2BucketObjectName(r)
    
    		// Requests in federated setups for STS type calls which are
    		// performed at '/' resource should be routed by the muxer,
    		// the assumption is simply such that requests without a bucket
    		// in a federated setup cannot be proxied, so serve them at
    		// current server.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            .header("Sec-WebSocket-Version", "13")
            .header("Sec-WebSocket-Extensions", "permessage-deflate")
            .build()
        call = RealCall(webSocketClient, request, forWebSocket = true)
        call!!.enqueue(
          object : Callback {
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              val socket =
                try {
                  checkUpgradeSuccess(response)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multiset.java

       *
       * @since 2.0
       */
      interface Entry<E extends @Nullable Object> {
    
        /**
         * Returns the multiset element corresponding to this entry. Multiple calls to this method
         * always return the same instance.
         *
         * @return the element corresponding to this entry
         */
        @ParametricNullness
        E getElement();
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName parent = origin.parent();
        assertEquals("com", parent.toString());
    
        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
      public void testValidTopPrivateDomain() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            assertTrue(length > 0);
            verify(mockAndxCommand).setCommand((byte) 0x42);
            verify(mockAndxCommand).setUseUnicode(anyBoolean());
            // For non-AndX commands, the implementation calls received() instead of read methods
            verify(mockAndxCommand).received();
        }
    
        @Test
        @DisplayName("Test readAndXWireFormat with error code")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

              if (lengthA != lengthB) return if (lengthA < lengthB) -1 else 1
              return 0
            }
          }
    
        /**
         * Holds interned instances. This needs to be above the init() calls below so that it's
         * initialized by the time those parts of `<clinit>()` run. Guarded by CipherSuite.class.
         */
        private val INSTANCES = mutableMapOf<String, CipherSuite>()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 39.9K bytes
    - Viewed (0)
  10. cmd/batch-expire.go

    					_, err := api.DeleteObject(ctx, exp.Bucket, encodeDirObject(exp.Name), ObjectOptions{
    						DeletePrefix:       true,
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    					})
    					if err != nil {
    						stopFn(exp, err)
    						batchLogIf(ctx, fmt.Errorf("Failed to expire %s/%s due to %v (attempts=%d)", exp.Bucket, exp.Name, err, attempts))
    					} else {
    						stopFn(exp, err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top