Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tailBuf (0.1 sec)

  1. src/fmt/format.go

    			if digits == -1 {
    				digits = 6
    			}
    		}
    
    		// Buffer pre-allocated with enough room for
    		// exponent notations of the form "e+123" or "p-1023".
    		var tailBuf [6]byte
    		tail := tailBuf[:0]
    
    		hasDecimalPoint := false
    		sawNonzeroDigit := false
    		// Starting from i = 1 to skip sign at num[0].
    		for i := 1; i < len(num); i++ {
    			switch num[i] {
    			case '.':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/internal/trace/gc.go

    	// span in any alignment.
    	minBands := int((int64(window) + c.bandDur - 1) / c.bandDur)
    	maxBands := int((int64(window) + 2*(c.bandDur-1)) / c.bandDur)
    	if window > 1 && maxBands < 2 {
    		panic("maxBands < 2")
    	}
    	tailDur := int64(window) % c.bandDur
    	nUtil := len(c.bands) - maxBands + 1
    	if nUtil < 0 {
    		nUtil = 0
    	}
    	bandU := make([]bandUtil, nUtil)
    	for i := range bandU {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top