(h []argsKV)
| 476 | } |
| 477 | |
| 478 | func allocArg(h []argsKV) ([]argsKV, *argsKV) { |
| 479 | n := len(h) |
| 480 | if cap(h) > n { |
| 481 | h = h[:n+1] |
| 482 | } else { |
| 483 | h = append(h, argsKV{ |
| 484 | value: []byte{}, |
| 485 | }) |
| 486 | } |
| 487 | return h, &h[n] |
| 488 | } |
| 489 | |
| 490 | func releaseArg(h []argsKV) []argsKV { |
| 491 | return h[:len(h)-1] |
no outgoing calls
no test coverage detected
searching dependent graphs…