Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 287 for finalizer (0.38 sec)

  1. src/os/file_plan9.go

    // Fd returns the integer Plan 9 file descriptor referencing the open file.
    // If f is closed, the file descriptor becomes invalid.
    // If f is garbage collected, a finalizer may close the file descriptor,
    // making it invalid; see [runtime.SetFinalizer] for more information on when
    // a finalizer might be run. On Unix systems this will cause the [File.SetDeadline]
    // methods to stop working.
    //
    // As an alternative, see the f.SyscallConn method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. pkg/controller/job/indexed_job_utils.go

    	newSucceeded := sets.New[int]()
    	for _, p := range pods {
    		ix := getCompletionIndex(p.Annotations)
    		// Succeeded Pod with valid index and, if tracking with finalizers,
    		// has a finalizer (meaning that it is not counted yet).
    		if p.Status.Phase == v1.PodSucceeded && ix != unknownCompletionIndex && ix < int(*job.Spec.Completions) && hasJobTrackingFinalizer(p) {
    			newSucceeded.Insert(ix)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 00:44:53 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/rsa.go

    	runtime.SetFinalizer(k, (*PublicKeyRSA).finalize)
    	return k, nil
    }
    
    func (k *PublicKeyRSA) finalize() {
    	C._goboringcrypto_RSA_free(k._key)
    }
    
    func (k *PublicKeyRSA) withKey(f func(*C.GO_RSA) C.int) C.int {
    	// Because of the finalizer, any time _key is passed to cgo, that call must
    	// be followed by a call to runtime.KeepAlive, to make sure k is not
    	// collected (and finalized) before the cgo call returns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/apiserver.go

    	"k8s.io/apiextensions-apiserver/pkg/controller/apiapproval"
    	"k8s.io/apiextensions-apiserver/pkg/controller/establish"
    	"k8s.io/apiextensions-apiserver/pkg/controller/finalizer"
    	"k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema"
    	openapicontroller "k8s.io/apiextensions-apiserver/pkg/controller/openapi"
    	openapiv3controller "k8s.io/apiextensions-apiserver/pkg/controller/openapiv3"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 14:31:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. src/runtime/stack_test.go

    			if !started.Load() {
    				panic("finalizer did not start")
    			} else {
    				panic(fmt.Sprintf("finalizer started %s ago (%s after registration) and ran %d iterations, but did not return", time.Since(finalizerStart), finalizerStart.Sub(setFinalizerTime), progress.Load()))
    			}
    		})
    		defer timer.Stop()
    	}
    
    	GC()
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        GcFinalization.awaitClear(finalizableWeakReference);
    
        Field sepFrqUserFinalizedF = sepFrqUserC.getField("finalized");
        Semaphore finalizeCount = (Semaphore) sepFrqUserFinalizedF.get(null);
        boolean finalized = finalizeCount.tryAcquire(5, TimeUnit.SECONDS);
        assertTrue(finalized);
    
        Field sepFrqUserFrqF = sepFrqUserC.getField("frq");
        Closeable frq = (Closeable) sepFrqUserFrqF.get(null);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package finalizer
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/api/meta"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__authentication.k8s.io__v1alpha1_openapi.json

    significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__authentication.k8s.io__v1beta1_openapi.json

    significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  10. pkg/controller/job/indexed_job_utils_test.go

    				},
    				Spec: batch.JobSpec{
    					Completions: ptr.To(tc.completions),
    				},
    			}
    			pods := hollowPodsWithIndexPhase(tc.pods)
    			for _, p := range pods {
    				p.Finalizers = append(p.Finalizers, batch.JobTrackingFinalizer)
    			}
    			gotStatusIntervals, gotIntervals := calculateSucceededIndexes(logger, job, pods)
    			if diff := cmp.Diff(tc.wantStatusIntervals, gotStatusIntervals); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top