Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,275 for heal (0.13 sec)

  1. src/internal/trace/batchcursor_test.go

    	heap[len(heap)-1].ev.time = 21
    	heapUpdate(heap, len(heap)-1)
    	checkHeap(t, heap)
    	if heap[len(heap)-1].ev.time != 21 {
    		t.Fatalf("heap update failed, expected %d as heap min: %s", 21, heapDebugString(heap))
    	}
    
    	// Update the last element to be smaller.
    	heap[len(heap)-1].ev.time = 7
    	heapUpdate(heap, len(heap)-1)
    	checkHeap(t, heap)
    	if heap[len(heap)-1].ev.time == 21 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/runtime/gc_test.go

    	type X struct {
    		buf     [1]byte
    		nextbuf []byte
    		next    *X
    	}
    	var head *X
    	for i := 0; i < 10; i++ {
    		p := &X{}
    		p.buf[0] = 42
    		p.next = head
    		if head != nil {
    			p.nextbuf = head.buf[:]
    		}
    		head = p
    		runtime.GC()
    	}
    	for p := head; p != nil; p = p.next {
    		if p.buf[0] != 42 {
    			t.Fatal("corrupted heap")
    		}
    	}
    }
    
    func TestGcRescan(t *testing.T) {
    	type X struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. docs/en/docs/img/logo-margin/logo-teal.png

    logo-teal.png...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 04 20:56:59 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. docs/en/docs/img/logo-teal.svg

    logo-teal.svg...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 04 20:56:59 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/runtime/mgcstack.go

    	if p < s.stack.lo || p >= s.stack.hi {
    		throw("address not a stack address")
    	}
    	head := &s.buf
    	if conservative {
    		head = &s.cbuf
    	}
    	buf := *head
    	if buf == nil {
    		// Initial setup.
    		buf = (*stackWorkBuf)(unsafe.Pointer(getempty()))
    		buf.nobj = 0
    		buf.next = nil
    		*head = buf
    	} else if buf.nobj == len(buf.obj) {
    		if s.freeBuf != nil {
    			buf = s.freeBuf
    			s.freeBuf = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 21:06:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    	return true
    }
    
    // mProf_NextCycle publishes the next heap profile cycle and creates a
    // fresh heap profile cycle. This operation is fast and can be done
    // during STW. The caller must call mProf_Flush before calling
    // mProf_NextCycle again.
    //
    // This is called by mark termination during STW so allocations and
    // frees after the world is started again count towards a new heap
    // profiling cycle.
    func mProf_NextCycle() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. docs/en/docs/img/logo-margin/logo-teal-vector.svg

    logo-teal-vector.svg...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 04 20:56:59 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/runtime/mheap.go

    	// Try directly allocating from the current head arena.
    	head := (*gcBitsArena)(atomic.Loadp(unsafe.Pointer(&gcBitsArenas.next)))
    	if p := head.tryAlloc(bytesNeeded); p != nil {
    		return p
    	}
    
    	// There's not enough room in the head arena. We may need to
    	// allocate a new arena.
    	lock(&gcBitsArenas.lock)
    	// Try the head arena again, since it may have changed. Now
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  9. docs/en/docs/img/logo-teal-vector.svg

    logo-teal-vector.svg...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 04 20:56:59 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/internal/trace/reader.go

    	// (3) Group each event batch by M, sorted by timestamp. (batchCursor contains the groups.)
    	// (4) Organize batchCursors in a min-heap, ordered by the timestamp of the next event for each M.
    	// (5) Try to advance the next event for the M at the top of the min-heap.
    	//   (a) On success, select that M.
    	//   (b) On failure, sort the min-heap and try to advance other Ms. Select the first M that advances.
    	//   (c) If there's nothing left to advance, goto (1).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top