Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 397 for nalloc (0.18 sec)

  1. hack/grab-profiles.sh

            ;;
          mem)
            # There are different kinds of memory profiles that are available that
            # had to be grabbed separately: --inuse-space, --inuse-objects,
            # --alloc-space, --alloc-objects. We need to iterate over all requested
            # kinds.
            for flag in ${mem_pprof_flags}; do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 17 06:47:05 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  2. pkg/kubelet/status/state/state_mem.go

    	s.Lock()
    	defer s.Unlock()
    
    	if _, ok := s.podAllocation[podUID]; !ok {
    		s.podAllocation[podUID] = make(map[string]v1.ResourceList)
    	}
    
    	s.podAllocation[podUID][containerName] = alloc
    	klog.V(3).InfoS("Updated container resource allocation", "podUID", podUID, "containerName", containerName, "alloc", alloc)
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/internal/msan/msan.go

    const Enabled = true
    
    //go:linkname Read runtime.msanread
    func Read(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Write runtime.msanwrite
    func Write(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Malloc runtime.msanmalloc
    func Malloc(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Free runtime.msanfree
    func Free(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Move runtime.msanmove
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 647 bytes
    - Viewed (0)
  4. src/runtime/traceregion.go

    // alloc allocates n-byte block. The block is always aligned to 8 bytes, regardless of platform.
    func (a *traceRegionAlloc) alloc(n uintptr) *notInHeap {
    	n = alignUp(n, 8)
    	if n > traceRegionAllocBlockData {
    		throw("traceRegion: alloc too large")
    	}
    	if a.dropping.Load() {
    		throw("traceRegion: alloc with concurrent drop")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/traceexp.go

    	traceExperimentAllocFree
    )
    
    // Experimental events.
    const (
    	_ traceEv = 127 + iota
    
    	// Experimental events for ExperimentAllocFree.
    
    	// Experimental heap span events. IDs map reversibly to base addresses.
    	traceEvSpan      // heap span exists [timestamp, id, npages, type/class]
    	traceEvSpanAlloc // heap span alloc [timestamp, id, npages, type/class]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan5.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // Check that calls to C.malloc/C.free do not collide with the calls
    // made by the os/user package.
    
    // #cgo CFLAGS: -fsanitize=thread
    // #cgo LDFLAGS: -fsanitize=thread
    // #include <stdlib.h>
    import "C"
    
    import (
    	"fmt"
    	"os"
    	"os/user"
    	"runtime"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 927 bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/gc.go

    	// Alternate between whether the chunk will be held live or will be
    	// condemned to GC to create holes in the heap.
    	saved := make([][]byte, allocs/2+1)
    	condemned := make([][]byte, allocs/2)
    	for i := 0; i < allocs; i++ {
    		b := make([]byte, allocChunk)
    		if i%2 == 0 {
    			saved = append(saved, b)
    		} else {
    			condemned = append(condemned, b)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. src/runtime/msize.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Malloc small size classes.
    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. pkg/kubelet/status/state/state.go

    func (pr PodResourceAllocation) Clone() PodResourceAllocation {
    	prCopy := make(PodResourceAllocation)
    	for pod := range pr {
    		prCopy[pod] = make(map[string]v1.ResourceList)
    		for container, alloc := range pr[pod] {
    			prCopy[pod][container] = alloc.DeepCopy()
    		}
    	}
    	return prCopy
    }
    
    // Reader interface used to read current pod resource allocation state
    type Reader interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/bitmap.go

    		return a
    	}
    	return b
    }
    
    // Free returns the count of IP addresses left in the range.
    func (r *Range) Free() int {
    	return r.alloc.Free()
    }
    
    // Used returns the count of IP addresses used in the range.
    func (r *Range) Used() int {
    	return r.max - r.alloc.Free()
    }
    
    // CIDR returns the CIDR covered by the range.
    func (r *Range) CIDR() net.IPNet {
    	return *r.net
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
Back to top