Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 216 for __callback (0.32 sec)

  1. pkg/cache/ttlCache.go

    // NewTTLWithCallback creates a new cache with a time-based eviction model that will invoke the supplied
    // callback on all evictions. See also: NewTTL.
    func NewTTLWithCallback(defaultExpiration time.Duration, evictionInterval time.Duration, callback EvictionCallback) ExpiringCache {
    	c := &ttlCache{
    		defaultExpiration: defaultExpiration,
    		callback:          callback,
    	}
    
    	c.baseTimeNanos = time.Now().UnixNano()
    	if evictionInterval > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.execution.MavenSession;
    
    /**
     * Allows core extensions to participate in Maven build session lifecycle.
     *
     * All callback methods (will) follow beforeXXX/afterXXX naming pattern to
     * indicate at what lifecycle point it is being called.
     *
     * @see <a href="https://maven.apache.org/examples/maven-3-lifecycle-extensions.html">example</a>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                                        ],
                                        "title": "Callback Url",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {
                                        "title": "Callback Url",
                                        "maxLength": 2083,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultAnsiExecutorTest.groovy

        def ansiExecutor = new DefaultAnsiExecutor(target, colorMap, factory, consoleMetaData, writeCursor, newLineListener)
    
        def "writing a long line that wraps will callback the listener"() {
            given:
            consoleMetaData.cols >> TERMINAL_WIDTH
            Cursor writePos = Cursor.at(3, 0)
            int startRow = writePos.row
            String text = "A" * TERMINAL_WIDTH +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/DataStore.java

     */
    package org.codelibs.fess.ds;
    
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.es.config.exentity.DataConfig;
    
    public interface DataStore {
    
        void store(DataConfig config, IndexUpdateCallback callback, DataStoreParams initParamMap);
    
        void stop();
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 962 bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/SuppressedExceptionTestingIntegrationTest.groovy

                        throw new IllegalStateException("beforeAll callback");
                    }
                }
    
                class ThrowingAfterAllCallback implements AfterAllCallback {
                    @Override
                    public void afterAll(ExtensionContext context) {
                        throw new CustomException("afterAll callback");
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/bundle_v2.cc

                                     std::move(callback));
    }
    
    absl::Status SavedModelV2Bundle::RecurseObjectsToRestore(
        const SavedObject* saved_object, int saved_object_node_id,
        const TrackableObjectGraph::TrackableObject* trackable_object,
        std::string object_name, absl::flat_hash_set<int>* seen_trackable_node_ids,
        RestoreObjectsCallback callback) {
      // Callback if any attributes or slot variables.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

     * limitations under the License.
     */
    package okhttp.android.testapp
    
    import android.os.Bundle
    import androidx.activity.ComponentActivity
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okio.IOException
    
    class MainActivity : ComponentActivity() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback_windows.go

    	}
    	// Only frames in the test package are checked.
    	want := []string{
    		"test._Cfunc_backtrace",
    		"test.testCallbackCallersSEH.func1.1",
    		"test.testCallbackCallersSEH.func1",
    		"test.goCallback",
    		"test._Cfunc_callback",
    		"test.nestedCall.func1",
    		"test.nestedCall",
    		"test.testCallbackCallersSEH",
    		"test.TestCallbackCallersSEH",
    	}
    	pc := make([]uintptr, 100)
    	n := 0
    	nestedCall(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. 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)
Back to top