Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for finalizer (0.15 sec)

  1. src/runtime/mfinal.go

    			if finptrmask[0] == 0 {
    				// Build pointer mask for Finalizer array in block.
    				// Check assumptions made in finalizer1 array above.
    				if (unsafe.Sizeof(finalizer{}) != 5*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.fn) != 0 ||
    					unsafe.Offsetof(finalizer{}.arg) != goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.nret) != 2*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.fint) != 3*goarch.PtrSize ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pkg/controller/job/job_controller.go

    	}
    	return string(batch.NonIndexedCompletion)
    }
    
    func appendJobCompletionFinalizerIfNotFound(finalizers []string) []string {
    	for _, fin := range finalizers {
    		if fin == batch.JobTrackingFinalizer {
    			return finalizers
    		}
    	}
    	return append(finalizers, batch.JobTrackingFinalizer)
    }
    
    func removeTrackingFinalizerPatch(pod *v1.Pod) []byte {
    	if !hasJobTrackingFinalizer(pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		},
    		"no existing finalizers, PropagationPolicy=Default, orphanDeleteStrategy": {
    			options:            &metav1.DeleteOptions{PropagationPolicy: nil},
    			strategy:           orphanDeleteStrategy,
    			expectedFinalizers: []string{metav1.FinalizerOrphanDependents},
    		},
    
    		// all cases in the following block have "existing orphan finalizer"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  6. src/os/exec_plan9.go

    		status: &waitmsg,
    	}
    	return ps, nil
    }
    
    func (p *Process) release() error {
    	p.Pid = -1
    
    	// Just mark the PID unusable.
    	p.pidDeactivate(statusReleased)
    
    	// no need for a finalizer anymore
    	runtime.SetFinalizer(p, nil)
    	return nil
    }
    
    func findProcess(pid int) (p *Process, err error) {
    	// NOOP for Plan 9.
    	return newPIDProcess(pid), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/os/exec_unix.go

    		// racing with Wait, or a double Release.
    		p.handlePersistentRelease(statusReleased)
    	case modePID:
    		// Just mark the PID unusable.
    		p.pidDeactivate(statusReleased)
    	}
    	// no need for a finalizer anymore
    	runtime.SetFinalizer(p, nil)
    	return nil
    }
    
    func findProcess(pid int) (p *Process, err error) {
    	h, err := pidfdFind(pid)
    	if err == ErrProcessDone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/os/exec_windows.go

    	//
    	// The API on Windows expects EINVAL if Release is called multiple
    	// times.
    	if old := p.handlePersistentRelease(statusReleased); old == statusReleased {
    		return syscall.EINVAL
    	}
    
    	// no need for a finalizer anymore
    	runtime.SetFinalizer(p, nil)
    	return nil
    }
    
    func (p *Process) closeHandle() {
    	syscall.CloseHandle(syscall.Handle(p.handle))
    }
    
    func findProcess(pid int) (p *Process, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller_test.go

    		t.Errorf("Removing finalizer: %v", err)
    	}
    
    	update = pods[1].DeepCopy()
    	update.Finalizers = nil
    	update.DeletionTimestamp = &metav1.Time{Time: time.Now()}
    	update.ResourceVersion = "1"
    	err = clientset.Tracker().Update(podsResource, update, update.Namespace)
    	if err != nil {
    		t.Errorf("Removing finalizer and setting deletion timestamp: %v", err)
    	}
    
    	// Preserve the finalizer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/types.go

    	//
    	// The job controller creates pods with a finalizer. When a pod terminates
    	// (succeeded or failed), the controller does three steps to account for it
    	// in the job status:
    	//
    	// 1. Add the pod UID to the arrays in this field.
    	// 2. Remove the pod finalizer.
    	// 3. Remove the pod UID from the arrays while increasing the corresponding
    	//     counter.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top