- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for suspending (0.48 sec)
-
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Running.kt
*/ fun <T : WriteContext, U> T.runWriteOperation(writeOperation: suspend T.() -> U): U = runToCompletion { writeOperation() } /** * [Starts][startCoroutine] the suspending [block], asserts it runs * to completion and returns its result. */ private fun <R> runToCompletion(block: suspend () -> R): R { var completion: Result<R>? = null block.startCoroutine(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 20:48:51 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/future.kt
import kotlin.coroutines.Continuation import kotlin.coroutines.CoroutineContext import kotlin.coroutines.EmptyCoroutineContext import kotlin.coroutines.startCoroutine /** * Starts and exposes the given suspending [computation] as a [Future] value. * * The [computation] executes synchronously until its first suspension point. */ internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt
val classLoader: ClassLoader fun beanStateReaderFor(beanType: Class<*>): BeanStateReader /** * When in immediate mode, [read] calls are NOT suspending. * Useful for bridging with non-suspending serialization protocols such as [java.io.Serializable]. */ var immediateMode: Boolean // TODO:configuration-cache prevent StackOverflowErrors when crossing protocols
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.9K bytes - Viewed (0) -
helm/minio/templates/_helper_create_bucket.txt
if [ ! -z $VERSIONING ]; then if [ $VERSIONING = true ]; then echo "Enabling versioning for '$BUCKET'" ${MC} version enable myminio/$BUCKET elif [ $VERSIONING = false ]; then echo "Suspending versioning for '$BUCKET'" ${MC} version suspend myminio/$BUCKET fi fi else echo "Bucket '$BUCKET' versioning unchanged." fi # At this point, the bucket should exist, skip checking for existence
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jan 12 18:18:57 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/PendingDependenciesVisitor.java
NOT_PENDING_ACTIVATING(false); private final boolean pending; PendingState(boolean pending) { this.pending = pending; } boolean isPending() { return this.pending; } } PendingState maybeAddAsPendingDependency(NodeState node, DependencyState dependencyState); boolean markNotPending(ModuleIdentifier id);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/PendingDependencies.java
affectedComponent.prepareForConstraintNoLongerPending(moduleIdentifier); } constraintProvidingNodes.clear(); reportActivePending = true; } public boolean isPending() { return hardEdges == 0; } boolean hasConstraintProviders() { return !constraintProvidingNodes.isEmpty(); } void increaseHardEdgeCount() { hardEdges++; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DefaultPendingDependenciesVisitor.java
} } // Adding an optional dependency: see if we already have a hard dependency on the same module ModuleResolveState module = resolveState.getModule(key); boolean pending = module.isPending(); // Already have a hard dependency, this optional dependency is not pending. if (!pending) { return PendingState.NOT_PENDING; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_prefer_compatible.txt
# For this module, v2.1.0 exists and has a go.mod file. # 'go list -m github.com/russross/blackfriday@v2.0' will check # the latest v2.0 tag, discover that it isn't the right module, and stop there # (instead of spending the time to check O(N) previous tags). ! go list -m github.com/russross/blackfriday@v2.0 stderr '^go: module github.com/russross/blackfriday: no matching versions for query "v2\.0\"'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 17 18:25:37 UTC 2023 - 3.2K bytes - Viewed (0)