mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-15 01:14:56 +00:00
445 lines
29 KiB
C
445 lines
29 KiB
C
/* 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:
|
|
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-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-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 -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/waku/v1/node -o nimcache/release/quicksim/stdlib_dollars.nim.c.o nimcache/release/quicksim/stdlib_dollars.nim.c */
|
|
#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 NimStringDesc NimStringDesc;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
|
|
typedef struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw tyObject_MDigest__law9ct65KplMYBvtmjCQxbw;
|
|
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
|
|
struct TGenericSeq {NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
|
|
struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
};
|
|
typedef NU8 tyArray__qtqsWM5aXmcpMIVmvq3kAA[16];
|
|
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__dJtt8Xj30kt9bCQK1n8AO9cw)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
|
|
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
|
|
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__45fPtFhY4FavRaYwDhRfuA)(NimStringDesc** s, NimStringDesc* x);
|
|
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__L0KBNsWGoBye8npx8ZehWw)(NimStringDesc** x_0, NI x_0Len_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix);
|
|
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__Q9alnN0MJw9cIpoKdHQuHB9aQ)(NimStringDesc** s, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg x_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__IUXdwCV6T9aiNGHHTZDNYNQ)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg x_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix);
|
|
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__lV2Q9bu0pKS0oR9bt9cAeZLXg)(NimStringDesc** s, NU8 x_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__1qu32nHk9aIChhFEa9aJ0ePg)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* x_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__fYRUklu4EBWTOn44bfbBcQ)(tyArray__qtqsWM5aXmcpMIVmvq3kAA x_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_2, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
"vendor/Nim/lib/system/iterators.nim(189, 11) `len(a) == L` the l"
|
|
"ength of the seq changed while iterating over it", 175);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_3, "@[", 2);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_4, ", ", 2);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_5, "]", 1);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_6, "[", 1);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_7, "(", 1);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_8, "data", 4);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_9, ": ", 2);
|
|
STRING_LITERAL(TM__n49a9aYp5BrbXv9a6OCpJYm0g_10, ")", 1);
|
|
|
|
#line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_;
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));}
|
|
|
|
#line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
|
|
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
nimCopyMem(dest, source, size);
|
|
}
|
|
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
{
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
if (!!((src == NIM_NIL))) goto LA3_;
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
|
|
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
(*dest).Sup.len += (*src).Sup.len; }
|
|
LA3_: ;
|
|
}
|
|
|
|
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__dJtt8Xj30kt9bCQK1n8AO9cw)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix) { NimStringDesc* result; NIM_BOOL firstElement; result = (NimStringDesc*)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = copyString(prefix);
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_TRUE; { NimStringDesc* value_1; NI i; NI L; NI T2_; value_1 = (NimStringDesc*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T2_ = (x_0 ? x_0->Sup.len : 0); L = T2_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA4;
|
|
|
|
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
value_1 = x_0->data[i];
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
{ if (!firstElement) goto LA7_;
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_FALSE; }
|
|
goto LA5_;
|
|
LA7_: ;
|
|
{
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (separator ? separator->Sup.len : 0) + 0);appendString(result, separator); }
|
|
LA5_: ;
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
addQuoted__45fPtFhY4FavRaYwDhRfuA((&result), value_1);
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i += ((NI) 1);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T12_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T12_ = (x_0 ? x_0->Sup.len : 0); if (!!((T12_ == L))) goto LA13_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_2));
|
|
}
|
|
LA13_: ;
|
|
} LA4: ;
|
|
}
|
|
}
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (suffix ? suffix->Sup.len : 0) + 0);appendString(result, suffix); return result;}
|
|
|
|
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___xqL1qTIQGkhdyM4F59c1P9aw)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = collectionToString__dJtt8Xj30kt9bCQK1n8AO9cw(x_0, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_3), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_4), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_5)); return result;}
|
|
|
|
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__L0KBNsWGoBye8npx8ZehWw)(NimStringDesc** x_0, NI x_0Len_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix) { NimStringDesc* result; NIM_BOOL firstElement; result = (NimStringDesc*)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = copyString(prefix);
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_TRUE; { NimStringDesc* value_1; NI i; value_1 = (NimStringDesc*)0;
|
|
#line 3 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0); {
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) {
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < x_0Len_0)) goto LA3;
|
|
|
|
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
value_1 = x_0[i];
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
{ if (!firstElement) goto LA6_;
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_FALSE; }
|
|
goto LA4_;
|
|
LA6_: ;
|
|
{
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (separator ? separator->Sup.len : 0) + 0);appendString(result, separator); }
|
|
LA4_: ;
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
addQuoted__45fPtFhY4FavRaYwDhRfuA((&result), value_1);
|
|
|
|
#line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i += ((NI) 1); } LA3: ;
|
|
}
|
|
}
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (suffix ? suffix->Sup.len : 0) + 0);appendString(result, suffix); return result;}
|
|
|
|
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___KSooXBZnYft5L9cGgXYN9bxA)(NimStringDesc** x_0, NI x_0Len_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 162 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 162 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = collectionToString__L0KBNsWGoBye8npx8ZehWw(x_0, x_0Len_0, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_6), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_4), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_5)); return result;}
|
|
|
|
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__IUXdwCV6T9aiNGHHTZDNYNQ)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg x_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix) { NimStringDesc* result; NIM_BOOL firstElement; result = (NimStringDesc*)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = copyString(prefix);
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_TRUE; { NU8 value_1; NI i; value_1 = (NU8)0;
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) (i)) <= ((NI) 31))) goto LA4_;
|
|
{
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) {
|
|
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
value_1 = x_0[(i)- 0];
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
{ if (!firstElement) goto LA10_;
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_FALSE; }
|
|
goto LA8_;
|
|
LA10_: ;
|
|
{
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (separator ? separator->Sup.len : 0) + 0);appendString(result, separator); }
|
|
LA8_: ;
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
addQuoted__lV2Q9bu0pKS0oR9bt9cAeZLXg((&result), value_1);
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) 31) <= ((NI) (i)))) goto LA15_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
goto LA6;
|
|
}
|
|
LA15_: ;
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i += ((NI) 1); }
|
|
} LA6: ;
|
|
}
|
|
LA4_: ;
|
|
}
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (suffix ? suffix->Sup.len : 0) + 0);appendString(result, suffix); return result;}
|
|
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___NYAXR1iLTq7F7vRVaBPtjw)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg x_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = collectionToString__IUXdwCV6T9aiNGHHTZDNYNQ(x_0, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_6), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_4), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_5)); return result;}
|
|
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___S6X4D8P9ca6mLekV55zgeoQ)(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw* x_0) { NimStringDesc* result; NIM_BOOL firstElement; result = (NimStringDesc*)0;
|
|
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = copyString(((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_7));
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_TRUE;
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
{
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
if (!!(firstElement)) goto LA3_;
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, 2);appendString(result, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_4)); }
|
|
LA3_: ;
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, 4);appendString(result, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_8));
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, 2);appendString(result, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_9));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
addQuoted__Q9alnN0MJw9cIpoKdHQuHB9aQ((&result), (*x_0).data);
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_FALSE;
|
|
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, 1);appendString(result, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_10)); return result;}
|
|
|
|
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__1qu32nHk9aIChhFEa9aJ0ePg)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* x_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix) { NimStringDesc* result; NIM_BOOL firstElement; result = (NimStringDesc*)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = copyString(prefix);
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_TRUE; { NU8 value_1; NI i; NI L; NI T2_; value_1 = (NU8)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T2_ = (x_0 ? x_0->Sup.len : 0); L = T2_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA4;
|
|
|
|
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
value_1 = x_0->data[i];
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
{ if (!firstElement) goto LA7_;
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_FALSE; }
|
|
goto LA5_;
|
|
LA7_: ;
|
|
{
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (separator ? separator->Sup.len : 0) + 0);appendString(result, separator); }
|
|
LA5_: ;
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
addQuoted__lV2Q9bu0pKS0oR9bt9cAeZLXg((&result), value_1);
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i += ((NI) 1);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T12_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T12_ = (x_0 ? x_0->Sup.len : 0); if (!!((T12_ == L))) goto LA13_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_2));
|
|
}
|
|
LA13_: ;
|
|
} LA4: ;
|
|
}
|
|
}
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (suffix ? suffix->Sup.len : 0) + 0);appendString(result, suffix); return result;}
|
|
|
|
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___zMVAqVKur1IdGuBDQciPBg)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* x_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = collectionToString__1qu32nHk9aIChhFEa9aJ0ePg(x_0, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_3), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_4), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_5)); return result;}
|
|
|
|
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString__fYRUklu4EBWTOn44bfbBcQ)(tyArray__qtqsWM5aXmcpMIVmvq3kAA x_0, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix) { NimStringDesc* result; NIM_BOOL firstElement; result = (NimStringDesc*)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = copyString(prefix);
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_TRUE; { NU8 value_1; NI i; value_1 = (NU8)0;
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) (i)) <= ((NI) 15))) goto LA4_;
|
|
{
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) {
|
|
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
value_1 = x_0[(i)- 0];
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
{ if (!firstElement) goto LA10_;
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
firstElement = NIM_FALSE; }
|
|
goto LA8_;
|
|
LA10_: ;
|
|
{
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (separator ? separator->Sup.len : 0) + 0);appendString(result, separator); }
|
|
LA8_: ;
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
addQuoted__lV2Q9bu0pKS0oR9bt9cAeZLXg((&result), value_1);
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) 15) <= ((NI) (i)))) goto LA15_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
goto LA6;
|
|
}
|
|
LA15_: ;
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i += ((NI) 1); }
|
|
} LA6: ;
|
|
}
|
|
LA4_: ;
|
|
}
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = resizeString(result, (suffix ? suffix->Sup.len : 0) + 0);appendString(result, suffix); return result;}
|
|
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___fw2jhk51MbGM3LyJX1QZGw)(tyArray__qtqsWM5aXmcpMIVmvq3kAA x_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
|
|
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim"
|
|
result = collectionToString__fYRUklu4EBWTOn44bfbBcQ(x_0, ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_6), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_4), ((NimStringDesc*) &TM__n49a9aYp5BrbXv9a6OCpJYm0g_5)); return result;}
|