Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for spans (0.04 sec)

  1. src/runtime/mheap.go

    	if span.list != list {
    		print("runtime: failed mSpanList.remove span.npages=", span.npages,
    			" span=", span, " prev=", span.prev, " span.list=", span.list, " list=", list, "\n")
    		throw("mSpanList.remove")
    	}
    	if list.first == span {
    		list.first = span.next
    	} else {
    		span.prev.next = span.next
    	}
    	if list.last == span {
    		list.last = span.prev
    	} else {
    		span.next.prev = span.prev
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    // The heap is swept span-by-span both lazily (when a goroutine needs another span)
    // and concurrently in a background goroutine (this helps programs that are not CPU bound).
    // At the end of STW mark termination all spans are marked as "needs sweeping".
    //
    // The background sweeper goroutine simply sweeps spans one-by-one.
    //
    // To avoid requesting more OS memory while there are unswept spans, when a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    // small object spans and heap arena spans.
    //
    // Note that the uintptr of each element means something different for small object
    // spans and for heap arena spans. Small object spans are easy: they're never interpreted
    // as anything but uintptr, so they're immune to differences in endianness. However, the
    // heapBits for user arena spans is exposed through a dummy type descriptor, so the byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. src/go/printer/nodes.go

    	"math"
    	"strconv"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Formatting issues:
    // - better comment formatting for /*-style comments at the end of a line (e.g. a declaration)
    //   when the comment spans multiple lines; if such a comment is just two lines, formatting is
    //   not idempotent
    // - formatting of expression lists
    // - should use blank instead of tab to separate one-line function bodies from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  5. src/runtime/mgcmark.go

    		}
    
    		// Check if val points to a heap span.
    		span := spanOfHeap(val)
    		if span == nil {
    			continue
    		}
    
    		// Check if val points to an allocated object.
    		idx := span.objIndex(val)
    		if span.isFree(idx) {
    			continue
    		}
    
    		// val points to an allocated object. Mark it.
    		obj := span.base() + idx*span.elemsize
    		greyobject(obj, b, i, span, gcw, idx)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        /**
         * Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise values
         * must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds.
         *
         * The call timeout spans the entire call: resolving DNS, connecting, writing the request body,
         * server processing, and reading the response body. If the call requires redirects or retries
         * all must complete within one timeout period.
         *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. src/runtime/malloc.go

    		span = c.allocLarge(size, noscan)
    		span.freeindex = 1
    		span.allocCount = 1
    		size = span.elemsize
    		x = unsafe.Pointer(span.base())
    		if needzero && span.needzero != 0 {
    			delayedZeroing = true
    		}
    		if !noscan {
    			// Tell the GC not to look at this yet.
    			span.largeType = nil
    			header = &span.largeType
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. src/runtime/mgcpacer.go

    	// excludes these objects (and hence only goes up between GCs).
    	//
    	// To reduce contention, this is updated only when obtaining a span
    	// from an mcentral and at this point it counts all of the unallocated
    	// slots in that span (which will be allocated before that mcache
    	// obtains another span from that mcentral). Hence, it slightly
    	// overestimates the "true" live heap size. It's better to overestimate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/runtime/mgcscavenge.go

    // the heap goal is defined in terms of bytes of objects, rather than pages like
    // RSS. As a result, we need to take into account for fragmentation internal to
    // spans. heapGoal / lastHeapGoal defines the ratio between the current heap goal
    // and the last heap goal, which tells us by how much the heap is growing and
    // shrinking. We estimate what the heap will grow to in terms of pages by taking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    				if msg[1] == '/' {
    					// line comment (newline is part of the comment)
    					pos = MakePos(p.file, line+1, colbase)
    				} else {
    					// regular comment
    					// (if the comment spans multiple lines it's not
    					// a valid line directive and will be discarded
    					// by updateBase)
    					pos = MakePos(p.file, line, col+uint(len(msg)))
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top