append item to vector, returning if item was added
| 1730 | } |
| 1731 | // append item to vector, returning if item was added |
| 1732 | bool try_push(limb value) noexcept { |
| 1733 | if (len() < capacity()) { |
| 1734 | push_unchecked(value); |
| 1735 | return true; |
| 1736 | } else { |
| 1737 | return false; |
| 1738 | } |
| 1739 | } |
| 1740 | // add items to the vector, from a span, without bounds checking |
| 1741 | void extend_unchecked(limb_span s) noexcept { |
| 1742 | limb* ptr = data + length; |
no outgoing calls
no test coverage detected