Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,057 for dall (0.02 sec)

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

      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
          if (call.request.url.toString() == url) {
            i.remove()
            dispatcherTest.dispatcher.finishedAccessor(call)
            return
          }
        }
        throw AssertionError("No such job: $url")
      }
    
      override fun shutdown() {
        shutdown = true
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            assertSame(d, r1, "nextElement should return the same instance");
            // After first call isPrimary should be false
            assertFalse(d.getIsPrimary(), "isPrimary should be cleared after first call");
            // Second call keeps the same state
            SmbComTransactionResponse r2 = (SmbComTransactionResponse) d.nextElement();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SimpleCircuitBreaker.java

         * @param callable the callable to execute
         * @return the result
         * @throws Exception if execution fails or circuit is open
         */
        public <T> T call(Callable<T> callable) throws Exception {
            return call(callable, null);
        }
    
        /**
         * Execute a callable through the circuit breaker with fallback
         *
         * @param <T> return type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // Second call (even) should fail
            String result2 = aggregateLogJob.execute();
            assertTrue(result2.contains("Even call error"));
    
            // Third call (odd) should succeed
            String result3 = aggregateLogJob.execute();
            assertEquals("", result3);
        }
    
        public void test_execute_performanceWithLargeErrorMessage() {
            // Test with very large error message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java

        public int[] batchInsert(List<User> list, RequestOptionCall<BulkRequestBuilder> call) {
            return batchInsert(list, call, null);
        }
    
        public int[] batchInsert(List<User> list, RequestOptionCall<BulkRequestBuilder> call,
                RequestOptionCall<IndexRequestBuilder> entityCall) {
            return doBatchInsert(new BulkList<>(list, call, entityCall), null);
        }
    
        public int[] batchUpdate(List<User> list) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          } else {
            null
          }
        }
    
        override fun secureConnectStart(call: Call) {
          // Register to capture "Produced ClientHello handshake message".
          currentThread = Thread.currentThread()
          logger.addHandler(loggerHandler)
        }
    
        override fun secureConnectEnd(
          call: Call,
          handshake: Handshake?,
        ) {
          logger.removeHandler(loggerHandler)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okio.Timeout
    
    open class FailingCall : Call {
      override fun request(): Request = error("unexpected")
    
      override fun execute(): Response = error("unexpected")
    
      override fun enqueue(responseCallback: Callback): Unit = error("unexpected")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

       *       </ul>
       *   <li>another java.util.Map delegate implementation. In most modern JDKs, normal java.util hash
       *       collections intelligently fall back to a binary search tree if hash table collisions are
       *       detected. Rather than going to all the trouble of reimplementing this ourselves, we
       *       simply switch over to use the JDK implementation wholesale if probable hash flooding is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

                rpc.retval = 0;
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrCloseHandle.class));
    
            // First close call
            handle.close();
    
            // Act
            // Second close call
            handle.close();
    
            // Assert
            // sendrecv for open is called once
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrOpenDomain.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. okhttp-coroutines/README.md

    OkHttp Coroutines
    =================
    
    Support for Kotlin clients using coroutines.
    
    ```kotlin
    val call = client.newCall(request)
    
    call.executeAsync().use { response ->
      withContext(Dispatchers.IO) {
        println(response.body?.string())
      }
    }
    ```
    
    This is implemented using `suspendCancellableCoroutine`
    but uses the standard Dispatcher in OkHttp. This means
    that by default Kotlin's Dispatchers are not used.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Nov 09 15:47:27 UTC 2023
    - 609 bytes
    - Viewed (0)
Back to top