MCPcopy Create free account
hub / github.com/NVlabs/BundleSDF / utf8_decode

Function utf8_decode

BundleTrack/src/fmt/format.h:451–481  ·  view source on GitHub ↗

A public domain branchless UTF-8 decoder by Christopher Wellons: https://github.com/skeeto/branchless-utf8 Decode the next character, c, from s, reporting errors in e. * * Since this is a branchless decoder, four bytes will be read from the * buffer regardless of the actual length of the next character. This * means the buffer _must_ have at least three bytes of zero padding * following the e

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

for_each_codepointFunction · 0.85

Calls 1

code_point_lengthFunction · 0.85

Tested by

no test coverage detected