Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 216 for __callback (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. docs_src/openapi_callbacks/tutorial001.py

        * Send a notification back to the API user (the external developer), as a callback.
            * At this point is that the API will somehow send a POST request to the
                external API with the notification of the invoice event
                (e.g. "payment successful").
        """
        # Send the invoice, collect the money, send the notification (the callback)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/main/java/org/gradle/initialization/DefaultBuildCancellationToken.java

                toCall.addAll(callbacks);
                callbacks.clear();
            }
    
            List<Throwable> failures = new ArrayList<Throwable>();
            for (Runnable callback : toCall) {
                try {
                    callback.run();
                } catch (Throwable ex) {
                    failures.add(ex);
                }
            }
            if (!failures.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  9. pkg/cache/ttlCache_test.go

    }
    
    type callbackRecorder struct {
    	callbacks int64
    }
    
    func (c *callbackRecorder) callback(key, value any) {
    	atomic.AddInt64(&c.callbacks, 1)
    }
    
    func TestTTLEvictionCallback(t *testing.T) {
    	c := &callbackRecorder{callbacks: 0}
    	ttl := NewTTLWithCallback(50*time.Millisecond, time.Millisecond, c.callback)
    	testCacheEvicter(ttl)
    	if atomic.LoadInt64(&c.callbacks) != 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. 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)
Back to top