MCPcopy Create free account
hub / github.com/NetHack/NetHack / isaac64_init

Function isaac64_init

src/isaac64.c:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117
118void isaac64_init(isaac64_ctx *_ctx,const unsigned char *_seed,int _nseed){
119 _ctx->a=_ctx->b=_ctx->c=0;
120 memset(_ctx->r,0,sizeof(_ctx->r));
121 isaac64_reseed(_ctx,_seed,_nseed);
122}
123
124void isaac64_reseed(isaac64_ctx *_ctx,const unsigned char *_seed,int _nseed){
125 uint64_t *m;

Callers 1

init_isaac64Function · 0.85

Calls 1

isaac64_reseedFunction · 0.85

Tested by

no test coverage detected