Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 979 for finalizerA (0.25 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            given:
            Task finalizerDep = task("finalizerDep", type: Async)
            Task finalizer = task("finalizer", dependsOn: [finalizerDep])
            Task a = task("a", type: Async, finalizedBy: [finalizer])
            Task finalizerDep2 = task("finalizerDep2", type: Async, dependsOn: [finalizer])
            Task finalizer2 = task("finalizer2", dependsOn: [finalizerDep2])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

            Task finalizer1 = task("finalizer1", dependsOn: [finalizerDependency])
            Task finalized1 = task("finalized1", finalizedBy: [finalizer1])
            Task finalizer2 = task("finalizer2")
            Task finalized2 = task("finalized2", finalizedBy: [finalizer2], failure: new RuntimeException("failure"))
    
            when:
            addToGraphAndPopulate([finalized1, finalized2])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

        def "finalizer task can depend on multiple finalized tasks"() {
            given:
            buildFile '''
                task finalizer(type: BreakingTask) {
                    dependsOn 'finalized1', 'finalized2'
                }
                task finalized1(type: BreakingTask) {
                    finalizedBy 'finalizer'
                }
                task finalized2(type: BreakingTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/internal/Finalizer.java

         * point, Finalizer can stop running
         */
        if (!finalizableReferenceClass.getName().equals(FINALIZABLE_REFERENCE)) {
          throw new IllegalArgumentException("Expected " + FINALIZABLE_REFERENCE + ".");
        }
    
        Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference);
        String threadName = Finalizer.class.getName();
        Thread thread = null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/internal/Finalizer.java

         * point, Finalizer can stop running
         */
        if (!finalizableReferenceClass.getName().equals(FINALIZABLE_REFERENCE)) {
          throw new IllegalArgumentException("Expected " + FINALIZABLE_REFERENCE + ".");
        }
    
        Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference);
        String threadName = Finalizer.class.getName();
        Thread thread = null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/mfinal.go

    			if finptrmask[0] == 0 {
    				// Build pointer mask for Finalizer array in block.
    				// Check assumptions made in finalizer1 array above.
    				if (unsafe.Sizeof(finalizer{}) != 5*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.fn) != 0 ||
    					unsafe.Offsetof(finalizer{}.arg) != goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.nret) != 2*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.fint) != 3*goarch.PtrSize ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. test/finprofiled.go

    	// only for middle bytes. The finalizer resurrects that object.
    	// As the result, all allocated memory must stay alive.
    	const (
    		N             = 1 << 20
    		tinyBlockSize = 16 // runtime._TinySize
    	)
    	hold := make([]*int32, 0, N)
    	for i := 0; i < N; i++ {
    		x := new(int32)
    		if i%3 == 0 {
    			runtime.SetFinalizer(x, func(p *int32) {
    				hold = append(hold, p)
    			})
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 05:48:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

        def "detects a cycle with a task that mustRunAfter itself as finalizer of another task"() {
            buildFile << """
                def finalizer = tasks.register("finalizer")
                tasks.named("finalizer").configure {
                    mustRunAfter(finalizer)
                }
                task myTask {
                    finalizedBy finalizer
                }
            """
            expect:
            2.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultExecutionPlan.java

                    node.dependenciesProcessed();
                    // Finalizers run immediately after the node
                    for (Node finalizer : node.getFinalizers()) {
                        finalizers.add(finalizer);
                        if (!visiting.contains(finalizer)) {
                            queue.addFirst(finalizer);
                        }
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Finalize.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Denotes that the {@link RuleSource} method rule carrying this annotation finalizes the rule subject.
     * <p>
     * Finalize rules execute after {@link Mutate} rules, but before {@link Validate} rules.
     * The first parameter of the rule is the rule subject, which is mutable for the duration of the rule.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top