MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / repeat

Function repeat

crates/explorer/src/index.js:186–188  ·  view source on GitHub ↗
(s, n)

Source from the content-addressed store, hash-verified

184/*** Rendering *****************************************************************/
185
186const repeat = (s, n) => {
187 return s.repeat(n >= 0 ? n : 0);
188};
189
190const renderAddress = addr => {
191 let hex = addr.toString(16);

Callers 15

renderAddressFunction · 0.70
renderBytesFunction · 0.70
executeMethod · 0.50
make_echo_componentFunction · 0.50
run_much_stdoutFunction · 0.50
infinite_read_streamFunction · 0.50
runMethod · 0.50
mainFunction · 0.50
write_zeroesMethod · 0.50
lowerMethod · 0.50

Calls

no outgoing calls

Tested by 4

run_much_stdoutFunction · 0.40
try_vec_try_collectFunction · 0.40
func_type_try_newFunction · 0.40