Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for suspending (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/formatting.go

    func (pls *priorityLevelState) GoString() string {
    	if pls == nil {
    		return "nil"
    	}
    	return fmt.Sprintf("&priorityLevelState{pl:%s, qsCompleter:%#+v, queues:%#+v, quiescing:%#v, numPending:%d}", fcfmt.Fmt(pls.pl), pls.qsCompleter, pls.queues, pls.quiescing, pls.numPending)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 11 03:54:40 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
Back to top