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-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/certs -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..@sv2@sutils@speers.nim.c.o nimcache/release/wakubridge/@m..@sv2@sutils@speers.nim.c */
|
2021-02-12 20:27:55 +00:00
|
|
|
#define NIM_INTBITS 64
|
|
|
|
|
|
|
|
#include "nimbase.h"
|
|
|
|
#include <string.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <pthread.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_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw;
|
|
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
|
|
typedef struct tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw;
|
|
|
|
typedef struct tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA;
|
|
|
|
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
|
|
|
|
typedef struct tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw;
|
|
|
|
typedef struct TNimType TNimType;
|
|
|
|
typedef struct TNimNode TNimNode;
|
|
|
|
typedef struct tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q;
|
|
|
|
typedef struct tySequence__I9bdvIWtLu6lWiZfMzRFn7g tySequence__I9bdvIWtLu6lWiZfMzRFn7g;
|
|
|
|
typedef struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw;
|
|
|
|
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
|
|
|
|
typedef struct Exception Exception;
|
|
|
|
typedef struct RootObj RootObj;
|
|
|
|
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
|
|
|
|
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
|
|
|
|
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
|
|
|
|
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
|
|
|
|
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
|
|
|
|
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
|
|
|
|
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
|
|
|
|
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
|
|
|
|
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
|
|
|
|
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
|
|
|
|
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
|
|
|
|
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
|
|
|
|
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
|
|
|
|
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
|
|
|
|
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
|
|
|
|
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
|
|
|
|
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
|
|
|
|
typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw;
|
|
|
|
typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg;
|
|
|
|
typedef struct tyObject_Result__boRRpVtZiavTOVxdbLbJiQ tyObject_Result__boRRpVtZiavTOVxdbLbJiQ;
|
|
|
|
typedef struct tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw;
|
|
|
|
typedef struct tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A;
|
|
|
|
typedef struct tyObject_Table__QB9arfyJHv7leGMqe0PZPbg tyObject_Table__QB9arfyJHv7leGMqe0PZPbg;
|
|
|
|
typedef struct tySequence__zErRN2SzhLehkt3ZQ6iUGw tySequence__zErRN2SzhLehkt3ZQ6iUGw;
|
|
|
|
typedef struct tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ;
|
|
|
|
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
|
|
|
|
typedef struct tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw;
|
|
|
|
typedef struct tySequence__pJDjdGjSf3HlAOELaHOmSA tySequence__pJDjdGjSf3HlAOELaHOmSA;
|
|
|
|
typedef struct tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ;
|
|
|
|
typedef struct tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw;
|
|
|
|
typedef struct tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA;
|
|
|
|
typedef struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w;
|
|
|
|
typedef struct tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA;
|
|
|
|
typedef struct tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg;
|
|
|
|
typedef struct tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA;
|
|
|
|
typedef struct tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg;
|
|
|
|
typedef struct tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA;
|
|
|
|
typedef struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA;
|
|
|
|
typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ;
|
|
|
|
typedef struct tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q;
|
|
|
|
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
|
|
|
|
struct TGenericSeq {NI len;
|
|
|
|
NI reserved;
|
|
|
|
};
|
|
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
|
|
};
|
|
|
|
struct tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer;
|
|
|
|
NI offset;
|
|
|
|
};
|
|
|
|
struct tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw {tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA data;
|
|
|
|
};
|
|
|
|
struct tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw {NIM_BOOL o;
|
|
|
|
union{
|
|
|
|
struct {NimStringDesc* e;
|
|
|
|
} _o_1;
|
|
|
|
struct {tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw v;
|
|
|
|
} _o_2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
typedef NU8 tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA;
|
|
|
|
struct tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q {tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA operator_0;
|
|
|
|
tySequence__I9bdvIWtLu6lWiZfMzRFn7g* args;
|
|
|
|
NI value;
|
|
|
|
};
|
|
|
|
struct RootObj {TNimType* m_type;};
|
|
|
|
struct Exception { RootObj Sup;Exception* parent;
|
|
|
|
NCSTRING name;
|
|
|
|
NimStringDesc* message;
|
|
|
|
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
|
|
|
|
Exception* up;
|
|
|
|
};
|
|
|
|
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
|
|
|
|
struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
|
|
|
|
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount;
|
|
|
|
TNimType* typ;
|
|
|
|
};
|
|
|
|
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom;
|
|
|
|
};
|
|
|
|
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len;
|
|
|
|
NI cap;
|
|
|
|
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
|
|
|
|
};
|
|
|
|
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
|
|
|
|
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
|
|
|
|
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
|
|
|
|
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
|
|
|
|
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
|
|
|
|
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
|
|
|
|
};
|
|
|
|
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
|
|
|
|
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link;
|
|
|
|
NI key;
|
|
|
|
NI upperBound;
|
|
|
|
NI level;
|
|
|
|
};
|
|
|
|
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
|
|
|
|
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
|
|
|
|
NI Field1;
|
|
|
|
};
|
|
|
|
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
|
|
|
|
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len;
|
|
|
|
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
|
|
|
|
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
|
|
|
|
};
|
|
|
|
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj;
|
|
|
|
NI maxLargeObj;
|
|
|
|
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
|
|
|
|
NU32 flBitmap;
|
|
|
|
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
|
|
|
|
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
|
|
|
|
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
|
|
|
|
NI currMem;
|
|
|
|
NI maxMem;
|
|
|
|
NI freeMem;
|
|
|
|
NI occ;
|
|
|
|
NI lastSize;
|
|
|
|
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
|
|
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
|
|
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
|
|
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
|
|
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
|
|
|
|
NIM_BOOL locked;
|
|
|
|
NIM_BOOL blockChunkSizeIncrease;
|
|
|
|
NI nextChunkSize;
|
|
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
|
|
|
|
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
|
|
|
|
NI allocCounter;
|
|
|
|
NI deallocCounter;
|
|
|
|
};
|
|
|
|
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans;
|
|
|
|
NI cycleCollections;
|
|
|
|
NI maxThreshold;
|
|
|
|
NI maxStackSize;
|
|
|
|
NI maxStackCells;
|
|
|
|
NI cycleTableSize;
|
|
|
|
NI64 maxPause;
|
|
|
|
};
|
|
|
|
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter;
|
|
|
|
NI max;
|
|
|
|
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
|
|
|
|
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
|
|
|
|
};
|
|
|
|
typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5];
|
|
|
|
struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head;
|
|
|
|
tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail;
|
|
|
|
pthread_mutex_t lock;
|
|
|
|
};
|
|
|
|
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
|
|
|
|
NI cycleThreshold;
|
|
|
|
NI zctThreshold;
|
|
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
|
|
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
|
|
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
|
|
|
|
NI recGcLock;
|
|
|
|
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
|
|
|
|
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
|
|
|
|
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
|
|
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
|
|
|
|
tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose;
|
|
|
|
NI gcThreadId;
|
|
|
|
};
|
|
|
|
struct tyObject_Result__boRRpVtZiavTOVxdbLbJiQ {NIM_BOOL o;
|
|
|
|
union{
|
|
|
|
struct {NimStringDesc* e;
|
|
|
|
} _o_1;
|
|
|
|
struct {NimStringDesc* v;
|
|
|
|
} _o_2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
typedef NU8 tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg;
|
|
|
|
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__oTWxnDXZ8UmfQCGXf2TQSg) (NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__XIJvvDUKw6aEcio9aI7Sepw) (tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__cq2EvnicUMZiLpiAIa4ypw) (tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
struct tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A {tyProc__oTWxnDXZ8UmfQCGXf2TQSg stringToBuffer;
|
|
|
|
tyProc__XIJvvDUKw6aEcio9aI7Sepw bufferToString;
|
|
|
|
tyProc__cq2EvnicUMZiLpiAIa4ypw validateBuffer;
|
|
|
|
};
|
|
|
|
struct tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw {NI mcodec;
|
|
|
|
NI size;
|
|
|
|
tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg kind;
|
|
|
|
tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A coder;
|
|
|
|
};
|
|
|
|
struct tyObject_Table__QB9arfyJHv7leGMqe0PZPbg {tySequence__zErRN2SzhLehkt3ZQ6iUGw* data;
|
|
|
|
NI counter;
|
|
|
|
};
|
|
|
|
struct tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ {
|
|
|
|
NI Field0;
|
|
|
|
NI Field1;
|
|
|
|
tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw Field2;
|
|
|
|
};
|
|
|
|
struct tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data;
|
|
|
|
};
|
|
|
|
typedef NU8 tyEnum_KeyType__RX9cgRnEh9bnsWx9cuPhqOgtw;
|
|
|
|
typedef NU8 tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg;
|
|
|
|
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
|
|
|
|
struct tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
|
|
|
|
};
|
|
|
|
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
|
|
|
|
struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
|
|
};
|
|
|
|
struct tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ {tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg scheme;
|
|
|
|
union{
|
|
|
|
struct {tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw* rsakey;
|
|
|
|
} _scheme_1;
|
|
|
|
struct {tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA edkey;
|
|
|
|
} _scheme_2;
|
|
|
|
struct {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w skkey;
|
|
|
|
} _scheme_3;
|
|
|
|
struct {tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA* eckey;
|
|
|
|
} _scheme_4;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
struct tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
|
|
};
|
|
|
|
struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
|
|
|
|
};
|
|
|
|
struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data;
|
|
|
|
};
|
|
|
|
struct tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA {tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg scheme;
|
|
|
|
union{
|
|
|
|
struct {tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg* rsakey;
|
|
|
|
} _scheme_1;
|
|
|
|
struct {tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA edkey;
|
|
|
|
} _scheme_2;
|
|
|
|
struct {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA skkey;
|
|
|
|
} _scheme_3;
|
|
|
|
struct {tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q* eckey;
|
|
|
|
} _scheme_4;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
struct tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg {tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA val;
|
|
|
|
NIM_BOOL has;
|
|
|
|
};
|
|
|
|
struct tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw { RootObj Sup;tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw peerId;
|
|
|
|
tySequence__pJDjdGjSf3HlAOELaHOmSA* addrs;
|
|
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* protocols;
|
|
|
|
NimStringDesc* protoVersion;
|
|
|
|
NimStringDesc* agentVersion;
|
|
|
|
NimStringDesc* secure;
|
|
|
|
tyEnum_KeyType__RX9cgRnEh9bnsWx9cuPhqOgtw keyType;
|
|
|
|
union{
|
|
|
|
struct {tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ privateKey;
|
|
|
|
} _keyType_1;
|
|
|
|
struct {tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg key;
|
|
|
|
} _keyType_2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
typedef tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw tyArray__qWKwCyVMYTcWeN50TZdbAQ[1];
|
|
|
|
typedef NimStringDesc* tyArray__8ZvwQIddfpj2THRVPsFzIQ[1];
|
|
|
|
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
|
|
|
|
NI line;
|
|
|
|
NCSTRING filename;
|
|
|
|
};
|
|
|
|
struct tySequence__I9bdvIWtLu6lWiZfMzRFn7g { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[SEQ_DECL_SIZE];};struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};struct tySequence__zErRN2SzhLehkt3ZQ6iUGw { TGenericSeq Sup; tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ data[SEQ_DECL_SIZE];};struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__pJDjdGjSf3HlAOELaHOmSA { TGenericSeq Sup; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw data[SEQ_DECL_SIZE];};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, initAddress__OTK79bAtnby3wHnu7RDXDRQ)(NimStringDesc* str, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
|
|
|
|
static N_INLINE(void, tryGet__uDh0g83qpDAEeI1BpCs9asQresults)(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw self, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__GajABUoufmuSpZ6kkbqc3w)(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw self) __attribute__((noreturn));
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, init__8kmgjDEQleLzw0l2hsz9bfA)(NimStringDesc* value_0, tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw* Result);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, match__CeIb9bEsDCSmfgBgSlpdN0w)(tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q pat, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw address);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchPartial__CeIb9bEsDCSmfgBgSlpdN0w_2)(tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q pat, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw address);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
|
|
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
|
|
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
|
|
|
|
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
|
|
|
|
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
|
|
|
|
static N_INLINE(void, asgnRef)(void** dest, void* src);
|
|
|
|
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
|
|
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, newSeq__DpCWN7DIBuAjgoeQ9c29blYQ)(NI len_0);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, initVBuffer__LoMBTJaYwtzjWYCnZcOZYg)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* Result);
|
|
|
|
static N_INLINE(NI, readVarint__89bap71ZnpFKXkLnpDp9bm5Avbuffer)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU64* value_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NI, peekVarint__xzn9cCWN2k9a885kfCCh6Hww)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU64* value_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
|
|
|
|
static N_INLINE(NimStringDesc*, get__Xn5cqI9auUqogQkF2ddcFkQresults)(tyObject_Result__boRRpVtZiavTOVxdbLbJiQ self);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__LDPs6i4WoesAlTQQkVEXSA)(NimStringDesc* m, NimStringDesc* v) __attribute__((noreturn));
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, protoName__io8uUTIBldXhbmEH0aPvUw)(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw ma, tyObject_Result__boRRpVtZiavTOVxdbLbJiQ* Result);
|
|
|
|
static N_INLINE(void, get__uDh0g83qpDAEeI1BpCs9asQ_2results)(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw self, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result);
|
|
|
|
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
|
|
|
|
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size);
|
|
|
|
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw, getOrDefault__hpDNgtattzrCYmjJvNUGFA)(tyObject_Table__QB9arfyJHv7leGMqe0PZPbg t, NI key_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip4StB__RcNmSSN3OSpSyscgqxfRMw)(NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip4BtS__WNol9aGrkM8QPG9bGuLWzjug)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip4VB__V51ueGPKdBz2ss3IbjGJ1g)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, portStB__RcNmSSN3OSpSyscgqxfRMw_2)(NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, portBtS__WNol9aGrkM8QPG9bGuLWzjug_2)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, portVB__V51ueGPKdBz2ss3IbjGJ1g_2)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, unixStB__RcNmSSN3OSpSyscgqxfRMw_3)(NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, unixBtS__WNol9aGrkM8QPG9bGuLWzjug_3)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, unixVB__V51ueGPKdBz2ss3IbjGJ1g_3)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, p2pStB__RcNmSSN3OSpSyscgqxfRMw_4)(NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, p2pBtS__WNol9aGrkM8QPG9bGuLWzjug_4)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, p2pVB__V51ueGPKdBz2ss3IbjGJ1g_4)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip6StB__RcNmSSN3OSpSyscgqxfRMw_5)(NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip6BtS__WNol9aGrkM8QPG9bGuLWzjug_5)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip6VB__V51ueGPKdBz2ss3IbjGJ1g_5)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip6zoneStB__RcNmSSN3OSpSyscgqxfRMw_6)(NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip6zoneBtS__WNol9aGrkM8QPG9bGuLWzjug_6)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ip6zoneVB__V51ueGPKdBz2ss3IbjGJ1g_6)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, dnsStB__RcNmSSN3OSpSyscgqxfRMw_7)(NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, dnsBtS__WNol9aGrkM8QPG9bGuLWzjug_7)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, dnsVB__V51ueGPKdBz2ss3IbjGJ1g_7)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, onionStB__RcNmSSN3OSpSyscgqxfRMw_8)(NimStringDesc* s_0, tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, onionBtS__WNol9aGrkM8QPG9bGuLWzjug_8)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NimStringDesc** s_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, onionVB__V51ueGPKdBz2ss3IbjGJ1g_8)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
|
|
|
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*, dollar___RkX9btpg5sQIaP8yYXB6tbA)(NU64 x);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
|
|
|
|
static N_INLINE(NI, readArray__yPn5OHboFYLvokx7r0rDRwvbuffer)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU8* value_0, NI value_0Len_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NI, peekArray__TiOCG7A7AuE3A3p8pXJi9bw)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU8* value_0, NI value_0Len_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, writeVarint__Z9cWX2313hWAaF9bdWMVmaXw)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU64 value_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, writeArray__A8HGKnF0m9c9bRXJoGSwCunA)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU8* value_0, NI value_0Len_0);
|
|
|
|
static N_INLINE(NI, readSeq__L38SlvWA7v89coQy5h9cWgHAvbuffer)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ** value_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NI, peekSeq__HjNK8tn9cFb29aH3Wm7Jio7g)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ** value_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, writeSeq__A8HGKnF0m9c9bRXJoGSwCunA_2)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU8* value_0, NI value_0Len_0);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, finish__v4aEtSQRNWYAfIk4zF8a0w)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb);
|
|
|
|
static N_INLINE(NimStringDesc*, X5BX5D___j0Z1d16G1eC5eFkDa00ZFwsystem)(NimStringDesc** s, NI sLen_0, NI i);
|
|
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, nsuSplitString)(NimStringDesc* s, NimStringDesc* sep, NI maxsplit);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, toString__Rh7bO32Spv9aEZFJRfbQWKw)(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw value_0, tyObject_Result__boRRpVtZiavTOVxdbLbJiQ* Result);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, amp___4VlBo2fxt5d2s33l2gTNXw)(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw m1, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw m2, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isWire__m4nM0zZqadP7VrTIHWeRpw_2)(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw ma);
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw*, init__05wj2M9aqChEsORKqJNujYA)(NimStringDesc* peerId, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* addrs, NI addrsLen_0, NimStringDesc** protocols, NI protocolsLen_0);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_2, "\'v\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
|
|
|
|
extern TNimType NTI__6H5Oh5UUvVCLiakt9aTwtUQ_;
|
|
|
|
static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_4 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_5 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_6 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[3];} TM__p35GHbcMC1LdaVoXA1s7gQ_7 = {{3, 3 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_4), ((NI) 56)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_5), ((NI) 54)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_6), ((NI) 55)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_8 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_9 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_7), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_8), ((NI) 6)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_10 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_11 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_12 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_10), ((NI) 4)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_11), ((NI) 41)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_13 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_14 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_12), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_13), ((NI) 6)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_15 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_9), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_14), ((NI) 0)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_16 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_17 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_18 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[3];} TM__p35GHbcMC1LdaVoXA1s7gQ_19 = {{3, 3 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_16), ((NI) 56)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_17), ((NI) 54)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_18), ((NI) 55)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_20 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_21 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_19), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_20), ((NI) 273)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_22 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_23 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_24 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_22), ((NI) 4)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_23), ((NI) 41)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_25 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_26 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_24), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_25), ((NI) 273)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_27 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_21), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_26), ((NI) 0)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_28 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_29 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_27), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_28), ((NI) 302)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_30 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_31 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_32 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[3];} TM__p35GHbcMC1LdaVoXA1s7gQ_33 = {{3, 3 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_30), ((NI) 56)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_31), ((NI) 54)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_32), ((NI) 55)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_34 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_35 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_33), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_34), ((NI) 273)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_36 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_37 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_38 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_36), ((NI) 4)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_37), ((NI) 41)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_39 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_40 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_38), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_39), ((NI) 273)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_41 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_35), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_40), ((NI) 0)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_42 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_43 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_41), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_42), ((NI) 460)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[3];} TM__p35GHbcMC1LdaVoXA1s7gQ_44 = {{3, 3 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_15), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_29), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_43), ((NI) 0)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_45 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_46 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_44), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_45), ((NI) 421)}
|
|
|
|
}};static NIM_CONST tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q TM__p35GHbcMC1LdaVoXA1s7gQ_3 = {((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_46), ((NI) 0)}
|
|
|
|
;
|
|
|
|
static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_48 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_49 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_50 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[3];} TM__p35GHbcMC1LdaVoXA1s7gQ_51 = {{3, 3 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_48), ((NI) 56)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_49), ((NI) 54)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_50), ((NI) 55)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_52 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_53 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_51), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_52), ((NI) 6)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_54 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_55 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_56 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_54), ((NI) 4)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_55), ((NI) 41)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[0];} TM__p35GHbcMC1LdaVoXA1s7gQ_57 = {{0, 0 | NIM_STRLIT_FLAG}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_58 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_56), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 0), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_57), ((NI) 6)}
|
|
|
|
}};static NIM_CONST struct { TGenericSeq Sup; tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q data[2];} TM__p35GHbcMC1LdaVoXA1s7gQ_59 = {{2, 2 | NIM_STRLIT_FLAG}, {{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_53), ((NI) 0)}
|
|
|
|
,
|
|
|
|
{((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 2), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_58), ((NI) 0)}
|
|
|
|
}};static NIM_CONST tyObject_MaPattern__63Vn14obUsMXDNYJqahR4Q TM__p35GHbcMC1LdaVoXA1s7gQ_47 = {((tyEnum_MaPatternOp__qPp9cibkSjgbH9b9aam7eYnLA) 1), ((tySequence__I9bdvIWtLu6lWiZfMzRFn7g*)&TM__p35GHbcMC1LdaVoXA1s7gQ_59), ((NI) 0)}
|
|
|
|
;
|
|
|
|
extern TNimType NTI__Ie1m0dv1ZHg72IgPRr1cDw_;
|
|
|
|
extern TNimType NTI__yoNlBGx0D2tRizIdhQuENw_;
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_60, "Invalid bootstrap node multi-address", 36);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_63, "Malformed binary address!", 25);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_64, "Trying to access value with err Result", 38);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_65, "\'e\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_66, "ip4", 3);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_67, "ip6", 3);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_68, "tcp", 3);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_69, "p2p", 3);
|
|
|
|
extern TNimType NTI__zErRN2SzhLehkt3ZQ6iUGw_;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_70 = {((NI) 0),
|
|
|
|
((NI) 0),
|
|
|
|
{((NI) 0), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 0), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_71 = {((NI) 460),
|
|
|
|
((NI) 460),
|
|
|
|
{((NI) 460), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_72 = {((NI) 275),
|
|
|
|
((NI) 275),
|
|
|
|
{((NI) 275), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_73 = {((NI) 276),
|
|
|
|
((NI) 276),
|
|
|
|
{((NI) 276), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_74 = {((NI) 477),
|
|
|
|
((NI) 477),
|
|
|
|
{((NI) 477), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_75 = {((NI) 479),
|
|
|
|
((NI) 479),
|
|
|
|
{((NI) 479), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_76 = {((NI) 480),
|
|
|
|
((NI) 480),
|
|
|
|
{((NI) 480), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_77 = {((NI) 290),
|
|
|
|
((NI) 290),
|
|
|
|
{((NI) 290), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_78 = {((NI) 301),
|
|
|
|
((NI) 301),
|
|
|
|
{((NI) 301), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_79 = {((NI) 302),
|
|
|
|
((NI) 302),
|
|
|
|
{((NI) 302), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
static NIM_CONST tyTuple__erhmQ9bg9bVSW9aS7eZ9bjowPQ TM__p35GHbcMC1LdaVoXA1s7gQ_80 = {((NI) 443),
|
|
|
|
((NI) 443),
|
|
|
|
{((NI) 443), ((NI) 0), ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4), {NIM_NIL, NIM_NIL, NIM_NIL}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_81, "Unsupported protocol \'", 22);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_82, "\'", 1);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_84, "Decoding protocol error", 23);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_87, "/", 1);
|
|
|
|
STRING_LITERAL(TM__p35GHbcMC1LdaVoXA1s7gQ_88, "Invalid node multi-address", 26);
|
|
|
|
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
|
|
|
|
|
|
|
|
#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 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
static N_INLINE(void, tryGet__uDh0g83qpDAEeI1BpCs9asQresults)(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw self, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result) {
|
|
|
|
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
{
|
|
|
|
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
if (!!(self.o)) goto LA3_;
|
|
|
|
|
|
|
|
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
raiseResultError__GajABUoufmuSpZ6kkbqc3w(self);
|
|
|
|
}
|
|
|
|
LA3_: ;
|
|
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_2)); } genericSeqAssign((&(*Result).data.buffer), self._o_2.v.data.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); (*Result).data.offset = self._o_2.v.data.offset;}
|
|
|
|
|
|
|
|
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
|
|
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
|
|
|
|
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
|
|
|
|
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
|
|
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
|
|
|
|
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
|
|
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
|
|
|
|
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
|
|
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
{ NIM_BOOL T3_;
|
|
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
|
|
|
|
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
|
|
|
|
}
|
|
|
|
LA4_: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
|
|
|
|
|
|
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
|
|
|
|
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
|
|
|
|
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
|
|
|
|
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
|
|
|
|
|
|
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
static N_INLINE(void, asgnRef)(void** dest, void* src) {
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
if (!!((src == NIM_NIL))) goto LA3_;
|
|
|
|
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
|
|
|
|
}
|
|
|
|
LA3_: ;
|
|
|
|
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
if (!!(((*dest) == NIM_NIL))) goto LA8_;
|
|
|
|
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
|
|
|
|
}
|
|
|
|
LA8_: ;
|
|
|
|
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
(*dest) = src;}
|
|
|
|
|
|
|
|
#line 7 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, initAddress__OTK79bAtnby3wHnu7RDXDRQ)(NimStringDesc* str, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result) { tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw address; tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw T1_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw T2_; chckNil((void*)Result); unsureAsgnRef((void**)&(*Result).data.buffer, NIM_NIL); (*Result).data.offset = 0; nimZeroMem((void*)(&address), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw));
|
|
|
|
#line 8 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 8 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 8 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T1_), sizeof(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw)); init__8kmgjDEQleLzw0l2hsz9bfA(str, (&T1_));
|
|
|
|
|
|
|
|
#line 8 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T2_), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); tryGet__uDh0g83qpDAEeI1BpCs9asQresults(T1_, (&T2_));
|
|
|
|
address.data.buffer = T2_.data.buffer; address.data.offset = T2_.data.offset;
|
|
|
|
#line 9 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
{ NIM_BOOL T5_;
|
|
|
|
#line 9 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
T5_ = (NIM_BOOL)0;
|
|
|
|
#line 9 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 9 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
T5_ = match__CeIb9bEsDCSmfgBgSlpdN0w(TM__p35GHbcMC1LdaVoXA1s7gQ_3, address); if (!(T5_)) goto LA6_;
|
|
|
|
|
|
|
|
#line 9 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 9 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
T5_ = matchPartial__CeIb9bEsDCSmfgBgSlpdN0w_2(TM__p35GHbcMC1LdaVoXA1s7gQ_47, address); LA6_: ;
|
|
|
|
if (!T5_) goto LA7_;
|
|
|
|
|
|
|
|
#line 10 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
genericSeqAssign((&(*Result).data.buffer), address.data.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); (*Result).data.offset = address.data.offset; }
|
|
|
|
goto LA3_;
|
|
|
|
LA7_: ;
|
|
|
|
{ tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* T10_; NimStringDesc* T11_; T10_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)0; T10_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*) newObj((&NTI__Ie1m0dv1ZHg72IgPRr1cDw_), sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw)); (*T10_).Sup.Sup.Sup.m_type = (&NTI__yoNlBGx0D2tRizIdhQuENw_); (*T10_).Sup.Sup.name = "ValueError"; T11_ = (NimStringDesc*)0; T11_ = (*T10_).Sup.Sup.message; (*T10_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_60)); if (T11_) nimGCunrefNoCycle(T11_); asgnRef((void**) (&(*T10_).Sup.Sup.parent), NIM_NIL);
|
|
|
|
#line 12 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
raiseExceptionEx((Exception*)T10_, "ValueError", "initAddress", "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim", 12); }
|
|
|
|
LA3_: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
static N_INLINE(NI, readVarint__89bap71ZnpFKXkLnpDp9bm5Avbuffer)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU64* value_0) { NI result; result = (NI)0;
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
result = peekVarint__xzn9cCWN2k9a885kfCCh6Hww(vb, value_0);
|
|
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
{ NI TM__p35GHbcMC1LdaVoXA1s7gQ_62;
|
|
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
|
|
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
if (!!((result == ((NI) -1)))) goto LA3_;
|
|
|
|
|
|
|
|
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
if (nimAddInt((*vb).offset, result, &TM__p35GHbcMC1LdaVoXA1s7gQ_62)) { raiseOverflow(); }; (*vb).offset = (NI)(TM__p35GHbcMC1LdaVoXA1s7gQ_62); }
|
|
|
|
LA3_: ;
|
|
|
|
return result;}
|
|
|
|
|
|
|
|
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
static N_INLINE(NimStringDesc*, get__Xn5cqI9auUqogQkF2ddcFkQresults)(tyObject_Result__boRRpVtZiavTOVxdbLbJiQ self) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
|
|
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 463 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
{
|
|
|
|
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
if (!!(self.o)) goto LA3_;
|
|
|
|
|
|
|
|
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_65)); }
|
|
|
|
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
raiseResultDefect__LDPs6i4WoesAlTQQkVEXSA(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_64), self._o_1.e);
|
|
|
|
}
|
|
|
|
LA3_: ;
|
|
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_2)); } result = copyString(self._o_2.v); return result;}
|
|
|
|
|
|
|
|
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
static N_INLINE(void, get__uDh0g83qpDAEeI1BpCs9asQ_2results)(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw self, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result) {
|
|
|
|
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 463 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
{
|
|
|
|
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
if (!!(self.o)) goto LA3_;
|
|
|
|
|
|
|
|
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_65)); }
|
|
|
|
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
raiseResultDefect__LDPs6i4WoesAlTQQkVEXSA(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_64), self._o_1.e);
|
|
|
|
}
|
|
|
|
LA3_: ;
|
|
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_2)); } genericSeqAssign((&(*Result).data.buffer), self._o_2.v.data.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); (*Result).data.offset = self._o_2.v.data.offset;}
|
|
|
|
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) { int result; result = (int)0;
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
result = memcmp(a, b, ((size_t) (size))); return result;}
|
|
|
|
|
|
|
|
#line 2120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) { NIM_BOOL result; int T1_; result = (NIM_BOOL)0;
|
|
|
|
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
|
|
|
|
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
|
|
|
|
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
|
|
|
|
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
T1_ = (int)0; T1_ = nimCmpMem(a, b, size); result = (T1_ == ((NI32) 0)); return result;}
|
|
|
|
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) { NIM_BOOL result; NI alen; NI blen;{ result = (NIM_BOOL)0;
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
alen = (a ? a->Sup.len : 0);
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
blen = (b ? b->Sup.len : 0);
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
{
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
if (!(alen == blen)) goto LA3_;
|
|
|
|
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
{
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
if (!(alen == ((NI) 0))) goto LA7_;
|
|
|
|
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
|
|
}
|
|
|
|
LA7_: ;
|
|
|
|
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
result = equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen))); goto BeforeRet_;
|
|
|
|
}
|
|
|
|
LA3_: ;
|
|
|
|
}BeforeRet_: ;
|
|
|
|
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 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
static N_INLINE(NI, readArray__yPn5OHboFYLvokx7r0rDRwvbuffer)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, NU8* value_0, NI value_0Len_0) { NI result; result = (NI)0;
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
result = peekArray__TiOCG7A7AuE3A3p8pXJi9bw(vb, value_0, value_0Len_0);
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
{ NI TM__p35GHbcMC1LdaVoXA1s7gQ_83;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
if (!!((result == ((NI) -1)))) goto LA3_;
|
|
|
|
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
if (nimAddInt((*vb).offset, result, &TM__p35GHbcMC1LdaVoXA1s7gQ_83)) { raiseOverflow(); }; (*vb).offset = (NI)(TM__p35GHbcMC1LdaVoXA1s7gQ_83); }
|
|
|
|
LA3_: ;
|
|
|
|
return result;}
|
|
|
|
|
|
|
|
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
static N_INLINE(NI, readSeq__L38SlvWA7v89coQy5h9cWgHAvbuffer)(tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA* vb, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ** value_0) { NI result; result = (NI)0;
|
|
|
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
|
|
|
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
result = peekSeq__HjNK8tn9cFb29aH3Wm7Jio7g(vb, value_0);
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
{ NI TM__p35GHbcMC1LdaVoXA1s7gQ_85;
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
if (!!((result == ((NI) -1)))) goto LA3_;
|
|
|
|
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
if (nimAddInt((*vb).offset, result, &TM__p35GHbcMC1LdaVoXA1s7gQ_85)) { raiseOverflow(); }; (*vb).offset = (NI)(TM__p35GHbcMC1LdaVoXA1s7gQ_85); }
|
|
|
|
LA3_: ;
|
|
|
|
return result;}
|
|
|
|
|
|
|
|
#line 2514 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
static N_INLINE(NimStringDesc*, X5BX5D___j0Z1d16G1eC5eFkDa00ZFwsystem)(NimStringDesc** s, NI sLen_0, NI i) { NimStringDesc* result; NI TM__p35GHbcMC1LdaVoXA1s7gQ_86; result = (NimStringDesc*)0;
|
|
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
|
|
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
|
|
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
if (nimSubInt(sLen_0, i, &TM__p35GHbcMC1LdaVoXA1s7gQ_86)) { raiseOverflow(); }; if ((NU)((NI)(TM__p35GHbcMC1LdaVoXA1s7gQ_86)) >= (NU)(sLen_0)){ raiseIndexError2((NI)(TM__p35GHbcMC1LdaVoXA1s7gQ_86),sLen_0-1); } result = copyString(s[(NI)(TM__p35GHbcMC1LdaVoXA1s7gQ_86)]); return result;}
|
|
|
|
|
|
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw*, parsePeerInfo__XE21P4LKSGmmpGXidg7k2w)(NimStringDesc* address) { tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw* result; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw multiAddr; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw T1_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw ipPart; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw tcpPart; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw p2pPart; NimStringDesc* peerIdStr; tyObject_Result__boRRpVtZiavTOVxdbLbJiQ T114_; NimStringDesc* T115_; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T116_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw wireAddr; tyArray__qWKwCyVMYTcWeN50TZdbAQ T124_; tyArray__8ZvwQIddfpj2THRVPsFzIQ T125_;{ result = (tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw*)0; nimZeroMem((void*)(&multiAddr), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw));
|
|
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T1_), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); initAddress__OTK79bAtnby3wHnu7RDXDRQ(address, (&T1_));
|
|
|
|
multiAddr.data.buffer = T1_.data.buffer; multiAddr.data.offset = T1_.data.offset; nimZeroMem((void*)(&ipPart), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); nimZeroMem((void*)(&tcpPart), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); nimZeroMem((void*)(&p2pPart), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); { tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw addrPart; NU64 header; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data_1; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw vb; nimZeroMem((void*)(&addrPart), sizeof(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw)); header = (NU64)0;
|
|
|
|
#line 581 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 581 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
data_1 = newSeq__DpCWN7DIBuAjgoeQ9c29blYQ(((NI) 0)); nimZeroMem((void*)(&vb), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw));
|
|
|
|
#line 582 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
genericSeqAssign((&vb.data.buffer), multiAddr.data.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); vb.data.offset = multiAddr.data.offset; {
|
|
|
|
#line 583 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
while (1) { tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw res; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw proto; tyObject_Table__QB9arfyJHv7leGMqe0PZPbg T27_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T28_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T29_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T30_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T31_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T32_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T33_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T34_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T35_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T36_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T37_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T38_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T39_; tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw T40_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw T102_; tyObject_Result__boRRpVtZiavTOVxdbLbJiQ T103_; NimStringDesc* T104_;
|
|
|
|
#line 584 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
{ NI T7_; NI TM__p35GHbcMC1LdaVoXA1s7gQ_61;
|
|
|
|
#line 584 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/vbuffer.nim"
|
|
|
|
T7_ = (vb.data.buffer ? vb.data.buffer->Sup.len : 0); if (nimSubInt(T7_, vb.data.offset, &TM__p35GHbcMC1LdaVoXA1s7gQ_61)) { raiseOverflow(); }; if (!((NI)(TM__p35GHbcMC1LdaVoXA1s7gQ_61) <= ((NI) 0))) goto LA8_;
|
|
|
|
|
|
|
|
#line 585 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
goto LA3;
|
|
|
|
}
|
|
|
|
LA8_: ;
|
|
|
|
nimZeroMem((void*)(&res), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw));
|
|
|
|
#line 587 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
chckNil((void*)(&res)); nimZeroMem((void*)(&res), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw));
|
|
|
|
#line 587 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 587 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
initVBuffer__LoMBTJaYwtzjWYCnZcOZYg((&res.data));
|
|
|
|
|
|
|
|
#line 588 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
{ NI T12_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw T15_; tyObject_Result__boRRpVtZiavTOVxdbLbJiQ T16_; NimStringDesc* T17_;
|
|
|
|
#line 588 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 588 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 588 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
T12_ = (NI)0; T12_ = readVarint__89bap71ZnpFKXkLnpDp9bm5Avbuffer((&vb.data), (&header)); if (!(T12_ == ((NI) -1))) goto LA13_;
|
|
|
|
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
chckNil((void*)(&addrPart)); nimZeroMem((void*)(&addrPart), sizeof(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw)); addrPart.o = NIM_FALSE; addrPart._o_1.e = copyString(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_63));
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
nimZeroMem((void*)(&T15_), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); get__uDh0g83qpDAEeI1BpCs9asQ_2results(addrPart, (&T15_));
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T16_), sizeof(tyObject_Result__boRRpVtZiavTOVxdbLbJiQ)); protoName__io8uUTIBldXhbmEH0aPvUw(T15_, (&T16_));
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
T17_ = (NimStringDesc*)0; T17_ = get__Xn5cqI9auUqogQkF2ddcFkQresults(T16_); if (eqStrings(T17_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_66))) goto LA18_; if (eqStrings(T17_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_67))) goto LA18_; if (eqStrings(T17_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_68))) goto LA19_; if (eqStrings(T17_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_69))) goto LA20_; goto LA21_;
|
|
|
|
LA18_: ;
|
|
|
|
{
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&ipPart));
|
|
|
|
}
|
|
|
|
goto LA22_;
|
|
|
|
LA19_: ;
|
|
|
|
{
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&tcpPart));
|
|
|
|
}
|
|
|
|
goto LA22_;
|
|
|
|
LA20_: ;
|
|
|
|
{
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&p2pPart));
|
|
|
|
}
|
|
|
|
goto LA22_;
|
|
|
|
LA21_: ;
|
|
|
|
{ }
|
|
|
|
LA22_: ;
|
|
|
|
}
|
|
|
|
LA13_: ;
|
|
|
|
|
|
|
|
#line 591 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
nimZeroMem((void*)(&T27_), sizeof(tyObject_Table__QB9arfyJHv7leGMqe0PZPbg)); nimZeroMem((void*)(&T27_), sizeof(tyObject_Table__QB9arfyJHv7leGMqe0PZPbg)); T27_.data = (tySequence__zErRN2SzhLehkt3ZQ6iUGw*) newSeq((&NTI__zErRN2SzhLehkt3ZQ6iUGw_), 64); T27_.data->data[0] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[1] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[2] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[3] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[4].Field0 = ((NI) 4); T27_.data->data[4].Field1 = ((NI) 4); nimZeroMem((void*)(&T28_), sizeof(tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw)); T28_.mcodec = ((NI) 4); T28_.size = ((NI) 4); T28_.kind = ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 1); chckNil((void*)(&T28_.coder)); nimZeroMem((void*)(&T28_.coder), sizeof(tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A)); T28_.coder.stringToBuffer = ip4StB__RcNmSSN3OSpSyscgqxfRMw; T28_.coder.bufferToString = ip4BtS__WNol9aGrkM8QPG9bGuLWzjug; T28_.coder.validateBuffer = ip4VB__V51ueGPKdBz2ss3IbjGJ1g; T27_.data->data[4].Field2 = T28_; T27_.data->data[5].Field0 = ((NI) 132); T27_.data->data[5].Field1 = ((NI) 132); nimZeroMem((void*)(&T29_), sizeof(tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw)); T29_.mcodec = ((NI) 132); T29_.size = ((NI) 2); T29_.kind = ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 1); chckNil((void*)(&T29_.coder)); nimZeroMem((void*)(&T29_.coder), sizeof(tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A)); T29_.coder.stringToBuffer = portStB__RcNmSSN3OSpSyscgqxfRMw_2; T29_.coder.bufferToString = portBtS__WNol9aGrkM8QPG9bGuLWzjug_2; T29_.coder.validateBuffer = portVB__V51ueGPKdBz2ss3IbjGJ1g_2; T27_.data->data[5].Field2 = T29_; T27_.data->data[6].Field0 = ((NI) 6); T27_.data->data[6].Field1 = ((NI) 6); nimZeroMem((void*)(&T30_), sizeof(tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw)); T30_.mcodec = ((NI) 6); T30_.size = ((NI) 2); T30_.kind = ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 1); chckNil((void*)(&T30_.coder)); nimZeroMem((void*)(&T30_.coder), sizeof(tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A)); T30_.coder.stringToBuffer = portStB__RcNmSSN3OSpSyscgqxfRMw_2; T30_.coder.bufferToString = portBtS__WNol9aGrkM8QPG9bGuLWzjug_2; T30_.coder.validateBuffer = portVB__V51ueGPKdBz2ss3IbjGJ1g_2; T27_.data->data[6].Field2 = T30_; T27_.data->data[7] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[8] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[9] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[10] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[11] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[12] = TM__p35GHbcMC1LdaVoXA1s7gQ_71; T27_.data->data[13] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[14] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[15] = TM__p35GHbcMC1LdaVoXA1s7gQ_70; T27_.data->data[16].Field0 = ((NI) 400); T27_.data->data[16].Field1 = ((NI) 400); nimZeroMem((void*)(&T31_), sizeof(tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw)); T31_.mcodec = ((NI) 400); T31_.size = ((NI) 0); T31_.kind = ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 3); chckNil((void*)(&T31_.coder)); nimZeroMem((void*)(&T31_.coder), sizeof(tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A)); T31_.coder.stringToBuffer = unixStB__RcNmSSN3OSpSyscgqxfRMw_3; T31_.coder.bufferToString = unixBtS__WNol9aGrkM8QPG9bGuLWzjug_3; T31_.coder.validateBuffer = unixVB__V51ueGPKdBz2ss3IbjGJ1g_3; T27_.data->data[16].Field2 = T31_; T27_.data->data[17].Field0 = ((NI) 273); T27_.data->data[17].Field1 = ((NI) 273); nimZeroMem((void*)(&T32_), sizeof(tyObject_MAProtocol__C2GJIaiYfyi7Ef1KpzW9bPw)); T32_.mcodec = ((NI) 273); T32_.size = ((NI) 2); T32_.kind = ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 1); chckNil((void*)(&T32_.coder)); nimZeroMem((void*)(&T32_.coder), sizeof(tyObject_Transcoder__9bBojgSQChZAb9a4Rkcgm9c8A)); T32_.coder.stringToBuffer = portStB__RcNmSSN3OSpSyscgqxfRMw_2; T32_.coder.bufferToString = portBtS__WNol9aGrkM8QPG9bGuLWz
|
|
|
|
#line 591 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
proto = getOrDefault__hpDNgtattzrCYmjJvNUGFA(T27_, ((NI) (header)));
|
|
|
|
#line 592 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
{ NimStringDesc* T45_; NimStringDesc* T46_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw T47_; tyObject_Result__boRRpVtZiavTOVxdbLbJiQ T48_; NimStringDesc* T49_;
|
|
|
|
#line 592 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
if (!(proto.kind == ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 0))) goto LA43_;
|
|
|
|
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
chckNil((void*)(&addrPart)); nimZeroMem((void*)(&addrPart), sizeof(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw)); addrPart.o = NIM_FALSE;
|
|
|
|
#line 594 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
T45_ = (NimStringDesc*)0;
|
|
|
|
#line 594 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 594 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
T46_ = (NimStringDesc*)0; T46_ = dollar___RkX9btpg5sQIaP8yYXB6tbA(header); T45_ = rawNewString((T46_ ? T46_->Sup.len : 0) + 23);appendString(T45_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_81));appendString(T45_, T46_);appendString(T45_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_82)); addrPart._o_1.e = T45_;
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
nimZeroMem((void*)(&T47_), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); get__uDh0g83qpDAEeI1BpCs9asQ_2results(addrPart, (&T47_));
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T48_), sizeof(tyObject_Result__boRRpVtZiavTOVxdbLbJiQ)); protoName__io8uUTIBldXhbmEH0aPvUw(T47_, (&T48_));
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
T49_ = (NimStringDesc*)0; T49_ = get__Xn5cqI9auUqogQkF2ddcFkQresults(T48_); if (eqStrings(T49_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_66))) goto LA50_; if (eqStrings(T49_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_67))) goto LA50_; if (eqStrings(T49_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_68))) goto LA51_; if (eqStrings(T49_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_69))) goto LA52_; goto LA53_;
|
|
|
|
LA50_: ;
|
|
|
|
{
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&ipPart));
|
|
|
|
}
|
|
|
|
goto LA54_;
|
|
|
|
LA51_: ;
|
|
|
|
{
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&tcpPart));
|
|
|
|
}
|
|
|
|
goto LA54_;
|
|
|
|
LA52_: ;
|
|
|
|
{
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&p2pPart));
|
|
|
|
}
|
|
|
|
goto LA54_;
|
|
|
|
LA53_: ;
|
|
|
|
{ }
|
|
|
|
LA54_: ;
|
|
|
|
}
|
|
|
|
goto LA41_;
|
|
|
|
LA43_: ;
|
|
|
|
{
|
|
|
|
#line 596 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
if (!(proto.kind == ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 1))) goto LA60_;
|
|
|
|
|
|
|
|
#line 597 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
if ((proto.size) < ((NI) 0) || (proto.size) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(proto.size, ((NI) 0), ((NI) IL64(9223372036854775807))); } data_1 = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*) setLengthSeqV2(&(data_1)->Sup, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), ((NI) (proto.size)));
|
|
|
|
#line 598 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
{ NI T64_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw T67_; tyObject_Result__boRRpVtZiavTOVxdbLbJiQ T68_; NimStringDesc* T69_;
|
|
|
|
#line 598 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 598 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 598 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 598 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
T64_ = (NI)0; T64_ = readArray__yPn5OHboFYLvokx7r0rDRwvbuffer((&vb.data), data_1->data, (data_1 ? data_1->Sup.len : 0)); if (!!((T64_ == proto.size))) goto LA65_;
|
|
|
|
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
chckNil((void*)(&addrPart)); nimZeroMem((void*)(&addrPart), sizeof(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw)); addrPart.o = NIM_FALSE; addrPart._o_1.e = copyString(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_84));
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
nimZeroMem((void*)(&T67_), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); get__uDh0g83qpDAEeI1BpCs9asQ_2results(addrPart, (&T67_));
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T68_), sizeof(tyObject_Result__boRRpVtZiavTOVxdbLbJiQ)); protoName__io8uUTIBldXhbmEH0aPvUw(T67_, (&T68_));
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
T69_ = (NimStringDesc*)0; T69_ = get__Xn5cqI9auUqogQkF2ddcFkQresults(T68_); if (eqStrings(T69_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_66))) goto LA70_; if (eqStrings(T69_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_67))) goto LA70_; if (eqStrings(T69_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_68))) goto LA71_; if (eqStrings(T69_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_69))) goto LA72_; goto LA73_;
|
|
|
|
LA70_: ;
|
|
|
|
{
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&ipPart));
|
|
|
|
}
|
|
|
|
goto LA74_;
|
|
|
|
LA71_: ;
|
|
|
|
{
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&tcpPart));
|
|
|
|
}
|
|
|
|
goto LA74_;
|
|
|
|
LA72_: ;
|
|
|
|
{
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&p2pPart));
|
|
|
|
}
|
|
|
|
goto LA74_;
|
|
|
|
LA73_: ;
|
|
|
|
{ }
|
|
|
|
LA74_: ;
|
|
|
|
}
|
|
|
|
LA65_: ;
|
|
|
|
|
|
|
|
#line 601 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 601 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
writeVarint__Z9cWX2313hWAaF9bdWMVmaXw((&res.data), header);
|
|
|
|
|
|
|
|
#line 602 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 602 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
writeArray__A8HGKnF0m9c9bRXJoGSwCunA((&res.data), data_1->data, (data_1 ? data_1->Sup.len : 0));
|
|
|
|
}
|
|
|
|
goto LA41_;
|
|
|
|
LA60_: ;
|
|
|
|
{
|
|
|
|
#line 603 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
if (!((12 &(1U<<((NU)(proto.kind)&7U)))!=0)) goto LA80_;
|
|
|
|
|
|
|
|
#line 604 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
{ NI T84_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw T87_; tyObject_Result__boRRpVtZiavTOVxdbLbJiQ T88_; NimStringDesc* T89_;
|
|
|
|
#line 604 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 604 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 604 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
T84_ = (NI)0; T84_ = readSeq__L38SlvWA7v89coQy5h9cWgHAvbuffer((&vb.data), (&data_1)); if (!(T84_ == ((NI) -1))) goto LA85_;
|
|
|
|
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
chckNil((void*)(&addrPart)); nimZeroMem((void*)(&addrPart), sizeof(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw)); addrPart.o = NIM_FALSE; addrPart._o_1.e = copyString(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_84));
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
nimZeroMem((void*)(&T87_), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); get__uDh0g83qpDAEeI1BpCs9asQ_2results(addrPart, (&T87_));
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T88_), sizeof(tyObject_Result__boRRpVtZiavTOVxdbLbJiQ)); protoName__io8uUTIBldXhbmEH0aPvUw(T87_, (&T88_));
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
T89_ = (NimStringDesc*)0; T89_ = get__Xn5cqI9auUqogQkF2ddcFkQresults(T88_); if (eqStrings(T89_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_66))) goto LA90_; if (eqStrings(T89_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_67))) goto LA90_; if (eqStrings(T89_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_68))) goto LA91_; if (eqStrings(T89_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_69))) goto LA92_; goto LA93_;
|
|
|
|
LA90_: ;
|
|
|
|
{
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&ipPart));
|
|
|
|
}
|
|
|
|
goto LA94_;
|
|
|
|
LA91_: ;
|
|
|
|
{
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&tcpPart));
|
|
|
|
}
|
|
|
|
goto LA94_;
|
|
|
|
LA92_: ;
|
|
|
|
{
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&p2pPart));
|
|
|
|
}
|
|
|
|
goto LA94_;
|
|
|
|
LA93_: ;
|
|
|
|
{ }
|
|
|
|
LA94_: ;
|
|
|
|
}
|
|
|
|
LA85_: ;
|
|
|
|
|
|
|
|
#line 607 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 607 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
writeVarint__Z9cWX2313hWAaF9bdWMVmaXw((&res.data), header);
|
|
|
|
|
|
|
|
#line 608 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 608 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
writeSeq__A8HGKnF0m9c9bRXJoGSwCunA_2((&res.data), data_1->data, (data_1 ? data_1->Sup.len : 0));
|
|
|
|
}
|
|
|
|
goto LA41_;
|
|
|
|
LA80_: ;
|
|
|
|
{
|
|
|
|
#line 609 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
if (!(proto.kind == ((tyEnum_MAKind__BSClBCEvjjaROfPqsXFsjg) 4))) goto LA100_;
|
|
|
|
|
|
|
|
#line 610 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 610 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
writeVarint__Z9cWX2313hWAaF9bdWMVmaXw((&res.data), header);
|
|
|
|
}
|
|
|
|
goto LA41_;
|
|
|
|
LA100_: ;
|
|
|
|
LA41_: ;
|
|
|
|
|
|
|
|
#line 611 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
|
|
|
|
#line 611 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/multiaddress.nim"
|
|
|
|
finish__v4aEtSQRNWYAfIk4zF8a0w((&res.data));
|
|
|
|
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
chckNil((void*)(&addrPart)); nimZeroMem((void*)(&addrPart), sizeof(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw)); addrPart.o = NIM_TRUE; genericSeqAssign((&addrPart._o_2.v.data.buffer), res.data.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); addrPart._o_2.v.data.offset = res.data.offset;
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
nimZeroMem((void*)(&T102_), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); get__uDh0g83qpDAEeI1BpCs9asQ_2results(addrPart, (&T102_));
|
|
|
|
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T103_), sizeof(tyObject_Result__boRRpVtZiavTOVxdbLbJiQ)); protoName__io8uUTIBldXhbmEH0aPvUw(T102_, (&T103_));
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
T104_ = (NimStringDesc*)0; T104_ = get__Xn5cqI9auUqogQkF2ddcFkQresults(T103_); if (eqStrings(T104_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_66))) goto LA105_; if (eqStrings(T104_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_67))) goto LA105_; if (eqStrings(T104_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_68))) goto LA106_; if (eqStrings(T104_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_69))) goto LA107_; goto LA108_;
|
|
|
|
LA105_: ;
|
|
|
|
{
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&ipPart));
|
|
|
|
}
|
|
|
|
goto LA109_;
|
|
|
|
LA106_: ;
|
|
|
|
{
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&tcpPart));
|
|
|
|
}
|
|
|
|
goto LA109_;
|
|
|
|
LA107_: ;
|
|
|
|
{
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
tryGet__uDh0g83qpDAEeI1BpCs9asQresults(addrPart, (&p2pPart));
|
|
|
|
}
|
|
|
|
goto LA109_;
|
|
|
|
LA108_: ;
|
|
|
|
{ }
|
|
|
|
LA109_: ;
|
|
|
|
}
|
|
|
|
} LA3: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)(&T114_), sizeof(tyObject_Result__boRRpVtZiavTOVxdbLbJiQ)); toString__Rh7bO32Spv9aEZFJRfbQWKw(p2pPart, (&T114_));
|
|
|
|
|
|
|
|
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
T115_ = (NimStringDesc*)0; T115_ = get__Xn5cqI9auUqogQkF2ddcFkQresults(T114_);
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
T116_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; T116_ = nsuSplitString(T115_, ((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_87), ((NI) -1));
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
peerIdStr = X5BX5D___j0Z1d16G1eC5eFkDa00ZFwsystem(T116_->data, (T116_ ? T116_->Sup.len : 0), ((NI) 1)); nimZeroMem((void*)(&wireAddr), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw));
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
amp___4VlBo2fxt5d2s33l2gTNXw(ipPart, tcpPart, (&wireAddr));
|
|
|
|
|
|
|
|
#line 37 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
{ NIM_BOOL T119_; tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* T122_; NimStringDesc* T123_;
|
|
|
|
#line 37 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 37 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 37 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
T119_ = (NIM_BOOL)0; T119_ = isWire__m4nM0zZqadP7VrTIHWeRpw_2(wireAddr); if (!!(T119_)) goto LA120_;
|
|
|
|
T122_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)0; T122_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*) newObj((&NTI__Ie1m0dv1ZHg72IgPRr1cDw_), sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw)); (*T122_).Sup.Sup.Sup.m_type = (&NTI__yoNlBGx0D2tRizIdhQuENw_); (*T122_).Sup.Sup.name = "ValueError"; T123_ = (NimStringDesc*)0; T123_ = (*T122_).Sup.Sup.message; (*T122_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__p35GHbcMC1LdaVoXA1s7gQ_88)); if (T123_) nimGCunrefNoCycle(T123_); asgnRef((void**) (&(*T122_).Sup.Sup.parent), NIM_NIL);
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
raiseExceptionEx((Exception*)T122_, "ValueError", "parsePeerInfo", "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim", 38); }
|
|
|
|
LA120_: ;
|
|
|
|
|
|
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
|
|
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
nimZeroMem((void*)T124_, sizeof(tyArray__qWKwCyVMYTcWeN50TZdbAQ)); genericSeqAssign((&T124_[0].data.buffer), wireAddr.data.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); T124_[0].data.offset = wireAddr.data.offset; nimZeroMem((void*)T125_, sizeof(tyArray__8ZvwQIddfpj2THRVPsFzIQ));
|
|
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/waku/v2/utils/peers.nim"
|
|
|
|
result = init__05wj2M9aqChEsORKqJNujYA(peerIdStr, T124_, 1, T125_, 0); goto BeforeRet_;
|
|
|
|
}BeforeRet_: ;
|
|
|
|
return result;}
|