mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-28 15:46:33 +00:00
2654 lines
178 KiB
C
2654 lines
178 KiB
C
/* Generated by Nim Compiler v1.2.6 */
|
|
/* (c) 2020 Andreas Rumpf */
|
|
/* The generated code is subject to the original license. */
|
|
/* Compiled for: Linux, amd64, gcc */
|
|
/* Command for C compiler:
|
|
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/v1/node -o nimcache/release/start_network/@m..@s..@s..@svendor@snim-chronos@schronos@sasyncloop.nim.c.o nimcache/release/start_network/@m..@s..@s..@svendor@snim-chronos@schronos@sasyncloop.nim.c */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#include <signal.h>
|
|
#include <setjmp.h>
|
|
#include <sys/types.h>
|
|
#include <pthread.h>
|
|
#include <string.h>
|
|
#include <time.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_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef struct tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ;
|
|
typedef struct RootObj RootObj;
|
|
typedef struct tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g;
|
|
typedef struct tySequence__1NTQzTCcFfRb3vxE0NIfzQ tySequence__1NTQzTCcFfRb3vxE0NIfzQ;
|
|
typedef struct tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg;
|
|
typedef struct tySequence__qkV9cggxceO9cpfUWIbCnvJg tySequence__qkV9cggxceO9cpfUWIbCnvJg;
|
|
typedef struct tyObject_Table__TE5saucQBAeG7QXcN7Ilrw tyObject_Table__TE5saucQBAeG7QXcN7Ilrw;
|
|
typedef struct tySequence__DVX7Q9bz5RokjTwKGr5e9blQ tySequence__DVX7Q9bz5RokjTwKGr5e9blQ;
|
|
typedef struct tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg;
|
|
typedef struct tyObject_Moment__p19adwOigsIe5d3NlfPJOEw tyObject_Moment__p19adwOigsIe5d3NlfPJOEw;
|
|
typedef struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw;
|
|
typedef struct tyTuple__JfHvHzMrhKkWAUvQKe0i1A tyTuple__JfHvHzMrhKkWAUvQKe0i1A;
|
|
typedef struct tyObject_Env_asyncloopdotnim___diB2NTuAIWY0FO9c5IUJRGg tyObject_Env_asyncloopdotnim___diB2NTuAIWY0FO9c5IUJRGg;
|
|
typedef struct tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew;
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA;
|
|
typedef struct tySequence__y49cN20s5zoVYjuG5v5eVyg tySequence__y49cN20s5zoVYjuG5v5eVyg;
|
|
typedef struct tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww;
|
|
typedef struct tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw;
|
|
typedef struct tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw;
|
|
typedef struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw;
|
|
typedef struct tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg;
|
|
typedef struct Exception Exception;
|
|
typedef struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA;
|
|
typedef struct tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww;
|
|
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
|
|
typedef struct TSafePoint TSafePoint;
|
|
typedef struct tySequence__iPL3rW9a9bV9cIzaXekL6AsDg tySequence__iPL3rW9a9bV9cIzaXekL6AsDg;
|
|
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_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew;
|
|
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
|
|
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
|
|
typedef struct tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw;
|
|
typedef struct tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg;
|
|
typedef struct tyObject_IndexError__K39aEGuwNdydKn2WFEpUygg tyObject_IndexError__K39aEGuwNdydKn2WFEpUygg;
|
|
typedef struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw;
|
|
typedef struct tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ;
|
|
typedef struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q;
|
|
typedef struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA;
|
|
typedef struct tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw;
|
|
typedef struct tyTuple__rf9cosFcsB69bhAjFlgJVJww tyTuple__rf9cosFcsB69bhAjFlgJVJww;
|
|
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
|
|
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;
|
|
};
|
|
struct RootObj {TNimType* m_type;};
|
|
struct tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g {tySequence__1NTQzTCcFfRb3vxE0NIfzQ* data;
|
|
};
|
|
struct tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg {tySequence__qkV9cggxceO9cpfUWIbCnvJg* data;
|
|
NI head;
|
|
NI tail;
|
|
NI count;
|
|
NI mask;
|
|
};
|
|
struct tyObject_Table__TE5saucQBAeG7QXcN7Ilrw {tySequence__DVX7Q9bz5RokjTwKGr5e9blQ* data;
|
|
NI counter;
|
|
};
|
|
struct tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ { RootObj Sup;tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g timers;
|
|
tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg callbacks;
|
|
tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg idlers;
|
|
tyObject_Table__TE5saucQBAeG7QXcN7Ilrw trackers;
|
|
};
|
|
struct tyObject_Moment__p19adwOigsIe5d3NlfPJOEw {NI64 value;
|
|
};
|
|
typedef struct {
|
|
N_NIMCALL_PTR(void, ClP_0) (void* arg, void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__9bqx36VxQxXejdrF09bFARDQ;
|
|
struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw {tyProc__9bqx36VxQxXejdrF09bFARDQ function;
|
|
void* udata;
|
|
};
|
|
struct tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg {tyObject_Moment__p19adwOigsIe5d3NlfPJOEw finishAt;
|
|
tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw function;
|
|
};
|
|
struct tyTuple__JfHvHzMrhKkWAUvQKe0i1A {
|
|
void* Field0;
|
|
tyObject_Env_asyncloopdotnim___diB2NTuAIWY0FO9c5IUJRGg* Field1;
|
|
};
|
|
struct TGenericSeq {NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
typedef struct {
|
|
N_NIMCALL_PTR(NimStringDesc*, ClP_0) (void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__qC39cAonBOZL0cZZ5vavbcQ;
|
|
typedef struct {
|
|
N_NIMCALL_PTR(NIM_BOOL, ClP_0) (void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__xdLb0cyzx3FuM6Q4NnRTpQ;
|
|
struct tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew { RootObj Sup;NimStringDesc* id;
|
|
tyProc__qC39cAonBOZL0cZZ5vavbcQ dump;
|
|
tyProc__xdLb0cyzx3FuM6Q4NnRTpQ isLeaked;
|
|
};
|
|
struct tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw { tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ Sup;tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* selector;
|
|
tySequence__y49cN20s5zoVYjuG5v5eVyg* keys;
|
|
};
|
|
struct tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw {int fd;
|
|
void* udata;
|
|
};
|
|
struct tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww {tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw reader;
|
|
tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw rdata;
|
|
tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw writer;
|
|
tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw wdata;
|
|
};
|
|
typedef NU32 tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg;
|
|
struct tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw {NI fd;
|
|
tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg events;
|
|
NI32 errorCode;
|
|
};
|
|
typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
|
|
typedef N_NOCONV_PTR(void, tyProc__lfH2drpqP9aSEAAjWgrYv8Q) (int x);
|
|
typedef tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* tyArray__06L8jjfbunFPxVliYUVjmQ[2];
|
|
typedef NU8 tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA;
|
|
struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw { RootObj Sup;tyArray__06L8jjfbunFPxVliYUVjmQ location;
|
|
tySequence__qkV9cggxceO9cpfUWIbCnvJg* callbacks;
|
|
tyProc__9bqx36VxQxXejdrF09bFARDQ cancelcb;
|
|
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* child;
|
|
tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA state;
|
|
Exception* error;
|
|
NIM_BOOL mustCancel;
|
|
NI id;
|
|
};
|
|
struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;};
|
|
struct tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;NI value;
|
|
};
|
|
struct Exception { RootObj Sup;Exception* parent;
|
|
NCSTRING name;
|
|
NimStringDesc* message;
|
|
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
|
|
Exception* up;
|
|
};
|
|
typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25];
|
|
struct TSafePoint {TSafePoint* prev;
|
|
NI status;
|
|
jmp_buf context;
|
|
};
|
|
struct tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA {int epollFD;
|
|
NI maxFD;
|
|
NI numFD;
|
|
tySequence__iPL3rW9a9bV9cIzaXekL6AsDg* fds;
|
|
NI count;
|
|
};
|
|
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_Defect__LbeSGvgPzGzXnW9caIkJqMA { Exception Sup;};
|
|
struct tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew { Exception Sup;};
|
|
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
|
|
struct tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw {NI64 value;
|
|
};
|
|
struct tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg {NI ident;
|
|
tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg events;
|
|
NI param;
|
|
tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww data;
|
|
};
|
|
typedef NU8 tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg;
|
|
struct tyObject_IndexError__K39aEGuwNdydKn2WFEpUygg { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;};
|
|
typedef N_CLOSURE_PTR(void, TM__xRflM5lMv4YvZq7gOUBMew_32) (void* arg);
|
|
struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
|
|
struct tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg {NCSTRING procedure;
|
|
NCSTRING file;
|
|
NI line;
|
|
};
|
|
struct tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* cause;
|
|
};
|
|
struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
|
|
struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA { tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q Sup;};
|
|
struct tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw { RootObj Sup;NI colonstate_;
|
|
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future1;
|
|
};
|
|
struct tyTuple__rf9cosFcsB69bhAjFlgJVJww {
|
|
NI Field0;
|
|
NimStringDesc* Field1;
|
|
tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew* Field2;
|
|
};
|
|
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
|
|
NI line;
|
|
NCSTRING filename;
|
|
};
|
|
struct tySequence__y49cN20s5zoVYjuG5v5eVyg { TGenericSeq Sup; tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw data[SEQ_DECL_SIZE];};struct tySequence__iPL3rW9a9bV9cIzaXekL6AsDg { TGenericSeq Sup; tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg data[SEQ_DECL_SIZE];};struct tySequence__qkV9cggxceO9cpfUWIbCnvJg { TGenericSeq Sup; tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw data[SEQ_DECL_SIZE];};struct tySequence__1NTQzTCcFfRb3vxE0NIfzQ { TGenericSeq Sup; tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* data[SEQ_DECL_SIZE];};struct tySequence__DVX7Q9bz5RokjTwKGr5e9blQ { TGenericSeq Sup; tyTuple__rf9cosFcsB69bhAjFlgJVJww data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
|
|
static N_NIMCALL(void, Marker_tyRef__ED0EOsvBy9btMwgApDxfjNQ)(void* p, NI op);
|
|
static N_NIMCALL(void, Marker_tyRef__Eq0quIPkR6mosgZ9aNjFQ3g)(void* p, NI op);
|
|
static N_NIMCALL(void, Marker_tySequence__y49cN20s5zoVYjuG5v5eVyg)(void* p, NI op);
|
|
static N_NIMCALL(void, Marker_tyRef__xsIzb6EDNuJQE2KHY8fPTQ)(void* p, NI op);
|
|
static N_NIMCALL(void, TM__xRflM5lMv4YvZq7gOUBMew_12)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimRegisterThreadLocalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
|
|
N_LIB_PRIVATE N_NIMCALL(void, globalInit__YNjd8fE6xG8CRNwfLnrx0g)(void);
|
|
static N_NIMCALL(void, Marker_tyRef__Oe5U64nDSwOh3KlTzM9b9c7g)(void* p, NI op);
|
|
static N_NIMCALL(void, Marker_tyRef__wrhe6hYHoM2gc8EiW0lE6Q)(void* p, NI op);
|
|
static N_INLINE(NIM_BOOL, finished__zG9aYJmqgA5EsuZk70NI3ugasyncloop)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* future);
|
|
N_LIB_PRIVATE N_NIMCALL(void, poll__YNjd8fE6xG8CRNwfLnrx0g_2)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*, getThreadDispatcher__lgRtqLk4m6rDq09bC9cTnFsw)(void);
|
|
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*, newDispatcher__lgRtqLk4m6rDq09bC9cTnFsw_2)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA*, newSelector__jafMlDV4ZKvuJjquPHA18g)(void);
|
|
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);
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
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);
|
|
N_LIB_PRIVATE N_NIMCALL(void, initHeapQueue__cKBj0b2B2OTVQ9cARn02WuA)(tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, initDeque__eNopXBc6yGdEwhXbsLRvFg)(NI initialSize, tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__y49cN20s5zoVYjuG5v5eVyg*, newSeq__kIT68olcC9cTw3kb69bbkn9bg)(NI len);
|
|
N_LIB_PRIVATE N_NIMCALL(void, initTable__U3F8QFLqKhRx2igTYOYzbg)(NI initialSize, tyObject_Table__TE5saucQBAeG7QXcN7Ilrw* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, initAPI__7u4ttPMFS9bXAAOCkdQfEwQ)(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* disp);
|
|
static N_INLINE(void, popSafePoint)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
|
|
static N_INLINE(Exception*, nimBorrowCurrentException)(void);
|
|
static N_INLINE(Exception*, getCurrentException)(void);
|
|
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
|
|
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
|
|
static N_INLINE(void, popCurrentException)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, setThreadDispatcher__7u4ttPMFS9bXAAOCkdQfEwQ_2)(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* disp);
|
|
static N_INLINE(NI, len__8mt46CM2Ekqx9bPSSEe9aIpQdeques)(tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg* deq);
|
|
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
|
|
static N_INLINE(tyObject_Moment__p19adwOigsIe5d3NlfPJOEw, now__mCajdQHw9bYnr8G34j9c2hagtimer)(void);
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
|
|
static N_INLINE(NU64, fastEpochTimeNano__zu4zzNx2HJIoIgQ9bSEK8Zwtimer)(void);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
|
static N_INLINE(NI, len__TGrDBpR3dFXYmSlNuxAfWAheapqueue)(tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g heap);
|
|
static N_INLINE(tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*, X5BX5D___pUFW4FSLKtb8EGv9c3Z1vYQheapqueue)(tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g heap, NI i);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*, pop__W69bkDeQ4NXaEoohIq2Pafw)(tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g* heap);
|
|
static N_INLINE(NIM_BOOL, lt___QNBMwDJVuJUeFFKiVHrUsgtimer)(tyObject_Moment__p19adwOigsIe5d3NlfPJOEw a, tyObject_Moment__p19adwOigsIe5d3NlfPJOEw b);
|
|
N_LIB_PRIVATE N_NIMCALL(void, addLast__BmH22wFYMijisG09bK9aONZA)(tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg* deq, tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw item);
|
|
static N_INLINE(NI32, getAsyncTimestamp__ycFD7OB19c4K9bHJwZgDHthAasyncloop)(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw a);
|
|
static N_INLINE(NI64, nanoseconds__88N0v0UmPJVCc226s6v6WQtimer)(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw v);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseDivByZero)(void);
|
|
static N_INLINE(NIM_BOOL, nimDivInt64)(NI64 a, NI64 b, NI64* res);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
static N_INLINE(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw, minus___XKInQJSWS19bkkORt3tkfTQtimer)(tyObject_Moment__p19adwOigsIe5d3NlfPJOEw a, tyObject_Moment__p19adwOigsIe5d3NlfPJOEw b);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, selectInto__g9bC709by87fZZEElpoIiY9aQ)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI timeout, tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw* results, NI resultsLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, raiseIOSelectorsError__DsOWi00vXgEmCXwnjpsJhw)(NimStringDesc* message);
|
|
static N_INLINE(void, stareq___ogcC1Md4c289bEhAZWpmZUwsystem)(NI* x, NI y);
|
|
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
|
|
static N_INLINE(NIM_BOOL, contains__OZFzGZer6mx0buZiLTnhyQselectors)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI fd);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww*, getData__eQNlkfRqy3U9bSizZjte5dQ)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI fd);
|
|
static N_INLINE(void, popFirst__1uZ9ai5kDv3IJvdGNL5HR5wdeques)(tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg* deq, tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
|
|
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, reset__SjFE49coIHK11oysojpl5Xw)(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw* obj);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, read__Rx3nj8gtvFj4KcnM5gHRxw)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* future);
|
|
N_LIB_PRIVATE N_NIMCALL(void, internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* fut);
|
|
static N_INLINE(NI, internalRead__tDzla8LzpgEYGNUuhS9c59cgasyncloop)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* fut);
|
|
static N_NIMCALL(void, Marker_tyRef__k6jrF8Gn9aPHVK4XfXeNIMg)(void* p, NI op);
|
|
static N_INLINE(NIM_BOOL, cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future);
|
|
N_LIB_PRIVATE N_NIMCALL(void, checkFinished__1MGH5bJdQgBtESf3VBBOvA)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
|
|
static N_INLINE(NIM_BOOL, finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___N9bkaCXs5mz9c4Fw2myVDlNw)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
|
|
static N_NIMCALL(void, Marker_tyRef__r51VZ54Di9b6hoKoHVERbpQ)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(void, finish__dphu7GX35W3GNSG3a7E1hQ)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* fut, tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA state);
|
|
N_LIB_PRIVATE N_NIMCALL(void, callSoon__4NUESfrjuhPGK4nZ9cf8Bxw)(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw acb);
|
|
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
|
|
static N_NIMCALL(void, Marker_tyRef__paaBQT4pyImJiuEdGp60qA)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(void, callSoon__w2pfZU5T9bqj7q0pxrU9ckZw)(tyProc__9bqx36VxQxXejdrF09bFARDQ cbproc, void* data);
|
|
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
|
|
static N_INLINE(NIM_BOOL, finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future);
|
|
N_LIB_PRIVATE N_NIMCALL(void, read__53lAB5vkCXFZ1ApuF7Pzkg)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future);
|
|
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut);
|
|
static N_NIMCALL(void, Marker_tyRef__bS9a8GSxZWqcdqiC47YMqnw)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(void, callbackeq___aTxUhkOixq78pMEm3x5jfA)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb);
|
|
N_LIB_PRIVATE N_NIMCALL(void, callbackeq___QeHWXKbDl8k58l1wtsnOOw_2)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb, void* udata);
|
|
N_LIB_PRIVATE N_NIMCALL(void, clearCallbacks__x3uYE03w2xBr6D89bLBZFiw)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future);
|
|
N_LIB_PRIVATE N_NIMCALL(void, addCallback__QeHWXKbDl8k58l1wtsnOOw)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb, void* udata);
|
|
N_LIB_PRIVATE N_CLOSURE(void, cb__j3kbYmg9aEcBLYpjJk7vFKw)(void* data, void* ClE_0);
|
|
static N_INLINE(NIM_BOOL, failed__JXDwCFE0FKiFPAKUUjgdVg_3asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future);
|
|
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
|
|
N_LIB_PRIVATE TNimType NTI__10VnwF9ac9cfzBseLeIJlicQ_;
|
|
N_LIB_PRIVATE TNimType NTI__6iVKh5lmJXxGN5aEgyB0Rg_;
|
|
extern TNimType NTI__p19adwOigsIe5d3NlfPJOEw_;
|
|
N_LIB_PRIVATE TNimType NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_;
|
|
N_LIB_PRIVATE TNimType NTI__9bqx36VxQxXejdrF09bFARDQ_;
|
|
extern TNimType NTI__vr5DoT1jILTGdRlYv1OYpw_;
|
|
extern TNimType NTI__HsJiUUcO9cHBdUCi0HwkSTA_;
|
|
N_LIB_PRIVATE TNimType NTI__ED0EOsvBy9btMwgApDxfjNQ_;
|
|
extern TNimType NTI__WyEcSLXuBvf9bdu5FRrK11g_;
|
|
extern TNimType NTI__Unr50Gh9cO6Nu9aGjQlC1wKg_;
|
|
N_LIB_PRIVATE TNimType NTI__yeNWyBBtRWZa5bRgjiglew_;
|
|
extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_;
|
|
N_LIB_PRIVATE TNimType NTI__qC39cAonBOZL0cZZ5vavbcQ_;
|
|
N_LIB_PRIVATE TNimType NTI__xdLb0cyzx3FuM6Q4NnRTpQ_;
|
|
N_LIB_PRIVATE TNimType NTI__Eq0quIPkR6mosgZ9aNjFQ3g_;
|
|
extern TNimType NTI__TE5saucQBAeG7QXcN7Ilrw_;
|
|
N_LIB_PRIVATE TNimType NTI__s2pCH3uE89b6sxQH9c9cKCrAw_;
|
|
N_LIB_PRIVATE TNimType NTI__bCtwor9caPGFc9ccCxVlW5Ww_;
|
|
N_LIB_PRIVATE TNimType NTI__EBfvX747tMGQ0twDQltLkw_;
|
|
extern TNimType NTI__nlCscttRCss70IBTyuBqnA_;
|
|
extern TNimType NTI__HhFgDyQdqUwF69cxqPVsT8w_;
|
|
extern TNimType NTI__vOvPQEijZeFv1xAgbh5rNw_;
|
|
N_LIB_PRIVATE TNimType NTI__y49cN20s5zoVYjuG5v5eVyg_;
|
|
N_LIB_PRIVATE TNimType NTI__xsIzb6EDNuJQE2KHY8fPTQ_;
|
|
N_LIB_PRIVATE TNimType NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_;
|
|
extern TNimType NTI__lQEEtueHjH1gvaG8ApPKNQ_;
|
|
N_LIB_PRIVATE TNimType NTI__06L8jjfbunFPxVliYUVjmQ_;
|
|
extern TNimType NTI__qkV9cggxceO9cpfUWIbCnvJg_;
|
|
N_LIB_PRIVATE TNimType NTI__Oe5U64nDSwOh3KlTzM9b9c7g_;
|
|
N_LIB_PRIVATE TNimType NTI__WzRzKRS6S9aqphI4AiMjRNA_;
|
|
extern TNimType NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_;
|
|
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
|
|
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
|
|
N_LIB_PRIVATE TNimType NTI__GXFSekg1U8JRoedGa2vBSA_;
|
|
N_LIB_PRIVATE TNimType NTI__wrhe6hYHoM2gc8EiW0lE6Q_;
|
|
extern TNimType NTI__QyK3XdhgwEegLQs5Yj3Vew_;
|
|
extern TNimType NTI__9bC8XA2C9bDqWk9bNsia3gaLQ_;
|
|
extern TNimType NTI__LbeSGvgPzGzXnW9caIkJqMA_;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_18, "Cannot create thread dispatcher: ", 33);
|
|
extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_19, "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncloop.nim(748, 14) `gDisp.callbacks.len == 0` ", 113);
|
|
static NIM_CONST tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw TM__xRflM5lMv4YvZq7gOUBMew_20 = {IL64(1000000)}
|
|
;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_25, "Maximum number of descriptors is exhausted!", 43);
|
|
extern TNimType NTI__iPL3rW9a9bV9cIzaXekL6AsDg_;
|
|
extern TNimType NTI__9bTGS9b5gqA3m1IgV71Csl0Q_;
|
|
extern TNimType NTI__K39aEGuwNdydKn2WFEpUygg_;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_29, "Empty deque.", 12);
|
|
extern TNimType NTI__Ie1m0dv1ZHg72IgPRr1cDw_;
|
|
extern TNimType NTI__yoNlBGx0D2tRizIdhQuENw_;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_34, "Future still in progress.", 25);
|
|
N_LIB_PRIVATE TNimType NTI__mbFzZshcwr2hqxBavvwQww_;
|
|
extern TNimType NTI__hLlQjbV9bLNq5PFxYcqacsA_;
|
|
N_LIB_PRIVATE TNimType NTI__k6jrF8Gn9aPHVK4XfXeNIMg_;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_36, "An attempt was made to complete a Future more than once. ", 57);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_37, "Details:", 8);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_38, "\012 Future ID: ", 14);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_39, "\012 Creation location:", 21);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_40, "\012 ", 5);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_41, "\012 First completion location:", 29);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_42, "\012 Second completion location:", 30);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_43, "\012\012", 2);
|
|
N_LIB_PRIVATE TNimType NTI__mSbB19aofqUR43DuDIwZNdQ_;
|
|
N_LIB_PRIVATE TNimType NTI__r51VZ54Di9b6hoKoHVERbpQ_;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_44, "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim(231, 13) `isNil(future.error)` ", 112);
|
|
static NIM_CONST tyProc__9bqx36VxQxXejdrF09bFARDQ TM__xRflM5lMv4YvZq7gOUBMew_45 = {NIM_NIL,NIM_NIL};
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_47, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
"vendor/Nim/lib/system/iterators.nim(198, 11) `len(a) == L` the l"
|
|
"ength of the seq changed while iterating over it", 175);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_48, "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim(242, 13) `isNil(future.error)` ", 112);
|
|
N_LIB_PRIVATE TNimType NTI__EUoRp7OBZg41PuLzH7xC8Q_;
|
|
N_LIB_PRIVATE TNimType NTI__REH9aBNkNbeLkDu8Z1q6BeA_;
|
|
N_LIB_PRIVATE TNimType NTI__paaBQT4pyImJiuEdGp60qA_;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_50, "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim(344, 11) `not isNil(cb)` ", 106);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_51, "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncloop.nim(839, 11) `not isNil(cbproc)` ", 106);
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_52, "Future operation cancelled!", 27);
|
|
N_LIB_PRIVATE TNimType NTI__ljJq46SgY0d6nRTtFliXCw_;
|
|
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
|
|
N_LIB_PRIVATE TNimType NTI__bS9a8GSxZWqcdqiC47YMqnw_;
|
|
STRING_LITERAL(TM__xRflM5lMv4YvZq7gOUBMew_54, "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim(515, 11) `not isNil(future)` Future is nil", 123);
|
|
N_LIB_PRIVATE NIM_THREADVAR tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* gDisp__ZPO0AmQyBgd9aXKOMpPavNQ;
|
|
extern TNimType* nimTypeRoot;
|
|
N_LIB_PRIVATE NIM_THREADVAR NI currentID__XWbW109cXgfrS2FFB1ToWAQ;
|
|
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
|
|
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
|
|
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
|
|
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
|
|
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
|
|
static N_NIMCALL(void, Marker_tyRef__ED0EOsvBy9btMwgApDxfjNQ)(void* p, NI op) {
|
|
tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* a;
|
|
a = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)p;
|
|
nimGCvisit((void*)(*a).function.function.ClE_0, op);}
|
|
static N_NIMCALL(void, Marker_tyRef__Eq0quIPkR6mosgZ9aNjFQ3g)(void* p, NI op) {
|
|
tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew* a;
|
|
a = (tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew*)p;
|
|
nimGCvisit((void*)(*a).id, op); nimGCvisit((void*)(*a).dump.ClE_0, op); nimGCvisit((void*)(*a).isLeaked.ClE_0, op);}
|
|
static N_NIMCALL(void, Marker_tySequence__y49cN20s5zoVYjuG5v5eVyg)(void* p, NI op) {
|
|
tySequence__y49cN20s5zoVYjuG5v5eVyg* a;
|
|
NI T1_; a = (tySequence__y49cN20s5zoVYjuG5v5eVyg*)p;
|
|
T1_ = (NI)0;}
|
|
static N_NIMCALL(void, Marker_tyRef__xsIzb6EDNuJQE2KHY8fPTQ)(void* p, NI op) {
|
|
tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* a;
|
|
a = (tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*)p;
|
|
nimGCvisit((void*)(*a).Sup.timers.data, op); nimGCvisit((void*)(*a).Sup.callbacks.data, op); nimGCvisit((void*)(*a).Sup.idlers.data, op); nimGCvisit((void*)(*a).Sup.trackers.data, op); nimGCvisit((void*)(*a).selector, op); nimGCvisit((void*)(*a).keys, op);}
|
|
static N_NIMCALL(void, TM__xRflM5lMv4YvZq7gOUBMew_12)(void) {
|
|
nimGCvisit((void*)gDisp__ZPO0AmQyBgd9aXKOMpPavNQ, 0);}
|
|
|
|
#line 512 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, globalInit__YNjd8fE6xG8CRNwfLnrx0g)(void) {
|
|
#line 514 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 514 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
signal(((int) 13), ((tyProc__lfH2drpqP9aSEAAjWgrYv8Q) 1));
|
|
}
|
|
static N_NIMCALL(void, Marker_tyRef__Oe5U64nDSwOh3KlTzM9b9c7g)(void* p, NI op) {
|
|
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* a;
|
|
NI T1_; a = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)p;
|
|
T1_ = (NI)0; nimGCvisit((void*)(*a).callbacks, op); nimGCvisit((void*)(*a).cancelcb.ClE_0, op); nimGCvisit((void*)(*a).child, op); nimGCvisit((void*)(*a).error, op);}
|
|
static N_NIMCALL(void, Marker_tyRef__wrhe6hYHoM2gc8EiW0lE6Q)(void* p, NI op) {
|
|
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* a;
|
|
NI T1_; a = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)p;
|
|
T1_ = (NI)0; nimGCvisit((void*)(*a).Sup.callbacks, op); nimGCvisit((void*)(*a).Sup.cancelcb.ClE_0, op); nimGCvisit((void*)(*a).Sup.child, op); nimGCvisit((void*)(*a).Sup.error, op);}
|
|
|
|
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
static N_INLINE(NIM_BOOL, finished__zG9aYJmqgA5EsuZk70NI3ugasyncloop)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* future) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = !(((*future).Sup.state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0))); return result;}
|
|
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
|
|
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
(*s).prev = excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
excHandler__rqLlY5bs9atDw2OXYqJEn5g = s;}
|
|
|
|
#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 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 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 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 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 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, initAPI__7u4ttPMFS9bXAAOCkdQfEwQ)(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* disp) {}
|
|
|
|
#line 519 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*, newDispatcher__lgRtqLk4m6rDq09bC9cTnFsw_2)(void) { tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* result; tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* res; tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* T1_; result = (tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*)0;
|
|
#line 520 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 521 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T1_ = (tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*)0; T1_ = (tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*) newObj((&NTI__xsIzb6EDNuJQE2KHY8fPTQ_), sizeof(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw)); (*T1_).Sup.Sup.m_type = (&NTI__s2pCH3uE89b6sxQH9c9cKCrAw_); res = T1_;
|
|
#line 522 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 522 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
asgnRef((void**) (&(*res).selector), newSelector__jafMlDV4ZKvuJjquPHA18g());
|
|
#line 525 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 525 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
initHeapQueue__cKBj0b2B2OTVQ9cARn02WuA((&(*res).Sup.timers));
|
|
|
|
#line 529 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 529 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
initDeque__eNopXBc6yGdEwhXbsLRvFg(((NI) 64), (&(*res).Sup.callbacks));
|
|
|
|
#line 530 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 530 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
initDeque__eNopXBc6yGdEwhXbsLRvFg(((NI) 4), (&(*res).Sup.idlers));
|
|
|
|
#line 531 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 531 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
asgnRef((void**) (&(*res).keys), newSeq__kIT68olcC9cTw3kb69bbkn9bg(((NI) 64)));
|
|
#line 532 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 532 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
initTable__U3F8QFLqKhRx2igTYOYzbg(((NI) 64), (&(*res).Sup.trackers));
|
|
|
|
#line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
initAPI__7u4ttPMFS9bXAAOCkdQfEwQ(res);
|
|
result = res; return result;}
|
|
|
|
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
static N_INLINE(void, popSafePoint)(void) {
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
excHandler__rqLlY5bs9atDw2OXYqJEn5g = (*excHandler__rqLlY5bs9atDw2OXYqJEn5g).prev;}
|
|
|
|
#line 2292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(Exception*, nimBorrowCurrentException)(void) { Exception* result; result = (Exception*)0;
|
|
#line 2295 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
result = currException__9bVPeDJlYTi9bQApZpfH8wjg; return result;}
|
|
|
|
#line 2288 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(Exception*, getCurrentException)(void) { Exception* result; result = (Exception*)0;
|
|
#line 2290 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
result = currException__9bVPeDJlYTi9bQApZpfH8wjg; 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 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
static N_INLINE(void, popCurrentException)(void) {
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), (*currException__9bVPeDJlYTi9bQApZpfH8wjg).up);}
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
static N_INLINE(NI, len__8mt46CM2Ekqx9bPSSEe9aIpQdeques)(tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg* deq) { NI result; result = (NI)0;
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
result = (*deq).count; return result;}
|
|
|
|
#line 745 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, setThreadDispatcher__7u4ttPMFS9bXAAOCkdQfEwQ_2)(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* disp) {
|
|
#line 747 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 747 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 747 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!!((gDisp__ZPO0AmQyBgd9aXKOMpPavNQ == 0))) goto LA3_;
|
|
|
|
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NI T7_;
|
|
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T7_ = (NI)0; T7_ = len__8mt46CM2Ekqx9bPSSEe9aIpQdeques((&(*gDisp__ZPO0AmQyBgd9aXKOMpPavNQ).Sup.callbacks)); if (!!((T7_ == ((NI) 0)))) goto LA8_;
|
|
|
|
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_19));
|
|
}
|
|
LA8_: ;
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 749 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
asgnRef((void**) (&gDisp__ZPO0AmQyBgd9aXKOMpPavNQ), disp);}
|
|
|
|
#line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*, getThreadDispatcher__lgRtqLk4m6rDq09bC9cTnFsw)(void) { tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* result;{ result = (tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*)0;
|
|
#line 756 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* disp; TSafePoint TM__xRflM5lMv4YvZq7gOUBMew_17;
|
|
#line 756 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!(gDisp__ZPO0AmQyBgd9aXKOMpPavNQ == 0)) goto LA3_;
|
|
|
|
#line 764 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 765 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
pushSafePoint(&TM__xRflM5lMv4YvZq7gOUBMew_17); TM__xRflM5lMv4YvZq7gOUBMew_17.status = setjmp(TM__xRflM5lMv4YvZq7gOUBMew_17.context); if (TM__xRflM5lMv4YvZq7gOUBMew_17.status == 0) {
|
|
#line 766 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 766 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
disp = newDispatcher__lgRtqLk4m6rDq09bC9cTnFsw_2(); popSafePoint(); }
|
|
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__QyK3XdhgwEegLQs5Yj3Vew_))) { tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew* exc; Exception* T8_; tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA* T9_; NimStringDesc* T10_; TM__xRflM5lMv4YvZq7gOUBMew_17.status = 0;
|
|
#line 767 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 0 "\?\?\?"
|
|
|
|
#line 0 "\?\?\?"
|
|
T8_ = (Exception*)0; T8_ = getCurrentException(); exc = ((tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew*) (T8_)); T9_ = (tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA*)0; T9_ = (tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA*) newObj((&NTI__9bC8XA2C9bDqWk9bNsia3gaLQ_), sizeof(tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA)); (*T9_).Sup.Sup.m_type = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_); (*T9_).Sup.name = "Defect";
|
|
#line 768 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T10_ = (NimStringDesc*)0; T10_ = rawNewString(((*exc).Sup.message ? (*exc).Sup.message->Sup.len : 0) + 33);appendString(T10_, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_18));appendString(T10_, (*exc).Sup.message); asgnRef((void**) (&(*T9_).Sup.message), T10_); asgnRef((void**) (&(*T9_).Sup.parent), NIM_NIL);
|
|
#line 768 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
raiseExceptionEx((Exception*)T9_, "Defect", "getThreadDispatcher", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncloop.nim", 768); popCurrentException(); }
|
|
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* exc_2; Exception* T12_; tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA* T13_; NimStringDesc* T14_; TM__xRflM5lMv4YvZq7gOUBMew_17.status = 0;
|
|
#line 769 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 0 "\?\?\?"
|
|
|
|
#line 0 "\?\?\?"
|
|
T12_ = (Exception*)0; T12_ = getCurrentException(); exc_2 = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T12_)); T13_ = (tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA*)0; T13_ = (tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA*) newObj((&NTI__9bC8XA2C9bDqWk9bNsia3gaLQ_), sizeof(tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA)); (*T13_).Sup.Sup.m_type = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_); (*T13_).Sup.name = "Defect";
|
|
#line 770 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T14_ = (NimStringDesc*)0; T14_ = rawNewString(((*exc_2).Sup.message ? (*exc_2).Sup.message->Sup.len : 0) + 33);appendString(T14_, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_18));appendString(T14_, (*exc_2).Sup.message); asgnRef((void**) (&(*T13_).Sup.message), T14_); asgnRef((void**) (&(*T13_).Sup.parent), NIM_NIL);
|
|
#line 770 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
raiseExceptionEx((Exception*)T13_, "Defect", "getThreadDispatcher", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncloop.nim", 770); popCurrentException(); }
|
|
}
|
|
if (TM__xRflM5lMv4YvZq7gOUBMew_17.status != 0) reraiseException();
|
|
#line 771 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 771 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
setThreadDispatcher__7u4ttPMFS9bXAAOCkdQfEwQ_2(disp);
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 772 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 772 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
result = gDisp__ZPO0AmQyBgd9aXKOMpPavNQ; goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
|
|
}
|
|
|
|
#line 161 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
static N_INLINE(NU64, fastEpochTimeNano__zu4zzNx2HJIoIgQ9bSEK8Zwtimer)(void) { NU64 result; struct timespec t; int T1_; result = (NU64)0; nimZeroMem((void*)(&t), sizeof(struct timespec));
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
T1_ = (int)0; T1_ = clock_gettime(((int) 1), (&t)); (void)(T1_);
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
result = (NU64)((NU64)((NU64)((NU64)(((NU64) (t.tv_sec))) * (NU64)(1000000000ULL))) + (NU64)(((NU64) (t.tv_nsec)))); return result;}
|
|
|
|
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
static N_INLINE(tyObject_Moment__p19adwOigsIe5d3NlfPJOEw, now__mCajdQHw9bYnr8G34j9c2hagtimer)(void) { tyObject_Moment__p19adwOigsIe5d3NlfPJOEw result; NU64 T1_; nimZeroMem((void*)(&result), sizeof(tyObject_Moment__p19adwOigsIe5d3NlfPJOEw));
|
|
#line 432 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
|
|
#line 432 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
|
|
#line 432 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
T1_ = (NU64)0; T1_ = fastEpochTimeNano__zu4zzNx2HJIoIgQ9bSEK8Zwtimer(); if ((NI64)(T1_) < (IL64(-9223372036854775807) - IL64(1)) || (NI64)(T1_) > IL64(9223372036854775807)){ raiseRangeErrorI(T1_, (IL64(-9223372036854775807) - IL64(1)), IL64(9223372036854775807)); } result.value = ((NI64) (T1_)); return result;}
|
|
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/heapqueue.nim"
|
|
static N_INLINE(NI, len__TGrDBpR3dFXYmSlNuxAfWAheapqueue)(tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g heap) { NI result; NI T1_; result = (NI)0;
|
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/heapqueue.nim"
|
|
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/heapqueue.nim"
|
|
T1_ = (heap.data ? heap.data->Sup.len : 0); result = T1_; return result;}
|
|
|
|
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/heapqueue.nim"
|
|
static N_INLINE(tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*, X5BX5D___pUFW4FSLKtb8EGv9c3Z1vYQheapqueue)(tyObject_HeapQueue__WyEcSLXuBvf9bdu5FRrK11g heap, NI i) { tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* result; result = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0;
|
|
#line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/heapqueue.nim"
|
|
if ((NU)(i) >= (NU)(heap.data ? heap.data->Sup.len : 0)){ raiseIndexError2(i,(heap.data ? heap.data->Sup.len : 0)-1); } result = heap.data->data[i]; return result;}
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
static N_INLINE(NIM_BOOL, lt___QNBMwDJVuJUeFFKiVHrUsgtimer)(tyObject_Moment__p19adwOigsIe5d3NlfPJOEw a, tyObject_Moment__p19adwOigsIe5d3NlfPJOEw b) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
result = (a.value < b.value); return result;}
|
|
|
|
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, lt___yMJ9azman8MdK28t9b89as89bw)(tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* a, tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* b) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
result = lt___QNBMwDJVuJUeFFKiVHrUsgtimer((*a).finishAt, (*b).finishAt); return result;}
|
|
|
|
#line 335 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
static N_INLINE(NI64, nanoseconds__88N0v0UmPJVCc226s6v6WQtimer)(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw v) { NI64 result; result = (NI64)0;
|
|
#line 337 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
result = v.value; return result;}
|
|
|
|
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
static N_INLINE(NIM_BOOL, nimDivInt64)(NI64 a, NI64 b, NI64* res) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
T3_ = (NIM_BOOL)0;
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
T3_ = (a == (IL64(-9223372036854775807) - IL64(1))); if (!(T3_)) goto LA4_;
|
|
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
T3_ = (b == IL64(-1)); LA4_: ;
|
|
if (!T3_) goto LA5_;
|
|
|
|
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
result = NIM_TRUE; }
|
|
goto LA1_;
|
|
LA5_: ;
|
|
{
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
|
|
(*res) = (NI64)(a / b); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
static N_INLINE(NI32, getAsyncTimestamp__ycFD7OB19c4K9bHJwZgDHthAasyncloop)(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw a) { NI32 result; NI64 milsec; NI64 nansec; NI64 res; NI64 TM__xRflM5lMv4YvZq7gOUBMew_21; NI64 mid; NI64 TM__xRflM5lMv4YvZq7gOUBMew_22; NI TM__xRflM5lMv4YvZq7gOUBMew_23; result = (NI32)0;
|
|
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
milsec = nanoseconds__88N0v0UmPJVCc226s6v6WQtimer(TM__xRflM5lMv4YvZq7gOUBMew_20);
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
nansec = nanoseconds__88N0v0UmPJVCc226s6v6WQtimer(a);
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (milsec == 0){ raiseDivByZero(); } if (nimDivInt64(nansec, milsec, &TM__xRflM5lMv4YvZq7gOUBMew_21)) { raiseOverflow(); }; res = (NI64)(TM__xRflM5lMv4YvZq7gOUBMew_21);
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (milsec == 0){ raiseDivByZero(); } if (nimModInt64(nansec, milsec, &TM__xRflM5lMv4YvZq7gOUBMew_22)) { raiseOverflow(); }; mid = (NI64)(TM__xRflM5lMv4YvZq7gOUBMew_22);
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
res = ((((NI64) (((NI32) 2147483646))) <= res) ? ((NI64) (((NI32) 2147483646))) : res);
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
result = ((NI32) (res));
|
|
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (nimAddInt(result, ((((NI32) 1) <= ((NI32) (mid))) ? ((NI32) 1) : ((NI32) (mid))), &TM__xRflM5lMv4YvZq7gOUBMew_23)) { raiseOverflow(); }; if (TM__xRflM5lMv4YvZq7gOUBMew_23 < (-2147483647 -1) || TM__xRflM5lMv4YvZq7gOUBMew_23 > 2147483647){ raiseOverflow(); } result = (NI32)(TM__xRflM5lMv4YvZq7gOUBMew_23); return result;}
|
|
|
|
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
static N_INLINE(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw, minus___XKInQJSWS19bkkORt3tkfTQtimer)(tyObject_Moment__p19adwOigsIe5d3NlfPJOEw a, tyObject_Moment__p19adwOigsIe5d3NlfPJOEw b) { tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw result; nimZeroMem((void*)(&result), sizeof(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw));
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
{ NI64 TM__xRflM5lMv4YvZq7gOUBMew_24;
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
if (!(b.value <= a.value)) goto LA3_;
|
|
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
|
|
if (nimSubInt64(a.value, b.value, &TM__xRflM5lMv4YvZq7gOUBMew_24)) { raiseOverflow(); }; result.value = (NI64)(TM__xRflM5lMv4YvZq7gOUBMew_24); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ result.value = IL64(0); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 496 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
static N_INLINE(void, stareq___ogcC1Md4c289bEhAZWpmZUwsystem)(NI* x, NI y) { NI TM__xRflM5lMv4YvZq7gOUBMew_26;
|
|
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
if (nimMulInt((*x), y, &TM__xRflM5lMv4YvZq7gOUBMew_26)) { raiseOverflow(); }; (*x) = (NI)(TM__xRflM5lMv4YvZq7gOUBMew_26);}
|
|
|
|
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
static N_INLINE(NIM_BOOL, contains__OZFzGZer6mx0buZiLTnhyQselectors)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI fd) { NIM_BOOL result;{ result = (NIM_BOOL)0;
|
|
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
|
|
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
|
|
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
|
|
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
if ((NU)(fd) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(fd,((*s).fds ? (*s).fds->Sup.len : 0)-1); } result = !(((*s).fds->data[fd].ident == ((NI) -1))); goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
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 369 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
static N_INLINE(void, popFirst__1uZ9ai5kDv3IJvdGNL5HR5wdeques)(tyObject_Deque__Unr50Gh9cO6Nu9aGjQlC1wKg* deq, tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw* Result) { NI TM__xRflM5lMv4YvZq7gOUBMew_30; NI TM__xRflM5lMv4YvZq7gOUBMew_31;
|
|
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
{ NIM_BOOL T3_; tyObject_IndexError__K39aEGuwNdydKn2WFEpUygg* T6_; NimStringDesc* T7_;
|
|
#line 2042 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
|
|
#line 2042 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = NIM_UNLIKELY(((*deq).count < ((NI) 1))); if (!T3_) goto LA4_;
|
|
T6_ = (tyObject_IndexError__K39aEGuwNdydKn2WFEpUygg*)0; T6_ = (tyObject_IndexError__K39aEGuwNdydKn2WFEpUygg*) newObj((&NTI__9bTGS9b5gqA3m1IgV71Csl0Q_), sizeof(tyObject_IndexError__K39aEGuwNdydKn2WFEpUygg)); (*T6_).Sup.Sup.Sup.m_type = (&NTI__K39aEGuwNdydKn2WFEpUygg_); (*T6_).Sup.Sup.name = "IndexError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.message; (*T6_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_29)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*T6_).Sup.Sup.parent), NIM_NIL);
|
|
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
raiseExceptionEx((Exception*)T6_, "IndexError", "popFirst", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
"vendor/Nim/lib/pure/collections/deques.nim", 99); }
|
|
LA4_: ;
|
|
|
|
#line 389 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
if (nimSubInt((*deq).count, ((NI) 1), &TM__xRflM5lMv4YvZq7gOUBMew_30)) { raiseOverflow(); }; (*deq).count = (NI)(TM__xRflM5lMv4YvZq7gOUBMew_30);
|
|
#line 390 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
if ((NU)((*deq).head) >= (NU)((*deq).data ? (*deq).data->Sup.len : 0)){ raiseIndexError2((*deq).head,((*deq).data ? (*deq).data->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*Result).function.ClE_0), (*deq).data->data[(*deq).head].function.ClE_0); (*Result).function.ClP_0 = (*deq).data->data[(*deq).head].function.ClP_0; (*Result).udata = (*deq).data->data[(*deq).head].udata;
|
|
#line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
if ((NU)((*deq).head) >= (NU)((*deq).data ? (*deq).data->Sup.len : 0)){ raiseIndexError2((*deq).head,((*deq).data ? (*deq).data->Sup.len : 0)-1); }
|
|
#line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
reset__SjFE49coIHK11oysojpl5Xw((&(*deq).data->data[(*deq).head]));
|
|
|
|
#line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
|
|
#line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
|
|
#line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
|
|
if (nimAddInt((*deq).head, ((NI) 1), &TM__xRflM5lMv4YvZq7gOUBMew_31)) { raiseOverflow(); }; (*deq).head = (NI)((NI)(TM__xRflM5lMv4YvZq7gOUBMew_31) & (*deq).mask);}
|
|
|
|
#line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, poll__YNjd8fE6xG8CRNwfLnrx0g_2)(void) { tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* loop; tyObject_Moment__p19adwOigsIe5d3NlfPJOEw curTime; NI curTimeout; tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg customSet; tyObject_Moment__p19adwOigsIe5d3NlfPJOEw lastFinishX60gensym21705207_; NI count; tyObject_Moment__p19adwOigsIe5d3NlfPJOEw curTimeX60gensym21785042_; NI countX60gensym21815062_;
|
|
#line 694 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 694 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
loop = getThreadDispatcher__lgRtqLk4m6rDq09bC9cTnFsw();
|
|
#line 695 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 695 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
curTime = now__mCajdQHw9bYnr8G34j9c2hagtimer();
|
|
#line 696 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
curTimeout = ((NI) 0);
|
|
#line 699 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
customSet = 60;
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
lastFinishX60gensym21705207_ = curTime; {
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
while (1) { NI T3_;
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T3_ = (NI)0; T3_ = len__TGrDBpR3dFXYmSlNuxAfWAheapqueue((*loop).Sup.timers); if (!(((NI) 0) < T3_)) goto LA2;
|
|
{ tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* T11_; tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* T17_;
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* T7_; tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* T10_;
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T7_ = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0; T7_ = X5BX5D___pUFW4FSLKtb8EGv9c3Z1vYQheapqueue((*loop).Sup.timers, ((NI) 0)); if (!((*T7_).function.function.ClP_0 == 0)) goto LA8_;
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T10_ = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0; T10_ = pop__W69bkDeQ4NXaEoohIq2Pafw((&(*loop).Sup.timers)); (void)(T10_);
|
|
|
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
goto LA4;
|
|
}
|
|
LA8_: ;
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T11_ = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0; T11_ = X5BX5D___pUFW4FSLKtb8EGv9c3Z1vYQheapqueue((*loop).Sup.timers, ((NI) 0)); lastFinishX60gensym21705207_ = (*T11_).finishAt;
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NIM_BOOL T14_;
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T14_ = (NIM_BOOL)0; T14_ = lt___QNBMwDJVuJUeFFKiVHrUsgtimer(curTime, lastFinishX60gensym21705207_); if (!T14_) goto LA15_;
|
|
|
|
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
goto LA1;
|
|
}
|
|
LA15_: ;
|
|
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T17_ = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0; T17_ = pop__W69bkDeQ4NXaEoohIq2Pafw((&(*loop).Sup.timers));
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
addLast__BmH22wFYMijisG09bK9aONZA((&(*loop).Sup.callbacks), (*T17_).function);
|
|
} LA4: ;
|
|
} LA2: ;
|
|
} LA1: ;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NI T20_; tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw T23_; NI32 T24_;
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T20_ = (NI)0; T20_ = len__TGrDBpR3dFXYmSlNuxAfWAheapqueue((*loop).Sup.timers); if (!(((NI) 0) < T20_)) goto LA21_;
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T23_ = minus___XKInQJSWS19bkkORt3tkfTQtimer(lastFinishX60gensym21705207_, curTime);
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T24_ = (NI32)0; T24_ = getAsyncTimestamp__ycFD7OB19c4K9bHJwZgDHthAasyncloop(T23_); curTimeout = ((NI) (T24_)); }
|
|
LA21_: ;
|
|
|
|
#line 703 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!(curTimeout == ((NI) 0))) goto LA27_;
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NIM_BOOL T31_; NI T32_; NI T34_;
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T31_ = (NIM_BOOL)0;
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T32_ = (NI)0; T32_ = len__8mt46CM2Ekqx9bPSSEe9aIpQdeques((&(*loop).Sup.callbacks)); T31_ = (T32_ == ((NI) 0)); if (!(T31_)) goto LA33_;
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T34_ = (NI)0; T34_ = len__8mt46CM2Ekqx9bPSSEe9aIpQdeques((&(*loop).Sup.idlers)); T31_ = (T34_ == ((NI) 0)); LA33_: ;
|
|
if (!T31_) goto LA35_;
|
|
|
|
#line 248 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
curTimeout = ((NI) -1); }
|
|
LA35_: ;
|
|
}
|
|
goto LA25_;
|
|
LA27_: ;
|
|
{
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NIM_BOOL T40_; NI T41_; NI T43_;
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T40_ = (NIM_BOOL)0;
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T41_ = (NI)0; T41_ = len__8mt46CM2Ekqx9bPSSEe9aIpQdeques((&(*loop).Sup.callbacks)); T40_ = !((T41_ == ((NI) 0))); if (T40_) goto LA42_;
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T43_ = (NI)0; T43_ = len__8mt46CM2Ekqx9bPSSEe9aIpQdeques((&(*loop).Sup.idlers)); T40_ = !((T43_ == ((NI) 0))); LA42_: ;
|
|
if (!T40_) goto LA44_;
|
|
|
|
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
curTimeout = ((NI) 0); }
|
|
LA44_: ;
|
|
}
|
|
LA25_: ;
|
|
|
|
#line 706 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 706 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
count = selectInto__g9bC709by87fZZEElpoIiY9aQ((*loop).selector, curTimeout, (*loop).keys->data, ((*loop).keys ? (*loop).keys->Sup.len : 0)); { NI i; NI i_2; i = (NI)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
i_2 = ((NI) 0); {
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NI fd; tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg events; NI fdiX60gensym21740518_; NI TM__xRflM5lMv4YvZq7gOUBMew_28;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_2 < count)) goto LA48;
|
|
|
|
#line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
i = i_2;
|
|
#line 708 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if ((NU)(i) >= (NU)((*loop).keys ? (*loop).keys->Sup.len : 0)){ raiseIndexError2(i,((*loop).keys ? (*loop).keys->Sup.len : 0)-1); } fd = (*loop).keys->data[i].fd;
|
|
#line 709 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if ((NU)(i) >= (NU)((*loop).keys ? (*loop).keys->Sup.len : 0)){ raiseIndexError2(i,((*loop).keys ? (*loop).keys->Sup.len : 0)-1); } events = (*loop).keys->data[i].events;
|
|
#line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
fdiX60gensym21740518_ = fd;
|
|
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
{
|
|
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
if (!((*(*loop).selector).maxFD <= fdiX60gensym21740518_)) goto LA51_;
|
|
|
|
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
|
|
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
raiseIOSelectorsError__DsOWi00vXgEmCXwnjpsJhw(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_25));
|
|
}
|
|
LA51_: ;
|
|
|
|
#line 519 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
{ NI numFDX60gensym21745002_;
|
|
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
if (!((*(*loop).selector).numFD <= fdiX60gensym21740518_)) goto LA55_;
|
|
|
|
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
numFDX60gensym21745002_ = (*(*loop).selector).numFD; {
|
|
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
while (1) {
|
|
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
if (!(numFDX60gensym21745002_ <= fdiX60gensym21740518_)) goto LA58;
|
|
|
|
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
|
|
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
stareq___ogcC1Md4c289bEhAZWpmZUwsystem((&numFDX60gensym21745002_), ((NI) 2));
|
|
} LA58: ;
|
|
}
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
if ((numFDX60gensym21745002_) < ((NI) 0) || (numFDX60gensym21745002_) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(numFDX60gensym21745002_, ((NI) 0), ((NI) IL64(9223372036854775807))); } asgnRef((void**) (&(*(*loop).selector).fds), (tySequence__iPL3rW9a9bV9cIzaXekL6AsDg*) setLengthSeqV2(&((*(*loop).selector).fds)->Sup, (&NTI__iPL3rW9a9bV9cIzaXekL6AsDg_), ((NI) (numFDX60gensym21745002_)))); { NI iX60gensym21745003_; NI i_3; iX60gensym21745003_ = (NI)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
i_3 = (*(*loop).selector).numFD; {
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NI TM__xRflM5lMv4YvZq7gOUBMew_27;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_3 < numFDX60gensym21745002_)) goto LA61;
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
iX60gensym21745003_ = i_3; if ((NU)(iX60gensym21745003_) >= (NU)((*(*loop).selector).fds ? (*(*loop).selector).fds->Sup.len : 0)){ raiseIndexError2(iX60gensym21745003_,((*(*loop).selector).fds ? (*(*loop).selector).fds->Sup.len : 0)-1); }
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
(*(*loop).selector).fds->data[iX60gensym21745003_].ident = ((NI) -1);
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(i_3, ((NI) 1), &TM__xRflM5lMv4YvZq7gOUBMew_27)) { raiseOverflow(); }; i_3 = (NI)(TM__xRflM5lMv4YvZq7gOUBMew_27); } LA61: ;
|
|
}
|
|
}
|
|
|
|
#line 145 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
(*(*loop).selector).numFD = numFDX60gensym21745002_; }
|
|
LA55_: ;
|
|
|
|
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NIM_BOOL T64_; tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww* adata;
|
|
#line 520 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
|
|
#line 520 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
T64_ = (NIM_BOOL)0; T64_ = contains__OZFzGZer6mx0buZiLTnhyQselectors((*loop).selector, fdiX60gensym21740518_); if (!T64_) goto LA65_;
|
|
|
|
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 521 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
|
|
adata = getData__eQNlkfRqy3U9bSizZjte5dQ((*loop).selector, fdiX60gensym21740518_);
|
|
#line 712 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NIM_BOOL T69_;
|
|
#line 712 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T69_ = (NIM_BOOL)0;
|
|
#line 712 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T69_ = ((events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 0))&31U)))!=0); if (T69_) goto LA70_;
|
|
|
|
#line 712 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T69_ = (events == 128); LA70_: ;
|
|
if (!T69_) goto LA71_;
|
|
|
|
#line 713 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 713 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 713 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!!(((*adata).reader.function.ClP_0 == 0))) goto LA75_;
|
|
|
|
#line 714 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 714 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
addLast__BmH22wFYMijisG09bK9aONZA((&(*loop).Sup.callbacks), (*adata).reader);
|
|
}
|
|
LA75_: ;
|
|
}
|
|
LA71_: ;
|
|
|
|
#line 716 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NIM_BOOL T79_;
|
|
#line 716 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T79_ = (NIM_BOOL)0;
|
|
#line 716 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T79_ = ((events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 1))&31U)))!=0); if (T79_) goto LA80_;
|
|
|
|
#line 716 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T79_ = (events == 128); LA80_: ;
|
|
if (!T79_) goto LA81_;
|
|
|
|
#line 717 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 717 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 717 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!!(((*adata).writer.function.ClP_0 == 0))) goto LA85_;
|
|
|
|
#line 718 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 718 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
addLast__BmH22wFYMijisG09bK9aONZA((&(*loop).Sup.callbacks), (*adata).writer);
|
|
}
|
|
LA85_: ;
|
|
}
|
|
LA81_: ;
|
|
|
|
#line 720 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 720 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!((events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 6))&31U)))!=0)) goto LA89_;
|
|
|
|
#line 721 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 721 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 721 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!!(((*adata).reader.function.ClP_0 == 0))) goto LA93_;
|
|
|
|
#line 722 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 722 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
addLast__BmH22wFYMijisG09bK9aONZA((&(*loop).Sup.callbacks), (*adata).reader);
|
|
}
|
|
LA93_: ;
|
|
}
|
|
LA89_: ;
|
|
|
|
#line 725 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 725 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 725 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 725 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!!(((customSet & events) == 0))) goto LA97_;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!!(((*adata).reader.function.ClP_0 == 0))) goto LA101_;
|
|
|
|
#line 727 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 727 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
addLast__BmH22wFYMijisG09bK9aONZA((&(*loop).Sup.callbacks), (*adata).reader);
|
|
}
|
|
LA101_: ;
|
|
}
|
|
LA97_: ;
|
|
}
|
|
LA65_: ;
|
|
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__xRflM5lMv4YvZq7gOUBMew_28)) { raiseOverflow(); }; i_2 = (NI)(TM__xRflM5lMv4YvZq7gOUBMew_28); } LA48: ;
|
|
}
|
|
}
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
curTimeX60gensym21785042_ = now__mCajdQHw9bYnr8G34j9c2hagtimer(); {
|
|
#line 730 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
while (1) { NI T105_;
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T105_ = (NI)0; T105_ = len__TGrDBpR3dFXYmSlNuxAfWAheapqueue((*loop).Sup.timers); if (!(((NI) 0) < T105_)) goto LA104;
|
|
{ tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* T119_;
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* T109_; tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* T112_;
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T109_ = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0; T109_ = X5BX5D___pUFW4FSLKtb8EGv9c3Z1vYQheapqueue((*loop).Sup.timers, ((NI) 0)); if (!((*T109_).function.function.ClP_0 == 0)) goto LA110_;
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T112_ = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0; T112_ = pop__W69bkDeQ4NXaEoohIq2Pafw((&(*loop).Sup.timers)); (void)(T112_);
|
|
|
|
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
goto LA106;
|
|
}
|
|
LA110_: ;
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg* T115_; NIM_BOOL T116_;
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T115_ = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0; T115_ = X5BX5D___pUFW4FSLKtb8EGv9c3Z1vYQheapqueue((*loop).Sup.timers, ((NI) 0));
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T116_ = (NIM_BOOL)0; T116_ = lt___QNBMwDJVuJUeFFKiVHrUsgtimer(curTimeX60gensym21785042_, (*T115_).finishAt); if (!T116_) goto LA117_;
|
|
|
|
#line 261 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
goto LA103;
|
|
}
|
|
LA117_: ;
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T119_ = (tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*)0; T119_ = pop__W69bkDeQ4NXaEoohIq2Pafw((&(*loop).Sup.timers));
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
addLast__BmH22wFYMijisG09bK9aONZA((&(*loop).Sup.callbacks), (*T119_).function);
|
|
} LA106: ;
|
|
} LA104: ;
|
|
} LA103: ;
|
|
|
|
#line 734 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 734 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!(count == ((NI) 0))) goto LA122_;
|
|
|
|
#line 735 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NI T126_; tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw T129_;
|
|
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T126_ = (NI)0; T126_ = len__8mt46CM2Ekqx9bPSSEe9aIpQdeques((&(*loop).Sup.idlers)); if (!(((NI) 0) < T126_)) goto LA127_;
|
|
|
|
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
nimZeroMem((void*)(&T129_), sizeof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw)); popFirst__1uZ9ai5kDv3IJvdGNL5HR5wdeques((&(*loop).Sup.idlers), (&T129_));
|
|
|
|
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
addLast__BmH22wFYMijisG09bK9aONZA((&(*loop).Sup.callbacks), T129_);
|
|
}
|
|
LA127_: ;
|
|
}
|
|
LA122_: ;
|
|
|
|
#line 269 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 269 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
countX60gensym21815062_ = len__8mt46CM2Ekqx9bPSSEe9aIpQdeques((&(*loop).Sup.callbacks)); { NI iX60gensym21815063_; NI i_4; iX60gensym21815063_ = (NI)0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
i_4 = ((NI) 0); {
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw callableX60gensym21815064_; NI TM__xRflM5lMv4YvZq7gOUBMew_33;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_4 < countX60gensym21815062_)) goto LA132;
|
|
|
|
#line 739 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
iX60gensym21815063_ = i_4;
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{ NI T135_;
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T135_ = (NI)0; T135_ = len__8mt46CM2Ekqx9bPSSEe9aIpQdeques((&(*loop).Sup.callbacks)); if (!(T135_ == ((NI) 0))) goto LA136_;
|
|
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
goto LA130;
|
|
}
|
|
LA136_: ;
|
|
nimZeroMem((void*)(&callableX60gensym21815064_), sizeof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw));
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
popFirst__1uZ9ai5kDv3IJvdGNL5HR5wdeques((&(*loop).Sup.callbacks), (&callableX60gensym21815064_));
|
|
|
|
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!!((callableX60gensym21815064_.function.ClP_0 == 0))) goto LA140_;
|
|
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
callableX60gensym21815064_.function.ClE_0? callableX60gensym21815064_.function.ClP_0(callableX60gensym21815064_.udata, callableX60gensym21815064_.function.ClE_0):((TM__xRflM5lMv4YvZq7gOUBMew_32)(callableX60gensym21815064_.function.ClP_0))(callableX60gensym21815064_.udata);
|
|
}
|
|
LA140_: ;
|
|
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(i_4, ((NI) 1), &TM__xRflM5lMv4YvZq7gOUBMew_33)) { raiseOverflow(); }; i_4 = (NI)(TM__xRflM5lMv4YvZq7gOUBMew_33); } LA132: ;
|
|
}
|
|
} LA130: ;
|
|
}
|
|
|
|
#line 465 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* fut) {
|
|
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{
|
|
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if (!!(((*fut).error == 0))) goto LA3_;
|
|
|
|
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
raiseExceptionEx((Exception*)(*fut).error, "Exception", "internalCheckComplete", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim", 470); }
|
|
LA3_: ;
|
|
}
|
|
|
|
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
static N_INLINE(NI, internalRead__tDzla8LzpgEYGNUuhS9c59cgasyncloop)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* fut) { NI result;{ result = (NI)0;
|
|
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = (*fut).value; goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 477 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, read__Rx3nj8gtvFj4KcnM5gHRxw)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* future) { NI result; tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* fut; result = (NI)0;
|
|
#line 478 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 483 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
fut = future;
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ NIM_BOOL T3_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T6_;
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = finished__zG9aYJmqgA5EsuZk70NI3ugasyncloop(fut); if (!T3_) goto LA4_;
|
|
|
|
#line 486 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T6_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T6_ = &future->Sup;
|
|
#line 486 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q(T6_);
|
|
|
|
#line 487 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 487 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = internalRead__tDzla8LzpgEYGNUuhS9c59cgasyncloop(future); }
|
|
goto LA1_;
|
|
LA4_: ;
|
|
{ tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* T8_; NimStringDesc* T9_; T8_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)0; T8_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*) newObj((&NTI__Ie1m0dv1ZHg72IgPRr1cDw_), sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw)); (*T8_).Sup.Sup.Sup.m_type = (&NTI__yoNlBGx0D2tRizIdhQuENw_); (*T8_).Sup.Sup.name = "ValueError"; T9_ = (NimStringDesc*)0; T9_ = (*T8_).Sup.Sup.message; (*T8_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_34)); if (T9_) nimGCunrefNoCycle(T9_); asgnRef((void**) (&(*T8_).Sup.Sup.parent), NIM_NIL);
|
|
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
raiseExceptionEx((Exception*)T8_, "ValueError", "read", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim", 490); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 1079 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, waitFor__fT9bwC6ionYne4HrNvmptjQ)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* fut) { NI result; result = (NI)0;
|
|
#line 1080 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
while (1) { NIM_BOOL T3_;
|
|
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = finished__zG9aYJmqgA5EsuZk70NI3ugasyncloop(fut); if (!!(T3_)) goto LA2;
|
|
|
|
#line 1082 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1082 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
poll__YNjd8fE6xG8CRNwfLnrx0g_2();
|
|
} LA2: ;
|
|
}
|
|
|
|
#line 1084 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1084 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
result = read__Rx3nj8gtvFj4KcnM5gHRxw(fut); return result;}
|
|
static N_NIMCALL(void, Marker_tyRef__k6jrF8Gn9aPHVK4XfXeNIMg)(void* p, NI op) {
|
|
tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* a;
|
|
NI T1_; a = (tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww*)p;
|
|
T1_ = (NI)0; nimGCvisit((void*)(*a).Sup.callbacks, op); nimGCvisit((void*)(*a).Sup.cancelcb.ClE_0, op); nimGCvisit((void*)(*a).Sup.child, op); nimGCvisit((void*)(*a).Sup.error, op);}
|
|
|
|
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww*, newFutureImpl__59blE74L2mgPm6MBdmPI1VA)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc) { tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* result; NI TM__xRflM5lMv4YvZq7gOUBMew_35; result = (tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww*)0;
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = (tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww*) newObj((&NTI__k6jrF8Gn9aPHVK4XfXeNIMg_), sizeof(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww)); (*result).Sup.Sup.m_type = (&NTI__mbFzZshcwr2hqxBavvwQww_);
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*result).Sup.state = ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0);
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*result).Sup.id = currentID__XWbW109cXgfrS2FFB1ToWAQ;
|
|
#line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*result).Sup.location[(((NI) 0))- 0] = loc;
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if (nimAddInt(currentID__XWbW109cXgfrS2FFB1ToWAQ, ((NI) 1), &TM__xRflM5lMv4YvZq7gOUBMew_35)) { raiseOverflow(); }; currentID__XWbW109cXgfrS2FFB1ToWAQ = (NI)(TM__xRflM5lMv4YvZq7gOUBMew_35); return result;}
|
|
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
static N_INLINE(NIM_BOOL, cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = ((*future).state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 2)); return result;}
|
|
|
|
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
static N_INLINE(NIM_BOOL, finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = !(((*future).state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0))); return result;}
|
|
static N_NIMCALL(void, Marker_tyRef__r51VZ54Di9b6hoKoHVERbpQ)(void* p, NI op) {
|
|
tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ* a;
|
|
a = (tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ*)p;
|
|
nimGCvisit((void*)(*a).Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.up, op); nimGCvisit((void*)(*a).cause, op);}
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, checkFinished__1MGH5bJdQgBtESf3VBBOvA)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc) {
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ NIM_BOOL T3_; NimStringDesc* msg; NimStringDesc* T6_; NimStringDesc* T7_; NimStringDesc* T8_; NimStringDesc* T9_; NimStringDesc* T10_; NimStringDesc* T11_; NimStringDesc* T12_; NimStringDesc* T13_; tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ* err; tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ* T14_; NimStringDesc* T15_;
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop(future); if (!T3_) goto LA4_;
|
|
|
|
#line 191 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
msg = ((NimStringDesc*) NIM_NIL);
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
msg = resizeString(msg, 57);appendString(msg, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_36));
|
|
#line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
msg = resizeString(msg, 8);appendString(msg, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_37));
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T6_ = (NimStringDesc*)0;
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T7_ = (NimStringDesc*)0; T7_ = nimIntToStr((*future).id); T6_ = rawNewString((T7_ ? T7_->Sup.len : 0) + 14);appendString(T6_, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_38));appendString(T6_, T7_); msg = resizeString(msg, (T6_ ? T6_->Sup.len : 0) + 0);appendString(msg, T6_);
|
|
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
msg = resizeString(msg, 21);appendString(msg, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_39));
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T8_ = (NimStringDesc*)0;
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T9_ = (NimStringDesc*)0; T9_ = dollar___N9bkaCXs5mz9c4Fw2myVDlNw((*future).location[(((NI) 0))- 0]); T8_ = rawNewString((T9_ ? T9_->Sup.len : 0) + 5);appendString(T8_, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_40));appendString(T8_, T9_); msg = resizeString(msg, (T8_ ? T8_->Sup.len : 0) + 0);appendString(msg, T8_);
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
msg = resizeString(msg, 29);appendString(msg, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_41));
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T10_ = (NimStringDesc*)0;
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T11_ = (NimStringDesc*)0; T11_ = dollar___N9bkaCXs5mz9c4Fw2myVDlNw((*future).location[(((NI) 1))- 0]); T10_ = rawNewString((T11_ ? T11_->Sup.len : 0) + 5);appendString(T10_, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_40));appendString(T10_, T11_); msg = resizeString(msg, (T10_ ? T10_->Sup.len : 0) + 0);appendString(msg, T10_);
|
|
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
msg = resizeString(msg, 30);appendString(msg, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_42));
|
|
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T12_ = (NimStringDesc*)0;
|
|
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T13_ = (NimStringDesc*)0; T13_ = dollar___N9bkaCXs5mz9c4Fw2myVDlNw(loc); T12_ = rawNewString((T13_ ? T13_->Sup.len : 0) + 5);appendString(T12_, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_40));appendString(T12_, T13_); msg = resizeString(msg, (T12_ ? T12_->Sup.len : 0) + 0);appendString(msg, T12_);
|
|
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
msg = resizeString(msg, 2);appendString(msg, ((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_43));
|
|
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T14_ = (tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ*)0; T14_ = (tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ*) newObj((&NTI__r51VZ54Di9b6hoKoHVERbpQ_), sizeof(tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ)); (*T14_).Sup.Sup.Sup.m_type = (&NTI__mSbB19aofqUR43DuDIwZNdQ_); (*T14_).Sup.Sup.name = "FutureDefect"; T15_ = (NimStringDesc*)0; T15_ = (*T14_).Sup.Sup.message; (*T14_).Sup.Sup.message = copyStringRC1(msg); if (T15_) nimGCunrefNoCycle(T15_); asgnRef((void**) (&(*T14_).Sup.Sup.parent), NIM_NIL); err = T14_;
|
|
#line 208 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
asgnRef((void**) (&(*err).cause), future);
|
|
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
raiseExceptionEx((Exception*)err, "FutureDefect", "checkFinished", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim", 209); }
|
|
goto LA1_;
|
|
LA4_: ;
|
|
{
|
|
#line 211 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*future).location[(((NI) 1))- 0] = loc; }
|
|
LA1_: ;
|
|
}
|
|
|
|
#line 830 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, callSoon__4NUESfrjuhPGK4nZ9cf8Bxw)(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw acb) { tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw* T1_;
|
|
#line 833 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 833 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 833 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T1_ = (tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*)0; T1_ = getThreadDispatcher__lgRtqLk4m6rDq09bC9cTnFsw();
|
|
#line 833 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
addLast__BmH22wFYMijisG09bK9aONZA((&(*T1_).Sup.callbacks), acb);
|
|
}
|
|
|
|
#line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, finish__dphu7GX35W3GNSG3a7E1hQ)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* fut, tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA state) {
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*fut).state = state;
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
asgnRef((void**) (&(*fut).cancelcb.ClE_0), TM__xRflM5lMv4YvZq7gOUBMew_45.ClE_0); (*fut).cancelcb.ClP_0 = TM__xRflM5lMv4YvZq7gOUBMew_45.ClP_0; { tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw* item; NI i; NI L; NI T2_; item = (tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw*)0;
|
|
#line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T2_ = ((*fut).callbacks ? (*fut).callbacks->Sup.len : 0); L = T2_; {
|
|
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__xRflM5lMv4YvZq7gOUBMew_46;
|
|
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA4;
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if ((NU)(i) >= (NU)((*fut).callbacks ? (*fut).callbacks->Sup.len : 0)){ raiseIndexError2(i,((*fut).callbacks ? (*fut).callbacks->Sup.len : 0)-1); } item = (&(*fut).callbacks->data[i]);
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if (!!(((*item).function.ClP_0 == 0))) goto LA7_;
|
|
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
callSoon__4NUESfrjuhPGK4nZ9cf8Bxw((*item));
|
|
}
|
|
LA7_: ;
|
|
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
chckNil((void*)(&(*item))); unsureAsgnRef((void**)&(*item).function.ClE_0, NIM_NIL); (*item).function.ClP_0 = NIM_NIL; (*item).udata = NIM_NIL;
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__xRflM5lMv4YvZq7gOUBMew_46)) { raiseOverflow(); }; i = (NI)(TM__xRflM5lMv4YvZq7gOUBMew_46);
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T11_;
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T11_ = ((*fut).callbacks ? (*fut).callbacks->Sup.len : 0); if (!!((T11_ == L))) goto LA12_;
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_47));
|
|
}
|
|
LA12_: ;
|
|
} LA4: ;
|
|
}
|
|
}
|
|
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
asgnRef((void**) (&(*fut).callbacks), NIM_NIL);}
|
|
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, complete__ssobpjjBzO9b5Q9aBPLEO2tw)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* future, NI val, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc) {
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T3_; NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T7_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T12_;
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T3_ = &future->Sup;
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T4_ = (NIM_BOOL)0; T4_ = cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop(T3_); if (!!(T4_)) goto LA5_;
|
|
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T7_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T7_ = &future->Sup;
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
checkFinished__1MGH5bJdQgBtESf3VBBOvA(T7_, loc);
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if (!!(((*future).Sup.error == 0))) goto LA10_;
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_44));
|
|
}
|
|
LA10_: ;
|
|
|
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*future).value = val;
|
|
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T12_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T12_ = &future->Sup;
|
|
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
finish__dphu7GX35W3GNSG3a7E1hQ(T12_, ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 1));
|
|
}
|
|
LA5_: ;
|
|
}
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, complete__nHHWNIBkqCfVC3oe9a1ZdIQ)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc) {
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T3_; NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T7_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T12_;
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T3_ = &future->Sup;
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T4_ = (NIM_BOOL)0; T4_ = cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop(T3_); if (!!(T4_)) goto LA5_;
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T7_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T7_ = &future->Sup;
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
checkFinished__1MGH5bJdQgBtESf3VBBOvA(T7_, loc);
|
|
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if (!!(((*future).Sup.error == 0))) goto LA10_;
|
|
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_48));
|
|
}
|
|
LA10_: ;
|
|
|
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T12_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T12_ = &future->Sup;
|
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
finish__dphu7GX35W3GNSG3a7E1hQ(T12_, ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 1));
|
|
}
|
|
LA5_: ;
|
|
}
|
|
|
|
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, newFutureImpl__wu9buovQIxiU3ndXmKRpnVw)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; NI TM__xRflM5lMv4YvZq7gOUBMew_49; result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0;
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*) newObj((&NTI__wrhe6hYHoM2gc8EiW0lE6Q_), sizeof(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA)); (*result).Sup.Sup.m_type = (&NTI__GXFSekg1U8JRoedGa2vBSA_);
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*result).Sup.state = ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0);
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*result).Sup.id = currentID__XWbW109cXgfrS2FFB1ToWAQ;
|
|
#line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
(*result).Sup.location[(((NI) 0))- 0] = loc;
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if (nimAddInt(currentID__XWbW109cXgfrS2FFB1ToWAQ, ((NI) 1), &TM__xRflM5lMv4YvZq7gOUBMew_49)) { raiseOverflow(); }; currentID__XWbW109cXgfrS2FFB1ToWAQ = (NI)(TM__xRflM5lMv4YvZq7gOUBMew_49); return result;}
|
|
static N_NIMCALL(void, Marker_tyRef__paaBQT4pyImJiuEdGp60qA)(void* p, NI op) {
|
|
tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* a;
|
|
a = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)p;
|
|
nimGCvisit((void*)(*a).Sup.Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.up, op);}
|
|
|
|
#line 835 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, callSoon__w2pfZU5T9bqj7q0pxrU9ckZw)(tyProc__9bqx36VxQxXejdrF09bFARDQ cbproc, void* data) { tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw T5_;
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
{
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
if (!!(!((cbproc.ClP_0 == 0)))) goto LA3_;
|
|
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_51));
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 840 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
nimZeroMem((void*)(&T5_), sizeof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw)); nimZeroMem((void*)(&T5_), sizeof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw)); T5_.function.ClE_0 = cbproc.ClE_0; T5_.function.ClP_0 = cbproc.ClP_0; T5_.udata = data;
|
|
#line 840 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
callSoon__4NUESfrjuhPGK4nZ9cf8Bxw(T5_);
|
|
}
|
|
|
|
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, addCallback__QeHWXKbDl8k58l1wtsnOOw)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb, void* udata) {
|
|
#line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{
|
|
#line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if (!!(!((cb.ClP_0 == 0)))) goto LA3_;
|
|
|
|
#line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_50));
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ NIM_BOOL T7_;
|
|
#line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T7_ = (NIM_BOOL)0; T7_ = finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop(future); if (!T7_) goto LA8_;
|
|
|
|
#line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
callSoon__w2pfZU5T9bqj7q0pxrU9ckZw(cb, udata);
|
|
}
|
|
goto LA5_;
|
|
LA8_: ;
|
|
{ tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw acb; NI T11_; nimZeroMem((void*)(&acb), sizeof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw));
|
|
#line 348 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
chckNil((void*)(&acb)); nimZeroMem((void*)(&acb), sizeof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw)); acb.function.ClE_0 = cb.ClE_0; acb.function.ClP_0 = cb.ClP_0; acb.udata = udata;
|
|
#line 349 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
asgnRef((void**) (&(*future).callbacks), (tySequence__qkV9cggxceO9cpfUWIbCnvJg*) incrSeqV3((TGenericSeq*)((*future).callbacks), (&NTI__qkV9cggxceO9cpfUWIbCnvJg_))); T11_ = (*future).callbacks->Sup.len++; asgnRef((void**) (&(*future).callbacks->data[T11_].function.ClE_0), acb.function.ClE_0); (*future).callbacks->data[T11_].function.ClP_0 = acb.function.ClP_0; (*future).callbacks->data[T11_].udata = acb.udata; }
|
|
LA5_: ;
|
|
}
|
|
|
|
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc) {
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ NIM_BOOL T3_; tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T6_; NimStringDesc* T7_;
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop(future); if (!!(T3_)) goto LA4_;
|
|
|
|
#line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
checkFinished__1MGH5bJdQgBtESf3VBBOvA(future, loc);
|
|
|
|
#line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T6_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T6_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T6_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T6_).Sup.Sup.Sup.name = "CancelledError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.Sup.message; (*T6_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_52)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*future).error), &T6_->Sup.Sup.Sup);
|
|
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
finish__dphu7GX35W3GNSG3a7E1hQ(future, ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 2));
|
|
}
|
|
LA4_: ;
|
|
}
|
|
|
|
#line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, fail__9cFhuH75B9b9aPphbFzAazYwA)(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww* future, Exception* error, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc) {
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T3_; NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T7_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T8_;
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T3_ = &future->Sup;
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T4_ = (NIM_BOOL)0; T4_ = cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop(T3_); if (!!(T4_)) goto LA5_;
|
|
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T7_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T7_ = &future->Sup;
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
checkFinished__1MGH5bJdQgBtESf3VBBOvA(T7_, loc);
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
asgnRef((void**) (&(*future).Sup.error), error);
|
|
#line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T8_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T8_ = &future->Sup;
|
|
#line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
finish__dphu7GX35W3GNSG3a7E1hQ(T8_, ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 3));
|
|
}
|
|
LA5_: ;
|
|
}
|
|
|
|
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
static N_INLINE(NIM_BOOL, finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = !(((*future).Sup.state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0))); return result;}
|
|
|
|
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut) {}
|
|
|
|
#line 477 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, read__53lAB5vkCXFZ1ApuF7Pzkg)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut;
|
|
#line 483 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
fut = future;
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ NIM_BOOL T3_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T6_;
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop(fut); if (!T3_) goto LA4_;
|
|
|
|
#line 486 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T6_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T6_ = &future->Sup;
|
|
#line 486 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q(T6_);
|
|
|
|
#line 487 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 487 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop(future);
|
|
}
|
|
goto LA1_;
|
|
LA4_: ;
|
|
{ tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* T8_; NimStringDesc* T9_; T8_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)0; T8_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*) newObj((&NTI__Ie1m0dv1ZHg72IgPRr1cDw_), sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw)); (*T8_).Sup.Sup.Sup.m_type = (&NTI__yoNlBGx0D2tRizIdhQuENw_); (*T8_).Sup.Sup.name = "ValueError"; T9_ = (NimStringDesc*)0; T9_ = (*T8_).Sup.Sup.message; (*T8_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_34)); if (T9_) nimGCunrefNoCycle(T9_); asgnRef((void**) (&(*T8_).Sup.Sup.parent), NIM_NIL);
|
|
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
raiseExceptionEx((Exception*)T8_, "ValueError", "read", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim", 490); }
|
|
LA1_: ;
|
|
}
|
|
|
|
#line 1079 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, waitFor__XuNTB7fHwBI8KII0qEQaCw)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut) { {
|
|
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
while (1) { NIM_BOOL T3_;
|
|
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop(fut); if (!!(T3_)) goto LA2;
|
|
|
|
#line 1082 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1082 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
poll__YNjd8fE6xG8CRNwfLnrx0g_2();
|
|
} LA2: ;
|
|
}
|
|
|
|
#line 1084 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1084 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
read__53lAB5vkCXFZ1ApuF7Pzkg(fut);
|
|
}
|
|
static N_NIMCALL(void, Marker_tyRef__bS9a8GSxZWqcdqiC47YMqnw)(void* p, NI op) {
|
|
tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw* a;
|
|
a = (tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw*)p;
|
|
nimGCvisit((void*)(*a).future1, op);}
|
|
|
|
#line 337 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, clearCallbacks__x3uYE03w2xBr6D89bLBZFiw)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future) {
|
|
#line 338 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 338 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
asgnRef((void**) (&(*future).callbacks), NIM_NIL);}
|
|
|
|
#line 370 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, callbackeq___QeHWXKbDl8k58l1wtsnOOw_2)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb, void* udata) {
|
|
#line 378 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 378 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
clearCallbacks__x3uYE03w2xBr6D89bLBZFiw(future);
|
|
|
|
#line 379 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 379 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
addCallback__QeHWXKbDl8k58l1wtsnOOw(future, cb, udata);
|
|
}
|
|
|
|
#line 381 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, callbackeq___aTxUhkOixq78pMEm3x5jfA)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T1_;
|
|
#line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T1_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T1_ = &future->Sup;
|
|
#line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
callbackeq___QeHWXKbDl8k58l1wtsnOOw_2(T1_, cb, ((void*) (future)));
|
|
}
|
|
|
|
#line 161 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
static N_INLINE(NIM_BOOL, failed__JXDwCFE0FKiFPAKUUjgdVg_3asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 162 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
result = ((*future).state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 3)); return result;}
|
|
|
|
#line 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_CLOSURE(void, cb__j3kbYmg9aEcBLYpjJk7vFKw)(void* data, void* ClE_0) { tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw* colonenvP_; colonenvP_ = (tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw*) ClE_0;
|
|
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ NIM_BOOL T3_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T6_;
|
|
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (NIM_BOOL)0;
|
|
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T4_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T4_ = &(*colonenvP_).future1->Sup;
|
|
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = failed__JXDwCFE0FKiFPAKUUjgdVg_3asyncloop(T4_); if (T3_) goto LA5_;
|
|
|
|
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T6_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T6_ = &(*colonenvP_).future1->Sup;
|
|
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop(T6_); LA5_: ;
|
|
if (!T3_) goto LA7_;
|
|
|
|
#line 520 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
raiseExceptionEx((Exception*)(*(*colonenvP_).future1).Sup.error, "Exception", "cb", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
|
|
"asyncfutures2.nim", 520); }
|
|
LA7_: ;
|
|
}
|
|
|
|
#line 510 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, asyncCheck__53lAB5vkCXFZ1ApuF7Pzkg_2)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future) { tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw* colonenv_; tyProc__9bqx36VxQxXejdrF09bFARDQ T5_; colonenv_ = (tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw*)0;
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
colonenv_ = (tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw*) newObj((&NTI__bS9a8GSxZWqcdqiC47YMqnw_), sizeof(tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw)); (*colonenv_).Sup.m_type = (&NTI__ljJq46SgY0d6nRTtFliXCw_);
|
|
#line 510 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
asgnRef((void**) (&(*colonenv_).future1), future);
|
|
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{
|
|
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
if (!!(!(((*colonenv_).future1 == 0)))) goto LA3_;
|
|
|
|
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__xRflM5lMv4YvZq7gOUBMew_54));
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 521 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
nimZeroMem((void*)(&T5_), sizeof(tyProc__9bqx36VxQxXejdrF09bFARDQ)); T5_.ClP_0 = cb__j3kbYmg9aEcBLYpjJk7vFKw; T5_.ClE_0 = colonenv_;
|
|
#line 521 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
callbackeq___aTxUhkOixq78pMEm3x5jfA((*colonenv_).future1, T5_);
|
|
}
|
|
|
|
#line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, fail__SwGHbFJf49cefkD9a9cbvNyqA)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, Exception* error, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc) {
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
{ tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T3_; NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T7_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T8_;
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T3_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T3_ = &future->Sup;
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T4_ = (NIM_BOOL)0; T4_ = cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop(T3_); if (!!(T4_)) goto LA5_;
|
|
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T7_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T7_ = &future->Sup;
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
checkFinished__1MGH5bJdQgBtESf3VBBOvA(T7_, loc);
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
asgnRef((void**) (&(*future).Sup.error), error);
|
|
#line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
T8_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T8_ = &future->Sup;
|
|
#line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
finish__dphu7GX35W3GNSG3a7E1hQ(T8_, ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 3));
|
|
}
|
|
LA5_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, chronos_asyncloopInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
{
|
|
nimRegisterThreadLocalMarker(TM__xRflM5lMv4YvZq7gOUBMew_12);
|
|
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
|
|
currentID__XWbW109cXgfrS2FFB1ToWAQ = ((NI) 0);
|
|
#line 1112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
|
|
#line 1112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
|
|
globalInit__YNjd8fE6xG8CRNwfLnrx0g();
|
|
}
|
|
}
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, chronos_asyncloopDatInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_2_4[4];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_3_2[2];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_4_2[2];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_5_2[2];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_6_3[3];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_7_2[2];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_8_2[2];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_9_2[2];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_10_4[4];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_11_2[2];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_13_8[8];
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_14_4[4];
|
|
NI TM__xRflM5lMv4YvZq7gOUBMew_16;
|
|
static char* NIM_CONST TM__xRflM5lMv4YvZq7gOUBMew_15[4] = {
|
|
"Pending",
|
|
"Finished",
|
|
"Cancelled",
|
|
"Failed"};
|
|
static TNimNode* TM__xRflM5lMv4YvZq7gOUBMew_53_2[2];
|
|
static TNimNode TM__xRflM5lMv4YvZq7gOUBMew_0[57];NTI__10VnwF9ac9cfzBseLeIJlicQ_.size = sizeof(tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ);
|
|
NTI__10VnwF9ac9cfzBseLeIJlicQ_.kind = 17;
|
|
NTI__10VnwF9ac9cfzBseLeIJlicQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
|
|
NTI__10VnwF9ac9cfzBseLeIJlicQ_.name = "PDispatcherBase:ObjectType";
|
|
NTI__10VnwF9ac9cfzBseLeIJlicQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__10VnwF9ac9cfzBseLeIJlicQ_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_2_4[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[1];
|
|
NTI__6iVKh5lmJXxGN5aEgyB0Rg_.size = sizeof(tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg);
|
|
NTI__6iVKh5lmJXxGN5aEgyB0Rg_.kind = 18;
|
|
NTI__6iVKh5lmJXxGN5aEgyB0Rg_.base = 0;
|
|
NTI__6iVKh5lmJXxGN5aEgyB0Rg_.name = "TimerCallback:ObjectType";
|
|
NTI__6iVKh5lmJXxGN5aEgyB0Rg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__6iVKh5lmJXxGN5aEgyB0Rg_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_3_2[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[3];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[3].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[3].offset = offsetof(tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg, finishAt);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[3].typ = (&NTI__p19adwOigsIe5d3NlfPJOEw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[3].name = "finishAt";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_3_2[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[4];
|
|
NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_.size = sizeof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw);
|
|
NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_.kind = 18;
|
|
NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_.base = 0;
|
|
NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_.name = "AsyncCallback";
|
|
NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_4_2[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[6];
|
|
NTI__9bqx36VxQxXejdrF09bFARDQ_.size = sizeof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A);
|
|
NTI__9bqx36VxQxXejdrF09bFARDQ_.kind = 18;
|
|
NTI__9bqx36VxQxXejdrF09bFARDQ_.base = 0;
|
|
NTI__9bqx36VxQxXejdrF09bFARDQ_.name = "tuple of (pointer, ref object)";
|
|
NTI__9bqx36VxQxXejdrF09bFARDQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__9bqx36VxQxXejdrF09bFARDQ_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_5_2[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[8];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[8].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[8].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field0);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[8].typ = (&NTI__vr5DoT1jILTGdRlYv1OYpw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[8].name = "Field0";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_5_2[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[9];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[9].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[9].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field1);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[9].typ = (&NTI__HsJiUUcO9cHBdUCi0HwkSTA_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[9].name = "Field1";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[7].len = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[7].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[7].sons = &TM__xRflM5lMv4YvZq7gOUBMew_5_2[0];
|
|
NTI__9bqx36VxQxXejdrF09bFARDQ_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[7];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[6].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[6].offset = offsetof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw, function);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[6].typ = (&NTI__9bqx36VxQxXejdrF09bFARDQ_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[6].name = "function";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_4_2[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[10];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[10].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[10].offset = offsetof(tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw, udata);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[10].typ = (&NTI__vr5DoT1jILTGdRlYv1OYpw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[10].name = "udata";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[5].len = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[5].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[5].sons = &TM__xRflM5lMv4YvZq7gOUBMew_4_2[0];
|
|
NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[5];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[4].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[4].offset = offsetof(tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg, function);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[4].typ = (&NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[4].name = "function";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[2].len = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[2].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[2].sons = &TM__xRflM5lMv4YvZq7gOUBMew_3_2[0];
|
|
NTI__6iVKh5lmJXxGN5aEgyB0Rg_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[2];
|
|
NTI__ED0EOsvBy9btMwgApDxfjNQ_.size = sizeof(tyObject_TimerCallbackcolonObjectType___6iVKh5lmJXxGN5aEgyB0Rg*);
|
|
NTI__ED0EOsvBy9btMwgApDxfjNQ_.kind = 22;
|
|
NTI__ED0EOsvBy9btMwgApDxfjNQ_.base = (&NTI__6iVKh5lmJXxGN5aEgyB0Rg_);
|
|
NTI__ED0EOsvBy9btMwgApDxfjNQ_.name = "TimerCallback";
|
|
NTI__ED0EOsvBy9btMwgApDxfjNQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__ED0EOsvBy9btMwgApDxfjNQ_;
|
|
NTI__ED0EOsvBy9btMwgApDxfjNQ_.marker = Marker_tyRef__ED0EOsvBy9btMwgApDxfjNQ;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[1].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[1].offset = offsetof(tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ, timers);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[1].typ = (&NTI__WyEcSLXuBvf9bdu5FRrK11g_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[1].name = "timers";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_2_4[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[11];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[11].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[11].offset = offsetof(tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ, callbacks);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[11].typ = (&NTI__Unr50Gh9cO6Nu9aGjQlC1wKg_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[11].name = "callbacks";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_2_4[2] = &TM__xRflM5lMv4YvZq7gOUBMew_0[12];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[12].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[12].offset = offsetof(tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ, idlers);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[12].typ = (&NTI__Unr50Gh9cO6Nu9aGjQlC1wKg_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[12].name = "idlers";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_2_4[3] = &TM__xRflM5lMv4YvZq7gOUBMew_0[13];
|
|
NTI__yeNWyBBtRWZa5bRgjiglew_.size = sizeof(tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew);
|
|
NTI__yeNWyBBtRWZa5bRgjiglew_.kind = 17;
|
|
NTI__yeNWyBBtRWZa5bRgjiglew_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
|
|
NTI__yeNWyBBtRWZa5bRgjiglew_.name = "TrackerBase:ObjectType";
|
|
NTI__yeNWyBBtRWZa5bRgjiglew_.nextType = nimTypeRoot; nimTypeRoot=&NTI__yeNWyBBtRWZa5bRgjiglew_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_6_3[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[15];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[15].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[15].offset = offsetof(tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew, id);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[15].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[15].name = "id";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_6_3[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[16];
|
|
NTI__qC39cAonBOZL0cZZ5vavbcQ_.size = sizeof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A);
|
|
NTI__qC39cAonBOZL0cZZ5vavbcQ_.kind = 18;
|
|
NTI__qC39cAonBOZL0cZZ5vavbcQ_.base = 0;
|
|
NTI__qC39cAonBOZL0cZZ5vavbcQ_.name = "tuple of (pointer, ref object)";
|
|
NTI__qC39cAonBOZL0cZZ5vavbcQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__qC39cAonBOZL0cZZ5vavbcQ_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_7_2[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[18];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[18].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[18].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field0);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[18].typ = (&NTI__vr5DoT1jILTGdRlYv1OYpw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[18].name = "Field0";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_7_2[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[19];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[19].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[19].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field1);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[19].typ = (&NTI__HsJiUUcO9cHBdUCi0HwkSTA_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[19].name = "Field1";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[17].len = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[17].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[17].sons = &TM__xRflM5lMv4YvZq7gOUBMew_7_2[0];
|
|
NTI__qC39cAonBOZL0cZZ5vavbcQ_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[17];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[16].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[16].offset = offsetof(tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew, dump);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[16].typ = (&NTI__qC39cAonBOZL0cZZ5vavbcQ_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[16].name = "dump";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_6_3[2] = &TM__xRflM5lMv4YvZq7gOUBMew_0[20];
|
|
NTI__xdLb0cyzx3FuM6Q4NnRTpQ_.size = sizeof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A);
|
|
NTI__xdLb0cyzx3FuM6Q4NnRTpQ_.kind = 18;
|
|
NTI__xdLb0cyzx3FuM6Q4NnRTpQ_.base = 0;
|
|
NTI__xdLb0cyzx3FuM6Q4NnRTpQ_.name = "tuple of (pointer, ref object)";
|
|
NTI__xdLb0cyzx3FuM6Q4NnRTpQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__xdLb0cyzx3FuM6Q4NnRTpQ_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_8_2[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[22];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[22].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[22].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field0);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[22].typ = (&NTI__vr5DoT1jILTGdRlYv1OYpw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[22].name = "Field0";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_8_2[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[23];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[23].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[23].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field1);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[23].typ = (&NTI__HsJiUUcO9cHBdUCi0HwkSTA_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[23].name = "Field1";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[21].len = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[21].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[21].sons = &TM__xRflM5lMv4YvZq7gOUBMew_8_2[0];
|
|
NTI__xdLb0cyzx3FuM6Q4NnRTpQ_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[21];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[20].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[20].offset = offsetof(tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew, isLeaked);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[20].typ = (&NTI__xdLb0cyzx3FuM6Q4NnRTpQ_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[20].name = "isLeaked";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[14].len = 3; TM__xRflM5lMv4YvZq7gOUBMew_0[14].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[14].sons = &TM__xRflM5lMv4YvZq7gOUBMew_6_3[0];
|
|
NTI__yeNWyBBtRWZa5bRgjiglew_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[14];
|
|
NTI__Eq0quIPkR6mosgZ9aNjFQ3g_.size = sizeof(tyObject_TrackerBasecolonObjectType___yeNWyBBtRWZa5bRgjiglew*);
|
|
NTI__Eq0quIPkR6mosgZ9aNjFQ3g_.kind = 22;
|
|
NTI__Eq0quIPkR6mosgZ9aNjFQ3g_.base = (&NTI__yeNWyBBtRWZa5bRgjiglew_);
|
|
NTI__Eq0quIPkR6mosgZ9aNjFQ3g_.name = "TrackerBase";
|
|
NTI__Eq0quIPkR6mosgZ9aNjFQ3g_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Eq0quIPkR6mosgZ9aNjFQ3g_;
|
|
NTI__Eq0quIPkR6mosgZ9aNjFQ3g_.marker = Marker_tyRef__Eq0quIPkR6mosgZ9aNjFQ3g;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[13].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[13].offset = offsetof(tyObject_PDispatcherBasecolonObjectType___10VnwF9ac9cfzBseLeIJlicQ, trackers);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[13].typ = (&NTI__TE5saucQBAeG7QXcN7Ilrw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[13].name = "trackers";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[0].len = 4; TM__xRflM5lMv4YvZq7gOUBMew_0[0].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[0].sons = &TM__xRflM5lMv4YvZq7gOUBMew_2_4[0];
|
|
NTI__10VnwF9ac9cfzBseLeIJlicQ_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[0];
|
|
NTI__s2pCH3uE89b6sxQH9c9cKCrAw_.size = sizeof(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw);
|
|
NTI__s2pCH3uE89b6sxQH9c9cKCrAw_.kind = 17;
|
|
NTI__s2pCH3uE89b6sxQH9c9cKCrAw_.base = (&NTI__10VnwF9ac9cfzBseLeIJlicQ_);
|
|
NTI__s2pCH3uE89b6sxQH9c9cKCrAw_.name = "PDispatcher:ObjectType";
|
|
NTI__s2pCH3uE89b6sxQH9c9cKCrAw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__s2pCH3uE89b6sxQH9c9cKCrAw_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_9_2[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[25];
|
|
NTI__bCtwor9caPGFc9ccCxVlW5Ww_.size = sizeof(tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww);
|
|
NTI__bCtwor9caPGFc9ccCxVlW5Ww_.kind = 18;
|
|
NTI__bCtwor9caPGFc9ccCxVlW5Ww_.base = 0;
|
|
NTI__bCtwor9caPGFc9ccCxVlW5Ww_.name = "SelectorData";
|
|
NTI__bCtwor9caPGFc9ccCxVlW5Ww_.nextType = nimTypeRoot; nimTypeRoot=&NTI__bCtwor9caPGFc9ccCxVlW5Ww_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_10_4[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[27];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[27].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[27].offset = offsetof(tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww, reader);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[27].typ = (&NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[27].name = "reader";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_10_4[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[28];
|
|
NTI__EBfvX747tMGQ0twDQltLkw_.size = sizeof(tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw);
|
|
NTI__EBfvX747tMGQ0twDQltLkw_.kind = 18;
|
|
NTI__EBfvX747tMGQ0twDQltLkw_.base = 0;
|
|
NTI__EBfvX747tMGQ0twDQltLkw_.flags = 3;
|
|
NTI__EBfvX747tMGQ0twDQltLkw_.name = "CompletionData";
|
|
NTI__EBfvX747tMGQ0twDQltLkw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__EBfvX747tMGQ0twDQltLkw_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_11_2[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[30];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[30].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[30].offset = offsetof(tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw, fd);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[30].typ = (&NTI__nlCscttRCss70IBTyuBqnA_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[30].name = "fd";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_11_2[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[31];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[31].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[31].offset = offsetof(tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw, udata);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[31].typ = (&NTI__vr5DoT1jILTGdRlYv1OYpw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[31].name = "udata";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[29].len = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[29].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[29].sons = &TM__xRflM5lMv4YvZq7gOUBMew_11_2[0];
|
|
NTI__EBfvX747tMGQ0twDQltLkw_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[29];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[28].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[28].offset = offsetof(tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww, rdata);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[28].typ = (&NTI__EBfvX747tMGQ0twDQltLkw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[28].name = "rdata";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_10_4[2] = &TM__xRflM5lMv4YvZq7gOUBMew_0[32];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[32].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[32].offset = offsetof(tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww, writer);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[32].typ = (&NTI__Swoy2e9aGWZSpT0Jm9aqp3Zw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[32].name = "writer";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_10_4[3] = &TM__xRflM5lMv4YvZq7gOUBMew_0[33];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[33].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[33].offset = offsetof(tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww, wdata);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[33].typ = (&NTI__EBfvX747tMGQ0twDQltLkw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[33].name = "wdata";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[26].len = 4; TM__xRflM5lMv4YvZq7gOUBMew_0[26].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[26].sons = &TM__xRflM5lMv4YvZq7gOUBMew_10_4[0];
|
|
NTI__bCtwor9caPGFc9ccCxVlW5Ww_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[26];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[25].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[25].offset = offsetof(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw, selector);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[25].typ = (&NTI__HhFgDyQdqUwF69cxqPVsT8w_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[25].name = "selector";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_9_2[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[34];
|
|
NTI__y49cN20s5zoVYjuG5v5eVyg_.size = sizeof(tySequence__y49cN20s5zoVYjuG5v5eVyg*);
|
|
NTI__y49cN20s5zoVYjuG5v5eVyg_.kind = 24;
|
|
NTI__y49cN20s5zoVYjuG5v5eVyg_.base = (&NTI__vOvPQEijZeFv1xAgbh5rNw_);
|
|
NTI__y49cN20s5zoVYjuG5v5eVyg_.flags = 2;
|
|
NTI__y49cN20s5zoVYjuG5v5eVyg_.name = "seq[ReadyKey]";
|
|
NTI__y49cN20s5zoVYjuG5v5eVyg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__y49cN20s5zoVYjuG5v5eVyg_;
|
|
NTI__y49cN20s5zoVYjuG5v5eVyg_.marker = Marker_tySequence__y49cN20s5zoVYjuG5v5eVyg;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[34].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[34].offset = offsetof(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw, keys);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[34].typ = (&NTI__y49cN20s5zoVYjuG5v5eVyg_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[34].name = "keys";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[24].len = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[24].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[24].sons = &TM__xRflM5lMv4YvZq7gOUBMew_9_2[0];
|
|
NTI__s2pCH3uE89b6sxQH9c9cKCrAw_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[24];
|
|
NTI__xsIzb6EDNuJQE2KHY8fPTQ_.size = sizeof(tyObject_PDispatchercolonObjectType___s2pCH3uE89b6sxQH9c9cKCrAw*);
|
|
NTI__xsIzb6EDNuJQE2KHY8fPTQ_.kind = 22;
|
|
NTI__xsIzb6EDNuJQE2KHY8fPTQ_.base = (&NTI__s2pCH3uE89b6sxQH9c9cKCrAw_);
|
|
NTI__xsIzb6EDNuJQE2KHY8fPTQ_.name = "PDispatcher";
|
|
NTI__xsIzb6EDNuJQE2KHY8fPTQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__xsIzb6EDNuJQE2KHY8fPTQ_;
|
|
NTI__xsIzb6EDNuJQE2KHY8fPTQ_.marker = Marker_tyRef__xsIzb6EDNuJQE2KHY8fPTQ;
|
|
NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_.size = sizeof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw);
|
|
NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_.kind = 17;
|
|
NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
|
|
NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_.name = "FutureBase:ObjectType";
|
|
NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_13_8[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[36];
|
|
NTI__06L8jjfbunFPxVliYUVjmQ_.size = sizeof(tyArray__06L8jjfbunFPxVliYUVjmQ);
|
|
NTI__06L8jjfbunFPxVliYUVjmQ_.kind = 16;
|
|
NTI__06L8jjfbunFPxVliYUVjmQ_.base = (&NTI__lQEEtueHjH1gvaG8ApPKNQ_);
|
|
NTI__06L8jjfbunFPxVliYUVjmQ_.flags = 3;
|
|
NTI__06L8jjfbunFPxVliYUVjmQ_.name = "array[0..1, ptr SrcLoc]";
|
|
NTI__06L8jjfbunFPxVliYUVjmQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__06L8jjfbunFPxVliYUVjmQ_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[36].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[36].offset = offsetof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw, location);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[36].typ = (&NTI__06L8jjfbunFPxVliYUVjmQ_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[36].name = "location";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_13_8[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[37];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[37].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[37].offset = offsetof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw, callbacks);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[37].typ = (&NTI__qkV9cggxceO9cpfUWIbCnvJg_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[37].name = "callbacks";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_13_8[2] = &TM__xRflM5lMv4YvZq7gOUBMew_0[38];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[38].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[38].offset = offsetof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw, cancelcb);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[38].typ = (&NTI__9bqx36VxQxXejdrF09bFARDQ_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[38].name = "cancelcb";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_13_8[3] = &TM__xRflM5lMv4YvZq7gOUBMew_0[39];
|
|
NTI__Oe5U64nDSwOh3KlTzM9b9c7g_.size = sizeof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*);
|
|
NTI__Oe5U64nDSwOh3KlTzM9b9c7g_.kind = 22;
|
|
NTI__Oe5U64nDSwOh3KlTzM9b9c7g_.base = (&NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_);
|
|
NTI__Oe5U64nDSwOh3KlTzM9b9c7g_.name = "FutureBase";
|
|
NTI__Oe5U64nDSwOh3KlTzM9b9c7g_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_;
|
|
NTI__Oe5U64nDSwOh3KlTzM9b9c7g_.marker = Marker_tyRef__Oe5U64nDSwOh3KlTzM9b9c7g;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[39].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[39].offset = offsetof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw, child);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[39].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[39].name = "child";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_13_8[4] = &TM__xRflM5lMv4YvZq7gOUBMew_0[40];
|
|
NTI__WzRzKRS6S9aqphI4AiMjRNA_.size = sizeof(tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA);
|
|
NTI__WzRzKRS6S9aqphI4AiMjRNA_.kind = 14;
|
|
NTI__WzRzKRS6S9aqphI4AiMjRNA_.base = 0;
|
|
NTI__WzRzKRS6S9aqphI4AiMjRNA_.flags = 3;
|
|
NTI__WzRzKRS6S9aqphI4AiMjRNA_.name = "FutureState";
|
|
NTI__WzRzKRS6S9aqphI4AiMjRNA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__WzRzKRS6S9aqphI4AiMjRNA_;
|
|
for (TM__xRflM5lMv4YvZq7gOUBMew_16 = 0; TM__xRflM5lMv4YvZq7gOUBMew_16 < 4; TM__xRflM5lMv4YvZq7gOUBMew_16++) {
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[TM__xRflM5lMv4YvZq7gOUBMew_16+41].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[TM__xRflM5lMv4YvZq7gOUBMew_16+41].offset = TM__xRflM5lMv4YvZq7gOUBMew_16;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[TM__xRflM5lMv4YvZq7gOUBMew_16+41].name = TM__xRflM5lMv4YvZq7gOUBMew_15[TM__xRflM5lMv4YvZq7gOUBMew_16];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_14_4[TM__xRflM5lMv4YvZq7gOUBMew_16] = &TM__xRflM5lMv4YvZq7gOUBMew_0[TM__xRflM5lMv4YvZq7gOUBMew_16+41];
|
|
}
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[45].len = 4; TM__xRflM5lMv4YvZq7gOUBMew_0[45].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[45].sons = &TM__xRflM5lMv4YvZq7gOUBMew_14_4[0];
|
|
NTI__WzRzKRS6S9aqphI4AiMjRNA_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[45];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[40].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[40].offset = offsetof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw, state);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[40].typ = (&NTI__WzRzKRS6S9aqphI4AiMjRNA_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[40].name = "state";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_13_8[5] = &TM__xRflM5lMv4YvZq7gOUBMew_0[46];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[46].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[46].offset = offsetof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw, error);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[46].typ = (&NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[46].name = "error";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_13_8[6] = &TM__xRflM5lMv4YvZq7gOUBMew_0[47];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[47].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[47].offset = offsetof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw, mustCancel);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[47].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[47].name = "mustCancel";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_13_8[7] = &TM__xRflM5lMv4YvZq7gOUBMew_0[48];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[48].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[48].offset = offsetof(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw, id);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[48].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[48].name = "id";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[35].len = 8; TM__xRflM5lMv4YvZq7gOUBMew_0[35].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[35].sons = &TM__xRflM5lMv4YvZq7gOUBMew_13_8[0];
|
|
NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[35];
|
|
NTI__GXFSekg1U8JRoedGa2vBSA_.size = sizeof(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA);
|
|
NTI__GXFSekg1U8JRoedGa2vBSA_.kind = 17;
|
|
NTI__GXFSekg1U8JRoedGa2vBSA_.base = (&NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_);
|
|
NTI__GXFSekg1U8JRoedGa2vBSA_.name = "Future[system.void]";
|
|
NTI__GXFSekg1U8JRoedGa2vBSA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__GXFSekg1U8JRoedGa2vBSA_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[49].len = 0; TM__xRflM5lMv4YvZq7gOUBMew_0[49].kind = 2;
|
|
NTI__GXFSekg1U8JRoedGa2vBSA_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[49];
|
|
NTI__wrhe6hYHoM2gc8EiW0lE6Q_.size = sizeof(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*);
|
|
NTI__wrhe6hYHoM2gc8EiW0lE6Q_.kind = 22;
|
|
NTI__wrhe6hYHoM2gc8EiW0lE6Q_.base = (&NTI__GXFSekg1U8JRoedGa2vBSA_);
|
|
NTI__wrhe6hYHoM2gc8EiW0lE6Q_.name = "Future[system.void]";
|
|
NTI__wrhe6hYHoM2gc8EiW0lE6Q_.nextType = nimTypeRoot; nimTypeRoot=&NTI__wrhe6hYHoM2gc8EiW0lE6Q_;
|
|
NTI__wrhe6hYHoM2gc8EiW0lE6Q_.marker = Marker_tyRef__wrhe6hYHoM2gc8EiW0lE6Q;
|
|
NTI__mbFzZshcwr2hqxBavvwQww_.size = sizeof(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww);
|
|
NTI__mbFzZshcwr2hqxBavvwQww_.kind = 17;
|
|
NTI__mbFzZshcwr2hqxBavvwQww_.base = (&NTI__V9aHQccB2Pyjfqk9bdE5ZRnw_);
|
|
NTI__mbFzZshcwr2hqxBavvwQww_.name = "Future[system.Natural]";
|
|
NTI__mbFzZshcwr2hqxBavvwQww_.nextType = nimTypeRoot; nimTypeRoot=&NTI__mbFzZshcwr2hqxBavvwQww_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[50].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[50].offset = offsetof(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww, value);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[50].typ = (&NTI__hLlQjbV9bLNq5PFxYcqacsA_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[50].name = "value";
|
|
NTI__mbFzZshcwr2hqxBavvwQww_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[50];
|
|
NTI__k6jrF8Gn9aPHVK4XfXeNIMg_.size = sizeof(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww*);
|
|
NTI__k6jrF8Gn9aPHVK4XfXeNIMg_.kind = 22;
|
|
NTI__k6jrF8Gn9aPHVK4XfXeNIMg_.base = (&NTI__mbFzZshcwr2hqxBavvwQww_);
|
|
NTI__k6jrF8Gn9aPHVK4XfXeNIMg_.name = "Future[system.Natural]";
|
|
NTI__k6jrF8Gn9aPHVK4XfXeNIMg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__k6jrF8Gn9aPHVK4XfXeNIMg_;
|
|
NTI__k6jrF8Gn9aPHVK4XfXeNIMg_.marker = Marker_tyRef__k6jrF8Gn9aPHVK4XfXeNIMg;
|
|
NTI__mSbB19aofqUR43DuDIwZNdQ_.size = sizeof(tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ);
|
|
NTI__mSbB19aofqUR43DuDIwZNdQ_.kind = 17;
|
|
NTI__mSbB19aofqUR43DuDIwZNdQ_.base = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_);
|
|
NTI__mSbB19aofqUR43DuDIwZNdQ_.name = "FutureDefect";
|
|
NTI__mSbB19aofqUR43DuDIwZNdQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__mSbB19aofqUR43DuDIwZNdQ_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[51].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[51].offset = offsetof(tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ, cause);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[51].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[51].name = "cause";
|
|
NTI__mSbB19aofqUR43DuDIwZNdQ_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[51];
|
|
NTI__r51VZ54Di9b6hoKoHVERbpQ_.size = sizeof(tyObject_FutureDefect__mSbB19aofqUR43DuDIwZNdQ*);
|
|
NTI__r51VZ54Di9b6hoKoHVERbpQ_.kind = 22;
|
|
NTI__r51VZ54Di9b6hoKoHVERbpQ_.base = (&NTI__mSbB19aofqUR43DuDIwZNdQ_);
|
|
NTI__r51VZ54Di9b6hoKoHVERbpQ_.name = "ref FutureDefect";
|
|
NTI__r51VZ54Di9b6hoKoHVERbpQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__r51VZ54Di9b6hoKoHVERbpQ_;
|
|
NTI__r51VZ54Di9b6hoKoHVERbpQ_.marker = Marker_tyRef__r51VZ54Di9b6hoKoHVERbpQ;
|
|
NTI__EUoRp7OBZg41PuLzH7xC8Q_.size = sizeof(tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q);
|
|
NTI__EUoRp7OBZg41PuLzH7xC8Q_.kind = 17;
|
|
NTI__EUoRp7OBZg41PuLzH7xC8Q_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
|
|
NTI__EUoRp7OBZg41PuLzH7xC8Q_.name = "FutureError";
|
|
NTI__EUoRp7OBZg41PuLzH7xC8Q_.nextType = nimTypeRoot; nimTypeRoot=&NTI__EUoRp7OBZg41PuLzH7xC8Q_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[52].len = 0; TM__xRflM5lMv4YvZq7gOUBMew_0[52].kind = 2;
|
|
NTI__EUoRp7OBZg41PuLzH7xC8Q_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[52];
|
|
NTI__REH9aBNkNbeLkDu8Z1q6BeA_.size = sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA);
|
|
NTI__REH9aBNkNbeLkDu8Z1q6BeA_.kind = 17;
|
|
NTI__REH9aBNkNbeLkDu8Z1q6BeA_.base = (&NTI__EUoRp7OBZg41PuLzH7xC8Q_);
|
|
NTI__REH9aBNkNbeLkDu8Z1q6BeA_.name = "CancelledError";
|
|
NTI__REH9aBNkNbeLkDu8Z1q6BeA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__REH9aBNkNbeLkDu8Z1q6BeA_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[53].len = 0; TM__xRflM5lMv4YvZq7gOUBMew_0[53].kind = 2;
|
|
NTI__REH9aBNkNbeLkDu8Z1q6BeA_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[53];
|
|
NTI__paaBQT4pyImJiuEdGp60qA_.size = sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*);
|
|
NTI__paaBQT4pyImJiuEdGp60qA_.kind = 22;
|
|
NTI__paaBQT4pyImJiuEdGp60qA_.base = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_);
|
|
NTI__paaBQT4pyImJiuEdGp60qA_.name = "ref CancelledError";
|
|
NTI__paaBQT4pyImJiuEdGp60qA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__paaBQT4pyImJiuEdGp60qA_;
|
|
NTI__paaBQT4pyImJiuEdGp60qA_.marker = Marker_tyRef__paaBQT4pyImJiuEdGp60qA;
|
|
NTI__ljJq46SgY0d6nRTtFliXCw_.size = sizeof(tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw);
|
|
NTI__ljJq46SgY0d6nRTtFliXCw_.kind = 17;
|
|
NTI__ljJq46SgY0d6nRTtFliXCw_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
|
|
NTI__ljJq46SgY0d6nRTtFliXCw_.name = "object";
|
|
NTI__ljJq46SgY0d6nRTtFliXCw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__ljJq46SgY0d6nRTtFliXCw_;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_53_2[0] = &TM__xRflM5lMv4YvZq7gOUBMew_0[55];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[55].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[55].offset = offsetof(tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw, colonstate_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[55].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[55].name = ":state";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_53_2[1] = &TM__xRflM5lMv4YvZq7gOUBMew_0[56];
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[56].kind = 1;
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[56].offset = offsetof(tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw, future1);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[56].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[56].name = "future1";
|
|
TM__xRflM5lMv4YvZq7gOUBMew_0[54].len = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[54].kind = 2; TM__xRflM5lMv4YvZq7gOUBMew_0[54].sons = &TM__xRflM5lMv4YvZq7gOUBMew_53_2[0];
|
|
NTI__ljJq46SgY0d6nRTtFliXCw_.node = &TM__xRflM5lMv4YvZq7gOUBMew_0[54];
|
|
NTI__bS9a8GSxZWqcdqiC47YMqnw_.size = sizeof(tyObject_Env_asyncfutures2dotnim___ljJq46SgY0d6nRTtFliXCw*);
|
|
NTI__bS9a8GSxZWqcdqiC47YMqnw_.kind = 22;
|
|
NTI__bS9a8GSxZWqcdqiC47YMqnw_.base = (&NTI__ljJq46SgY0d6nRTtFliXCw_);
|
|
NTI__bS9a8GSxZWqcdqiC47YMqnw_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
|
|
"/nim-chronos/chronos/asyncfutures2.nim(521, 21)";
|
|
NTI__bS9a8GSxZWqcdqiC47YMqnw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__bS9a8GSxZWqcdqiC47YMqnw_;
|
|
NTI__bS9a8GSxZWqcdqiC47YMqnw_.marker = Marker_tyRef__bS9a8GSxZWqcdqiC47YMqnw;
|
|
}
|
|
|