Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 287 for finalizer (0.17 sec)

  1. src/runtime/heapdump.go

    		if s.state.get() == mSpanInUse {
    			// Finalizers
    			for sp := s.specials; sp != nil; sp = sp.next {
    				if sp.kind != _KindSpecialFinalizer {
    					continue
    				}
    				spf := (*specialfinalizer)(unsafe.Pointer(sp))
    				p := unsafe.Pointer(s.base() + uintptr(spf.special.offset))
    				dumpfinalizer(p, spf.fn, spf.fint, spf.ot)
    			}
    		}
    	}
    
    	// Finalizer queue
    	iterate_finq(finq_callback)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/syscall/js/js_test.go

    // JavaScript functions.
    // Note: All JavaScript functions return a JavaScript array, which will cause
    // one allocation to be created to track the Value.gcPtr for the Value finalizer.
    var allocTests = []struct {
    	argLen  int // The number of arguments to use for the syscall
    	expected int // The expected number of allocations
    }{
    	// For less than or equal to 16 arguments, we expect 1 alloction:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. src/syscall/js/js.go

    	if (r>>32)&nanHead == nanHead && typeFlag != typeFlagNone {
    		gcPtr = new(ref)
    		*gcPtr = r
    		runtime.SetFinalizer(gcPtr, func(p *ref) {
    			finalizeRef(*p)
    		})
    	}
    
    	return Value{ref: r, gcPtr: gcPtr}
    }
    
    //go:wasmimport gojs syscall/js.finalizeRef
    func finalizeRef(r ref)
    
    func predefValue(id uint32, typeFlag byte) Value {
    	return Value{ref: (nanHead|ref(typeFlag))<<32 | ref(id)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/runtime/metrics/description.go

    		Kind: KindUint64,
    	},
    	{
    		Name:        "/memory/classes/other:bytes",
    		Description: "Memory used by execution trace buffers, structures for debugging the runtime, finalizer and profiler specials, and more.",
    		Kind:        KindUint64,
    	},
    	{
    		Name:        "/memory/classes/profiling/buckets:bytes",
    		Description: "Memory that is used by the stack trace hash map used for profiling.",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. src/runtime/arena.go

    // list for a future arena to use. Each arena keeps its list of referenced chunks
    // explicitly live until it is freed. Each user arena also maps to an object which
    // has a finalizer attached that ensures the arena's chunks are all freed even if
    // the arena itself is never explicitly freed.
    //
    // Pointer-ful memory is bump-allocated from low addresses to high addresses in each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. src/runtime/metrics/doc.go

    		modes, and other sources of stacks from the OS are not measured.
    		This too may change in the future.
    
    	/memory/classes/other:bytes
    		Memory used by execution trace buffers, structures for debugging
    		the runtime, finalizer and profiler specials, and more.
    
    	/memory/classes/profiling/buckets:bytes
    		Memory that is used by the stack trace hash map used for
    		profiling.
    
    	/memory/classes/total:bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. pkg/registry/core/service/storage/storage.go

    	store.AfterDelete = genericStore.afterDelete
    	store.BeginCreate = genericStore.beginCreate
    	store.BeginUpdate = genericStore.beginUpdate
    
    	// users can patch the status to remove the finalizer,
    	// hence statusStore must participate on the AfterDelete
    	// hook to release the allocated resources
    	statusStore.AfterDelete = genericStore.afterDelete
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go

    	// versions from this list.
    	// None of the versions in this list can be removed from the spec.Versions field.
    	StoredVersions []string
    }
    
    // CustomResourceCleanupFinalizer is the name of the finalizer which will delete instances of
    // a CustomResourceDefinition
    const CustomResourceCleanupFinalizer = "customresourcecleanup.apiextensions.k8s.io"
    
    // +genclient
    // +genclient:nonNamespaced
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. src/runtime/runtime2.go

    	waitReasonChanReceive                             // "chan receive"
    	waitReasonChanSend                                // "chan send"
    	waitReasonFinalizerWait                           // "finalizer wait"
    	waitReasonForceGCIdle                             // "force gc (idle)"
    	waitReasonSemacquire                              // "semacquire"
    	waitReasonSleep                                   // "sleep"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/provision_test.go

    			[]*v1.PersistentVolume{
    				newVolumeWithFinalizers("volume11-23", "1Gi", "", "", v1.VolumeAvailable, v1.PersistentVolumeReclaimDelete, classCopper, nil /*No Finalizer is added here since the test doesn't trigger syncVolume, instead just syncClaim*/),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top