Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bodySize (0.08 sec)

  1. src/go/printer/nodes.go

    		return maxSize + 1
    	}
    	// otherwise, estimate body size
    	bodySize := p.commentSizeBefore(p.posFor(pos2))
    	for i, s := range b.List {
    		if bodySize > maxSize {
    			break // no need to continue
    		}
    		if i > 0 {
    			bodySize += 2 // space for a semicolon and blank
    		}
    		bodySize += p.nodeSize(s, maxSize)
    	}
    	return bodySize
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top