MCPcopy Create free account
hub / github.com/Vectorized/function-selector-miner / fillSponge

Function fillSponge

cpp/main.cpp:181–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179
180template <unsigned Length>
181FORCE_INLINE char *fillSponge(char *sponge, const SmallString &s)
182{
183 memcpy(sponge, s.data, Length == 0 ? s.length : Length);
184 return sponge + s.length;
185}
186
187template <unsigned Length>
188FORCE_INLINE char *fillSponge(char *sponge, const SmallString &functionName, uint64_t nonce, const SmallString &functionParams)

Callers

nothing calls this directly

Calls 1

writeDecimalFunction · 0.85

Tested by

no test coverage detected