Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 628 for finalizers (2.4 sec)

  1. 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)
  2. 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)
  3. test/gc2.go

    // license that can be found in the LICENSE file.
    
    // Test that buffered channels are garbage collected properly.
    // An interesting case because they have finalizers and used to
    // have self loops that kept them from being collected.
    // (Cyclic data with finalizers is never finalized, nor collected.)
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    )
    
    func main() {
    	const N = 10000
    	st := new(runtime.MemStats)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 977 bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Namespace.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
        fieldsV1: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Namespace.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Namespace.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Namespace.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
        fieldsV1: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClaimTemplate.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.ResourceClaimTemplate.yaml

    kind: ResourceClaimTemplate
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
        fieldsV1: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top