Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,124 for finalizer (0.17 sec)

  1. pkg/controller/job/tracking_utils_test.go

    		wantDelete int
    	}{
    		"new non-finished Pod with finalizer": {
    			newPod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Finalizers: []string{batch.JobTrackingFinalizer},
    				},
    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    				},
    			},
    		},
    		"pod with finalizer fails": {
    			oldPod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Finalizers: []string{batch.JobTrackingFinalizer},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    	for i := range namespace.Spec.Finalizers {
    		if namespace.Spec.Finalizers[i] != d.finalizerToken {
    			finalizerSet.Insert(string(namespace.Spec.Finalizers[i]))
    		}
    	}
    	namespaceFinalize.Spec.Finalizers = make([]v1.FinalizerName, 0, len(finalizerSet))
    	for _, value := range finalizerSet.List() {
    		namespaceFinalize.Spec.Finalizers = append(namespaceFinalize.Spec.Finalizers, v1.FinalizerName(value))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/base/base.go

    func forEachGC(fn func() bool) {
    	type T [32]byte // large enough to avoid runtime's tiny object allocator
    
    	var finalizer func(*T)
    	finalizer = func(p *T) {
    		if fn() {
    			runtime.SetFinalizer(p, finalizer)
    		}
    	}
    
    	finalizer(new(T))
    }
    
    // AdjustStartingHeap modifies GOGC so that GC should not occur until the heap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top