MCPcopy Create free account
hub / github.com/cwida/ALP / patch_exceptions

Method patch_exceptions

include/alp/decoder.hpp:141–149  ·  view source on GitHub ↗

Patch Exceptions

Source from the content-addressed store, hash-verified

139
140 //! Patch Exceptions
141 static inline void patch_exceptions(PT* out,
142 const PT* exceptions,
143 const exp_p_t* exceptions_positions,
144 const exp_c_t* exceptions_count) {
145 const auto exp_c = exceptions_count[0];
146 for (exp_c_t i {0}; i < exp_c; i++) {
147 out[exceptions_positions[i]] = exceptions[i];
148 }
149 }
150};
151
152} // namespace alp

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected