- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for initSpan (0.12 sec)
-
src/runtime/mheap.go
if trace.ok() { trace.SpanAlloc(s) traceRelease(trace) } } return s } // initSpan initializes a blank span s which will represent the range // [base, base+npages*pageSize). typ is the type of span being allocated. func (h *mheap) initSpan(s *mspan, typ spanAllocType, spanclass spanClass, base, npages uintptr) { // At this point, both s != nil and base != 0, and the heap
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
src/runtime/arena.go
sysUsed(unsafe.Pointer(base), userArenaChunkBytes, userArenaChunkBytes) // Model the user arena as a heap span for a large object. spc := makeSpanClass(0, false) h.initSpan(s, spanAllocHeap, spc, base, userArenaChunkPages) s.isUserArenaChunk = true s.elemsize -= userArenaChunkReserveBytes() s.limit = s.base() + s.elemsize s.freeindex = 1 s.allocCount = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
} if base.Flag.Percent != 0 { ir.Dump("not static", r) } return false } func (s *Schedule) initplan(n ir.Node) { if s.Plans[n] != nil { return } p := new(Plan) s.Plans[n] = p switch n.Op() { default: base.Fatalf("initplan") case ir.OARRAYLIT, ir.OSLICELIT: n := n.(*ir.CompLitExpr) var k int64 for _, a := range n.List {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
allocateFunc func(devs []string) (*pluginapi.AllocateResponse, error) initChan chan []string } func (m *MockEndpoint) preStartContainer(devs []string) (*pluginapi.PreStartContainerResponse, error) { m.initChan <- devs return &pluginapi.PreStartContainerResponse{}, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
src/testing/testing.go
"unicode" "unicode/utf8" ) var initRan bool // Init registers testing flags. These flags are automatically registered by // the "go test" command before running test functions, so Init is only needed // when calling functions such as Benchmark without using "go test". // // Init is not safe to call concurrently. It has no effect if it was already called. func Init() { if initRan { return } initRan = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0)