Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 479 for finalizer (0.38 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

        @Requires(IntegTestPreconditions.NotParallelExecutor)
        def "finalizer task dependencies from sibling project must run after finalized task dependencies"() {
            server.start()
    
            given:
            def configurationCache = newConfigurationCacheFixture()
            createDirs("finalized", "finalizer")
            settingsFile << """
                include 'finalized', 'finalizer'
            """
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        assertNotNull(getClass().getResource("internal/Finalizer.class"));
      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
        // See https://code.google.com/p/guava-libraries/issues/detail?id=1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/internal/weak/pointer.go

    // Returns nil if the original value for the weak pointer was reclaimed by
    // the garbage collector.
    // If a weak pointer points to an object with a finalizer, then Strong will
    // return nil as soon as the object's finalizer is queued for execution.
    func (p Pointer[T]) Strong() *T {
    	return (*T)(runtime_makeStrongFromWeak(p.u))
    }
    
    // Implemented in runtime.
    
    //go:linkname runtime_registerWeakPointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:13:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pkg/controller/volume/pvcprotection/pvc_protection_controller.go

    	}
    
    	if protectionutil.NeedToAddFinalizer(pvc, volumeutil.PVCProtectionFinalizer) {
    		// PVC is not being deleted -> it should have the finalizer. The
    		// finalizer should be added by admission plugin, this is just to add
    		// the finalizer to old PVCs that were created before the admission
    		// plugin was enabled.
    		return c.addFinalizer(ctx, pvc)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller_base.go

    		return volume.Finalizers, false
    	}
    	if !metav1.HasAnnotation(volume.ObjectMeta, storagehelpers.AnnDynamicallyProvisioned) {
    		// PV deletion protection finalizer is currently supported only for dynamically
    		// provisioned volumes.
    		return volume.Finalizers, false
    	}
    	if volume.Finalizers != nil {
    		outFinalizers = append(outFinalizers, volume.Finalizers...)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top