mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-28 23:55:43 +00:00
325 lines
20 KiB
C
325 lines
20 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/stdlib_oids.nim.c.o nimcache/release/wakubridge/stdlib_oids.nim.c */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#include <stdlib.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_Time__3y2ZpqsTJLqdZvpC9a0rU2Q tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q;
|
|
typedef struct tyObject_Oid__v0fX7UzOqz7toHgI0d87SA tyObject_Oid__v0fX7UzOqz7toHgI0d87SA;
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
struct tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q {NI64 seconds;
|
|
NI nanosecond;
|
|
};
|
|
struct tyObject_Oid__v0fX7UzOqz7toHgI0d87SA {NI32 time;
|
|
NI32 fuzz;
|
|
NI32 count;
|
|
};
|
|
struct TGenericSeq {NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
|
|
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
|
|
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
|
|
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
|
|
struct TNimType {NI size;
|
|
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
|
|
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
|
|
TNimType* base;
|
|
TNimNode* node;
|
|
void* finalizer;
|
|
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
|
|
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
|
|
NCSTRING name;
|
|
TNimType* nextType;
|
|
NI instances;
|
|
NI sizes;
|
|
};
|
|
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
|
|
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
|
|
NI offset;
|
|
TNimType* typ;
|
|
NCSTRING name;
|
|
NI len;
|
|
TNimNode** sons;
|
|
};
|
|
N_LIB_PRIVATE N_NIMCALL(NI64, toUnix__mXmxlr1pBpariZiJTjytHg)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q t);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, getTime__h20mpqrwsumk6J9bRdCm6IQ)(void);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
|
|
static N_INLINE(NI, atomicInc__v6qORsZ9azlHHhOL1JYACRAsystem)(NI* memLoc, NI x);
|
|
static N_INLINE(void, bigEndian32__Y7K2twSvEFXjEQtANWmrhgendians)(void* outp, void* inp);
|
|
static N_INLINE(void, swapEndian32__Y7K2twSvEFXjEQtANWmrhg_2endians)(void* outp, void* inp);
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
|
|
N_NIMCALL(NimStringDesc*, mnewString)(NI len);
|
|
N_LIB_PRIVATE N_NIMCALL(void, oidToString__YOHksgI9aJsB5hQI6ftjQig)(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA oid_0, NCSTRING str);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s);
|
|
STRING_LITERAL(TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3, "0123456789abcdef", 16);
|
|
N_LIB_PRIVATE TNimType NTI__v0fX7UzOqz7toHgI0d87SA_;
|
|
extern TNimType NTI__sVg18TP9cLifHyygRe9cro9aA_;
|
|
N_LIB_PRIVATE NI32 t__OfX9bNqmzK3priyVw7q8xEg;
|
|
N_LIB_PRIVATE NI incr__uxzATGLVK9aAfCz88FkdO0g;
|
|
N_LIB_PRIVATE NI32 fuzz__8VX8F8ZpvRGTMF7N4xU39cg;
|
|
extern TNimType* nimTypeRoot;
|
|
|
|
#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 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/atomics.nim"
|
|
static N_INLINE(NI, atomicInc__v6qORsZ9azlHHhOL1JYACRAsystem)(NI* memLoc, NI x) { NI result; result = (NI)0;
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/atomics.nim"
|
|
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/atomics.nim"
|
|
result = __atomic_add_fetch(memLoc, x, __ATOMIC_RELAXED); 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 61 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
static N_INLINE(void, swapEndian32__Y7K2twSvEFXjEQtANWmrhg_2endians)(void* outp, void* inp) { NU32 tmpX60gensym120355031_; tmpX60gensym120355031_ = (NU32)0;
|
|
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
|
|
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&tmpX60gensym120355031_))), inp, ((NI) 4));
|
|
|
|
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
|
|
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
tmpX60gensym120355031_ = __builtin_bswap32(tmpX60gensym120355031_);
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(outp, ((void*) ((&tmpX60gensym120355031_))), ((NI) 4));
|
|
}
|
|
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
static N_INLINE(void, bigEndian32__Y7K2twSvEFXjEQtANWmrhgendians)(void* outp, void* inp) {
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/endians.nim"
|
|
swapEndian32__Y7K2twSvEFXjEQtANWmrhg_2endians(outp, inp);
|
|
}
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA, genOid__KT3CJwlhspTNJo2e9a8luFA)(void) { tyObject_Oid__v0fX7UzOqz7toHgI0d87SA result; tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q T1_; NI64 T2_; NI32 i; NI T3_; nimZeroMem((void*)(&result), sizeof(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
T1_ = getTime__h20mpqrwsumk6J9bRdCm6IQ();
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
T2_ = (NI64)0; T2_ = toUnix__mXmxlr1pBpariZiJTjytHg(T1_); if ((T2_) < ((NI32) (-2147483647 -1)) || (T2_) > ((NI32) 2147483647)){ raiseRangeErrorI(T2_, ((NI32) (-2147483647 -1)), ((NI32) 2147483647)); } t__OfX9bNqmzK3priyVw7q8xEg = ((NI32) (T2_));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
T3_ = (NI)0; T3_ = atomicInc__v6qORsZ9azlHHhOL1JYACRAsystem((&incr__uxzATGLVK9aAfCz88FkdO0g), ((NI) 1)); if ((T3_) < ((NI32) (-2147483647 -1)) || (T3_) > ((NI32) 2147483647)){ raiseRangeErrorI(T3_, ((NI32) (-2147483647 -1)), ((NI32) 2147483647)); } i = ((NI32) (T3_));
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
bigEndian32__Y7K2twSvEFXjEQtANWmrhgendians(((void*) ((&result.time))), ((void*) ((&t__OfX9bNqmzK3priyVw7q8xEg))));
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
result.fuzz = fuzz__8VX8F8ZpvRGTMF7N4xU39cg;
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
bigEndian32__Y7K2twSvEFXjEQtANWmrhgendians(((void*) ((&result.count))), ((void*) ((&i))));
|
|
return result;}
|
|
|
|
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, oidToString__YOHksgI9aJsB5hQI6ftjQig)(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA oid_0, NCSTRING str) { NCSTRING str_2; tyObject_Oid__v0fX7UzOqz7toHgI0d87SA o; NCSTRING bytes; NI i;
|
|
#line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
str_2 = str;
|
|
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
o = oid_0;
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
bytes = ((NCSTRING) ((&o)));
|
|
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
i = ((NI) 0); {
|
|
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
while (1) { NI b; NI TM__UTnk8gn1Oi9cBJSIU9cQGLMA_2; NI TM__UTnk8gn1Oi9cBJSIU9cQGLMA_4; NI TM__UTnk8gn1Oi9cBJSIU9cQGLMA_5; NI TM__UTnk8gn1Oi9cBJSIU9cQGLMA_6;
|
|
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
if (!(i < ((NI) 12))) goto LA2;
|
|
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
b = ((NU8)(bytes[i]));
|
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
if (nimMulInt(((NI) 2), i, &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_2)) { raiseOverflow(); };
|
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
if ((NU)((NI)((NI64)((NI)(b & ((NI) 240))) >> (NU64)(((NI) 4)))) >= (NU)(((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3) ? ((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3)->Sup.len : 0)){ raiseIndexError2((NI)((NI64)((NI)(b & ((NI) 240))) >> (NU64)(((NI) 4))),(((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3) ? ((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3)->Sup.len : 0)-1); } str_2[(NI)(TM__UTnk8gn1Oi9cBJSIU9cQGLMA_2)] = ((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3)->data[(NI)((NI64)((NI)(b & ((NI) 240))) >> (NU64)(((NI) 4)))];
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
if (nimMulInt(((NI) 2), i, &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_4)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__UTnk8gn1Oi9cBJSIU9cQGLMA_4), ((NI) 1), &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_5)) { raiseOverflow(); };
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
if ((NU)((NI)(b & ((NI) 15))) >= (NU)(((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3) ? ((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3)->Sup.len : 0)){ raiseIndexError2((NI)(b & ((NI) 15)),(((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3) ? ((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3)->Sup.len : 0)-1); } str_2[(NI)(TM__UTnk8gn1Oi9cBJSIU9cQGLMA_5)] = ((NimStringDesc*) &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_3)->data[(NI)(b & ((NI) 15))];
|
|
#line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_6)) { raiseOverflow(); }; i = (NI)(TM__UTnk8gn1Oi9cBJSIU9cQGLMA_6); } LA2: ;
|
|
}
|
|
|
|
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
str_2[((NI) 24)] = 0;}
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s) { NCSTRING result; result = (NCSTRING)0;
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
T3_ = (NIM_BOOL)0;
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
T3_ = (s == NIM_NIL); if (T3_) goto LA4_;
|
|
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
T3_ = ((*s).Sup.len == ((NI) 0)); LA4_: ;
|
|
if (!T3_) goto LA5_;
|
|
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
result = ""; }
|
|
goto LA1_;
|
|
LA5_: ;
|
|
{
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
result = ((NCSTRING) ((*s).data)); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___39cF9bFahdYMwI55nfkiIPqA)(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA oid_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
result = mnewString(((NI) 24));
|
|
#line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
oidToString__YOHksgI9aJsB5hQI6ftjQig(oid_0, nimToCStringConv(result));
|
|
return result;}
|
|
N_LIB_PRIVATE N_NIMCALL(void, stdlib_oidsInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
{
|
|
tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q T1_; NI64 T2_; int T3_;
|
|
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
T1_ = getTime__h20mpqrwsumk6J9bRdCm6IQ();
|
|
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
T2_ = (NI64)0; T2_ = toUnix__mXmxlr1pBpariZiJTjytHg(T1_); if ((T2_) < ((NI32) (-2147483647 -1)) || (T2_) > ((NI32) 2147483647)){ raiseRangeErrorI(T2_, ((NI32) (-2147483647 -1)), ((NI32) 2147483647)); } t__OfX9bNqmzK3priyVw7q8xEg = ((NI32) (T2_));
|
|
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
srand(t__OfX9bNqmzK3priyVw7q8xEg);
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
T3_ = (int)0; T3_ = rand(); incr__uxzATGLVK9aAfCz88FkdO0g = ((NI) (T3_));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/oids.nim"
|
|
fuzz__8VX8F8ZpvRGTMF7N4xU39cg = rand();}
|
|
}
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, stdlib_oidsDatInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
static TNimNode* TM__UTnk8gn1Oi9cBJSIU9cQGLMA_7_3[3];
|
|
static TNimNode TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[4];NTI__v0fX7UzOqz7toHgI0d87SA_.size = sizeof(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA);
|
|
NTI__v0fX7UzOqz7toHgI0d87SA_.kind = 18;
|
|
NTI__v0fX7UzOqz7toHgI0d87SA_.base = 0;
|
|
NTI__v0fX7UzOqz7toHgI0d87SA_.flags = 3;
|
|
NTI__v0fX7UzOqz7toHgI0d87SA_.name = "Oid";
|
|
NTI__v0fX7UzOqz7toHgI0d87SA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__v0fX7UzOqz7toHgI0d87SA_;
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_7_3[0] = &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[1];
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[1].kind = 1;
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[1].offset = offsetof(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA, time);
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[1].typ = (&NTI__sVg18TP9cLifHyygRe9cro9aA_);
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[1].name = "time";
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_7_3[1] = &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[2];
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[2].kind = 1;
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[2].offset = offsetof(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA, fuzz);
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[2].typ = (&NTI__sVg18TP9cLifHyygRe9cro9aA_);
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[2].name = "fuzz";
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_7_3[2] = &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[3];
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[3].kind = 1;
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[3].offset = offsetof(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA, count);
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[3].typ = (&NTI__sVg18TP9cLifHyygRe9cro9aA_);
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[3].name = "count";
|
|
TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[0].len = 3; TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[0].kind = 2; TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[0].sons = &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_7_3[0];
|
|
NTI__v0fX7UzOqz7toHgI0d87SA_.node = &TM__UTnk8gn1Oi9cBJSIU9cQGLMA_0[0];
|
|
}
|
|
|