Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 899 for finalizerB (0.15 sec)

  1. pkg/registry/core/service/storage/transaction.go

    limitations under the License.
    */
    
    package storage
    
    // transaction represents something that may need to be finalized on success or
    // failure of the larger transaction.
    type transaction interface {
    	// Commit tells the transaction to finalize any changes it may have
    	// pending.  This cannot fail, so errors must be handled internally.
    	Commit()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 11 17:49:37 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelActionRole.java

        Initialize(ModelNode.State.Initialized, true), // Mutation action provided when an element is defined
        Mutate(ModelNode.State.Mutated, true), // Customisations
        Finalize(ModelNode.State.Finalized, true), // Post customisation default values
        Validate(ModelNode.State.SelfClosed, true); // Post mutation validations
    
        private final ModelNode.State target;
        private final boolean subjectViewAvailable;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. pkg/cache/ttlCache.go

    		c.stopEvicter = make(chan bool, 1)
    		c.evicterTerminated.Add(1)
    		go c.evicter(evictionInterval)
    
    		// We return a 'see-through' wrapper for the real object such that
    		// the finalizer can trigger on the wrapper. We can't set a finalizer
    		// on the main cache object because it would never fire, since the
    		// evicter goroutine is keeping it alive
    		result := &ttlWrapper{c}
    		runtime.SetFinalizer(result, func(w *ttlWrapper) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher_test.go

    			expectedLabels: namespace1Labels,
    		},
    		{
    			name:           "request is for namespace/finalizer",
    			attr:           admission.NewAttributesRecord(nil, nil, schema.GroupVersionKind{}, namespace1.Name, "mock-name", schema.GroupVersionResource{Resource: "namespaces"}, "finalizers", admission.Create, &metav1.CreateOptions{}, false, nil),
    			expectedLabels: namespace1Labels,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 26 00:41:14 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. test/typeparam/orderedmapsimp.dir/a.go

    func (r *Receiver[Elem]) Next(ctx context.Context) (v Elem, ok bool) {
    	select {
    	case <-ctx.Done():
    	case v, ok = <-r.values:
    	}
    	return v, ok
    }
    
    // finalize is a finalizer for the receiver.
    func (r *Receiver[Elem]) finalize() {
    	close(r.done)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  6. pkg/controller/volume/protectionutil/utils_test.go

    		{
    			name:      "pv lacks delete time and finalizer",
    			obj:       pv(),
    			finalizer: util.PVProtectionFinalizer,
    			result:    false,
    		},
    		{
    			name:      "pvc lacks delete time and finalizer",
    			obj:       pvc(),
    			finalizer: util.PVCProtectionFinalizer,
    
    			result: false,
    		},
    	}
    	for _, test := range tests {
    		if test.result != IsDeletionCandidate(test.obj, test.finalizer) {
    			t.Error(test.name)
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 17 14:24:42 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  7. src/sync/map_test.go

    	m.Store(nil, struct{}{})
    
    	var finalized uint32
    
    	// Set finalizers that count for collected keys. A non-zero count
    	// indicates that keys have not been leaked.
    	for atomic.LoadUint32(&finalized) == 0 {
    		p := new(int)
    		runtime.SetFinalizer(p, func(*int) {
    			atomic.AddUint32(&finalized, 1)
    		})
    		m.Store(p, struct{}{})
    		m.Delete(p)
    		runtime.GC()
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacespec.go

    type NamespaceSpecApplyConfiguration struct {
    	Finalizers []v1.FinalizerName `json:"finalizers,omitempty"`
    }
    
    // NamespaceSpecApplyConfiguration constructs an declarative configuration of the NamespaceSpec type for use with
    // apply.
    func NamespaceSpec() *NamespaceSpecApplyConfiguration {
    	return &NamespaceSpecApplyConfiguration{}
    }
    
    // WithFinalizers adds the given value to the Finalizers field in the declarative configuration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  9. test/typeparam/orderedmap.go

    func (r *_Receiver[Elem]) Next(ctx context.Context) (v Elem, ok bool) {
    	select {
    	case <-ctx.Done():
    	case v, ok = <-r.values:
    	}
    	return v, ok
    }
    
    // finalize is a finalizer for the receiver.
    func (r *_Receiver[Elem]) finalize() {
    	close(r.done)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  10. 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)
Back to top