Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,124 for finalizer (0.92 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultTaskTest.groovy

        def "test finalizedBy()"() {
            given:
            def finalizer = createTask(project, "finalizer")
            def finalizerFromPath = project.getTasks().create("path")
            def finalized = createTask(project, TEST_TASK_NAME)
            finalized.finalizedBy(finalizer, "path")
    
            expect:
            finalized.finalizedBy.getDependencies(finalized) == [finalizer, finalizerFromPath] as Set
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 11:56:02 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. pkg/controller/servicecidrs/servicecidrs_controller.go

    	maxRetries     = 15
    	controllerName = "service-cidr-controller"
    
    	ServiceCIDRProtectionFinalizer = "networking.k8s.io/service-cidr-finalizer"
    
    	// deletionGracePeriod is the time in seconds to wait to remove the finalizer from a ServiceCIDR to ensure the
    	// deletion informations has been propagated to the apiserver allocators to avoid allocating any IP address
    	// before we complete delete the ServiceCIDR
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. src/crypto/internal/boring/ecdh.go

    	}
    
    	k := &PublicKeyECDH{curve, key, group, append([]byte(nil), bytes...)}
    	// Note: Because of the finalizer, any time k.key is passed to cgo,
    	// that call must be followed by a call to runtime.KeepAlive(k),
    	// to make sure k is not collected (and finalized) before the cgo
    	// call returns.
    	runtime.SetFinalizer(k, (*PublicKeyECDH).finalize)
    	return k, nil
    }
    
    func (k *PublicKeyECDH) Bytes() []byte { return k.bytes }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/internal/weak/pointer_test.go

    	}
    
    	// Wait for the finalizer to run.
    	<-done
    
    	// The weak pointer should still be nil after the finalizer runs.
    	runtime.GC()
    	if wt.Strong() != nil {
    		t.Errorf("weak pointer is non-nil even after finalization: %v", wt)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. operator/pkg/controller/istiocontrolplane/errdict.go

    			"error persists, " + actionCheckBugList,
    	}
    	operatorFailedToAddFinalizer = &structured.Error{
    		MoreInfo: "A finalizer could not be added to the IstioOperator resource. The " +
    			"controller uses the finalizer to temporarily prevent the resource from being deleted while the Istio " +
    			"control plane is being deleted.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. samples/ambient-argo/meta-application.yaml

    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
      name: meta-application
      finalizers:
        - resources-finalizer.argocd.argoproj.io
    spec:
      destination:
        name: in-cluster
        namespace: argocd
        server: ''
      sources:
      - path: istio
        repoURL: '{repo-placeholder}'
        targetRevision: HEAD
      - path: application
        repoURL: '{repo-placeholder}'
        targetRevision: HEAD
        directory:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 630 bytes
    - Viewed (0)
Back to top