- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for finishAdd (0.19 sec)
-
tests/test_dependency_contextmanager.py
assert middleware_state["context_b"] == "finished b with a: started a" assert middleware_state["context_a"] == "finished a" assert middleware_state["bg"] == "not set" assert state["context_b"] == "finished b with a: started a" assert state["context_a"] == "finished a" assert state["bg"] == "bg set - b: finished b with a: started a - a: finished a" def test_sync_raise_raises():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 11.6K bytes - Viewed (0) -
cmd/signals.go
"github.com/minio/minio/internal/logger" ) func shutdownHealMRFWithTimeout() { const shutdownTimeout = time.Minute finished := make(chan struct{}) go func() { globalMRFState.shutdown() close(finished) }() select { case <-time.After(shutdownTimeout): case <-finished: } } func handleSignals() { // Custom exit function exit := func(success bool) { if globalLoggerOutput != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:02:39 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
// Filled during heal. HealedBuckets []string // ID of the current healing operation HealID string ItemsSkipped uint64 BytesSkipped uint64 RetryAttempts uint64 Finished bool // finished healing, whether with errors or not // Add future tracking capabilities // Be sure that they are included in toHealingDisk } // loadHealingTracker will load the healing tracker from the supplied disk.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
/** Used by [AsyncCall.run] to signal completion. */ internal fun finished(call: AsyncCall) { call.callsPerHost.decrementAndGet() finished(runningAsyncCalls, call) } /** Used by [Call.execute] to signal completion. */ internal fun finished(call: RealCall) { finished(runningSyncCalls, call) } private fun <T> finished( calls: Deque<T>, call: T, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jun 20 14:10:53 UTC 2024 - 9K bytes - Viewed (0) -
cmd/metacache.go
dataVersion uint8 `msg:"v"` } func (m *metacache) finished() bool { return !m.ended.IsZero() } // worthKeeping indicates if the cache by itself is worth keeping. func (m *metacache) worthKeeping() bool { if m == nil { return false } cache := m switch { case !cache.finished() && time.Since(cache.lastUpdate) > metacacheMaxRunningAge: // Not finished and update for metacacheMaxRunningAge, discard it. return false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 6K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen.go
case "RetryAttempts": z.RetryAttempts, err = dc.ReadUint64() if err != nil { err = msgp.WrapError(err, "RetryAttempts") return } case "Finished": z.Finished, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "Finished") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 15:42:49 UTC 2024 - 24.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
import java.util.Set; import java.util.concurrent.Executor; /** Measures the size of AbstractFuture implementations. */ public class AbstractFutureFootprintBenchmark { enum State { NOT_DONE, FINISHED, CANCELLED, FAILED } @Param State state; @Param Impl impl; @Param({"0", "1", "5", "10"}) int numListeners; @Param({"0", "1", "5", "10"}) int numThreads;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* * <p>This method waits 120 seconds before continuing with JVM termination, even if the executor * has not finished its work. * * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}. * * @param executor the executor to modify to make sure it exits when the application is finished * @return an unmodifiable version of the input which will not hang the JVM */ @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 44.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java
*/ TransformerContext initialize(ModelBuildingRequest request, ModelProblemCollector problems); /** * The immutable transformerContext, can be used after the buildplan is finished. * * @return the immutable transformerContext */ TransformerContext build();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
// Tells the worker thread that there is new work. tensorflow::condition_variable start_execute_; // The worker thread notifies that work has finished. tensorflow::condition_variable finished_execute_; // Notifies a StartExecute that the previous Join has finished. tensorflow::condition_variable finished_join_; // Temporary state between `StartExecute` and `Join`. //
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0)