mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-27 07:06:42 +00:00
252 lines
17 KiB
C
252 lines
17 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-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-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/waku/common -o nimcache/release/wakubridge/@m..@s..@svendor@snim-libp2p@slibp2p@sutility.nim.c.o nimcache/release/wakubridge/@m..@s..@svendor@snim-libp2p@slibp2p@sutility.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 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
|
|
struct TGenericSeq {NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a;
|
|
NI b;
|
|
};
|
|
static N_INLINE(NimStringDesc*, toHex__19cqtdsadv8K0DQ9cF6PPp8Qbyteutils)(NU8* ba, NI baLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toHexAux__mTF3iGytPXR76nCDQ9aqz9cw)(NU8* ba, NI baLen_0);
|
|
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError)(void);
|
|
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_NOINLINE(void, raiseOverflow)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
|
|
static N_INLINE(NimStringDesc*, X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem)(NimStringDesc* s_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0);
|
|
N_NIMCALL(NimStringDesc*, mnewString)(NI len);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b);
|
|
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_NOINLINE(void, chckNil)(void* p);
|
|
STRING_LITERAL(TM__7mXLdGHcOyo35NkxNWLHUA_2, "...", 3);
|
|
|
|
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
|
|
static N_INLINE(NimStringDesc*, toHex__19cqtdsadv8K0DQ9cF6PPp8Qbyteutils)(NU8* ba, NI baLen_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
|
|
|
|
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
|
|
|
|
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
|
|
result = toHexAux__mTF3iGytPXR76nCDQ9aqz9cw(ba, baLen_0); return result;}
|
|
|
|
#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 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, shortLog__t8DD2nZSoPvV28s0XouGjw)(NU8* item, NI itemLen_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
{
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
if (!(itemLen_0 <= ((NI) 12))) goto LA3_;
|
|
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
result = toHex__19cqtdsadv8K0DQ9cF6PPp8Qbyteutils(item, itemLen_0); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ NimStringDesc* T6_; NI TM__7mXLdGHcOyo35NkxNWLHUA_3; NimStringDesc* T7_;
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
result = rawNewString(((NI) 27));
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
if (((NI) 5)-((NI) 0) != -1 && ((NU)(((NI) 0)) >= (NU)(itemLen_0) || (NU)(((NI) 5)) >= (NU)(itemLen_0))){ raiseIndexError(); }
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
T6_ = (NimStringDesc*)0; T6_ = toHex__19cqtdsadv8K0DQ9cF6PPp8Qbyteutils((NU8*)(item)+(((NI) 0)), (((NI) 5))-(((NI) 0))+1); result = resizeString(result, (T6_ ? T6_->Sup.len : 0) + 0);appendString(result, T6_);
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
result = resizeString(result, 3);appendString(result, ((NimStringDesc*) &TM__7mXLdGHcOyo35NkxNWLHUA_2));
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
if (nimSubInt(itemLen_0, ((NI) 6), &TM__7mXLdGHcOyo35NkxNWLHUA_3)) { raiseOverflow(); };
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
if ((itemLen_0-1)-(NI)(TM__7mXLdGHcOyo35NkxNWLHUA_3) != -1 && ((NU)((NI)(TM__7mXLdGHcOyo35NkxNWLHUA_3)) >= (NU)(itemLen_0) || (NU)((itemLen_0-1)) >= (NU)(itemLen_0))){ raiseIndexError(); }
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
T7_ = (NimStringDesc*)0; T7_ = toHex__19cqtdsadv8K0DQ9cF6PPp8Qbyteutils((NU8*)(item)+((NI)(TM__7mXLdGHcOyo35NkxNWLHUA_3)), ((itemLen_0-1))-((NI)(TM__7mXLdGHcOyo35NkxNWLHUA_3))+1); result = resizeString(result, (T7_ ? T7_->Sup.len : 0) + 0);appendString(result, T7_); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 2429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(NimStringDesc*, X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem)(NimStringDesc* s_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0) { NimStringDesc* result; NI a; NI L; NI TM__7mXLdGHcOyo35NkxNWLHUA_4; NI TM__7mXLdGHcOyo35NkxNWLHUA_5; result = (NimStringDesc*)0;
|
|
#line 2436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
a = x_0.a;
|
|
#line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
if (nimSubInt(x_0.b, a, &TM__7mXLdGHcOyo35NkxNWLHUA_4)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__7mXLdGHcOyo35NkxNWLHUA_4), ((NI) 1), &TM__7mXLdGHcOyo35NkxNWLHUA_5)) { raiseOverflow(); }; L = (NI)(TM__7mXLdGHcOyo35NkxNWLHUA_5);
|
|
#line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
if ((L) < ((NI) 0) || (L) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(L, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
result = mnewString(((NI) (L))); { NI i; NI i_2; i = (NI)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
i_2 = ((NI) 0); {
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NI TM__7mXLdGHcOyo35NkxNWLHUA_6; NI TM__7mXLdGHcOyo35NkxNWLHUA_7;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_2 < L)) goto LA3;
|
|
|
|
#line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
i = i_2; if ((NU)(i) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(i,(result ? result->Sup.len : 0)-1); }
|
|
#line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
if (nimAddInt(i, a, &TM__7mXLdGHcOyo35NkxNWLHUA_6)) { raiseOverflow(); }; if ((NU)((NI)(TM__7mXLdGHcOyo35NkxNWLHUA_6)) >= (NU)(s_0 ? s_0->Sup.len : 0)){ raiseIndexError2((NI)(TM__7mXLdGHcOyo35NkxNWLHUA_6),(s_0 ? s_0->Sup.len : 0)-1); } result->data[i] = s_0->data[(NI)(TM__7mXLdGHcOyo35NkxNWLHUA_6)];
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__7mXLdGHcOyo35NkxNWLHUA_7)) { raiseOverflow(); }; i_2 = (NI)(TM__7mXLdGHcOyo35NkxNWLHUA_7); } LA3: ;
|
|
}
|
|
}
|
|
return result;}
|
|
|
|
#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 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result; nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
|
|
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); result.a = a; result.b = b; return result;}
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, shortLog__0Y4NmOIT7kYWI41AYmQx9cA)(NimStringDesc* item) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
{
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
if (!((item ? item->Sup.len : 0) <= ((NI) 12))) goto LA3_;
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
result = copyString(item); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T6_; NimStringDesc* T7_; NI TM__7mXLdGHcOyo35NkxNWLHUA_8; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T8_; NimStringDesc* T9_;
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
result = rawNewString(((NI) 15));
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
T6_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), ((NI) 5));
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
T7_ = (NimStringDesc*)0; T7_ = X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem(item, T6_); result = resizeString(result, (T7_ ? T7_->Sup.len : 0) + 0);appendString(result, T7_);
|
|
#line 37 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
result = resizeString(result, 3);appendString(result, ((NimStringDesc*) &TM__7mXLdGHcOyo35NkxNWLHUA_2));
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
if (nimSubInt((item ? item->Sup.len : 0), ((NI) 6), &TM__7mXLdGHcOyo35NkxNWLHUA_8)) { raiseOverflow(); };
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
T8_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem((NI)(TM__7mXLdGHcOyo35NkxNWLHUA_8), ((item ? item->Sup.len : 0)-1));
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/utility.nim"
|
|
T9_ = (NimStringDesc*)0; T9_ = X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem(item, T8_); result = resizeString(result, (T9_ ? T9_->Sup.len : 0) + 0);appendString(result, T9_); }
|
|
LA1_: ;
|
|
return result;}
|