Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 287 for finalizer (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      /**
       * Iterates through the given loaders until it finds one that can load Finalizer.
       *
       * @return Finalizer.class
       */
      private static Class<?> loadFinalizer(FinalizerLoader... loaders) {
        for (FinalizerLoader loader : loaders) {
          Class<?> finalizer = loader.loadFinalizer();
          if (finalizer != null) {
            return finalizer;
          }
        }
    
        throw new AssertionError();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java

     * `entryNodes` is not changed by this class.
     *
     * <h2>Note about finalizers</h2>
     * A dependency of a finalizer must not run until it is known to be needed by something else that should run.
     * So if the dependency is only required by a finalizer, then it should not start until the finalizer is ready to start
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

      /**
       * Iterates through the given loaders until it finds one that can load Finalizer.
       *
       * @return Finalizer.class
       */
      private static Class<?> loadFinalizer(FinalizerLoader... loaders) {
        for (FinalizerLoader loader : loaders) {
          Class<?> finalizer = loader.loadFinalizer();
          if (finalizer != null) {
            return finalizer;
          }
        }
    
        throw new AssertionError();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go

    		},
    		{
    			name: "deleted PVC with finalizer + pod with the PVC exists -> finalizer is not removed",
    			initialObjects: []runtime.Object{
    				withPVC(defaultPVCName, pod()),
    			},
    			updatedPVC:      deleted(withProtectionFinalizer(pvc())),
    			expectedActions: []clienttesting.Action{},
    		},
    		{
    			name: "deleted PVC with finalizer + pod with unrelated PVC and EmptyDir exists -> finalizer is removed",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/FinalizerGroup.java

        }
    
        private boolean hasACycle(Node finalized, SetMultimap<FinalizerGroup, FinalizerGroup> reachableGroups) {
            if (!(finalized.getGroup() instanceof HasFinalizers) || finalized.getGroup().isReachableFromEntryPoint()) {
                // Is not a member of a finalizer group or will not be blocked
                return false;
            }
            HasFinalizers groups = (HasFinalizers) finalized.getGroup();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jul 01 16:25:48 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller_test.go

    			// yet to sync the volume and add the pv deletion protection finalizer. The custom finalizer is some
    			// pre-existing finalizer, for example the pv-protection finalizer. When csi-migration is disabled,
    			// the migrated-to annotation will be removed shortly when updateVolumeMigrationAnnotationsAndFinalizers
    			// is called followed by adding back the in-tree pv protection finalizer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  10. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    		finalizers.Insert(finalizer)
    		iop.SetFinalizers(sets.SortedList(finalizers))
    		err := r.client.Update(context.TODO(), iop)
    		if err != nil {
    			if errors.IsNotFound(err) {
    				scope.Infof("Could not add finalizer to %s: the object was deleted.", iopName)
    				metrics.CRDeletionTotal.Increment()
    				return reconcile.Result{}, nil
    			} else if errors.IsConflict(err) {
    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