Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 593 for finalizerB (0.16 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. 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)
  5. 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)
  6. pkg/controller/volume/pvprotection/pv_protection_controller.go

    		logger.V(3).Info("Error adding protection finalizer to PV", "PV", klog.KObj(pv), "err", err)
    		return err
    	}
    	logger.V(3).Info("Added protection finalizer to PV", "PV", klog.KObj(pv))
    	return nil
    }
    
    func (c *Controller) removeFinalizer(ctx context.Context, pv *v1.PersistentVolume) error {
    	pvClone := pv.DeepCopy()
    	pvClone.ObjectMeta.Finalizers = slice.RemoveString(pvClone.ObjectMeta.Finalizers, volumeutil.PVProtectionFinalizer, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            then:
            0 * _
    
            and:
            value == someValue()
        }
    
        def "replaces provider with fixed value when value finalized after value implicitly finalized but not read yet"() {
            def property = propertyWithNoValue()
            def function = Mock(Callable)
            def provider = new DefaultProvider<T>(function)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/CompositeNodeGroup.java

            return new CompositeNodeGroup(original.isReachableFromEntryPoint() || finalizers.isReachableFromEntryPoint(), original, finalizers.getFinalizerGroups());
        }
    
        public static HasFinalizers mergeInto(HasFinalizers original, HasFinalizers finalizers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/runtime/abi_test.go

    			runtime.SetFinalizer(x, test.fin)
    
    			runtime.KeepAlive(x)
    
    			// Queue the finalizer.
    			runtime.GC()
    			runtime.GC()
    
    			if !runtime.BlockUntilEmptyFinalizerQueue(int64(time.Second)) {
    				t.Fatal("finalizer failed to execute")
    			}
    			if got := int(regConfirmRun.Load()); got != test.confirmValue {
    				t.Fatalf("wrong finalizer executed? got %d, want %d", got, test.confirmValue)
    			}
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    			finalizers = sets.New(iop.GetFinalizers()...)
    			finalizers.Delete(finalizer)
    			iop.SetFinalizers(sets.SortedList(finalizers))
    			finalizerError = r.client.Update(context.TODO(), iop)
    		}
    		if finalizerError != nil {
    			if errors.IsNotFound(finalizerError) {
    				scope.Infof("Did not remove finalizer from %s: the object was previously deleted.", iopName)
    				metrics.CRDeletionTotal.Increment()
    				return reconcile.Result{}, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top