- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 542 for __callback (0.14 sec)
-
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) -
src/runtime/testdata/testprogcgo/bigstack_windows.c
#include <stdio.h> #ifndef STACK_SIZE_PARAM_IS_A_RESERVATION #define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000 #endif typedef void callback(char*); // Allocate a stack that's much larger than the default. static const int STACK_SIZE = 16<<20; static callback *bigStackCallback; static void useStack(int bytes) { // Windows doesn't like huge frames, so we grow the stack 64k at a time. char x[64<<10];
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 02 15:18:26 UTC 2018 - 1.2K bytes - Viewed (0) -
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) -
subprojects/core/src/test/groovy/org/gradle/util/ConcurrentSpecificationTest.groovy
cleanup: latch.countDown() } @FailsWithMessage(type = IllegalStateException, message = 'Expected action to register a callback action, but it did not.') def "blocking action fails when blocking action never registers callback action"() { Runnable action = Mock() def latch = new CountDownLatch(1) def operation = waitsForAsyncCallback() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:50 UTC 2021 - 10.5K bytes - Viewed (0) -
tests/test_sub_callbacks.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) return {"msg": "Invoice received"}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.8K bytes - Viewed (0) -
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 9K bytes - Viewed (0) -
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) -
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) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
void callback(CQ query, CF filter); } @FunctionalInterface public interface OperatorCall<CQ extends EsAbstractConditionQuery> { void callback(CQ query); } @FunctionalInterface public interface ScoreFunctionCall<CC extends ScoreFunctionCreator<?>> { void callback(CC creator); } @FunctionalInterface
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
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)