()
| 68 | ) |
| 69 | |
| 70 | func (s streamAllocatorState) String() string { |
| 71 | switch s { |
| 72 | case streamAllocatorStateStable: |
| 73 | return "STABLE" |
| 74 | case streamAllocatorStateDeficient: |
| 75 | return "DEFICIENT" |
| 76 | default: |
| 77 | return fmt.Sprintf("UNKNOWN: %d", int(s)) |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | // --------------------------------------------------------------------------- |
| 82 |
nothing calls this directly
no outgoing calls
no test coverage detected