(si *StructInfo)
| 410 | } |
| 411 | |
| 412 | func getBufGrowSize(si *StructInfo) uint32 { |
| 413 | |
| 414 | // TOOD(pquerna): automatically calc a better grow size based on history |
| 415 | // of a struct. |
| 416 | return p2(getTotalSize(si)) |
| 417 | } |
| 418 | |
| 419 | func isIntish(t reflect.Type) bool { |
| 420 | if t.Kind() >= reflect.Int && t.Kind() <= reflect.Uintptr { |
nothing calls this directly
no test coverage detected
searching dependent graphs…