Lines Matching full:assignments
36 var resetFlag *bool = flag.Bool("reset", false, "If true, ignore current assignments and reassign from scratch")
172 func outputAssignments(w io.Writer, assignments map[string]int) {
175 for key, value := range assignments {
267 func outputStrings(w io.Writer, lib string, ty int, assignments map[string]int) {
271 keys := make([]string, 0, len(assignments))
272 for key := range assignments {
282 fmt.Fprintf(w, "%s,%s,%d,%s\n", lib, typeString, assignments[key], key[prefixLen:])
286 func assignNewValues(assignments map[string]int, reserved int) {
291 for _, value := range assignments {
303 keys := make([]string, 0, len(assignments))
304 for key, value := range assignments {
317 assignments[key] = max