2021-02-12 20:27:55 +00:00
|
|
|
/* Generated by Nim Compiler v1.2.6 */
|
|
|
|
/* (c) 2020 Andreas Rumpf */
|
|
|
|
/* The generated code is subject to the original license. */
|
|
|
|
/* Compiled for: Linux, amd64, gcc */
|
|
|
|
/* Command for C compiler:
|
2021-02-22 18:04:54 +00:00
|
|
|
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/certs -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/examples/v2 -o nimcache/release/chat2/stdlib_random.nim.c.o nimcache/release/chat2/stdlib_random.nim.c */
|
2021-02-12 20:27:55 +00:00
|
|
|
#define NIM_INTBITS 64
|
|
|
|
|
|
|
|
#include "nimbase.h"
|
|
|
|
#include <string.h>
|
|
|
|
#undef LANGUAGE_C
|
|
|
|
#undef MIPSEB
|
|
|
|
#undef MIPSEL
|
|
|
|
#undef PPC
|
|
|
|
#undef R3000
|
|
|
|
#undef R4000
|
|
|
|
#undef i386
|
|
|
|
#undef linux
|
|
|
|
#undef mips
|
|
|
|
#undef near
|
|
|
|
#undef far
|
|
|
|
#undef powerpc
|
|
|
|
#undef unix
|
|
|
|
#define nimfr_(x, y)
|
|
|
|
#define nimln_(x, y)
|
|
|
|
typedef struct tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A;
|
|
|
|
typedef struct tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q;
|
|
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
|
|
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
|
|
|
|
typedef struct tyObject_PubSubPeercolonObjectType___6rsvBHOjeRkx0KPoUqsmsw tyObject_PubSubPeercolonObjectType___6rsvBHOjeRkx0KPoUqsmsw;
|
|
|
|
struct tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A {NU64 a0;
|
|
|
|
NU64 a1;
|
|
|
|
};
|
|
|
|
struct tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q {NI64 seconds;
|
|
|
|
NI nanosecond;
|
|
|
|
};
|
|
|
|
struct TGenericSeq {NI len;
|
|
|
|
NI reserved;
|
|
|
|
};
|
|
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
|
|
};
|
|
|
|
typedef NU8 tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ;
|
|
|
|
typedef NI64 tyArray__pDfjTbtkTNjmi9bTcaNV32Q[8];
|
|
|
|
struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, getTime__h20mpqrwsumk6J9bRdCm6IQ)(void);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, randomize__9bkKNJLf9bw20lvR7m7LtpUA)(NI64 seed);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A, initRand__9aqfye0529cpt9ccBCwRCQgGQ)(NI64 seed);
|
|
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NU64, next__uKPilSLGUBbsncNO5ljzag)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NU64, rotl__I9aS29bnItunNBhkLW9cSr3SA)(NU64 x_0, NU64 k);
|
|
|
|
static N_INLINE(NI64, convert__2z1a0DRE31bT73xgVvBfQAtimes)(tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitFrom, tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitTo, NI64 quantity);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseDivByZero)(void);
|
|
|
|
static N_INLINE(NIM_BOOL, nimDivInt64)(NI64 a, NI64 b, NI64* res);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NI64, toUnix__mXmxlr1pBpariZiJTjytHg)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q t);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nanosecond__w9bWusm7fy39b4s5K9azEA0RA)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NF, rand__Ln7Vq2z8NofZIhmklcJO9bg)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r, NF max);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorF)(NF i, NF a, NF b);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NI, rand__SN9aVN0MBPaaBWhJdtZLhNA)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r, NI max);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
2021-02-22 18:04:54 +00:00
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, shuffle__okICJB7yyEczQCSYXVlJiQ)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ** x_0, NI x_0Len_0);
|
2021-02-12 20:27:55 +00:00
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, shuffle__xZRKNe6YzIK3ZR2f11OUGQ)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r, tyObject_PubSubPeercolonObjectType___6rsvBHOjeRkx0KPoUqsmsw** x_0, NI x_0Len_0);
|
|
|
|
STRING_LITERAL(TM__AIKkgex03Z1j45JceakCTA_2, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
|
|
"vendor/Nim/lib/pure/random.nim(572, 12) `seed != 0` ", 115);
|
|
|
|
extern NIM_CONST tyArray__pDfjTbtkTNjmi9bTcaNV32Q unitWeights__cpugRVHYEC9bUpLa71eZMsQ;
|
|
|
|
N_LIB_PRIVATE tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A state__4atHrcHUZPts5LqH9bzbl0w = {7616934476015405061ULL, 15122295919272093642ULL}
|
|
|
|
;
|
|
|
|
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
|
|
|
|
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NU64, rotl__I9aS29bnItunNBhkLW9cSr3SA)(NU64 x_0, NU64 k) { NU64 result; result = (NU64)0;
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
result = (NU64)((NU64)((NU64)(x_0) << (NU64)(k)) | (NU64)((NU64)(x_0) >> (NU64)((NU64)((NU64)(64ULL) - (NU64)(k))))); return result;}
|
|
|
|
|
|
|
|
#line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NU64, next__uKPilSLGUBbsncNO5ljzag)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r) { NU64 result; NU64 s0; NU64 s1; NU64 T1_; result = (NU64)0;
|
|
|
|
#line 139 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
s0 = (*r).a0;
|
|
|
|
#line 140 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
s1 = (*r).a1;
|
|
|
|
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
result = (NU64)((NU64)(s0) + (NU64)(s1));
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
s1 = (NU64)(s1 ^ s0);
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
T1_ = (NU64)0; T1_ = rotl__I9aS29bnItunNBhkLW9cSr3SA(s0, 55ULL);
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
(*r).a0 = (NU64)((NU64)(T1_ ^ s1) ^ (NU64)((NU64)(s1) << (NU64)(((NI) 14))));
|
|
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
(*r).a1 = rotl__I9aS29bnItunNBhkLW9cSr3SA(s1, 36ULL); return result;}
|
|
|
|
|
|
|
|
#line 551 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A, initRand__9aqfye0529cpt9ccBCwRCQgGQ)(NI64 seed) { tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A result; NU64 T5_; nimZeroMem((void*)(&result), sizeof(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A));
|
|
|
|
#line 572 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
{
|
|
|
|
#line 572 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 572 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 572 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
if (!!(!((seed == IL64(0))))) goto LA3_;
|
|
|
|
|
|
|
|
#line 572 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 572 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__AIKkgex03Z1j45JceakCTA_2));
|
|
|
|
}
|
|
|
|
LA3_: ;
|
|
|
|
|
|
|
|
#line 573 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 573 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
result.a0 = ((NU64) ((NI64)((NI64)(seed) >> (NU64)(((NI) 16)))));
|
|
|
|
#line 574 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 574 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
result.a1 = ((NU64) ((NI64)(seed & IL64(65535))));
|
|
|
|
#line 575 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 575 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 575 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
T5_ = (NU64)0; T5_ = next__uKPilSLGUBbsncNO5ljzag((&result)); (void)(T5_);
|
|
|
|
return result;}
|
|
|
|
|
|
|
|
#line 577 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, randomize__9bkKNJLf9bw20lvR7m7LtpUA)(NI64 seed) {
|
|
|
|
#line 593 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 593 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
state__4atHrcHUZPts5LqH9bzbl0w = initRand__9aqfye0529cpt9ccBCwRCQgGQ(seed);}
|
|
|
|
|
|
|
|
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
static N_INLINE(NIM_BOOL, nimDivInt64)(NI64 a, NI64 b, NI64* res) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
{ NIM_BOOL T3_;
|
|
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
T3_ = (NIM_BOOL)0;
|
|
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
T3_ = (a == (IL64(-9223372036854775807) - IL64(1))); if (!(T3_)) goto LA4_;
|
|
|
|
|
|
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
T3_ = (b == IL64(-1)); LA4_: ;
|
|
|
|
if (!T3_) goto LA5_;
|
|
|
|
|
|
|
|
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
result = NIM_TRUE; }
|
|
|
|
goto LA1_;
|
|
|
|
LA5_: ;
|
|
|
|
{
|
|
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
|
|
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
(*res) = (NI64)(a / b); }
|
|
|
|
LA1_: ;
|
|
|
|
return result;}
|
|
|
|
|
|
|
|
#line 449 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
|
|
|
|
static N_INLINE(NI64, convert__2z1a0DRE31bT73xgVvBfQAtimes)(tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitFrom, tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitTo, NI64 quantity) { NI64 result; result = (NI64)0;
|
|
|
|
#line 451 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
|
|
|
|
|
|
|
|
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
|
|
|
|
{ NI64 TM__AIKkgex03Z1j45JceakCTA_3; NI64 TM__AIKkgex03Z1j45JceakCTA_4;
|
|
|
|
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
|
|
|
|
if (!(unitFrom < unitTo)) goto LA3_;
|
|
|
|
|
|
|
|
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
|
|
|
|
|
|
|
|
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
|
|
|
|
if (unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0] == 0){ raiseDivByZero(); } if (nimDivInt64(unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0], unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0], &TM__AIKkgex03Z1j45JceakCTA_3)) { raiseOverflow(); }; if ((NI64)(TM__AIKkgex03Z1j45JceakCTA_3) == 0){ raiseDivByZero(); } if (nimDivInt64(quantity, (NI64)(TM__AIKkgex03Z1j45JceakCTA_3), &TM__AIKkgex03Z1j45JceakCTA_4)) { raiseOverflow(); }; result = (NI64)(TM__AIKkgex03Z1j45JceakCTA_4); }
|
|
|
|
goto LA1_;
|
|
|
|
LA3_: ;
|
|
|
|
{ NI64 TM__AIKkgex03Z1j45JceakCTA_5; NI64 TM__AIKkgex03Z1j45JceakCTA_6;
|
|
|
|
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
|
|
|
|
|
|
|
|
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
|
|
|
|
if (unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0] == 0){ raiseDivByZero(); } if (nimDivInt64(unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0], unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0], &TM__AIKkgex03Z1j45JceakCTA_5)) { raiseOverflow(); }; if (nimMulInt64((NI64)(TM__AIKkgex03Z1j45JceakCTA_5), quantity, &TM__AIKkgex03Z1j45JceakCTA_6)) { raiseOverflow(); }; result = (NI64)(TM__AIKkgex03Z1j45JceakCTA_6); }
|
|
|
|
LA1_: ;
|
|
|
|
return result;}
|
|
|
|
|
|
|
|
#line 631 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, randomize__JYHVSm4CtuuZW3MM2Ut4bQ)(void) { tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q now; NI64 T1_; NI64 T2_; NI T3_; NI64 TM__AIKkgex03Z1j45JceakCTA_7;
|
|
|
|
#line 648 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 648 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
now = getTime__h20mpqrwsumk6J9bRdCm6IQ();
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
T1_ = (NI64)0; T1_ = toUnix__mXmxlr1pBpariZiJTjytHg(now);
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
T2_ = (NI64)0; T2_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), T1_);
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
T3_ = (NI)0; T3_ = nanosecond__w9bWusm7fy39b4s5K9azEA0RA(now); if (nimAddInt64(T2_, ((NI64) (T3_)), &TM__AIKkgex03Z1j45JceakCTA_7)) { raiseOverflow(); };
|
|
|
|
#line 649 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
randomize__9bkKNJLf9bw20lvR7m7LtpUA((NI64)(TM__AIKkgex03Z1j45JceakCTA_7));
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NF, rand__Ln7Vq2z8NofZIhmklcJO9bg)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r, NF max) { NF result; NU64 x_1; NU64 u; union { NU64 source; NF dest; } LOC1; result = (NF)0;
|
|
|
|
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
x_1 = next__uKPilSLGUBbsncNO5ljzag(r);
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
u = (NU64)(4607182418800017408ULL | (NU64)((NU64)(x_1) >> (NU64)(12ULL)));
|
|
|
|
#line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
LOC1.source = u; result = ((NF)(((NF)(LOC1.dest) - (NF)(1.0000000000000000e+00))) * (NF)(((NF) (max)))); return result;}
|
|
|
|
|
|
|
|
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NF, rand__dkCsfTGOZrza5peBrYOGxQ)(NF max) { NF result; result = (NF)0;
|
|
|
|
#line 297 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 315 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
if ((max) < 0.0 || (max) > INF){ raiseRangeErrorF(max, 0.0, INF); }
|
|
|
|
#line 315 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
result = rand__Ln7Vq2z8NofZIhmklcJO9bg((&state__4atHrcHUZPts5LqH9bzbl0w), ((NF) (max))); return result;}
|
|
|
|
|
|
|
|
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NI, rand__SN9aVN0MBPaaBWhJdtZLhNA)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r, NI max) { NI result;{ result = (NI)0;
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
{
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
if (!(((NI) (max)) == ((NI) 0))) goto LA3_;
|
|
|
|
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
goto BeforeRet_;
|
|
|
|
}
|
|
|
|
LA3_: ;
|
|
|
|
{
|
|
|
|
#line 248 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
while (1) { NU64 x_1;
|
|
|
|
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
x_1 = next__uKPilSLGUBbsncNO5ljzag(r);
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
{
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
if (!((NU64)(x_1) <= (NU64)((NU64)((NU64)(18446744073709551615ULL) - (NU64)((NU64)((NU64)(18446744073709551615ULL) % (NU64)(((NU64) (max))))))))) goto LA9_;
|
|
|
|
|
|
|
|
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
if ((NI64)((NU64)((NU64)(x_1) % (NU64)((NU64)((NU64)(((NU64) (max))) + (NU64)(1ULL))))) < ((NI) (IL64(-9223372036854775807) - IL64(1))) || (NI64)((NU64)((NU64)(x_1) % (NU64)((NU64)((NU64)(((NU64) (max))) + (NU64)(1ULL))))) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NU64)((NU64)(x_1) % (NU64)((NU64)((NU64)(((NU64) (max))) + (NU64)(1ULL)))), ((NI) (IL64(-9223372036854775807) - IL64(1))), ((NI) IL64(9223372036854775807))); } result = ((NI) ((NU64)((NU64)(x_1) % (NU64)((NU64)((NU64)(((NU64) (max))) + (NU64)(1ULL)))))); goto BeforeRet_;
|
|
|
|
}
|
|
|
|
LA9_: ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}BeforeRet_: ;
|
|
|
|
return result;}
|
|
|
|
|
2021-02-22 18:04:54 +00:00
|
|
|
#line 253 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NI, rand__v7jZDEs4VOsrcpvk0yo8Rg)(NI max) { NI result; result = (NI)0;
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
if ((max) < ((NI) 0) || (max) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(max, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
result = rand__SN9aVN0MBPaaBWhJdtZLhNA((&state__4atHrcHUZPts5LqH9bzbl0w), ((NI) (max))); return result;}
|
|
|
|
|
2021-02-12 20:27:55 +00:00
|
|
|
#line 595 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, shuffle__okICJB7yyEczQCSYXVlJiQ)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ** x_0, NI x_0Len_0) { { NI i; NI colontmp_; NI res; i = (NI)0; colontmp_ = (NI)0;
|
|
|
|
#line 606 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 606 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
colontmp_ = (x_0Len_0-1);
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
|
|
res = colontmp_; {
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
|
|
while (1) { NI j; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T4_; NI TM__AIKkgex03Z1j45JceakCTA_8;
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
|
|
if (!(((NI) 1) <= res)) goto LA3;
|
|
|
|
|
|
|
|
#line 606 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
i = res;
|
|
|
|
#line 607 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
if ((i) < ((NI) 0) || (i) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(i, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
|
|
#line 607 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
j = rand__SN9aVN0MBPaaBWhJdtZLhNA(r, ((NI) (i)));
|
|
|
|
#line 608 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
T4_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; if ((NU)(i) >= (NU)(x_0Len_0)){ raiseIndexError2(i,x_0Len_0-1); } if ((NU)(j) >= (NU)(x_0Len_0)){ raiseIndexError2(j,x_0Len_0-1); } T4_ = x_0[i]; unsureAsgnRef((void**) (&x_0[i]), x_0[j]); unsureAsgnRef((void**) (&x_0[j]), T4_);
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
|
|
if (nimSubInt(res, ((NI) 1), &TM__AIKkgex03Z1j45JceakCTA_8)) { raiseOverflow(); }; res = (NI)(TM__AIKkgex03Z1j45JceakCTA_8); } LA3: ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 610 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, shuffle__qTQOUd1teUtnaAiEsB5gjQ)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ** x_0, NI x_0Len_0) {
|
|
|
|
#line 626 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 626 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
shuffle__okICJB7yyEczQCSYXVlJiQ((&state__4atHrcHUZPts5LqH9bzbl0w), x_0, x_0Len_0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 595 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, shuffle__xZRKNe6YzIK3ZR2f11OUGQ)(tyObject_Rand__liBKmwv1H6v7oYBhDFHa6A* r, tyObject_PubSubPeercolonObjectType___6rsvBHOjeRkx0KPoUqsmsw** x_0, NI x_0Len_0) { { NI i; NI colontmp_; NI res; i = (NI)0; colontmp_ = (NI)0;
|
|
|
|
#line 606 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 606 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
colontmp_ = (x_0Len_0-1);
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
|
|
res = colontmp_; {
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
|
|
while (1) { NI j; tyObject_PubSubPeercolonObjectType___6rsvBHOjeRkx0KPoUqsmsw* T4_; NI TM__AIKkgex03Z1j45JceakCTA_9;
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
|
|
if (!(((NI) 1) <= res)) goto LA3;
|
|
|
|
|
|
|
|
#line 606 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
i = res;
|
|
|
|
#line 607 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
if ((i) < ((NI) 0) || (i) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(i, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
|
|
#line 607 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
j = rand__SN9aVN0MBPaaBWhJdtZLhNA(r, ((NI) (i)));
|
|
|
|
#line 608 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
T4_ = (tyObject_PubSubPeercolonObjectType___6rsvBHOjeRkx0KPoUqsmsw*)0; if ((NU)(i) >= (NU)(x_0Len_0)){ raiseIndexError2(i,x_0Len_0-1); } if ((NU)(j) >= (NU)(x_0Len_0)){ raiseIndexError2(j,x_0Len_0-1); } T4_ = x_0[i]; unsureAsgnRef((void**) (&x_0[i]), x_0[j]); unsureAsgnRef((void**) (&x_0[j]), T4_);
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
|
|
if (nimSubInt(res, ((NI) 1), &TM__AIKkgex03Z1j45JceakCTA_9)) { raiseOverflow(); }; res = (NI)(TM__AIKkgex03Z1j45JceakCTA_9); } LA3: ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 610 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, shuffle__Yos9cVlDRkzYbec5E9bHYojA)(tyObject_PubSubPeercolonObjectType___6rsvBHOjeRkx0KPoUqsmsw** x_0, NI x_0Len_0) {
|
|
|
|
#line 626 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
|
|
|
|
#line 626 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/random.nim"
|
|
|
|
shuffle__xZRKNe6YzIK3ZR2f11OUGQ((&state__4atHrcHUZPts5LqH9bzbl0w), x_0, x_0Len_0);
|
|
|
|
}
|