Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,402 for finalizer (0.26 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/plan/NodeGroup.java

     *     </li>
     *     <li>A finalizer node. Each finalizer is treated as its own node group.</li>
     * </ul>
     *
     * <p>A node may be included in more than one group, for example when it is reachable from both a requested task and a finalizer.</p>
     *
     * <p>The groups that the node belongs to can affect how the node is scheduled relative to other nodes in the graph.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 19 19:58:07 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/plan/HasFinalizers.java

            // A node cannot be cancelled if it belongs to a finalizer group that contains a finalized node that has started execution or that cannot be cancelled, and whose finalizer
            // can potentially still execute
            // So visit all the finalizer groups reachable from groups that the node belongs to and the finalized nodes of those groups
            Set<FinalizerGroup> seen = new HashSet<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 16 22:19:21 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    		},
    		{
    			name: "service CIDR must have finalizer",
    			cidrs: []*networkingapiv1alpha1.ServiceCIDR{
    				makeServiceCIDR("no-finalizer", "192.168.0.0/24", "2001:db2::/64"),
    			},
    			cidrSynced: "no-finalizer",
    			actions:    [][]string{{"patch", "servicecidrs", ""}, {"patch", "servicecidrs", "status"}},
    		},
    		{
    			name: "service CIDR being deleted must remove the finalizer",
    			cidrs: []*networkingapiv1alpha1.ServiceCIDR{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/edges/ComplexDependentNodesSet.java

            return this;
        }
    
        @Override
        public SortedSet<Node> getFinalizers() {
            return finalizers;
        }
    
        @Override
        public DependentNodesSet addFinalizer(Node finalizer) {
            finalizers.add(finalizer);
            return this;
        }
    
        @Override
        public Set<Node> getMustPredecessors() {
            return mustPredecessors;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 12 20:17:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers.go

    }
    
    // CRDHasFinalizer returns true if the finalizer is in the list.
    func CRDHasFinalizer(crd *apiextensionsv1.CustomResourceDefinition, needle string) bool {
    	for _, finalizer := range crd.Finalizers {
    		if finalizer == needle {
    			return true
    		}
    	}
    
    	return false
    }
    
    // CRDRemoveFinalizer removes the finalizer if present.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 9.5K bytes
    - Viewed (0)
  9. proguard/base.pro

    # FinalizableReferenceQueue is unused.
    -keepnames class com.google.common.base.internal.Finalizer {
      *** startFinalizer(...);
    }
    # However, it cannot "spot" that this method needs to be kept IF the class is.
    -keepclassmembers class com.google.common.base.internal.Finalizer {
      *** startFinalizer(...);
    }
    -keepnames class com.google.common.base.FinalizableReference {
      void finalizeReferent();
    }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. pkg/registry/core/namespace/storage/storage.go

    				}
    				// determine whether there are changes
    				changeNeeded := false
    				for finalizer, shouldHave := range shouldHaveFinalizers {
    					changeNeeded = currentFinalizers[finalizer] != shouldHave || changeNeeded
    					if shouldHave {
    						currentFinalizers[finalizer] = true
    					} else {
    						delete(currentFinalizers, finalizer)
    					}
    				}
    				// make the changes if needed
    				if changeNeeded {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 13.4K bytes
    - Viewed (0)
Back to top