MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / try_push

Method try_push

external/include/fast_float/fast_float.h:1732–1739  ·  view source on GitHub ↗

append item to vector, returning if item was added

Source from the content-addressed store, hash-verified

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;

Callers 3

small_add_fromFunction · 0.80
small_mulFunction · 0.80
shl_bitsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected