Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Deferrable (0.2 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/IdentityCacheStep.java

                emitExecuteDeferredProgressDetails(work, context.getIdentity(), cacheResult);
                return Deferrable.completed(cacheResult.getResult());
            } else {
                return Deferrable.deferred(() -> {
                    IdentityCacheResult<T> maybeExecutedResult = cache.get(
                        identity,
                        () -> executeInCache(work, context)
                    );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 16:30:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/DeferredExecutionAwareStep.java

    import org.gradle.cache.Cache;
    import org.gradle.internal.Deferrable;
    import org.gradle.internal.Try;
    import org.gradle.internal.execution.ExecutionEngine.IdentityCacheResult;
    import org.gradle.internal.execution.UnitOfWork;
    import org.gradle.internal.execution.UnitOfWork.Identity;
    
    public interface DeferredExecutionAwareStep<C extends Context, R extends Result> extends Step<C, R> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 16:13:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultExecutionEngine.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.execution.impl;
    
    import org.gradle.cache.Cache;
    import org.gradle.internal.Deferrable;
    import org.gradle.internal.Try;
    import org.gradle.internal.execution.ExecutionEngine;
    import org.gradle.internal.execution.UnitOfWork;
    import org.gradle.internal.execution.UnitOfWork.Identity;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 16:13:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java

             * If the cache already contains the outputs for the given work, an already finished {@link Deferrable} will be returned.
             * Otherwise, the execution is wrapped in a not-yet-complete {@link Deferrable} to be evaluated later.
             * The work is looked up by its {@link UnitOfWork.Identity identity} in the given cache.
             */
            <T> Deferrable<Try<T>> executeDeferred(Cache<Identity, IdentityCacheResult<T>> cache);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:17 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/IdentifyStep.java

     * limitations under the License.
     */
    
    package org.gradle.internal.execution.steps;
    
    import com.google.common.collect.ImmutableSortedMap;
    import org.gradle.cache.Cache;
    import org.gradle.internal.Deferrable;
    import org.gradle.internal.Try;
    import org.gradle.internal.execution.ExecutionEngine.IdentityCacheResult;
    import org.gradle.internal.execution.InputFingerprinter;
    import org.gradle.internal.execution.UnitOfWork;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformInvocationFactory.java

    import org.gradle.api.internal.file.FileCollectionFactory;
    import org.gradle.api.internal.project.ProjectInternal;
    import org.gradle.api.internal.project.ProjectStateRegistry;
    import org.gradle.cache.Cache;
    import org.gradle.internal.Deferrable;
    import org.gradle.internal.Try;
    import org.gradle.internal.buildoption.InternalOptions;
    import org.gradle.internal.buildoption.StringInternalOption;
    import org.gradle.internal.execution.ExecutionEngine;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:14:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. doc/go_spec.html

    </li>
    </ul>
    
    <p>
    In all other cases, a (possibly partial) type argument list must be present.
    If a type argument list is absent or partial, all missing type arguments
    must be inferrable from the context in which the function is used.
    </p>
    
    <pre>
    // sum returns the sum (concatenation, for strings) of its arguments.
    func sum[T ~int | ~float64 | ~string](x... T) T { … }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top