Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for Accounting (0.13 sec)

  1. pkg/kubelet/cm/container_manager_linux.go

    	// cgroup will be the closest ancestor where accounting is performed (most likely /) on systems that launch docker containers.
    	// as a result, on those systems, you will not get cpu or memory accounting statistics for kubelet.
    	// in addition, you would not get memory or cpu accounting for the runtime unless accounting was enabled on its unit (or globally).
    	if systemd, found := cgs["name=systemd"]; found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) insertDecomposed(dcomp []byte) insertErr {
    	rb.tmpBytes.setBytes(dcomp)
    	// As the streamSafe accounting already handles the counting for modifiers,
    	// we don't have to call next. However, we do need to keep the accounting
    	// intact when flushing the buffer.
    	for i := 0; i < len(dcomp); {
    		info := rb.f.info(rb.tmpBytes, i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) insertDecomposed(dcomp []byte) insertErr {
    	rb.tmpBytes.setBytes(dcomp)
    	// As the streamSafe accounting already handles the counting for modifiers,
    	// we don't have to call next. However, we do need to keep the accounting
    	// intact when flushing the buffer.
    	for i := 0; i < len(dcomp); {
    		info := rb.f.info(rb.tmpBytes, i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  4. src/runtime/cgocall.go

    	// foreign code.
    	//
    	// The call to asmcgocall is guaranteed not to
    	// grow the stack and does not allocate memory,
    	// so it is safe to call while "in a system call", outside
    	// the $GOMAXPROCS accounting.
    	//
    	// fn may call back into Go code, in which case we'll exit the
    	// "system call", run the Go code (which may grow the stack),
    	// and then re-enter the "system call" reusing the PC and SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    		// went wrong in our accounting and we should error out.
    		if acc.numCPUsNeeded > 0 {
    			return cpuset.New(), fmt.Errorf("accounting error, not enough CPUs allocated, remaining: %v", acc.numCPUsNeeded)
    		}
    
    		// Likewise, if we have allocated too many CPUs at this point, then something
    		// went wrong in our accounting and we should error out.
    		if acc.numCPUsNeeded < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set.go

    			ssc.addPod(logger, obj)
    		},
    		// lookup current and old statefulset if labels changed
    		UpdateFunc: func(oldObj, newObj interface{}) {
    			ssc.updatePod(logger, oldObj, newObj)
    		},
    		// lookup statefulset accounting for deletion tombstones
    		DeleteFunc: func(obj interface{}) {
    			ssc.deletePod(logger, obj)
    		},
    	})
    	ssc.podLister = podInformer.Lister()
    	ssc.podListerSynced = podInformer.Informer().HasSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/runtime/debuglog.go

    			}
    		}
    	}
    
    	// If that failed, allocate a new logger.
    	if l == nil {
    		// Use sysAllocOS instead of sysAlloc because we want to interfere
    		// with the runtime as little as possible, and sysAlloc updates accounting.
    		l = (*dlogger)(sysAllocOS(unsafe.Sizeof(dlogger{})))
    		if l == nil {
    			throw("failed to allocate debug log")
    		}
    		l.w.r.data = &l.w.data
    		l.owned.Store(1)
    
    		// Prepend to allDloggers list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. pkg/volume/configmap/configmap.go

    	return volume.Spec{
    		// This should be on a tmpfs instead of the local disk; the problem is
    		// charging the memory for the tmpfs to the right cgroup.  We should make
    		// this a tmpfs when we can do the accounting correctly.
    		Volume: &v1.Volume{VolumeSource: v1.VolumeSource{EmptyDir: &v1.EmptyDirVolumeSource{}}},
    	}
    }
    
    func (b *configMapVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight_test.go

    	defer server.Close()
    
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	StartMaxInFlightWatermarkMaintenance(ctx.Done())
    
    	// These should hang, but not affect accounting.  use a query param match
    	for i := 0; i < AllowedNonMutatingInflightRequestsNo; i++ {
    		// These should hang waiting on block...
    		go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  10. src/runtime/mcache.go

    	}
    
    	// Indicate that this span is cached and prevent asynchronous
    	// sweeping in the next sweep phase.
    	s.sweepgen = mheap_.sweepgen + 3
    
    	// Store the current alloc count for accounting later.
    	s.allocCountBeforeCache = s.allocCount
    
    	// Update heapLive and flush scanAlloc.
    	//
    	// We have not yet allocated anything new into the span, but we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top