Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 415 for __callback (0.28 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy

            waitForBlockingActionToComplete()
    
            return this
        }
    
        /**
         * Registers the callback which will unblock the action.
         */
        public void callbackLater(Runnable action) {
            withLock {
                if (callback) {
                    throw new IllegalStateException("Cannot register callback action multiple times.")
                }
                if (!started) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okhttp3.internal.stripBody
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSourceListener
    
    internal class RealEventSource(
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource, ServerSentEventReader.Callback, Callback {
      private var call: Call? = null
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. pkg/config/mesh/networks_watcher.go

    // NetworksWatcher watches changes to the mesh networks config.
    type NetworksWatcher interface {
    	NetworksHolder
    
    	// AddNetworksHandler registers a callback handler for changes to the networks config.
    	AddNetworksHandler(func()) *WatcherHandlerRegistration
    
    	// DeleteNetworksHandler unregisters a callback handler when remote cluster is removed.
    	DeleteNetworksHandler(registration *WatcherHandlerRegistration)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/base/tests/tensor_test.cc

        Tensor::DeleterCallback callback = [&done](void* data, size_t len) {
          done = true;
        };
    
        Tensor tensor =
            Tensor::FromBuffer(/*dtype=*/TF_INT32, /*shape=*/shape,
                               /*data=*/data_vector.data(),
                               /*len=*/data_vector.size() * sizeof(int32_t),
                               /*deleter=*/callback, &status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:56:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/c/kernels_experimental.h

    // in the plugin for Training. The API takes in the context with indices for the
    // input and value tensors. It also accepts the copy callback provided by
    // pluggable vendor to do the copying of the tensors and the update callback to
    // apply the arithmetic operation. The caller takes ownership of the `source`,
    // `dest`, `tensor` and `value` tensors and is responsible for freeing them with
    // TF_DeleteTensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt

    package okhttp3.coroutines
    
    import kotlin.coroutines.resumeWithException
    import kotlinx.coroutines.ExperimentalCoroutinesApi
    import kotlinx.coroutines.suspendCancellableCoroutine
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    import okio.IOException
    
    @ExperimentalCoroutinesApi // resume with a resource cleanup.
    suspend fun Call.executeAsync(): Response =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/EsDataService.java

        }
    
        public List<EsAccessResult> getAccessResultList(final Consumer<SearchRequestBuilder> callback) {
            final SearchResponse response = getClient().get(c -> {
                final SearchRequestBuilder builder = c.prepareSearch(index);
                callback.accept(builder);
                builder.setFetchSource(new String[] { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime",
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.es.config.exentity.DataConfig;
    import org.codelibs.fess.helper.CrawlingInfoHelper;
    import org.codelibs.fess.helper.SystemHelper;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          """
          |retry
          |
          """.trimMargin(),
        )
        assertThat(callbacks).isEmpty()
      }
    
      private fun consumeEvents(source: String) {
        val callback: ServerSentEventReader.Callback =
          object : ServerSentEventReader.Callback {
            override fun onEvent(
              id: String?,
              type: String?,
              data: String,
            ) {
              callbacks.add(Event(id, type, data))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top