hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
588 values
lang
stringclasses
305 values
max_stars_repo_path
stringlengths
3
363
max_stars_repo_name
stringlengths
5
118
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringdate
2015-01-01 00:00:35
2022-03-31 23:43:49
max_stars_repo_stars_event_max_datetime
stringdate
2015-01-01 12:37:38
2022-03-31 23:59:52
max_issues_repo_path
stringlengths
3
363
max_issues_repo_name
stringlengths
5
118
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
363
max_forks_repo_name
stringlengths
5
135
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringdate
2015-01-01 00:01:02
2022-03-31 23:27:27
max_forks_repo_forks_event_max_datetime
stringdate
2015-01-03 08:55:07
2022-03-31 23:59:24
content
stringlengths
5
1.05M
avg_line_length
float64
1.13
1.04M
max_line_length
int64
1
1.05M
alphanum_fraction
float64
0
1
feb781b0ff23b1eff503b296118eb90caaaa6107
387
c
C
BEECROWD/Beginner/1151.c
AkibHossainOmi/Solving-Online-Judge-Problem
ae2f7685f7a0df3438607498c38de01742fe7240
[ "MIT" ]
1
2022-01-30T05:20:36.000Z
2022-01-30T05:20:36.000Z
BEECROWD/Beginner/1151.c
AkibHossainOmi/Solving-Online-Judge-Problem
ae2f7685f7a0df3438607498c38de01742fe7240
[ "MIT" ]
null
null
null
BEECROWD/Beginner/1151.c
AkibHossainOmi/Solving-Online-Judge-Problem
ae2f7685f7a0df3438607498c38de01742fe7240
[ "MIT" ]
null
null
null
#include <stdio.h> int main() { int i,n,f=0,s=1,t; scanf("%d",&n); for(i=1; i<=n; i++) { if(i<n) { printf("%d ",f); t=f+s; f=s; s=t; } else { printf("%d\n",f); t=f+s; s=t; f=s; } } return 0; }
14.884615
30
0.235142
f247168df2ce57a676facc7aadc8a14217304f15
223
h
C
common/include/utils/files.h
sathyamvellal/learnopengl
54e9fd6193c6dc970b0802bc31c5b558c46586d5
[ "MIT" ]
null
null
null
common/include/utils/files.h
sathyamvellal/learnopengl
54e9fd6193c6dc970b0802bc31c5b558c46586d5
[ "MIT" ]
null
null
null
common/include/utils/files.h
sathyamvellal/learnopengl
54e9fd6193c6dc970b0802bc31c5b558c46586d5
[ "MIT" ]
null
null
null
// // Created by Sathyam Vellal on 10/03/2018. // #ifndef LEARNOPENGL_FILES_H #define LEARNOPENGL_FILES_H #include <string> void extract(std::string& contents, const std::string& filename); #endif //LEARNOPENGL_FILES_H
17.153846
65
0.757848
f1a82c26904c7d794ee98515659200450f356ee0
16,418
c
C
src/srv/srvsmc.c
kaveman-/9pm
c5a560d936a46ec64b05f302fbe811b11a341285
[ "LPL-1.02" ]
null
null
null
src/srv/srvsmc.c
kaveman-/9pm
c5a560d936a46ec64b05f302fbe811b11a341285
[ "LPL-1.02" ]
null
null
null
src/srv/srvsmc.c
kaveman-/9pm
c5a560d936a46ec64b05f302fbe811b11a341285
[ "LPL-1.02" ]
null
null
null
#include <u.h> #include <9pm/libc.h> #include <9pm/srv.h> #include <9pm/windows.h> #define WINCLASS L"9pmsmc" typedef struct Sid Sid; typedef struct Conv Conv; typedef struct Glink Glink; typedef struct Link Link; typedef struct Gmem Gmem; typedef struct Call Call; enum { Gbufsize = 100, }; /* sid types */ enum { Snet, Sclone, Sconv, }; enum { Cfree, /* not used */ Calloc, /* allocated by clone - not opened */ Cconnecting, /* received call - not opened */ Copened, /* opened but not connected or announced */ Cannounced, /* announced - has window */ Cannclosed, /* a closed connection point - window is gone */ Cconnected, /* a connected data conversation */ }; struct Conv { Qlock lk; int id; int state; /* hold lk to examine or change */ char *port; /* port name */ /* * parent is used to close conversation that have been allocated * but not yet opened. * These conversations are closed if the parent is closed. */ Sid *parent; /* for listen: state == announced */ Event ecall; HWND wnd; /* window for calls */ Conv *lis; /* for connecting conversations */ /* for the link - state: connecting or connected */ int pid; /* process id */ HANDLE proc; /* handle to processes */ void *gmem; /* global memory */ HANDLE hgmem; /* handle to global memory */ Link *rlink, *wlink; /* read and write links */ }; struct Sid { int type; Conv *c; }; struct Link { Qlock lk; Glink *g; /* global memory */ HANDLE eread; HANDLE ewrite; }; struct Glink { HANDLE eread; /* client handle for read event object */ HANDLE ewrite; /* client handle for write event object */ int closed; /* read side closed */ int eof; /* write side closed */ int reading; /* read in progress */ int writing; /* write in progress */ int ri; /* only changed by reader */ int wi; /* only changed by writer */ uchar buf[Gbufsize]; /* data */ }; struct Gmem { Glink u; /* to server */ Glink d; /* to client */ }; static void *sinit(void*, Sinfo*); static int sfini(void*); static Sid *sopen(void*, int, char*, char*, Sinfo*); static int sclose(void*, Sid*); static int sfree(void*, Sid*); static int sread(void*, Sid*, uchar*, int); static int swrite(void*, Sid*, uchar*, int); static int srpc(void*, Sid*, uchar*, int, int); Stype srvsmc = { sinit, sfini, sopen, sclose, sfree, sread, swrite, srpc, 0, }; static int convcall(Conv *c, uint pid); static Conv *convalloc(void); static void convclose(Conv *); static int convannounce(Conv *c, char *port); static int convlisten(Conv *c); static int convconnect(Conv *c, char *port); static Link* linkalloc(Glink*, HANDLE, HANDLE, HANDLE); static void linkclose(Link*, int); static void linkfree(Link*); static int linkread(Link*, uchar*, int); static int linkwrite(Link*, uchar*, int); static Sid *sidalloc(int type, Conv *c); static void announcethread(Conv *c); static struct { Qlock lk; int nconv; Conv **conv; } smc; static void * sinit(void *a, Sinfo *info) { strcpy(info->name, "/"); strcpy(info->type, "net"); info->flags |= Sdir; srvgenid(info->id, &srvsmc); info->mesgsize = 0; return &srvsmc; } static int sfini(void *a) { /* fprint(2, "srvping: fini\n"); /**/ return 1; } static Sid * sopen(void *a, int id, char *name, char *type, Sinfo *info) { Sid *sid; char *p; int cid; Conv *c; if(strcmp(name, "/") == 0) { if(strcmp(type, "net") != 0) { werrstr("server type: expected net"); return 0; } sid = sidalloc(Snet, 0); return sid; } if(strcmp(name, "/clone") == 0) { if(strcmp(type, "netclone") != 0) { werrstr("server type: expected netclone"); return 0; } sid = sidalloc(Sclone, 0); return sid; } if(strcmp(type, "netconv") != 0) { werrstr("server type: expected netconv"); return 0; } cid = strtol(name+1, &p, 10); if(p == name+1 || *p != 0) { werrstr("unknown server"); return 0; } qlock(&smc.lk); if(cid < 0 || cid >= smc.nconv) { qunlock(&smc.lk); werrstr("conversation number out of range"); return 0; } c = smc.conv[cid]; qunlock(&smc.lk); qlock(&c->lk); if(c->state == Cfree) { qunlock(&c->lk); werrstr("conversation not allocated"); return 0; } if(c->state != Calloc && c->state != Cconnecting) { qunlock(&c->lk); werrstr("conversation already opened"); return 0; } if(c->state == Cconnecting) { c->lis = 0; c->state = Cconnected; } else { c->parent = 0; c->state = Copened; } qunlock(&c->lk); sid = sidalloc(Sconv, c); return sid; } static int sclose(void *a, Sid *sid) { Conv *c; switch(sid->type) { default: break; case Sconv: c = sid->c; qlock(&c->lk); switch(c->state) { case Cconnected: /* close links - should wakeup any reads/writes */ linkclose(c->rlink, 0); linkclose(c->wlink, 1); break; case Cannounced: if(c->wnd) PostMessage(c->wnd, WM_CLOSE, 0, 0); else c->state = Cannclosed; break; } qunlock(&c->lk); } return 1; } static int sfree(void *a, Sid *sid) { int i; Conv *c; switch(sid->type) { default: break; case Sclone: qlock(&smc.lk); for(i=0; i<smc.nconv; i++) if(smc.conv[i]->parent == sid) convclose(smc.conv[i]); qunlock(&smc.lk); break; case Sconv: c = sid->c; qlock(&smc.lk); convclose(c); for(i=0; i<smc.nconv; i++) if(smc.conv[i]->lis == c) convclose(c); qunlock(&smc.lk); break; } free(sid); return 1; } static int sread(void *a, Sid *sid, uchar *buf, int n) { Conv *c; switch(sid->type) { default: werrstr("read operation not supported"); return -1; case Sclone: c = convalloc(); c->parent = sid; n = snprint(buf, n, "%d", c->id); qunlock(&c->lk); break; case Sconv: c = sid->c; if(c->state != Cconnected) { werrstr("conversation not connected"); return -1; } n = linkread(c->rlink, buf, n); break; } return n; } static int swrite(void *a, Sid *sid, uchar *buf, int n) { Conv *c; switch(sid->type) { default: werrstr("write operation not supported"); return -1; case Sconv: c = sid->c; if(c->state != Cconnected) { werrstr("conversation not connected"); return -1; } n = linkwrite(c->wlink, buf, n); break; } return n; } static int srpc(void *a, Sid *sid, uchar *ubuf, int nr, int nw) { Conv *c; int id; char buf[Snamelen]; switch(sid->type) { default: werrstr("rpc operation not supported"); return -1; case Sconv: c = sid->c; if(nr >= sizeof(buf)) { werrstr("rpc too long"); return -1; } memmove(buf, ubuf, nr); buf[nr] = 0; if(strncmp(buf, "announce ", 9) == 0) { if(!convannounce(c, buf+9)) return -1; nw = 0; break; } if(strncmp(buf, "connect ", 8) == 0) { if(!convconnect(c, buf+8)) return -1; nw = 0; break; } if(strcmp(buf, "listen") == 0) { id = convlisten(c); if(id<0) return -1; nw = snprint(ubuf, nw, "%d", id); break; } if(strcmp(buf, "accept") == 0) { nw = 0; break; } if(strncmp(buf, "reject ", 7) == 0) { nw = 0; break; } werrstr("unknown rpc command"); return -1; break; } return nw; } static Conv * convalloc(void) { Conv *c; int i; qlock(&smc.lk); for(i=0; i<smc.nconv; i++) if(smc.conv[i]->state == Cfree) break; if(i == smc.nconv) { smc.nconv++; smc.conv = realloc(smc.conv, smc.nconv*sizeof(Conv*)); c = mallocz(sizeof(Conv)); smc.conv[i] = c; c->id = i; } else c = smc.conv[i]; qlock(&c->lk); c->state = Calloc; qunlock(&smc.lk); return c; } static void convclose(Conv *c) { qlock(&c->lk); switch(c->state) { default: fatal("convclose: unknown state"); case Cfree: fatal("convclose: c->state == Cfree"); case Calloc: case Cconnecting: case Copened: case Cconnected: case Cannclosed: break; case Cannounced: /* announcethread will change the state to Cannclosed */ while(c->state != Cannclosed) { qunlock(&c->lk); ewait(&c->ecall); qlock(&c->lk); } } /* general cleanup */ free(c->port); c->port = 0; c->parent = 0; ereset(&c->ecall); c->wnd = 0; c->lis = 0; c->pid = 0; if(c->proc) CloseHandle(c->proc); c->proc = 0; if(c->gmem) UnmapViewOfFile(c->gmem); c->gmem = 0; if(c->hgmem) CloseHandle(c->hgmem); c->hgmem = 0; linkfree(c->rlink); c->rlink = 0; linkfree(c->wlink); c->wlink = 0; /* ok, ready to realloc it */ c->state = Cfree; qunlock(&c->lk); } static int convannounce(Conv *c, char *port) { qlock(&c->lk); if(c->state != Copened) { qunlock(&c->lk); werrstr("conversation in use"); return 0; } c->state = Cannounced; c->port = strdup(port); qunlock(&c->lk); thread(announcethread, c); return 1; } static int convconnect(Conv *c, char *port) { HWND hwin; int pid; char buf[Snamelen+30]; Rune wbuf[Snamelen+30]; Gmem *gm; qlock(&c->lk); if(c->state != Copened) { werrstr("conversation is busy"); goto Err; } sprint(buf, "9pmsmc %s", port); utftowstr(wbuf, buf, sizeof(wbuf)); hwin = FindWindow(WINCLASS, wbuf); if(hwin == 0) { werrstr("port not found"); goto Err; } GetWindowThreadProcessId(hwin, &pid); CloseHandle(hwin); c->pid = pid; c->proc = OpenProcess(PROCESS_ALL_ACCESS, 0, pid); if(c->proc == 0) goto Err; c->hgmem = (void*)SendMessage(hwin, WM_USER, 0, GetCurrentProcessId()); if(c->hgmem == 0) goto Err; gm = MapViewOfFile(c->hgmem, FILE_MAP_WRITE, 0, 0, 0); if(gm == 0) fatal("could not map shared memory"); c->gmem = gm; c->rlink = linkalloc(&gm->d, 0, gm->d.eread, gm->d.ewrite); c->wlink = linkalloc(&gm->u, 0, gm->u.eread, gm->u.ewrite); c->port = strdup(port); c->state = Cconnected; qunlock(&c->lk); return 1; Err: if(c->gmem) UnmapViewOfFile(c->gmem); c->gmem = 0; if(c->hgmem) CloseHandle(c->hgmem); c->hgmem = 0; c->pid = 0; if(c->proc) CloseHandle(c->proc); c->proc = 0; qunlock(&c->lk); return 0; } int convlisten(Conv *c) { int i; for(;;) { qlock(&smc.lk); for(i=0; i<smc.nconv; i++) { if(smc.conv[i]->lis == c) { qunlock(&smc.lk); return i; } } qunlock(&smc.lk); if(!ewait(&c->ecall)) { werrstr("listen closed"); return -1; } } } static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { HDC hdc; PAINTSTRUCT ps; Conv *c; switch (message) { case WM_USER: c = (Conv*)GetWindowLong(hwnd, GWL_USERDATA); assert(c->state == Cannounced); return convcall(c, lParam); case WM_PAINT: hdc = BeginPaint (hwnd, &ps); EndPaint (hwnd, &ps); return 0; case WM_DESTROY: PostQuitMessage (0); return 0; } return DefWindowProc(hwnd, message, wParam, lParam); } static void announcethread(Conv *c) { HWND hwnd; MSG msg; WNDCLASS wndclass; char buf[Snamelen+30], err[ERRLEN]; Rune wbuf[Snamelen+30]; static Ref init; threadnowait(); if(refinc(&init) == 0) { wndclass.style = 0; wndclass.lpfnWndProc = WndProc; wndclass.cbClsExtra = 0; wndclass.cbWndExtra = 0; wndclass.hInstance = GetModuleHandle(NULL); wndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION); wndclass.hCursor = LoadCursor (NULL, IDC_ARROW); wndclass.hbrBackground = GetStockObject (WHITE_BRUSH); wndclass.lpszMenuName = NULL; wndclass.lpszClassName = WINCLASS; if(RegisterClass(&wndclass) == 0) fatal("RegisterClass"); } qlock(&c->lk); if(c->state != Cannounced) { qunlock(&c->lk); threadexit(); } sprint(buf, "9pmsmc %s", c->port); utftowstr(wbuf, buf, sizeof(wbuf)); hwnd = CreateWindow (WINCLASS, // window class name wbuf, // window caption WS_OVERLAPPEDWINDOW, // window style CW_USEDEFAULT, // initial x position CW_USEDEFAULT, // initial y position CW_USEDEFAULT, // initial x size CW_USEDEFAULT, // initial y size NULL, // parent window handle NULL, // window menu handle GetModuleHandle(NULL), // program instance handle NULL); // creation parameters if(hwnd == 0) fatal("CreateWindow: %s", win_error(err, sizeof(err))); SetLastError(0); if(SetWindowLong(hwnd, GWL_USERDATA, (long)c) == 0 && GetLastError() != 0) fatal("SetWindowLong: %s", win_error(err, sizeof(err))); c->wnd = hwnd; qunlock(&c->lk); ShowWindow(hwnd, SW_HIDE); while(GetMessage(&msg, NULL, 0, 0)) { TranslateMessage (&msg) ; DispatchMessage (&msg) ; } /* cleanup closing */ qlock(&c->lk); c->state = Cannclosed; qunlock(&c->lk); epoison(&c->ecall); threadexit(); } static int convcall(Conv *c, uint pid) { HANDLE hp, hmem[2], ue[2], de[2]; int n, i; Gmem *gmem; Conv *nc; char err[ERRLEN]; hp = 0; hmem[0] = hmem[1] = 0; ue[0] = ue[1] = de[0] = de[1] = 0; gmem = 0; if((hp = OpenProcess(PROCESS_ALL_ACCESS, 0, pid)) == 0) goto Err; n = sizeof(Gmem); hmem[0] = CreateFileMapping((HANDLE)0xFFFFFFFF, 0, PAGE_READWRITE|SEC_COMMIT, 0, n, 0); if(hmem[0] == 0) goto Err; if (DuplicateHandle(GetCurrentProcess(), hmem[0], hp, &hmem[1], FILE_MAP_ALL_ACCESS, 0, 0) == 0) goto Err; gmem = MapViewOfFile(hmem[0], FILE_MAP_WRITE, 0, 0, n); if(gmem == 0) goto Err; memset(gmem, 0, sizeof(Gmem)); for(i=0; i<2; i++) { if((ue[i] = CreateEvent(0, 0, 0, 0)) == 0) goto Err; if((de[i] = CreateEvent(0, 0, 0, 0)) == 0) goto Err; } nc = convalloc(); nc->port = strdup(c->port); nc->state = Cconnecting; nc->proc = hp; nc->lis = c; nc->pid = pid; nc->gmem = gmem; nc->hgmem = hmem[0]; nc->rlink = linkalloc(&gmem->u, hp, ue[0], ue[1]); nc->wlink = linkalloc(&gmem->d, hp, de[0], de[1]); qunlock(&nc->lk); /* wakeup listener */ esignal(&c->ecall); return (long)hmem[1]; Err: fprint(2, "convcall: error: %s", win_error(err, sizeof(err))); if(hp) CloseHandle(hp); if(gmem) UnmapViewOfFile(gmem); if(hmem[0]) CloseHandle(hmem[0]); for(i=0; i<2; i++) { if(ue[i]) CloseHandle(ue[i]); if(de[i]) CloseHandle(de[i]); } return 0; } static Sid * sidalloc(int type, Conv *c) { Sid *s; s = mallocz(sizeof(Sid)); s->type = type; s->c = c; return s; } static Link* linkalloc(Glink *gl, HANDLE hp, HANDLE eread, HANDLE ewrite) { Link *l; if(hp) { DuplicateHandle(GetCurrentProcess(), eread, hp, &gl->eread, EVENT_ALL_ACCESS, 0, 0); DuplicateHandle(GetCurrentProcess(), ewrite, hp, &gl->ewrite, EVENT_ALL_ACCESS, 0, 0); } l = mallocz(sizeof(Link)); l->g = gl; l->eread = eread; l->ewrite = ewrite; return l; } static int linkwrite(Link *link, uchar *buf, int n) { uchar *p; int ri, wi, n2; Glink *g; if(n <= 0) return n; p = buf; qlock(&link->lk); g = link->g; wi = g->wi; while(n>0) { g->writing = 1; for(;;) { if(g->closed) { qunlock(&link->lk); return -1; } ri = g->ri; ri--; if(ri < 0) ri = Gbufsize-1; if(wi != ri) break; if(WaitForSingleObject(link->ewrite, INFINITE) != WAIT_OBJECT_0) fatal("linkwrite: waitforsingleobject"); } g->writing = 0; if(wi > ri) { n2 = Gbufsize-wi; if(n2 > n) n2 = n; memmove(g->buf+wi, p, n2); n -= n2; p += n2; wi += n2; if(wi == Gbufsize) wi = 0; } if(n > 0 && ri != wi) { n2 = ri-wi; if(n2 > n) n2 = n; memmove(g->buf+wi, p, n2); n -= n2; p += n2; wi += n2; } g->wi = wi; if(g->reading) SetEvent(link->eread); } qunlock(&link->lk); return p-buf; } static int linkread(Link *link, uchar *buf, int n) { uchar *p; int ri, wi, n2; Glink *g; if(n <= 0) return n; p = buf; qlock(&link->lk); g = link->g; ri = g->ri; g->reading = 1; while(ri == g->wi) { if(g->eof) { /* fprint(2, "read link eof\n"); */ qunlock(&link->lk); return 0; } if(g->closed) { qunlock(&link->lk); return -1; } if(WaitForSingleObject(link->eread, INFINITE) != WAIT_OBJECT_0) fatal("linkread: waitforsingleobject"); } g->reading = 0; wi = g->wi; if(ri > wi) { n2 = Gbufsize-ri; if(n2 > n) n2 = n; memmove(p, g->buf+ri, n2); n -= n2; p += n2; ri += n2; if(ri == Gbufsize) ri = 0; } if(n > 0 && ri != wi) { n2 = wi-ri; if(n2 > n) n2 = n; memmove(p, g->buf+ri, n2); n -= n2; p += n2; ri += n2; } g->ri = ri; if(g->writing) SetEvent(link->ewrite); qunlock(&link->lk); return p-buf; } static void linkclose(Link *l, int dir) { if(dir == 0) l->g->closed = 1; else l->g->eof = 1; SetEvent(l->eread); SetEvent(l->ewrite); } static void linkfree(Link *l) { if(l == 0) return; CloseHandle(l->eread); CloseHandle(l->ewrite); free(l); }
17.373545
88
0.597393
01a5775dda4bb11e866dd08b322d1070b932c0a9
167
h
C
Source/Engine/Object.h
Computer-Scienc/Vengance
6b587d2bf583a7f8638c2a695a1c39262e3f1ede
[ "MIT" ]
null
null
null
Source/Engine/Object.h
Computer-Scienc/Vengance
6b587d2bf583a7f8638c2a695a1c39262e3f1ede
[ "MIT" ]
null
null
null
Source/Engine/Object.h
Computer-Scienc/Vengance
6b587d2bf583a7f8638c2a695a1c39262e3f1ede
[ "MIT" ]
null
null
null
#ifndef VOBJECT_H #define VOBJECT_H class VObject { public: VObject(); virtual ~VObject(); protected: private: }; #endif // VOBJECT_H
9.823529
27
0.592814
7d267d616ef4a2f91e4421e863cf6468a50dfe00
49
h
C
nrf5-environment-sensor/src/environmental_sensor.h
chacal/arduino
6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd
[ "Apache-2.0" ]
4
2016-12-10T13:20:52.000Z
2019-10-25T19:47:44.000Z
nrf5-environment-sensor/src/environmental_sensor.h
chacal/arduino
6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd
[ "Apache-2.0" ]
null
null
null
nrf5-environment-sensor/src/environmental_sensor.h
chacal/arduino
6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd
[ "Apache-2.0" ]
1
2019-05-03T17:31:38.000Z
2019-05-03T17:31:38.000Z
#pragma once void environmental_sensor_start();
12.25
34
0.816327
62d84c3e8f592c0401f41e58d904fbf7dfdef968
1,262
h
C
TBDropboxKit/Classes/TBDropboxQueue.h
truebucha/TBDropboxKit
f771ee3a76ea98efe1361822055984584e4fbe97
[ "MIT" ]
null
null
null
TBDropboxKit/Classes/TBDropboxQueue.h
truebucha/TBDropboxKit
f771ee3a76ea98efe1361822055984584e4fbe97
[ "MIT" ]
null
null
null
TBDropboxKit/Classes/TBDropboxQueue.h
truebucha/TBDropboxKit
f771ee3a76ea98efe1361822055984584e4fbe97
[ "MIT" ]
2
2017-06-01T14:57:44.000Z
2017-06-06T17:14:44.000Z
// // TBDropboxQueue.h // Pods // // Created by Bucha Kanstantsin on 2/6/17. // // #import <Foundation/Foundation.h> #import "TBDropbox.h" #import "TBDropboxTask.h" #import "TBDropboxEntry.h" @interface TBDropboxQueue : NSObject @property (strong, nonatomic, readonly, nonnull) NSArray<TBDropboxTask *> * scheduledTasks; @property (strong, nonatomic, readonly, nullable) TBDropboxTask * currentTask; @property (assign, nonatomic) BOOL hasPendingTasks; @property (assign, nonatomic, readonly) TBDropboxQueueState state; @property (assign, nonatomic) NSUInteger batchSize; @property (weak, nonatomic, nullable) id<TBDropboxQueueDelegate> delegate; @property (strong, nonatomic, readonly, nullable) NSString * sessionID; @property (assign, nonatomic) BOOL verboseLogging; + (instancetype _Nullable)queueUsingSource:(id<TBDropboxClientSource> _Nonnull)source; + (instancetype _Nonnull)new __unavailable; - (id _Nonnull) init __unavailable; - (TBDropboxTask * _Nullable)taskByID:(TBDropboxTaskID * _Nonnull)ID; - (NSArray<TBDropboxTask *> * _Nullable)tasksByEntry:(id<TBDropboxEntry> _Nonnull)entry; - (NSNumber * _Nullable)addTask:(TBDropboxTask * _Nonnull)task; - (BOOL)removeTask:(TBDropboxTask * _Nonnull)task; - (void)resume; - (void)pause; @end
28.681818
91
0.767829
2b936dfdc07a57120c66480a83a1508d0ea1a00c
1,878
h
C
lib/veins/src/veins/modules/mobility/LinearMobility.h
dbuse/reception-study
f60cfec0312c0de81721c627b2ebfd97faf9cfa7
[ "MIT" ]
null
null
null
lib/veins/src/veins/modules/mobility/LinearMobility.h
dbuse/reception-study
f60cfec0312c0de81721c627b2ebfd97faf9cfa7
[ "MIT" ]
null
null
null
lib/veins/src/veins/modules/mobility/LinearMobility.h
dbuse/reception-study
f60cfec0312c0de81721c627b2ebfd97faf9cfa7
[ "MIT" ]
null
null
null
// // Copyright (C) 2005 Emin Ilker Cetinbas // // Documentation for these modules is at http://veins.car2x.org/ // // SPDX-License-Identifier: GPL-2.0-or-later // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // author: Emin Ilker Cetinbas (niw3_at_yahoo_d0t_com) // part of: framework implementation developed by tkn #pragma once #include "veins/base/modules/BaseMobility.h" namespace veins { /** * @brief Linear movement model. See NED file for more info. * * This mobility module expects a torus as playground ("useTorus" * Parameter of BaseWorldUtility module). * * NOTE: Does not yet support 3-dimensional movement. * @ingroup mobility * @author Emin Ilker Cetinbas */ class VEINS_API LinearMobility : public BaseMobility { protected: double angle; ///< angle of linear motion double acceleration; ///< acceleration of linear motion /** @brief always stores the last step for position display update */ Coord stepTarget; public: /** @brief Initializes mobility model parameters.*/ void initialize(int) override; protected: /** @brief Move the host*/ void makeMove() override; void fixIfHostGetsOutside() override; }; } // namespace veins
30.290323
76
0.725772
137c14d262139c6e3423afb47441dba76e64f2d9
15,354
c
C
p4_Longan_Board_RISC-V_Game/src/main.c
Crepdo/CS110_Computer-Architecture
633e26729c0ce2c71afbdfb2224d3d5332ef37d6
[ "MIT" ]
1
2022-02-02T06:55:21.000Z
2022-02-02T06:55:21.000Z
p4_Longan_Board_RISC-V_Game/src/main.c
Crepdo/CS110_Computer-Architecture
633e26729c0ce2c71afbdfb2224d3d5332ef37d6
[ "MIT" ]
null
null
null
p4_Longan_Board_RISC-V_Game/src/main.c
Crepdo/CS110_Computer-Architecture
633e26729c0ce2c71afbdfb2224d3d5332ef37d6
[ "MIT" ]
null
null
null
#include "lcd/lcd.h" #include <string.h> #include "utils.h" #include <stdlib.h> // Gamepad #define GP_BUTTON_UP (!gpio_input_bit_get(GPIOB, GPIO_PIN_8)) //上方向键(左手五向摇杆) #define GP_BUTTON_DOWN (!gpio_input_bit_get(GPIOB, GPIO_PIN_10)) //下方向键(左手五向摇杆) #define GP_BUTTON_RIGHT (!gpio_input_bit_get(GPIOB, GPIO_PIN_7)) //右方向键(左手五向摇杆) #define GP_BUTTON_LEFT (!gpio_input_bit_get(GPIOB, GPIO_PIN_6)) //左方向键(左手五向摇杆) #define GP_BUTTON_PUSH (!gpio_input_bit_get(GPIOB, GPIO_PIN_11)) //按下键(左手五向摇杆) #define GP_BUTTON_A (!gpio_input_bit_get(GPIOA, GPIO_PIN_2)) //A按键(右手AB按键) #define GP_BUTTON_B (!gpio_input_bit_get(GPIOA, GPIO_PIN_3)) //B按键(左手AB按键) // Map width and map height #define MAP_WIDTH 32 #define MAP_HEIGHT 16 // Color setting #define COLOR_BACKGROUND BLACK #define COLOR_FOOD GREEN #define COLOR_SUBFOOD RED #define COLOR_HEAD CYAN #define COLOR_BODY BLUE // Food type #define ADD_FOOD 1 #define SUB_FOOD 2 // Update interval (ms) #define UPGRATE_INTERVAL 200 // Goal score #define GOAL_SCORE 10 // Init gamepad inputs and output void Gamepad_init() { // Init buttons gpio_init(GPIOB, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_6); gpio_init(GPIOB, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_7); gpio_init(GPIOB, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_8); gpio_init(GPIOB, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_10); gpio_init(GPIOB, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_11); gpio_init(GPIOA, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_2); gpio_init(GPIOA, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_3); // Init viberation rcu_periph_clock_enable(RCU_GPIOB); gpio_init(GPIOB, GPIO_MODE_OUT_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_9); } // Init BOOL button input void Inp_init(void) { gpio_init(GPIOA, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_8); } // Init adc void Adc_init(void) { rcu_periph_clock_enable(RCU_GPIOA); gpio_init(GPIOA, GPIO_MODE_AIN, GPIO_OSPEED_50MHZ, GPIO_PIN_0 | GPIO_PIN_1); RCU_CFG0 |= (0b10 << 14) | (1 << 28); rcu_periph_clock_enable(RCU_ADC0); ADC_CTL1(ADC0) |= ADC_CTL1_ADCON; } typedef enum MoveDirection { Up, Down, Left, Right } MoveDirection; /****************** * * IO * ******************/ void IO_init(void) { Gamepad_init(); // gamepad init Inp_init(); // inport init Adc_init(); // A/D init Lcd_Init(); // LCD init } /****************** * * UI * ******************/ void UIShowWin(); /* UI */ void UIShowScore(int score); /* UI */ void UIShowGameOver(); /* UI */ void UIUpdateMainMenu(); /* UI */ void UIShowText(u8 *text) { LCD_Clear(COLOR_BACKGROUND); LCD_ShowString(0, 0, (u8 *)(text), WHITE); } /****************** * * Wall * ******************/ void DrawWall(); /* Check if hit the wall */ bool SnakeCheckHitWall(int snakeFrontPosX, int snakeFrontPosY); /****************** * * Snake * ******************/ /* draw snake */ void SnakeDraw(int *snakePosX, int *snakePosY, int snakeLength); /* init snake */ void SnakeInit(int *snakePosX, int *snakePosY, int *snakeLength); void SnakeMove(int *snakePosX, int *snakePosY, int *snakeLength, MoveDirection moveDirection, int getFood) { /* Check food type*/ if (getFood != 0) { /*Lengthen food*/ if (getFood == ADD_FOOD) { /* Add snake length */ ++*snakeLength; /* Set new tail */ snakePosX[*snakeLength - 1] = snakePosX[*snakeLength - 2]; snakePosY[*snakeLength - 1] = snakePosY[*snakeLength - 2]; /* Update body expect for new tail*/ for (int i = *snakeLength - 2; i > 0; i--) { snakePosX[i] = snakePosX[i - 1]; snakePosY[i] = snakePosY[i - 1]; } } /*Shorten food*/ if (getFood == SUB_FOOD) { /*original tail work*/ LCD_Fill(snakePosX[*snakeLength - 1] * 5, snakePosY[*snakeLength - 1] * 5, (snakePosX[*snakeLength - 1] + 1) * 5 - 1, (snakePosY[*snakeLength - 1] + 1) * 5 - 1, COLOR_BACKGROUND); /* Sub snake length */ --*snakeLength; /*new tail work*/ LCD_Fill(snakePosX[*snakeLength - 1] * 5, snakePosY[*snakeLength - 1] * 5, (snakePosX[*snakeLength - 1] + 1) * 5 - 1, (snakePosY[*snakeLength - 1] + 1) * 5 - 1, COLOR_BACKGROUND); /* Update body expect for original tail*/ for (int i = *snakeLength - 1; i > 0; i--) { snakePosX[i] = snakePosX[i - 1]; snakePosY[i] = snakePosY[i - 1]; } } } else { /* Clear tail */ LCD_Fill(snakePosX[*snakeLength - 1] * 5, snakePosY[*snakeLength - 1] * 5, (snakePosX[*snakeLength - 1] + 1) * 5 - 1, (snakePosY[*snakeLength - 1] + 1) * 5 - 1, COLOR_BACKGROUND); /* Update body */ for (int i = *snakeLength - 1; i > 0; i--) { snakePosX[i] = snakePosX[i - 1]; snakePosY[i] = snakePosY[i - 1]; } } /* Update head */ switch (moveDirection) { case Up: snakePosY[0] = snakePosY[0] - 1; break; case Down: snakePosY[0] = snakePosY[0] + 1; break; case Left: snakePosX[0] = snakePosX[0] - 1; break; case Right: snakePosX[0] = snakePosX[0] + 1; break; } /* Make sure inside map */ for (int i = 0; i < *snakeLength; i++) { /* Check X pos */ if (snakePosX[i] < 0) snakePosX[i] += MAP_WIDTH; else if (snakePosX[i] > MAP_WIDTH - 1) snakePosX[i] -= MAP_WIDTH; /* Check Y pos */ if (snakePosY[i] < 0) snakePosY[i] += MAP_HEIGHT; else if (snakePosY[i] > MAP_HEIGHT - 1) snakePosY[i] -= MAP_HEIGHT; } } void SnakeUpdateFrontPos(int *snakePosX, int *snakePosY, MoveDirection moveDirection, int *snakeFrontPosX, int *snakeFrontPosY); bool SnakeCheckHitSelf(int *snakePosX, int *snakePosY, int snakeLength, int snakeFrontPosX, int snakeFrontPosY) { /* Check hit self */ for (int i = 0; i < snakeLength; i++) { if (snakeFrontPosX == snakePosX[i] && snakeFrontPosY == snakePosY[i]) return TRUE; } /* Not hitting self */ return FALSE; } /****************** * * Food * ******************/ /*Draw both type of food*/ void FoodDraw(int foodPosX, int foodPosY, int food_color) { LCD_Fill(foodPosX * 5, foodPosY * 5, (foodPosX + 1) * 5 - 1, (foodPosY + 1) * 5 - 1, food_color); LCD_Fill(foodPosX * 5 + 1, foodPosY * 5 + 1, (foodPosX + 1) * 5 - 2, (foodPosY + 1) * 5 - 2, WHITE); } /*Generator for both type of food*/ /*foodG: generated food2:not generated*/ void FoodGenerate(int *foodG_PosX, int *foodG_PosY, int *food2PosX, int *food2PosY, int *snakePosX, int *snakePosY, int snakeLength, int food_color) { bool isInsideOther = FALSE; /*Clear the old food*/ LCD_Fill(*foodG_PosX * 5, *foodG_PosY * 5, (*foodG_PosX + 1) * 5 - 1, (*foodG_PosY + 1) * 5 - 1, COLOR_BACKGROUND); do { /* Update food pos randomly */ *foodG_PosX = rand() % MAP_WIDTH; *foodG_PosY = rand() % MAP_HEIGHT; /* Temp flag for checking food pos inside snake */ isInsideOther = FALSE; /* Check if new pos is inside snake */ for (int i = 0; i < snakeLength; i++) { /* Check pos */ if (snakePosX[i] == *foodG_PosX || snakePosY[i] == *foodG_PosY) isInsideOther = TRUE; } /*Check pos of not drawed foods*/ if (*foodG_PosX == *food2PosX && *foodG_PosY == *food2PosY) isInsideOther = TRUE; } while (isInsideOther == TRUE); /* Draw the needed food in new pos */ FoodDraw(*foodG_PosX, *foodG_PosY, food_color); } /****************** * * Game manager * ******************/ void CheckDifficulty(int *diff) { while (1) { /* Start button pressed */ if (GP_BUTTON_A) { LCD_Clear(COLOR_BACKGROUND); *diff = 2; break; } /* Start button pressed */ if (GP_BUTTON_B) { LCD_Clear(COLOR_BACKGROUND); *diff = 3; break; } } } void GameInit(int *score, int *snakePosX, int *snakePosY, int *snakeLength, int *snakeFrontPosX, int *snakeFrontPosY, int *foodPosX, int *foodPosY, int *subfoodPosX, int *subfoodPosY, MoveDirection *moveDirection, int *diff) { /* Clear main menu */ delay_1ms(100); LCD_Clear(COLOR_BACKGROUND); Introduction(); CheckDifficulty(diff); /* Clear introduction */ delay_1ms(100); LCD_Clear(COLOR_BACKGROUND); /* Draw the wall*/ DrawWall(); /* Init move direction */ *moveDirection = Right; /* Init score */ *score = 0; /* Init snake */ SnakeInit(snakePosX, snakePosY, snakeLength); /* Draw initial 2 food */ FoodGenerate(foodPosX, foodPosY, subfoodPosX, subfoodPosY, snakePosX, snakePosY, *snakeLength, COLOR_FOOD); if (*snakeLength > 6) FoodGenerate(subfoodPosX, subfoodPosY, foodPosX, foodPosY, snakePosX, snakePosY, *snakeLength, COLOR_SUBFOOD); } void GameWin(int score) { /* UI */ UIShowWin(); UIShowScore(score); /* Viberate */ ViberateSet(1); delay_1ms(800); ViberateSet(0); } void GameOver(int score) { /* UI */ UIShowGameOver(); UIShowScore(score); /* Viberate */ ViberateSet(1); delay_1ms(800); ViberateSet(0); } /****************** * * Main * ******************/ int main(void) { // LCD init IO_init(); LCD_Clear(COLOR_BACKGROUND); BACK_COLOR = COLOR_BACKGROUND; // Timer for update speed control (ms) uint64_t frameStartTime = 0; // Record move direction in next frame MoveDirection moveDirection = Right; // Snake int snakePosX[MAP_HEIGHT * MAP_HEIGHT]; int snakePosY[MAP_HEIGHT * MAP_HEIGHT]; int snakeLength; // Snake front pos int snakeFrontPosX = -1; int snakeFrontPosY = -1; MoveDirection lastMoveDirection = Right; //Add food int foodPosX = 0; int foodPosY = 0; //Sub food int subfoodPosX = 0; int subfoodPosY = 0; int subfoodPosX1[30] = {0}; int subfoodPosY1[30] = {0}; //difficulty int diff = 1; //score: how many food eated (both type) int score = 0; // Main loop while (1) { /* Clear display */ LCD_Clear(COLOR_BACKGROUND); // Main menu loop while (1) { /* Main menu animation */ UIUpdateMainMenu(); /* Start button pressed */ if (GP_BUTTON_A) break; } LCD_Clear(COLOR_BACKGROUND); /* Init game */ GameInit(&score, snakePosX, snakePosY, &snakeLength, &snakeFrontPosX, &snakeFrontPosY, &foodPosX, &foodPosY, &subfoodPosX, &subfoodPosY, &moveDirection, &diff); /* Game loop */ while (1) { /* Update front pos */ SnakeUpdateFrontPos(snakePosX, snakePosY, moveDirection, &snakeFrontPosX, &snakeFrontPosY); int flag_t = 0; for (int i = 0; i < (snakeLength - 3) * diff; i += 1) { if (snakeFrontPosX == subfoodPosX1[i] && snakeFrontPosY == subfoodPosY1[i]) flag_t = 1; } /* Check what is in front of the snake */ if ((snakeFrontPosX == foodPosX && snakeFrontPosY == foodPosY) || (snakeFrontPosX == subfoodPosX && snakeFrontPosY == subfoodPosY) || flag_t == 1) // Hit food { score++; if ((snakeLength - 3) == GOAL_SCORE) // Snake length == goal length 3:initial length { /* Win */ GameWin(snakeLength - 3); break; } else { /*Temp foodtype for move function (this should before generate)*/ int foodtype = 0; if (snakeFrontPosX == foodPosX && snakeFrontPosY == foodPosY) foodtype = ADD_FOOD; if (snakeFrontPosX == subfoodPosX && snakeFrontPosY == subfoodPosY) foodtype = SUB_FOOD; for (int i = 0; i < (snakeLength - 3) * diff; i += 1) { if (snakeFrontPosX == subfoodPosX1[i] && snakeFrontPosY == subfoodPosY1[i]) foodtype = SUB_FOOD; } /* Generate 2 type new food */ FoodGenerate(&foodPosX, &foodPosY, &subfoodPosX, &subfoodPosY, snakePosX, snakePosY, snakeLength, COLOR_FOOD); /* difficulty level */ if (snakeLength > 4) { for (int i = 0; i < 5; i += 1) { // generate food FoodGenerate(&subfoodPosX1[i], &subfoodPosY1[i], &foodPosX, &foodPosY, snakePosX, snakePosY, snakeLength, COLOR_SUBFOOD); } } /* Move forward */ SnakeMove(snakePosX, snakePosY, &snakeLength, moveDirection, foodtype); } } else if (SnakeCheckHitSelf(snakePosX, snakePosY, snakeLength, snakeFrontPosX, snakeFrontPosY) || SnakeCheckHitWall(snakeFrontPosX, snakeFrontPosY)) // Hit self { /* Gameover */ GameOver(snakeLength - 3); break; } else { /* Move forward */ SnakeMove(snakePosX, snakePosY, &snakeLength, moveDirection, 0); } /* Draw wall */ DrawWall(); /* Draw snake */ SnakeDraw(snakePosX, snakePosY, snakeLength); /* Get last move direction */ lastMoveDirection = moveDirection; /* Get input loop */ while (1) { /* Get the player input and Decide direction of movement in next frame */ if (GP_BUTTON_UP && lastMoveDirection != Down) moveDirection = Up; else if (GP_BUTTON_DOWN && lastMoveDirection != Up) moveDirection = Down; else if (GP_BUTTON_LEFT && lastMoveDirection != Right) moveDirection = Left; else if (GP_BUTTON_RIGHT && lastMoveDirection != Left) moveDirection = Right; /* Reach one frame time limit */ if (get_timer_value() - frameStartTime > SystemCoreClock / 4000.0 * UPGRATE_INTERVAL) { /* Go to next frame */ frameStartTime = get_timer_value(); break; } } } } }
29.134725
224
0.543376
4d59fe5a802159dc364064567a1764985ced81c4
269
h
C
c11/foo.h
ericosur/ccbox
c230bd77533bf9a8af8f7183ea2cd2ae019716f7
[ "MIT" ]
null
null
null
c11/foo.h
ericosur/ccbox
c230bd77533bf9a8af8f7183ea2cd2ae019716f7
[ "MIT" ]
10
2020-07-14T04:00:12.000Z
2020-07-14T05:30:48.000Z
c11/foo.h
ericosur/ccbox
c230bd77533bf9a8af8f7183ea2cd2ae019716f7
[ "MIT" ]
null
null
null
#ifndef __FOO_H__ #define __FOO_H__ class Foo { public: int a = 1; //C++11 only const int b = 9; //C++11 only //This works fine (both in C++03 and C++11) static const int c = 10; const int arr[5] = {1,2,3,4,5}; }; #endif // __FOO_H__
16.8125
48
0.553903
9453d3e72f9043ed1a8f78b640068bdf1e85206c
3,822
h
C
src/libQts/QtsStandaloneTableDemux.h
qtlmovie/qtlmovie
082ad5ea6522a02d5ac0d86f23cdd6152edff613
[ "BSD-2-Clause" ]
8
2016-08-09T14:05:58.000Z
2020-09-05T14:43:36.000Z
src/libQts/QtsStandaloneTableDemux.h
qtlmovie/qtlmovie
082ad5ea6522a02d5ac0d86f23cdd6152edff613
[ "BSD-2-Clause" ]
15
2016-08-09T14:11:21.000Z
2022-01-15T23:39:07.000Z
src/libQts/QtsStandaloneTableDemux.h
qtlmovie/qtlmovie
082ad5ea6522a02d5ac0d86f23cdd6152edff613
[ "BSD-2-Clause" ]
1
2017-08-26T22:08:58.000Z
2017-08-26T22:08:58.000Z
//---------------------------------------------------------------------------- // // Copyright (c) 2013-2017, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF // THE POSSIBILITY OF SUCH DAMAGE. // //---------------------------------------------------------------------------- //! //! @file QtsStandaloneTableDemux.h //! //! Declare the class QtsStandaloneTableDemux. //! Qts, the Qt MPEG Transport Stream library. //! //---------------------------------------------------------------------------- #ifndef QTSSTANDALONETABLEDEMUX_H #define QTSSTANDALONETABLEDEMUX_H #include "QtsSectionDemux.h" //! //! A QtsSectionDemux which extracts MPEG tables without external handler. //! class QtsStandaloneTableDemux : public QtsSectionDemux, private QtsTableHandlerInterface { public: //! //! Constructor. //! @param [in] pidFilter Set of PID's to filter. Default: none. //! QtsStandaloneTableDemux(const QtsPidSet& pidFilter = QtsNoPid); //! //! Get the number of demuxed tables. //! @return The number of demuxed tables. //! int tableCount() const { return _tables.size (); } //! //! Get a pointer to a demuxed table. //! @param [in] index Index of demuxed table, in the range 0 to tableCount(). //! @return A pointer to the demuxed table at @a index. //! const QtsTablePtr tableAt(int index) const { return index >= 0 && index < _tables.size() ? _tables[index] : 0; } //! //! Reset the analysis context (partially built sections and tables). //! Useful when the transport stream changes. //! The PID filter and the handlers are not modified. //! Inherited from QtsSectionDemux //! virtual void reset() Q_DECL_OVERRIDE; //! //! Reset the analysis context for one single PID. //! Inherited from QtsSectionDemux //! @param [in] pid PID to reset. //! virtual void resetPid(QtsPid pid) Q_DECL_OVERRIDE; private: QtsTablePtrVector _tables; //!< Demuxed tables. //! //! This hook is invoked when a complete table is available. //! Tables with long sections are reported only when a new version is available. //! @param [in,out] demux The section demux. //! @param [in] table The table. //! virtual void handleTable(QtsSectionDemux& demux, const QtsTable& table) Q_DECL_OVERRIDE; // Make these methods inaccessible void setTableHandler(QtsTableHandlerInterface* handler); void setSectionHandler(QtsSectionHandlerInterface* handler); }; #endif // QTSSTANDALONETABLEDEMUX_H
36.75
92
0.666405
9af588199c262ad0d50697ad1e2ce25678cab0aa
4,750
c
C
ProgrammingAssignments/openflow/secchan/emerg-flow.c
Mahdi-Asaly/Coursera-SDN-Assignments
aac5d62f40c5283e296a0f87b7ec2de8986a8efc
[ "Intel" ]
null
null
null
ProgrammingAssignments/openflow/secchan/emerg-flow.c
Mahdi-Asaly/Coursera-SDN-Assignments
aac5d62f40c5283e296a0f87b7ec2de8986a8efc
[ "Intel" ]
null
null
null
ProgrammingAssignments/openflow/secchan/emerg-flow.c
Mahdi-Asaly/Coursera-SDN-Assignments
aac5d62f40c5283e296a0f87b7ec2de8986a8efc
[ "Intel" ]
null
null
null
/*- * Copyright (c) 2008, 2009 * The Board of Trustees of The Leland Stanford Junior University * * We are making the OpenFlow specification and associated documentation * (Software) available for public use and benefit with the expectation that * others will use, modify and enhance the Software and contribute those * enhancements back to the community. However, since we would like to make the * Software available for broadest use, with as few restrictions as possible * permission is hereby granted, free of charge, to any person obtaining a copy * of this Software to deal in the Software under the copyrights without * restriction, including without limitation the rights to use, copy, modify, * merge, publish, distribute, sublicense, and/or sell copies of the Software, * and to permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. * * The name and trademarks of copyright holder(s) may NOT be used in * advertising or publicity pertaining to the Software or any derivatives * without specific, written prior permission. */ #include <arpa/inet.h> #include <config.h> #include <stdlib.h> #include <stddef.h> #include <string.h> #include <netinet/in.h> #include <errno.h> #include "openflow/openflow.h" #include "openflow/private-ext.h" #include "util.h" #include "vconn.h" #include "rconn.h" #include "secchan.h" #include "status.h" #include "timeval.h" #include "sat-math.h" #include "ofpbuf.h" #include "emerg-flow.h" #define THIS_MODULE VLM_emerg_flow #include "vlog.h" struct emerg_flow_context { const struct settings *settings; const struct secchan *secchan; struct rconn *local_rconn; struct rconn *remote_rconn; int prev_state; int state; }; static void emerg_flow_status_cb(struct status_reply *, void *); static void emerg_flow_periodic_cb(void *); static void emerg_flow_status_cb(struct status_reply *status_reply, void *context_) { struct emerg_flow_context *context = context_; status_reply_put(status_reply, "state=%s", context->state == PRIVATEOPT_EMERG_FLOW_RESTORATION ? "restoration" : context->state == PRIVATEOPT_EMERG_FLOW_PROTECTION ? "protection" : "unknown"); } static void emerg_flow_periodic_cb(void *context_) { struct emerg_flow_context *context = context_; struct ofpbuf *buf = NULL; struct private_vxhdr *vxhdr = NULL; struct private_vxopt *vxopt = NULL; int error = 0; if (rconn_is_connected(context->remote_rconn)) { if (context->state == PRIVATEOPT_EMERG_FLOW_PROTECTION) { context->prev_state = context->state; context->state = PRIVATEOPT_EMERG_FLOW_RESTORATION; } else { return; } } else { if (context->state == PRIVATEOPT_EMERG_FLOW_RESTORATION) { context->prev_state = context->state; context->state = PRIVATEOPT_EMERG_FLOW_PROTECTION; } else { return; } } vxhdr = (struct private_vxhdr *)make_openflow (sizeof(*vxhdr) + sizeof(*vxopt), OFPT_VENDOR, &buf); vxopt = (struct private_vxopt *)(vxhdr + 1); vxhdr->ofp_vxid = htonl(PRIVATE_VENDOR_ID); vxopt->pvo_type = htons(context->state); vxopt->pvo_len = htons(0); error = rconn_send(context->local_rconn, buf, NULL); if (error && error != EAGAIN) { VLOG_WARN("send failed (%s)", strerror(error)); } } void emerg_flow_start(struct secchan *secchan, const struct settings *settings, struct switch_status *switch_status, struct rconn *local_rconn, struct rconn *remote_rconn) { struct emerg_flow_context *context = NULL; static struct hook_class emerg_flow_hook_class = { NULL, /* local_packet_cb */ NULL, /* remote_packet_cb */ emerg_flow_periodic_cb, /* periodic_cb */ NULL, /* wait_cb */ NULL, /* closing_cb */ }; context = xmalloc(sizeof(*context)); context->settings = settings; context->secchan = secchan; context->local_rconn = local_rconn; context->remote_rconn = remote_rconn; context->prev_state = PRIVATEOPT_EMERG_FLOW_PROTECTION; context->state = PRIVATEOPT_EMERG_FLOW_PROTECTION; switch_status_register_category(switch_status, "emerg-flow", emerg_flow_status_cb, context); add_hook(secchan, &emerg_flow_hook_class, context); }
32.758621
79
0.748421
fa2783adcc3f8e4b52cba571ec81f0fb1dc45346
37,306
h
C
include/EASTL/fixed_hash_set.h
tonyriviere88/EASTL
29a805e4d83d7dd1d8fb03f303b132cc8c0a51c9
[ "BSD-3-Clause" ]
6,852
2016-02-10T00:42:20.000Z
2022-03-30T07:33:48.000Z
include/EASTL/fixed_hash_set.h
tonyriviere88/EASTL
29a805e4d83d7dd1d8fb03f303b132cc8c0a51c9
[ "BSD-3-Clause" ]
414
2016-02-10T02:33:53.000Z
2022-03-28T15:09:19.000Z
include/EASTL/fixed_hash_set.h
tonyriviere88/EASTL
29a805e4d83d7dd1d8fb03f303b132cc8c0a51c9
[ "BSD-3-Clause" ]
1,041
2016-02-10T02:21:49.000Z
2022-03-31T14:10:02.000Z
///////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. ///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // This file implements a hash_set which uses a fixed size memory pool for // its buckets and nodes. /////////////////////////////////////////////////////////////////////////////// #ifndef EASTL_FIXED_HASH_SET_H #define EASTL_FIXED_HASH_SET_H #include <EASTL/hash_set.h> #include <EASTL/internal/fixed_pool.h> EA_DISABLE_VC_WARNING(4127) // Conditional expression is constant #if defined(EA_PRAGMA_ONCE_SUPPORTED) #pragma once // Some compilers (e.g. VC++) benefit significantly from using this. We've measured 3-4% build speed improvements in apps as a result. #endif namespace eastl { /// EASTL_FIXED_HASH_SET_DEFAULT_NAME /// /// Defines a default container name in the absence of a user-provided name. /// In the case of fixed-size containers, the allocator name always refers /// to overflow allocations. /// #ifndef EASTL_FIXED_HASH_SET_DEFAULT_NAME #define EASTL_FIXED_HASH_SET_DEFAULT_NAME EASTL_DEFAULT_NAME_PREFIX " fixed_hash_set" // Unless the user overrides something, this is "EASTL fixed_hash_set". #endif #ifndef EASTL_FIXED_HASH_MULTISET_DEFAULT_NAME #define EASTL_FIXED_HASH_MULTISET_DEFAULT_NAME EASTL_DEFAULT_NAME_PREFIX " fixed_hash_multiset" // Unless the user overrides something, this is "EASTL fixed_hash_multiset". #endif /// EASTL_FIXED_HASH_SET_DEFAULT_ALLOCATOR /// EASTL_FIXED_HASH_MULTISET_DEFAULT_ALLOCATOR /// #ifndef EASTL_FIXED_HASH_SET_DEFAULT_ALLOCATOR #define EASTL_FIXED_HASH_SET_DEFAULT_ALLOCATOR overflow_allocator_type(EASTL_FIXED_HASH_SET_DEFAULT_NAME) #endif #ifndef EASTL_FIXED_HASH_MULTISET_DEFAULT_ALLOCATOR #define EASTL_FIXED_HASH_MULTISET_DEFAULT_ALLOCATOR overflow_allocator_type(EASTL_FIXED_HASH_MULTISET_DEFAULT_NAME) #endif /// fixed_hash_set /// /// Implements a hash_set with a fixed block of memory identified by the nodeCount and bucketCount /// template parameters. /// /// Template parameters: /// Value The type of object the hash_set holds. /// nodeCount The max number of objects to contain. This value must be >= 1. /// bucketCount The number of buckets to use. This value must be >= 2. /// bEnableOverflow Whether or not we should use the global heap if our object pool is exhausted. /// Hash hash_set hash function. See hash_set. /// Predicate hash_set equality testing function. See hash_set. /// template <typename Value, size_t nodeCount, size_t bucketCount = nodeCount + 1, bool bEnableOverflow = true, typename Hash = eastl::hash<Value>, typename Predicate = eastl::equal_to<Value>, bool bCacheHashCode = false, typename OverflowAllocator = EASTLAllocatorType> class fixed_hash_set : public hash_set<Value, Hash, Predicate, fixed_hashtable_allocator< bucketCount + 1, sizeof(typename hash_set<Value, Hash, Predicate, OverflowAllocator, bCacheHashCode>::node_type), nodeCount, EASTL_ALIGN_OF(typename hash_set<Value, Hash, Predicate, OverflowAllocator, bCacheHashCode>::node_type), 0, bEnableOverflow, OverflowAllocator>, bCacheHashCode> { public: typedef fixed_hashtable_allocator<bucketCount + 1, sizeof(typename hash_set<Value, Hash, Predicate, OverflowAllocator, bCacheHashCode>::node_type), nodeCount, EASTL_ALIGN_OF(typename hash_set<Value, Hash, Predicate, OverflowAllocator, bCacheHashCode>::node_type), 0, bEnableOverflow, OverflowAllocator> fixed_allocator_type; typedef typename fixed_allocator_type::overflow_allocator_type overflow_allocator_type; typedef fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator> this_type; typedef hash_set<Value, Hash, Predicate, fixed_allocator_type, bCacheHashCode> base_type; typedef typename base_type::value_type value_type; typedef typename base_type::node_type node_type; typedef typename base_type::size_type size_type; enum { kMaxSize = nodeCount }; using base_type::mAllocator; protected: node_type** mBucketBuffer[bucketCount + 1]; // '+1' because the hash table needs a null terminating bucket. char mNodeBuffer[fixed_allocator_type::kBufferSize]; // kBufferSize will take into account alignment requirements. public: explicit fixed_hash_set(const overflow_allocator_type& overflowAllocator); explicit fixed_hash_set(const Hash& hashFunction = Hash(), const Predicate& predicate = Predicate()); fixed_hash_set(const Hash& hashFunction, const Predicate& predicate, const overflow_allocator_type& overflowAllocator); template <typename InputIterator> fixed_hash_set(InputIterator first, InputIterator last, const Hash& hashFunction = Hash(), const Predicate& predicate = Predicate()); fixed_hash_set(const this_type& x); fixed_hash_set(this_type&& x); fixed_hash_set(this_type&& x, const overflow_allocator_type& overflowAllocator); fixed_hash_set(std::initializer_list<value_type> ilist, const overflow_allocator_type& overflowAllocator = EASTL_FIXED_HASH_SET_DEFAULT_ALLOCATOR); this_type& operator=(const this_type& x); this_type& operator=(std::initializer_list<value_type> ilist); this_type& operator=(this_type&& x); void swap(this_type& x); void reset_lose_memory(); // This is a unilateral reset to an initially empty state. No destructors are called, no deallocation occurs. size_type max_size() const; const overflow_allocator_type& get_overflow_allocator() const EA_NOEXCEPT; overflow_allocator_type& get_overflow_allocator() EA_NOEXCEPT; void set_overflow_allocator(const overflow_allocator_type& allocator); }; // fixed_hash_set /// fixed_hash_multiset /// /// Implements a hash_multiset with a fixed block of memory identified by the nodeCount and bucketCount /// template parameters. /// /// Value The type of object the hash_set holds. /// nodeCount The max number of objects to contain. This value must be >= 1. /// bucketCount The number of buckets to use. This value must be >= 2. /// bEnableOverflow Whether or not we should use the global heap if our object pool is exhausted. /// Hash hash_set hash function. See hash_set. /// Predicate hash_set equality testing function. See hash_set. /// template <typename Value, size_t nodeCount, size_t bucketCount = nodeCount + 1, bool bEnableOverflow = true, typename Hash = eastl::hash<Value>, typename Predicate = eastl::equal_to<Value>, bool bCacheHashCode = false, typename OverflowAllocator = EASTLAllocatorType> class fixed_hash_multiset : public hash_multiset<Value, Hash, Predicate, fixed_hashtable_allocator< bucketCount + 1, sizeof(typename hash_multiset<Value, Hash, Predicate, OverflowAllocator, bCacheHashCode>::node_type), nodeCount, EASTL_ALIGN_OF(typename hash_multiset<Value, Hash, Predicate, OverflowAllocator, bCacheHashCode>::node_type), 0, bEnableOverflow, OverflowAllocator>, bCacheHashCode> { public: typedef fixed_hashtable_allocator<bucketCount + 1, sizeof(typename hash_multiset<Value, Hash, Predicate, OverflowAllocator, bCacheHashCode>::node_type), nodeCount, EASTL_ALIGN_OF(typename hash_multiset<Value, Hash, Predicate, OverflowAllocator, bCacheHashCode>::node_type), 0, bEnableOverflow, OverflowAllocator> fixed_allocator_type; typedef typename fixed_allocator_type::overflow_allocator_type overflow_allocator_type; typedef hash_multiset<Value, Hash, Predicate, fixed_allocator_type, bCacheHashCode> base_type; typedef fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator> this_type; typedef typename base_type::value_type value_type; typedef typename base_type::node_type node_type; typedef typename base_type::size_type size_type; enum { kMaxSize = nodeCount }; using base_type::mAllocator; protected: node_type** mBucketBuffer[bucketCount + 1]; // '+1' because the hash table needs a null terminating bucket. char mNodeBuffer[fixed_allocator_type::kBufferSize]; // kBufferSize will take into account alignment requirements. public: explicit fixed_hash_multiset(const overflow_allocator_type& overflowAllocator); explicit fixed_hash_multiset(const Hash& hashFunction = Hash(), const Predicate& predicate = Predicate()); fixed_hash_multiset(const Hash& hashFunction, const Predicate& predicate, const overflow_allocator_type& overflowAllocator); template <typename InputIterator> fixed_hash_multiset(InputIterator first, InputIterator last, const Hash& hashFunction = Hash(), const Predicate& predicate = Predicate()); fixed_hash_multiset(const this_type& x); fixed_hash_multiset(this_type&& x); fixed_hash_multiset(this_type&& x, const overflow_allocator_type& overflowAllocator); fixed_hash_multiset(std::initializer_list<value_type> ilist, const overflow_allocator_type& overflowAllocator = EASTL_FIXED_HASH_MULTISET_DEFAULT_ALLOCATOR); this_type& operator=(const this_type& x); this_type& operator=(std::initializer_list<value_type> ilist); this_type& operator=(this_type&& x); void swap(this_type& x); void reset_lose_memory(); // This is a unilateral reset to an initially empty state. No destructors are called, no deallocation occurs. size_type max_size() const; const overflow_allocator_type& get_overflow_allocator() const EA_NOEXCEPT; overflow_allocator_type& get_overflow_allocator() EA_NOEXCEPT; void set_overflow_allocator(const overflow_allocator_type& allocator); }; // fixed_hash_multiset /////////////////////////////////////////////////////////////////////// // fixed_hash_set /////////////////////////////////////////////////////////////////////// template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_set(const overflow_allocator_type& overflowAllocator) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), Hash(), Predicate(), fixed_allocator_type(NULL, mBucketBuffer, overflowAllocator)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if (!bEnableOverflow) { base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. } #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_SET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_set(const Hash& hashFunction, const Predicate& predicate) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), hashFunction, predicate, fixed_allocator_type(NULL, mBucketBuffer)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_SET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_set(const Hash& hashFunction, const Predicate& predicate, const overflow_allocator_type& overflowAllocator) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), hashFunction, predicate, fixed_allocator_type(NULL, mBucketBuffer, overflowAllocator)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if (!bEnableOverflow) { base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. } #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_SET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> template <typename InputIterator> fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_set(InputIterator first, InputIterator last, const Hash& hashFunction, const Predicate& predicate) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), hashFunction, predicate, fixed_allocator_type(NULL, mBucketBuffer)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) { base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. } #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_SET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); base_type::insert(first, last); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_set(const this_type& x) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), x.hash_function(), x.equal_function(), fixed_allocator_type(NULL, mBucketBuffer)) { mAllocator.copy_overflow_allocator(x.mAllocator); #if EASTL_NAME_ENABLED mAllocator.set_name(x.mAllocator.get_name()); #endif EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. mAllocator.reset(mNodeBuffer); base_type::insert(x.begin(), x.end()); } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_set<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::fixed_hash_set(this_type&& x) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), x.hash_function(), x.equal_function(), fixed_allocator_type(NULL, mBucketBuffer)) { // This implementation is the same as above. If we could rely on using C++11 delegating constructor support then we could just call that here. mAllocator.copy_overflow_allocator(x.mAllocator); #if EASTL_NAME_ENABLED mAllocator.set_name(x.mAllocator.get_name()); #endif EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. mAllocator.reset(mNodeBuffer); base_type::insert(x.begin(), x.end()); } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_set<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::fixed_hash_set(this_type&& x, const overflow_allocator_type& overflowAllocator) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), x.hash_function(), x.equal_function(), fixed_allocator_type(NULL, mBucketBuffer, overflowAllocator)) { // This implementation is the same as above. If we could rely on using C++11 delegating constructor support then we could just call that here. mAllocator.copy_overflow_allocator(x.mAllocator); #if EASTL_NAME_ENABLED mAllocator.set_name(x.mAllocator.get_name()); #endif EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. mAllocator.reset(mNodeBuffer); base_type::insert(x.begin(), x.end()); } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_set<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_set(std::initializer_list<value_type> ilist, const overflow_allocator_type& overflowAllocator) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), Hash(), Predicate(), fixed_allocator_type(NULL, mBucketBuffer, overflowAllocator)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_SET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); base_type::insert(ilist.begin(), ilist.end()); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> typename fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::this_type& fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::operator=(const this_type& x) { base_type::operator=(x); return *this; } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_set<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::this_type& fixed_hash_set<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::operator=(this_type&& x) { operator=(x); return *this; } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_set<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::this_type& fixed_hash_set<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::operator=(std::initializer_list<value_type> ilist) { base_type::clear(); base_type::insert(ilist.begin(), ilist.end()); return *this; } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline void fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: swap(this_type& x) { // We must do a brute-force swap, because fixed containers cannot share memory allocations. // Note that we create a temp value on the stack. This approach may fail if the size of the // container is too large. We have a rule against allocating memory from the heap, and so // if the user wants to swap two large objects of this class, the user will currently need // to implement it manually. To consider: add code to allocate a temporary buffer if the // size of the container is too large for the stack. EASTL_ASSERT(sizeof(x) < EASTL_MAX_STACK_USAGE); // It is dangerous to try to create objects that are too big for the stack. const this_type temp(*this); // Can't call eastl::swap because that would *this = x; // itself call this member swap function. x = temp; } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> void fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: reset_lose_memory() { base_type::reset_lose_memory(); base_type::get_allocator().reset(mNodeBuffer); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::size_type fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::max_size() const { return kMaxSize; } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline const typename fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::overflow_allocator_type& fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::get_overflow_allocator() const EA_NOEXCEPT { return mAllocator.get_overflow_allocator(); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::overflow_allocator_type& fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::get_overflow_allocator() EA_NOEXCEPT { return mAllocator.get_overflow_allocator(); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline void fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: set_overflow_allocator(const overflow_allocator_type& allocator) { mAllocator.set_overflow_allocator(allocator); } /////////////////////////////////////////////////////////////////////// // global operators /////////////////////////////////////////////////////////////////////// template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode> inline void swap(fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode>& a, fixed_hash_set<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode>& b) { a.swap(b); } /////////////////////////////////////////////////////////////////////// // fixed_hash_multiset /////////////////////////////////////////////////////////////////////// template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_multiset(const overflow_allocator_type& overflowAllocator) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), Hash(), Predicate(), fixed_allocator_type(NULL, mBucketBuffer, overflowAllocator)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_MULTISET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_multiset(const Hash& hashFunction, const Predicate& predicate) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), hashFunction, predicate, fixed_allocator_type(NULL, mBucketBuffer)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_MULTISET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_multiset(const Hash& hashFunction, const Predicate& predicate, const overflow_allocator_type& overflowAllocator) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), hashFunction, predicate, fixed_allocator_type(NULL, mBucketBuffer, overflowAllocator)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_MULTISET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> template <typename InputIterator> inline fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_multiset(InputIterator first, InputIterator last, const Hash& hashFunction, const Predicate& predicate) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), hashFunction, predicate, fixed_allocator_type(NULL, mBucketBuffer)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_MULTISET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); base_type::insert(first, last); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_multiset(const this_type& x) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), x.hash_function(), x.equal_function(), fixed_allocator_type(NULL, mBucketBuffer)) { mAllocator.copy_overflow_allocator(x.mAllocator); #if EASTL_NAME_ENABLED mAllocator.set_name(x.mAllocator.get_name()); #endif EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. mAllocator.reset(mNodeBuffer); base_type::insert(x.begin(), x.end()); } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_multiset<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::fixed_hash_multiset(this_type&& x) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), x.hash_function(), x.equal_function(), fixed_allocator_type(NULL, mBucketBuffer)) { // This implementation is the same as above. If we could rely on using C++11 delegating constructor support then we could just call that here. mAllocator.copy_overflow_allocator(x.mAllocator); #if EASTL_NAME_ENABLED mAllocator.set_name(x.mAllocator.get_name()); #endif EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. mAllocator.reset(mNodeBuffer); base_type::insert(x.begin(), x.end()); } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_multiset<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::fixed_hash_multiset(this_type&& x, const overflow_allocator_type& overflowAllocator) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), x.hash_function(), x.equal_function(), fixed_allocator_type(NULL, mBucketBuffer, overflowAllocator)) { // This implementation is the same as above. If we could rely on using C++11 delegating constructor support then we could just call that here. mAllocator.copy_overflow_allocator(x.mAllocator); #if EASTL_NAME_ENABLED mAllocator.set_name(x.mAllocator.get_name()); #endif EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. mAllocator.reset(mNodeBuffer); base_type::insert(x.begin(), x.end()); } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline fixed_hash_multiset<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: fixed_hash_multiset(std::initializer_list<value_type> ilist, const overflow_allocator_type& overflowAllocator) : base_type(prime_rehash_policy::GetPrevBucketCountOnly(bucketCount), Hash(), Predicate(), fixed_allocator_type(NULL, mBucketBuffer, overflowAllocator)) { EASTL_CT_ASSERT((nodeCount >= 1) && (bucketCount >= 2)); if(!bEnableOverflow) base_type::set_max_load_factor(10000.f); // Set it so that we will never resize. #if EASTL_NAME_ENABLED mAllocator.set_name(EASTL_FIXED_HASH_MULTISET_DEFAULT_NAME); #endif mAllocator.reset(mNodeBuffer); base_type::insert(ilist.begin(), ilist.end()); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::this_type& fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::operator=(const this_type& x) { base_type::operator=(x); return *this; } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_multiset<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::this_type& fixed_hash_multiset<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::operator=(this_type&& x) { base_type::operator=(x); return *this; } template <typename Key, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_multiset<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::this_type& fixed_hash_multiset<Key, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::operator=(std::initializer_list<value_type> ilist) { base_type::clear(); base_type::insert(ilist.begin(), ilist.end()); return *this; } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline void fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: swap(this_type& x) { // Fixed containers use a special swap that can deal with excessively large buffers. eastl::fixed_swap(*this, x); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline void fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: reset_lose_memory() { base_type::reset_lose_memory(); base_type::get_allocator().reset(mNodeBuffer); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::size_type fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::max_size() const { return kMaxSize; } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline const typename fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::overflow_allocator_type& fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::get_overflow_allocator() const EA_NOEXCEPT { return mAllocator.get_overflow_allocator(); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline typename fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::overflow_allocator_type& fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>::get_overflow_allocator() EA_NOEXCEPT { return mAllocator.get_overflow_allocator(); } template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode, typename OverflowAllocator> inline void fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode, OverflowAllocator>:: set_overflow_allocator(const overflow_allocator_type& allocator) { mAllocator.set_overflow_allocator(allocator); } /////////////////////////////////////////////////////////////////////// // global operators /////////////////////////////////////////////////////////////////////// template <typename Value, size_t nodeCount, size_t bucketCount, bool bEnableOverflow, typename Hash, typename Predicate, bool bCacheHashCode> inline void swap(fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode>& a, fixed_hash_multiset<Value, nodeCount, bucketCount, bEnableOverflow, Hash, Predicate, bCacheHashCode>& b) { // Fixed containers use a special swap that can deal with excessively large buffers. eastl::fixed_swap(a, b); } } // namespace eastl EA_RESTORE_VC_WARNING() #endif // Header include guard
47.163085
211
0.739425
cff4bbb6103376e00ec8872a72922bef8a463226
8,532
h
C
src/command.h
Kvitrafn/Aspen
0c98633d3d0fbe21e0bbb14edd7d19203711a3a2
[ "MIT" ]
null
null
null
src/command.h
Kvitrafn/Aspen
0c98633d3d0fbe21e0bbb14edd7d19203711a3a2
[ "MIT" ]
null
null
null
src/command.h
Kvitrafn/Aspen
0c98633d3d0fbe21e0bbb14edd7d19203711a3a2
[ "MIT" ]
null
null
null
/** * Contains: Command * * Commands enable players to complete specific tasks. * For example, a command defined with the name of "north"might move * the player north one room. * @todo move commandable. */ #ifndef COMMAND_H #define COMMAND_H #include <string> #include <vector> #include <list> #include <functional> #include "mud.h" #include "conf.h" /** * Defines the type of an individual command. * mostly used for filtering and soarting. */ enum class CommandType { Misc, Builder, Admin, God, Information, Object, Movement, Script, Social, Channel, Communication, All }; /** * Command hook callback. */ typedef std::function<bool (const std::string &, Player*,std::vector<std::string> &, int)> CHOOK_CB; /** * This structure holds data for individual command hooks. * * The priority is what is used to soart the commands. * For example, if you want your stats section to show up in score before your questpoints section * you would give the stats a priority of 1, and maybe 10 for questpoints etc. */ struct CommandHook { int id; //ID for removing hooks, if needed. int priority; CHOOK_CB cb; }; /** * The command class is what individual commands should inherit. * * Defines all methods which commands should use or override. */ class Command { protected: std::string _name; std::vector<std::string> _aliases; std::list<CommandHook*> _prehook; std::list<CommandHook*> _posthook; int _subcmd; CommandType _type; FLAG _access; unsigned int _position; /** * Adds a command hook. * * @param [in] hook the hook to add. * @param [in] _hooks the list to add the hook to. */ bool AddHook(CommandHook* hook, std::list<CommandHook*>* _hooks); /** * Remove a specified hook, by ID. * * @param [in] id the ID of the hook to remove. * @param [in] _hooks the list to remove the hook from. */ bool RemoveHook(int id, std::list<CommandHook*>* _hooks); /** * Executes the hooks as if they were commands. * The parameters for this method are the same as execute. * @sa Command::Execute */ bool ExecuteHooks(const std::string &verb, Player* mobile,std::vector<std::string> &args,int subcmd, std::list<CommandHook*>* _hooks); public: Command(); virtual ~Command() = default; /** * Sets the name of the command. * * @param [in] name the name of the command. */ void SetName(const std::string &name); /** * Gets the name of the command. */ std::string GetName() const; /** * Adds an alias to the command. * * @param [in] name the alias to add. * @return true if the alias was added, false otherwise (the alias already existed). */ BOOL AddAlias(const std::string &name); /** * Removes an alias from the command. * * @param [in] name the name of the alias. * @return true if the alias was removed, false otherwise. */ BOOL RemoveAlias(const std::string &name); /** * Determines if the command has the specified alias. * * @param [in] name the name of the alias to search for. * @param [in] partialMatch whether or not the alias has to match entirely. * @todo could have better matching here. */ BOOL HasAlias(const std::string &name, BOOL partialMatch = false); /** * Sets the subcommand. * * The subcommand is a method by which a single command class can be responsible for multiple commands. * For example, the command which moves n/s/e/w/etc is one command. * Without this, command logic would have to exist for each individual direction. * We still create objects per command (so we can set names), but it is not needed to reuse the execute or other logic. * The subcommand is simply passed into the execute method. * @param [in] subcmd the new subcommand. * @sa Command::Execute */ void SetSubcmd(int subcmd); /** * Gets the subcommand associated with this particular instance. */ int GetSubcmd() const; /** * Sets the type of the command. * * @param [in] type the new type of command. */ void SetType(CommandType type); /** * Gets the current command type. */ CommandType GetType() const; /** * Sets the required access to execute this command. * * @param [in] access the new access required for this command to execute. */ void SetAccess(FLAG access); /** * Gets the current required access to execute the command. */ FLAG GetAccess() const; /** * Sets the minimum position required to execute the command. * * This is needed in order to prevent a player from chopping down a tree while unconcious, for example. * @param [in] position the minimum position at which the command can execute. */ void SetPosition(unsigned int position); /** * Retrieves the minimum position for this command to execute. */ unsigned int GetPosition() const; /** * Executes the command. * * This is where most command logic will be placed. * @param [in] verb the string representation of the command that called this. * @param [in] mobile the calling player. * @param [in] arguments passed to the command. * @param [in] subcmd the subcommand this object is associated with (0 by default). * @return true if execution was successful, false otherwise. */ virtual BOOL Execute(const std::string &verb, Player* mobile,std::vector<std::string> &args,int subcmd) = 0; /** * Determine if the command is able to be executed. * @return true until overridden. */ virtual BOOL CanExecute(Player* mobile, int subcmd); /** * Print command syntax. * * This enables for a command called syntax to exist. * This command will be able to get the syntax for any command (including itself). * @param [in] mobile the calling player. * @param [in] subcmd the subcommand associated with this object. * @todo make this an abstract method, forcing all commands to use it. */ virtual void Syntax(Player* mobile, int subcmd) const; /** * Adds a command hook to the execution chain. * * @param [in] hook a pointer to the hook to be added. * @return true if the hook could be added, false otherwise. */ bool AddPrehook(CommandHook* hook); /** * Removes a hook from the execution chain. * * @param [in] id the ID of the hook to remove. * @return true if the hook was removed, false otherwise. */ bool RemovePrehook(int id); /** * Executes all command hooks associated with this chain. * * @sa Command::Execute */ bool ExecutePrehooks(const std::string &verb, Player* mobile,std::vector<std::string> &args,int subcmd); /** * @sa Command::AddPrehook */ bool AddPosthook(CommandHook* hook); /** * @sa Command::RemovePosthook */ bool RemovePosthook(int id); /** * @sa Command::ExecutePrehooks */ bool ExecutePosthooks(const std::string &verb, Player* mobile,std::vector<std::string> &args,int subcmd); }; /* *Our commandable class *Fascilitates adding and removing commands to an object. */ class Commandable { protected: std::vector <Command*> _commands; public: Commandable(); virtual ~Commandable(); /* *Adds a command to the list of active commands: *Param: [in] A pointer to the command to add. */ virtual BOOL AddCommand(Command* com); /* *Removes the command from the list. *Param: [in] the name of the command. *Return: true if the command was found and removed, false otherwise. */ virtual BOOL RemoveCommand(const std::string &name); /* *Checks to see if the specified command exists. *Param: [in] the name of the command. *Return: True if the command exists, false otherwise. */ virtual BOOL CommandExists(const std::string &name); /* *Retrieves the names of the commands the player has access to. *Param: [out] A pointer to a list of strings that the function can fill in. *[in] The player object. */ virtual void ListCommands(std::vector <std::string>* list,Player* mobile, CommandType filter=CommandType::All); /* *Gets a pointer to the vector of commands. *return: a pointer to the vector of pointers to Command objects. */ std::vector <Command*> *GetPtr(); }; /* *Command initialization *Param: [in] a pointer to the world object. */ BOOL InitializeCommands(); #endif
31.367647
138
0.659752
320ab36f4c510df9d84f308bd2faf42b43503a37
6,210
c
C
component/common/drivers/ethernet_mii/ethernet_mii.c
ghsecuritylab/rustl8710
76247cfc7a9df9d8851ffb34b1256fb0b6b08760
[ "Apache-2.0" ]
23
2018-06-19T01:32:36.000Z
2021-06-24T15:10:46.000Z
component/common/drivers/ethernet_mii/ethernet_mii.c
ghsecuritylab/rustl8710
76247cfc7a9df9d8851ffb34b1256fb0b6b08760
[ "Apache-2.0" ]
1
2018-10-02T02:38:05.000Z
2018-10-02T02:38:05.000Z
component/common/drivers/ethernet_mii/ethernet_mii.c
ghsecuritylab/rustl8710
76247cfc7a9df9d8851ffb34b1256fb0b6b08760
[ "Apache-2.0" ]
3
2018-09-16T13:59:45.000Z
2019-02-23T13:59:33.000Z
#include "rtl8195a.h" #include "build_info.h" #ifdef PLATFORM_FREERTOS #include "FreeRTOS.h" #include "task.h" #include "semphr.h" #endif #include "osdep_service.h" #include "lwip_netconf.h" #include "ethernet_api.h" #include "lwip_intf.h" #include "ethernet_mii.h" #include "platform_opts.h" #include "ethernet_ex_api.h" static _sema mii_rx_sema; static _mutex mii_tx_mutex; extern struct netif xnetif[NET_IF_NUM]; static u8 TX_BUFFER[1518]; static u8 RX_BUFFER[1518]; static u8 *pTmpTxDesc = NULL; static u8 *pTmpRxDesc = NULL; static u8 *pTmpTxPktBuf = NULL; static u8 *pTmpRxPktBuf = NULL; int dhcp_ethernet_mii = 1; int ethernet_if_default = 0; extern int lwip_init_done; static _sema mii_linkup_sema; void mii_rx_thread(void* param){ u32 len = 0; u8* pbuf = RX_BUFFER; while(1){ if (rtw_down_sema(&mii_rx_sema) == _FAIL){ DBG_8195A("%s, Take Semaphore Fail\n", __FUNCTION__); goto exit; } // continues read the rx ring until its empty while(1){ len = ethernet_receive(); if(len){ //DBG_8195A("mii_recv len = %d\n\r", len); ethernet_read(pbuf, len); // calculate the time duration ethernetif_mii_recv(&xnetif[NET_IF_NUM - 1], len); //__rtl_memDump_v1_00(pbuf, len, "ethernet_receive Data:"); //rtw_memset(pbuf, 0, len); }else if(len == 0){ break; } } } exit: rtw_free_sema(&mii_rx_sema); vTaskDelete(NULL); } void dhcp_start_mii(void* param) { while(1) { if (rtw_down_sema(&mii_linkup_sema) == _FAIL){ DBG_8195A("%s, Take Semaphore Fail\n", __FUNCTION__); break; } LwIP_DHCP(NET_IF_NUM - 1, DHCP_START); } rtw_free_sema(&mii_linkup_sema); vTaskDelete(NULL); } void mii_intr_handler(u32 Event, u32 Data) { switch(Event) { case ETH_TXDONE: //DBG_8195A("TX Data = %d\n", Data); break; case ETH_RXDONE: //DBG_8195A("\r\nRX Data = %d\n", Data); // wake up rx thread to receive data rtw_up_sema_from_isr(&mii_rx_sema); break; case ETH_LINKUP: DBG_8195A("Link Up\n"); if(dhcp_ethernet_mii == 1) rtw_up_sema_from_isr(&mii_linkup_sema); break; case ETH_LINKDOWN: DBG_8195A("Link Down\n"); break; default: DBG_8195A("Unknown event !!\n"); break; } } void ethernet_demo(void* param){ u8 mac[6]; /* Initilaize the LwIP stack */ // can not init twice if(!lwip_init_done) LwIP_Init(); DBG_8195A("LWIP Init done\n"); ethernet_irq_hook(mii_intr_handler); if(pTmpTxDesc) { free(pTmpTxDesc); pTmpTxDesc = NULL; } if(pTmpRxDesc) { free(pTmpRxDesc); pTmpRxDesc = NULL; } if(pTmpTxPktBuf) { free(pTmpTxPktBuf); pTmpTxPktBuf = NULL; } if(pTmpRxPktBuf) { free(pTmpRxPktBuf); pTmpRxPktBuf = NULL; } pTmpTxDesc = (u8 *)malloc(/*MII_TX_DESC_CNT*/MII_TX_DESC_NO * ETH_TX_DESC_SIZE); pTmpRxDesc = (u8 *)malloc(/*MII_RX_DESC_CNT*/MII_RX_DESC_NO * ETH_RX_DESC_SIZE); pTmpTxPktBuf = (u8 *)malloc(/*MII_TX_DESC_CNT*/MII_TX_DESC_NO * ETH_PKT_BUF_SIZE); pTmpRxPktBuf = (u8 *)malloc(/*MII_RX_DESC_CNT*/MII_RX_DESC_NO * ETH_PKT_BUF_SIZE); if(pTmpTxDesc == NULL || pTmpRxDesc == NULL || pTmpTxPktBuf == NULL || pTmpRxPktBuf == NULL) { printf("TX/RX descriptor malloc fail\n"); return; } memset(pTmpTxDesc, 0, MII_TX_DESC_NO * ETH_TX_DESC_SIZE); memset(pTmpRxDesc, 0, MII_RX_DESC_NO * ETH_RX_DESC_SIZE); memset(pTmpTxPktBuf, 0, MII_TX_DESC_NO * ETH_PKT_BUF_SIZE); memset(pTmpRxPktBuf, 0, MII_RX_DESC_NO * ETH_PKT_BUF_SIZE); //size 160 128 12288 12288 ethernet_set_descnum(MII_TX_DESC_NO, MII_RX_DESC_NO); printf("TRX descriptor number setting done\n"); ethernet_trx_pre_setting(pTmpTxDesc, pTmpRxDesc, pTmpTxPktBuf, pTmpRxPktBuf); printf("TRX pre setting done\n"); ethernet_init(); DBG_INFO_MSG_OFF(_DBG_MII_); DBG_WARN_MSG_OFF(_DBG_MII_); DBG_ERR_MSG_ON(_DBG_MII_); /*get mac*/ ethernet_address(mac); memcpy((void*)xnetif[NET_IF_NUM - 1].hwaddr,(void*)mac, 6); rtw_init_sema(&mii_rx_sema,0); rtw_mutex_init(&mii_tx_mutex); if(xTaskCreate(mii_rx_thread, ((const char*)"mii_rx_thread"), 1024, NULL, tskIDLE_PRIORITY+5, NULL) != pdPASS) DBG_8195A("\n\r%s xTaskCreate(mii_rx_thread) failed", __FUNCTION__); DBG_8195A("\nEthernet_mii Init done, interface %d",NET_IF_NUM - 1); if(dhcp_ethernet_mii == 1) LwIP_DHCP(NET_IF_NUM - 1, DHCP_START); vTaskDelete(NULL); } void ethernet_mii_init() { printf("\ninitializing Ethernet_mii......\n"); // set the ethernet interface as default ethernet_if_default = 1; rtw_init_sema(&mii_linkup_sema,0); if( xTaskCreate((TaskFunction_t)dhcp_start_mii, "DHCP_START_MII", 1024, NULL, 2, NULL) != pdPASS) { DBG_8195A("Cannot create demo task\n\r"); } if( xTaskCreate((TaskFunction_t)ethernet_demo, "ETHERNET DEMO", 1024, NULL, 2, NULL) != pdPASS) { DBG_8195A("Cannot create demo task\n\r"); } } void rltk_mii_recv(struct eth_drv_sg *sg_list, int sg_len){ struct eth_drv_sg *last_sg; u8* pbuf = RX_BUFFER; for (last_sg = &sg_list[sg_len]; sg_list < last_sg; ++sg_list) { if (sg_list->buf != 0) { rtw_memcpy((void *)(sg_list->buf), pbuf, sg_list->len); pbuf+=sg_list->len; } } } s8 rltk_mii_send(struct eth_drv_sg *sg_list, int sg_len, int total_len){ int ret =0; struct eth_drv_sg *last_sg; u8* pdata = TX_BUFFER; u8 retry_cnt = 0; u32 size = 0; for (last_sg = &sg_list[sg_len]; sg_list < last_sg; ++sg_list) { rtw_memcpy(pdata, (void *)(sg_list->buf), sg_list->len); pdata += sg_list->len; size += sg_list->len; } pdata = TX_BUFFER; //DBG_8195A("mii_send len= %d\n\r", size); rtw_mutex_get(&mii_tx_mutex); while(1){ ret = ethernet_write(pdata, size); if(ret > 0){ ethernet_send(); ret = 0; break; } if(++retry_cnt > 3){ DBG_8195A("TX drop\n\r"); ret = -1; } else rtw_udelay_os(1); } rtw_mutex_put(&mii_tx_mutex); return ret; }
25.1417
112
0.647504
9ade0c50a50c989810f629d44ee6077e341790de
3,664
h
C
Source/Plugins/bsfNullPhysics/BsNullPhysicsCharacterController.h
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
1,745
2018-03-16T02:10:28.000Z
2022-03-26T17:34:21.000Z
Source/Plugins/bsfNullPhysics/BsNullPhysicsCharacterController.h
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
395
2018-03-16T10:18:20.000Z
2021-08-04T16:52:08.000Z
Source/Plugins/bsfNullPhysics/BsNullPhysicsCharacterController.h
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
267
2018-03-17T19:32:54.000Z
2022-02-17T16:55:50.000Z
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #pragma once #include "BsNullPhysicsPrerequisites.h" #include "Physics/BsCharacterController.h" namespace bs { /** @addtogroup NullPhysics * @{ */ /** Null implementation if a CharacterController. */ class NullPhysicsCharacterController : public CharacterController { public: NullPhysicsCharacterController(const CHAR_CONTROLLER_DESC& desc); ~NullPhysicsCharacterController() = default; /** @copydoc CharacterController::move */ CharacterCollisionFlags move(const Vector3& displacement) override; /** @copydoc CharacterController::getPosition */ Vector3 getPosition() const override { return mDesc.position; } /** @copydoc CharacterController::setPosition */ void setPosition(const Vector3& position) override { mDesc.position = position; } /** @copydoc CharacterController::getFootPosition */ Vector3 getFootPosition() const override { return mDesc.position; } /** @copydoc CharacterController::setFootPosition */ void setFootPosition(const Vector3& position) override { mDesc.position = position; } /** @copydoc CharacterController::getRadius */ float getRadius() const override { return mDesc.radius; } /** @copydoc CharacterController::setRadius */ void setRadius(float radius) override { mDesc.radius = radius; } /** @copydoc CharacterController::getHeight */ float getHeight() const override { return mDesc.height; } /** @copydoc CharacterController::setHeight */ void setHeight(float height) override { mDesc.height = height; } /** @copydoc CharacterController::getUp */ Vector3 getUp() const override { return mDesc.up; } /** @copydoc CharacterController::setUp */ void setUp(const Vector3& up) override { mDesc.up = up; } /** @copydoc CharacterController::getClimbingMode */ CharacterClimbingMode getClimbingMode() const override { return mDesc.climbingMode; } /** @copydoc CharacterController::setClimbingMode */ void setClimbingMode(CharacterClimbingMode mode) override { mDesc.climbingMode = mode; } /** @copydoc CharacterController::getNonWalkableMode */ CharacterNonWalkableMode getNonWalkableMode() const override { return mDesc.nonWalkableMode; } /** @copydoc CharacterController::setNonWalkableMode */ void setNonWalkableMode(CharacterNonWalkableMode mode) override { mDesc.nonWalkableMode = mode; } /** @copydoc CharacterController::getMinMoveDistance */ float getMinMoveDistance() const override { return mDesc.minMoveDistance; } /** @copydoc CharacterController::setMinMoveDistance */ void setMinMoveDistance(float value) override { mDesc.minMoveDistance = value; } /** @copydoc CharacterController::getContactOffset */ float getContactOffset() const override { return mDesc.contactOffset; } /** @copydoc CharacterController::setContactOffset */ void setContactOffset(float value) override { mDesc.contactOffset = value; } /** @copydoc CharacterController::getStepOffset */ float getStepOffset() const override { return mDesc.stepOffset; } /** @copydoc CharacterController::setStepOffset */ void setStepOffset(float value) override { mDesc.stepOffset = value; } /** @copydoc CharacterController::getSlopeLimit */ Radian getSlopeLimit() const override { return mDesc.slopeLimit; } /** @copydoc CharacterController::setSlopeLimit */ void setSlopeLimit(Radian value) override { mDesc.slopeLimit = value; } private: CHAR_CONTROLLER_DESC mDesc; }; /** @} */ }
38.166667
124
0.729531
2c9f5eeabe02798b194424a3ff96e4cdff61e1dd
94,942
h
C
src/xenia/gpu/dxbc.h
epozzobon/xenia
3775048cc9d281dbb57d021f9dd139663b96cfe4
[ "BSD-3-Clause" ]
null
null
null
src/xenia/gpu/dxbc.h
epozzobon/xenia
3775048cc9d281dbb57d021f9dd139663b96cfe4
[ "BSD-3-Clause" ]
null
null
null
src/xenia/gpu/dxbc.h
epozzobon/xenia
3775048cc9d281dbb57d021f9dd139663b96cfe4
[ "BSD-3-Clause" ]
null
null
null
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2021 Ben Vanik. All rights reserved. * * Released under the BSD license - see LICENSE in the root for more details. * ****************************************************************************** */ #ifndef XENIA_GPU_DXBC_H_ #define XENIA_GPU_DXBC_H_ #include <cstdint> #include <cstdlib> #include <cstring> #include <vector> #include "xenia/base/assert.h" #include "xenia/base/math.h" namespace xe { namespace gpu { namespace dxbc { // Utilities for generating shader model 5_1 byte code (for Direct3D 12). // // This file contains only parts of DXBC used by Xenia currently or previously, // not all of DXBC. If an operation, operand, blob or something else is needed // for Xenia, but is not here, add it (after reproducing it with FXC to see what // dependencies - such as STAT fields being modified - and encoding specifics it // has). // // IMPORTANT CONTRIBUTION NOTES: // // While DXBC may look like a flexible and high-level representation with highly // generalized building blocks, actually it has a lot of restrictions on operand // usage! // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // !!!DO NOT ADD ANYTHING FXC THAT WOULD NOT PRODUCE!!! // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Before adding any sequence that you haven't seen in Xenia, try writing // equivalent code in HLSL and running it through FXC, try with /Od, try with // full optimization, but if you see that FXC follows a different pattern than // what you are expecting, do what FXC does!!! // Most important limitations: // - Absolute, negate and saturate are only supported by instructions that // explicitly support them. See MSDN pages of the specific instructions you // want to use with modifiers: // https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx9-graphics-reference-asm // - Component selection in the general case (ALU instructions - things like // resource access and flow control mostly explicitly need a specific // component selection mode defined in the specification of the instruction): // - 0-component - for operand types with no data (samplers, labels). // - 1-component - for scalar destination operand types, and for scalar source // operand types when the destination vector has 1 component masked // (including scalar immediates). // - Mask - for vector destination operand types. // - Swizzle - for both vector and scalar (replicated in this case) source // operand types, when the destination vector has 2 or more components // masked. Immediates in this case have XYZW swizzle. // - Select 1 - for vector source operand types, when the destination has 1 // component masked or is of a scalar type. // - Input operands (v#) can be used only as sources, output operands (o#) can // be used only as destinations. // - Indexable temporaries (x#) can only be used as a destination or a source // operand (but not both at once) of a mov instruction - a load/store pattern // here. Also, movs involving x# are counted as ArrayInstructions rather than // MovInstructions in STAT. The other operand can be anything that most other // instructions accept, but it still must be a mov with x# on one side. // !NOTE!: The D3D11.3 Functional Specification on Microsoft's GitHub profile, // as of March 27th, 2020, is NOT a reliable reference, even though it contains // many DXBC details! There are multiple places where it clearly contradicts // what FXC does, even when targeting old shader models like 4_0: // - The limit of 1 immediate or constant buffer source operand per instruction // is totally ignored by FXC - in simple tests, it can emit an instruction // with two constant buffer sources, or one constant buffer source and one // immediate, or a multiply-add with two immediate operands. // - It says x# can be used wherever r# can be used - in synthetic tests, FXC // always accesses x# in a load/store way via mov. // - It says x# can be used for indexing, including nested indexing of x# (one // level deep), however, FXC moves the inner index operand to r# first in this // case. // // For bytecode structure, see d3d12TokenizedProgramFormat.hpp from the Windows // Driver Kit, and DXILConv from DirectX Shader Compiler. // // Avoid using uninitialized register components - such as registers written to // in "if" and not in "else", but then used outside unconditionally or with a // different condition (or even with the same condition, but in a different "if" // block). This will cause crashes on AMD drivers, and will also limit // optimization possibilities as this may result in false dependencies. Always // mov l(0, 0, 0, 0) to such components before potential branching - // PushSystemTemp accepts a zero mask for this purpose. // // Clamping of non-negative values must be done first to the lower bound (using // max), then to the upper bound (using min), to match the saturate modifier // behavior, which results in 0 for NaN. // // Sources (apart from reverse engineering of compiled shaders): // - Hash: // - DXBCChecksum from GPUOpen-Archive/common-src-ShaderUtils // - RDEF: // - d3d12shader.h from the Windows SDK // - D3D10ShaderObject.h from GPUOpen-Archive/common-src-ShaderUtils // - ISGN, PCSG, OSGN: // - d3d12shader.h from the Windows SDK // - DxbcSignatures.h from DXILConv // - SHEX: // - d3d12TokenizedProgramFormat.hpp from the Windows Driver Kit // - SFI0: // - DXBCUtils.h from the D3D12 Translation Layer // - STAT: // - D3D10ShaderObject.h fromGPUOpen-Archive/common-src-ShaderUtils // - d3dcompiler_parse_stat from Wine // - d3d12shader.h from the Windows SDK // Note that d3d12shader.h contains structures for use with Direct3D reflection // interfaces, not the DXBC containers themselves. They may have fields removed, // reordered or added. // // Pointers in RDEF and signatures are offsets from the start of the blob (not // including the FourCC and the size), 0 pointer is considered null when // applicable. // // Even if DXIL emission is added to Xenia, it's still desirable to keep the // DXBC emitter as a usable option (unless supporting it becomes excessively // burdensome) - apart from much worse readability of the resulting DXIL code, // the UWP GPU driver on the Xbox One also doesn't support DXIL. constexpr uint8_t kAlignmentPadding = 0xAB; constexpr uint32_t MakeFourCC(uint32_t ch0, uint32_t ch1, uint32_t ch2, uint32_t ch3) { return uint32_t(ch0) | (uint32_t(ch1) << 8) | (uint32_t(ch2) << 16) | (uint32_t(ch3) << 24); } struct alignas(uint32_t) ContainerHeader { static constexpr uint32_t kFourCC = MakeFourCC('D', 'X', 'B', 'C'); static constexpr uint16_t kVersionMajor = 1; static constexpr uint16_t kVersionMinor = 0; uint32_t fourcc; // Of the entire DXBC container including this header, with this set to 0 // before hashing. Calculate using CalculateDXBCChecksum from // GPUOpen-Archive/common-src-ShaderUtils. uint32_t hash[4]; uint16_t version_major; uint16_t version_minor; uint32_t size_bytes; uint32_t blob_count; void InitializeIdentification() { fourcc = kFourCC; version_major = kVersionMajor; version_minor = kVersionMinor; } // Followed by uint32_t[blob_count] offsets from the start of the container in // bytes to the start of each blob's header. }; static_assert_size(ContainerHeader, sizeof(uint32_t) * 8); struct alignas(uint32_t) BlobHeader { enum class FourCC : uint32_t { // In order of appearance in a container. kResourceDefinition = MakeFourCC('R', 'D', 'E', 'F'), kInputSignature = MakeFourCC('I', 'S', 'G', 'N'), kInputSignature_11_1 = MakeFourCC('I', 'S', 'G', '1'), kPatchConstantSignature = MakeFourCC('P', 'C', 'S', 'G'), kOutputSignature = MakeFourCC('O', 'S', 'G', 'N'), kOutputSignatureForGS = MakeFourCC('O', 'S', 'G', '5'), kOutputSignature_11_1 = MakeFourCC('O', 'S', 'G', '1'), kShaderEx = MakeFourCC('S', 'H', 'E', 'X'), kShaderFeatureInfo = MakeFourCC('S', 'F', 'I', '0'), kStatistics = MakeFourCC('S', 'T', 'A', 'T'), }; FourCC fourcc; uint32_t size_bytes; }; static_assert_size(BlobHeader, sizeof(uint32_t) * 2); // Appends a string to a DWORD stream, returns the DWORD-aligned length. inline uint32_t AppendAlignedString(std::vector<uint32_t>& dest, const char* source) { size_t size = std::strlen(source) + 1; size_t size_aligned = xe::align(size, sizeof(uint32_t)); size_t dest_position = dest.size(); dest.resize(dest_position + size_aligned / sizeof(uint32_t)); std::memcpy(&dest[dest_position], source, size); // Don't leave uninitialized data, and make sure multiple uses of the // assembler with the same input give the same DXBC for driver shader caching. std::memset(reinterpret_cast<uint8_t*>(&dest[dest_position]) + size, dxbc::kAlignmentPadding, size_aligned - size); return uint32_t(size_aligned); } // Returns the length of a string as if it was appended to a DWORD stream, in // bytes. inline uint32_t GetAlignedStringLength(const char* source) { return uint32_t(xe::align(std::strlen(source) + 1, sizeof(uint32_t))); } // D3DCOMPILE subset enum CompileFlags : uint32_t { // NoPreshader and PreferFlowControl are set by default for shader model 5_1. kCompileFlagNoPreshader = 1 << 8, kCompileFlagPreferFlowControl = 1 << 10, kCompileFlagIeeeStrictness = 1 << 13, kCompileFlagEnableUnboundedDescriptorTables = 1 << 20, kCompileFlagAllResourcesBound = 1 << 21, }; // D3D_SHADER_VARIABLE_CLASS enum class RdefVariableClass : uint16_t { kScalar, kVector, kMatrixRows, kMatrixColumns, kObject, kStruct, kInterfaceClass, kInterfacePointer, }; // D3D_SHADER_VARIABLE_TYPE subset enum class RdefVariableType : uint16_t { kInt = 2, kFloat = 3, kUInt = 19, }; // D3D_SHADER_VARIABLE_FLAGS enum RdefVariableFlags : uint32_t { kRdefVariableFlagUserPacked = 1 << 0, kRdefVariableFlagUsed = 1 << 1, kRdefVariableFlagInterfacePointer = 1 << 2, kRdefVariableFlagInterfaceParameter = 1 << 3, }; // D3D_SHADER_CBUFFER_FLAGS enum RdefCbufferFlags : uint32_t { kRdefCbufferFlagUserPacked = 1 << 0, }; // D3D_CBUFFER_TYPE enum class RdefCbufferType : uint32_t { kCbuffer, kTbuffer, kInterfacePointers, kResourceBindInfo, }; // D3D_SHADER_INPUT_TYPE enum class RdefInputType : uint32_t { kCbuffer, kTbuffer, kTexture, kSampler, kUAVRWTyped, kStructured, kUAVRWStructured, kByteAddress, kUAVRWByteAddress, kUAVAppendStructured, kUAVConsumeStructured, kUAVRWStructuredWithCounter, }; // D3D_RESOURCE_RETURN_TYPE / D3D10_SB_RESOURCE_RETURN_TYPE enum class ResourceReturnType : uint32_t { kVoid, kUNorm, kSNorm, kSInt, kUInt, kFloat, kMixed, kDouble, kContinued, }; // D3D12_SRV_DIMENSION / D3D12_UAV_DIMENSION enum class RdefDimension : uint32_t { kUnknown = 0, kSRVBuffer = 1, kSRVTexture1D, kSRVTexture1DArray, kSRVTexture2D, kSRVTexture2DArray, kSRVTexture2DMS, kSRVTexture2DMSArray, kSRVTexture3D, kSRVTextureCube, kSRVTextureCubeArray, kUAVBuffer = 1, kUAVTexture1D, kUAVTexture1DArray, kUAVTexture2D, kUAVTexture2DArray, kUAVTexture3D, }; // D3D_SHADER_INPUT_FLAGS enum RdefInputFlags : uint32_t { // For constant buffers, UserPacked is set if it was declared as `cbuffer` // rather than `ConstantBuffer<T>` (not dynamically indexable; though // non-uniform dynamic indexing of constant buffers also didn't work on AMD // drivers in 2018) - not to be confused with kRdefCbufferFlagUserPacked, // which is set in a different case. kRdefInputFlagUserPacked = 1 << 0, kRdefInputFlagComparisonSampler = 1 << 1, // Texture and typed buffer component count minus 1. kRdefInputFlagsComponentsShift = 2, kRdefInputFlags2Component = 1 << kRdefInputFlagsComponentsShift, kRdefInputFlags3Component = 2 << kRdefInputFlagsComponentsShift, kRdefInputFlags4Component = 3 << kRdefInputFlagsComponentsShift, kRdefInputFlagUnused = 1 << 4, }; enum class RdefShaderModel : uint32_t { kPixelShader5_1 = 0xFFFF0501u, kVertexShader5_1 = 0xFFFE0501u, kGeometryShader5_1 = 0x47530501u, kDomainShader5_1 = 0x44530501u, kComputeShader5_1 = 0x43530501u, }; // D3D12_SHADER_TYPE_DESC with some differences. struct alignas(uint32_t) RdefType { RdefVariableClass variable_class; RdefVariableType variable_type; // Matrix rows, 1 for other numeric, 0 if not applicable. uint16_t row_count; // Vector and matrix columns, 1 for other numerics, 0 if not applicable. uint16_t column_count; // 0 if not an array, except for structures which have 1. uint16_t element_count; // 0 if not a structure. uint16_t member_count; // Null if not a structure. uint32_t members_ptr; // Zero. uint32_t unknown_0[4]; // uint is called dword when it's scalar (but uint vectors are still uintN). uint32_t name_ptr; }; static_assert_size(RdefType, sizeof(uint32_t) * 9); struct alignas(uint32_t) RdefStructureMember { uint32_t name_ptr; uint32_t type_ptr; uint32_t offset_bytes; }; static_assert_size(RdefStructureMember, sizeof(uint32_t) * 3); // D3D12_SHADER_VARIABLE_DESC with some differences. // Used for constants in constant buffers primarily. struct alignas(uint32_t) RdefVariable { uint32_t name_ptr; uint32_t start_offset_bytes; uint32_t size_bytes; // RdefVariableFlags. uint32_t flags; uint32_t type_ptr; uint32_t default_value_ptr; // UINT32_MAX if no textures used. uint32_t start_texture; // Number of texture slots possibly used, 0 if no textures used. uint32_t texture_size; // UINT32_MAX if no textures used. uint32_t start_sampler; // Number of sampler slots possibly used, 0 if no textures used. uint32_t sampler_size; }; static_assert_size(RdefVariable, sizeof(uint32_t) * 10); // Sorted by ID. struct alignas(uint32_t) RdefCbuffer { uint32_t name_ptr; uint32_t variable_count; uint32_t variables_ptr; // 16-byte-aligned. uint32_t size_vector_aligned_bytes; RdefCbufferType type; // RdefCbufferFlags. uint32_t flags; }; static_assert_size(RdefCbuffer, sizeof(uint32_t) * 6); // D3D12_SHADER_INPUT_BIND_DESC with some differences. // Placed in samplers, SRVs, UAVs, CBVs order, sorted by ID. struct alignas(uint32_t) RdefInputBind { uint32_t name_ptr; RdefInputType type; ResourceReturnType return_type; RdefDimension dimension; // 0 for multisampled textures (the sample count is specified in the SRV // descriptor), constant buffers, ByteAddressBuffers and samplers. // UINT32_MAX for single-sampled textures and typed buffers. uint32_t sample_count; uint32_t bind_point; // 0 for unbounded. uint32_t bind_count; // RdefInputFlags. uint32_t flags; // Bind point space and ID added in shader model 5_1. uint32_t bind_point_space; uint32_t id; }; static_assert_size(RdefInputBind, sizeof(uint32_t) * 10); struct alignas(uint32_t) RdefHeader { enum class FourCC : uint32_t { // RD11 in Shader Model 5_0 shaders. k5_0 = MakeFourCC('R', 'D', '1', '1'), // RD11 with reversed nibbles in Shader Model 5_0 shaders. k5_1 = 0x25441313u, }; uint32_t cbuffer_count; uint32_t cbuffers_ptr; uint32_t input_bind_count; uint32_t input_binds_ptr; RdefShaderModel shader_model; // CompileFlags. uint32_t compile_flags; uint32_t generator_name_ptr; FourCC fourcc; uint32_t sizeof_header_bytes; uint32_t sizeof_cbuffer_bytes; uint32_t sizeof_input_bind_bytes; uint32_t sizeof_variable_bytes; uint32_t sizeof_type_bytes; uint32_t sizeof_structure_member_bytes; // Zero. uint32_t unknown_0; void InitializeSizes() { sizeof_header_bytes = sizeof(*this); sizeof_cbuffer_bytes = sizeof(RdefCbuffer); sizeof_input_bind_bytes = sizeof(RdefInputBind); sizeof_variable_bytes = sizeof(RdefVariable); sizeof_type_bytes = sizeof(RdefType); sizeof_structure_member_bytes = sizeof(RdefStructureMember); } }; static_assert_size(RdefHeader, sizeof(uint32_t) * 15); // D3D_NAME subset enum class Name : uint32_t { kUndefined = 0, kPosition = 1, kClipDistance = 2, kCullDistance = 3, kVertexID = 6, kIsFrontFace = 9, kSampleIndex = 10, kFinalQuadEdgeTessFactor = 11, kFinalQuadInsideTessFactor = 12, kFinalTriEdgeTessFactor = 13, kFinalTriInsideTessFactor = 14, }; // D3D_REGISTER_COMPONENT_TYPE enum class SignatureRegisterComponentType : uint32_t { kUnknown, kUInt32, kSInt32, kFloat32, }; // D3D_MIN_PRECISION enum class MinPrecision : uint32_t { kDefault, kFloat16, kFloat2_8, kSInt16 = 4, kUInt16, kAny16 = 0xF0, kAny10, }; // D3D10_INTERNALSHADER_PARAMETER struct alignas(uint32_t) SignatureParameter { uint32_t semantic_name_ptr; uint32_t semantic_index; // kUndefined for pixel shader outputs - inferred from the component type and // what is used in the shader. Name system_value; SignatureRegisterComponentType component_type; // o#/v# when there's linkage, SV_Target index or UINT32_MAX in pixel shader // output. uint32_t register_index; uint8_t mask; union { // For an output signature. uint8_t never_writes_mask; // For an input signature. uint8_t always_reads_mask; }; }; static_assert_size(SignatureParameter, sizeof(uint32_t) * 6); // D3D11_INTERNALSHADER_PARAMETER_FOR_GS // Extends SignatureParameter, see it for more information. struct alignas(uint32_t) SignatureParameterForGS { // Stream index (parameters must appear in non-decreasing stream order). uint32_t stream; uint32_t semantic_name_ptr; uint32_t semantic_index; Name system_value; SignatureRegisterComponentType component_type; uint32_t register_index; uint8_t mask; union { uint8_t never_writes_mask; uint8_t always_reads_mask; }; }; static_assert_size(SignatureParameterForGS, sizeof(uint32_t) * 7); // D3D11_INTERNALSHADER_PARAMETER_11_1 // Extends SignatureParameterForGS, see it for more information. struct alignas(uint32_t) SignatureParameter_11_1 { uint32_t stream; uint32_t semantic_name_ptr; uint32_t semantic_index; Name system_value; SignatureRegisterComponentType component_type; uint32_t register_index; uint8_t mask; union { uint8_t never_writes_mask; uint8_t always_reads_mask; }; MinPrecision min_precision; }; static_assert_size(SignatureParameter_11_1, sizeof(uint32_t) * 8); // D3D10_INTERNALSHADER_SIGNATURE struct alignas(uint32_t) Signature { uint32_t parameter_count; // If the signature is empty, this still points after the header. uint32_t parameter_info_ptr; }; static_assert_size(Signature, sizeof(uint32_t) * 2); // SHADER_FEATURE // Low 32 bits. enum ShaderFeature0 : uint32_t { kShaderFeature0_Doubles = 1 << 0, kShaderFeature0_ComputeShadersPlusRawAndStructuredBuffersViaShader_4_X = 1 << 1, kShaderFeature0_UAVsAtEveryStage = 1 << 2, kShaderFeature0_64UAVs = 1 << 3, kShaderFeature0_MinimumPrecision = 1 << 4, kShaderFeature0_11_1_DoubleExtensions = 1 << 5, kShaderFeature0_11_1_ShaderExtensions = 1 << 6, kShaderFeature0_Level9ComparisonFiltering = 1 << 7, kShaderFeature0_TiledResources = 1 << 8, kShaderFeature0_StencilRef = 1 << 9, kShaderFeature0_InnerCoverage = 1 << 10, kShaderFeature0_TypedUAVLoadAdditionalFormats = 1 << 11, kShaderFeature0_ROVs = 1 << 12, kShaderFeature0_ViewportAndRTArrayIndexFromAnyShaderFeedingRasterizer = 1 << 13, }; struct alignas(uint32_t) ShaderFeatureInfo { // UINT64 originally, but aligned to 4 rather than 8. uint32_t feature_flags[2]; }; static_assert_size(ShaderFeatureInfo, sizeof(uint32_t) * 2); // D3D11_SB_TESSELLATOR_DOMAIN enum class TessellatorDomain : uint32_t { kUndefined, kIsoline, kTriangle, kQuad, }; // D3D10_SB_PRIMITIVE_TOPOLOGY enum class PrimitiveTopology : uint32_t { kUndefined = 0, kPointList = 1, kLineList = 2, kLineStrip = 3, kTriangleList = 4, kTriangleStrip = 5, kLineListWithAdjacency = 10, kLineStripWithAdjacency = 11, kTriangleListWithAdjacency = 12, kTriangleStripWithAdjacency = 13, }; // D3D10_SB_PRIMITIVE enum class Primitive : uint32_t { kUndefined = 0, kPoint = 1, kLine = 2, kTriangle = 3, kLineWithAdjacency = 6, kTriangleWithAdjacency = 7, k1ControlPointPatch = 8, k2ControlPointPatch = 9, k3ControlPointPatch = 10, k4ControlPointPatch = 11, k5ControlPointPatch = 12, k6ControlPointPatch = 13, k7ControlPointPatch = 14, k8ControlPointPatch = 15, k9ControlPointPatch = 16, k10ControlPointPatch = 17, k11ControlPointPatch = 18, k12ControlPointPatch = 19, k13ControlPointPatch = 20, k14ControlPointPatch = 21, k15ControlPointPatch = 22, k16ControlPointPatch = 23, k17ControlPointPatch = 24, k18ControlPointPatch = 25, k19ControlPointPatch = 26, k20ControlPointPatch = 27, k21ControlPointPatch = 28, k22ControlPointPatch = 29, k23ControlPointPatch = 30, k24ControlPointPatch = 31, k25ControlPointPatch = 32, k26ControlPointPatch = 33, k27ControlPointPatch = 34, k28ControlPointPatch = 35, k29ControlPointPatch = 36, k30ControlPointPatch = 37, k31ControlPointPatch = 38, k32ControlPointPatch = 39, }; // The STAT blob (based on Wine d3dcompiler_parse_stat). struct alignas(uint32_t) Statistics { // Not increased by declarations and labels. uint32_t instruction_count; // +0 uint32_t temp_register_count; // +4 // Unknown in Wine. uint32_t def_count; // +8 // Only inputs and outputs, not CBVs, SRVs, UAVs and samplers. uint32_t dcl_count; // +C uint32_t float_instruction_count; // +10 uint32_t int_instruction_count; // +14 uint32_t uint_instruction_count; // +18 // endif, ret. uint32_t static_flow_control_count; // +1C // if (but not else). uint32_t dynamic_flow_control_count; // +20 // Unknown in Wine. uint32_t macro_instruction_count; // +24 uint32_t temp_array_count; // +28 uint32_t array_instruction_count; // +2C uint32_t cut_instruction_count; // +30 uint32_t emit_instruction_count; // +34 uint32_t texture_normal_instructions; // +38 uint32_t texture_load_instructions; // +3C uint32_t texture_comp_instructions; // +40 uint32_t texture_bias_instructions; // +44 uint32_t texture_gradient_instructions; // +48 // Not including indexable temp load/store. uint32_t mov_instruction_count; // +4C // Unknown in Wine. uint32_t movc_instruction_count; // +50 uint32_t conversion_instruction_count; // +54 // Unknown in Wine. uint32_t unknown_22; // +58 Primitive input_primitive; // +5C PrimitiveTopology gs_output_topology; // +60 uint32_t gs_max_output_vertex_count; // +64 uint32_t unknown_26; // +68 // Unknown in Wine, but confirmed by testing. uint32_t lod_instructions; // +6C uint32_t unknown_28; // +70 uint32_t unknown_29; // +74 uint32_t c_control_points; // +78 uint32_t hs_output_primitive; // +7C uint32_t hs_partitioning; // +80 TessellatorDomain tessellator_domain; // +84 // Unknown in Wine. uint32_t c_barrier_instructions; // +88 // Unknown in Wine. uint32_t c_interlocked_instructions; // +8C // Unknown in Wine, but confirmed by testing. uint32_t c_texture_store_instructions; // +90 }; static_assert_size(Statistics, sizeof(uint32_t) * 37); // A shader blob begins with a version token and the shader length in dwords // (including the version token and the length token itself). // D3D10_SB_TOKENIZED_PROGRAM_TYPE enum class ProgramType : uint32_t { kPixelShader, kVertexShader, kGeometryShader, kHullShader, kDomainShader, kComputeShader, }; constexpr uint32_t VersionToken(ProgramType program_type, uint32_t major_version, uint32_t minor_version) { return (uint32_t(program_type) << 16) | (major_version << 4) | minor_version; } // D3D10_SB_CUSTOMDATA_CLASS enum class CustomDataClass : uint32_t { kComment, kDebugInfo, kOpaque, kDclImmediateConstantBuffer, kShaderMessage, kShaderClipPlaneConstantMappingsForDX9, }; // D3D10_SB_OPERAND_TYPE subset enum class OperandType : uint32_t { kTemp = 0, kInput = 1, kOutput = 2, // Only usable as destination or source (but not both) in mov (and it // becomes an array instruction this way). kIndexableTemp = 3, kImmediate32 = 4, kSampler = 6, kResource = 7, kConstantBuffer = 8, kLabel = 10, kInputPrimitiveID = 11, kOutputDepth = 12, kNull = 13, kOutputCoverageMask = 15, kStream = 16, kInputControlPoint = 25, kInputDomainPoint = 28, kUnorderedAccessView = 30, kInputThreadID = 32, kInputThreadGroupID = 33, kInputThreadIDInGroup = 34, kInputCoverageMask = 35, kOutputDepthLessEqual = 39, kOutputStencilRef = 41, }; // D3D10_SB_OPERAND_NUM_COMPONENTS enum class OperandDimension : uint32_t { kNoData, // D3D10_SB_OPERAND_0_COMPONENT kScalar, // D3D10_SB_OPERAND_1_COMPONENT kVector, // D3D10_SB_OPERAND_4_COMPONENT }; constexpr OperandDimension GetOperandDimension(OperandType type, bool in_dcl = false) { switch (type) { case OperandType::kSampler: return in_dcl ? OperandDimension::kVector : OperandDimension::kNoData; case OperandType::kLabel: case OperandType::kNull: case OperandType::kStream: return OperandDimension::kNoData; case OperandType::kInputPrimitiveID: case OperandType::kOutputDepth: case OperandType::kOutputCoverageMask: case OperandType::kOutputDepthLessEqual: case OperandType::kOutputStencilRef: return OperandDimension::kScalar; case OperandType::kInputCoverageMask: return in_dcl ? OperandDimension::kScalar : OperandDimension::kVector; default: return OperandDimension::kVector; } } // D3D10_SB_OPERAND_4_COMPONENT_SELECTION_MODE enum class ComponentSelection { kMask, kSwizzle, kSelect1, }; struct Index { // D3D10_SB_OPERAND_INDEX_REPRESENTATION enum class Representation : uint32_t { kImmediate32, kImmediate64, kRelative, kImmediate32PlusRelative, kImmediate64PlusRelative, }; uint32_t index_; // UINT32_MAX if absolute. Lower 2 bits are the component index, upper bits // are the temp register index. Applicable to indexable temps, inputs, // outputs except for pixel shaders, constant buffers and bindings. uint32_t relative_to_temp_; // Implicit constructor. Index(uint32_t index = 0) : index_(index), relative_to_temp_(UINT32_MAX) {} Index(uint32_t temp, uint32_t temp_component, uint32_t offset = 0) : index_(offset), relative_to_temp_((temp << 2) | temp_component) {} Representation GetRepresentation() const { if (relative_to_temp_ != UINT32_MAX) { return index_ != 0 ? Representation::kImmediate32PlusRelative : Representation::kRelative; } return Representation::kImmediate32; } uint32_t GetLength() const { return relative_to_temp_ != UINT32_MAX ? (index_ != 0 ? 3 : 2) : 1; } void Write(std::vector<uint32_t>& code) const { if (relative_to_temp_ == UINT32_MAX || index_ != 0) { code.push_back(index_); } if (relative_to_temp_ != UINT32_MAX) { // Encode selecting one component from absolute-indexed r#. code.push_back(uint32_t(OperandDimension::kVector) | (uint32_t(ComponentSelection::kSelect1) << 2) | ((relative_to_temp_ & 3) << 4) | (uint32_t(OperandType::kTemp) << 12) | (1 << 20) | (uint32_t(Representation::kImmediate32) << 22)); code.push_back(relative_to_temp_ >> 2); } } }; struct OperandAddress { OperandType type_; uint32_t index_dimension_; Index index_1d_, index_2d_, index_3d_; explicit OperandAddress(OperandType type) : type_(type), index_dimension_(0) {} explicit OperandAddress(OperandType type, Index index_1d) : type_(type), index_dimension_(1), index_1d_(index_1d) {} explicit OperandAddress(OperandType type, Index index_1d, Index index_2d) : type_(type), index_dimension_(2), index_1d_(index_1d), index_2d_(index_2d) {} explicit OperandAddress(OperandType type, Index index_1d, Index index_2d, Index index_3d) : type_(type), index_dimension_(3), index_1d_(index_1d), index_2d_(index_2d), index_3d_(index_3d) {} OperandDimension GetDimension(bool in_dcl = false) const { return GetOperandDimension(type_, in_dcl); } uint32_t GetOperandTokenTypeAndIndex() const { uint32_t operand_token = (uint32_t(type_) << 12) | (index_dimension_ << 20); if (index_dimension_ > 0) { operand_token |= uint32_t(index_1d_.GetRepresentation()) << 22; if (index_dimension_ > 1) { operand_token |= uint32_t(index_2d_.GetRepresentation()) << 25; if (index_dimension_ > 2) { operand_token |= uint32_t(index_3d_.GetRepresentation()) << 28; } } } return operand_token; } uint32_t GetLength() const { uint32_t length = 0; if (index_dimension_ > 0) { length += index_1d_.GetLength(); if (index_dimension_ > 1) { length += index_2d_.GetLength(); if (index_dimension_ > 2) { length += index_3d_.GetLength(); } } } return length; } void Write(std::vector<uint32_t>& code) const { if (index_dimension_ > 0) { index_1d_.Write(code); if (index_dimension_ > 1) { index_2d_.Write(code); if (index_dimension_ > 2) { index_3d_.Write(code); } } } } }; // D3D10_SB_EXTENDED_OPERAND_TYPE enum class ExtendedOperandType : uint32_t { kEmpty, kModifier, }; // D3D10_SB_OPERAND_MODIFIER enum class OperandModifier : uint32_t { kNone, kNegate, kAbsolute, kAbsoluteNegate, }; struct Dest : OperandAddress { // Ignored for 0-component and 1-component operand types. uint32_t write_mask_; // Input destinations (v*) are for use only in declarations. Vector input // declarations use read masks instead of swizzle (resource declarations still // use swizzle when they're vector, however). explicit Dest(OperandType type, uint32_t write_mask) : OperandAddress(type), write_mask_(write_mask) {} explicit Dest(OperandType type, uint32_t write_mask, Index index_1d) : OperandAddress(type, index_1d), write_mask_(write_mask) {} explicit Dest(OperandType type, uint32_t write_mask, Index index_1d, Index index_2d) : OperandAddress(type, index_1d, index_2d), write_mask_(write_mask) {} explicit Dest(OperandType type, uint32_t write_mask, Index index_1d, Index index_2d, Index index_3d) : OperandAddress(type, index_1d, index_2d, index_3d), write_mask_(write_mask) {} static Dest R(uint32_t index, uint32_t write_mask = 0b1111) { return Dest(OperandType::kTemp, write_mask, index); } static Dest V1D(uint32_t index, uint32_t read_mask = 0b1111) { return Dest(OperandType::kInput, read_mask, index); } static Dest V2D(uint32_t index_1d, uint32_t index_2d, uint32_t read_mask = 0b1111) { return Dest(OperandType::kInput, read_mask, index_1d, index_2d); } static Dest O(Index index, uint32_t write_mask = 0b1111) { return Dest(OperandType::kOutput, write_mask, index); } static Dest X(uint32_t index_1d, Index index_2d, uint32_t write_mask = 0b1111) { return Dest(OperandType::kIndexableTemp, write_mask, index_1d, index_2d); } static Dest VPrim() { return Dest(OperandType::kInputPrimitiveID, 0b0001); } static Dest ODepth() { return Dest(OperandType::kOutputDepth, 0b0001); } static Dest Null() { return Dest(OperandType::kNull, 0b0000); } static Dest OMask() { return Dest(OperandType::kOutputCoverageMask, 0b0001); } static Dest M(uint32_t index) { return Dest(OperandType::kStream, 0b0000, index); } static Dest VICP(uint32_t control_point_count, uint32_t element, uint32_t read_mask = 0b1111) { return Dest(OperandType::kInputControlPoint, read_mask, control_point_count, element); } static Dest VDomain(uint32_t read_mask) { return Dest(OperandType::kInputDomainPoint, read_mask); } static Dest U(uint32_t index_1d, Index index_2d, uint32_t write_mask = 0b1111) { return Dest(OperandType::kUnorderedAccessView, write_mask, index_1d, index_2d); } static Dest VThreadID(uint32_t read_mask) { return Dest(OperandType::kInputThreadID, read_mask); } static Dest VThreadGroupID(uint32_t read_mask) { return Dest(OperandType::kInputThreadGroupID, read_mask); } static Dest VThreadIDInGroup(uint32_t read_mask) { return Dest(OperandType::kInputThreadIDInGroup, read_mask); } static Dest VCoverage() { return Dest(OperandType::kInputCoverageMask, 0b0001); } static Dest ODepthLE() { return Dest(OperandType::kOutputDepthLessEqual, 0b0001); } static Dest OStencilRef() { return Dest(OperandType::kOutputStencilRef, 0b0001); } uint32_t GetMask(bool in_dcl = false) const { OperandDimension dimension = GetDimension(in_dcl); switch (dimension) { case OperandDimension::kNoData: return 0b0000; case OperandDimension::kScalar: return 0b0001; case OperandDimension::kVector: return write_mask_; default: assert_unhandled_case(dimension); return 0b0000; } } [[nodiscard]] Dest Mask(uint32_t write_mask) const { Dest new_dest(*this); new_dest.write_mask_ = write_mask; return new_dest; } [[nodiscard]] Dest MaskMasked(uint32_t write_mask) const { Dest new_dest(*this); new_dest.write_mask_ &= write_mask; return new_dest; } static uint32_t GetMaskSingleComponent(uint32_t write_mask) { uint32_t component; if (xe::bit_scan_forward(write_mask, &component)) { if ((write_mask >> component) == 1) { return component; } } return UINT32_MAX; } uint32_t GetMaskSingleComponent(bool in_dcl = false) const { return GetMaskSingleComponent(GetMask(in_dcl)); } uint32_t GetLength() const { return 1 + OperandAddress::GetLength(); } void Write(std::vector<uint32_t>& code, bool in_dcl = false) const { uint32_t operand_token = GetOperandTokenTypeAndIndex(); OperandDimension dimension = GetDimension(in_dcl); operand_token |= uint32_t(dimension); if (dimension == OperandDimension::kVector) { assert_true(write_mask_ > 0b0000 && write_mask_ <= 0b1111); operand_token |= (uint32_t(ComponentSelection::kMask) << 2) | (write_mask_ << 4); } code.push_back(operand_token); OperandAddress::Write(code); } }; struct Src : OperandAddress { enum : uint32_t { kXYZW = 0b11100100, kXXXX = 0b00000000, kYYYY = 0b01010101, kZZZZ = 0b10101010, kWWWW = 0b11111111, }; // Ignored for 0-component and 1-component operand types. uint32_t swizzle_; bool absolute_ = false; bool negate_ = false; // Only valid for OperandType::kImmediate32. uint32_t immediate_[4]; explicit Src(OperandType type, uint32_t swizzle) : OperandAddress(type), swizzle_(swizzle) {} explicit Src(OperandType type, uint32_t swizzle, Index index_1d) : OperandAddress(type, index_1d), swizzle_(swizzle) {} explicit Src(OperandType type, uint32_t swizzle, Index index_1d, Index index_2d) : OperandAddress(type, index_1d, index_2d), swizzle_(swizzle) {} explicit Src(OperandType type, uint32_t swizzle, Index index_1d, Index index_2d, Index index_3d) : OperandAddress(type, index_1d, index_2d, index_3d), swizzle_(swizzle) {} // For creating instances for use in declarations. struct DclT {}; static constexpr DclT Dcl = {}; static Src R(uint32_t index, uint32_t swizzle = kXYZW) { return Src(OperandType::kTemp, swizzle, index); } static Src V1D(Index index, uint32_t swizzle = kXYZW) { return Src(OperandType::kInput, swizzle, index); } static Src V2D(Index index_1d, Index index_2d, uint32_t swizzle = kXYZW) { return Src(OperandType::kInput, swizzle, index_1d, index_2d); } static Src X(uint32_t index_1d, Index index_2d, uint32_t swizzle = kXYZW) { return Src(OperandType::kIndexableTemp, swizzle, index_1d, index_2d); } static Src LU(uint32_t x, uint32_t y, uint32_t z, uint32_t w) { Src src(OperandType::kImmediate32, kXYZW); src.immediate_[0] = x; src.immediate_[1] = y; src.immediate_[2] = z; src.immediate_[3] = w; return src; } static Src LU(uint32_t x) { return LU(x, x, x, x); } static Src LI(int32_t x, int32_t y, int32_t z, int32_t w) { return LU(uint32_t(x), uint32_t(y), uint32_t(z), uint32_t(w)); } static Src LI(int32_t x) { return LI(x, x, x, x); } static Src LF(float x, float y, float z, float w) { return LU(*reinterpret_cast<const uint32_t*>(&x), *reinterpret_cast<const uint32_t*>(&y), *reinterpret_cast<const uint32_t*>(&z), *reinterpret_cast<const uint32_t*>(&w)); } static Src LF(float x) { return LF(x, x, x, x); } static Src LP(const uint32_t* xyzw) { return LU(xyzw[0], xyzw[1], xyzw[2], xyzw[3]); } static Src LP(const int32_t* xyzw) { return LI(xyzw[0], xyzw[1], xyzw[2], xyzw[3]); } static Src LP(const float* xyzw) { return LF(xyzw[0], xyzw[1], xyzw[2], xyzw[3]); } static Src S(uint32_t index_1d, Index index_2d) { return Src(OperandType::kSampler, kXXXX, index_1d, index_2d); } static Src S(DclT, uint32_t id, uint32_t lower_bound, uint32_t upper_bound) { return Src(OperandType::kSampler, kXYZW, id, lower_bound, upper_bound); } static Src T(uint32_t index_1d, Index index_2d, uint32_t swizzle = kXYZW) { return Src(OperandType::kResource, swizzle, index_1d, index_2d); } static Src T(DclT, uint32_t id, uint32_t lower_bound, uint32_t upper_bound) { return Src(OperandType::kResource, kXYZW, id, lower_bound, upper_bound); } static Src CB(uint32_t id, Index index, Index location, uint32_t swizzle = kXYZW) { return Src(OperandType::kConstantBuffer, swizzle, id, index, location); } static Src CB(DclT, uint32_t id, uint32_t lower_bound, uint32_t upper_bound) { return Src(OperandType::kConstantBuffer, kXYZW, id, lower_bound, upper_bound); } static Src Label(uint32_t index) { return Src(OperandType::kLabel, kXXXX, index); } static Src VPrim() { return Src(OperandType::kInputPrimitiveID, kXXXX); } static Src VICP(Index control_point, Index element, uint32_t swizzle = kXYZW) { return Src(OperandType::kInputControlPoint, swizzle, control_point, element); } static Src VDomain(uint32_t swizzle = kXYZW) { return Src(OperandType::kInputDomainPoint, swizzle); } static Src U(uint32_t index_1d, Index index_2d, uint32_t swizzle = kXYZW) { return Src(OperandType::kUnorderedAccessView, swizzle, index_1d, index_2d); } static Src U(DclT, uint32_t id, uint32_t lower_bound, uint32_t upper_bound) { return Src(OperandType::kUnorderedAccessView, kXYZW, id, lower_bound, upper_bound); } static Src VThreadID(uint32_t swizzle = kXYZW) { return Src(OperandType::kInputThreadID, swizzle); } static Src VThreadGroupID(uint32_t swizzle = kXYZW) { return Src(OperandType::kInputThreadGroupID, swizzle); } static Src VThreadIDInGroup(uint32_t swizzle = kXYZW) { return Src(OperandType::kInputThreadIDInGroup, swizzle); } static Src VCoverage() { return Src(OperandType::kInputCoverageMask, kXXXX); } [[nodiscard]] Src WithModifiers(bool absolute, bool negate) const { Src new_src(*this); new_src.absolute_ = absolute; new_src.negate_ = negate; return new_src; } [[nodiscard]] Src WithAbs(bool absolute) const { return WithModifiers(absolute, negate_); } [[nodiscard]] Src WithNeg(bool negate) const { return WithModifiers(absolute_, negate); } [[nodiscard]] Src Abs() const { return WithModifiers(true, false); } [[nodiscard]] Src operator-() const { return WithModifiers(absolute_, !negate_); } [[nodiscard]] Src Swizzle(uint32_t swizzle) const { Src new_src(*this); new_src.swizzle_ = swizzle; return new_src; } [[nodiscard]] Src SwizzleSwizzled(uint32_t swizzle) const { Src new_src(*this); new_src.swizzle_ = 0; for (uint32_t i = 0; i < 4; ++i) { new_src.swizzle_ |= ((swizzle_ >> (((swizzle >> (i * 2)) & 3) * 2)) & 3) << (i * 2); } return new_src; } [[nodiscard]] Src Select(uint32_t component) const { Src new_src(*this); new_src.swizzle_ = component * 0b01010101; return new_src; } [[nodiscard]] Src SelectFromSwizzled(uint32_t component) const { Src new_src(*this); new_src.swizzle_ = ((swizzle_ >> (component * 2)) & 3) * 0b01010101; return new_src; } uint32_t GetLength(uint32_t mask, bool force_vector = false) const { bool is_vector = force_vector || (mask != 0b0000 && Dest::GetMaskSingleComponent(mask) == UINT32_MAX); if (type_ == OperandType::kImmediate32) { return is_vector ? 5 : 2; } return ((absolute_ || negate_) ? 2 : 1) + OperandAddress::GetLength(); } static constexpr uint32_t GetModifiedImmediate(uint32_t value, bool is_integer, bool absolute, bool negate) { if (is_integer) { if (absolute) { *reinterpret_cast<int32_t*>(&value) = std::abs(*reinterpret_cast<const int32_t*>(&value)); } if (negate) { *reinterpret_cast<int32_t*>(&value) = -*reinterpret_cast<const int32_t*>(&value); } } else { if (absolute) { value &= uint32_t(INT32_MAX); } if (negate) { value ^= uint32_t(INT32_MAX) + 1; } } return value; } uint32_t GetModifiedImmediate(uint32_t swizzle_index, bool is_integer) const { return GetModifiedImmediate( immediate_[(swizzle_ >> (swizzle_index * 2)) & 3], is_integer, absolute_, negate_); } void Write(std::vector<uint32_t>& code, bool is_integer, uint32_t mask, bool force_vector = false, bool in_dcl = false) const { uint32_t operand_token = GetOperandTokenTypeAndIndex(); uint32_t mask_single_component = Dest::GetMaskSingleComponent(mask); uint32_t select_component = mask_single_component != UINT32_MAX ? mask_single_component : 0; bool is_vector = force_vector || (mask != 0b0000 && mask_single_component == UINT32_MAX); if (type_ == OperandType::kImmediate32) { if (is_vector) { operand_token |= uint32_t(OperandDimension::kVector) | (uint32_t(ComponentSelection::kSwizzle) << 2) | (Src::kXYZW << 4); } else { operand_token |= uint32_t(OperandDimension::kScalar); } code.push_back(operand_token); if (is_vector) { for (uint32_t i = 0; i < 4; ++i) { code.push_back((mask & (1 << i)) ? GetModifiedImmediate(i, is_integer) : 0); } } else { code.push_back(GetModifiedImmediate(select_component, is_integer)); } } else { switch (GetDimension(in_dcl)) { case OperandDimension::kScalar: if (is_vector) { operand_token |= uint32_t(OperandDimension::kVector) | (uint32_t(ComponentSelection::kSwizzle) << 2) | (Src::kXXXX << 4); } else { operand_token |= uint32_t(OperandDimension::kScalar); } break; case OperandDimension::kVector: operand_token |= uint32_t(OperandDimension::kVector); if (is_vector) { operand_token |= uint32_t(ComponentSelection::kSwizzle) << 2; // Clear swizzle of unused components to a used value to avoid // referencing potentially uninitialized register components. uint32_t used_component; if (!xe::bit_scan_forward(mask, &used_component)) { used_component = 0; } for (uint32_t i = 0; i < 4; ++i) { uint32_t swizzle_index = (mask & (1 << i)) ? i : used_component; operand_token |= (((swizzle_ >> (swizzle_index * 2)) & 3) << (4 + i * 2)); } } else { operand_token |= (uint32_t(ComponentSelection::kSelect1) << 2) | (((swizzle_ >> (select_component * 2)) & 3) << 4); } break; default: break; } OperandModifier modifier = OperandModifier::kNone; if (absolute_ && negate_) { modifier = OperandModifier::kAbsoluteNegate; } else if (absolute_) { modifier = OperandModifier::kAbsolute; } else if (negate_) { modifier = OperandModifier::kNegate; } if (modifier != OperandModifier::kNone) { operand_token |= uint32_t(1) << 31; } code.push_back(operand_token); if (modifier != OperandModifier::kNone) { code.push_back(uint32_t(ExtendedOperandType::kModifier) | (uint32_t(modifier) << 6)); } OperandAddress::Write(code); } } }; // D3D10_SB_GLOBAL_FLAGS_MASK enum GlobalFlags : uint32_t { // Permit the driver to reorder arithmetic operations for optimization. kGlobalFlagRefactoringAllowed = 1 << 11, kGlobalFlagEnableDoublePrecisionFloatOps = 1 << 12, kGlobalFlagForceEarlyDepthStencil = 1 << 13, // Enable RAW and structured buffers in non-CS 4.x shaders. Not needed on 5.x. kGlobalFlagEnableRawAndStructuredBuffers = 1 << 14, // Direct3D 11.1. // Skip optimizations of shader IL when translating to native code. kGlobalFlagSkipOptimization = 1 << 15, kGlobalFlagEnableMinimumPrecision = 1 << 16, // Enable 11.1 double-precision floating-point instruction extensions. Not // needed on 5.1. kGlobalFlagEnableDoubleExtensions = 1 << 17, // Enable 11.1 non-double instruction extensions. Not needed on 5.1. kGlobalFlagEnableShaderExtensions = 1 << 18, // Direct3D 12. kGlobalFlagAllResourcesBound = 1 << 19, }; // D3D10_SB_SAMPLER_MODE enum class SamplerMode : uint32_t { kDefault, kComparison, kMono, }; // D3D10_SB_CONSTANT_BUFFER_ACCESS_PATTERN enum class ConstantBufferAccessPattern : uint32_t { kImmediateIndexed, kDynamicIndexed, }; // D3D10_SB_INTERPOLATION_MODE enum class InterpolationMode : uint32_t { kUndefined, kConstant, kLinear, kLinearCentroid, kLinearNoPerspective, kLinearNoPerspectiveCentroid, kLinearSample, kLinearNoPerspectiveSample, }; // D3D10_SB_RESOURCE_DIMENSION enum class ResourceDimension : uint32_t { kUnknown, kBuffer, kTexture1D, kTexture2D, kTexture2DMS, kTexture3D, kTextureCube, kTexture1DArray, kTexture2DArray, kTexture2DMSArray, kTextureCubeArray, kRawBuffer, kStructuredBuffer, }; // D3D11_SB_RESOURCE_FLAGS_MASK enum UAVFlags : uint32_t { kUAVFlagGloballyCoherentAccess = 1 << 16, kUAVFlagRasterizerOrderedAccess = 1 << 17, kUAVFlagHasOrderPreservingCounter = 1 << 23, }; // D3D10_SB_OPCODE_TYPE subset enum class Opcode : uint32_t { kAdd = 0, kAnd = 1, kBreak = 2, kCall = 4, kCallC = 5, kCase = 6, kContinue = 7, kDefault = 10, kDiscard = 13, kDiv = 14, kDP2 = 15, kDP3 = 16, kDP4 = 17, kElse = 18, kEndIf = 21, kEndLoop = 22, kEndSwitch = 23, kEq = 24, kExp = 25, kFrc = 26, kFToI = 27, kFToU = 28, kGE = 29, kIAdd = 30, kIf = 31, kIEq = 32, kIGE = 33, kILT = 34, kIMAd = 35, kIMax = 36, kIMin = 37, kIMul = 38, kINE = 39, kIShL = 41, kIToF = 43, kLabel = 44, kLd = 45, kLdMS = 46, kLog = 47, kLoop = 48, kLT = 49, kMAd = 50, kMin = 51, kMax = 52, kCustomData = 53, kMov = 54, kMovC = 55, kMul = 56, kNE = 57, kNot = 59, kOr = 60, kRet = 62, kRetC = 63, kRoundNE = 64, kRoundNI = 65, kRoundZ = 67, kRSq = 68, kSampleL = 72, kSampleD = 73, kSqRt = 75, kSwitch = 76, kSinCos = 77, kUDiv = 78, kULT = 79, kUGE = 80, kUMul = 81, kUMAd = 82, kUMax = 83, kUMin = 84, kUShR = 85, kUToF = 86, kXOr = 87, kDclResource = 88, kDclConstantBuffer = 89, kDclSampler = 90, kDclOutputTopology = 92, kDclInputPrimitive = 93, kDclMaxOutputVertexCount = 94, kDclInput = 95, kDclInputSGV = 96, kDclInputSIV = 97, kDclInputPS = 98, kDclInputPSSGV = 99, kDclInputPSSIV = 100, kDclOutput = 101, kDclOutputSIV = 103, kDclTemps = 104, kDclIndexableTemp = 105, kDclGlobalFlags = 106, kLOD = 108, kEmitStream = 117, kCutStream = 118, kEmitThenCutStream = 119, kDerivRTXCoarse = 122, kDerivRTXFine = 123, kDerivRTYCoarse = 124, kDerivRTYFine = 125, kRcp = 129, kF32ToF16 = 130, kF16ToF32 = 131, kFirstBitHi = 135, kFirstBitLo = 136, kUBFE = 138, kIBFE = 139, kBFI = 140, kBFRev = 141, kDclStream = 143, kDclInputControlPointCount = 147, kDclTessDomain = 149, kDclThreadGroup = 155, kDclUnorderedAccessViewTyped = 156, kDclUnorderedAccessViewRaw = 157, kDclResourceRaw = 161, kLdUAVTyped = 163, kStoreUAVTyped = 164, kLdRaw = 165, kStoreRaw = 166, kEvalSampleIndex = 204, kEvalCentroid = 205, }; // D3D10_SB_EXTENDED_OPCODE_TYPE enum class ExtendedOpcodeType : uint32_t { kEmpty, kSampleControls, kResourceDim, kResourceReturnType, }; constexpr uint32_t OpcodeToken(Opcode opcode, uint32_t operands_length, bool saturate = false, uint32_t extended_opcode_count = 0) { return uint32_t(opcode) | (saturate ? (uint32_t(1) << 13) : 0) | ((uint32_t(1) + extended_opcode_count + operands_length) << 24) | (extended_opcode_count ? (uint32_t(1) << 31) : 0); } constexpr uint32_t GetOpcodeTokenInstructionLength(uint32_t opcode_token) { return (opcode_token >> 24) & ((UINT32_C(1) << 7) - 1); } constexpr uint32_t SampleControlsExtendedOpcodeToken(int32_t aoffimmi_u, int32_t aoffimmi_v, int32_t aoffimmi_w, bool extended = false) { return uint32_t(ExtendedOpcodeType::kSampleControls) | ((uint32_t(aoffimmi_u) & uint32_t(0b1111)) << 9) | ((uint32_t(aoffimmi_v) & uint32_t(0b1111)) << 13) | ((uint32_t(aoffimmi_w) & uint32_t(0b1111)) << 17) | (extended ? (uint32_t(1) << 31) : 0); } constexpr uint32_t ResourceReturnTypeToken(ResourceReturnType x, ResourceReturnType y, ResourceReturnType z, ResourceReturnType w) { return uint32_t(x) | (uint32_t(y) << 4) | (uint32_t(z) << 8) | (uint32_t(w) << 12); } // Even if a texture or a typed buffer has less than 4 components, it has the // same return type specified for all 4 in its dcl instruction. constexpr uint32_t ResourceReturnTypeX4Token(ResourceReturnType xyzw) { return ResourceReturnTypeToken(xyzw, xyzw, xyzw, xyzw); } // Assembler appending to the shader program code vector. class Assembler { public: Assembler(std::vector<uint32_t>& code, Statistics& stat) : code_(code), stat_(stat) {} void OpAdd(const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { EmitAluOp(Opcode::kAdd, 0b00, dest, src0, src1, saturate); ++stat_.float_instruction_count; } void OpAnd(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kAnd, 0b11, dest, src0, src1); ++stat_.uint_instruction_count; } void OpBreak() { code_.push_back(OpcodeToken(Opcode::kBreak, 0)); ++stat_.instruction_count; } void OpCall(const Src& label) { EmitFlowOp(Opcode::kCall, label); ++stat_.static_flow_control_count; } void OpCallC(bool test, const Src& src, const Src& label) { EmitFlowOp(Opcode::kCallC, src, label, test); ++stat_.dynamic_flow_control_count; } void OpCase(const Src& src) { EmitFlowOp(Opcode::kCase, src); ++stat_.static_flow_control_count; } void OpContinue() { code_.push_back(OpcodeToken(Opcode::kContinue, 0)); ++stat_.instruction_count; } void OpDefault() { code_.push_back(OpcodeToken(Opcode::kDefault, 0)); ++stat_.instruction_count; ++stat_.static_flow_control_count; } void OpDiscard(bool test, const Src& src) { EmitFlowOp(Opcode::kDiscard, src, test); } void OpDiv(const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { EmitAluOp(Opcode::kDiv, 0b00, dest, src0, src1, saturate); ++stat_.float_instruction_count; } void OpDP2(const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { uint32_t operands_length = dest.GetLength() + src0.GetLength(0b0011) + src1.GetLength(0b0011); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kDP2, operands_length, saturate)); dest.Write(code_); src0.Write(code_, false, 0b0011); src1.Write(code_, false, 0b0011); ++stat_.instruction_count; ++stat_.float_instruction_count; } void OpDP3(const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { uint32_t operands_length = dest.GetLength() + src0.GetLength(0b0111) + src1.GetLength(0b0111); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kDP3, operands_length, saturate)); dest.Write(code_); src0.Write(code_, false, 0b0111); src1.Write(code_, false, 0b0111); ++stat_.instruction_count; ++stat_.float_instruction_count; } void OpDP4(const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { uint32_t operands_length = dest.GetLength() + src0.GetLength(0b1111) + src1.GetLength(0b1111); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kDP4, operands_length, saturate)); dest.Write(code_); src0.Write(code_, false, 0b1111); src1.Write(code_, false, 0b1111); ++stat_.instruction_count; ++stat_.float_instruction_count; } void OpElse() { code_.push_back(OpcodeToken(Opcode::kElse, 0)); ++stat_.instruction_count; } void OpEndIf() { code_.push_back(OpcodeToken(Opcode::kEndIf, 0)); ++stat_.instruction_count; } void OpEndLoop() { code_.push_back(OpcodeToken(Opcode::kEndLoop, 0)); ++stat_.instruction_count; } void OpEndSwitch() { code_.push_back(OpcodeToken(Opcode::kEndSwitch, 0)); ++stat_.instruction_count; } void OpEq(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kEq, 0b00, dest, src0, src1); ++stat_.float_instruction_count; } void OpExp(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kExp, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpFrc(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kFrc, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpFToI(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kFToI, 0b0, dest, src); ++stat_.conversion_instruction_count; } void OpFToU(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kFToU, 0b0, dest, src); ++stat_.conversion_instruction_count; } void OpGE(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kGE, 0b00, dest, src0, src1); ++stat_.float_instruction_count; } void OpIAdd(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kIAdd, 0b11, dest, src0, src1); ++stat_.int_instruction_count; } void OpIf(bool test, const Src& src) { EmitFlowOp(Opcode::kIf, src, test); ++stat_.dynamic_flow_control_count; } void OpIEq(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kIEq, 0b11, dest, src0, src1); ++stat_.int_instruction_count; } void OpIGE(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kIGE, 0b11, dest, src0, src1); ++stat_.int_instruction_count; } void OpILT(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kILT, 0b11, dest, src0, src1); ++stat_.int_instruction_count; } void OpIMAd(const Dest& dest, const Src& mul0, const Src& mul1, const Src& add) { EmitAluOp(Opcode::kIMAd, 0b111, dest, mul0, mul1, add); ++stat_.int_instruction_count; } void OpIMax(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kIMax, 0b11, dest, src0, src1); ++stat_.int_instruction_count; } void OpIMin(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kIMin, 0b11, dest, src0, src1); ++stat_.int_instruction_count; } void OpIMul(const Dest& dest_hi, const Dest& dest_lo, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kIMul, 0b11, dest_hi, dest_lo, src0, src1); ++stat_.int_instruction_count; } void OpINE(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kINE, 0b11, dest, src0, src1); ++stat_.int_instruction_count; } void OpIShL(const Dest& dest, const Src& value, const Src& shift) { EmitAluOp(Opcode::kIShL, 0b11, dest, value, shift); ++stat_.int_instruction_count; } void OpIToF(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kIToF, 0b1, dest, src); ++stat_.conversion_instruction_count; } void OpLabel(const Src& label) { // The label is source, not destination, for simplicity, to unify it will // call/callc (in DXBC it's just a zero-component label operand). uint32_t operands_length = label.GetLength(0b0000); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kLabel, operands_length)); label.Write(code_, true, 0b0000); // Doesn't count towards stat_.instruction_count. } void OpLd(const Dest& dest, const Src& address, uint32_t address_mask, const Src& resource, int32_t aoffimmi_u = 0, int32_t aoffimmi_v = 0, int32_t aoffimmi_w = 0) { uint32_t dest_write_mask = dest.GetMask(); uint32_t sample_controls = 0; if (aoffimmi_u || aoffimmi_v || aoffimmi_w) { sample_controls = SampleControlsExtendedOpcodeToken(aoffimmi_u, aoffimmi_v, aoffimmi_w); } uint32_t operands_length = dest.GetLength() + address.GetLength(address_mask, true) + resource.GetLength(dest_write_mask, true); code_.reserve(code_.size() + 1 + (sample_controls ? 1 : 0) + operands_length); code_.push_back(OpcodeToken(Opcode::kLd, operands_length, false, sample_controls ? 1 : 0)); if (sample_controls) { code_.push_back(sample_controls); } dest.Write(code_); address.Write(code_, false, address_mask, true); resource.Write(code_, false, dest_write_mask, true); ++stat_.instruction_count; ++stat_.texture_load_instructions; } void OpLdMS(const Dest& dest, const Src& address, uint32_t address_mask, const Src& resource, const Src& sample_index, int32_t aoffimmi_u = 0, int32_t aoffimmi_v = 0) { uint32_t dest_write_mask = dest.GetMask(); uint32_t sample_controls = 0; if (aoffimmi_u || aoffimmi_v) { sample_controls = SampleControlsExtendedOpcodeToken(aoffimmi_u, aoffimmi_v, 0); } uint32_t operands_length = dest.GetLength() + address.GetLength(address_mask, true) + resource.GetLength(dest_write_mask, true) + sample_index.GetLength(0b0000); code_.reserve(code_.size() + 1 + (sample_controls ? 1 : 0) + operands_length); code_.push_back(OpcodeToken(Opcode::kLdMS, operands_length, false, sample_controls ? 1 : 0)); if (sample_controls) { code_.push_back(sample_controls); } dest.Write(code_); address.Write(code_, false, address_mask, true); resource.Write(code_, false, dest_write_mask, true); sample_index.Write(code_, true, 0b0000); ++stat_.instruction_count; ++stat_.texture_load_instructions; } void OpLog(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kLog, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpLoop() { code_.push_back(OpcodeToken(Opcode::kLoop, 0)); ++stat_.instruction_count; ++stat_.dynamic_flow_control_count; } void OpLT(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kLT, 0b00, dest, src0, src1); ++stat_.float_instruction_count; } void OpMAd(const Dest& dest, const Src& mul0, const Src& mul1, const Src& add, bool saturate = false) { EmitAluOp(Opcode::kMAd, 0b000, dest, mul0, mul1, add, saturate); ++stat_.float_instruction_count; } void OpMin(const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { EmitAluOp(Opcode::kMin, 0b00, dest, src0, src1, saturate); ++stat_.float_instruction_count; } void OpMax(const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { EmitAluOp(Opcode::kMax, 0b00, dest, src0, src1, saturate); ++stat_.float_instruction_count; } // Returns a pointer for writing the custom data to. void* OpCustomData(CustomDataClass custom_data_class, uint32_t length_bytes) { uint32_t length_bytes_aligned = xe::align(length_bytes, uint32_t(sizeof(uint32_t))); uint32_t total_length_dwords = length_bytes_aligned / sizeof(uint32_t) + 2; size_t offset_dwords = code_.size(); code_.resize(offset_dwords + total_length_dwords); uint32_t* data = code_.data() + offset_dwords; // Different opcode encoding (no size). *(data++) = uint32_t(Opcode::kCustomData) | (uint32_t(custom_data_class) << 11); *(data++) = total_length_dwords; // Don't leave uninitialized data, and make sure multiple uses of the // assembler with the same input give the same DXBC for driver shader // caching. std::memset(reinterpret_cast<uint8_t*>(data) + length_bytes, dxbc::kAlignmentPadding, length_bytes_aligned - length_bytes); return data; } void OpMov(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kMov, 0b0, dest, src, saturate); if (dest.type_ == OperandType::kIndexableTemp || src.type_ == OperandType::kIndexableTemp) { ++stat_.array_instruction_count; } else { ++stat_.mov_instruction_count; } } void OpMovC(const Dest& dest, const Src& test, const Src& src_nz, const Src& src_z, bool saturate = false) { EmitAluOp(Opcode::kMovC, 0b001, dest, test, src_nz, src_z, saturate); ++stat_.movc_instruction_count; } void OpMul(const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { EmitAluOp(Opcode::kMul, 0b00, dest, src0, src1, saturate); ++stat_.float_instruction_count; } void OpNE(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kNE, 0b00, dest, src0, src1); ++stat_.float_instruction_count; } void OpNot(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kNot, 0b1, dest, src); ++stat_.uint_instruction_count; } void OpOr(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kOr, 0b11, dest, src0, src1); ++stat_.uint_instruction_count; } void OpRet() { code_.push_back(OpcodeToken(Opcode::kRet, 0)); ++stat_.instruction_count; ++stat_.static_flow_control_count; } void OpRetC(bool test, const Src& src) { EmitFlowOp(Opcode::kRetC, src, test); ++stat_.dynamic_flow_control_count; } void OpRoundNE(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kRoundNE, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpRoundNI(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kRoundNI, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpRoundZ(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kRoundZ, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpRSq(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kRSq, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpSampleL(const Dest& dest, const Src& address, uint32_t address_components, const Src& resource, const Src& sampler, const Src& lod, int32_t aoffimmi_u = 0, int32_t aoffimmi_v = 0, int32_t aoffimmi_w = 0) { uint32_t dest_write_mask = dest.GetMask(); uint32_t sample_controls = 0; if (aoffimmi_u || aoffimmi_v || aoffimmi_w) { sample_controls = SampleControlsExtendedOpcodeToken(aoffimmi_u, aoffimmi_v, aoffimmi_w); } uint32_t address_mask = (1 << address_components) - 1; uint32_t operands_length = dest.GetLength() + address.GetLength(address_mask) + resource.GetLength(dest_write_mask, true) + sampler.GetLength(0b0000) + lod.GetLength(0b0000); code_.reserve(code_.size() + 1 + (sample_controls ? 1 : 0) + operands_length); code_.push_back(OpcodeToken(Opcode::kSampleL, operands_length, false, sample_controls ? 1 : 0)); if (sample_controls) { code_.push_back(sample_controls); } dest.Write(code_); address.Write(code_, false, address_mask); resource.Write(code_, false, dest_write_mask, true); sampler.Write(code_, false, 0b0000); lod.Write(code_, false, 0b0000); ++stat_.instruction_count; ++stat_.texture_normal_instructions; } void OpSampleD(const Dest& dest, const Src& address, uint32_t address_components, const Src& resource, const Src& sampler, const Src& x_derivatives, const Src& y_derivatives, uint32_t derivatives_components, int32_t aoffimmi_u = 0, int32_t aoffimmi_v = 0, int32_t aoffimmi_w = 0) { // If the address is 1-component, the derivatives are 1-component, if the // address is 4-component, the derivatives are 4-component. assert_true(derivatives_components <= address_components); uint32_t dest_write_mask = dest.GetMask(); uint32_t sample_controls = 0; if (aoffimmi_u || aoffimmi_v || aoffimmi_w) { sample_controls = SampleControlsExtendedOpcodeToken(aoffimmi_u, aoffimmi_v, aoffimmi_w); } uint32_t address_mask = (1 << address_components) - 1; uint32_t derivatives_mask = (1 << derivatives_components) - 1; uint32_t operands_length = dest.GetLength() + address.GetLength(address_mask) + resource.GetLength(dest_write_mask, true) + sampler.GetLength(0b0000) + x_derivatives.GetLength(derivatives_mask, address_components > 1) + y_derivatives.GetLength(derivatives_mask, address_components > 1); code_.reserve(code_.size() + 1 + (sample_controls ? 1 : 0) + operands_length); code_.push_back(OpcodeToken(Opcode::kSampleD, operands_length, false, sample_controls ? 1 : 0)); if (sample_controls) { code_.push_back(sample_controls); } dest.Write(code_); address.Write(code_, false, address_mask); resource.Write(code_, false, dest_write_mask, true); sampler.Write(code_, false, 0b0000); x_derivatives.Write(code_, false, derivatives_mask, address_components > 1); y_derivatives.Write(code_, false, derivatives_mask, address_components > 1); ++stat_.instruction_count; ++stat_.texture_gradient_instructions; } void OpSqRt(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kSqRt, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpSwitch(const Src& src) { EmitFlowOp(Opcode::kSwitch, src); ++stat_.dynamic_flow_control_count; } void OpSinCos(const Dest& dest_sin, const Dest& dest_cos, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kSinCos, 0b0, dest_sin, dest_cos, src, saturate); ++stat_.float_instruction_count; } void OpUDiv(const Dest& dest_quotient, const Dest& dest_remainder, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kUDiv, 0b11, dest_quotient, dest_remainder, src0, src1); ++stat_.uint_instruction_count; } void OpULT(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kULT, 0b11, dest, src0, src1); ++stat_.uint_instruction_count; } void OpUGE(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kUGE, 0b11, dest, src0, src1); ++stat_.uint_instruction_count; } void OpUMul(const Dest& dest_hi, const Dest& dest_lo, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kUMul, 0b11, dest_hi, dest_lo, src0, src1); ++stat_.uint_instruction_count; } void OpUMAd(const Dest& dest, const Src& mul0, const Src& mul1, const Src& add) { EmitAluOp(Opcode::kUMAd, 0b111, dest, mul0, mul1, add); ++stat_.uint_instruction_count; } void OpUMax(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kUMax, 0b11, dest, src0, src1); ++stat_.uint_instruction_count; } void OpUMin(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kUMin, 0b11, dest, src0, src1); ++stat_.uint_instruction_count; } void OpUShR(const Dest& dest, const Src& value, const Src& shift) { EmitAluOp(Opcode::kUShR, 0b11, dest, value, shift); ++stat_.uint_instruction_count; } void OpUToF(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kUToF, 0b1, dest, src); ++stat_.conversion_instruction_count; } void OpXOr(const Dest& dest, const Src& src0, const Src& src1) { EmitAluOp(Opcode::kXOr, 0b11, dest, src0, src1); ++stat_.uint_instruction_count; } void OpDclResource(ResourceDimension dimension, uint32_t return_type_token, const Src& operand, uint32_t space = 0) { uint32_t operands_length = operand.GetLength(0b1111, false); code_.reserve(code_.size() + 3 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclResource, 2 + operands_length) | (uint32_t(dimension) << 11)); operand.Write(code_, false, 0b1111, false, true); code_.push_back(return_type_token); code_.push_back(space); } // The order of constant buffer declarations in a shader indicates their // relative priority from highest to lowest (hint to driver). void OpDclConstantBuffer(const Src& operand, uint32_t size_vectors, ConstantBufferAccessPattern access_pattern = ConstantBufferAccessPattern::kImmediateIndexed, uint32_t space = 0) { uint32_t operands_length = operand.GetLength(0b1111, false); code_.reserve(code_.size() + 3 + operands_length); code_.push_back( OpcodeToken(Opcode::kDclConstantBuffer, 2 + operands_length) | (uint32_t(access_pattern) << 11)); operand.Write(code_, false, 0b1111, false, true); code_.push_back(size_vectors); code_.push_back(space); } void OpDclSampler(const Src& operand, SamplerMode mode = SamplerMode::kDefault, uint32_t space = 0) { uint32_t operands_length = operand.GetLength(0b1111, false); code_.reserve(code_.size() + 2 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclSampler, 1 + operands_length) | (uint32_t(mode) << 11)); operand.Write(code_, false, 0b1111, false, true); code_.push_back(space); } // In geometry shaders, only kPointList, kLineStrip and kTriangleStrip are // allowed. void OpDclOutputTopology(PrimitiveTopology output_topology) { code_.push_back(OpcodeToken(Opcode::kDclOutputTopology, 0) | (uint32_t(output_topology) << 11)); stat_.gs_output_topology = output_topology; } // In geometry shaders, only kPoint, kLine, kTriangle, kLineWithAdjacency and // kTriangleWithAdjacency are allowed. void OpDclInputPrimitive(Primitive input_primitive) { code_.push_back(OpcodeToken(Opcode::kDclInputPrimitive, 0) | (uint32_t(input_primitive) << 11)); stat_.input_primitive = input_primitive; } // Returns the index of the count written in the code_ vector. size_t OpDclMaxOutputVertexCount(uint32_t count) { code_.reserve(code_.size() + 2); code_.push_back(OpcodeToken(Opcode::kDclMaxOutputVertexCount, 1)); code_.push_back(count); stat_.gs_max_output_vertex_count = count; return code_.size() - 1; } void OpDclInput(const Dest& operand) { uint32_t operands_length = operand.GetLength(); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclInput, operands_length)); operand.Write(code_, true); ++stat_.dcl_count; } void OpDclInputSGV(const Dest& operand, Name name) { uint32_t operands_length = operand.GetLength(); code_.reserve(code_.size() + 2 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclInputSGV, 1 + operands_length)); operand.Write(code_, true); code_.push_back(uint32_t(name)); ++stat_.dcl_count; } void OpDclInputSIV(const Dest& operand, Name name) { uint32_t operands_length = operand.GetLength(); code_.reserve(code_.size() + 2 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclInputSIV, 1 + operands_length)); operand.Write(code_, true); code_.push_back(uint32_t(name)); ++stat_.dcl_count; } void OpDclInputPS(InterpolationMode interpolation_mode, const Dest& operand) { uint32_t operands_length = operand.GetLength(); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclInputPS, operands_length) | (uint32_t(interpolation_mode) << 11)); operand.Write(code_, true); ++stat_.dcl_count; } void OpDclInputPSSGV(const Dest& operand, Name name) { uint32_t operands_length = operand.GetLength(); code_.reserve(code_.size() + 2 + operands_length); // Constant interpolation mode is set in FXC output at least for // SV_IsFrontFace, despite the comment in d3d12TokenizedProgramFormat.hpp // saying bits 11:23 are ignored. code_.push_back(OpcodeToken(Opcode::kDclInputPSSGV, 1 + operands_length) | (uint32_t(InterpolationMode::kConstant) << 11)); operand.Write(code_, true); code_.push_back(uint32_t(name)); ++stat_.dcl_count; } void OpDclInputPSSIV(InterpolationMode interpolation_mode, const Dest& operand, Name name) { uint32_t operands_length = operand.GetLength(); code_.reserve(code_.size() + 2 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclInputPSSIV, 1 + operands_length) | (uint32_t(interpolation_mode) << 11)); operand.Write(code_, true); code_.push_back(uint32_t(name)); ++stat_.dcl_count; } void OpDclOutput(const Dest& operand) { uint32_t operands_length = operand.GetLength(); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclOutput, operands_length)); operand.Write(code_, true); ++stat_.dcl_count; } void OpDclOutputSIV(const Dest& operand, Name name) { uint32_t operands_length = operand.GetLength(); code_.reserve(code_.size() + 2 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclOutputSIV, 1 + operands_length)); operand.Write(code_, true); code_.push_back(uint32_t(name)); ++stat_.dcl_count; } // Returns the index of the count written in the code_ vector. size_t OpDclTemps(uint32_t count) { code_.reserve(code_.size() + 2); code_.push_back(OpcodeToken(Opcode::kDclTemps, 1)); code_.push_back(count); stat_.temp_register_count = count; return code_.size() - 1; } void OpDclIndexableTemp(uint32_t index, uint32_t count, uint32_t component_count) { code_.reserve(code_.size() + 4); code_.push_back(OpcodeToken(Opcode::kDclIndexableTemp, 3)); code_.push_back(index); code_.push_back(count); code_.push_back(component_count); stat_.temp_array_count += count; } // flags are GlobalFlags. void OpDclGlobalFlags(uint32_t flags) { code_.push_back(OpcodeToken(Opcode::kDclGlobalFlags, 0) | flags); } void OpLOD(const Dest& dest, const Src& address, uint32_t address_components, const Src& resource, const Src& sampler) { uint32_t dest_write_mask = dest.GetMask(); uint32_t address_mask = (1 << address_components) - 1; uint32_t operands_length = dest.GetLength() + address.GetLength(address_mask) + resource.GetLength(dest_write_mask) + sampler.GetLength(0b0000); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kLOD, operands_length)); dest.Write(code_); address.Write(code_, false, address_mask); resource.Write(code_, false, dest_write_mask); sampler.Write(code_, false, 0b0000); ++stat_.instruction_count; ++stat_.lod_instructions; } void OpEmitStream(const Dest& stream) { uint32_t operands_length = stream.GetLength(); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kEmitStream, operands_length)); stream.Write(code_); ++stat_.instruction_count; ++stat_.emit_instruction_count; } void OpCutStream(const Dest& stream) { uint32_t operands_length = stream.GetLength(); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kCutStream, operands_length)); stream.Write(code_); ++stat_.instruction_count; ++stat_.cut_instruction_count; } void OpEmitThenCutStream(const Dest& stream) { uint32_t operands_length = stream.GetLength(); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kEmitThenCutStream, operands_length)); stream.Write(code_); ++stat_.instruction_count; // TODO(Triang3l): Verify if the instruction counts should be incremented // this way (haven't been able to obtain this from FXC because it generates // separate emit_stream and cut_stream, at least for Shader Model 5.1). ++stat_.emit_instruction_count; ++stat_.cut_instruction_count; } void OpDerivRTXCoarse(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kDerivRTXCoarse, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpDerivRTXFine(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kDerivRTXFine, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpDerivRTYCoarse(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kDerivRTYCoarse, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpDerivRTYFine(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kDerivRTYFine, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpRcp(const Dest& dest, const Src& src, bool saturate = false) { EmitAluOp(Opcode::kRcp, 0b0, dest, src, saturate); ++stat_.float_instruction_count; } void OpF32ToF16(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kF32ToF16, 0b0, dest, src); ++stat_.conversion_instruction_count; } void OpF16ToF32(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kF16ToF32, 0b1, dest, src); ++stat_.conversion_instruction_count; } void OpFirstBitHi(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kFirstBitHi, 0b1, dest, src); ++stat_.uint_instruction_count; } void OpFirstBitLo(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kFirstBitLo, 0b1, dest, src); ++stat_.uint_instruction_count; } void OpUBFE(const Dest& dest, const Src& width, const Src& offset, const Src& src) { EmitAluOp(Opcode::kUBFE, 0b111, dest, width, offset, src); ++stat_.uint_instruction_count; } void OpIBFE(const Dest& dest, const Src& width, const Src& offset, const Src& src) { EmitAluOp(Opcode::kIBFE, 0b111, dest, width, offset, src); ++stat_.int_instruction_count; } void OpBFI(const Dest& dest, const Src& width, const Src& offset, const Src& from, const Src& to) { EmitAluOp(Opcode::kBFI, 0b1111, dest, width, offset, from, to); ++stat_.uint_instruction_count; } void OpBFRev(const Dest& dest, const Src& src) { EmitAluOp(Opcode::kBFRev, 0b1, dest, src); ++stat_.uint_instruction_count; } void OpDclStream(const Dest& stream) { uint32_t operands_length = stream.GetLength(); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclStream, operands_length)); stream.Write(code_, true); } void OpDclInputControlPointCount(uint32_t count) { code_.push_back(OpcodeToken(Opcode::kDclInputControlPointCount, 0) | (count << 11)); stat_.c_control_points = count; } void OpDclTessDomain(TessellatorDomain domain) { code_.push_back(OpcodeToken(Opcode::kDclTessDomain, 0) | (uint32_t(domain) << 11)); stat_.tessellator_domain = domain; } void OpDclThreadGroup(uint32_t x, uint32_t y, uint32_t z) { code_.reserve(code_.size() + 4); code_.push_back(OpcodeToken(Opcode::kDclThreadGroup, 3)); code_.push_back(x); code_.push_back(y); code_.push_back(z); } // Possible flags are kUAVFlagGloballyCoherentAccess and // kUAVFlagRasterizerOrderedAccess. void OpDclUnorderedAccessViewTyped(ResourceDimension dimension, uint32_t flags, uint32_t return_type_token, const Src& operand, uint32_t space = 0) { uint32_t operands_length = operand.GetLength(0b1111, false); code_.reserve(code_.size() + 3 + operands_length); code_.push_back( OpcodeToken(Opcode::kDclUnorderedAccessViewTyped, 2 + operands_length) | (uint32_t(dimension) << 11) | flags); operand.Write(code_, false, 0b1111, false, true); code_.push_back(return_type_token); code_.push_back(space); } // Possible flags are kUAVFlagGloballyCoherentAccess and // kUAVFlagRasterizerOrderedAccess. void OpDclUnorderedAccessViewRaw(uint32_t flags, const Src& operand, uint32_t space = 0) { uint32_t operands_length = operand.GetLength(0b1111, false); code_.reserve(code_.size() + 2 + operands_length); code_.push_back( OpcodeToken(Opcode::kDclUnorderedAccessViewRaw, 1 + operands_length) | flags); operand.Write(code_, true, 0b1111, false, true); code_.push_back(space); } void OpDclResourceRaw(const Src& operand, uint32_t space = 0) { uint32_t operands_length = operand.GetLength(0b1111, false); code_.reserve(code_.size() + 2 + operands_length); code_.push_back(OpcodeToken(Opcode::kDclResourceRaw, 1 + operands_length)); operand.Write(code_, true, 0b1111, false, true); code_.push_back(space); } void OpLdUAVTyped(const Dest& dest, const Src& address, uint32_t address_components, const Src& uav) { uint32_t dest_write_mask = dest.GetMask(); uint32_t address_mask = (1 << address_components) - 1; uint32_t operands_length = dest.GetLength() + address.GetLength(address_mask, true) + uav.GetLength(dest_write_mask, true); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kLdUAVTyped, operands_length)); dest.Write(code_); address.Write(code_, true, address_mask, true); uav.Write(code_, false, dest_write_mask, true); ++stat_.instruction_count; ++stat_.texture_load_instructions; } void OpStoreUAVTyped(const Dest& dest, const Src& address, uint32_t address_components, const Src& value) { uint32_t dest_write_mask = dest.GetMask(); // Typed UAV writes don't support write masking. assert_true(dest_write_mask == 0b1111); uint32_t address_mask = (1 << address_components) - 1; uint32_t operands_length = dest.GetLength() + address.GetLength(address_mask, true) + value.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kStoreUAVTyped, operands_length)); dest.Write(code_); address.Write(code_, true, address_mask, true); value.Write(code_, false, dest_write_mask); ++stat_.instruction_count; ++stat_.c_texture_store_instructions; } void OpLdRaw(const Dest& dest, const Src& byte_offset, const Src& src) { // For Load, FXC emits code for writing to any component of the destination, // with xxxx swizzle of the source SRV/UAV. // For Load2/Load3/Load4, it's xy/xyz/xyzw write mask and xyxx/xyzx/xyzw // swizzle. uint32_t dest_write_mask = dest.GetMask(); assert_true(dest_write_mask == 0b0001 || dest_write_mask == 0b0010 || dest_write_mask == 0b0100 || dest_write_mask == 0b1000 || dest_write_mask == 0b0011 || dest_write_mask == 0b0111 || dest_write_mask == 0b1111); uint32_t component_count = xe::bit_count(dest_write_mask); assert_true((src.swizzle_ & ((1 << (component_count * 2)) - 1)) == (Src::kXYZW & ((1 << (component_count * 2)) - 1))); uint32_t src_mask = (1 << component_count) - 1; uint32_t operands_length = dest.GetLength() + byte_offset.GetLength(0b0000) + src.GetLength(src_mask, true); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kLdRaw, operands_length)); dest.Write(code_); byte_offset.Write(code_, true, 0b0000); src.Write(code_, true, src_mask, true); ++stat_.instruction_count; ++stat_.texture_load_instructions; } void OpStoreRaw(const Dest& dest, const Src& byte_offset, const Src& value) { uint32_t dest_write_mask = dest.GetMask(); assert_true(dest_write_mask == 0b0001 || dest_write_mask == 0b0011 || dest_write_mask == 0b0111 || dest_write_mask == 0b1111); uint32_t operands_length = dest.GetLength() + byte_offset.GetLength(0b0000) + value.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kStoreRaw, operands_length)); dest.Write(code_); byte_offset.Write(code_, true, 0b0000); value.Write(code_, true, dest_write_mask); ++stat_.instruction_count; ++stat_.c_texture_store_instructions; } void OpEvalSampleIndex(const Dest& dest, const Src& value, const Src& sample_index) { uint32_t dest_write_mask = dest.GetMask(); uint32_t operands_length = dest.GetLength() + value.GetLength(dest_write_mask) + sample_index.GetLength(0b0000); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kEvalSampleIndex, operands_length)); dest.Write(code_); value.Write(code_, false, dest_write_mask); sample_index.Write(code_, true, 0b0000); ++stat_.instruction_count; } void OpEvalCentroid(const Dest& dest, const Src& value) { uint32_t dest_write_mask = dest.GetMask(); uint32_t operands_length = dest.GetLength() + value.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(Opcode::kEvalCentroid, operands_length)); dest.Write(code_); value.Write(code_, false, dest_write_mask); ++stat_.instruction_count; } private: void EmitAluOp(Opcode opcode, uint32_t src_are_integer, const Dest& dest, const Src& src, bool saturate = false) { uint32_t dest_write_mask = dest.GetMask(); uint32_t operands_length = dest.GetLength() + src.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(opcode, operands_length, saturate)); dest.Write(code_); src.Write(code_, (src_are_integer & 0b1) != 0, dest_write_mask); ++stat_.instruction_count; } void EmitAluOp(Opcode opcode, uint32_t src_are_integer, const Dest& dest, const Src& src0, const Src& src1, bool saturate = false) { uint32_t dest_write_mask = dest.GetMask(); uint32_t operands_length = dest.GetLength() + src0.GetLength(dest_write_mask) + src1.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(opcode, operands_length, saturate)); dest.Write(code_); src0.Write(code_, (src_are_integer & 0b1) != 0, dest_write_mask); src1.Write(code_, (src_are_integer & 0b10) != 0, dest_write_mask); ++stat_.instruction_count; } void EmitAluOp(Opcode opcode, uint32_t src_are_integer, const Dest& dest, const Src& src0, const Src& src1, const Src& src2, bool saturate = false) { uint32_t dest_write_mask = dest.GetMask(); uint32_t operands_length = dest.GetLength() + src0.GetLength(dest_write_mask) + src1.GetLength(dest_write_mask) + src2.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(opcode, operands_length, saturate)); dest.Write(code_); src0.Write(code_, (src_are_integer & 0b1) != 0, dest_write_mask); src1.Write(code_, (src_are_integer & 0b10) != 0, dest_write_mask); src2.Write(code_, (src_are_integer & 0b100) != 0, dest_write_mask); ++stat_.instruction_count; } void EmitAluOp(Opcode opcode, uint32_t src_are_integer, const Dest& dest, const Src& src0, const Src& src1, const Src& src2, const Src& src3, bool saturate = false) { uint32_t dest_write_mask = dest.GetMask(); uint32_t operands_length = dest.GetLength() + src0.GetLength(dest_write_mask) + src1.GetLength(dest_write_mask) + src2.GetLength(dest_write_mask) + src3.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(opcode, operands_length, saturate)); dest.Write(code_); src0.Write(code_, (src_are_integer & 0b1) != 0, dest_write_mask); src1.Write(code_, (src_are_integer & 0b10) != 0, dest_write_mask); src2.Write(code_, (src_are_integer & 0b100) != 0, dest_write_mask); src3.Write(code_, (src_are_integer & 0b1000) != 0, dest_write_mask); ++stat_.instruction_count; } void EmitAluOp(Opcode opcode, uint32_t src_are_integer, const Dest& dest0, const Dest& dest1, const Src& src, bool saturate = false) { uint32_t dest_write_mask = dest0.GetMask() | dest1.GetMask(); uint32_t operands_length = dest0.GetLength() + dest1.GetLength() + src.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(opcode, operands_length, saturate)); dest0.Write(code_); dest1.Write(code_); src.Write(code_, (src_are_integer & 0b1) != 0, dest_write_mask); ++stat_.instruction_count; } void EmitAluOp(Opcode opcode, uint32_t src_are_integer, const Dest& dest0, const Dest& dest1, const Src& src0, const Src& src1, bool saturate = false) { uint32_t dest_write_mask = dest0.GetMask() | dest1.GetMask(); uint32_t operands_length = dest0.GetLength() + dest1.GetLength() + src0.GetLength(dest_write_mask) + src1.GetLength(dest_write_mask); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(opcode, operands_length, saturate)); dest0.Write(code_); dest1.Write(code_); src0.Write(code_, (src_are_integer & 0b1) != 0, dest_write_mask); src1.Write(code_, (src_are_integer & 0b10) != 0, dest_write_mask); ++stat_.instruction_count; } void EmitFlowOp(Opcode opcode, const Src& src, bool test = false) { uint32_t operands_length = src.GetLength(0b0000); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(opcode, operands_length) | (test ? (1 << 18) : 0)); src.Write(code_, true, 0b0000); ++stat_.instruction_count; } void EmitFlowOp(Opcode opcode, const Src& src0, const Src& src1, bool test = false) { uint32_t operands_length = src0.GetLength(0b0000) + src1.GetLength(0b0000); code_.reserve(code_.size() + 1 + operands_length); code_.push_back(OpcodeToken(opcode, operands_length) | (test ? (1 << 18) : 0)); src0.Write(code_, true, 0b0000); src1.Write(code_, true, 0b0000); ++stat_.instruction_count; } std::vector<uint32_t>& code_; Statistics& stat_; }; } // namespace dxbc } // namespace gpu } // namespace xe #endif // XENIA_GPU_DXBC_H_
37.49684
91
0.676876
d0f1d5862f54df85656235c353a2f56fc4f61c05
1,372
c
C
Practical 3/3.3.c
devumang096/Datastructures
7114a91161e639a3b6479ea45a9cf8e7d75ddcee
[ "Unlicense" ]
1
2021-10-01T10:49:39.000Z
2021-10-01T10:49:39.000Z
Practical 3/3.3.c
devumang096/Datastructures
7114a91161e639a3b6479ea45a9cf8e7d75ddcee
[ "Unlicense" ]
2
2021-10-21T06:43:46.000Z
2022-02-16T06:35:16.000Z
Practical 3/3.3.c
devumang096/Datastructures
7114a91161e639a3b6479ea45a9cf8e7d75ddcee
[ "Unlicense" ]
13
2021-09-30T19:12:00.000Z
2021-10-05T17:00:00.000Z
/*Implement a program for stack that performs following operations using array. (a) PUSH (b) POP (c) PEEP (d) CHANGE(Replace top of stack value) (e) DISPLAY*/ #include<stdio.h> #define max_size 100 int arr[max_size]; int top = -1; void push(int x); void pop(); void peep(int pos); void change(int x); void display(); void main() { printf("Program written by enrollment number 200420107012\n"); push(2); //push 2 in stack push(3); //push 3 in stack push(5); //push 5 in stack push(9); // push 9 in stack display(); //display all elements pop(); //delete top element of stack display(); //display all elements change(4); // change value of top element to value '4' display(); //display all the element in the stack peep(2); // display element of stack at pos 2 } void push(int x){ if(top == max_size-1){ printf("\nStack overflow"); return; } arr[++top] = x; } void pop() { if(top==-1) { printf("\nStack is empty"); return; } top--; } void peep(int pos) { if((pos-1)>top) { printf("\nInvalid position"); return; } printf("\nThe value of element at position-%d : %d.\n",pos,arr[pos-1]); } void change(int p) { arr[top]=p; } void display() { int i; if(top==-1) { printf("\nStack is empty"); return; } printf("\nStack ::"); for(i=0;i<=top;i++) { printf(" %d",arr[i]); } }
17.818182
79
0.607872
d66b838d7280f0e0c76b772b1983edf4e4f77dae
2,420
h
C
trunk/win/BumpTop Settings/include/wxWidgets/wx/msw/colour.h
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
460
2016-01-13T12:49:34.000Z
2022-02-20T04:10:40.000Z
trunk/win/BumpTop Settings/include/wxWidgets/wx/msw/colour.h
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
24
2016-11-07T04:59:49.000Z
2022-03-14T06:34:12.000Z
trunk/win/BumpTop Settings/include/wxWidgets/wx/msw/colour.h
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
148
2016-01-17T03:16:43.000Z
2022-03-17T12:20:36.000Z
///////////////////////////////////////////////////////////////////////////// // Name: wx/msw/colour.h // Purpose: wxColour class // Author: Julian Smart // Modified by: // Created: 01/02/97 // RCS-ID: $Id: colour.h 51769 2008-02-13 22:36:43Z VZ $ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ #include "wx/object.h" // ---------------------------------------------------------------------------- // Colour // ---------------------------------------------------------------------------- class WXDLLEXPORT wxColour : public wxColourBase { public: // constructors // ------------ wxColour() { Init(); } wxColour( ChannelType red, ChannelType green, ChannelType blue, ChannelType alpha = wxALPHA_OPAQUE ) { Set(red, green, blue, alpha); } wxColour( unsigned long colRGB ) { Set(colRGB); } wxColour(const wxString& colourName) { Init(); Set(colourName); } wxColour(const wxChar *colourName) { Init(); Set(colourName); } // dtor virtual ~wxColour(); // accessors // --------- bool Ok() const { return IsOk(); } bool IsOk() const { return m_isInit; } unsigned char Red() const { return m_red; } unsigned char Green() const { return m_green; } unsigned char Blue() const { return m_blue; } unsigned char Alpha() const { return m_alpha ; } // comparison bool operator==(const wxColour& colour) const { return m_isInit == colour.m_isInit && m_red == colour.m_red && m_green == colour.m_green && m_blue == colour.m_blue && m_alpha == colour.m_alpha; } bool operator != (const wxColour& colour) const { return !(*this == colour); } WXCOLORREF GetPixel() const { return m_pixel; } public: WXCOLORREF m_pixel; protected: // Helper function void Init(); virtual void InitRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a); private: bool m_isInit; unsigned char m_red; unsigned char m_blue; unsigned char m_green; unsigned char m_alpha; private: DECLARE_DYNAMIC_CLASS(wxColour) }; #endif // _WX_COLOUR_H_
27.191011
83
0.511157
d04027649e64777a7cd1fbd6f9d8efade903fcfe
388
c
C
Tute01.c
SLIIT-FacultyOfComputing/tutorial-01b-IT21028632
13fc6251ec725aa85f77e70c641ce79bef8b157d
[ "MIT" ]
null
null
null
Tute01.c
SLIIT-FacultyOfComputing/tutorial-01b-IT21028632
13fc6251ec725aa85f77e70c641ce79bef8b157d
[ "MIT" ]
null
null
null
Tute01.c
SLIIT-FacultyOfComputing/tutorial-01b-IT21028632
13fc6251ec725aa85f77e70c641ce79bef8b157d
[ "MIT" ]
null
null
null
/* Exercise 1 - Calculations Write a C program to input marks of two subjects. Calculate and print the average of the two marks. */ #include <stdio.h> int main() { int mark1, mark2, Tot; float avg; printf("Enter marks 1: "); scanf("%d", &mark1); printf("Enter marks 2: "); scanf("%d", &mark2); Tot=mark1+mark2; avg=(float)Tot/2; printf("Averge : %f", avg); return 0; }
19.4
105
0.639175
45d75c32d0607f93afed4d3ed5d21d457ccaa2a9
10,436
h
C
USDK/component/soc/realtek/8195a/fwlib/bitband_io.h
GDI123/WEB_SRV
a515ffbdf8a475491849c0bdf85e8c0599c2045c
[ "Unlicense" ]
27
2016-11-13T19:42:00.000Z
2021-03-12T15:07:47.000Z
USDK/component/soc/realtek/8195a/fwlib/bitband_io.h
GDI123/WEB_SRV
a515ffbdf8a475491849c0bdf85e8c0599c2045c
[ "Unlicense" ]
3
2017-05-14T10:33:35.000Z
2018-01-30T20:56:54.000Z
USDK/component/soc/realtek/8195a/fwlib/bitband_io.h
GDI123/WEB_SRV
a515ffbdf8a475491849c0bdf85e8c0599c2045c
[ "Unlicense" ]
16
2016-12-01T15:03:45.000Z
2017-09-04T17:33:38.000Z
#ifndef _BITBAND_IO_H_ #define _BITBAND_IO_H_ #include "PinNames.h" #include "hal_platform.h" #include "hal_api.h" #include "hal_gpio.h" #include "rtl8195a_gpio.h" #define BITBAND_SRAM_REF 0x10000000 #define BITBAND_SRAM_BASE 0x12000000 #define BITBAND_SRAM(a,b) (BITBAND_SRAM_BASE + (a-BITBAND_SRAM_REF)*32 + (b*4)) // Convert SRAM address /* * in hal_platform.h #define BITBAND_REG_BASE 0x40001000 */ /* * in rtl8195a_gpio.h * #define BITBAND_PORTA_DR 0x00 // data register #define BITBAND_PORTA_DDR 0x04 // data direction #define BITBAND_PORTA_CTRL 0x08 // data source control, we should keep it as default: data source from software #define BITBAND_PORTB_DR 0x0c // data register #define BITBAND_PORTB_DDR 0x10 // data direction #define BITBAND_PORTB_CTRL 0x14 // data source control, we should keep it as default: data source from software #define BITBAND_PORTC_DR 0x18 // data register #define BITBAND_PORTC_DDR 0x1c // data direction #define BITBAND_PORTC_CTRL 0x20 // data source control, we should keep it as default: data source from software #define BITBAND_EXT_PORTA 0x50 // GPIO IN read or OUT read back #define BITBAND_EXT_PORTB 0x54 // GPIO IN read or OUT read back #define BITBAND_EXT_PORTC 0x58 // GPIO IN read or OUT read back */ #define BITBAND_PERI_REF 0x40000000 #define BITBAND_PERI_BASE 0x42000000 #define BITBAND_PERI(a,b) (BITBAND_PERI_BASE + (a-BITBAND_PERI_REF)*32 + (b*4)) // Convert PERI address #define ucBITBAND_PERI(a,b) *((volatile unsigned char *)BITBAND_PERI(a,b)) #define uiBITBAND_PERI(a,b) *((volatile unsigned int *)BITBAND_PERI(a,b)) #define BITBAND_A0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,0) //Port = 0, bit = 0, A0 #define BITBAND_A1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,1) //Port = 0, bit = 1, A1 #define BITBAND_A2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,0) //Port = 1, bit = 0, A2 #define BITBAND_A3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,1) //Port = 1, bit = 1, A3 #define BITBAND_A4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,2) //Port = 1, bit = 2, A4 #define BITBAND_A5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,3) //Port = 1, bit = 3, A5 #define BITBAND_A6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,4) //Port = 1, bit = 4, A6 #define BITBAND_A7 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,5) //Port = 1, bit = 5, A7 #define BITBAND_B0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,6) //Port = 1, bit = 6, B0 #define BITBAND_B1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,7) //Port = 1, bit = 7, B1 #define BITBAND_B2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,8) //Port = 1, bit = 8, B2 #define BITBAND_B3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,2) //Port = 0, bit = 2, B3 #define BITBAND_B4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,3) //Port = 0, bit = 3, B4 #define BITBAND_B5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,9) //Port = 1, bit = 9, B5 #define BITBAND_B6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,4) //Port = 0, bit = 4, B6 #define BITBAND_B7 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,5) //Port = 0, bit = 5, B7 #define BITBAND_C0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,10) //Port = 1, bit = 10, C0 #define BITBAND_C1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,6) //Port = 0, bit = 6, C1 #define BITBAND_C2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,11) //Port = 1, bit = 11, C2 #define BITBAND_C3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,7) //Port = 0, bit = 7, C3 #define BITBAND_C4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,8) //Port = 0, bit = 8, C4 #define BITBAND_C5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,9) //Port = 0, bit = 9, C5 #define BITBAND_C6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,10) //Port = 0, bit = 10, C6 #define BITBAND_C7 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,11) //Port = 0, bit = 11, C7 #define BITBAND_C8 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,12) //Port = 0, bit = 12, C8 #define BITBAND_C9 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,13) //Port = 0, bit = 13, C9 #define BITBAND_D0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,12) //Port = 1, bit = 12, D0 #define BITBAND_D1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,14) //Port = 0, bit = 14, D1 #define BITBAND_D2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,13) //Port = 1, bit = 13, D2 #define BITBAND_D3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,15) //Port = 0, bit = 15, D3 #define BITBAND_D4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,16) //Port = 0, bit = 16, D4 #define BITBAND_D5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,17) //Port = 0, bit = 17, D5 #define BITBAND_D6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,18) //Port = 0, bit = 18, D6 #define BITBAND_D7 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,19) //Port = 0, bit = 19, D7 #define BITBAND_D8 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,14) //Port = 1, bit = 14, D8 #define BITBAND_D9 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,20) //Port = 0, bit = 20, D9 #define BITBAND_E0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,15) //Port = 2, bit = 15, E0 #define BITBAND_E1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,21) //Port = 0, bit = 21, E1 #define BITBAND_E2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,22) //Port = 0, bit = 22, E2 #define BITBAND_E3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,23) //Port = 0, bit = 23, E3 #define BITBAND_E4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,16) //Port = 1, bit = 16, E4 #define BITBAND_E5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,24) //Port = 0, bit = 24, E5 #define BITBAND_E6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,25) //Port = 0, bit = 25, E6 #define BITBAND_E7 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,26) //Port = 0, bit = 26, E7 #define BITBAND_E8 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,27) //Port = 0, bit = 27, E8 #define BITBAND_E9 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,17) //Port = 1, bit = 17, E9 #define BITBAND_E10 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,18) //Port = 1, bit = 17, E10 #define BITBAND_F0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,19) //Port = 1, bit = 19, F0 #define BITBAND_F1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,20) //Port = 1, bit = 20, F1 #define BITBAND_F2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,21) //Port = 1, bit = 21, F2 #define BITBAND_F3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,22) //Port = 1, bit = 22, F3 #define BITBAND_F4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,23) //Port = 1, bit = 23, F4 #define BITBAND_F5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,24) //Port = 1, bit = 24, F5 #define BITBAND_G0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,25) //Port = 1, bit = 25, G0 #define BITBAND_G1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,26) //Port = 1, bit = 26, G1 #define BITBAND_G2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,27) //Port = 1, bit = 27, G2 #define BITBAND_G3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,28) //Port = 0, bit = 28, G3 #define BITBAND_G4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,28) //Port = 1, bit = 28, G4 #define BITBAND_G5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,29) //Port = 1, bit = 29, G5 #define BITBAND_G6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,30) //Port = 1, bit = 30, G6 #define BITBAND_G7 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTB_DR,31) //Port = 1, bit = 31, G7 #define BITBAND_H0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,0) //Port = 2, bit = 0, H0 #define BITBAND_H1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,29) //Port = 0, bit = 29, H1 #define BITBAND_H2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,1) //Port = 2, bit = 1, H2 #define BITBAND_H3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,30) //Port = 0, bit = 30, H3 #define BITBAND_H4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,2) //Port = 2, bit = 2, H4 #define BITBAND_H5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,31) //Port = 0, bit = 31, H5 #define BITBAND_H6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,3) //Port = 2, bit = 3, H6 #define BITBAND_H7 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTA_DR,4) //Port = 2, bit = 4, H7 #define BITBAND_I0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,5) //Port = 2, bit = 5, I0 #define BITBAND_I1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,6) //Port = 2, bit = 6, I1 #define BITBAND_I2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,7) //Port = 2, bit = 7, I2 #define BITBAND_I3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,8) //Port = 2, bit = 8, I3 #define BITBAND_I4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,9) //Port = 2, bit = 9, I4 #define BITBAND_I5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,10) //Port = 2, bit = 10, I5 #define BITBAND_I6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,11) //Port = 2, bit = 11, I6 #define BITBAND_I7 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,12) //Port = 2, bit = 12, I7 #define BITBAND_J0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,13) //Port = 2, bit = 13, J0 #define BITBAND_J1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,14) //Port = 2, bit = 14, J1 #define BITBAND_J2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,15) //Port = 2, bit = 15, J2 #define BITBAND_J3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,16) //Port = 2, bit = 16, J3 #define BITBAND_J4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,17) //Port = 2, bit = 17, J4 #define BITBAND_J5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,18) //Port = 2, bit = 18, J5 #define BITBAND_J6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,19) //Port = 2, bit = 19, J6 #define BITBAND_K0 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,20) //Port = 2, bit = 20, K0 #define BITBAND_K1 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,21) //Port = 2, bit = 21, K1 #define BITBAND_K2 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,22) //Port = 2, bit = 22, K2 #define BITBAND_K3 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,23) //Port = 2, bit = 23, K3 #define BITBAND_K4 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,24) //Port = 2, bit = 24, K4 #define BITBAND_K5 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,25) //Port = 2, bit = 25, K5 #define BITBAND_K6 ucBITBAND_PERI(GPIO_REG_BASE+GPIO_PORTC_DR,26) //Port = 2, bit = 26, K6 volatile uint8_t * BitBandAddr(void *addr, uint8_t bit); volatile uint8_t * BitBandPeriAddr(void *addr, uint8_t bit); volatile uint8_t * GetOutPinBitBandAddr(PinName pin); volatile uint8_t * GetInPinBitBandAddr(PinName pin); volatile uint8_t * HardSetPin(PinName pin, HAL_GPIO_PIN_MODE pmode, uint8_t val); #endif // _BITBAND_IO_H_
67.766234
126
0.749042
b75d7ca691fe2faddc50ab5c43e6eec616ec6fe4
395
h
C
src/core/coloring_algorithms/BasicColoringAlgorithm.h
mrgalopes/sdp_project_q1
6d79891ff50eef31158fe1eea3f27d92b60810bf
[ "BSL-1.0" ]
null
null
null
src/core/coloring_algorithms/BasicColoringAlgorithm.h
mrgalopes/sdp_project_q1
6d79891ff50eef31158fe1eea3f27d92b60810bf
[ "BSL-1.0" ]
null
null
null
src/core/coloring_algorithms/BasicColoringAlgorithm.h
mrgalopes/sdp_project_q1
6d79891ff50eef31158fe1eea3f27d92b60810bf
[ "BSL-1.0" ]
null
null
null
#ifndef BASIC_COLORING_ALGORITHM_H #define BASIC_COLORING_ALGORITHM_H #include "ColoringStrategy.h" class BasicColoringAlgorithm : public ColoringStrategy { public: BasicColoringAlgorithm(); BasicColoringAlgorithm(unsigned int seed) : seed(seed){}; void colorGraph(std::vector<Vertex>& vertices) override; private: unsigned int seed; }; #endif // BASIC_COLORING_ALGORITHM_H
21.944444
61
0.779747
c853cded3198151e482c9a98efb92a7b1b0243be
185,974
h
C
examples/SMTP/Send_Attachment_Blob/blob_data.h
Jason2866/ESP-Mail-Client
3c605ba733d51bb43f8a6a114dbc0424c0f7c4c9
[ "MIT" ]
85
2020-12-03T21:00:27.000Z
2022-03-31T13:43:57.000Z
examples/SMTP/Send_Attachment_Blob/blob_data.h
Jason2866/ESP-Mail-Client
3c605ba733d51bb43f8a6a114dbc0424c0f7c4c9
[ "MIT" ]
70
2020-12-08T11:41:11.000Z
2022-03-24T15:16:20.000Z
examples/SMTP/Send_Attachment_Blob/blob_data.h
Jason2866/ESP-Mail-Client
3c605ba733d51bb43f8a6a114dbc0424c0f7c4c9
[ "MIT" ]
26
2020-12-10T08:30:16.000Z
2022-03-08T14:39:39.000Z
#include <Arduino.h> static const uint8_t firebase_logo_png[] PROGMEM = { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x03, 0x20, 0x00, 0x00, 0x02, 0x58, 0x08, 0x06, 0x00, 0x00, 0x00, 0x9A, 0x76, 0x82, 0x70, 0x00, 0x00, 0x00, 0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xAE, 0xCE, 0x1C, 0xE9, 0x00, 0x00, 0x00, 0x04, 0x67, 0x41, 0x4D, 0x41, 0x00, 0x00, 0xB1, 0x8F, 0x0B, 0xFC, 0x61, 0x05, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0E, 0xC3, 0x00, 0x00, 0x0E, 0xC3, 0x01, 0xC7, 0x6F, 0xA8, 0x64, 0x00, 0x00, 0x55, 0x14, 0x49, 0x44, 0x41, 0x54, 0x78, 0x5E, 0xED, 0xDD, 0x59, 0x90, 0x1D, 0xF5, 0x81, 0xE7, 0x7B, 0x3F, 0xF4, 0xC3, 0x84, 0x91, 0x40, 0x6E, 0xEF, 0xC6, 0x8B, 0x30, 0x92, 0x4A, 0x1B, 0x58, 0x98, 0xCD, 0xA0, 0xA5, 0x4A, 0x12, 0x20, 0x6C, 0x9A, 0xB6, 0xBA, 0x01, 0x63, 0x4F, 0x3F, 0x8C, 0x1E, 0x26, 0xC2, 0xF7, 0xE5, 0xC6, 0x25, 0xE2, 0xDE, 0x97, 0x3B, 0x7D, 0x67, 0xAC, 0x6E, 0x63, 0x63, 0x83, 0x8D, 0xBC, 0xB1, 0x99, 0xA5, 0x10, 0x08, 0xED, 0x52, 0x69, 0xAD, 0x92, 0xA0, 0xBB, 0xAB, 0xA7, 0xED, 0x6E, 0x77, 0xB7, 0x81, 0x42, 0x9B, 0x99, 0x89, 0x89, 0xDB, 0x9A, 0xB9, 0x0E, 0x2F, 0x2C, 0x76, 0x61, 0x16, 0x49, 0x85, 0xA4, 0xFC, 0xDF, 0xFF, 0x3F, 0x4F, 0xE6, 0xA9, 0x3C, 0x79, 0x7E, 0xE7, 0x9C, 0xCC, 0x3C, 0x99, 0x75, 0xCE, 0xC9, 0xFA, 0x7E, 0x22, 0x7E, 0xA1, 0x6E, 0x2F, 0x42, 0xC2, 0x94, 0xE2, 0xFF, 0x8D, 0x7F, 0x65, 0x9E, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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0x00, 0x00, 0x00, 0x2A, 0xDC, 0x1B, 0xB3, 0x5E, 0x79, 0x66, 0xEE, 0x70, 0x3C, 0x44, 0x5A, 0x2E, 0x16, 0x1D, 0x95, 0xCD, 0x19, 0xFA, 0xF5, 0xA3, 0x97, 0xDE, 0x1C, 0xFC, 0xD4, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xB9, 0x87, 0xD5, 0x7F, 0xB3, 0x71, 0xDE, 0x9D, 0xAF, 0x3E, 0x3D, 0xEF, 0xA1, 0x57, 0x37, 0xCF, 0x7D, 0x59, 0x46, 0x47, 0xB8, 0x20, 0x38, 0x5E, 0xDB, 0x3C, 0xF7, 0xD8, 0xAB, 0xCF, 0xCC, 0x7D, 0xDA, 0xDD, 0x76, 0xFC, 0xB7, 0xEF, 0xCC, 0xFB, 0x40, 0xF0, 0x53, 0x01, 0x00, 0x00, 0x00, 0x40, 0x3A, 0xEE, 0x35, 0xB9, 0xFE, 0x07, 0x1B, 0xEE, 0xE8, 0x1B, 0x88, 0xEF, 0xDF, 0x36, 0xCC, 0xEE, 0x0B, 0xFE, 0x63, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0x15, 0xDE, 0xF3, 0x9E, 0xFF, 0x1F, 0x5B, 0xE2, 0x94, 0x1D, 0x86, 0x86, 0x23, 0x09, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82}; static const uint8_t tree_img_gif[] PROGMEM = { 0x47, 0x49, 0x46, 0x38, 0x39, 0x61, 0x28, 0x00, 0x3C, 0x00, 0x83, 0x0B, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x21, 0x00, 0x00, 0x4A, 0x00, 0x00, 0x6B, 0x00, 0x00, 0x94, 0x00, 0x00, 0xB5, 0x00, 0x00, 0xDE, 0x00, 0x00, 0xFF, 0x00, 0x6B, 0x00, 0x00, 0xFF, 0x33, 0x33, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xCC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x99, 0x00, 0xCC, 0x00, 0x00, 0x21, 0xFF, 0x0B, 0x4E, 0x45, 0x54, 0x53, 0x43, 0x41, 0x50, 0x45, 0x32, 0x2E, 0x30, 0x03, 0x01, 0xA0, 0x0F, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x14, 0x00, 0x0B, 0x00, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x3C, 0x00, 0x03, 0x04, 0xFB, 0x70, 0xC9, 0x49, 0x6B, 0x75, 0x36, 0xEB, 0xBD, 0x31, 0xFF, 0xA0, 0xE4, 0x8C, 0xCA, 0xE8, 0x85, 0xE8, 0xA5, 0xAC, 0x67, 0xEA, 0x8A, 0xE5, 0x2B, 0x2F, 0xE3, 0x31, 0xCE, 0xAF, 0x41, 0x1C, 0xB8, 0x1B, 0x24, 0x80, 0x04, 0xAF, 0x87, 0x02, 0x26, 0x88, 0xA1, 0x07, 0x60, 0xB9, 0x44, 0x82, 0x04, 0x02, 0x80, 0x61, 0x30, 0x70, 0x6E, 0x0C, 0x86, 0x03, 0x60, 0x20, 0xB0, 0x6A, 0xA8, 0xD3, 0x03, 0x21, 0xEC, 0xAD, 0x18, 0x12, 0xE8, 0xF4, 0xB1, 0x4C, 0x51, 0xA0, 0x07, 0xEA, 0x07, 0x5B, 0xF2, 0x70, 0x13, 0x76, 0xD4, 0xA8, 0xBC, 0xBC, 0xEA, 0x1F, 0x06, 0x77, 0x51, 0x73, 0x50, 0x0A, 0x80, 0x7F, 0x04, 0x4C, 0x4D, 0x65, 0x06, 0x0A, 0x3B, 0x3B, 0x62, 0x5A, 0x53, 0x65, 0x05, 0x02, 0x04, 0x68, 0x0C, 0x6A, 0x00, 0x5D, 0x5E, 0x0F, 0x0F, 0x6A, 0x98, 0x6A, 0x09, 0x7B, 0x56, 0x9D, 0x09, 0x0C, 0xA7, 0xA7, 0x7F, 0x06, 0x9D, 0xA3, 0x44, 0x02, 0x01, 0x03, 0x90, 0x0C, 0x87, 0x03, 0x06, 0x02, 0x05, 0x56, 0x06, 0x01, 0x02, 0x53, 0xB1, 0xB3, 0x04, 0x79, 0xAF, 0x55, 0x48, 0x51, 0xB0, 0x87, 0xC0, 0x7F, 0x07, 0x95, 0x05, 0x85, 0x44, 0xB6, 0x00, 0x05, 0x53, 0x96, 0x6A, 0x60, 0x02, 0x0A, 0x48, 0x89, 0x00, 0x07, 0xA1, 0x69, 0x7D, 0x2B, 0x3D, 0x9D, 0x41, 0xA1, 0x04, 0xA0, 0xDD, 0x9D, 0x38, 0x02, 0xE1, 0x6A, 0x07, 0x62, 0x0C, 0x77, 0xE6, 0xAD, 0x2F, 0x05, 0x01, 0xB6, 0x90, 0x07, 0xA8, 0xA7, 0x54, 0xB5, 0xBC, 0x06, 0x33, 0x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0x71, 0xCD, 0xB1, 0x80, 0x75, 0x69, 0x20, 0x41, 0xE4, 0x91, 0x6B, 0x64, 0x10, 0x01, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x14, 0x00, 0x0B, 0x00, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x3C, 0x00, 0x03, 0x04, 0xFB, 0x70, 0xC9, 0x49, 0x6B, 0x75, 0x36, 0xEB, 0xBD, 0x31, 0xFF, 0xA0, 0xE4, 0x8C, 0xA4, 0x17, 0x9E, 0x57, 0x89, 0xAE, 0xA9, 0xC9, 0xAE, 0xE3, 0x31, 0xBE, 0xAF, 0x31, 0x1C, 0x34, 0x1B, 0x24, 0x4C, 0x82, 0xE7, 0x28, 0x5E, 0x02, 0x78, 0x7A, 0x30, 0x8E, 0x47, 0x62, 0x48, 0x20, 0x60, 0xD8, 0x06, 0x4A, 0x8E, 0xC1, 0x70, 0x60, 0x0C, 0x04, 0xD1, 0xCD, 0x60, 0x60, 0x3B, 0x10, 0xBA, 0x59, 0x8B, 0x21, 0x41, 0x2E, 0x0F, 0xC3, 0x16, 0xF2, 0xC0, 0xAC, 0x40, 0x4F, 0x1E, 0x80, 0x04, 0x81, 0x70, 0xD8, 0x0A, 0x14, 0x0F, 0xF7, 0x42, 0x00, 0xA0, 0xD6, 0x09, 0x0A, 0x81, 0x81, 0x68, 0x00, 0x85, 0x85, 0x7F, 0x07, 0x07, 0x0A, 0x06, 0x7A, 0x06, 0x00, 0x74, 0x74, 0x5E, 0x8A, 0x36, 0x68, 0x05, 0x7C, 0x66, 0x3D, 0x64, 0x58, 0x61, 0x0F, 0x0F, 0x66, 0x64, 0x99, 0x64, 0x79, 0x9C, 0x9E, 0xA0, 0x48, 0x4E, 0x9D, 0xA3, 0x4A, 0x02, 0x01, 0x37, 0x90, 0x55, 0x04, 0x5C, 0x02, 0x05, 0x59, 0x06, 0x01, 0x02, 0x4F, 0x89, 0x55, 0x76, 0xAC, 0x50, 0xAB, 0x0A, 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, 0x90, 0x01, 0xF5, 0xAC, 0x36, 0x8D, 0x79, 0x12, 0x40, 0xB8, 0x45, 0x22, 0xB8, 0xF8, 0xC4, 0x0C, 0x7D, 0xB3, 0x31, 0x96, 0xCF, 0x00, 0x01, 0x76, 0x41, 0x80, 0x4F, 0x0B, 0x80, 0x78, 0x4A, 0x24, 0x5B, 0x8C, 0x18, 0xDB, 0x8A, 0x0A, 0xF0, 0xC3, 0x15, 0x88, 0x08, 0xF1, 0xC5, 0xC7, 0x3C, 0x13, 0x40, 0x94, 0x01, 0x81, 0x13, 0x20, 0xA0, 0x23, 0x02, 0x27, 0xE0, 0x58, 0x63, 0x08, 0xD9, 0xE8, 0x41, 0x81, 0x5B, 0x42, 0x7A, 0x57, 0x86, 0x12, 0x46, 0x26, 0x79, 0x46, 0x06, 0x11, 0x00, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x14, 0x00, 0x0B, 0x00, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x3C, 0x00, 0x03, 0x04, 0xFB, 0x70, 0xC9, 0x49, 0x6B, 0x75, 0x36, 0xEB, 0xBD, 0x31, 0xFF, 0xA0, 0xE4, 0x8C, 0xA4, 0x17, 0x9E, 0x57, 0x89, 0xAE, 0xA9, 0xC9, 0xAE, 0xE3, 0x31, 0xBE, 0xAF, 0xA1, 0x1C, 0x34, 0x1B, 0x24, 0x4A, 0x82, 0xE7, 0x27, 0x85, 0x50, 0x08, 0x0C, 0x3D, 0x12, 0xBC, 0xC4, 0xA3, 0x18, 0x12, 0x08, 0x14, 0x86, 0xC1, 0x80, 0xC9, 0x31, 0x18, 0x0E, 0x84, 0x81, 0x80, 0xBA, 0x91, 0x46, 0xB1, 0x51, 0x06, 0xD7, 0x62, 0x40, 0x9A, 0x91, 0xE2, 0x71, 0xA5, 0x37, 0x40, 0x33, 0xDE, 0xE9, 0xF1, 0xE3, 0xA1, 0x20, 0x10, 0x0E, 0x52, 0x01, 0x63, 0xA9, 0x5E, 0x0C, 0x85, 0x03, 0x76, 0x7A, 0x7D, 0x0B, 0x4E, 0x03, 0x75, 0x78, 0x77, 0x78, 0x06, 0x84, 0x51, 0x37, 0x8A, 0x77, 0x02, 0x51, 0x6A, 0x05, 0x02, 0x04, 0x67, 0x67, 0x5B, 0x72, 0x47, 0x98, 0x98, 0x7C, 0x5C, 0x73, 0x66, 0x58, 0x07, 0x8B, 0x0F, 0x00, 0x9F, 0x45, 0x02, 0x01, 0x03, 0xA3, 0x0C, 0x89, 0x03, 0x06, 0x02, 0x00, 0x5C, 0x06, 0x01, 0x92, 0x52, 0x07, 0xAE, 0x59, 0x03, 0x00, 0xBD, 0xBD, 0x4C, 0x02, 0x05, 0xAB, 0xB9, 0x70, 0x0C, 0xAC, 0x96, 0x00, 0x52, 0x45, 0x36, 0xC1, 0x51, 0x97, 0x0C, 0x66, 0x5E, 0x00, 0x8C, 0x4C, 0x0A, 0x05, 0x5F, 0x68, 0x98, 0x4E, 0x56, 0x40, 0x7F, 0x3D, 0x67, 0x97, 0x9D, 0x73, 0x39, 0x02, 0x74, 0x9C, 0x48, 0xA4, 0x76, 0x76, 0x66, 0x73, 0xA8, 0x2C, 0x05, 0x50, 0x02, 0xA3, 0xA3, 0x59, 0x78, 0x5E, 0x92, 0xD4, 0x2C, 0xDB, 0xB0, 0x59, 0x76, 0x07, 0x00, 0x78, 0x16, 0x09, 0x80, 0xF5, 0xE4, 0x05, 0xC1, 0x81, 0x5F, 0xB0, 0x10, 0x00, 0xA0, 0xEE, 0xC0, 0xC0, 0x03, 0x8E, 0x68, 0x68, 0xB1, 0x72, 0xE5, 0x92, 0xAF, 0x5E, 0xF6, 0x0C, 0x10, 0xF0, 0x86, 0x62, 0xFB, 0xCE, 0xC1, 0x03, 0x98, 0x00, 0x74, 0x42, 0x42, 0xE7, 0xC5, 0xB9, 0x4E, 0xFF, 0xC2, 0x9D, 0x99, 0xA3, 0x60, 0x0A, 0x0A, 0x03, 0xED, 0xC0, 0xDD, 0xF1, 0x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8, 0x09, 0xC4, 0x3D, 0x23, 0x92, 0xB0, 0x6B, 0x29, 0xDA, 0x6A, 0x55, 0x12, 0x46, 0x7A, 0x41, 0xA5, 0x81, 0xF8, 0x62, 0x25, 0xE8, 0x4E, 0x2A, 0x60, 0x22, 0x52, 0x05, 0xB4, 0xB4, 0x94, 0x14, 0xAC, 0x12, 0x05, 0xBF, 0xCD, 0xB4, 0x60, 0xA7, 0x6F, 0x66, 0x65, 0xE7, 0x57, 0xC7, 0xA3, 0xC8, 0x67, 0x85, 0x16, 0x5B, 0x49, 0xF0, 0x84, 0x2A, 0x48, 0x19, 0x92, 0x47, 0x30, 0x4E, 0x00, 0x60, 0xC9, 0x57, 0x71, 0x79, 0x03, 0x51, 0x30, 0xD3, 0x4C, 0xA0, 0xC0, 0x4E, 0xA4, 0x1C, 0x45, 0x51, 0x2C, 0x7E, 0x39, 0xB8, 0x18, 0x3E, 0x04, 0xB5, 0x04, 0x14, 0x6C, 0xB3, 0xF8, 0xF1, 0xC7, 0x3C, 0x00, 0xAA, 0xC6, 0xCB, 0x45, 0xFC, 0x21, 0xD5, 0x52, 0x72, 0x17, 0x95, 0x88, 0xD8, 0x09, 0x08, 0x00, 0x80, 0x00, 0x02, 0x28, 0x94, 0x28, 0xC1, 0x8C, 0x20, 0x20, 0xD1, 0x5D, 0x02, 0x27, 0xE8, 0x88, 0x82, 0x5B, 0x84, 0x2C, 0xE0, 0xD6, 0x19, 0x4C, 0x1C, 0xA9, 0xA4, 0x19, 0x1B, 0x44, 0x00, 0x00, 0x21, 0xFE, 0x19, 0x42, 0x6F, 0x79, 0x27, 0x73, 0x20, 0x48, 0x61, 0x70, 0x70, 0x79, 0x20, 0x48, 0x6F, 0x6C, 0x69, 0x64, 0x61, 0x79, 0x73, 0x20, 0x50, 0x61, 0x67, 0x65, 0x00, 0x3B }; static const uint8_t bird_img_gif[] PROGMEM = { 0x47, 0x49, 0x46, 0x38, 0x39, 0x61, 0x74, 0x00, 0x4E, 0x00, 0xCC, 0x13, 0x00, 0xFF, 0xFF, 0xFF, 0xEF, 0xFF, 0xFF, 0xBD, 0xE7, 0xE7, 0xD6, 0xEF, 0xEF, 0x63, 0x63, 0x63, 0xAD, 0xAD, 0xAD, 0xCE, 0xCE, 0xCE, 0xD6, 0xDE, 0xDE, 0x4A, 0x4A, 0x4A, 0x7B, 0x84, 0x84, 0x94, 0x9C, 0x9C, 0xE7, 0xE7, 0xE7, 0x84, 0x94, 0x94, 0xB5, 0xC6, 0xC6, 0x73, 0x7B, 0x7B, 0x31, 0x31, 0x31, 0xF7, 0xF7, 0xF7, 0x18, 0x10, 0x10, 0xCE, 0x63, 0x39, 0x6B, 0x39, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0xFF, 0x0B, 0x4E, 0x45, 0x54, 0x53, 0x43, 0x41, 0x50, 0x45, 0x32, 0x2E, 0x30, 0x03, 0x01, 0x00, 0x00, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0A, 0x00, 0x00, 0x00, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x74, 0x00, 0x4B, 0x00, 0x00, 0x05, 0xFF, 0x20, 0x20, 0x8E, 0x64, 0x69, 0x9E, 0x68, 0xAA, 0xAE, 0xEC, 0x68, 0x2C, 0x6D, 0x2C, 0xCF, 0x74, 0x6D, 0x03, 0x46, 0x84, 0x40, 0x77, 0xEF, 0xFF, 0x40, 0x51, 0x42, 0x41, 0x0C, 0x1A, 0x8F, 0x48, 0x13, 0xC1, 0xD0, 0x20, 0x00, 0x0E, 0x8E, 0x42, 0x72, 0x4A, 0xAD, 0x21, 0x0E, 0xCD, 0x05, 0xE1, 0x80, 0xA8, 0x7A, 0xBF, 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 0x41, 0x10, 0xF0, 0x61, 0x8F, 0x25, 0x03, 0x26, 0xDA, 0x43, 0xC4, 0x42, 0x8B, 0x00, 0x05, 0x0E, 0x7C, 0xFF, 0xED, 0xF0, 0x68, 0x83, 0x8B, 0x44, 0x91, 0xDF, 0x06, 0xAC, 0x54, 0x01, 0x21, 0xA1, 0x80, 0x07, 0x0F, 0x1A, 0x38, 0x70, 0xC7, 0x72, 0x46, 0xC2, 0x97, 0x03, 0x3F, 0xC5, 0x52, 0xE1, 0x80, 0x81, 0x00, 0x01, 0x19, 0x1B, 0x3C, 0x38, 0xD8, 0x53, 0xC6, 0x81, 0x38, 0x21, 0x61, 0x4A, 0xEB, 0xB7, 0x42, 0x01, 0x82, 0xA3, 0x58, 0x7D, 0xC9, 0x6B, 0x1A, 0x63, 0x0B, 0xD0, 0x81, 0x11, 0x08, 0x74, 0x44, 0x61, 0xE0, 0x01, 0xD6, 0xA3, 0x05, 0x16, 0x2D, 0xE5, 0xDA, 0xC2, 0x80, 0xB7, 0x90, 0x41, 0xCB, 0xA4, 0x39, 0xC1, 0xEF, 0x2C, 0x56, 0xAA, 0x6C, 0x57, 0x38, 0xA8, 0x14, 0x35, 0xA8, 0x35, 0x14, 0x10, 0x10, 0x34, 0xB0, 0x9B, 0xD5, 0x4F, 0xDE, 0x14, 0x06, 0x8E, 0xF5, 0x1D, 0xC8, 0x25, 0x85, 0x83, 0xC1, 0x84, 0x05, 0x20, 0x32, 0x30, 0xF4, 0x30, 0x2D, 0x39, 0x8B, 0x07, 0x32, 0x42, 0xA1, 0x00, 0x72, 0xE4, 0x45, 0x08, 0x7C, 0x59, 0x36, 0x91, 0x18, 0x73, 0xE6, 0x6F, 0x79, 0x38, 0x2B, 0x88, 0x7C, 0x54, 0xE7, 0xE0, 0x2D, 0xA3, 0x4B, 0x78, 0x7A, 0x79, 0x7A, 0x1A, 0xCE, 0x04, 0x4C, 0x85, 0xAC, 0x66, 0x7D, 0x96, 0x80, 0xB9, 0xD8, 0x22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 0x87, 0x00, 0xB2, 0xC1, 0xE0, 0x29, 0x08, 0x24, 0x50, 0xC9, 0xFE, 0x37, 0x3C, 0x28, 0x30, 0x67, 0x75, 0x01, 0x9C, 0x20, 0x4E, 0x0A, 0xE0, 0xAC, 0xAF, 0x21, 0x90, 0x3E, 0x0D, 0x4C, 0x41, 0xBB, 0x42, 0x13, 0x05, 0x63, 0xA4, 0x64, 0x81, 0x43, 0x28, 0x40, 0xED, 0x44, 0x00, 0x01, 0x2C, 0x78, 0x29, 0x85, 0x2C, 0x38, 0x56, 0x62, 0x1A, 0xC0, 0x1D, 0x35, 0x84, 0x00, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0A, 0x00, 0x00, 0x00, 0x2C, 0x00, 0x00, 0x17, 0x00, 0x6A, 0x00, 0x32, 0x00, 0x00, 0x05, 0xFF, 0x20, 0x20, 0x8E, 0x64, 0x69, 0x9E, 0x68, 0xAA, 0x8A, 0x85, 0x02, 0xAD, 0x70, 0x2C, 0xCF, 0x74, 0x5D, 0x26, 0x0C, 0x63, 0xD8, 0x7C, 0xEF, 0xFF, 0xA2, 0x05, 0x21, 0x80, 0x58, 0x2C, 0x70, 0x0B, 0xA0, 0x72, 0xC9, 0x64, 0x34, 0x0C, 0x89, 0x86, 0x42, 0xC8, 0xAC, 0x5A, 0x6B, 0x54, 0x46, 0x81, 0x11, 0x70, 0x5E, 0xBF, 0x60, 0x94, 0xA2, 0xB0, 0x40, 0x10, 0x00, 0x86, 0x73, 0x23, 0x71, 0x08, 0xBB, 0xAF, 0x90, 0x73, 0xE2, 0x11, 0x28, 0x97, 0x1B, 0xBA, 0xB7, 0x7E, 0xA9, 0x68, 0x04, 0x0A, 0x01, 0x01, 0x04, 0x39, 0x01, 0x50, 0x7B, 0x87, 0x3E, 0x0B, 0x5C, 0x81, 0x5D, 0x0F, 0x03, 0x01, 0x78, 0x69, 0x05, 0x88, 0x94, 0x33, 0x0C, 0x8F, 0x8C, 0x0B, 0x81, 0x5A, 0x08, 0x06, 0x2D, 0x3F, 0x0A, 0x0A, 0x33, 0x0B, 0x63, 0x0D, 0x49, 0x95, 0x26, 0x2D, 0x8C, 0xAB, 0x05, 0x04, 0x7E, 0x0D, 0x67, 0x3C, 0x10, 0x09, 0x0A, 0x0C, 0x26, 0x10, 0x0E, 0x83, 0x05, 0x07, 0x0B, 0x69, 0x0F, 0xB4, 0x0E, 0x0F, 0x9D, 0xA8, 0x24, 0x06, 0x08, 0xAB, 0xC8, 0x81, 0xA1, 0x3C, 0x07, 0x0E, 0x6B, 0x6D, 0x25, 0x06, 0x11, 0x11, 0x12, 0x13, 0x13, 0x0F, 0x11, 0x80, 0xAC, 0xC2, 0xD0, 0xA8, 0x65, 0x01, 0x98, 0xC9, 0x10, 0x66, 0x0E, 0x93, 0x32, 0x07, 0x38, 0x02, 0x0C, 0xB4, 0xA2, 0x25, 0x07, 0x08, 0x13, 0x12, 0xF2, 0x13, 0x06, 0x7F, 0x07, 0xDB, 0xED, 0x95, 0xDF, 0xE1, 0xC9, 0x63, 0x71, 0xDD, 0x29, 0x8E, 0xB8, 0x12, 0xA0, 0x2E, 0x94, 0x03, 0x14, 0xB0, 0xE4, 0x55, 0x53, 0x80, 0x40, 0x01, 0xB2, 0x01, 0xB9, 0x4E, 0x21, 0x3A, 0x30, 0x64, 0x00, 0xBF, 0x64, 0x0B, 0x1E, 0x48, 0x3C, 0x41, 0x2A, 0x0A, 0xC1, 0x8F, 0x05, 0x8A, 0x04, 0x74, 0x10, 0x4F, 0x42, 0x84, 0x07, 0x0E, 0x93, 0xFF, 0x35, 0x40, 0x60, 0xEE, 0x90, 0x14, 0x70, 0x17, 0x91, 0x29, 0x48, 0x80, 0x62, 0xC1, 0x16, 0x05, 0x1F, 0x73, 0x12, 0x9C, 0xB9, 0xA2, 0x40, 0x04, 0x04, 0x09, 0x82, 0x6A, 0x4B, 0xC6, 0x80, 0x80, 0x81, 0x17, 0x7A, 0x0A, 0xD4, 0xB3, 0x18, 0x33, 0x10, 0x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x23, 0x00, 0x4C, 0x2A, 0x14, 0xE5, 0x25, 0xC1, 0xCC, 0x01, 0xBD, 0xE2, 0x26, 0x0F, 0x28, 0xA2, 0xCC, 0x0C, 0x45, 0xEC, 0x30, 0x0D, 0x98, 0x97, 0xDD, 0x24, 0x04, 0x49, 0xC6, 0x0A, 0x02, 0xC8, 0xB1, 0x50, 0xD4, 0xAA, 0x5A, 0xEE, 0x24, 0x48, 0x19, 0x00, 0xE4, 0xF4, 0xA0, 0xC0, 0x28, 0x0A, 0xB0, 0xE2, 0x1B, 0x0D, 0x33, 0xA9, 0x25, 0x00, 0x52, 0x8B, 0x3C, 0xF8, 0x42, 0x01, 0x5A, 0x1C, 0x62, 0x44, 0x86, 0x6B, 0x69, 0x46, 0x40, 0x87, 0x1E, 0x06, 0x02, 0x84, 0x88, 0x33, 0x14, 0xF3, 0x57, 0x00, 0x6D, 0x09, 0x10, 0xC0, 0x09, 0x29, 0x2E, 0xE1, 0x80, 0x6B, 0x6A, 0xC4, 0x80, 0x90, 0x66, 0x80, 0x69, 0xA6, 0xC0, 0x03, 0x0E, 0xD6, 0x28, 0x02, 0x04, 0x0C, 0x28, 0xC2, 0xE2, 0x0A, 0x1C, 0xF9, 0xE0, 0xCE, 0x3E, 0x05, 0x94, 0xE6, 0x00, 0x02, 0x11, 0x68, 0x21, 0xA4, 0x0C, 0x35, 0xB1, 0x11, 0x94, 0x49, 0x09, 0x35, 0xF0, 0x24, 0x0E, 0x48, 0x35, 0x61, 0x4A, 0x93, 0x29, 0x4C, 0x69, 0xC4, 0x01, 0x42, 0x30, 0x70, 0x25, 0x1E, 0x20, 0x26, 0x44, 0x40, 0x94, 0x0C, 0x38, 0xC4, 0x44, 0x13, 0x99, 0x1C, 0x10, 0x9B, 0x98, 0x34, 0x98, 0xC0, 0x4E, 0x9B, 0x56, 0x74, 0x54, 0x08, 0x3B, 0x99, 0xB8, 0xF0, 0x48, 0x13, 0x4D, 0x88, 0x45, 0x27, 0x12, 0x0A, 0x99, 0x83, 0x8A, 0x40, 0x73, 0xBE, 0x60, 0x57, 0x13, 0xA1, 0x0D, 0xFA, 0xD2, 0x6C, 0x93, 0x91, 0x10, 0x02, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0A, 0x00, 0x00, 0x00, 0x2C, 0x00, 0x00, 0x20, 0x00, 0x6A, 0x00, 0x2E, 0x00, 0x00, 0x05, 0xFF, 0x20, 0x00, 0x40, 0x62, 0xB9, 0x28, 0x08, 0x41, 0x28, 0x4B, 0xE9, 0xBE, 0x70, 0x2C, 0xCF, 0x74, 0x6D, 0xDF, 0xE5, 0xF1, 0x3C, 0x69, 0x52, 0x24, 0x0F, 0x82, 0xE1, 0x60, 0x00, 0x26, 0x5A, 0xB8, 0xA4, 0x72, 0xC9, 0x94, 0xE9, 0x22, 0x12, 0xC9, 0x64, 0xF2, 0x18, 0x04, 0xAE, 0xD7, 0x01, 0xB0, 0xD0, 0xEC, 0x7A, 0xBF, 0x31, 0x48, 0x61, 0x12, 0x95, 0x32, 0x02, 0x8E, 0x06, 0x36, 0x70, 0x50, 0x21, 0xC1, 0xF0, 0x78, 0x72, 0x91, 0x20, 0x4B, 0x55, 0x85, 0xF5, 0xB5, 0x81, 0xE0, 0xCA, 0xFF, 0x80, 0x32, 0x0D, 0x0F, 0x53, 0x11, 0x11, 0x04, 0x07, 0x7A, 0x57, 0x0E, 0x04, 0x6F, 0x81, 0x8F, 0x7F, 0x0B, 0x2A, 0x06, 0x94, 0x6A, 0x8A, 0x01, 0x06, 0x04, 0x05, 0x07, 0x0B, 0x0B, 0x44, 0x94, 0xA0, 0x43, 0x24, 0x90, 0xA4, 0x37, 0x05, 0x04, 0x96, 0x97, 0x58, 0x45, 0x09, 0x0A, 0x0C, 0x0C, 0x0A, 0x05, 0x0D, 0xB3, 0x05, 0x0A, 0x09, 0x0C, 0x05, 0x06, 0xA3, 0x4D, 0x9F, 0xA0, 0x0B, 0xBB, 0xA5, 0x33, 0x6D, 0x08, 0x0C, 0x89, 0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xD0, 0x47, 0x9C, 0x7A, 0xEA, 0x91, 0x07, 0x20, 0x4C, 0x05, 0xC8, 0xA5, 0x9E, 0x70, 0xA7, 0x31, 0x78, 0x92, 0x24, 0x89, 0xB9, 0x70, 0x4C, 0x26, 0x41, 0x04, 0xA4, 0x40, 0x03, 0x19, 0x32, 0x72, 0xC8, 0x85, 0x1D, 0xB9, 0x92, 0x20, 0x7F, 0xEE, 0x9D, 0x94, 0xE1, 0x49, 0x0C, 0xDD, 0x84, 0x16, 0x79, 0x11, 0xF4, 0x11, 0x0B, 0x42, 0x62, 0x41, 0x70, 0xCB, 0x73, 0x1E, 0x0E, 0xE5, 0x20, 0x70, 0x7B, 0x10, 0x40, 0x58, 0x5E, 0xC4, 0xE4, 0x23, 0x42, 0x02, 0x86, 0x34, 0xA2, 0x98, 0x24, 0x0A, 0x00, 0x19, 0x63, 0x4E, 0xFD, 0x10, 0x43, 0x93, 0x32, 0x79, 0xF1, 0x90, 0x42, 0x88, 0x2E, 0x2C, 0xF0, 0x80, 0x21, 0x0F, 0x30, 0x00, 0x5F, 0x30, 0x62, 0xF4, 0xB1, 0x61, 0x90, 0x47, 0x39, 0x18, 0xCB, 0x3F, 0xEF, 0xF8, 0x60, 0xC0, 0x2F, 0x36, 0x3C, 0xB1, 0x22, 0x53, 0x99, 0x20, 0x90, 0x08, 0x9A, 0x5D, 0x79, 0xD9, 0x80, 0x00, 0x29, 0xB4, 0xD6, 0x04, 0x59, 0x2C, 0xFC, 0x24, 0x13, 0x2A, 0x78, 0x76, 0xF5, 0x95, 0x03, 0x0C, 0xA0, 0xA6, 0xA3, 0x17, 0x6E, 0x3D, 0xB2, 0xC0, 0x0F, 0x0A, 0x10, 0xB9, 0xDA, 0x39, 0x08, 0x08, 0x90, 0x86, 0x00, 0x4E, 0x2E, 0x17, 0x86, 0x3B, 0xA5, 0x4D, 0xAA, 0x87, 0x42, 0xAF, 0x0C, 0xE2, 0x00, 0xA6, 0x63, 0x8A, 0xF6, 0xA8, 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x5A, 0x1C, 0x62, 0x44, 0x86, 0x6B, 0x69, 0x46, 0x40, 0x87, 0x1E, 0x06, 0x02, 0x84, 0x88, 0x33, 0x14, 0xF3, 0x57, 0x00, 0x6D, 0x09, 0x10, 0xC0, 0x09, 0x29, 0x2E, 0xE1, 0x80, 0x6B, 0x6A, 0xC4, 0x80, 0x90, 0x66, 0x80, 0x69, 0xA6, 0xC0, 0x03, 0x0E, 0xD6, 0x28, 0x02, 0x04, 0x0C, 0x28, 0xC2, 0xE2, 0x0A, 0x1C, 0xF9, 0xE0, 0xCE, 0x3E, 0x05, 0x94, 0xE6, 0x00, 0x02, 0x11, 0x68, 0x21, 0xA4, 0x0C, 0x35, 0xB1, 0x11, 0x94, 0x49, 0x09, 0x35, 0xF0, 0x24, 0x0E, 0x48, 0x35, 0x61, 0x4A, 0x93, 0x29, 0x4C, 0x69, 0xC4, 0x01, 0x42, 0x30, 0x70, 0x25, 0x1E, 0x20, 0x26, 0x44, 0x40, 0x94, 0x0C, 0x38, 0xC4, 0x44, 0x13, 0x99, 0x1C, 0x10, 0x9B, 0x98, 0x34, 0x98, 0xC0, 0x4E, 0x9B, 0x56, 0x74, 0x54, 0x08, 0x3B, 0x99, 0xB8, 0xF0, 0x48, 0x13, 0x4D, 0x88, 0x45, 0x27, 0x12, 0x0A, 0x99, 0x83, 0x8A, 0x40, 0x73, 0xBE, 0x60, 0x57, 0x13, 0xA1, 0x0D, 0xFA, 0xD2, 0x6C, 0x93, 0x91, 0x10, 0x02, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0A, 0x00, 0x00, 0x00, 0x2C, 0x00, 0x00, 0x17, 0x00, 0x6A, 0x00, 0x32, 0x00, 0x00, 0x05, 0xFF, 0x20, 0x20, 0x8E, 0x64, 0x69, 0x9E, 0x68, 0xAA, 0x8A, 0x85, 0x02, 0xAD, 0x70, 0x2C, 0xCF, 0x74, 0x5D, 0x26, 0x0C, 0x63, 0xD8, 0x7C, 0xEF, 0xFF, 0xA2, 0x05, 0x21, 0x80, 0x58, 0x2C, 0x70, 0x0B, 0xA0, 0x72, 0xC9, 0x64, 0x34, 0x0C, 0x89, 0x86, 0x42, 0xC8, 0xAC, 0x5A, 0x6B, 0x54, 0x46, 0x81, 0x11, 0x70, 0x5E, 0xBF, 0x60, 0x94, 0xA2, 0xB0, 0x40, 0x10, 0x00, 0x86, 0x73, 0x23, 0x71, 0x08, 0xBB, 0xAF, 0x90, 0x73, 0xE2, 0x11, 0x28, 0x97, 0x1B, 0xBA, 0xB7, 0x7E, 0xA9, 0x68, 0x04, 0x0A, 0x01, 0x01, 0x04, 0x39, 0x01, 0x50, 0x7B, 0x87, 0x3E, 0x0B, 0x5C, 0x81, 0x5D, 0x0F, 0x03, 0x01, 0x78, 0x69, 0x05, 0x88, 0x94, 0x33, 0x0C, 0x8F, 0x8C, 0x0B, 0x81, 0x5A, 0x08, 0x06, 0x2D, 0x3F, 0x0A, 0x0A, 0x33, 0x0B, 0x63, 0x0D, 0x49, 0x95, 0x26, 0x2D, 0x8C, 0xAB, 0x05, 0x04, 0x7E, 0x0D, 0x67, 0x3C, 0x10, 0x09, 0x0A, 0x0C, 0x26, 0x10, 0x0E, 0x83, 0x05, 0x07, 0x0B, 0x69, 0x0F, 0xB4, 0x0E, 0x0F, 0x9D, 0xA8, 0x24, 0x06, 0x08, 0xAB, 0xC8, 0x81, 0xA1, 0x3C, 0x07, 0x0E, 0x6B, 0x6D, 0x25, 0x06, 0x11, 0x11, 0x12, 0x13, 0x13, 0x0F, 0x11, 0x80, 0xAC, 0xC2, 0xD0, 0xA8, 0x65, 0x01, 0x98, 0xC9, 0x10, 0x66, 0x0E, 0x93, 0x32, 0x07, 0x38, 0x02, 0x0C, 0xB4, 0xA2, 0x25, 0x07, 0x08, 0x13, 0x12, 0xF2, 0x13, 0x06, 0x7F, 0x07, 0xDB, 0xED, 0x95, 0xDF, 0xE1, 0xC9, 0x63, 0x71, 0xDD, 0x29, 0x8E, 0xB8, 0x12, 0xA0, 0x2E, 0x94, 0x03, 0x14, 0xB0, 0xE4, 0x55, 0x53, 0x80, 0x40, 0x01, 0xB2, 0x01, 0xB9, 0x4E, 0x21, 0x3A, 0x30, 0x64, 0x00, 0xBF, 0x64, 0x0B, 0x1E, 0x48, 0x3C, 0x41, 0x2A, 0x0A, 0xC1, 0x8F, 0x05, 0x8A, 0x04, 0x74, 0x10, 0x4F, 0x42, 0x84, 0x07, 0x0E, 0x93, 0xFF, 0x35, 0x40, 0x60, 0xEE, 0x90, 0x14, 0x70, 0x17, 0x91, 0x29, 0x48, 0x80, 0x62, 0xC1, 0x16, 0x05, 0x1F, 0x73, 0x12, 0x9C, 0xB9, 0xA2, 0x40, 0x04, 0x04, 0x09, 0x82, 0x6A, 0x4B, 0xC6, 0x80, 0x80, 0x81, 0x17, 0x7A, 0x0A, 0xD4, 0xB3, 0x18, 0x33, 0x10, 0x84, 0x5F, 0x6C, 0x48, 0xB4, 0x1A, 0xA8, 0x53, 0x67, 0x82, 0x1D, 0x2B, 0x84, 0x2C, 0x4A, 0xB6, 0xEA, 0xC0, 0x4C, 0x1C, 0xA6, 0x20, 0x20, 0xB5, 0x32, 0x05, 0x66, 0xD3, 0x40, 0x07, 0xA0, 0xD8, 0x12, 0xD1, 0xE0, 0x41, 0x83, 0xAA, 0x55, 0x61, 0x31, 0xC8, 0xA7, 0x82, 0xA1, 0x83, 0x7A, 0x5C, 0x19, 0x41, 0x48, 0xDB, 0x22, 0x47, 0xD0, 0xA3, 0x4C, 0x52, 0x32, 0x3D, 0x0B, 0x0E, 0x01, 0x34, 0x03, 0x6E, 0xE1, 0xC2, 0xC5, 0x43, 0x57, 0x05, 0x04, 0x28, 0x04, 0x1C, 0x38, 0xB9, 0x97, 0x17, 0xD9, 0x81, 0x02, 0x7F, 0xC7, 0xF6, 0x48, 0x10, 0x68, 0x80, 0x00, 0x8B, 0x95, 0x73, 0x8D, 0x38, 0xB0, 0xEE, 0xAD, 0xE2, 0x8F, 0x0A, 0x08, 0x00, 0x94,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 0x6C, 0xAB, 0x55, 0xAB, 0xD5, 0xB1, 0x32, 0xC8, 0xC9, 0x14, 0x24, 0xC3, 0x54, 0x5B, 0x02, 0x2C, 0x9B, 0x86, 0xFB, 0x27, 0x26, 0x1F, 0x3D, 0x52, 0x00, 0xB5, 0xE6, 0x8A, 0xD0, 0xE3, 0x25, 0xC8, 0x20, 0x4B, 0xE6, 0x23, 0x59, 0xAE, 0xF7, 0x8E, 0xAA, 0xF1, 0x92, 0x30, 0xA9, 0xB1, 0x29, 0xA0, 0x9A, 0x80, 0x6F, 0x7D, 0x98, 0x9A, 0x56, 0xA6, 0x0F, 0xC0, 0xDB, 0x2F, 0x09, 0x3E, 0x3A, 0x60, 0x6C, 0x00, 0x23, 0x5C, 0xD9, 0x9B, 0x9A, 0x0E, 0x4C, 0x33, 0x8D, 0x30, 0x47, 0x16, 0x30, 0xEC, 0xC2, 0xC0, 0xF9, 0x68, 0xD4, 0x75, 0xA4, 0x6D, 0xA2, 0xE6, 0x91, 0x06, 0x9C, 0xF2, 0x8E, 0xC5, 0x51, 0x2C, 0xCB, 0x71, 0x09, 0x8C, 0x0E, 0x92, 0xA8, 0x57, 0x27, 0xA9, 0xF9, 0xCB, 0x97, 0x19, 0xC5, 0xCC, 0xD2, 0xCA, 0x33, 0x78, 0x35, 0xF0, 0x8B, 0xB9, 0xE8, 0x52, 0xF2, 0x02, 0x1B, 0x93, 0xA2, 0x32, 0xCE, 0x30, 0xB4, 0x36, 0xB4, 0x0D, 0x21, 0x00, 0x00, 0x3B};
100.417927
100
0.633696
c8d099993f7a501e8722f68a8c408cc5032aee53
2,138
h
C
include/skyline/nx/kernel/rwlock.h
masagrator/skyline
e866b61705399b178fbd090b88d9ff00d14a2c74
[ "MIT" ]
80
2020-08-03T17:47:32.000Z
2022-03-31T10:43:50.000Z
include/skyline/nx/kernel/rwlock.h
masagrator/skyline
e866b61705399b178fbd090b88d9ff00d14a2c74
[ "MIT" ]
16
2020-08-17T23:27:01.000Z
2022-03-27T18:31:13.000Z
include/skyline/nx/kernel/rwlock.h
masagrator/skyline
e866b61705399b178fbd090b88d9ff00d14a2c74
[ "MIT" ]
26
2020-07-28T12:50:24.000Z
2022-03-29T18:45:18.000Z
/** * @file rwlock.h * @brief Read/write lock synchronization primitive. * @author plutoo, SciresM * @copyright libnx Authors */ #pragma once #include "../kernel/condvar.h" #include "../kernel/mutex.h" /// Read/write lock structure. typedef struct { Mutex mutex; CondVar condvar_reader_wait; CondVar condvar_writer_wait; u32 read_lock_count; u32 read_waiter_count; u32 write_lock_count; u32 write_waiter_count; u32 write_owner_tag; } RwLock; /** * @brief Initializes the read/write lock. * @param r Read/write lock object. */ void rwlockInit(RwLock* r); /** * @brief Locks the read/write lock for reading. * @param r Read/write lock object. */ void rwlockReadLock(RwLock* r); /** * @brief Attempts to lock the read/write lock for reading without waiting. * @param r Read/write lock object. * @return 1 if the mutex has been acquired successfully, and 0 on contention. */ bool rwlockTryReadLock(RwLock* r); /** * @brief Unlocks the read/write lock for reading. * @param r Read/write lock object. */ void rwlockReadUnlock(RwLock* r); /** * @brief Locks the read/write lock for writing. * @param r Read/write lock object. */ void rwlockWriteLock(RwLock* r); /** * @brief Attempts to lock the read/write lock for writing without waiting. * @param r Read/write lock object. * @return 1 if the mutex has been acquired successfully, and 0 on contention. */ bool rwlockTryWriteLock(RwLock* r); /** * @brief Unlocks the read/write lock for writing. * @param r Read/write lock object. */ void rwlockWriteUnlock(RwLock* r); /** * @brief Checks if the write lock is held by the current thread. * @param r Read/write lock object. * @return 1 if the current hold holds the write lock, and 0 if it does not. */ bool rwlockIsWriteLockHeldByCurrentThread(RwLock* r); /** * @brief Checks if the read/write lock is owned by the current thread. * @param r Read/write lock object. * @return 1 if the current hold holds the write lock or if it holds read locks acquired * while it held the write lock, and 0 if it does not. */ bool rwlockIsOwnedByCurrentThread(RwLock* r);
26.395062
88
0.710477
c8f73ea8a3a52eda5151836ef1cdf75835b8f2d2
1,895
c
C
Mesa-7.11.2_GPGPU-Sim/src/egl/wayland/wayland-egl/wayland-egl.c
ayoubg/gem5-graphics_v1
d74a968d5854dc02797139558430ccda1f71108e
[ "BSD-3-Clause" ]
1
2019-01-26T10:34:02.000Z
2019-01-26T10:34:02.000Z
Mesa-7.11.2_GPGPU-Sim/src/egl/wayland/wayland-egl/wayland-egl.c
ayoubg/gem5-graphics_v1
d74a968d5854dc02797139558430ccda1f71108e
[ "BSD-3-Clause" ]
null
null
null
Mesa-7.11.2_GPGPU-Sim/src/egl/wayland/wayland-egl/wayland-egl.c
ayoubg/gem5-graphics_v1
d74a968d5854dc02797139558430ccda1f71108e
[ "BSD-3-Clause" ]
1
2021-07-06T10:40:34.000Z
2021-07-06T10:40:34.000Z
#include <stdlib.h> #include <wayland-client.h> #include "wayland-egl.h" #include "wayland-egl-priv.h" WL_EGL_EXPORT void wl_egl_window_resize(struct wl_egl_window *egl_window, int width, int height, int dx, int dy) { egl_window->width = width; egl_window->height = height; egl_window->dx = dx; egl_window->dy = dy; } WL_EGL_EXPORT struct wl_egl_window * wl_egl_window_create(struct wl_surface *surface, int width, int height, struct wl_visual *visual) { struct wl_egl_window *egl_window; egl_window = malloc(sizeof *egl_window); if (!egl_window) return NULL; egl_window->surface = surface; egl_window->visual = visual; wl_egl_window_resize(egl_window, width, height, 0, 0); egl_window->attached_width = 0; egl_window->attached_height = 0; return egl_window; } WL_EGL_EXPORT void wl_egl_window_destroy(struct wl_egl_window *egl_window) { free(egl_window); } WL_EGL_EXPORT void wl_egl_window_get_attached_size(struct wl_egl_window *egl_window, int *width, int *height) { if (width) *width = egl_window->attached_width; if (height) *height = egl_window->attached_height; } WL_EGL_EXPORT struct wl_egl_pixmap * wl_egl_pixmap_create(int width, int height, struct wl_visual *visual, uint32_t flags) { struct wl_egl_pixmap *egl_pixmap; egl_pixmap = malloc(sizeof *egl_pixmap); if (egl_pixmap == NULL) return NULL; egl_pixmap->width = width; egl_pixmap->height = height; egl_pixmap->visual = visual; egl_pixmap->destroy = NULL; egl_pixmap->buffer = NULL; egl_pixmap->driver_private = NULL; return egl_pixmap; } WL_EGL_EXPORT void wl_egl_pixmap_destroy(struct wl_egl_pixmap *egl_pixmap) { if (egl_pixmap->destroy) egl_pixmap->destroy(egl_pixmap); free(egl_pixmap); } WL_EGL_EXPORT struct wl_buffer * wl_egl_pixmap_create_buffer(struct wl_egl_pixmap *egl_pixmap) { return egl_pixmap->buffer; }
21.534091
65
0.745119
1e2568af864d646daaf0c59e82c27ec6ce2bbc12
283
h
C
src/audio/stdafx.h
lostcodder/node-windows-audio
b4bcee0984db80a7f0c57485ebc053b4bb8d05fe
[ "MIT" ]
null
null
null
src/audio/stdafx.h
lostcodder/node-windows-audio
b4bcee0984db80a7f0c57485ebc053b4bb8d05fe
[ "MIT" ]
null
null
null
src/audio/stdafx.h
lostcodder/node-windows-audio
b4bcee0984db80a7f0c57485ebc053b4bb8d05fe
[ "MIT" ]
null
null
null
//#include "targetver.h" #include <windows.h> #include <strsafe.h> #include <objbase.h> #include <mmdeviceapi.h> #include <audiopolicy.h> template <class T> void SafeRelease(T **ppT) { if (*ppT) { (*ppT)->Release(); *ppT = NULL; } }
14.894737
45
0.547703
88fc0568f9d9fa7534a6cf13724ae37822595b94
4,836
h
C
System/Library/Frameworks/CoreFoundation.framework/NSDictionary.h
lechium/tvOS10Headers
f0c99993da6cc502d36fdc5cb4ff90d94b12bf67
[ "MIT" ]
4
2017-03-23T00:01:54.000Z
2018-08-04T20:16:32.000Z
System/Library/Frameworks/CoreFoundation.framework/NSDictionary.h
lechium/tvOS10Headers
f0c99993da6cc502d36fdc5cb4ff90d94b12bf67
[ "MIT" ]
null
null
null
System/Library/Frameworks/CoreFoundation.framework/NSDictionary.h
lechium/tvOS10Headers
f0c99993da6cc502d36fdc5cb4ff90d94b12bf67
[ "MIT" ]
4
2017-05-14T16:23:26.000Z
2019-12-21T15:07:59.000Z
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:01:01 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #import <CoreFoundation/CoreFoundation-Structs.h> #import <libobjc.A.dylib/NSCopying.h> #import <libobjc.A.dylib/NSMutableCopying.h> #import <libobjc.A.dylib/NSSecureCoding.h> #import <libobjc.A.dylib/NSFastEnumeration.h> @interface NSDictionary : NSObject <NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration> @property (readonly) unsigned long long count; +(id)newWithContentsOf:(id)arg1 immutable:(BOOL)arg2 ; +(id)dictionaryWithContentsOfURL:(id)arg1 ; +(BOOL)supportsSecureCoding; +(id)dictionaryWithContentsOfFile:(id)arg1 ; +(id)newDictionaryWithObjects:(const id*)arg1 forKeys:(const id*)arg2 count:(unsigned long long)arg3 ; +(id)dictionaryWithDictionary:(id)arg1 copyItems:(BOOL)arg2 ; +(id)dictionaryWithObjects:(const id*)arg1 forKeys:(const id*)arg2 count:(unsigned long long)arg3 ; +(id)dictionaryWithObject:(id)arg1 forKey:(id)arg2 ; +(id)dictionary; +(id)dictionaryWithObjectsAndKeys:(id)arg1 ; +(id)dictionaryWithDictionary:(id)arg1 ; +(id)allocWithZone:(NSZone*)arg1 ; +(BOOL)supportsSecureCoding; +(id)dictionaryWithObjects:(id)arg1 forKeys:(id)arg2 ; +(id)sharedKeySetForKeys:(id)arg1 ; -(id)replacementObjectForPortCoder:(id)arg1 ; -(id)_web_numberForKey:(id)arg1 ; -(int)_web_intForKey:(id)arg1 ; -(id)_web_objectForMIMEType:(id)arg1 ; -(id)_web_stringForKey:(id)arg1 ; -(id)valueForKey:(id)arg1 ; -(id)valueForKeyPath:(id)arg1 ; -(unsigned long long)filePosixPermissions; -(id)fileOwnerAccountName; -(unsigned long long)fileOwnerAccountNumber; -(id)fileGroupOwnerAccountName; -(unsigned long long)fileGroupOwnerAccountNumber; -(long long)fileSystemNumber; -(unsigned long long)fileSystemFileNumber; -(BOOL)fileExtensionHidden; -(unsigned)fileHFSCreatorCode; -(unsigned)fileHFSTypeCode; -(BOOL)fileIsImmutable; -(BOOL)fileIsAppendOnly; -(id)fileOwnerAccountID; -(id)fileGroupOwnerAccountID; -(id)fileType; -(id)fileModificationDate; -(unsigned long long)fileSize; -(id)fileCreationDate; -(id)_stringToWrite; -(id)descriptionInStringsFileFormat; -(id)initWithCoder:(id)arg1 ; -(void)encodeWithCoder:(id)arg1 ; -(BOOL)writeToURL:(id)arg1 atomically:(BOOL)arg2 ; -(Class)classForCoder; -(id)initWithContentsOfFile:(id)arg1 ; -(BOOL)writeToFile:(id)arg1 atomically:(BOOL)arg2 ; -(id)initWithContentsOfURL:(id)arg1 ; -(BOOL)__getValue:(id*)arg1 forKey:(id)arg2 ; -(id)keyOfEntryWithOptions:(unsigned long long)arg1 passingTest:(/*^block*/id)arg2 ; -(id)keysOfEntriesWithOptions:(unsigned long long)arg1 passingTest:(/*^block*/id)arg2 ; -(id)keysSortedByValueWithOptions:(unsigned long long)arg1 usingComparator:(/*^block*/id)arg2 ; -(id)invertedDictionary; -(id)keyOfEntryPassingTest:(/*^block*/id)arg1 ; -(id)initWithObject:(id)arg1 forKey:(id)arg2 ; -(id)descriptionWithLocale:(id)arg1 indent:(unsigned long long)arg2 ; -(unsigned long long)_cfTypeID; -(void)getObjects:(id*)arg1 andKeys:(id*)arg2 count:(unsigned long long)arg3 ; -(void)getKeys:(id*)arg1 ; -(void)__apply:(/*function pointer*/void*)arg1 context:(void*)arg2 ; -(id)initWithCoder:(id)arg1 ; -(unsigned long long)countByEnumeratingWithState:(SCD_Struct_NS20*)arg1 objects:(id*)arg2 count:(unsigned long long)arg3 ; -(void)encodeWithCoder:(id)arg1 ; -(unsigned long long)count; -(BOOL)isEqual:(id)arg1 ; -(unsigned long long)hash; -(id)description; -(id)initWithDictionary:(id)arg1 ; -(id)objectForKeyedSubscript:(id)arg1 ; -(void)enumerateKeysAndObjectsUsingBlock:(/*^block*/id)arg1 ; -(BOOL)containsObject:(id)arg1 ; -(id)objectForKey:(id)arg1 ; -(id)initWithObjectsAndKeys:(id)arg1 ; -(id)allKeys; -(id)allObjects; -(id)objectEnumerator; -(id)copyWithZone:(NSZone*)arg1 ; -(id)initWithObjects:(const id*)arg1 forKeys:(const id*)arg2 count:(unsigned long long)arg3 ; -(BOOL)isEqualToDictionary:(id)arg1 ; -(id)initWithObjects:(id)arg1 forKeys:(id)arg2 ; -(id)allValues; -(id)keyEnumerator; -(id)keysOfEntriesPassingTest:(/*^block*/id)arg1 ; -(id)objectsForKeys:(id)arg1 notFoundMarker:(id)arg2 ; -(id)mutableCopyWithZone:(NSZone*)arg1 ; -(id)initWithDictionary:(id)arg1 copyItems:(BOOL)arg2 ; -(unsigned long long)countForObject:(id)arg1 ; -(void)getObjects:(id*)arg1 andKeys:(id*)arg2 ; -(BOOL)containsKey:(id)arg1 ; -(id)keysSortedByValueUsingComparator:(/*^block*/id)arg1 ; -(void)enumerateKeysAndObjectsWithOptions:(unsigned long long)arg1 usingBlock:(/*^block*/id)arg2 ; -(BOOL)isNSDictionary__; -(id)allKeysForObject:(id)arg1 ; -(id)descriptionWithLocale:(id)arg1 ; -(void)getObjects:(id*)arg1 ; -(unsigned long long)countForKey:(id)arg1 ; -(id)keysSortedByValueUsingSelector:(SEL)arg1 ; @end
40.983051
122
0.768404
7ae9e3b833b6c70cfb52a690369f95d8163a950e
83
c
C
Tests/C/ImplicitExport.c
G33kDude/MCL.ahk
e993193f575db03f5c8dac957a1a597f94f7c612
[ "MIT" ]
4
2021-12-01T17:52:53.000Z
2022-01-25T05:01:55.000Z
Tests/C/ImplicitExport.c
G33kDude/MCL.ahk
e993193f575db03f5c8dac957a1a597f94f7c612
[ "MIT" ]
null
null
null
Tests/C/ImplicitExport.c
G33kDude/MCL.ahk
e993193f575db03f5c8dac957a1a597f94f7c612
[ "MIT" ]
null
null
null
int TheOnlyFunctionInThisProgram(int left, int right) { return left << right; }
27.666667
55
0.73494
63c177c5b3e47322bafb5efca702697488c64992
691
h
C
BMDBase/BMDBase/Source/BMDBaseMessage.h
PangPangPangPangPang/BMDMessageQueue
3a506f583e3ee70a96ba3be5e2be44212e8e9708
[ "MIT" ]
1
2017-01-11T06:08:23.000Z
2017-01-11T06:08:23.000Z
BMDBase/BMDBase/Source/BMDBaseMessage.h
PangPangPangPangPang/BMDMessageQueue
3a506f583e3ee70a96ba3be5e2be44212e8e9708
[ "MIT" ]
1
2017-01-18T11:11:52.000Z
2017-01-18T11:11:52.000Z
BMDBase/BMDBase/Source/BMDBaseMessage.h
PangPangPangPangPang/BMDMessageQueue
3a506f583e3ee70a96ba3be5e2be44212e8e9708
[ "MIT" ]
null
null
null
// // BMDBaseMessage.h // MessageQueue // // Created by Wang,Yefeng on 10/01/2017. // Copyright © 2017 Wang,Yefeng. All rights reserved. // #import <Foundation/Foundation.h> #define Scheme @"BMDoctor" @interface BMDBaseMessage : NSObject @property(readonly, atomic)NSString *scheme; @property(readonly, atomic)NSString *host; @property(readonly, atomic)NSString *relative; @property(readonly, atomic)NSString *command; @property(readonly, atomic)NSDictionary *args; - (id)initWithHost:(NSString *)host relative:(NSString *)relative command:(NSString *)command args:(NSDictionary *)args; - (id)initWithURL:(NSURL*)url; - (NSURL *)generateURL; @end
24.678571
54
0.70767
b70d58222e731c2484c4670a33507146b6b2b5c1
4,914
h
C
third_party/paho.mqtt.cpp/include/mqtt/delivery_token.h
luibass92/mqttraffic-warden
a421b04aff99927e92f0bda4c0543af91abef6c5
[ "MIT" ]
null
null
null
third_party/paho.mqtt.cpp/include/mqtt/delivery_token.h
luibass92/mqttraffic-warden
a421b04aff99927e92f0bda4c0543af91abef6c5
[ "MIT" ]
null
null
null
third_party/paho.mqtt.cpp/include/mqtt/delivery_token.h
luibass92/mqttraffic-warden
a421b04aff99927e92f0bda4c0543af91abef6c5
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// /// @file delivery_token.h /// Declaration of MQTT delivery_token class /// @date May 1, 2013 /// @author Frank Pagliughi ///////////////////////////////////////////////////////////////////////////// /******************************************************************************* * Copyright (c) 2013-2016 Frank Pagliughi <fpagliughi@mindspring.com> * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany this distribution. * * The Eclipse Public License is available at * http://www.eclipse.org/legal/epl-v10.html * and the Eclipse Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Frank Pagliughi - initial implementation and documentation *******************************************************************************/ #ifndef __mqtt_delivery_token_h #define __mqtt_delivery_token_h #include "MQTTAsync.h" #include "mqtt/token.h" #include "mqtt/message.h" #include <memory> namespace mqtt { ///////////////////////////////////////////////////////////////////////////// /** * Provides a mechanism to track the delivery progress of a message. * Used to track the the delivery progress of a message when a publish is * executed in a non-blocking manner (run in the background) action. */ class delivery_token : public token { /** The message being tracked. */ const_message_ptr msg_; /** Client has special access. */ friend class async_client; /** * Sets the message to which this token corresponds. * @param msg */ void set_message(const_message_ptr msg) { msg_ = msg; } public: /** Smart/shared pointer to an object of this class */ using ptr_t = std::shared_ptr<delivery_token>; /** Smart/shared pointer to a const object of this class */ using const_ptr_t = std::shared_ptr<delivery_token>; /** Weak pointer to an object of this class */ using weak_ptr_t = std::weak_ptr<delivery_token>; /** * Creates an empty delivery token connected to a particular client. * @param cli The asynchronous client object. */ delivery_token(iasync_client& cli) : token(token::Type::PUBLISH, cli) {} /** * Creates a delivery token connected to a particular client. * @param cli The asynchronous client object. * @param msg The message being tracked. */ delivery_token(iasync_client& cli, const_message_ptr msg) : token(token::Type::PUBLISH, cli, msg->get_topic()), msg_(std::move(msg)) {} /** * Creates a delivery token connected to a particular client. * @param cli The asynchronous client object. * @param msg The message data. * @param userContext optional object used to pass context to the * callback. Use @em nullptr if not required. * @param cb callback optional listener that will be notified when message * delivery has completed to the requested quality of * service */ delivery_token(iasync_client& cli, const_message_ptr msg, void* userContext, iaction_listener& cb) : token(token::Type::PUBLISH, cli, msg->get_topic(), userContext, cb), msg_(std::move(msg)) {} /** * Creates an empty delivery token connected to a particular client. * @param cli The asynchronous client object. */ static ptr_t create(iasync_client& cli) { return std::make_shared<delivery_token>(cli); } /** * Creates a delivery token connected to a particular client. * @param cli The asynchronous client object. * @param msg The message data. */ static ptr_t create(iasync_client& cli, const_message_ptr msg) { return std::make_shared<delivery_token>(cli, msg); } /** * Creates a delivery token connected to a particular client. * @param cli The asynchronous client object. * @param msg The message data. * @param userContext optional object used to pass context to the * callback. Use @em nullptr if not required. * @param cb callback optional listener that will be notified when message * delivery has completed to the requested quality of * service */ static ptr_t create(iasync_client& cli, const_message_ptr msg, void* userContext, iaction_listener& cb) { return std::make_shared<delivery_token>(cli, msg, userContext, cb); } /** * Gets the message associated with this token. * @return The message associated with this token. */ virtual const_message_ptr get_message() const { return msg_; } }; /** Smart/shared pointer to a delivery_token */ using delivery_token_ptr = delivery_token::ptr_t; /** Smart/shared pointer to a const delivery_token */ using const_delivery_token_ptr = delivery_token::const_ptr_t; ///////////////////////////////////////////////////////////////////////////// // end namespace mqtt } #endif // __mqtt_delivery_token_h
36.132353
97
0.656085
17b23276d24d2f4ded56e39e9acab6c5bc892fe8
19,202
c
C
COMPONENT_CAT4/source/cyhal_i2c.c
Infineon/mtb-hal-cat4
8bb5f37baeed0a0ce88fb2fccb516a821439c767
[ "Apache-2.0" ]
null
null
null
COMPONENT_CAT4/source/cyhal_i2c.c
Infineon/mtb-hal-cat4
8bb5f37baeed0a0ce88fb2fccb516a821439c767
[ "Apache-2.0" ]
null
null
null
COMPONENT_CAT4/source/cyhal_i2c.c
Infineon/mtb-hal-cat4
8bb5f37baeed0a0ce88fb2fccb516a821439c767
[ "Apache-2.0" ]
null
null
null
/***************************************************************************//** * \file cyhal_i2c.c * * Description: * Provides a high level interface for interacting with the I2C. * ******************************************************************************** * \copyright * Copyright 2021 Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *******************************************************************************/ #include "cyhal_i2c.h" #include "cyhal_utils.h" #include "cyhal_hwmgr.h" #include "cyhal_system_impl.h" #include "cyhal_clock.h" #include "cyhal_syspm.h" #include "typedefs.h" #include "sbchipc.h" #if defined(__cplusplus) extern "C" { #endif /* __cplusplus */ /** * \addtogroup group_hal_impl_i2c I2C * \ingroup group_hal_impl * \{ * \section section_hal_impl_i2c_features I2C features * * The CAT4 I2C is a master-only driver supporting the following features: * * Frequencies - low speed (10 kHz), standard speed (100 kHz), and high speed (400 kHz) * * 7-bit address * * The following features are not available on these devices: * * Interrupts and events * * Non-blocking communication * * FIFO control * * Trigger connections * * The I2C hardware is always clocked using the HT clock. NULL should be passed in * the initialization function for the clk parameter. * * * \} group_hal_impl_i2c */ /******************************************************************************* * Internal *******************************************************************************/ #define _CYHAL_I2C_MASTER_DEFAULT_FREQ (100000) #define _CYHAL_I2C_INSTANCES (2) typedef struct { volatile gsio_control_register_t *reg_control; volatile uint32_t *reg_data; volatile uint32_t *reg_address; volatile uint32_t *reg_clock_div; }_cyhal_i2c_gsio_regs_t; static const _cyhal_i2c_gsio_regs_t i2c_gsio_regs[_CYHAL_I2C_INSTANCES] = { /* BCM4390X_GSIO_2 (I2C0) */ { .reg_control = &(PLATFORM_CHIPCOMMON->general_serial_io_controllers.interface_2.control), .reg_address = &(PLATFORM_CHIPCOMMON->general_serial_io_controllers.interface_2.address), .reg_data = &(PLATFORM_CHIPCOMMON->general_serial_io_controllers.interface_2.data), .reg_clock_div = &(PLATFORM_CHIPCOMMON->general_serial_io_controllers.interface_2.clock_divider) }, /* BCM4390X_GSIO_3 (I2C1) */ { .reg_control = &(PLATFORM_CHIPCOMMON->general_serial_io_controllers.interface_3.control), .reg_address = &(PLATFORM_CHIPCOMMON->general_serial_io_controllers.interface_3.address), .reg_data = &(PLATFORM_CHIPCOMMON->general_serial_io_controllers.interface_3.data), .reg_clock_div = &(PLATFORM_CHIPCOMMON->general_serial_io_controllers.interface_3.clock_divider) }, }; static const gsio_control_register_t _cyhal_i2c_control_reg_init = { .i2c_bits = { .i2c_data_source = 0b010, // GsioData register .start_condition_and_address_size = 0b00, // No STA .number_of_data_bytes = 0, // 1 byte/transaction .no_send_or_check_ack = 0, // Send/check ACK .generate_stop_condition = 0, // No STOP .big_endian = 1, // Big endian .i2c_mode = 1 // I2C Mode } }; static const gsio_control_register_t _cyhal_i2c_control_reg_stop = { .i2c_bits = { .i2c_data_source = 0b010, // GsioData register .start_condition_and_address_size = 0b00, // No STA .number_of_data_bytes = 0, // 1 byte/transaction .read = 1, // Read .no_send_or_check_ack = 1, // No send/check ACK .generate_stop_condition = 1, // STOP condition .big_endian = 1, // Big endian .i2c_mode = 1, // I2C Mode .start_busy = 1 // Start transmission } }; static bool _cyhal_i2c_is_busy(cyhal_i2c_t *obj) { return (bool)(i2c_gsio_regs[obj->resource.block_num].reg_control->i2c_bits.start_busy); } static void _cyhal_i2c_wait_for_xfer_complete(cyhal_i2c_t *obj, uint32_t timeout_ms) { uint32_t wait_us = 1000; while (_cyhal_i2c_is_busy(obj)) { // Timeout of 0 means wait forever if (timeout_ms != 0UL) { cyhal_system_delay_us(1); if (wait_us-- == 0UL) { wait_us = 1000; if (timeout_ms-- == 0UL) break; } } } } static void _cyhal_i2c_set_divider(cyhal_i2c_t *obj, uint32_t frequency_hz) { // Refer to section 2.4.1.1 of 002-18042 uint32_t backpane_freq = cyhal_clock_get_frequency(&CYHAL_CLOCK_HT); uint32_t divider = backpane_freq / frequency_hz; if (backpane_freq % frequency_hz != 0) divider++; divider /= 4; divider -= 1; divider <<= GSIO_GD_SHIFT; divider &= GSIO_GD_MASK; *(i2c_gsio_regs[obj->resource.block_num].reg_clock_div) = divider; } /******************************************************************************* * System Power Management *******************************************************************************/ #define _CYHAL_I2C_PM_MASK (0x01UL) static uint32_t _cyhal_i2c_pm_state = 0UL; static bool _cyhal_i2c_pm_transition_pending = false; static bool _cyhal_i2c_pm_has_enabled(void) { for (uint8_t idx = 0; idx < _CYHAL_I2C_INSTANCES; idx++) { if ((_cyhal_i2c_pm_state >> idx) & _CYHAL_I2C_PM_MASK) return true; } return false; } static bool _cyhal_i2c_pm_callback(cyhal_syspm_callback_state_t state, cyhal_syspm_callback_mode_t mode, void* callback_arg) { CY_UNUSED_PARAMETER(state); CY_UNUSED_PARAMETER(callback_arg); switch(mode) { case CYHAL_SYSPM_CHECK_READY: _cyhal_i2c_pm_transition_pending = true; break; case CYHAL_SYSPM_CHECK_FAIL: case CYHAL_SYSPM_AFTER_TRANSITION: _cyhal_i2c_pm_transition_pending = false; break; default: break; } return true; } static cyhal_syspm_callback_data_t _cyhal_i2c_syspm_callback_data = { .callback = &_cyhal_i2c_pm_callback, .states = (cyhal_syspm_callback_state_t) (CYHAL_SYSPM_CB_CPU_DEEPSLEEP | CYHAL_SYSPM_CB_SYSTEM_HIBERNATE), .ignore_modes = (cyhal_syspm_callback_mode_t) 0, .args = NULL, .next = NULL }; /******************************************************************************* * HAL Implementation *******************************************************************************/ cy_rslt_t cyhal_i2c_init(cyhal_i2c_t *obj, cyhal_gpio_t sda, cyhal_gpio_t scl, const cyhal_clock_t *clk) { CY_ASSERT(NULL != obj); if (NULL != clk) return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; cy_rslt_t rslt = CY_RSLT_SUCCESS; obj->resource.type = CYHAL_RSC_INVALID; obj->pin_sda = NC; obj->pin_scl = NC; const cyhal_resource_pin_mapping_t *sda_map = _CYHAL_UTILS_GET_RESOURCE(sda, cyhal_pin_map_i2c_sda); const cyhal_resource_pin_mapping_t *scl_map = _CYHAL_UTILS_GET_RESOURCE(scl, cyhal_pin_map_i2c_scl); if ((NULL == sda_map) || (NULL == scl_map) || !_cyhal_utils_map_resources_equal(sda_map, scl_map)) { return CYHAL_I2C_RSLT_ERR_INVALID_PIN; } cyhal_resource_inst_t rsc = { CYHAL_RSC_I2C, sda_map->block_num, sda_map->channel_num }; rslt = cyhal_hwmgr_reserve(&rsc); cyhal_resource_inst_t pinRsc; if (rslt == CY_RSLT_SUCCESS) { obj->resource = rsc; pinRsc = (cyhal_resource_inst_t) { CYHAL_RSC_GPIO, sda, 0 }; rslt = cyhal_hwmgr_reserve(&pinRsc); if (rslt == CY_RSLT_SUCCESS) obj->pin_sda = sda; } if (rslt == CY_RSLT_SUCCESS) { pinRsc = (cyhal_resource_inst_t) { CYHAL_RSC_GPIO, scl, 0 }; rslt = cyhal_hwmgr_reserve(&pinRsc); if (rslt == CY_RSLT_SUCCESS) obj->pin_scl = scl; } if (rslt == CY_RSLT_SUCCESS) { _cyhal_system_pinmux_connect(sda_map->pin, sda_map->function); _cyhal_system_pinmux_connect(scl_map->pin, scl_map->function); // Initial values i2c_gsio_regs[obj->resource.block_num].reg_control->raw = _cyhal_i2c_control_reg_init.raw; _cyhal_i2c_set_divider(obj, _CYHAL_I2C_MASTER_DEFAULT_FREQ); obj->callback_data.callback = NULL; obj->callback_data.callback_arg = NULL; if (!_cyhal_i2c_pm_has_enabled()) { _cyhal_syspm_register_peripheral_callback(&_cyhal_i2c_syspm_callback_data); } _cyhal_i2c_pm_state |= (_CYHAL_I2C_PM_MASK << obj->resource.block_num); } if (rslt != CY_RSLT_SUCCESS) cyhal_i2c_free(obj); return rslt; } void cyhal_i2c_free(cyhal_i2c_t *obj) { CY_ASSERT(NULL != obj); if (obj->resource.type != CYHAL_RSC_INVALID) { cyhal_hwmgr_free(&(obj->resource)); obj->resource.type = CYHAL_RSC_INVALID; } _cyhal_utils_release_if_used(&(obj->pin_sda)); _cyhal_utils_release_if_used(&(obj->pin_scl)); _cyhal_i2c_pm_state &= ~(_CYHAL_I2C_PM_MASK << obj->resource.block_num); if (!_cyhal_i2c_pm_has_enabled()) { _cyhal_syspm_unregister_peripheral_callback(&_cyhal_i2c_syspm_callback_data); } } cy_rslt_t cyhal_i2c_configure(cyhal_i2c_t *obj, const cyhal_i2c_cfg_t *cfg) { CY_ASSERT(NULL != obj); CY_ASSERT(NULL != cfg); if ((cfg->is_slave) || (!cfg->is_slave && cfg->address != 0)) { return CYHAL_I2C_RSLT_ERR_BAD_ARGUMENT; } // According to the 43907 programmer's guide, only these 3 speeds are supported (LS, SS, HS) if ((cfg->frequencyhal_hz != 10000) && (cfg->frequencyhal_hz != 100000) && (cfg->frequencyhal_hz != 400000)) { return CYHAL_I2C_RSLT_ERR_CAN_NOT_REACH_DR; } _cyhal_i2c_set_divider(obj, cfg->frequencyhal_hz); return CY_RSLT_SUCCESS; } cy_rslt_t cyhal_i2c_master_write(cyhal_i2c_t *obj, uint16_t dev_addr, const uint8_t *data, uint16_t size, uint32_t timeout, bool send_stop) { CY_ASSERT(NULL != obj); CY_ASSERT(NULL != data); if (_cyhal_i2c_pm_transition_pending) return CYHAL_SYSPM_RSLT_ERR_PM_PENDING; // Skip sending device address if it is 0 if (dev_addr != 0) *(i2c_gsio_regs[obj->resource.block_num].reg_address) = dev_addr; cy_rslt_t result = CY_RSLT_SUCCESS; gsio_control_register_t control_reg; for (uint16_t i = 0; i < size; i++) { control_reg = _cyhal_i2c_control_reg_init; control_reg.i2c_bits.read = 0; // Write *(i2c_gsio_regs[obj->resource.block_num].reg_data) = (data[i] << 24); // Place data byte in upper byte of data register // First byte -> Generate STA if ((i == 0) && (dev_addr != 0)) { control_reg.i2c_bits.start_condition_and_address_size = 0b01; // STA with 7-bit address } // Last byte -> Generate STOP (if specified) if (send_stop && (i == size - 1)) { control_reg.i2c_bits.generate_stop_condition = 1; } control_reg.i2c_bits.start_busy = 1; i2c_gsio_regs[obj->resource.block_num].reg_control->raw = control_reg.raw; _cyhal_i2c_wait_for_xfer_complete(obj, timeout); // No ACK -> Error if (i2c_gsio_regs[obj->resource.block_num].reg_control->i2c_bits.ack_received == 1) { if (i < size - 1) { // Stop condition i2c_gsio_regs[obj->resource.block_num].reg_control->raw = _cyhal_i2c_control_reg_stop.raw; _cyhal_i2c_wait_for_xfer_complete(obj, timeout); } result = CYHAL_I2C_RSLT_ERR_NO_ACK; } else if (i2c_gsio_regs[obj->resource.block_num].reg_control->i2c_bits.command_error == 1) { // Note: Stop condition intentionally skipped as we immediately want to halt comms result = CYHAL_I2C_RSLT_ERR_CMD_ERROR; } } return result; } cy_rslt_t cyhal_i2c_master_read(cyhal_i2c_t *obj, uint16_t dev_addr, uint8_t *data, uint16_t size, uint32_t timeout, bool send_stop) { CY_ASSERT(NULL != obj); CY_ASSERT(NULL != data); if (_cyhal_i2c_pm_transition_pending) return CYHAL_SYSPM_RSLT_ERR_PM_PENDING; // Skip sending device address if it is 0 if (dev_addr != 0) *(i2c_gsio_regs[obj->resource.block_num].reg_address) = dev_addr; cy_rslt_t result = CY_RSLT_SUCCESS; gsio_control_register_t control_reg; for (uint16_t i = 0; i < size; i++) { control_reg = _cyhal_i2c_control_reg_init; control_reg.i2c_bits.read = 1; // Read *(i2c_gsio_regs[obj->resource.block_num].reg_data) = 0; // Zero out data register // First byte -> Generate STA if ((i == 0) && (dev_addr != 0)) { control_reg.i2c_bits.start_condition_and_address_size = 0b01; // STA with 7-bit address } // Last byte -> Generate STOP (if specified) if (send_stop && (i == size - 1)) { control_reg.i2c_bits.generate_stop_condition = 1; control_reg.i2c_bits.no_send_or_check_ack = 1; // Do not send ACK in this case } control_reg.i2c_bits.start_busy = 1; i2c_gsio_regs[obj->resource.block_num].reg_control->raw = control_reg.raw; _cyhal_i2c_wait_for_xfer_complete(obj, timeout); // First byte & no ACK -> Error if (i == 0 && size > 1 && i2c_gsio_regs[obj->resource.block_num].reg_control->i2c_bits.ack_received == 1) { // Stop condition i2c_gsio_regs[obj->resource.block_num].reg_control->raw = _cyhal_i2c_control_reg_stop.raw; _cyhal_i2c_wait_for_xfer_complete(obj, timeout); result = CYHAL_I2C_RSLT_ERR_NO_ACK; } else if (i2c_gsio_regs[obj->resource.block_num].reg_control->i2c_bits.command_error == 1) { // Note: Stop condition intentionally skipped as we immediately want to halt comms result = CYHAL_I2C_RSLT_ERR_CMD_ERROR; } data[i] = *(i2c_gsio_regs[obj->resource.block_num].reg_data) >> 24; // Data will be in upper byte of data register } return result; } cy_rslt_t cyhal_i2c_slave_config_write_buffer(cyhal_i2c_t *obj, const uint8_t *data, uint16_t size) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(data); CY_UNUSED_PARAMETER(size); return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; } cy_rslt_t cyhal_i2c_slave_config_read_buffer(cyhal_i2c_t *obj, uint8_t *data, uint16_t size) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(data); CY_UNUSED_PARAMETER(size); return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; } static cy_rslt_t _cyhal_i2c_master_mem_common(uint16_t mem_addr, uint16_t mem_addr_size, uint8_t *mem_addr_buf) { if (_cyhal_i2c_pm_transition_pending) return CYHAL_SYSPM_RSLT_ERR_PM_PENDING; if (mem_addr_size == 1) { mem_addr_buf[0] = (uint8_t) mem_addr; } else if (mem_addr_size == 2) { mem_addr_buf[0] = (uint8_t) (mem_addr >> 8); mem_addr_buf[1] = (uint8_t) mem_addr; } else { return CYHAL_I2C_RSLT_ERR_INVALID_ADDRESS_SIZE; } return CY_RSLT_SUCCESS; } cy_rslt_t cyhal_i2c_master_mem_write(cyhal_i2c_t *obj, uint16_t address, uint16_t mem_addr, uint16_t mem_addr_size, const uint8_t *data, uint16_t size, uint32_t timeout) { CY_ASSERT(NULL != obj); uint8_t mem_addr_buf[2]; cy_rslt_t status = _cyhal_i2c_master_mem_common(mem_addr, mem_addr_size, &mem_addr_buf[0]); if (status == CY_RSLT_SUCCESS) { status = cyhal_i2c_master_write(obj, address, mem_addr_buf, mem_addr_size, timeout, false); } if (status == CY_RSLT_SUCCESS) { // Note: Skip start and address status = cyhal_i2c_master_write(obj, 0, data, size, timeout, true); } return status; } cy_rslt_t cyhal_i2c_master_mem_read(cyhal_i2c_t *obj, uint16_t address, uint16_t mem_addr, uint16_t mem_addr_size, uint8_t *data, uint16_t size, uint32_t timeout) { CY_ASSERT(NULL != obj); uint8_t mem_addr_buf[2]; cy_rslt_t status = _cyhal_i2c_master_mem_common(mem_addr, mem_addr_size, &mem_addr_buf[0]); // Note: Need to generate stop bit as there's no repeat start on this device if (status == CY_RSLT_SUCCESS) { status = cyhal_i2c_master_write(obj, address, mem_addr_buf, mem_addr_size, timeout, true); } if (status == CY_RSLT_SUCCESS) { status = cyhal_i2c_master_read(obj, address, data, size, timeout, true); } return status; } cy_rslt_t cyhal_i2c_master_transfer_async(cyhal_i2c_t *obj, uint16_t address, const void *tx, size_t tx_size, void *rx, size_t rx_size) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(address); CY_UNUSED_PARAMETER(tx); CY_UNUSED_PARAMETER(tx_size); CY_UNUSED_PARAMETER(rx); CY_UNUSED_PARAMETER(rx_size); return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; } cy_rslt_t cyhal_i2c_abort_async(cyhal_i2c_t *obj) { CY_UNUSED_PARAMETER(obj); return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; } void cyhal_i2c_register_callback(cyhal_i2c_t *obj, cyhal_i2c_event_callback_t callback, void *callback_arg) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(callback); CY_UNUSED_PARAMETER(callback_arg); } void cyhal_i2c_enable_event(cyhal_i2c_t *obj, cyhal_i2c_event_t event, uint8_t intr_priority, bool enable) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(event); CY_UNUSED_PARAMETER(intr_priority); CY_UNUSED_PARAMETER(enable); } cy_rslt_t cyhal_i2c_set_fifo_level(cyhal_i2c_t *obj, cyhal_i2c_fifo_type_t type, uint16_t level) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(type); CY_UNUSED_PARAMETER(level); return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; } cy_rslt_t cyhal_i2c_enable_output(cyhal_i2c_t *obj, cyhal_i2c_output_t output, cyhal_source_t *source) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(output); CY_UNUSED_PARAMETER(source); return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; } cy_rslt_t cyhal_i2c_disable_output(cyhal_i2c_t *obj, cyhal_i2c_output_t output) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(output); return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; } cy_rslt_t cyhal_i2c_init_cfg(cyhal_i2c_t *obj, const cyhal_i2c_configurator_t *cfg) { CY_UNUSED_PARAMETER(obj); CY_UNUSED_PARAMETER(cfg); // No configurators supported on this architecture return CYHAL_I2C_RSLT_ERR_UNSUPPORTED; } #if defined(__cplusplus) } #endif
32.272269
169
0.659463
024b05cab94c67f7b596c5bc6ae790b005d06542
8,503
c
C
src/core/wallet/wallet.c
ngburke/polly
2234dd45eb2c69ef0b1d763d266e5aad4a4f8ab9
[ "MIT" ]
null
null
null
src/core/wallet/wallet.c
ngburke/polly
2234dd45eb2c69ef0b1d763d266e5aad4a4f8ab9
[ "MIT" ]
null
null
null
src/core/wallet/wallet.c
ngburke/polly
2234dd45eb2c69ef0b1d763d266e5aad4a4f8ab9
[ "MIT" ]
null
null
null
#include <wallet.h> #include <cmd.h> #include <assert.h> #include <crypto.h> #include <string.h> #include <words.h> #define CHAINS 2 static void seed_updated(void); static const uint8_t masterSeedKey[] = "Bitcoin seed"; static const uint8_t seed_default[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; static unsigned master_seed_bytes; static uint8_t master_seed [MASTER_SEED_BYTES]; static uint8_t master_priv_key [KEY_BYTES]; static uint8_t master_chain_code [KEY_BYTES]; static uint8_t account_priv_key [KEY_BYTES]; // Hardened static uint8_t account_chain_code [KEY_BYTES]; static uint8_t chain_priv_key [CHAINS][KEY_BYTES]; static uint8_t chain_chain_code [CHAINS][KEY_BYTES]; static uint8_t chain_pub_key_compress [CHAINS][COMPRESS_KEY_BYTES]; /* static uint8_t master_pub_key_x [KEY_BYTES]; static uint8_t master_pub_key_y [KEY_BYTES]; static uint8_t master_pub_key_compress [COMPRESS_KEY_BYTES]; */ static uint32_t swap_uint32(uint32_t val); uint32_t swap_uint32(uint32_t val) { val = ((val << 8) & 0xFF00FF00 ) | ((val >> 8) & 0xFF00FF ); return (val << 16) | (val >> 16); } void wallet_init(void) { // Default seed memcpy(master_seed, seed_default, sizeof(seed_default)); master_seed_bytes = sizeof(seed_default); seed_updated(); } void wallet_address_private_key_get(const uint32_t account, const uint32_t chain, const uint32_t index, uint8_t *priv_key, uint8_t *chain_code) { wallet_private_key_get(&chain_priv_key[chain][0], &chain_pub_key_compress[chain][0], &chain_chain_code[chain][0], index, priv_key, chain_code); } #define DATA_BYTES (COMPRESS_KEY_BYTES + 4) uint8_t data[DATA_BYTES]; void wallet_private_key_get(const uint8_t *parent_priv_key, const uint8_t *parent_pub_key_compress, const uint8_t *parent_chain_code, const uint32_t index, uint8_t *priv_key, uint8_t *chain_code) { uint32_t index_swap; uint8_t hash[SHA512_BYTES]; index_swap = swap_uint32(index); // Calculate the private key for keyNum if (index & HARDENED_KEY) { // Hardened derivation data[0] = 0; memcpy(&data[1], parent_priv_key, KEY_BYTES); memcpy(&data[COMPRESS_KEY_BYTES], &index_swap, sizeof(uint32_t)); } else { // Normal derivation assert(NULL != parent_pub_key_compress); memcpy(data, parent_pub_key_compress, COMPRESS_KEY_BYTES); memcpy(&data[COMPRESS_KEY_BYTES], &index_swap, sizeof(uint32_t)); } // Calculate the private key (exponent) and chain code crypto_hmac512(parent_chain_code, KEY_BYTES, data, DATA_BYTES, hash); // First 32 bytes of hash is I[L], the private key - use to get the final child key crypto_ecdsa_add256(hash, parent_priv_key, priv_key); // Second 32 bytes of hash is I[R], the child's chain code if (NULL != chain_code) { memcpy(chain_code, &hash[KEY_BYTES], KEY_BYTES); } } void wallet_public_key_get(const keytype_e type, const uint32_t account, const uint32_t chain, const uint32_t address, uint8_t *pubkey_x, uint8_t *pubkey_y, uint8_t *chaincode) { uint8_t priv_key[KEY_BYTES]; switch (type) { case KEY_MASTER: crypto_ecdsa_genpubkey(master_priv_key, pubkey_x, pubkey_y); // Not returning chain codes for master keys if (chaincode != NULL) memset(chaincode, 0, KEY_BYTES); break; case KEY_ACCOUNT: crypto_ecdsa_genpubkey(account_priv_key, pubkey_x, pubkey_y); if (chaincode != NULL) memcpy(chaincode, account_chain_code, KEY_BYTES); break; case KEY_CHAIN: crypto_ecdsa_genpubkey(chain_priv_key[chain], pubkey_x, pubkey_y); if (chaincode != NULL) memcpy(chaincode, chain_chain_code[chain], KEY_BYTES); break; case KEY_ADDRESS: // Calculate the private key wallet_private_key_get(chain_priv_key[chain], chain_pub_key_compress[chain], chain_chain_code[chain], address, priv_key, NULL); // Calculate the public key crypto_ecdsa_genpubkey(priv_key, pubkey_x, pubkey_y); // Not returning chain codes for address keys if (chaincode != NULL) memset(chaincode, 0, KEY_BYTES); break; default: assert(0); } } void wallet_public_key_to_hash160(const uint8_t *pubKeyX, const uint8_t *pubKeyY, uint8_t *hash160) { uint8_t pubKeyCompress[COMPRESS_KEY_BYTES]; uint8_t hash[SHA256_BYTES]; wallet_public_key_compress(pubKeyX, pubKeyY, pubKeyCompress); crypto_sha256(pubKeyCompress, sizeof(pubKeyCompress), hash); crypto_ripemd160(hash, SHA256_BYTES, hash160); } void wallet_master_seed_set(const char *wordlist, const unsigned bytes) { assert(bytes <= WORDLIST_MAX_CHARS); // Convert the 18 word mnemonic wordlist into 64 byte seed crypto_pbkdf2_hmac256((uint8_t*)wordlist, bytes, "polly", sizeof("polly") - 1, SEED_ROUNDS, master_seed, sizeof(master_seed)); master_seed_bytes = MASTER_SEED_BYTES; // Regenerate the wallet based on the new seed seed_updated(); } void wallet_master_seed_get(uint8_t seed[MASTER_SEED_BYTES], unsigned *bytes) { memcpy(seed, master_seed, master_seed_bytes); *bytes = master_seed_bytes; } void wallet_public_key_compress(const uint8_t *pubKeyX, const uint8_t *pubKeyY, uint8_t *compressed) { compressed[0] = pubKeyY[KEY_BYTES - 1] & 1 ? 0x03 : 0x02; memcpy(&compressed[1], pubKeyX, KEY_BYTES); } #define BASE58_INPUT_BYTES 21 #define BASE58_CHECK_BYTES 4 void wallet_base58_encode(const uint8_t *data, const unsigned data_bytes, char *str, const unsigned str_bytes) { const char base58[] = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; uint8_t chk_data[BASE58_INPUT_BYTES + BASE58_CHECK_BYTES]; uint8_t hash[SHA256_BYTES]; unsigned i, j, tmp, remain; char c; // Only expecting to build up from a RIPEMD-160 (plus version byte) bitcoin address assert(BASE58_INPUT_BYTES == data_bytes); assert(BASE58_ADDR_BYTES == str_bytes); crypto_sha256(data, data_bytes, hash); crypto_sha256(hash, SHA256_BYTES, hash); memcpy(chk_data, data, data_bytes); // Add on the checksum memcpy(&chk_data[data_bytes], hash, 4); for (i = 0; i < BASE58_ADDR_BYTES; i++) { remain = chk_data[0] % 58; chk_data[0] /= 58; for (j = 1; j < data_bytes + 4; j++) { tmp = remain * 24 + chk_data[j]; // 2^8 == 4*58 + 24 chk_data[j] = remain * 4 + (tmp / 58); remain = tmp % 58; } str[i] = base58[remain]; } // Reverse string for (i = 0; i < str_bytes / 2; i++) { c = str[i]; str[i] = str[str_bytes - 1 - i]; str[str_bytes - 1 - i] = c; } } static void seed_updated(void) { unsigned i; uint8_t hash[SHA512_BYTES]; uint8_t pub_key_x[KEY_BYTES]; uint8_t pub_key_y[KEY_BYTES]; uint8_t account_pub_key_compress[COMPRESS_KEY_BYTES]; // Assumes that the new seed is already copied into the masterSeed global // Calculate the master private key (exponent) and master chain code crypto_hmac512(masterSeedKey, sizeof(masterSeedKey) - 1, master_seed, master_seed_bytes, hash); memcpy(master_priv_key, hash, 32); memcpy(master_chain_code, &hash[32], 32); // Calculate the account keys wallet_private_key_get(master_priv_key, NULL, master_chain_code, HARDENED_KEY | 0, account_priv_key, account_chain_code); crypto_ecdsa_genpubkey(account_priv_key, pub_key_x, pub_key_y); wallet_public_key_compress(pub_key_x, pub_key_y, account_pub_key_compress); // Calculate the chain keys for (i = 0; i < CHAINS; i++) { wallet_private_key_get(account_priv_key, account_pub_key_compress, account_chain_code, i, chain_priv_key[i], chain_chain_code[i]); crypto_ecdsa_genpubkey(chain_priv_key[i], pub_key_x, pub_key_y); wallet_public_key_compress(pub_key_x, pub_key_y, chain_pub_key_compress[i]); } /* // Calculate the master public key, and calculate the compressed form crypto_ecdsa_genpubkey(master_priv_key, master_pub_key_x, master_pub_key_y); wallet_public_key_compress(master_pub_key_x, master_pub_key_y, master_pub_key_compress); */ }
31.376384
195
0.684229
cb92c076b4c5e6291f8f1bfc583ec74d62608b92
1,438
h
C
System/Library/PrivateFrameworks/WorkflowUI.framework/WFPinnedScrollPosition.h
lechium/iOS1351Headers
6bed3dada5ffc20366b27f7f2300a24a48a6284e
[ "MIT" ]
2
2021-11-02T09:23:27.000Z
2022-03-28T08:21:57.000Z
System/Library/PrivateFrameworks/WorkflowUI.framework/WFPinnedScrollPosition.h
lechium/iOS1351Headers
6bed3dada5ffc20366b27f7f2300a24a48a6284e
[ "MIT" ]
null
null
null
System/Library/PrivateFrameworks/WorkflowUI.framework/WFPinnedScrollPosition.h
lechium/iOS1351Headers
6bed3dada5ffc20366b27f7f2300a24a48a6284e
[ "MIT" ]
1
2022-03-28T08:21:59.000Z
2022-03-28T08:21:59.000Z
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:18:16 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/WorkflowUI.framework/WorkflowUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. Updated by Kevin Bradley. */ #import <WorkflowUI/WorkflowUI-Structs.h> @class WFScrollPositionPinningCollectionView, UIView; @interface WFPinnedScrollPosition : NSObject { WFScrollPositionPinningCollectionView* _scrollView; UIView* _view; CGPoint _center; } @property (nonatomic,__weak,readonly) WFScrollPositionPinningCollectionView * scrollView; //@synthesize scrollView=_scrollView - In the implementation block @property (nonatomic,readonly) UIView * view; //@synthesize view=_view - In the implementation block @property (nonatomic,readonly) CGPoint center; //@synthesize center=_center - In the implementation block -(CGPoint)center; -(UIView *)view; -(WFScrollPositionPinningCollectionView *)scrollView; -(id)initWithScrollView:(id)arg1 view:(id)arg2 ; -(CGRect)adjustedBounds:(CGRect)arg1 contentSize:(CGSize)arg2 ; @end
46.387097
169
0.648122
f208b10f5326d968bfb87a2a9cd03ba79dcfc740
851
h
C
City.signed/Coordinate.h
NirajDharamshi/Cplusplus
db085cff4310bc6b672990b3e1f607975022a64b
[ "Apache-2.0" ]
null
null
null
City.signed/Coordinate.h
NirajDharamshi/Cplusplus
db085cff4310bc6b672990b3e1f607975022a64b
[ "Apache-2.0" ]
null
null
null
City.signed/Coordinate.h
NirajDharamshi/Cplusplus
db085cff4310bc6b672990b3e1f607975022a64b
[ "Apache-2.0" ]
null
null
null
#ifndef COORDINATE_H_ #define COORDINATE_H_ #include <iostream> #include <string> using namespace std; /** * A geographic coordinate. */ class Coordinate { public: /***** Commplete this class. *****/ double get_latitude() const; double get_longitude() const; void set_latitude(double lat); void set_longitude(double lon); /** * Overloaded input stream extraction operator * to read a coordinate from an input stream. * @param ins the input stream. * @param coordinate the coordinate to read. * @return the input stream. */ friend istream& operator >>(istream& ins, Coordinate& coordinate); // Constants for this app's input data. static const double MAX_LATITUDE; static const double MIN_LONGITUDE; private: double latitude; double longitude; }; #endif /* COORDINATE_H_ */
20.756098
70
0.685076
85c56d64133ca867fd6fb71655abc254a49f09c8
762
h
C
Interrupts/Dio.h
MohamadElbadry/AVR-Interfacing
3d091095fe6ea1d7d25962245b80403c2436975a
[ "MIT" ]
null
null
null
Interrupts/Dio.h
MohamadElbadry/AVR-Interfacing
3d091095fe6ea1d7d25962245b80403c2436975a
[ "MIT" ]
null
null
null
Interrupts/Dio.h
MohamadElbadry/AVR-Interfacing
3d091095fe6ea1d7d25962245b80403c2436975a
[ "MIT" ]
null
null
null
/* * DIO.h * * Created on: Apr 12, 2019 * Author: medos */ #ifndef DIO_H_ #define DIO_H_ #include"std_type1.h" #include"util.h" #include"REGISTERS.h" void Dio_SetPinDirection(u8 port , u8 pin , u8 direction ) ; void Dio_WritePin(u8 port , u8 pin , u8 level ); u8 Dio_ReadPin(u8 port , u8 pin ); void Dio_SetPortDirection(u8 port , u8 direction ); void Dio_WritePort(u8 port , u8 level ); u8 Dio_ReadPort(u8 port ); #define PHY_PORTA 1 #define PHY_PORTB 2 #define PHY_PORTC 3 #define PHY_PORTD 4 #define INPUT_DIRECTION 0 #define OUTPUT_DIRECTION 1 #define HIGH_LEVEL 1 #define LOW_LEVEL 0 #define PIN_0 0 #define PIN_1 1 #define PIN_2 2 #define PIN_3 3 #define PIN_4 4 #define PIN_5 5 #define PIN_6 6 #define PIN_7 7 #endif /* DIO_H_ */
21.166667
60
0.716535
e266306b7fdb422500bc1372b8b0162416e37f5e
368
h
C
sessionDownload/downloadCeshi/Views/ListCell.h
ZB0106/SessionDownload
ca910fb1c5845f2ab8b6b7add86c099914d264ed
[ "MIT" ]
11
2017-03-30T04:43:17.000Z
2021-02-23T02:22:32.000Z
sessionDownload/downloadCeshi/Views/ListCell.h
ZB0106/SessionDownload
ca910fb1c5845f2ab8b6b7add86c099914d264ed
[ "MIT" ]
2
2017-05-08T06:40:18.000Z
2017-07-07T04:16:11.000Z
sessionDownload/downloadCeshi/Views/ListCell.h
ZB0106/SessionDownload
ca910fb1c5845f2ab8b6b7add86c099914d264ed
[ "MIT" ]
2
2017-09-19T06:55:18.000Z
2021-03-11T03:53:18.000Z
// // ListCell.h // downloadCeshi // // Created by 瞄财网 on 2017/3/15. // Copyright © 2017年 瞄财网. All rights reserved. // #import <UIKit/UIKit.h> @interface ListCell : UITableViewCell @property (weak, nonatomic) IBOutlet UILabel *titleLabel; @property (weak, nonatomic) IBOutlet UIButton *downloadBtn; @property (nonatomic, copy) void(^downloadCallBack)(); @end
19.368421
59
0.717391
d9ee0d3798f07e471fe115ff1fab5a0fa6d26925
1,854
h
C
src/math/MPlane.h
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/math/MPlane.h
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/math/MPlane.h
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
/* * File: MPlane.h * Author: serserar * * Created on July 23, 2014, 5:54 PM */ #ifndef MPLANE_H #define MPLANE_H #include "MVector3.h" template <class Real> class MPlane { public: MPlane(); MPlane(const MPlane& orig); MPlane(MVector3<Real>& normal, MVector3<Real> origin); MPlane(Real x, Real y, Real z, MVector3<Real> origin); virtual ~MPlane()=default; MVector3<Real> GetNormal(); MVector3<Real> GetDistance(); bool IntersectsRay(MVector3<Real>& rayOrigin, MVector3<Real>& rayDest, MVector3<Real>& intersectionPoint); private: MVector3<Real> normal; MVector3<Real> origin; }; template<class Real> MPlane<Real>::MPlane() { } template<class Real> MPlane<Real>::MPlane(const MPlane<Real>& orig) { this->normal = orig.normal; this->origin = orig.origin; } template<class Real> MPlane<Real>::MPlane(MVector3<Real>& normal, MVector3<Real> origin) { this->normal = normal; this->origin = origin; } template<class Real> MPlane<Real>::MPlane(Real x, Real y, Real z, MVector3<Real> origin) { this->normal.setX(x); this->normal.setY(y); this->normal.setZ(z); this->origin = origin; } template<class Real> MVector3<Real> MPlane<Real>::GetNormal() { return normal; } template<class Real> MVector3<Real> MPlane<Real>::GetDistance() { return this->origin; } template<class Real> bool MPlane<Real>::IntersectsRay(MVector3<Real>& rayOrigin, MVector3<Real>& rayDest, MVector3<Real>& intersectionPoint) { //t=(p0−l0).n/l⋅n Real t = (origin-rayOrigin).dotProduct(normal)/normal.dotProduct(rayDest); intersectionPoint.SetX(rayOrigin.GetX() + rayDest.GetX() * t); intersectionPoint.SetY(rayOrigin.GetY() + rayDest.GetY() * t); intersectionPoint.SetZ(rayOrigin.GetZ() + rayDest.GetZ() * t); return t > 0;//if exist constant t } #endif /* MPLANE_H */
24.077922
119
0.68069
69e375daff7c3a94291d013962c46225db5ecfd5
3,968
h
C
src/utils/ceph_utf8.h
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
1
2021-01-11T14:19:51.000Z
2021-01-11T14:19:51.000Z
src/utils/ceph_utf8.h
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
src/utils/ceph_utf8.h
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
/* * Ceph - scalable distributed file system * * Copyright (C) 2011 New Dream Network * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See file COPYING. * */ /**************************************************************************** Copyright (c) 2014 cocos2d-x.org Copyright (c) 2014-2017 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ // ceph/src/common/utf8.h // cocos2d-x/cocos/base/ccUTF8.h #ifndef BUBBLEFS_UTILS_CEPH_UTF8_H_ #define BUBBLEFS_UTILS_CEPH_UTF8_H_ #include <locale> #include <string> #include <sstream> #include <vector> namespace bubblefs { namespace myceph { /* Checks if a buffer is valid UTF-8. * Returns 0 if it is, and one plus the offset of the first invalid byte * if it is not. */ int check_utf8(const char *buf, int len); /* Checks if a null-terminated string is valid UTF-8. * Returns 0 if it is, and one plus the offset of the first invalid byte * if it is not. */ int check_utf8_cstr(const char *buf); /* Returns true if 'ch' is a control character. * We do count newline as a control character, but not NULL. */ int is_control_character(int ch); /* Checks if a buffer contains control characters. */ int check_for_control_characters(const char *buf, int len); /* Checks if a null-terminated string contains control characters. */ int check_for_control_characters_cstr(const char *buf); /* Encode a 31-bit UTF8 code point to 'buf'. * Assumes buf is of size MAX_UTF8_SZ * Returns -1 on failure; number of bytes in the encoded value otherwise. */ int encode_utf8(unsigned long u, unsigned char *buf); /* * Decode a UTF8 character from an array of bytes. Return character code. * Upon error, return INVALID_UTF8_CHAR. */ unsigned long decode_utf8(unsigned char *buf, int nbytes); /** * @brief Trims the unicode spaces at the end of char16_t vector. */ void trimUTF16Vector(std::vector<char16_t>& str); /** * @brief Trims the unicode spaces at the end of char32_t vector. */ void trimUTF32Vector(std::vector<char32_t>& str); /** * @brief Whether the character is a whitespace character. * @param ch The unicode character. * @returns Whether the character is a white space character. * * @see http://en.wikipedia.org/wiki/Whitespace_character#Unicode * */ bool isUnicodeSpace(char32_t ch); /** * @brief Whether the character is a Chinese/Japanese/Korean character. * @param ch The unicode character. * @returns Whether the character is a Chinese character. * * @see http://www.searchtb.com/2012/04/chinese_encode.html * @see http://tieba.baidu.com/p/748765987 * */ bool isCJKUnicode(char32_t ch); } // namespace myceph } // namespace bubblefs #endif // BUBBLEFS_UTILS_CEPH_UTF8_H_
33.627119
78
0.715222
a800e25790e8fe4d40579f465623a6adabb563ba
370
h
C
src/compiler/headers/functions/FuncAddToMap.h
MYnimef/dsl
9f07337423b37b41c76e4b1be4eb15cd5534260b
[ "MIT" ]
null
null
null
src/compiler/headers/functions/FuncAddToMap.h
MYnimef/dsl
9f07337423b37b41c76e4b1be4eb15cd5534260b
[ "MIT" ]
null
null
null
src/compiler/headers/functions/FuncAddToMap.h
MYnimef/dsl
9f07337423b37b41c76e4b1be4eb15cd5534260b
[ "MIT" ]
null
null
null
// // Created by Ivan Markov on 28.04.2022. // #pragma once #include "ExpFuncCustom.h" class FuncAddToMap final: public ExpFuncCustom { public: explicit FuncAddToMap(); ~FuncAddToMap() override; void action(const std::map<std::string, Var*>& params, std::stack<Var*>& stack) const override; [[nodiscard]] std::string toString() const override; };
18.5
99
0.686486
e014d54f77248b9ea3b5afbcb643448582a9f7d9
34,436
c
C
lib/restapidef.c
ppadmavilasom/copenapi
f01cb873a77cc968f6a52fbe3c13d3fb5a5f4a11
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
lib/restapidef.c
ppadmavilasom/copenapi
f01cb873a77cc968f6a52fbe3c13d3fb5a5f4a11
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
lib/restapidef.c
ppadmavilasom/copenapi
f01cb873a77cc968f6a52fbe3c13d3fb5a5f4a11
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright © 2016-2017 VMware, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, without * warranties or conditions of any kind, EITHER EXPRESS OR IMPLIED. See the * License for the specific language governing permissions and limitations * under the License. */ #include "includes.h" uint32_t coapi_load_modules( json_t *pRoot, PREST_API_MODULE *ppApiModules ) { uint32_t dwError = 0; json_t *pTags = NULL; json_t *pTag = NULL; int i = 0; PREST_API_MODULE pApiModules = NULL; PREST_API_MODULE pApiModule = NULL; if(!pRoot || !ppApiModules) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } pTags = json_object_get(pRoot, "tags"); if(!pTags) { dwError = ENODATA; BAIL_ON_ERROR(dwError); } json_array_foreach(pTags, i, pTag) { json_t *pDescription = NULL; json_t *pName = json_object_get(pTag, "name"); if(!pName) { fprintf(stderr, "name not found for tag in api def\n"); dwError = EINVAL; BAIL_ON_ERROR(dwError); } dwError = coapi_allocate_memory(sizeof(REST_API_MODULE), (void **)&pApiModule); BAIL_ON_ERROR(dwError); dwError = coapi_allocate_string(json_string_value(pName), &pApiModule->pszName); BAIL_ON_ERROR(dwError); dwError = json_safe_get_string_value( pTag, "description", &pApiModule->pszDescription); BAIL_ON_ERROR(dwError); pApiModule->pNext = pApiModules; pApiModules = pApiModule; pApiModule = NULL; } *ppApiModules = pApiModules; cleanup: return dwError; error: if(ppApiModules) { *ppApiModules = NULL; } coapi_free_api_module(pApiModules); coapi_free_api_module(pApiModule); goto cleanup; } uint32_t coapi_replace_endpoint_path( const char *pszActualName, PREST_API_PARAM pApiParams, char **ppszName ) { uint32_t dwError = 0; char *pszName = NULL; char *pszNameTemp = NULL; char *pszPath = NULL; PREST_API_PARAM pApiParam = NULL; if(IsNullOrEmptyString(pszActualName) || !ppszName) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } for(pApiParam = pApiParams; pApiParam; pApiParam = pApiParam->pNext) { if(strcmp(pApiParam->pszIn, "path")) { continue; } dwError = coapi_allocate_string_printf( &pszPath, "{%s}", pApiParam->pszName); BAIL_ON_ERROR(dwError); dwError = string_replace( pszActualName, pszPath, "*", &pszNameTemp); if(dwError == ENOENT) { fprintf(stderr, "path '%s' specified with bad path string: %s\n", pApiParam->pszName, pszActualName); } BAIL_ON_ERROR(dwError); SAFE_FREE_MEMORY(pszName); pszName = pszNameTemp; pszNameTemp = NULL; SAFE_FREE_MEMORY(pszPath); pszPath = NULL; } if(!pszName) { dwError = coapi_allocate_string(pszActualName, &pszName); BAIL_ON_ERROR(dwError); } *ppszName = pszName; cleanup: SAFE_FREE_MEMORY(pszNameTemp); SAFE_FREE_MEMORY(pszPath); return dwError; error: if(ppszName) { *ppszName = NULL; } SAFE_FREE_MEMORY(pszName); goto cleanup; } /* static int IsPathParam(const char *pszParam) { size_t len = strlen(pszParam); if (len == 0) return 0; return (*pszParam == '{' && pszParam[len-1] == '}'); } */ uint32_t coapi_load_endpoints( json_t *pRoot, const char *pszBasePath, PREST_API_MODULE pApiModules ) { uint32_t dwError = 0; json_t *pPaths = NULL; json_t *pPath = NULL; const char *pszKey = NULL; PREST_API_ENDPOINT pEndPoint = NULL; PREST_API_METHOD pRestMethod = NULL; char *pszPathCommand = NULL; if(!pRoot || !pszBasePath || !pApiModules) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } pPaths = json_object_get(pRoot, "paths"); if(!pPaths) { fprintf(stderr, "paths not found in api def\n"); dwError = EINVAL; BAIL_ON_ERROR(dwError); } json_object_foreach(pPaths, pszKey, pPath) { const char *pszMethod = NULL; json_t *pMethod = NULL; PREST_API_MODULE pModule = NULL; const char *pszCmdStart = NULL; dwError = coapi_allocate_memory(sizeof(REST_API_ENDPOINT), (void **)&pEndPoint); BAIL_ON_ERROR(dwError); pszCmdStart = strrchr(pszKey, URL_SEPARATOR); pszCmdStart = pszCmdStart ? pszCmdStart + 1 : pszKey; dwError = coapi_allocate_string(pszCmdStart, &pEndPoint->pszCommandName); BAIL_ON_ERROR(dwError); dwError = coapi_allocate_string_printf(&pEndPoint->pszActualName, "%s%s", pszBasePath, pszKey); BAIL_ON_ERROR(dwError); json_object_foreach(pPath, pszMethod, pMethod) { RESTMETHOD nMethod = METHOD_INVALID; pRestMethod = NULL; dwError = coapi_get_rest_method(pszMethod, &nMethod); BAIL_ON_ERROR(dwError); if(pEndPoint->pMethods[nMethod]) { printf("error entry already exists\n"); dwError = EEXIST; BAIL_ON_ERROR(dwError); } dwError = coapi_allocate_memory(sizeof(REST_API_METHOD), (void **)&pRestMethod); BAIL_ON_ERROR(dwError); dwError = coapi_allocate_string( pszMethod, &pRestMethod->pszMethod); BAIL_ON_ERROR(dwError); dwError = json_safe_get_string_value( pMethod, "summary", &pRestMethod->pszSummary); BAIL_ON_ERROR(dwError); dwError = json_safe_get_string_value( pMethod, "description", &pRestMethod->pszDescription); BAIL_ON_ERROR(dwError); pRestMethod->nMethod = nMethod; dwError = coapi_load_parameters(pMethod, pEndPoint, &pRestMethod->pParams); if(dwError == ENODATA) { dwError = 0;//allow no params } BAIL_ON_ERROR(dwError); dwError = json_safe_get_string_value( pMethod, "operationId", &pRestMethod->pszOperationId); BAIL_ON_ERROR(dwError); if(IsNullOrEmptyString(pEndPoint->pszName)) { dwError = coapi_replace_endpoint_path( pEndPoint->pszActualName, pRestMethod->pParams, &pEndPoint->pszName); BAIL_ON_ERROR(dwError); pEndPoint->nHasPathSubs = strcmp(pEndPoint->pszActualName, pEndPoint->pszName) != 0; } pEndPoint->pMethods[nMethod] = pRestMethod; pRestMethod = NULL; if(!pModule) { //find the module tagged dwError = coapi_find_tagged_module(pMethod, pApiModules, &pModule); if(dwError == ENODATA) { pModule = pApiModules; dwError = 0; } BAIL_ON_ERROR(dwError); } } dwError = coapi_module_add_endpoint(pModule, pEndPoint); BAIL_ON_ERROR(dwError); } cleanup: free(pszPathCommand); return dwError; error: coapi_free_api_endpoint(pEndPoint); coapi_free_api_method(pRestMethod); goto cleanup; } uint32_t coapi_fill_enum( json_t *pJsonEnum, int *pnOptionCount, char ***pppszOptions ) { uint32_t dwError = 0; int i = 0; int nOptionCount = 0; json_t *pEnumValue = NULL; char **ppszOptions = NULL; if(!pJsonEnum || !pppszOptions || !pnOptionCount) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } nOptionCount = json_array_size(pJsonEnum); if(nOptionCount <= 0) { dwError = ENODATA; BAIL_ON_ERROR(dwError); } dwError = coapi_allocate_memory(sizeof(char *) * nOptionCount, (void **)&ppszOptions); BAIL_ON_ERROR(dwError); json_array_foreach(pJsonEnum, i, pEnumValue) { dwError = coapi_allocate_string( json_string_value(pEnumValue), &ppszOptions[i]); BAIL_ON_ERROR(dwError); } *pnOptionCount = nOptionCount; *pppszOptions = ppszOptions; cleanup: return dwError; error: if(dwError == ENODATA) { dwError = 0; } if(pppszOptions) { *pppszOptions = NULL; } if(pnOptionCount) { *pnOptionCount = 0; } coapi_free_string_array_with_count(ppszOptions, nOptionCount); goto cleanup; } uint32_t coapi_has_path_param( PREST_API_ENDPOINT pEndpoint, const char *pszParam, int *phasParam ) { uint32_t dwError = 0; int hasParam = 0; char *paramFormatted = NULL; if (!pEndpoint || IsNullOrEmptyString(pszParam) || !phasParam) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } dwError = coapi_allocate_string_printf(&paramFormatted, "{%s}", pszParam); BAIL_ON_ERROR(dwError); if (strstr(pEndpoint->pszActualName, paramFormatted)) { hasParam = 1; } *phasParam = hasParam; cleanup: SAFE_FREE_MEMORY(paramFormatted); return dwError; error: goto cleanup; } uint32_t coapi_load_parameters( json_t *pMethod, PREST_API_ENDPOINT pEndpoint, PREST_API_PARAM *ppParams ) { uint32_t dwError = 0; int i = 0; PREST_API_PARAM pParams = NULL; PREST_API_PARAM pParam = NULL; json_t *pJsonParams = NULL; json_t *pJsonParam = NULL; int hasParam = 0; if(!pMethod || !pEndpoint || !ppParams) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } pJsonParams = json_object_get(pMethod, "parameters"); if(!pJsonParams) { dwError = ENODATA; BAIL_ON_ERROR(dwError); } json_array_foreach(pJsonParams, i, pJsonParam) { json_t *pTemp = NULL; dwError = coapi_allocate_memory(sizeof(REST_API_PARAM), (void **)&pParam); BAIL_ON_ERROR(dwError); pTemp = json_object_get(pJsonParam, "name"); if(pTemp) { dwError = coapi_allocate_string(json_string_value(pTemp), &pParam->pszName); BAIL_ON_ERROR(dwError); } else { fprintf(stderr, "parameter: missing required field - name\n"); dwError = EINVAL; BAIL_ON_ERROR(dwError); } pTemp = json_object_get(pJsonParam, "in"); if(pTemp) { dwError = coapi_allocate_string(json_string_value(pTemp), &pParam->pszIn); BAIL_ON_ERROR(dwError); } else { /* assume path if "in" is missing */ dwError = coapi_has_path_param(pEndpoint, pParam->pszName, &hasParam); if (dwError) { fprintf(stderr, "parameter: %s missing required field - in\n", pParam->pszName); BAIL_ON_ERROR(dwError); } if (hasParam) { /* fprintf(stderr, "parameter: %s missing required field - in. assuming path\n", pParam->pszName); */ dwError = coapi_allocate_string("path", &pParam->pszIn); BAIL_ON_ERROR(dwError); } else { /* fprintf(stderr, "parameter: %s missing required field - in. assuming query\n", pParam->pszName); */ dwError = coapi_allocate_string("query", &pParam->pszIn); BAIL_ON_ERROR(dwError); } } pTemp = json_object_get(pJsonParam, "required"); if(pTemp) { pParam->nRequired = json_is_true(pTemp); } pTemp = json_object_get(pJsonParam, "type"); if(pTemp) { dwError = coapi_get_rest_type(json_string_value(pTemp), &pParam->nType); BAIL_ON_ERROR(dwError); } pTemp = json_object_get(pJsonParam, "enum"); if(pTemp) { dwError = coapi_fill_enum(pTemp, &pParam->nOptionCount, &pParam->ppszOptions); BAIL_ON_ERROR(dwError); } pParam->pNext = pParams; pParams = pParam; pParam = NULL; } *ppParams = pParams; cleanup: return dwError; error: if(ppParams) { *ppParams = NULL; } coapi_free_api_param(pParams); coapi_free_api_param(pParam); goto cleanup; } uint32_t coapi_load_secure_scheme( json_t *pRoot, int *pnHasSecureScheme ) { uint32_t dwError = 0; json_t *pSchemes = NULL; json_t *pScheme = NULL; int i = 0; int nHasSecureScheme = 0; if(!pRoot || !pnHasSecureScheme) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } pSchemes = json_object_get(pRoot, "schemes"); if(!pSchemes) { dwError = ENODATA; BAIL_ON_ERROR(dwError); } if(!json_is_array(pSchemes)) { fprintf(stderr, "schemes is not a json array\n"); dwError = EINVAL; BAIL_ON_ERROR(dwError); } json_array_foreach(pSchemes, i, pScheme) { const char *pszScheme = json_string_value(pScheme); if(IsNullOrEmptyString(pszScheme)) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } if(!strcasecmp("https", pszScheme)) { nHasSecureScheme = 1; break; } } *pnHasSecureScheme = nHasSecureScheme; cleanup: return dwError; error: if(pnHasSecureScheme) { *pnHasSecureScheme = 0; } goto cleanup; } uint32_t coapi_module_add_endpoint( PREST_API_MODULE pModule, PREST_API_ENDPOINT pEndPoint ) { uint32_t dwError = 0; PREST_API_ENDPOINT pEndPoints = NULL; if(!pModule || !pEndPoint) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } pEndPoints = pModule->pEndPoints; while(pEndPoints && pEndPoints->pNext) { pEndPoints = pEndPoints->pNext; } if(pEndPoints) { pEndPoints->pNext = pEndPoint; } else { pModule->pEndPoints = pEndPoint; } cleanup: return dwError; error: goto cleanup; } uint32_t coapi_find_tagged_module( json_t *pPath, PREST_API_MODULE pModules, PREST_API_MODULE *ppModule ) { uint32_t dwError = 0; int nTagEntries = 0; PREST_API_MODULE pModule = NULL; PREST_API_MODULE pModuleTemp = NULL; json_t *pTags = NULL; json_t *pTag = NULL; const char *pszTag = NULL; if(!pPath || !pModules || !ppModule) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } pTags = json_object_get(pPath, "tags"); if(!pTags) { dwError = ENODATA; BAIL_ON_ERROR(dwError); } if(!json_is_array(pTags)) { fprintf(stderr, "tags is not a json array\n"); dwError = EINVAL; BAIL_ON_ERROR(dwError); } nTagEntries = json_array_size(pTags); if(nTagEntries < 1) { fprintf(stderr, "there are no tag entries for this end point\n"); dwError = ENODATA; BAIL_ON_ERROR(dwError); } else if(nTagEntries > 1) { fprintf(stdout, "there are more than one tag entries. using first entry\n"); } pTag = json_array_get(pTags, 0); if(!pTag) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } pszTag = json_string_value(pTag); if(!pszTag) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } dwError = coapi_find_module_by_name(pszTag, pModules, &pModule); BAIL_ON_ERROR(dwError); *ppModule = pModule; cleanup: return dwError; error: if(ppModule) { *ppModule = NULL; } goto cleanup; } uint32_t coapi_find_module_by_name( const char *pszName, PREST_API_MODULE pModules, PREST_API_MODULE *ppModule ) { uint32_t dwError = 0; PREST_API_MODULE pModule = NULL; if(!pszName || !pModules || !ppModule) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } while(pModules) { if(!strcasecmp(pModules->pszName, pszName)) { pModule = pModules; break; } pModules = pModules->pNext; } if(!pModule) { dwError = ENODATA; BAIL_ON_ERROR(dwError); } *ppModule = pModule; cleanup: return dwError; error: if(ppModule) { *ppModule = NULL; } goto cleanup; } uint32_t coapi_add_default_module( const char *pszModuleName, PREST_API_MODULE *ppApiModules ) { uint32_t dwError = 0; PREST_API_MODULE pApiModule = NULL; if(IsNullOrEmptyString(pszModuleName) || !ppApiModules) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } dwError = coapi_allocate_memory(sizeof(REST_API_MODULE), (void **)&pApiModule); BAIL_ON_ERROR(dwError); dwError = coapi_allocate_string(pszModuleName, &pApiModule->pszName); BAIL_ON_ERROR(dwError); dwError = coapi_allocate_string( "default module", &pApiModule->pszDescription); BAIL_ON_ERROR(dwError); *ppApiModules = pApiModule; cleanup: return dwError; error: if(ppApiModules) { *ppApiModules = NULL; } coapi_free_api_module(pApiModule); goto cleanup; } uint32_t coapi_find_endpoint_by_name( const char *pszName, PREST_API_ENDPOINT pEndPoints, PREST_API_ENDPOINT *ppEndPoint ) { uint32_t dwError = 0; PREST_API_ENDPOINT pEndPoint = NULL; if(!pszName || !pEndPoints || !ppEndPoint) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } while(pEndPoints) { if(!strcasecmp(pEndPoints->pszName, pszName)) { pEndPoint = pEndPoints; break; } if(pEndPoints->nHasPathSubs) { //Maybe provide config to match with FNM_PATHNAME //cant make it default because //{path} to /path1/path2 will not match because of the "/" if(!fnmatch(pEndPoints->pszName, pszName, 0)) { pEndPoint = pEndPoints; break; } } pEndPoints = pEndPoints->pNext; } if(!pEndPoint) { dwError = ENOENT; BAIL_ON_ERROR(dwError); } *ppEndPoint = pEndPoint; cleanup: return dwError; error: if(ppEndPoint) { *ppEndPoint = NULL; } goto cleanup; } uint32_t coapi_find_module_impl_by_name( const char *pszName, PREST_MODULE pModules, PREST_MODULE *ppModule ) { uint32_t dwError = 0; PREST_MODULE pModule = NULL; if(!pszName || !pModules || !ppModule) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } while(pModules) { if(!strcasecmp(pszName, pModules->pszEndPoint)) { pModule = pModules; break; } ++pModules; } if(!pModule) { dwError = ENOENT; BAIL_ON_ERROR(dwError); } *ppModule = pModule; cleanup: return dwError; error: if(ppModule) { *ppModule = NULL; } goto cleanup; } uint32_t coapi_is_integer( const char *pszValue, int *pnValid ) { uint32_t dwError = 0; if(!pszValue) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } while(*pszValue) { if(!isdigit(*pszValue)) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } ++pszValue; } *pnValid = 1; cleanup: return dwError; error: if(pnValid) { *pnValid = 0; } goto cleanup; } uint32_t coapi_check_param( PREST_API_PARAM pParam, const char *pszValue, int *pnValid ) { uint32_t dwError = 0; int nValid = 0; if(!pParam || !pszValue || !pnValid) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } switch(pParam->nType) { case RESTPARAM_ARRAY://Arrays are comma(%2C) separated strings case RESTPARAM_STRING: break; case RESTPARAM_INTEGER: dwError = coapi_is_integer(pszValue, &nValid); BAIL_ON_ERROR(dwError); break; default: nValid = 0; } *pnValid = nValid; cleanup: return dwError; error: if(pnValid) { *pnValid = 0; } goto cleanup; } uint32_t coapi_get_required_params( PREST_API_METHOD pMethod, PREST_API_PARAM **pppRequiredParams, int *pnRequiredParamsCount ) { uint32_t dwError = 0; int nRequired = 0; int nIndex = 0; PREST_API_PARAM *ppRequired = NULL; PREST_API_PARAM *ppRequiredTemp = NULL; PREST_API_PARAM pParam = NULL; if(!pMethod || !pMethod->pParams || !pppRequiredParams || !pnRequiredParamsCount) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } for(pParam = pMethod->pParams; pParam; pParam = pParam->pNext) { if(pParam->nRequired) { nRequired++; } } if(!nRequired) { dwError = ENOENT; BAIL_ON_ERROR(dwError); } dwError = coapi_allocate_memory(sizeof(PREST_API_PARAM)*(nRequired + 1), (void **)&ppRequired); BAIL_ON_ERROR(dwError); ppRequiredTemp = ppRequired; for(pParam = pMethod->pParams; pParam; pParam = pParam->pNext) { if(pParam->nRequired) { *ppRequiredTemp = pParam; ++ppRequiredTemp; } } *pppRequiredParams = ppRequired; *pnRequiredParamsCount = nRequired; cleanup: return dwError; error: if(dwError == ENOENT) { dwError = 0; } if(pppRequiredParams) { *pppRequiredParams = NULL; } if(pnRequiredParamsCount) { *pnRequiredParamsCount = 0; } SAFE_FREE_MEMORY(ppRequired); goto cleanup; } uint32_t coapi_find_handler( PREST_API_DEF pApiDef, const char *pszEndPoint, const char *pszMethod, PREST_API_METHOD *ppMethod ) { uint32_t dwError = 0; PREST_API_METHOD pMethod = NULL; dwError = coapi_find_method( pApiDef, pszEndPoint, pszMethod, &pMethod); if(!dwError) { if(pMethod && pMethod->pFnImpl) { *ppMethod = pMethod; } else { dwError = ENOENT; } } return dwError; } uint32_t coapi_find_method( PREST_API_DEF pApiDef, const char *pszEndPoint, const char *pszMethod, PREST_API_METHOD *ppMethod ) { uint32_t dwError = 0; PREST_API_MODULE pModule = NULL; RESTMETHOD nMethod = METHOD_INVALID; PREST_API_ENDPOINT pEndPoint = NULL; PREST_API_METHOD pMethod = NULL; if(!pApiDef || !pszEndPoint || !pszMethod || !ppMethod) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } pModule = pApiDef->pModules; while(pModule) { dwError = coapi_find_endpoint_by_name(pszEndPoint, pModule->pEndPoints, &pEndPoint); if(dwError == ENOENT) { dwError = 0; } BAIL_ON_ERROR(dwError); if(pEndPoint) { break; } pModule = pModule->pNext; } if(!pEndPoint) { dwError = ENOENT; BAIL_ON_ERROR(dwError); } dwError = coapi_get_rest_method(pszMethod, &nMethod); BAIL_ON_ERROR(dwError); pMethod = pEndPoint->pMethods[nMethod]; if(!pMethod) { dwError = ENOENT; BAIL_ON_ERROR(dwError); } *ppMethod = pMethod; cleanup: return dwError; error: if(ppMethod) { *ppMethod = NULL; } goto cleanup; } uint32_t coapi_get_rest_type( const char *pszType, RESTPARAMTYPE *pnType ) { uint32_t dwError = 0; RESTPARAMTYPE nType = RESTPARAM_INVALID; if(!pszType || !pnType) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } if(!strcasecmp(pszType, "integer")) { nType = RESTPARAM_INTEGER; } else if(!strcasecmp(pszType, "number")) { nType = RESTPARAM_NUMBER; } else if(!strcasecmp(pszType, "string")) { nType = RESTPARAM_STRING; } else if(!strcasecmp(pszType, "boolean")) { nType = RESTPARAM_BOOLEAN; } else if(!strcasecmp(pszType, "array")) { nType = RESTPARAM_ARRAY; } else if(!strcasecmp(pszType, "file")) { nType = RESTPARAM_BOOLEAN; } else { fprintf(stderr, "type %s is not a valid parameter type\n", pszType); dwError = ENOENT; BAIL_ON_ERROR(dwError); } *pnType = nType; cleanup: return dwError; error: if(pnType) { *pnType = RESTPARAM_INVALID; } goto cleanup; } uint32_t coapi_get_rest_method_string( RESTMETHOD nMethod, char **ppszMethod ) { uint32_t dwError = 0; const char *pszTemp = NULL; char *pszMethod = NULL; if(nMethod < 0 || !ppszMethod) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } switch(nMethod) { case METHOD_GET: pszTemp = "get"; break; case METHOD_PUT: pszTemp = "put"; break; case METHOD_POST: pszTemp = "post"; break; case METHOD_DELETE: pszTemp = "delete"; break; case METHOD_PATCH: pszTemp = "patch"; break; default: dwError = ENOENT; BAIL_ON_ERROR(dwError); } dwError = coapi_allocate_string(pszTemp, &pszMethod); BAIL_ON_ERROR(dwError); *ppszMethod = pszMethod; cleanup: return dwError; error: if(ppszMethod) { *ppszMethod = NULL; } goto cleanup; } uint32_t coapi_get_rest_method( const char *pszMethod, RESTMETHOD *pnMethod ) { uint32_t dwError = 0; RESTMETHOD nMethod = METHOD_INVALID; if(!pszMethod || !pnMethod) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } if(!strcasecmp(pszMethod, "get")) { nMethod = METHOD_GET; } else if(!strcasecmp(pszMethod, "patch")) { nMethod = METHOD_PATCH; } else if(!strcasecmp(pszMethod, "post")) { nMethod = METHOD_POST; } else if(!strcasecmp(pszMethod, "put")) { nMethod = METHOD_PUT; } else if(!strcasecmp(pszMethod, "delete")) { nMethod = METHOD_DELETE; } else { dwError = ENOENT; BAIL_ON_ERROR(dwError); } *pnMethod = nMethod; cleanup: return dwError; error: if(pnMethod) { *pnMethod = METHOD_INVALID; } goto cleanup; } void coapi_print_api_def( PREST_API_DEF pApiDef ) { PREST_API_MODULE pModules = NULL; PREST_API_ENDPOINT pEndPoint = NULL; pModules = pApiDef->pModules; while(pModules) { printf("Module = %s\n", pModules->pszName); pEndPoint = pModules->pEndPoints; while(pEndPoint) { if(pEndPoint->nHasPathSubs) { printf("\tEndPoint Actual = %s\n", pEndPoint->pszActualName); printf("\tEndPoint Registered = %s\n", pEndPoint->pszName); } else { printf("\tEndPoint = %s\n", pEndPoint->pszActualName); } pEndPoint = pEndPoint->pNext; } pModules = pModules->pNext; } } uint32_t coapi_map_api_impl( PREST_API_DEF pApiDef, PMODULE_REG_MAP pRegMap ) { uint32_t dwError = 0; if(!pApiDef || !pRegMap) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } for(;pRegMap && pRegMap->pszName; ++pRegMap) { PREST_API_MODULE pModule = NULL; PREST_MODULE pModuleImpl = NULL; dwError = coapi_find_module_by_name(pRegMap->pszName, pApiDef->pModules, &pModule); if(dwError == ENODATA) { fprintf(stdout, "No api spec for module: %s\n", pRegMap->pszName); dwError = 0; continue; } BAIL_ON_ERROR(dwError); dwError = pRegMap->pFnModuleReg(&pModuleImpl); BAIL_ON_ERROR(dwError); dwError = coapi_map_module_impl(pModule, pModuleImpl); BAIL_ON_ERROR(dwError); } cleanup: return dwError; error: goto cleanup; } uint32_t coapi_map_module_impl( PREST_API_MODULE pModule, PREST_MODULE pModuleImpl ) { uint32_t dwError = 0; PREST_API_ENDPOINT pEndPoint = NULL; if(!pModule || !pModuleImpl) { dwError = EINVAL; BAIL_ON_ERROR(dwError); } for(; pModuleImpl && pModuleImpl->pszEndPoint; ++pModuleImpl) { RESTMETHOD nMethod = METHOD_COUNT; dwError = coapi_find_endpoint_by_name(pModuleImpl->pszEndPoint, pModule->pEndPoints, &pEndPoint); if(dwError == ENOENT) { dwError = 0; fprintf(stdout, "no api spec for %s\n", pModuleImpl->pszEndPoint); continue; } BAIL_ON_ERROR(dwError); while(nMethod--) { PREST_API_METHOD pMethodDef = pEndPoint->pMethods[nMethod]; PFN_MODULE_ENDPOINT_CB pMethodImpl = pModuleImpl->pFnEndPointMethods[nMethod]; if(!pMethodDef && !pMethodImpl) { continue;//no definition or implementation } if(pMethodDef && !pMethodImpl) { fprintf(stderr, "no %d impl for defined %s\n", nMethod, pEndPoint->pszName); continue; } if(!pMethodDef && pMethodImpl) { fprintf(stderr, "no %d definition for impl %s\n", nMethod, pModuleImpl->pszEndPoint); continue; } fprintf(stdout, "mapping %d implementation for %s\n", nMethod, pEndPoint->pszName); pMethodDef->pFnImpl = pMethodImpl; } } cleanup: return dwError; error: goto cleanup; } void coapi_free_api_param( PREST_API_PARAM pParam ) { if(!pParam) { return; } while(pParam) { PREST_API_PARAM pParamTemp = pParam->pNext; SAFE_FREE_MEMORY(pParam->pszName); SAFE_FREE_MEMORY(pParam->pszIn); coapi_free_string_array_with_count( pParam->ppszOptions, pParam->nOptionCount); SAFE_FREE_MEMORY(pParam); pParam = pParamTemp; } } void coapi_free_api_method( PREST_API_METHOD pMethod ) { if(!pMethod) { return; } coapi_free_api_param(pMethod->pParams); coapi_free_memory(pMethod->pszMethod); SAFE_FREE_MEMORY(pMethod->pszSummary); SAFE_FREE_MEMORY(pMethod->pszDescription); SAFE_FREE_MEMORY(pMethod->pszOperationId); SAFE_FREE_MEMORY(pMethod); } void coapi_free_api_endpoint( PREST_API_ENDPOINT pEndPoint ) { PREST_API_ENDPOINT pEndPointTemp = pEndPoint; if(!pEndPoint) { return; } while(pEndPoint) { int i = 0; for(; i < METHOD_COUNT; ++i) { if(pEndPoint->pMethods[i]) { coapi_free_api_method(pEndPoint->pMethods[i]); } } SAFE_FREE_MEMORY(pEndPoint->pszActualName); SAFE_FREE_MEMORY(pEndPoint->pszName); SAFE_FREE_MEMORY(pEndPoint->pszCommandName); pEndPoint = pEndPoint->pNext; SAFE_FREE_MEMORY(pEndPointTemp); pEndPointTemp = pEndPoint; } } void coapi_free_api_module( PREST_API_MODULE pModule ) { PREST_API_MODULE pModuleTemp = pModule; if(!pModule) { return; } while(pModule) { coapi_free_api_endpoint(pModule->pEndPoints); SAFE_FREE_MEMORY(pModule->pszName); SAFE_FREE_MEMORY(pModule->pszDescription); pModule = pModule->pNext; SAFE_FREE_MEMORY(pModuleTemp); pModuleTemp = pModule; } } void coapi_free_api_def( PREST_API_DEF pApiDef ) { if(pApiDef) { SAFE_FREE_MEMORY(pApiDef->pszHost); SAFE_FREE_MEMORY(pApiDef->pszBasePath); coapi_free_api_module(pApiDef->pModules); SAFE_FREE_MEMORY(pApiDef); } }
22.259858
93
0.553636
e06022509641fbfbadabc899c2f506b863ddb93e
1,203
h
C
libs/its_simulator/Sensor_Prototype.h
osu-sim/ANL_polaris
a7b96f908017d02af3a79a510c813f45c2373c84
[ "BSD-3-Clause" ]
null
null
null
libs/its_simulator/Sensor_Prototype.h
osu-sim/ANL_polaris
a7b96f908017d02af3a79a510c813f45c2373c84
[ "BSD-3-Clause" ]
null
null
null
libs/its_simulator/Sensor_Prototype.h
osu-sim/ANL_polaris
a7b96f908017d02af3a79a510c813f45c2373c84
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "ITS_Simulator_Includes.h" namespace Sensor_Components { namespace Types { struct Reading { int time; double speed; double occupancy; int volume; }; } namespace Concepts { } namespace Prototypes { prototype struct Sensor ADD_DEBUG_INFO { tag_as_prototype; template<typename TargetType> static void Initialize_Type(TargetType configuration) { ComponentType::template Initialize_Type<TargetType>(configuration); } template<typename TargetType> static void Initialize_Type() { ComponentType::template Initialize_Type<TargetType>(); } template<typename TargetType> void Initialize(TargetType configuration) { this_component()->template Initialize<TargetType>(configuration); } template<typename TargetType> void Attach_Detector(TargetType detector_configuration) { return this_component()->template Attach_Detector<TargetType>(detector_configuration); } template<typename TargetType> bool Check_Outlier() { return this_component()->template Check_Outlier<TargetType>(); } accessor(covered_link, NONE, NONE); }; } } using namespace Sensor_Components::Prototypes;
20.389831
90
0.735661
ef940b378c6f66efe0467771698aecde68b5ae0d
2,902
h
C
src/image/fourier.h
maxest/MaxestFramework
aa396c2e15543ba4d62bb5cf908c3919e4e84fb7
[ "MIT" ]
9
2018-09-16T14:12:35.000Z
2021-06-20T19:03:11.000Z
src/image/fourier.h
maxest/MaxestFramework
aa396c2e15543ba4d62bb5cf908c3919e4e84fb7
[ "MIT" ]
null
null
null
src/image/fourier.h
maxest/MaxestFramework
aa396c2e15543ba4d62bb5cf908c3919e4e84fb7
[ "MIT" ]
3
2018-06-08T13:57:03.000Z
2018-11-21T12:54:18.000Z
#pragma once #ifdef MAXEST_FRAMEWORK_DESKTOP #include "types.h" #include "../essentials/main.h" namespace NMaxestFramework { namespace NImage { // Fourier SImage DiscreteFourierTransform(const SImage& image); SImage DiscreteFourierTransform_Separable(const SImage& image); SImage InverseDiscreteFourierTransform(const SImage& image); SImage InverseDiscreteFourierTransform_Separable(const SImage& image); // DCT // https://en.wikipedia.org/wiki/Discrete_cosine_transform typedef float (*TBlockFunction_Separable)(const SImage& image, int pixelX, int pixelY, int min, int count); typedef float (*TBlockFunction)(const SImage& image, int pixelX, int pixelY, int minX, int countX, int minY, int countY); float DCT_JPG(const SImage& image, int pixelX, int pixelY, int minX, int countX, int minY, int countY); float IDCT_JPG(const SImage& image, int pixelX, int pixelY, int minX, int countX, int minY, int countY); float DCT_JPEG_Horizontal(const SImage& image, int pixelX, int pixelY, int minX, int countX); float DCT_JPEG_Vertical(const SImage& image, int pixelX, int pixelY, int minY, int countY); float IDCT_JPEG_Horizontal(const SImage& image, int pixelX, int pixelY, int minX, int countX); float IDCT_JPEG_Vertical(const SImage& image, int pixelX, int pixelY, int minY, int countY); float DCT_II_Horizontal(const SImage& image, int pixelX, int pixelY, int minX, int countX); float DCT_II_Vertical(const SImage& image, int pixelX, int pixelY, int minY, int maxY); float IDCT_II_Horizontal(const SImage& image, int pixelX, int pixelY, int minX, int maxX); float IDCT_II_Vertical(const SImage& image, int pixelX, int pixelY, int minY, int maxY); float DCT_IV_Horizontal(const SImage& image, int pixelX, int pixelY, int minX, int countX); float DCT_IV_Vertical(const SImage& image, int pixelX, int pixelY, int minY, int countY); float IDCT_IV_Horizontal(const SImage& image, int pixelX, int pixelY, int minX, int countX); float IDCT_IV_Vertical(const SImage& image, int pixelX, int pixelY, int minY, int countY); void Block(SImage& dstImage, const SImage& srcImage, int blockWidth, int blockHeight, int blockX, int blockY, TBlockFunction function); SImage Blocks(const SImage& image, int blockWidth, int blockHeight, TBlockFunction function); void Block_Separable(SImage& dstImage, const SImage& srcImage, int blockWidth, int blockHeight, int blockX, int blockY, TBlockFunction_Separable function, int min, int count); SImage Blocks_Horizontal(const SImage& image, int blockWidth, int blockHeight, TBlockFunction_Separable function); SImage Blocks_Vertical(const SImage& image, int blockWidth, int blockHeight, TBlockFunction_Separable function); SImage Blocks(const SImage& image, int blockWidth, int blockHeight, TBlockFunction_Separable horizontalFunction, TBlockFunction_Separable verticalFunction); } } #endif
58.04
177
0.774638
b4fbefff770069b7c61871eedd025d93cd5b20ac
14,394
c
C
lib/external/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c
Koneeee1/ms-tpm-20-ref
d99419bd30a4dad7ae5bfad3c1c0d5962c188913
[ "BSD-2-Clause" ]
null
null
null
lib/external/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c
Koneeee1/ms-tpm-20-ref
d99419bd30a4dad7ae5bfad3c1c0d5962c188913
[ "BSD-2-Clause" ]
null
null
null
lib/external/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c
Koneeee1/ms-tpm-20-ref
d99419bd30a4dad7ae5bfad3c1c0d5962c188913
[ "BSD-2-Clause" ]
null
null
null
/* * wolfssl sha tests */ #include <stdio.h> #include <string.h> #include <esp_system.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/semphr.h" #include "unity.h" #include "sdkconfig.h" #include "esp_log.h" #include <wolfssl/wolfcrypt/settings.h> #include <wolfssl/wolfcrypt/sha.h> #include <wolfssl/wolfcrypt/sha256.h> #include <wolfssl/wolfcrypt/sha512.h> #include <wolfssl/wolfcrypt/wc_port.h> #include <wolfssl/wolfcrypt/logging.h> #include <wolfssl/wolfcrypt/types.h> static const char* TAG = "wolfssl unit test"; static xSemaphoreHandle exit_semaph; static volatile bool exit_loop=false; #define SHA_STACK_SIZE (20*1024) #define TIMES_SHA 500 #define TIMES_AES 100 #ifndef NO_SHA int sha_test(); #endif #ifndef NO_SHA256 int sha256_test(); #endif #ifdef WOLFSSL_SHA384 int sha384_test(void); #endif #ifdef WOLFSSL_SHA512 int sha512_test(void); #endif #ifndef NO_AES int aes_test(void); static void tskAes_Test(void *pvParam) { ESP_LOGI(TAG, "enter tskAes_Test"); int ret = 0; while(exit_loop==false) { ret = aes_test(); if(ret != 0) { printf("result was not good(aes_test)(%d)\n",ret); TEST_FAIL_MESSAGE("tskAes_Test\n"); } } ESP_LOGI(TAG, "leave tskAes_Test"); xSemaphoreGive(exit_semaph); vTaskDelete(NULL); } int aesgcm_test(void); static void tskAesGcm_Test(void *pvParam) { ESP_LOGI(TAG, "enter tskAesGcm_Test"); int ret = 0; while(exit_loop==false) { ret = aesgcm_test(); if(ret != 0) { printf(" results was not good(%d). aesGcm_test\n",ret); TEST_FAIL_MESSAGE("aesGcm_test\n"); } } ESP_LOGI(TAG, "leave tskAesGcm_Test"); xSemaphoreGive(exit_semaph); vTaskDelete(NULL); } #ifdef WOLFSSL_AES_192 int aes192_test(void); static void tskAes192_Test(void *pvParam) { ESP_LOGI(TAG, "enter tskAes192_Test"); int ret = 0; while(exit_loop==false) { ret = aes192_test(); if(ret != 0) { printf(" results was not good(%d). aes192_test\n",ret); TEST_FAIL_MESSAGE("aes192_test\n"); } } ESP_LOGI(TAG, "leave tskAes192_Test"); xSemaphoreGive(exit_semaph); vTaskDelete(NULL); } #endif #ifdef WOLFSSL_AES_256 int aes256_test(void); static void tskAes256_Test(void *pvParam) { ESP_LOGI(TAG, "enter tskAes256_Test"); int ret = 0; while(exit_loop==false) { ret = aes256_test(); if(ret != 0) { printf(" results was not good(%d). aes256_test\n", ret); TEST_FAIL_MESSAGE("aes256_test\n"); } } ESP_LOGI(TAG, "leave tskAes256_Test"); xSemaphoreGive(exit_semaph); vTaskDelete(NULL); } #endif TEST_CASE("wolfssl aes test" , "[wolfssl]") { ESP_LOGI(TAG, "aes test"); TEST_ASSERT_EQUAL(0, aes_test()); #ifdef WOLFSSL_AES_192 ESP_LOGI(TAG, "aes_192 test"); TEST_ASSERT_EQUAL(0, aes192_test()); #endif #ifdef WOLFSSL_AES_256 ESP_LOGI(TAG, "aes_256 test"); TEST_ASSERT_EQUAL(0, aes256_test()); #endif ESP_LOGI(TAG, "aes-gcm test"); TEST_ASSERT_EQUAL(0, aesgcm_test()); } #endif TEST_CASE("wolfssl sha crypt-test", "[wolfssl]") { #ifndef NO_SHA ESP_LOGI(TAG, "sha_test()"); TEST_ASSERT_EQUAL(0, sha_test()); #endif #ifndef NO_SHA256 ESP_LOGI(TAG, "sha256_test()"); TEST_ASSERT_EQUAL(0, sha256_test()); #endif #ifdef WOLSSL_SHA384 ESP_LOGI(TAG, "sha384_test()"); TEST_ASSERT_EQUAL(0, sha384_test()); #endif #ifdef WOLFSSL_SHA512 ESP_LOGI(TAG, "sha512_test()"); TEST_ASSERT_EQUAL(0, sha512_test()); #endif } #ifndef NO_SHA static void tskSha_Test(void *pvParam) { ESP_LOGI(TAG, "enter tskSha_Test"); int ret = 0; while(exit_loop==false) { ret = sha_test(); if(ret != 0) { printf(" results was not good(%d). sha_test\n", ret); TEST_FAIL_MESSAGE("tskSha_Test\n"); } } ESP_LOGI(TAG, "leave tskSha_Test"); xSemaphoreGive(exit_semaph); vTaskDelete(NULL); } #endif #ifndef NO_SHA256 static void tskSha256_Test(void *pvParam) { ESP_LOGI(TAG, "enter tskSha256_Test"); int ret; while(exit_loop==false) { ret = sha256_test(); if(ret != 0) { printf("results was not good(%d). sha256_test\n", ret); TEST_FAIL_MESSAGE("sha256_test() failed"); } } ESP_LOGI(TAG, "leave tskSha256_Test"); xSemaphoreGive(exit_semaph); vTaskDelete(NULL); } #endif #ifdef WOLFSSL_SHA384 static void tskSha384_Test(void *pvParam) { ESP_LOGI(TAG, "enter tskSha384_Test"); int ret = 0; while(exit_loop==false) { ret = sha384_test(); if(ret != 0) { printf("results was not good(%d). sha384_test\n", ret); TEST_FAIL_MESSAGE("sha384_test() failed\n"); } } ESP_LOGI(TAG, "leave tskSha384_Test"); xSemaphoreGive(exit_semaph); vTaskDelete(NULL); } #endif #ifdef WOLFSSL_SHA512 static void tskSha512_Test(void *pvParam) { ESP_LOGI(TAG, "enter tskSha512_Test"); int ret = 0; while(exit_loop==false) { ret = sha512_test(); if(ret != 0) { printf(" results was not good(%d). sha512_test\n", ret); TEST_FAIL_MESSAGE("tskSha512_Test() failed\n"); } } ESP_LOGI(TAG, "leave tskSha512_test()"); xSemaphoreGive(exit_semaph); vTaskDelete(NULL); } #endif TEST_CASE("wolfssl sha multi-thread test ", "[wolfssl]") { int num = 0; #ifndef NO_SHA num++; #endif #ifndef NO_SHA256 num++; #endif #ifdef WOLFSSL_SHA384 num++; #endif #ifdef WOLFSSL_SHA512 num++; #endif exit_loop = false; exit_semaph = xSemaphoreCreateCounting(num, 0); #ifndef NO_SHA xTaskCreate(tskSha_Test, "sha_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifndef NO_SHA256 xTaskCreate(tskSha256_Test, "sha256_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifdef WOLFSSL_SHA384 xTaskCreate(tskSha384_Test, "sha384_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifdef WOLFSSL_SHA512 xTaskCreate(tskSha512_Test, "sha512_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif ESP_LOGI(TAG, "Waiting for 10s ..."); vTaskDelay(10000/portTICK_PERIOD_MS); exit_loop = true; for(int i=0;i<num;i++){ if(!xSemaphoreTake(exit_semaph, 2000/portTICK_PERIOD_MS)) { TEST_FAIL_MESSAGE("exit semaphore not released by test task"); } } vSemaphoreDelete(exit_semaph); } TEST_CASE("wolfssl aes multi-thread test ", "[wolfssl]") { int num = 0; #ifndef NO_AES num++; num++; #ifdef WOLFSSL_AES_192 num++; #endif #ifdef WOLFSSL_AES_256 num++; #endif #endif exit_loop = false; exit_semaph = xSemaphoreCreateCounting(num, 0); #ifndef NO_AES xTaskCreate(tskAes_Test, "Aes_test", SHA_STACK_SIZE, NULL, 3, NULL); xTaskCreate(tskAesGcm_Test, "AesGcm_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifdef WOLFSSL_AES_192 xTaskCreate(tskAes192_Test, "Aes192_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifdef WOLFSSL_AES_256 xTaskCreate(tskAes256_Test, "Aes256_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif ESP_LOGI(TAG, "Waiting for 10s ..."); vTaskDelay(10000/portTICK_PERIOD_MS); exit_loop = true; for(int i=0;i<num;i++){ if(!xSemaphoreTake(exit_semaph, 2000/portTICK_PERIOD_MS)) { TEST_FAIL_MESSAGE("exit semaphore not released by test task"); } } vSemaphoreDelete(exit_semaph); } TEST_CASE("wolfssl aes sha sha256 multi-thread test ", "[wolfssl]") { int num = 0; #ifndef NO_AES num++; num++; #ifdef WOLFSSL_AES_192 num++; #endif #ifdef WOLFSSL_AES_256 num++; #endif #endif #ifndef NO_SHA num++; #endif #ifndef NO_SHA256 num++; #endif exit_loop = false; #ifndef CONFIG_FREERTOS_UNICORE num *= 2; printf("num=%d\n", num); exit_semaph = xSemaphoreCreateCounting(num, 0); #ifndef NO_AES if(xTaskCreatePinnedToCore(tskAes_Test, "Aes_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -1 \n"); if(xTaskCreatePinnedToCore(tskAes_Test, "Aes_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -2 \n"); if(xTaskCreatePinnedToCore(tskAesGcm_Test, "AesGcm_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -3 \n"); if(xTaskCreatePinnedToCore(tskAesGcm_Test, "AesGcm_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -4 \n"); #endif #ifdef WOLFSSL_AES_192 if(xTaskCreatePinnedToCore(tskAes192_Test, "Aes192_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -5 \n"); if(xTaskCreatePinnedToCore(tskAes192_Test, "Aes192_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -6 \n"); #endif #ifdef WOLFSSL_AES_256 if(xTaskCreatePinnedToCore(tskAes256_Test, "Aes256_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -7 \n"); if(xTaskCreatePinnedToCore(tskAes256_Test, "Aes256_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -8 \n"); #endif #ifndef NO_SHA if(xTaskCreatePinnedToCore(tskSha_Test, "Sha_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -9 \n"); if(xTaskCreatePinnedToCore(tskSha_Test, "Sha_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -10 \n"); #endif #ifndef NO_SHA256 if(xTaskCreatePinnedToCore(tskSha256_Test, "sha256_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -11 \n"); if(xTaskCreatePinnedToCore(tskSha256_Test, "sha256_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -12 \n"); #endif #else exit_semaph = xSemaphoreCreateCounting(num, 0); #ifndef NO_AES xTaskCreate(tskAes_Test, "Aes_test", SHA_STACK_SIZE, NULL, 3, NULL); xTaskCreate(tskAesGcm_Test, "AesGcm_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifdef WOLFSSL_AES_192 xTaskCreate(tskAes192_Test, "Aes192_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifdef WOLFSSL_AES_256 xTaskCreate(tskAes256_Test, "Aes256_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifndef NO_SHA xTaskCreate(tskSha_Test, "Sha_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifndef NO_SHA256 xTaskCreate(tskSha256_Test, "sha256_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #endif /* CONFIG_FREERTOS_UNICORE */ ESP_LOGI(TAG, "Waiting for 15s ..."); vTaskDelay(15000/portTICK_PERIOD_MS); exit_loop = true; for(int i=0;i<num;i++){ if(!xSemaphoreTake(exit_semaph, 2000/portTICK_PERIOD_MS)) { TEST_FAIL_MESSAGE("exit semaphore not released by test task"); } } vSemaphoreDelete(exit_semaph); } TEST_CASE("wolfssl aes sha384 sha512 multi-thread test ", "[wolfssl]") { int num = 0; #ifndef NO_AES num++; num++; #ifdef WOLFSSL_AES_192 num++; #endif #ifdef WOLFSSL_AES_256 num++; #endif #endif #ifdef WOLFSSL_SHA384 num++; #endif #ifdef WOLFSSL_SHA512 num++; #endif exit_loop = false; #ifndef CONFIG_FREERTOS_UNICORE num *= 2; exit_semaph = xSemaphoreCreateCounting(num, 0); #ifndef NO_AES if(xTaskCreatePinnedToCore(tskAes_Test, "Aes_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -1 \n"); if(xTaskCreatePinnedToCore(tskAes_Test, "Aes_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -2 \n"); if(xTaskCreatePinnedToCore(tskAesGcm_Test, "AesGcm_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -3 \n"); if(xTaskCreatePinnedToCore(tskAesGcm_Test, "AesGcm_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -4 \n"); #endif #ifdef WOLFSSL_AES_192 if(xTaskCreatePinnedToCore(tskAes192_Test, "Aes192_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -5 \n"); if(xTaskCreatePinnedToCore(tskAes192_Test, "Aes192_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -6 \n"); #endif #ifdef WOLFSSL_AES_256 if(xTaskCreatePinnedToCore(tskAes256_Test, "Aes256_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -7 \n"); if(xTaskCreatePinnedToCore(tskAes256_Test, "Aes256_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -8 \n"); #endif #ifdef WOLFSSL_SHA384 if(xTaskCreatePinnedToCore(tskSha384_Test, "sha384_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -13 \n"); if(xTaskCreatePinnedToCore(tskSha384_Test, "sha384_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -14 \n"); #endif #ifdef WOLFSSL_SHA512 printf("start sha512\n"); if(xTaskCreatePinnedToCore(tskSha512_Test, "Sha512_test", SHA_STACK_SIZE, NULL, 3, NULL, 0)!=pdPASS) ESP_LOGE(TAG, "failed to create task -15 \n"); if(xTaskCreatePinnedToCore(tskSha512_Test, "Sha512_test", SHA_STACK_SIZE, NULL, 3, NULL, 1)!=pdPASS) ESP_LOGE(TAG, "failed to create task -16 \n"); #endif #else exit_semaph = xSemaphoreCreateCounting(num, 0); #ifndef NO_AES xTaskCreate(tskAes_Test, "Aes_test", SHA_STACK_SIZE, NULL, 3, NULL); xTaskCreate(tskAesGcm_Test, "AesGcm_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifdef WOLFSSL_AES_192 xTaskCreate(tskAes192_Test, "Aes192_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifdef WOLFSSL_AES_256 xTaskCreate(tskAes256_Test, "Aes256_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifndef NO_SHA xTaskCreate(tskSha_Test, "Sha_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #ifndef NO_SHA256 xTaskCreate(tskSha256_Test, "sha256_test", SHA_STACK_SIZE, NULL, 3, NULL); #endif #endif /* CONFIG_FREERTOS_UNICORE */ ESP_LOGI(TAG, "Waiting for 15s ..."); vTaskDelay(15000/portTICK_PERIOD_MS); exit_loop = true; for(int i=0;i<num;i++){ if(!xSemaphoreTake(exit_semaph, 2000/portTICK_PERIOD_MS)) { TEST_FAIL_MESSAGE("exit semaphore not released by test task"); } } vSemaphoreDelete(exit_semaph); }
27.417143
104
0.679102
359495922674beec97d99c2fc08c103e1900779b
636
h
C
MusicDemo/MusicDemo/View/Details/BottomView.h
YellowStarH/MusicDemo
2bd86a5e177705254e924b81457a7d26bd254eeb
[ "MIT" ]
null
null
null
MusicDemo/MusicDemo/View/Details/BottomView.h
YellowStarH/MusicDemo
2bd86a5e177705254e924b81457a7d26bd254eeb
[ "MIT" ]
null
null
null
MusicDemo/MusicDemo/View/Details/BottomView.h
YellowStarH/MusicDemo
2bd86a5e177705254e924b81457a7d26bd254eeb
[ "MIT" ]
null
null
null
// // BottomView.h // MusicDemo // // Created by 黄杨洋 on 2018/3/7. // Copyright © 2018年 Apple. All rights reserved. // #import <UIKit/UIKit.h> @interface BottomView : UIView @property (nonatomic, strong) UIButton *preSongButtton; @property (nonatomic, strong) UIButton *nextSongButton; @property (nonatomic, strong) UIButton *playOrPauseButton; @property (nonatomic, strong) UIButton *playModeButton; @property (nonatomic, strong) UIButton *songListButton; @property (nonatomic, strong) UISlider *songSlider; @property (nonatomic, strong) UILabel *currentTimeLabel; @property (nonatomic, strong) UILabel *durationTimeLabel; @end
27.652174
58
0.759434
def4ba5a4bc81335ec5ee8647eb142583a2a0f24
12,111
c
C
inetcore/setup/iexpress/updfile/updfile.c
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/setup/iexpress/updfile/updfile.c
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/setup/iexpress/updfile/updfile.c
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//*************************************************************************** //* Copyright (c) Microsoft Corporation 1995. All rights reserved. * //*************************************************************************** //* * //* UPDFILE.C * //* * //*************************************************************************** //*************************************************************************** //* INCLUDE FILES * //*************************************************************************** #include <stdio.h> //#include <stdlib.h> #include <wtypes.h> #include "resource.h" #include "updfile.h" #include "updres.h" //*************************************************************************** //* GLOBAL VARIABLES * //*************************************************************************** //*************************************************************************** //* * //* NAME: main * //* * //* SYNOPSIS: Main entry point for the program. * //* * //* REQUIRES: * //* * //* RETURNS: int: Always 0 * //* * //*************************************************************************** INT _cdecl main( INT argc, CHAR *argv[] ) { // ARGV[1] == Name of package // ARGV[2] == Name of file to add to package HANDLE hUpdateRes = NULL; HANDLE hFile = INVALID_HANDLE_VALUE; DWORD dwFileSize = 0; PSTR pszFileContents = NULL; DWORD dwBytes; HMODULE hModule; TCHAR szResName[20]; DWORD dwResNum; TCHAR szFileToAdd[MAX_PATH]; PSTR pszFileToAddFilename = NULL; TCHAR szPackage[MAX_PATH]; PSTR pszPackageFilename = NULL; DWORD dwHeaderSize = 0; PSTR pszTemp = NULL; DWORD dwReturnCode = 0; PDWORD pdwTemp = NULL; static const TCHAR c_szResNameTemplate[] = "UPDFILE%lu"; if ( argc != 3 ) { MsgBox( IDS_ERR_INVALID_ARGS ); dwReturnCode = 1; goto done; } dwFileSize = GetFullPathName( argv[1], sizeof(szPackage), szPackage, &pszPackageFilename ); if ( (dwFileSize+1) > sizeof(szPackage) || dwFileSize == 0 ) { MsgBox1Param( IDS_ERR_GET_FULL_PATH, argv[1] ); dwReturnCode = 1; goto done; } if ( ! FileExists( szPackage ) ) { MsgBox1Param( IDS_ERR_FILE_NOT_EXIST, argv[1] ); dwReturnCode = 1; goto done; } dwFileSize = GetFullPathName( argv[2], sizeof(szFileToAdd), szFileToAdd, &pszFileToAddFilename ); if ( (dwFileSize+1) > sizeof(szFileToAdd) || dwFileSize == 0 ) { MsgBox1Param( IDS_ERR_GET_FULL_PATH, argv[2] ); dwReturnCode = 1; goto done; } if ( ! FileExists( szFileToAdd ) ) { MsgBox1Param( IDS_ERR_FILE_NOT_EXIST, argv[2] ); dwReturnCode = 1; goto done; } // make sure the target file is not read-only file SetFileAttributes( szPackage, FILE_ATTRIBUTE_NORMAL ); hModule = LoadLibraryEx( szPackage, NULL, LOAD_LIBRARY_AS_DATAFILE | DONT_RESOLVE_DLL_REFERENCES ); if ( hModule == NULL ) { MsgBox1Param( IDS_ERR_LOAD_EXE, argv[1] ); dwReturnCode = 1; goto done; } for ( dwResNum = 0; ; dwResNum += 1 ) { wsprintf( szResName, c_szResNameTemplate, dwResNum ); if ( FindResource( hModule, szResName, RT_RCDATA ) == NULL ) { break; } } FreeLibrary( hModule ); hFile = CreateFile( szFileToAdd, GENERIC_READ, 0, NULL, OPEN_EXISTING, 0, NULL ); if ( hFile == INVALID_HANDLE_VALUE ) { MsgBox1Param( IDS_ERR_OPEN_INPUT_FILE, argv[2] ); dwReturnCode = 1; goto done; } dwFileSize = GetFileSize( hFile, NULL ); dwHeaderSize = sizeof(DWORD) + sizeof(DWORD) + lstrlen(pszFileToAddFilename) + 1; // File Size + reserved DWORD + Filename\0 + File Contents pszFileContents = (PSTR) LocalAlloc( LPTR, dwHeaderSize + dwFileSize ); if ( ! pszFileContents ) { MsgBox( IDS_ERR_NO_MEMORY ); dwReturnCode = 1; goto done; } pdwTemp = (PDWORD) pszFileContents; *pdwTemp = dwFileSize; pdwTemp = (PDWORD) (pszFileContents + sizeof(DWORD)); *pdwTemp = MAXDWORD; pszTemp = pszFileContents + sizeof(DWORD) + sizeof(DWORD); lstrcpy( pszTemp, pszFileToAddFilename ); pszTemp = pszFileContents + dwHeaderSize; if ( ! ReadFile( hFile, pszTemp, dwFileSize, &dwBytes, NULL ) ) { MsgBox1Param( IDS_ERR_READ_INPUT_FILE, argv[2] ); dwReturnCode = 1; goto done; } CloseHandle( hFile ); hFile = INVALID_HANDLE_VALUE ; // Initialize the EXE file for resource editing hUpdateRes = LocalBeginUpdateResource( szPackage, FALSE ); if ( hUpdateRes == NULL ) { MsgBox1Param( IDS_ERR_BEGIN_UPD_RES, argv[1] ); dwReturnCode = 1; goto done; } if ( LocalUpdateResource( hUpdateRes, RT_RCDATA, szResName, MAKELANGID( LANG_ENGLISH, SUBLANG_ENGLISH_US ), pszFileContents, dwHeaderSize + dwFileSize ) == FALSE ) { MsgBox1Param( IDS_ERR_UPDATE_RES, argv[1] ); dwReturnCode = 1; goto done; } done: if ( hUpdateRes ) { // Write out modified EXE if success ((returncode = 0, means pass // in FALSE to update file (i.e., don't discard changes) if ( LocalEndUpdateResource( hUpdateRes, (dwReturnCode == 1) ) == FALSE ) { MsgBox1Param( IDS_ERR_END_UPD_RES, argv[1] ); dwReturnCode = 1; } } if ( pszFileContents ) { LocalFree( pszFileContents ); } if (hFile != INVALID_HANDLE_VALUE) { CloseHandle( hFile ) ; } if (dwReturnCode == 0) MsgBox2Param( IDS_SUCCESS, argv[2], argv[1] ); return dwReturnCode; } //*************************************************************************** //* * //* NAME: FileExists * //* * //* SYNOPSIS: Checks if a file exists. * //* * //* REQUIRES: pszFilename * //* * //* RETURNS: BOOL: TRUE if it exists, FALSE otherwise * //* * //*************************************************************************** BOOL FileExists( PCSTR pszFilename ) { HANDLE hFile; hFile = CreateFile( pszFilename, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ); if ( hFile == INVALID_HANDLE_VALUE ) { return( FALSE ); } CloseHandle( hFile ); return( TRUE ); } //*************************************************************************** //* * //* NAME: MsgBox2Param * //* * //* SYNOPSIS: Displays a message box with the specified string ID using * //* 2 string parameters. * //* * //* REQUIRES: hWnd: Parent window * //* nMsgID: String resource ID * //* szParam1: Parameter 1 (or NULL) * //* szParam2: Parameter 2 (or NULL) * //* uIcon: Icon to display (or 0) * //* uButtons: Buttons to display * //* * //* RETURNS: INT: ID of button pressed * //* * //* NOTES: Macros are provided for displaying 1 parameter or 0 * //* parameter message boxes. Also see ErrorMsg() macros. * //* * //*************************************************************************** VOID MsgBox2Param( UINT nMsgID, PCSTR c_pszParam1, PCSTR c_pszParam2 ) { TCHAR szMsgBuf[512]; PSTR pszMessage = NULL; static const TCHAR c_szError[] = "Unexpected Error. Could not load resource."; PSTR apszParams[2]; apszParams[0] = (PSTR) c_pszParam1; apszParams[1] = (PSTR) c_pszParam2; LoadSz( nMsgID, szMsgBuf, sizeof(szMsgBuf) ); if ( (*szMsgBuf) == '\0' ) { lstrcpy( szMsgBuf, c_szError ); } if ( FormatMessage( FORMAT_MESSAGE_FROM_STRING | FORMAT_MESSAGE_ARGUMENT_ARRAY | FORMAT_MESSAGE_ALLOCATE_BUFFER, szMsgBuf, 0, 0, (PSTR) (&pszMessage), 0, (va_list *)apszParams ) ) { printf( "\n%s\n\n", pszMessage ); LocalFree( pszMessage ); } } //*************************************************************************** //* * //* NAME: LoadSz * //* * //* SYNOPSIS: Loads specified string resource into buffer. * //* * //* REQUIRES: idString: * //* lpszBuf: * //* cbBuf: * //* * //* RETURNS: LPSTR: Pointer to the passed-in buffer. * //* * //* NOTES: If this function fails (most likely due to low memory), the * //* returned buffer will have a leading NULL so it is generally * //* safe to use this without checking for failure. * //* * //*************************************************************************** PSTR LoadSz( UINT idString, PSTR pszBuf, UINT cbBuf ) { // Clear the buffer and load the string if ( pszBuf ) { *pszBuf = '\0'; LoadString( NULL, idString, pszBuf, cbBuf ); } return pszBuf; }
40.64094
102
0.378334
8140c11596d2b44fb8c913a8c66598550a145295
733
c
C
codes/binaryExponentiation.c
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/binaryExponentiation.c
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/binaryExponentiation.c
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
/* ************************************************ username : smmehrab fullname : s.m.mehrabul islam email : mehrab.24csedu.001@gmail.com institute : university of dhaka, bangladesh session : 2017-2018 ************************************************ */ int binaryExponentiation(int x,int n) { int result=1; while(n>0) { if(n % 2 ==1) result=result * x; x=x*x; n=n/2; } return result; } int binaryExponentiation(int x,int n) { if(n==0) return 1; else if(n%2 == 0) //n is even return binaryExponentiation(x*x,n/2); else //n is odd return x*binaryExponentiation(x*x,(n-1)/2); }
22.90625
51
0.454297
814e0195d0093bd75026c156fec0e910341e41b1
374
h
C
solutions/test_csi1/app/include/csi/common/test_config.h
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
9
2020-05-12T03:01:55.000Z
2021-08-12T10:22:31.000Z
solutions/test_csi1/app/include/csi/common/test_config.h
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
null
null
null
solutions/test_csi1/app/include/csi/common/test_config.h
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
12
2020-04-15T11:37:33.000Z
2021-09-13T13:19:04.000Z
#ifndef __TEST_CONFIG_H__ #define __TEST_CONFIG_H__ #include "stdint.h" /* * configuration module, allow users to modify. */ //#define DEBUG_TEST #define CONFIG_TEST_INFO #define CONFIG_TEST_WARN #define COMMANDS_LENGTH 50 #define PARAMETERS_LENGTH 100 #define MODULES_LENGTH 50 /* * public macro definition, user modifications are not allowed. */ #endif
12.896552
63
0.759358
7267d7323e3564867110f7dbef53694740a95ef0
1,411
h
C
windows/pw6e.official/CPlusPlus/Chapter17/HelloPrinter/HelloPrinter/MainPage.xaml.h
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:18:08.000Z
2016-11-23T08:18:08.000Z
windows/pw6e.official/CPlusPlus/Chapter17/HelloPrinter/HelloPrinter/MainPage.xaml.h
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
null
null
null
windows/pw6e.official/CPlusPlus/Chapter17/HelloPrinter/HelloPrinter/MainPage.xaml.h
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:17:34.000Z
2016-11-23T08:17:34.000Z
// // MainPage.xaml.h // Declaration of the MainPage class. // #pragma once #include "MainPage.g.h" namespace HelloPrinter { public ref class MainPage sealed { private: Windows::UI::Xaml::Printing::PrintDocument^ printDocument; Windows::Graphics::Printing::IPrintDocumentSource^ printDocumentSource; Windows::UI::Xaml::Controls::TextBlock^ txtblk; Windows::Foundation::EventRegistrationToken printTaskRequestedEventToken; public: MainPage(); protected: virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override; virtual void OnNavigatedFrom(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override; private: void OnPrintManagerPrintTaskRequested(Windows::Graphics::Printing::PrintManager^ sender, Windows::Graphics::Printing::PrintTaskRequestedEventArgs^ args); void OnPrintTaskSourceRequested(Windows::Graphics::Printing::PrintTaskSourceRequestedArgs^ args); void OnPrintDocumentPaginate(Platform::Object^ sender, Windows::UI::Xaml::Printing::PaginateEventArgs^ args); void OnPrintDocumentGetPreviewPage(Platform::Object^ sender, Windows::UI::Xaml::Printing::GetPreviewPageEventArgs^ args); void OnPrintDocumentAddPages(Platform::Object^ sender, Windows::UI::Xaml::Printing::AddPagesEventArgs^ args); }; }
40.314286
162
0.718639
b0a56a45e81f4326b557bea06999fae2d219b270
447
c
C
ex01-15.c
kdungs/exercises-KnR
2ed204919448fbe01f632dad7c6772bf7a83189a
[ "Unlicense" ]
null
null
null
ex01-15.c
kdungs/exercises-KnR
2ed204919448fbe01f632dad7c6772bf7a83189a
[ "Unlicense" ]
null
null
null
ex01-15.c
kdungs/exercises-KnR
2ed204919448fbe01f632dad7c6772bf7a83189a
[ "Unlicense" ]
1
2020-06-09T15:48:42.000Z
2020-06-09T15:48:42.000Z
#include <stdio.h> float fahrenheit2celsius(float); float celsius2fahrenheit(float); main() { int i; printf(" °C °F\n"); printf(" ==========\n"); for (i = 0; i < 100; ++i) { printf("%4d %5.1f\n", i, celsius2fahrenheit(i)); } return 0; } float fahrenheit2celsius(float fahrenheit) { return 5.0/9.0 * (fahrenheit - 32); } float celsius2fahrenheit(float celsius) { return 9.0/5.0 * (celsius + 32); }
18.625
56
0.572707
b811df98d8ec0bd7be41f9ee4318d47fcad565db
12,168
c
C
vendor/samsung/external/ims_voice_engine/codec/evs/float_c/lib_dec/dec_gen_voic.c
cesarmo759/android_kernel_samsung_msm8916
f19717ef6c984b64a75ea600a735dc937b127c25
[ "Apache-2.0" ]
1
2020-06-28T00:49:21.000Z
2020-06-28T00:49:21.000Z
vendor/samsung/external/ims_voice_engine/codec/evs/float_c/lib_dec/dec_gen_voic.c
cesarmo759/android_kernel_samsung_msm8916
f19717ef6c984b64a75ea600a735dc937b127c25
[ "Apache-2.0" ]
null
null
null
vendor/samsung/external/ims_voice_engine/codec/evs/float_c/lib_dec/dec_gen_voic.c
cesarmo759/android_kernel_samsung_msm8916
f19717ef6c984b64a75ea600a735dc937b127c25
[ "Apache-2.0" ]
1
2021-03-05T16:54:52.000Z
2021-03-05T16:54:52.000Z
/*==================================================================================== EVS Codec 3GPP TS26.443 Oct 20, 2015. Version 12.4.0 ====================================================================================*/ #include <math.h> #include <stdlib.h> #include "options.h" #include "cnst.h" #include "rom_com.h" #include "prot.h" /*---------------------------------------------------------------------* * decod_gen_voic() * * Decode generic (GC), voiced (VC) and AMR-WB IO frames *---------------------------------------------------------------------*/ void decod_gen_voic( Decoder_State *st, /* i/o: decoder static memory */ const short L_frame, /* i : length of the frame */ const short sharpFlag, /* i : formant sharpening flag */ const float *Aq, /* i : LP filter coefficient */ const short coder_type, /* i : coding type */ const float Es_pred, /* i : predicted scaled innov. energy */ const short do_WI, /* i : FEC fast recovery flag */ float *pitch_buf, /* o : floating pitch values for each subframe */ float *voice_factors, /* o : voicing factors */ float *exc, /* i/o: adapt. excitation exc */ float *exc2, /* i/o: adapt. excitation/total exc */ float *bwe_exc, /* o : excitation for SWB TBE */ short *unbits, /* number of unused bits */ float *gain_buf ) { short T0 = PIT_MIN, T0_frac = 0, T0_min, T0_max;/* integer pitch variables */ float gain_pit = 0.0f; /* pitch gain */ float gain_code = 0.0f; /* gain/normalized gain of the algebraic excitation */ float norm_gain_code = 0.0f; /* normalized gain of the algebraic excitation */ float gain_inov = 0; /* Innovation gain */ float gains_mem[2*(NB_SUBFR-1)];/* pitch gain and code gain from previous subframes */ float voice_fac; /* voicing factor */ float code[L_SUBFR]; /* algebraic codevector */ const float *p_Aq; /* Pointer to frame LP coefficient */ float *pt_pitch; /* pointer to floating pitch */ short i_subfr, i; /* tmp variables */ int offset; float error = 0.0f; float gain_preQ = 0; /* Gain of prequantizer excitation */ float code_preQ[L_SUBFR]; /* Prequantizer excitation */ float norm_gain_preQ; short pitch_limit_flag; DTFS_STRUCTURE *PREVP, *CURRP; short shft_prev = 0, shft_curr = 0; float ph_offset, dummy2[2], out[L_FRAME16k], enratio = 0.0f; float sp_enratio, curr_spch_nrg, prev_spch_nrg, curr_res_nrg, prev_res_nrg, syn_tmp[L_FRAME16k], mem_tmp[M]; short harm_flag_acelp; /* read harmonicity flag */ harm_flag_acelp = 0; if( st->core_brate > ACELP_24k40 && st->core_brate <= ACELP_32k && coder_type == GENERIC ) { harm_flag_acelp = (short)get_next_indice( st, 1 ); } /*------------------------------------------------------------------* * ACELP subframe loop *------------------------------------------------------------------*/ p_Aq = Aq; /* pointer to interpolated LPC parameters */ pt_pitch = pitch_buf; /* pointer to the pitch buffer */ norm_gain_preQ = 0.0f; gain_preQ = 0; set_f( code_preQ, 0, L_SUBFR ); for( i_subfr = 0; i_subfr < L_frame; i_subfr += L_SUBFR ) { /*----------------------------------------------------------------------* * Decode pitch lag *----------------------------------------------------------------------*/ *pt_pitch = pit_decode( st, st->core_brate, 0, L_frame, i_subfr, coder_type, &pitch_limit_flag, &T0, &T0_frac, &T0_min, &T0_max, L_SUBFR ); /*--------------------------------------------------------------* * Find the adaptive codebook vector *--------------------------------------------------------------*/ pred_lt4( &exc[i_subfr], &exc[i_subfr], T0, T0_frac, L_SUBFR+1, inter4_2, L_INTERPOL2, PIT_UP_SAMP ); if( L_frame == L_FRAME ) { offset = tbe_celp_exc_offset(T0, T0_frac); for (i=0; i<L_SUBFR * HIBND_ACB_L_FAC; i++) { bwe_exc[i + i_subfr * HIBND_ACB_L_FAC] = bwe_exc[i + i_subfr * HIBND_ACB_L_FAC - offset + (int) error]; } error += (float) offset - (float) T0 * HIBND_ACB_L_FAC - 0.25f * HIBND_ACB_L_FAC * (float) T0_frac; } else { offset = T0 * 2 + (int) ((float) T0_frac * 0.5f + 4 + 0.5f) - 4; for (i=0; i<L_SUBFR * 2; i++) { bwe_exc[i + i_subfr * 2] = bwe_exc[i + i_subfr * 2 - offset + (int) error]; } error += (float) offset - (float) T0 * 2 - 0.5f * (float) T0_frac; } /*--------------------------------------------------------------* * LP filtering of the adaptive excitation *--------------------------------------------------------------*/ lp_filt_exc_dec( st, MODE1, st->core_brate, 0, coder_type, i_subfr, L_SUBFR, L_frame, 0, exc ); /*-----------------------------------------------------------------* * Transform-domain contribution decoding (active frames) *-----------------------------------------------------------------*/ if( st->core_brate > ACELP_24k40 && coder_type != INACTIVE ) { gain_code = 0.0f; transf_cdbk_dec( st, st->core_brate, coder_type, harm_flag_acelp, i_subfr, -1, Es_pred, gain_code, &st->mem_preemp_preQ, &gain_preQ, &norm_gain_preQ, code_preQ, unbits ); } /*--------------------------------------------------------------* * Innovation decoding *--------------------------------------------------------------*/ inov_decode( st, st->core_brate, 0, L_frame, coder_type, sharpFlag, i_subfr, -1, p_Aq, st->tilt_code,*pt_pitch, code ); /*--------------------------------------------------------------* * Gain decoding * Estimate spectrum tilt and voicing *--------------------------------------------------------------*/ if ( st->core_brate <= ACELP_8k00 ) { gain_dec_lbr( st, st->core_brate, coder_type, i_subfr, code, &gain_pit, &gain_code, &gain_inov, &norm_gain_code, gains_mem ); } else if ( st->core_brate > ACELP_32k ) { gain_dec_SQ( st, st->core_brate, coder_type, i_subfr, -1, code, Es_pred, &gain_pit, &gain_code, &gain_inov, &norm_gain_code ); } else { gain_dec_mless( st, st->core_brate, L_frame, coder_type, i_subfr, -1, code, Es_pred, &gain_pit, &gain_code, &gain_inov, &norm_gain_code ); } st->tilt_code = est_tilt( exc+i_subfr, gain_pit, code, gain_code, &voice_fac,L_SUBFR,0 ); /*-----------------------------------------------------------------* * Transform-domain contribution decoding (inactive frames) *-----------------------------------------------------------------*/ if( st->core_brate > ACELP_24k40 && coder_type == INACTIVE ) { transf_cdbk_dec( st, st->core_brate, coder_type, 0, i_subfr, -1, Es_pred, gain_code, &st->mem_preemp_preQ, &gain_preQ, &norm_gain_preQ, code_preQ, unbits ); } /* update LP filtered gains for the case of frame erasures */ lp_gain_updt( i_subfr, gain_pit, norm_gain_code + norm_gain_preQ, &st->lp_gainp, &st->lp_gainc, L_frame ); /*----------------------------------------------------------------------* * Find the total excitation *----------------------------------------------------------------------*/ for (i = 0; i < L_SUBFR; i++) { exc2[i+i_subfr] = gain_pit*exc[i+i_subfr]; exc[i+i_subfr] = exc2[i+i_subfr] + gain_code*code[i]; } /*-----------------------------------------------------------------* * Add the ACELP pre-quantizer contribution *-----------------------------------------------------------------*/ if( st->core_brate > ACELP_24k40 ) { for ( i = 0; i < L_SUBFR; i++ ) { exc2[i+i_subfr] += gain_preQ * code_preQ[i]; exc[i+i_subfr] += gain_preQ * code_preQ[i]; } } /*-----------------------------------------------------------------* * Prepare TBE excitation *-----------------------------------------------------------------*/ prep_tbe_exc( L_frame, i_subfr, gain_pit, gain_code, code, voice_fac, &voice_factors[i_subfr/L_SUBFR], bwe_exc, gain_preQ, code_preQ, T0, coder_type, st->core_brate ); /*----------------------------------------------------------------* * Excitation enhancements (update of total excitation signal) *----------------------------------------------------------------*/ if( st->core_brate > ACELP_32k || coder_type == INACTIVE ) { mvr2r( exc+i_subfr, exc2+i_subfr, L_SUBFR ); } else { enhancer( MODE1, st->core_brate, -1, 0, coder_type, L_frame, voice_fac, st->stab_fac, norm_gain_code, gain_inov, &st->gc_threshold, code, exc2 + i_subfr, gain_pit, st->dispMem ); } p_Aq += (M+1); pt_pitch++; gain_buf[i_subfr/L_SUBFR] = gain_pit; st->tilt_code_dec[i_subfr/L_SUBFR] = st->tilt_code; } /* FEC fast recovery */ if ( do_WI ) { shft_prev = L_EXC_MEM - (short) rint_new(st->bfi_pitch); prev_res_nrg = sum2_f( st->old_exc2+shft_prev, (short) rint_new(st->bfi_pitch) ) + 1e-6f; prev_spch_nrg = sum2_f( st->old_syn2+shft_prev, (short) rint_new(st->bfi_pitch) ) + 1e-6f; mvr2r( st->mem_syn2, mem_tmp, M ); syn_12k8( st->L_frame, Aq, exc2, syn_tmp, mem_tmp, 1 ); shft_curr = st->L_frame - (short) rint_new(pitch_buf[NB_SUBFR16k-1]); curr_res_nrg = sum2_f(exc2+shft_curr, (short) rint_new(pitch_buf[NB_SUBFR16k-1])); curr_spch_nrg = sum2_f(syn_tmp+shft_curr,(short) rint_new(pitch_buf[NB_SUBFR16k-1])); enratio = curr_res_nrg/prev_res_nrg; sp_enratio = curr_spch_nrg/prev_spch_nrg; if ( enratio > 0.25f && enratio < 15.0f && sp_enratio > 0.15f && st->bfi_pitch < 150 && pitch_buf[NB_SUBFR16k-1] < 150 ) { PREVP = DTFS_new(); CURRP = DTFS_new(); DTFS_to_fs( st->old_exc2+shft_prev, (short)rint_new( st->bfi_pitch ), PREVP, (short)st->output_Fs, do_WI ); DTFS_to_fs( exc2+shft_curr, (short)rint_new( pitch_buf[NB_SUBFR16k-1] ), CURRP, (short)st->output_Fs, do_WI ); ph_offset = 0.0f; WIsyn( *PREVP, CURRP, dummy2, &ph_offset, out, st->L_frame, 1 ); mvr2r( out, exc2, st->L_frame); mvr2r( exc2, exc, st->L_frame); /* update bwe_exc for SWB-TBE */ for (i_subfr = 0; i_subfr < L_frame; i_subfr += L_SUBFR) { interp_code_4over2( exc + i_subfr, bwe_exc + (i_subfr*2), L_SUBFR ); } free(PREVP); free(CURRP); } } /* SC-VBR */ st->prev_gain_pit_dec = gain_pit; return; }
45.402985
150
0.442143
fc7ef848bf8d06635941b79bcbf963652080a016
6,710
h
C
fw/Inc/adc.h
RadekZV/PT100
87e9b6a8e5a65eb7ea6febc0e89ac1c3107beec6
[ "MIT" ]
3
2021-03-06T07:54:06.000Z
2022-02-16T06:47:57.000Z
fw/Inc/adc.h
RadekZV/PT100
87e9b6a8e5a65eb7ea6febc0e89ac1c3107beec6
[ "MIT" ]
null
null
null
fw/Inc/adc.h
RadekZV/PT100
87e9b6a8e5a65eb7ea6febc0e89ac1c3107beec6
[ "MIT" ]
2
2021-03-23T01:31:35.000Z
2021-11-02T10:58:38.000Z
/* * Library for ADS1120 */ #ifndef __ADC_INCLUDED__ #define __ADC_INCLUDED__ #include "stm32f0xx_hal.h" #include "utils.h" // main commands for ADS1120 #define ADC_CMD_RESET 0x06 // 0000 011x - reset device #define ADC_CMD_START 0x08 // 0000 100x - start or restart conversion #define ADC_CMD_POWERDOWN 0x02 // 0000 001x - power-down #define ADC_CMD_RDATA 0x10 // 0001 xxxx - read data be command #define ADC_CMD_RREG 0x20 // 0010 rrnn - read nn register starting at address rr #define ADC_CMD_WREG 0x40 // 0100 rrnn - write nn register starting at address rr //designation registers #define ADC_REG0 0x00 // 0000 0000 #define ADC_REG1 0x01 // 0000 0001 #define ADC_REG2 0x02 // 0000 0010 #define ADC_REG3 0x03 // 0000 0011 //setings for REG0 #define ADC_REG0_MUX_AIN0_AIN1 0x00 // 0000 0000 #define ADC_REG0_MUX_AIN0_AIN2 0x10 // 0001 0000 #define ADC_REG0_MUX_AIN0_AIN3 0x20 // 0010 0000 #define ADC_REG0_MUX_AIN1_AIN2 0x30 // 0011 0000 #define ADC_REG0_MUX_AIN1_AIN3 0x40 // 0100 0000 #define ADC_REG0_MUX_AIN2_AIN3 0x50 // 0101 0000 #define ADC_REG0_MUX_AIN1_AIN0 0x60 // 0110 0000 #define ADC_REG0_MUX_AIN3_AIN2 0x70 // 0111 0000 #define ADC_REG0_MUX_AIN0_AVSS 0x80 // 1000 0000 #define ADC_REG0_MUX_AIN1_AVSS 0x90 // 1001 0000 #define ADC_REG0_MUX_AIN2_AVSS 0xA0 // 1010 0000 #define ADC_REG0_MUX_AIN3_AVSS 0xB0 // 1011 0000 #define ADC_REG0_MUX_MODE_VREF 0xC0 // 1100 0000 #define ADC_REG0_MUX_MODE_AVDD_AVSS 0xD0 // 1101 0000 #define ADC_REG0_MUX_MODE_14 0xE0 // 1110 0000 #define ADC_REG0_MUX_RESERVED 0xF0 // 1111 0000 #define ADC_REG0_GAIN1 0x00 // 0000 0000 #define ADC_REG0_GAIN2 0x02 // 0000 0010 #define ADC_REG0_GAIN4 0x04 // 0000 0100 #define ADC_REG0_GAIN8 0x06 // 0000 0110 #define ADC_REG0_GAIN16 0x08 // 0000 1000 #define ADC_REG0_GAIN32 0x0A // 0000 1010 #define ADC_REG0_GAIN64 0x0C // 0000 1100 #define ADC_REG0_GAIN128 0x0E // 0000 1110 #define ADC_REG0_PGA_BYPASS_ENABLE 0x00 // 0000 0000 #define ADC_REG0_PGA_BYPASS_DISABLE 0x01 // 0000 0001 //setings for REG1 #define ADC_REG1_DR_NORM_MODE_20SPS 0x00 // 0000 0000 #define ADC_REG1_MODE_NORMAL 0x00 // 0000 0000 #define ADC_REG1_MODE_DUTY_CYCLE 0x08 // 0000 1000 #define ADC_REG1_MODE_TURBO 0x10 // 0001 0000 #define ADC_REG1_MODE_RESERVED 0x18 // 0001 1000 #define ADC_REG1_CM_SINGLE 0x00 // 0000 0000 #define ADC_REG1_CM_CONTINUOUS 0x04 // 0000 0100 #define ADC_REG1_TS_DISABLE 0x00 // 0000 0000 #define ADC_REG1_TS_ENABLE 0x02 // 0000 0010 #define ADC_REG1_BCS_OFF 0x00 // 0000 0000 #define ADC_REG1_BCS_ON 0x01 // 0000 0001 //setings for REG2 #define ADC_REG2_VREF_INTERNAL 0x00 // 0000 0000 #define ADC_REG2_VREF_EXTERNAL_REFP0_REFN0 0x40 // 0100 0000 #define ADC_REG2_VREF_EXTERNAL_REFP1_REFN1 0x80 // 1000 0000 #define ADC_REG2_VREF_ANALOG 0xC0 // 1100 0000 #define ADC_REG2_FIR_NO 0x00 // 0000 0000 #define ADC_REG2_FIR_SIMULTANEOUS 0x10 // 0001 0000 #define ADC_REG2_FIR_50 0x20 // 0010 0000 #define ADC_REG2_FIR_60 0x30 // 0011 0000 #define ADC_REG2_PSW_OPEN 0x00 // 0000 0000 #define ADC_REG2_PSW_CLOSE 0x08 // 0000 1000 #define ADC_REG2_IDAC_OFF 0x00 // 0000 0000 #define ADC_REG2_IDAC_RESERVED 0x01 // 0000 0001 #define ADC_REG2_IDAC_50u 0x02 // 0000 0010 #define ADC_REG2_IDAC_100u 0x03 // 0000 0011 #define ADC_REG2_IDAC_250u 0x04 // 0000 0100 #define ADC_REG2_IDAC_500u 0x05 // 0000 0101 #define ADC_REG2_IDAC_1000u 0x06 // 0000 0110 #define ADC_REG2_IDAC_1500u 0x07 // 0000 0111 //setings for REG3 #define ADC_REG3_I1MUX_DISABLED 0x00 // 0000 0000 #define ADC_REG3_I1MUX_AIN0_REFP1 0x20 // 0010 0000 #define ADC_REG3_I1MUX_AIN1 0x40 // 0100 0000 #define ADC_REG3_I1MUX_AIN2 0x60 // 0110 0000 #define ADC_REG3_I1MUX_AIN3_REFN1 0x80 // 1000 0000 #define ADC_REG3_I1MUX_REFP0 0xA0 // 1010 0000 #define ADC_REG3_I1MUX_REFN0 0xC0 // 1100 0000 #define ADC_REG3_I1MUX_RESERVED 0xE0 // 1110 0000 #define ADC_REG3_I2MUX_DISABLED 0x00 // 0000 0000 #define ADC_REG3_I2MUX_AIN0_REFP1 0x04 // 0000 0100 #define ADC_REG3_I2MUX_AIN1 0x08 // 0000 1000 #define ADC_REG3_I2MUX_AIN2 0x0C // 0000 1100 #define ADC_REG3_I2MUX_AIN3_REFN1 0x10 // 0001 0000 #define ADC_REG3_I2MUX_REFP0 0x14 // 0001 0100 #define ADC_REG3_I2MUX_REFN0 0x18 // 0001 1000 #define ADC_REG3_I2MUX_RESERVED 0x1C // 0001 1100 #define ADC_REG3_DRDYM_ON 0x00 // 0000 0000 #define ADC_REG3_DRDYM_Off 0xo2 // 0000 0010 #define ADC_REG3_RESERVED 0x00 // 0000 0000 //constant for calculate impedance #define ADC_U_REF 1.0 #define ADC_R_REF 994.4010318 #define ADC_U_REF_INTER 2.048 #define ADC_I_REF 1.0E-3 #define ADC_PRECISION 32768 #define ADC_GAIN 4.0 #define ADC_LIMIT_MIN 9000 #define ADC_LIMIT_MAX 27600 #define ADC_EXTREF_MIN 23600 #define ADC_EXTREF_MAX 30150 #define ADC_AIN0_MIN 17000 #define ADC_AIN0_MAX 22000 #define ADC_AIN1_MIN 19000 #define ADC_AIN1_MAX 25000 #define ADC_UNAP_MIN 12000 #define ADC_UNAP_MAX 14000 #define ADC_UREF_MIN 3200 #define ADC_UREF_MAX 4800 #define TEMP_STEP 0.03125 #define TEMP_BORDER 8192 #define TEMP_LOW 16385 #define TEMP_CORRECT 49152 #define TEMP_MINUS_SIXTY 1920 //constant for calculate temperature #define ADC_PT100_CONST_C0 -245.19 #define ADC_PT100_CONST_C1 2.5293 #define ADC_PT100_CONST_C2 -0.066046 #define ADC_PT100_CONST_C3 4.0422E-3 #define ADC_PT100_CONST_C4 -2.0697E-6 #define ADC_PT100_CONST_C5 -0.025422 #define ADC_PT100_CONST_C6 1.6883E-3 #define ADC_PT100_CONST_C7 -1.3601E-6 void adc_init(void); void adc_init_extref(void); void adc_init_ain1(void); void adc_init_ain0(void); void adc_init_internal_temperature(void); void adc_init_unap(void); void adc_init_uref(void); HAL_StatusTypeDef adc_reset(void); HAL_StatusTypeDef adc_start(void); void adc_get_sample(void); void adc_buffer_clear(uint8_t buffer[]); double adc_calculate_temp(uint8_t msb, uint8_t lsb); double adc_calculate_voltage(uint8_t msb, uint8_t lsb); double adc_calculate_voltage2(uint8_t msb, uint8_t lsb); double adc_calculate_voltage3(uint8_t msb, uint8_t lsb); double adc_average_temp(double temperature); double adc_calculate_unap(uint8_t msb, uint8_t lsb); #endif // __ADC_INCLUDED__
38.342857
96
0.720864
fcabd88a278b57ebd529e252b6c22f1212704596
2,171
c
C
QUARTA/C/liste/lista_bidirezionale.c
Brombe74/IT
8e28ebdefef74734c6bdc9f1d210fbcdc1a5bdd1
[ "MIT" ]
null
null
null
QUARTA/C/liste/lista_bidirezionale.c
Brombe74/IT
8e28ebdefef74734c6bdc9f1d210fbcdc1a5bdd1
[ "MIT" ]
null
null
null
QUARTA/C/liste/lista_bidirezionale.c
Brombe74/IT
8e28ebdefef74734c6bdc9f1d210fbcdc1a5bdd1
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> typedef struct list lista; struct list { int numero; lista* next; lista* prev; }; lista* InserimentoCoda(lista* l1,int n); lista* creanodo(int n); void StampaLista(lista* l1); void StampaScorso(lista* l1,int pos); int main() { lista* l1=NULL; int n,pos; do { printf("\nInserisci un valore: "); scanf("%d",&n); if(n!=-1) { l1=InserimentoCoda(l1,n); } }while(n!=-1); StampaLista(l1); do { printf("\nInserisci la posizione della lista, la quale vuoi vedere il suo valore precedente: "); scanf("%d",&pos); }while(pos<=0); StampaScorso(l1,pos); return 0; } lista* creanodo(int n) //creazione nuovo nodo { lista* nodo=NULL; nodo=(lista*)malloc(sizeof(lista)); //allocazione if(nodo==NULL) { //gestione errore printf("Errore nella creazione del nodo"); return NULL; } nodo->numero=n; //assegnazione del valore nodo->next=NULL; return nodo; } lista* InserimentoCoda(lista* l1,int n) { lista* testa=NULL; lista* coda=NULL; testa=l1; //mi salvo la testa coda=creanodo(n); //creazione di un nuovo nodo if(l1==NULL) { //se la lista passata è vuota //la coda è la testa return coda; } while(l1->next!=NULL) { l1->next->prev=l1; //scorrimento lista fino al penultimo elemento l1=l1->next; } l1->next=coda; //aggiungo il nodo alla lista return testa; } void StampaLista(lista* l1) { if(l1==NULL) { printf("\nLISTA VUOTA"); return; } while(l1!=NULL) { printf("%d",l1->numero); if(l1->next!=NULL) { printf("/"); //stampa di separazione } l1=l1->next; } } void StampaScorso(lista* l1,int pos) { int c=1; while(l1!=NULL) { if(pos==c) { if(l1->prev==NULL) { printf("\nNON HO UN VALORE PRECEDENTE"); //gestione prima pos exit(0); } if(l1->next==NULL) { printf("\nNON HO UN VALORE SUCCESSIVO"); //gestione ultima pos exit(0); } else if(l1->prev!=NULL) //condizione messa per "o entra o entra" { printf("\nValore precedente:%d",l1->prev->numero); exit(0); } } else { c++; l1=l1->next; } } }
14.668919
98
0.598802
da744a18bc87e31822a8d2115cf4b4cfaa8a017b
2,214
h
C
ThirdParty/Havok/include/Common/Base/Types/Physics/hkStepInfo.h
wobbier/source3-engine
f59df759ee197aef5191cf13768c303c6ed17bf5
[ "MIT" ]
11
2016-08-02T03:40:36.000Z
2022-03-15T13:41:29.000Z
ThirdParty/Havok/include/Common/Base/Types/Physics/hkStepInfo.h
wobbier/source3-engine
f59df759ee197aef5191cf13768c303c6ed17bf5
[ "MIT" ]
null
null
null
ThirdParty/Havok/include/Common/Base/Types/Physics/hkStepInfo.h
wobbier/source3-engine
f59df759ee197aef5191cf13768c303c6ed17bf5
[ "MIT" ]
8
2017-03-17T05:59:25.000Z
2021-02-27T08:51:46.000Z
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Product and Trade Secret source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2014 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement. * */ #ifndef HK_MATH_STEP_INFO_H #define HK_MATH_STEP_INFO_H /// Stores step delta time and inverse delta time for simulation step. class HK_EXPORT_COMMON hkStepInfo { public: HK_DECLARE_NONVIRTUAL_CLASS_ALLOCATOR( HK_MEMORY_CLASS_BASE_CLASS, hkStepInfo ); hkStepInfo(){} void set( hkTime startTime, hkTime endTime) { m_startTime = startTime; m_endTime = endTime; m_deltaTime = endTime - startTime; m_invDeltaTime = m_deltaTime == 0.0f ? 0.0f : 1.0f / m_deltaTime; } hkStepInfo( hkTime startTime, hkTime endTime) { set( startTime, endTime ); } public: /// The time at the start of the integration step. /// We need the align to be able to upload this structure to the SPU HK_ALIGN16( hkPadSpu<hkTime> m_startTime ); /// The time at the end of the integration step hkPadSpu<hkTime> m_endTime; /// the current time step being simulated hkPadSpu<hkReal> m_deltaTime; /// the inverse of the current time step being simulated hkPadSpu<hkReal> m_invDeltaTime; }; #endif // HK_MATH_STEP_INFO_H /* * Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20140907) * * Confidential Information of Havok. (C) Copyright 1999-2014 * Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok * Logo, and the Havok buzzsaw logo are trademarks of Havok. Title, ownership * rights, and intellectual property rights in the Havok software remain in * Havok and/or its suppliers. * * Use of this software for evaluation purposes is subject to and indicates * acceptance of the End User licence Agreement for this product. A copy of * the license is included with this software and is also available at www.havok.com/tryhavok. * */
34.061538
251
0.747064
748226080073eae08981b1587b91f2859c92795f
2,166
c
C
projects/can_test/src/main.c
uw-midsun/project-template
a4e8093b3ce453e88f8eb2bceb5318e02afbc0ba
[ "MIT" ]
14
2017-09-15T01:02:34.000Z
2020-05-26T16:12:41.000Z
projects/can_test/src/main.c
uw-midsun/firmware
a4e8093b3ce453e88f8eb2bceb5318e02afbc0ba
[ "MIT" ]
158
2016-10-09T15:21:53.000Z
2019-06-28T01:47:19.000Z
projects/can_test/src/main.c
uw-midsun/firmware
a4e8093b3ce453e88f8eb2bceb5318e02afbc0ba
[ "MIT" ]
9
2017-01-05T23:37:30.000Z
2021-06-10T21:45:06.000Z
// CAN driver bus flooding test // Attempts to flood the CAN bus - would like to ensure that the main thread doesn't starve // and figure out how quickly we can realistically send messages #include "can.h" #include "gpio.h" #include "interrupt.h" #include "log.h" #include "receiver.h" #include "sender.h" #include "soft_timer.h" #define CAN_TEST_BUS_ACTIVE true typedef enum { CAN_TEST_EVENT_RX = 0, CAN_TEST_EVENT_TX, CAN_TEST_EVENT_FAULT, } CanTestEvent; static GpioAddress s_led = { GPIO_PORT_B, 3 }; static CanStorage s_can_storage; static void prv_blink_led(SoftTimerId timer_id, void *context) { gpio_toggle_state(&s_led); soft_timer_start_seconds(1, prv_blink_led, NULL, NULL); } static bool prv_is_sender(void) { GpioAddress pin_out = { GPIO_PORT_A, 0 }; GpioAddress pin_in = { GPIO_PORT_A, 1 }; GpioSettings gpio_settings = { .direction = GPIO_DIR_OUT, .state = GPIO_STATE_LOW }; gpio_init_pin(&pin_out, &gpio_settings); gpio_settings.direction = GPIO_DIR_IN; gpio_settings.resistor = GPIO_RES_PULLUP; gpio_init_pin(&pin_in, &gpio_settings); GpioState io_state = GPIO_STATE_LOW; gpio_get_state(&pin_in, &io_state); return io_state == GPIO_STATE_LOW; } int main(void) { gpio_init(); interrupt_init(); soft_timer_init(); event_queue_init(); GpioSettings gpio_settings = { .direction = GPIO_DIR_OUT, .state = GPIO_STATE_LOW }; gpio_init_pin(&s_led, &gpio_settings); prv_blink_led(0, NULL); bool is_sender = prv_is_sender(); LOG_DEBUG("Is sender: %d\n", is_sender); CanSettings can_settings = { .device_id = 0x4 + is_sender, .bitrate = CAN_HW_BITRATE_500KBPS, .rx_event = CAN_TEST_EVENT_RX, .tx_event = CAN_TEST_EVENT_TX, .fault_event = CAN_TEST_EVENT_FAULT, .tx = { GPIO_PORT_A, 12 }, .rx = { GPIO_PORT_A, 11 }, }; can_init(&s_can_storage, &can_settings); if (is_sender || CAN_TEST_BUS_ACTIVE) { uint16_t msg_id = 15 + !is_sender; sender_init(msg_id); } if (!is_sender) { receiver_init(); } while (true) { Event e = { 0 }; while (status_ok(event_process(&e))) { bool success = can_process_event(&e); } } return 0; }
24.896552
91
0.708218
dddc493befe79af952bcd6eadc927cc9a7330b3f
6,521
c
C
head/lib/libkvm/kvm_file.c
dplbsd/soc2013
c134f5e2a5725af122c94005c5b1af3720706ce3
[ "BSD-2-Clause" ]
null
null
null
head/lib/libkvm/kvm_file.c
dplbsd/soc2013
c134f5e2a5725af122c94005c5b1af3720706ce3
[ "BSD-2-Clause" ]
null
null
null
head/lib/libkvm/kvm_file.c
dplbsd/soc2013
c134f5e2a5725af122c94005c5b1af3720706ce3
[ "BSD-2-Clause" ]
null
null
null
/*- * Copyright (c) 1989, 1992, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include <sys/cdefs.h> __FBSDID("$FreeBSD: soc2013/dpl/head/lib/libkvm/kvm_file.c 217787 2011-01-23 11:08:28Z uqs $"); #if defined(LIBC_SCCS) && !defined(lint) #if 0 static char sccsid[] = "@(#)kvm_file.c 8.1 (Berkeley) 6/4/93"; #endif #endif /* LIBC_SCCS and not lint */ /* * File list interface for kvm. pstat, fstat and netstat are * users of this code, so we've factored it out into a separate module. * Thus, we keep this grunge out of the other kvm applications (i.e., * most other applications are interested only in open/close/read/nlist). */ #include <sys/param.h> #include <sys/user.h> #include <sys/proc.h> #define _WANT_FILE /* make file.h give us 'struct file' */ #include <sys/file.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <nlist.h> #include <kvm.h> #include <vm/vm.h> #include <vm/vm_param.h> #include <sys/sysctl.h> #include <limits.h> #include <ndbm.h> #include <paths.h> #include <stdlib.h> #include "kvm_private.h" #define KREAD(kd, addr, obj) \ (kvm_read(kd, addr, obj, sizeof(*obj)) != sizeof(*obj)) #define KREADN(kd, addr, obj, cnt) \ (kvm_read(kd, addr, obj, (cnt)) != (ssize_t)(cnt)) /* * Get file structures. */ static int kvm_deadfiles(kvm_t *kd, int op __unused, int arg __unused, long allproc_o, int nprocs __unused) { struct proc proc; struct filedesc filed; int buflen = kd->arglen, ocnt = 0, n = 0, once = 0, i; struct file **ofiles; struct file *fp; struct proc *p; char *where = kd->argspc; if (buflen < (int)(sizeof(struct file *) + sizeof(struct file))) return (0); if (KREAD(kd, allproc_o, &p)) { _kvm_err(kd, kd->program, "cannot read allproc"); return (0); } for (; p != NULL; p = LIST_NEXT(&proc, p_list)) { if (KREAD(kd, (u_long)p, &proc)) { _kvm_err(kd, kd->program, "can't read proc at %p", p); goto fail; } if (proc.p_state == PRS_NEW) continue; if (proc.p_fd == NULL) continue; if (KREAD(kd, (u_long)p->p_fd, &filed)) { _kvm_err(kd, kd->program, "can't read filedesc at %p", p->p_fd); goto fail; } if (filed.fd_lastfile + 1 > ocnt) { ocnt = filed.fd_lastfile + 1; free(ofiles); ofiles = (struct file **)_kvm_malloc(kd, ocnt * sizeof(struct file *)); if (ofiles == 0) return (0); } if (KREADN(kd, (u_long)filed.fd_ofiles, ofiles, ocnt * sizeof(struct file *))) { _kvm_err(kd, kd->program, "can't read ofiles at %p", filed.fd_ofiles); return (0); } for (i = 0; i <= filed.fd_lastfile; i++) { if ((fp = ofiles[i]) == NULL) continue; /* * copyout filehead (legacy) */ if (!once) { *(struct file **)kd->argspc = fp; *(struct file **)where = fp; buflen -= sizeof (fp); where += sizeof (fp); once = 1; } if (buflen < (int)sizeof(struct file)) goto fail; if (KREAD(kd, (long)fp, ((struct file *)where))) { _kvm_err(kd, kd->program, "can't read kfp"); goto fail; } buflen -= sizeof (struct file); fp = (struct file *)where; where += sizeof (struct file); n++; } } free(ofiles); return (n); fail: free(ofiles); return (0); } char * kvm_getfiles(kvm_t *kd, int op, int arg, int *cnt) { int mib[2], st, n, nfiles, nprocs; size_t size; _kvm_syserr(kd, kd->program, "kvm_getfiles has been broken for years"); return (0); if (ISALIVE(kd)) { size = 0; mib[0] = CTL_KERN; mib[1] = KERN_FILE; st = sysctl(mib, 2, NULL, &size, NULL, 0); if (st == -1) { _kvm_syserr(kd, kd->program, "kvm_getfiles"); return (0); } if (kd->argspc == 0) kd->argspc = (char *)_kvm_malloc(kd, size); else if (kd->arglen < (int)size) kd->argspc = (char *)_kvm_realloc(kd, kd->argspc, size); if (kd->argspc == 0) return (0); kd->arglen = size; st = sysctl(mib, 2, kd->argspc, &size, NULL, 0); if (st != 0) { _kvm_syserr(kd, kd->program, "kvm_getfiles"); return (0); } nfiles = size / sizeof(struct xfile); } else { struct nlist nl[4], *p; nl[0].n_name = "_allproc"; nl[1].n_name = "_nprocs"; nl[2].n_name = "_nfiles"; nl[3].n_name = 0; if (kvm_nlist(kd, nl) != 0) { for (p = nl; p->n_type != 0; ++p) ; _kvm_err(kd, kd->program, "%s: no such symbol", p->n_name); return (0); } if (KREAD(kd, nl[1].n_value, &nprocs)) { _kvm_err(kd, kd->program, "can't read nprocs"); return (0); } if (KREAD(kd, nl[2].n_value, &nfiles)) { _kvm_err(kd, kd->program, "can't read nfiles"); return (0); } size = sizeof(void *) + (nfiles + 10) * sizeof(struct file); if (kd->argspc == 0) kd->argspc = (char *)_kvm_malloc(kd, size); else if (kd->arglen < (int)size) kd->argspc = (char *)_kvm_realloc(kd, kd->argspc, size); if (kd->argspc == 0) return (0); kd->arglen = size; n = kvm_deadfiles(kd, op, arg, nl[0].n_value, nprocs); if (n != nfiles) { _kvm_err(kd, kd->program, "inconsistant nfiles"); return (0); } nfiles = n; } *cnt = nfiles; return (kd->argspc); }
28.726872
95
0.640853
74be180247ea9c5f7ba5f542934e3411d2601d65
2,884
h
C
src/utils/ffmpeg_utils.h
hokiedsp/matlab-ffmpeg
60162157ab8e6ac1c4a4e6e8894e95a6eb2099ed
[ "BSD-2-Clause" ]
3
2017-09-06T18:11:37.000Z
2020-04-14T09:17:36.000Z
src/utils/ffmpeg_utils.h
hokiedsp/matlab-ffmpeg
60162157ab8e6ac1c4a4e6e8894e95a6eb2099ed
[ "BSD-2-Clause" ]
1
2019-06-19T16:34:57.000Z
2019-07-07T01:20:27.000Z
src/utils/ffmpeg_utils.h
hokiedsp/matlab-ffmpeg
60162157ab8e6ac1c4a4e6e8894e95a6eb2099ed
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <memory> #include <string> #include <vector> #include <mex.h> extern "C" { #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> #include <libavutil/dict.h> } namespace ffmpeg { #define number_of_elements_in_array(myarray) \ (sizeof(myarray) / sizeof(myarray[0])) inline void av_dict_delete(AVDictionary *dict) { if (dict) av_dict_free(&dict); } #define AVDictionaryAutoDelete(dict) \ std::unique_ptr<AVDictionary, decltype(&av_dict_delete)> cleanup_##dict( \ dict, &av_dict_delete) inline void av_codec_context_delete(AVCodecContext *ctx) { if (ctx) avcodec_free_context(&ctx); } #define AVCodecContextAutoDelete(ctx) \ std::unique_ptr<AVCodecContext, decltype(&av_codec_context_delete)> \ cleanup_##ctx(ctx, &av_codec_context_delete) #define AVCodecContextUniquePtr \ std::unique_ptr<AVCodecContext, decltype(&av_codec_context_delete)> #define NewAVCodecContextUniquePtr(ctx) \ std::unique_ptr<AVCodecContext, decltype(&av_codec_context_delete)>( \ ctx, &av_codec_context_delete) /** * Check if the stream st contained in s is matched by the stream specifier * spec. * * See the "stream specifiers" chapter in the documentation for the syntax * of spec. * * @return >0 if st is matched by spec; * 0 if st is not matched by spec; * AVERROR code if spec is invalid * * @note Unlike libformat's avformat_match_stream_specifier(), this function * logs AV_LOG_ERROR if matching fails (i.e., returns <0). * * @note A stream specifier can match several streams in the format. */ int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec); /* * filter_codec_opts * * @param[in] opts Points to an AVDictionary containing arbitrary content * @param[in] codec_id Code ID enum. If stream already has an assigned codec, * use st->codecpar->codec_id * @param[in] s Pointer to a Format Context * @param[in] st Pointer to a Stream in s * @param[in] codec Pointer to a codec to use. For a decoder (or an encoder * with an already assigned codec), pass a nullptr. * * @return Pointer to a newly allocated AVDictionary containing the selected * key-value pairs from the given dictionary opts. Caller is * responsible to free the dictionary. * * @throws if a stream specifier is invalid in any dictionary entry */ AVDictionary *filter_codec_opts(AVDictionary *opts, enum AVCodecID codec_id, AVFormatContext *s, AVStream *st, AVCodec *codec = nullptr); } // namespace ffmpeg
35.170732
80
0.642857
74ede4ed36ecdb2b99920231bf709413e746b201
15,894
c
C
cmake_targets/lte_noS1_build_oai/build/CMakeFiles/Rel14/IdleModeMobilityControlInfo.c
ThomasValerrianPasca/UE_LWA
4aa2a8337cbf129f0adccd46d6b51048c8c1c1de
[ "Apache-2.0" ]
1
2019-02-22T21:33:57.000Z
2019-02-22T21:33:57.000Z
cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/IdleModeMobilityControlInfo.c
aygunbaltaci/OAI_BS_Master
375be88d50787cf1b7af516e1237df9005c32e0d
[ "Apache-2.0" ]
1
2021-05-28T09:06:21.000Z
2021-05-28T14:49:39.000Z
cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/IdleModeMobilityControlInfo.c
aygunbaltaci/OAI_BS_Master
375be88d50787cf1b7af516e1237df9005c32e0d
[ "Apache-2.0" ]
1
2018-03-04T11:09:57.000Z
2018-03-04T11:09:57.000Z
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "EUTRA-RRC-Definitions" * found in "fixed_grammar.asn" * `asn1c -gen-PER` */ #include "IdleModeMobilityControlInfo.h" static int t320_8_constraint(asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key) { /* Replace with underlying type checker */ td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; return td->check_constraints(td, sptr, ctfailcb, app_key); } /* * This type is implemented using NativeEnumerated, * so here we adjust the DEF accordingly. */ static void t320_8_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { td->free_struct = asn_DEF_NativeEnumerated.free_struct; td->print_struct = asn_DEF_NativeEnumerated.print_struct; td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; td->aper_decoder = asn_DEF_NativeEnumerated.aper_decoder; td->aper_encoder = asn_DEF_NativeEnumerated.aper_encoder; td->compare = asn_DEF_NativeEnumerated.compare; if(!td->per_constraints) td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; td->elements = asn_DEF_NativeEnumerated.elements; td->elements_count = asn_DEF_NativeEnumerated.elements_count; /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ } static void t320_8_free(asn_TYPE_descriptor_t *td, void *struct_ptr, int contents_only) { t320_8_inherit_TYPE_descriptor(td); td->free_struct(td, struct_ptr, contents_only); } static int t320_8_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { t320_8_inherit_TYPE_descriptor(td); return td->print_struct(td, struct_ptr, ilevel, cb, app_key); } static asn_dec_rval_t t320_8_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **structure, const void *bufptr, size_t size, int tag_mode) { t320_8_inherit_TYPE_descriptor(td); return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); } static asn_enc_rval_t t320_8_encode_der(asn_TYPE_descriptor_t *td, void *structure, int tag_mode, ber_tlv_tag_t tag, asn_app_consume_bytes_f *cb, void *app_key) { t320_8_inherit_TYPE_descriptor(td); return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); } static asn_dec_rval_t t320_8_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **structure, const char *opt_mname, const void *bufptr, size_t size) { t320_8_inherit_TYPE_descriptor(td); return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); } static asn_enc_rval_t t320_8_encode_xer(asn_TYPE_descriptor_t *td, void *structure, int ilevel, enum xer_encoder_flags_e flags, asn_app_consume_bytes_f *cb, void *app_key) { t320_8_inherit_TYPE_descriptor(td); return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); } static asn_dec_rval_t t320_8_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { t320_8_inherit_TYPE_descriptor(td); return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); } static asn_enc_rval_t t320_8_encode_uper(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *structure, asn_per_outp_t *per_out) { t320_8_inherit_TYPE_descriptor(td); return td->uper_encoder(td, constraints, structure, per_out); } static asn_enc_rval_t t320_8_encode_aper(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *structure, asn_per_outp_t *per_out) { t320_8_inherit_TYPE_descriptor(td); return td->aper_encoder(td, constraints, structure, per_out); } static asn_comp_rval_t * t320_8_compare(asn_TYPE_descriptor_t *td1, const void *structure1, asn_TYPE_descriptor_t *td2, const void *structure2) { asn_comp_rval_t * res = NULL; t320_8_inherit_TYPE_descriptor(td1); t320_8_inherit_TYPE_descriptor(td2); res = td1->compare(td1, structure1, td2, structure2); return res; } static asn_dec_rval_t t320_8_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { t320_8_inherit_TYPE_descriptor(td); return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data); } static asn_per_constraints_t asn_PER_type_t320_constr_8 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; static asn_INTEGER_enum_map_t asn_MAP_t320_value2enum_8[] = { { 0, 4, "min5" }, { 1, 5, "min10" }, { 2, 5, "min20" }, { 3, 5, "min30" }, { 4, 5, "min60" }, { 5, 6, "min120" }, { 6, 6, "min180" }, { 7, 6, "spare1" } }; static unsigned int asn_MAP_t320_enum2value_8[] = { 1, /* min10(1) */ 5, /* min120(5) */ 6, /* min180(6) */ 2, /* min20(2) */ 3, /* min30(3) */ 0, /* min5(0) */ 4, /* min60(4) */ 7 /* spare1(7) */ }; static asn_INTEGER_specifics_t asn_SPC_t320_specs_8 = { asn_MAP_t320_value2enum_8, /* "tag" => N; sorted by tag */ asn_MAP_t320_enum2value_8, /* N => "tag"; sorted by N */ 8, /* Number of elements in the maps */ 0, /* Enumeration is not extensible */ 1, /* Strict enumeration */ 0, /* Native long size */ 0 }; static ber_tlv_tag_t asn_DEF_t320_tags_8[] = { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_t320_8 = { "t320", "t320", t320_8_free, t320_8_print, t320_8_constraint, t320_8_decode_ber, t320_8_encode_der, t320_8_decode_xer, t320_8_encode_xer, t320_8_decode_uper, t320_8_encode_uper, t320_8_decode_aper, t320_8_encode_aper, t320_8_compare, 0, /* Use generic outmost tag fetcher */ asn_DEF_t320_tags_8, sizeof(asn_DEF_t320_tags_8) /sizeof(asn_DEF_t320_tags_8[0]) - 1, /* 1 */ asn_DEF_t320_tags_8, /* Same as above */ sizeof(asn_DEF_t320_tags_8) /sizeof(asn_DEF_t320_tags_8[0]), /* 2 */ &asn_PER_type_t320_constr_8, 0, 0, /* Defined elsewhere */ &asn_SPC_t320_specs_8 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_ext1_18[] = { { ATF_POINTER, 1, offsetof(struct IdleModeMobilityControlInfo__ext1, freqPriorityListExtEUTRA_r12), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_FreqPriorityListExtEUTRA_r12, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "freqPriorityListExtEUTRA-r12" }, }; static int asn_MAP_ext1_oms_18[] = { 0 }; static ber_tlv_tag_t asn_DEF_ext1_tags_18[] = { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_18[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* freqPriorityListExtEUTRA-r12 at 1289 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_18 = { sizeof(struct IdleModeMobilityControlInfo__ext1), offsetof(struct IdleModeMobilityControlInfo__ext1, _asn_ctx), asn_MAP_ext1_tag2el_18, 1, /* Count of tags in the map */ asn_MAP_ext1_oms_18, /* Optional members */ 1, 0, /* Root/Additions */ -1, /* Start extensions */ -1 /* Stop extensions */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_ext1_18 = { "ext1", "ext1", SEQUENCE_free, SEQUENCE_print, SEQUENCE_constraint, SEQUENCE_decode_ber, SEQUENCE_encode_der, SEQUENCE_decode_xer, SEQUENCE_encode_xer, SEQUENCE_decode_uper, SEQUENCE_encode_uper, SEQUENCE_decode_aper, SEQUENCE_encode_aper, SEQUENCE_compare, 0, /* Use generic outmost tag fetcher */ asn_DEF_ext1_tags_18, sizeof(asn_DEF_ext1_tags_18) /sizeof(asn_DEF_ext1_tags_18[0]) - 1, /* 1 */ asn_DEF_ext1_tags_18, /* Same as above */ sizeof(asn_DEF_ext1_tags_18) /sizeof(asn_DEF_ext1_tags_18[0]), /* 2 */ 0, /* No PER visible constraints */ asn_MBR_ext1_18, 1, /* Elements count */ &asn_SPC_ext1_specs_18 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_ext2_20[] = { { ATF_POINTER, 2, offsetof(struct IdleModeMobilityControlInfo__ext2, freqPriorityListEUTRA_v1310), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_FreqPriorityListEUTRA_v1310, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "freqPriorityListEUTRA-v1310" }, { ATF_POINTER, 1, offsetof(struct IdleModeMobilityControlInfo__ext2, freqPriorityListExtEUTRA_v1310), (ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_FreqPriorityListExtEUTRA_v1310, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "freqPriorityListExtEUTRA-v1310" }, }; static int asn_MAP_ext2_oms_20[] = { 0, 1 }; static ber_tlv_tag_t asn_DEF_ext2_tags_20[] = { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ext2_tag2el_20[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* freqPriorityListEUTRA-v1310 at 1291 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* freqPriorityListExtEUTRA-v1310 at 1292 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ext2_specs_20 = { sizeof(struct IdleModeMobilityControlInfo__ext2), offsetof(struct IdleModeMobilityControlInfo__ext2, _asn_ctx), asn_MAP_ext2_tag2el_20, 2, /* Count of tags in the map */ asn_MAP_ext2_oms_20, /* Optional members */ 2, 0, /* Root/Additions */ -1, /* Start extensions */ -1 /* Stop extensions */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_ext2_20 = { "ext2", "ext2", SEQUENCE_free, SEQUENCE_print, SEQUENCE_constraint, SEQUENCE_decode_ber, SEQUENCE_encode_der, SEQUENCE_decode_xer, SEQUENCE_encode_xer, SEQUENCE_decode_uper, SEQUENCE_encode_uper, SEQUENCE_decode_aper, SEQUENCE_encode_aper, SEQUENCE_compare, 0, /* Use generic outmost tag fetcher */ asn_DEF_ext2_tags_20, sizeof(asn_DEF_ext2_tags_20) /sizeof(asn_DEF_ext2_tags_20[0]) - 1, /* 1 */ asn_DEF_ext2_tags_20, /* Same as above */ sizeof(asn_DEF_ext2_tags_20) /sizeof(asn_DEF_ext2_tags_20[0]), /* 2 */ 0, /* No PER visible constraints */ asn_MBR_ext2_20, 2, /* Elements count */ &asn_SPC_ext2_specs_20 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_IdleModeMobilityControlInfo_1[] = { { ATF_POINTER, 9, offsetof(struct IdleModeMobilityControlInfo, freqPriorityListEUTRA), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_FreqPriorityListEUTRA, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "freqPriorityListEUTRA" }, { ATF_POINTER, 8, offsetof(struct IdleModeMobilityControlInfo, freqPriorityListGERAN), (ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_FreqsPriorityListGERAN, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "freqPriorityListGERAN" }, { ATF_POINTER, 7, offsetof(struct IdleModeMobilityControlInfo, freqPriorityListUTRA_FDD), (ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_FreqPriorityListUTRA_FDD, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "freqPriorityListUTRA-FDD" }, { ATF_POINTER, 6, offsetof(struct IdleModeMobilityControlInfo, freqPriorityListUTRA_TDD), (ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_FreqPriorityListUTRA_TDD, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "freqPriorityListUTRA-TDD" }, { ATF_POINTER, 5, offsetof(struct IdleModeMobilityControlInfo, bandClassPriorityListHRPD), (ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_BandClassPriorityListHRPD, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "bandClassPriorityListHRPD" }, { ATF_POINTER, 4, offsetof(struct IdleModeMobilityControlInfo, bandClassPriorityList1XRTT), (ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_BandClassPriorityList1XRTT, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "bandClassPriorityList1XRTT" }, { ATF_POINTER, 3, offsetof(struct IdleModeMobilityControlInfo, t320), (ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_t320_8, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "t320" }, { ATF_POINTER, 2, offsetof(struct IdleModeMobilityControlInfo, ext1), (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 0, &asn_DEF_ext1_18, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "ext1" }, { ATF_POINTER, 1, offsetof(struct IdleModeMobilityControlInfo, ext2), (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 0, &asn_DEF_ext2_20, 0, /* Defer constraints checking to the member type */ 0, /* No PER visible constraints */ 0, "ext2" }, }; static int asn_MAP_IdleModeMobilityControlInfo_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; static ber_tlv_tag_t asn_DEF_IdleModeMobilityControlInfo_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_IdleModeMobilityControlInfo_tag2el_1[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* freqPriorityListEUTRA at 1279 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* freqPriorityListGERAN at 1280 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* freqPriorityListUTRA-FDD at 1281 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* freqPriorityListUTRA-TDD at 1282 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* bandClassPriorityListHRPD at 1283 */ { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* bandClassPriorityList1XRTT at 1284 */ { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* t320 at 1286 */ { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ext1 at 1289 */ { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* ext2 at 1291 */ }; static asn_SEQUENCE_specifics_t asn_SPC_IdleModeMobilityControlInfo_specs_1 = { sizeof(struct IdleModeMobilityControlInfo), offsetof(struct IdleModeMobilityControlInfo, _asn_ctx), asn_MAP_IdleModeMobilityControlInfo_tag2el_1, 9, /* Count of tags in the map */ asn_MAP_IdleModeMobilityControlInfo_oms_1, /* Optional members */ 7, 2, /* Root/Additions */ 6, /* Start extensions */ 10 /* Stop extensions */ }; asn_TYPE_descriptor_t asn_DEF_IdleModeMobilityControlInfo = { "IdleModeMobilityControlInfo", "IdleModeMobilityControlInfo", SEQUENCE_free, SEQUENCE_print, SEQUENCE_constraint, SEQUENCE_decode_ber, SEQUENCE_encode_der, SEQUENCE_decode_xer, SEQUENCE_encode_xer, SEQUENCE_decode_uper, SEQUENCE_encode_uper, SEQUENCE_decode_aper, SEQUENCE_encode_aper, SEQUENCE_compare, 0, /* Use generic outmost tag fetcher */ asn_DEF_IdleModeMobilityControlInfo_tags_1, sizeof(asn_DEF_IdleModeMobilityControlInfo_tags_1) /sizeof(asn_DEF_IdleModeMobilityControlInfo_tags_1[0]), /* 1 */ asn_DEF_IdleModeMobilityControlInfo_tags_1, /* Same as above */ sizeof(asn_DEF_IdleModeMobilityControlInfo_tags_1) /sizeof(asn_DEF_IdleModeMobilityControlInfo_tags_1[0]), /* 1 */ 0, /* No PER visible constraints */ asn_MBR_IdleModeMobilityControlInfo_1, 9, /* Elements count */ &asn_SPC_IdleModeMobilityControlInfo_specs_1 /* Additional specs */ };
34.855263
102
0.739273
d37f80f2bb413ba18333d77b933280e5bd6f933d
939
h
C
SVA/Map/Model/SVAInheritialModel.h
SVADemoAPP/03_SVA_DEMO_APP_IOS
fc54dc91c4e7e0f31bd4cc8010148274279ccfd8
[ "Apache-2.0" ]
1
2016-06-29T01:58:27.000Z
2016-06-29T01:58:27.000Z
SVA/Map/Model/SVAInheritialModel.h
SVADemoAPP/03_SVA_DEMO_APP_IOS
fc54dc91c4e7e0f31bd4cc8010148274279ccfd8
[ "Apache-2.0" ]
1
2016-08-04T08:25:49.000Z
2016-08-04T08:25:49.000Z
SVA/Map/Model/SVAInheritialModel.h
SVADemoAPP/03_SVA_DEMO_APP_IOS
fc54dc91c4e7e0f31bd4cc8010148274279ccfd8
[ "Apache-2.0" ]
null
null
null
// // SVAInheritialModel.h // SVA // // Created by XuZongCheng on 16/2/21. // Copyright © 2016年 huawei. All rights reserved. // #import <Foundation/Foundation.h> @interface SVAInheritialModel : SMActivityBaseModel @property (nonatomic, copy) NSString *banThreshold; @property (nonatomic, assign) NSInteger correctMapDirection; @property (nonatomic, assign) NSInteger exceedMaxDeviation; @property (nonatomic, assign) NSInteger filterLength; @property (nonatomic, copy) NSString *filterPeakError; @property (nonatomic, copy) NSString *horizontalWeight; @property (nonatomic, assign) NSInteger isEnable; @property (nonatomic, assign) NSInteger maxDeviation; @property (nonatomic, copy) NSString *ongitudinalWeight; @property (nonatomic, assign) NSInteger peakWidth; @property (nonatomic, assign) NSInteger restTimes; @property (nonatomic, assign) NSInteger updateTime; @property (nonatomic, copy) NSString *step; @end
33.535714
60
0.771033
dd30ea5cce0902853d1e8c1d591073fc03f385c5
4,353
h
C
src/NURBSSurface.h
mortennobel/OpenGL_3_2_Utils
94f9cd2fa5f7a92bde8a80b3a12d280e9023e0fa
[ "BSD-2-Clause" ]
8
2015-05-12T09:46:38.000Z
2021-09-09T11:52:29.000Z
src/NURBSSurface.h
mortennobel/OpenGL_3_2_Utils
94f9cd2fa5f7a92bde8a80b3a12d280e9023e0fa
[ "BSD-2-Clause" ]
null
null
null
src/NURBSSurface.h
mortennobel/OpenGL_3_2_Utils
94f9cd2fa5f7a92bde8a80b3a12d280e9023e0fa
[ "BSD-2-Clause" ]
4
2016-10-10T17:20:06.000Z
2020-04-08T09:38:07.000Z
/*! * OpenGL 3.2 Utils - Extension to the Angel library (from the book Interactive Computer Graphics 6th ed * https://github.com/mortennobel/OpenGL_3_2_Utils * * New BSD License * * Copyright (c) 2011, Morten Nobel-Joergensen * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following * disclaimer. * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef _NURBS_SURFACE_H #define _NURBS_SURFACE_H #include <vector> #include "Angel.h" #include "NURBS.h" /// NURBSSurface represents a NURBS surface path. /// Each surface patch object must be given a number of control points for each /// point in the u and v direction (the number of control points is specified /// in the contructor). /// The surface patch also needs a knot vector in a non-decreasing order for /// both the u and v direction. The size of the knot vector must be larger than /// than the number of control points (for the given direction). /// The order of the patch for a given direction is knot vector size minus the number /// of control points. /// A tesselated mesh is created using the methods getMeshData() and getMeshDataIndices() /// An easy way to render the patch is using the NURBSRenderer class. class NURBSSurface : public NURBS { public: NURBSSurface(int numberOfControlPointsU, int numberOfControlPointsV, int discretizationU = 16, int discretizationV = 16); ~NURBSSurface(); std::vector<vec4> getControlPoints(); /// Set the controlPoint at index void setControlPoint(int u, int v, vec3 controlPoint); /// Set the controlPoint at index, the w-component of the controlpoint is the rational value void setControlPoint(int u, int v, vec4 controlPoint); // Get the controlPoint at position u, v vec4 getControlPoint(int u, int v); // set the knot vector (used for NonUniformBSplines and NonUniformRationalBSplines (NURBS) bool setKnotVectorU(int count, float const * knotVector); bool setKnotVectorV(int count, float const * knotVector); // return the number of control points int getNumberOfControlPointsU(); int getNumberOfControlPointsV(); // Return the correct size of the knot vector int getKnotVectorSizeU(); int getKnotVectorSizeV(); // return the order of the curve (degree + 1) int getOrderU(); int getOrderV(); // return the degree of the curve (knotVectorSize - numberOfControlPoints -1) int getDegreeU(); int getDegreeV(); // creates a tesselated mesh std::vector<NURBSVertex> getMeshData(); std::vector<GLuint> getMeshDataIndices(); // evaluate the point based on u (between 0 and 1). Note that the v parameter is not used here. vec4 evaluate(float u, float v = 0); vec3 evaluateNormal(float u, float v); // for NURBS Surface always return triangle strips GLenum getPrimitiveType(); private: int getIndex(int u, int v); bool setKnotVector(int knotSize, float const * knotVector, int numberOfControlPoints, int & refDegree, std::vector<float> & refKnotVector); int degreeU; int degreeV; int numberOfControlPointsU; int numberOfControlPointsV; std::vector<float> knotVectorU; std::vector<float> knotVectorV; int discretizationU; int discretizationV; vec4 **controlPoints; }; #endif // _NURBS_SURFACE_H
39.93578
140
0.763152
ea67cc203c00ecc50ac2c1121a6d4accded35abd
2,163
c
C
msp430fr2433_timerB_PWM1.1/main.c
JuanSandu/MSP430FR2433_examples
5823220f283b33aaee8b44451beb1a5672b98715
[ "MIT" ]
2
2022-01-28T12:03:12.000Z
2022-02-02T08:50:56.000Z
msp430fr2433_timerB_PWM1.1/main.c
JuanSandu/MSP430FR2433_examples
5823220f283b33aaee8b44451beb1a5672b98715
[ "MIT" ]
null
null
null
msp430fr2433_timerB_PWM1.1/main.c
JuanSandu/MSP430FR2433_examples
5823220f283b33aaee8b44451beb1a5672b98715
[ "MIT" ]
null
null
null
//******************************************************************************* //! Timer_A3, PWM TA1.2, Up Mode, DCO SMCLK //! //! Description: This program generates PWM outputs on P2.2 using //! Timer1_A configured for up mode. The value , TIMER_PERIOD, defines the PWM //! period and the value DUTY_CYCLE the PWM duty cycle. Using ~1.048MHz //! SMCLK as TACLK, the timer period is ~480us with a 75% duty cycle on P4.0 //! ACLK = n/a, SMCLK = MCLK = TACLK = default DCO ~1.048MHz. //! //! Tested On: MSP430FR4133 //! ------------------- //! /|\| | //! | | | //! --|RST | //! | | //! | P4.0/TA1.1|--> CCR1 - 75% PWM //! | | //! //! This example uses the following peripherals and I/O signals. You must //! review these and change as needed for your own board: //! - Timer peripheral //! - GPIO peripheral //! //! This example uses the following interrupt handlers. To use this example //! in your own application you must add these interrupt handlers to your //! vector table. //! - NONE //****************************************************************************** #include "driverlib.h" #define TIMER_A_PERIOD 625 #define DUTY_CYCLE 60 void main (void) { //Stop WDT WDT_A_hold(WDT_A_BASE); //P1.0 as PWM output P1DIR |= BIT1; P1SEL0 &= ~BIT1; P1SEL1 |= BIT1; /* * Disable the GPIO power-on default high-impedance mode to activate * previously configured port settings */ PMM_unlockLPM5(); //Generate PWM - Timer runs in Up-Down mode Timer_A_outputPWMParam param = {0}; param.clockSource = TIMER_A_CLOCKSOURCE_SMCLK; param.clockSourceDivider = TIMER_A_CLOCKSOURCE_DIVIDER_32; param.timerPeriod = TIMER_A_PERIOD; param.compareRegister = TIMER_A_CAPTURECOMPARE_REGISTER_1; param.compareOutputMode = TIMER_A_OUTPUTMODE_RESET_SET; param.dutyCycle = DUTY_CYCLE; Timer_A_outputPWM(TIMER_A0_BASE, &param); //Enter LPM0 __bis_SR_register(LPM0_bits); //For debugger __no_operation(); }
32.283582
81
0.570042
e3dcfa5e983ed583fcefa927c4bdfaf652f76477
846
h
C
RunSignUpReg/RunSignUpReg/AddressAnnotation.h
RunSignUp-Team/RunSignUp-Apps
41f4f9c2b5e56d9c1fe15e41bbe402d94d0ce74b
[ "Apache-2.0" ]
3
2015-09-28T23:01:03.000Z
2020-05-17T02:34:16.000Z
RunSignUpReg/RunSignUpReg/AddressAnnotation.h
RunSignUp-Team/RunSignUp-Apps
41f4f9c2b5e56d9c1fe15e41bbe402d94d0ce74b
[ "Apache-2.0" ]
1
2015-04-01T22:28:45.000Z
2015-04-02T01:44:54.000Z
RunSignUpReg/RunSignUpReg/AddressAnnotation.h
RunSignUp-Team/RunSignUp-Apps
41f4f9c2b5e56d9c1fe15e41bbe402d94d0ce74b
[ "Apache-2.0" ]
null
null
null
// // AddressAnnotation.h // RunSignUpReg // // Copyright 2014 RunSignUp // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #import <Foundation/Foundation.h> #import <MapKit/MapKit.h> @interface AddressAnnotation : NSObject<MKAnnotation>{ CLLocationCoordinate2D coordinate; } - (id)initWithCoordinate:(CLLocationCoordinate2D)c; @end
29.172414
75
0.754137
ee067abaa9b38f900ba3604df0ba2b9c763bbe42
1,102
c
C
main.c
coconanacc/lerangit
d208008c3c3be0a5999fd3e9694eb87b736781ff
[ "Apache-2.0" ]
null
null
null
main.c
coconanacc/lerangit
d208008c3c3be0a5999fd3e9694eb87b736781ff
[ "Apache-2.0" ]
null
null
null
main.c
coconanacc/lerangit
d208008c3c3be0a5999fd3e9694eb87b736781ff
[ "Apache-2.0" ]
null
null
null
// // main.c // CYYLX // // Created by admin on 2018/11/18. // Copyright © 2018 admin. All rights reserved. // /*#include <stdio.h> int main() { int x,y; for(x=0;x<=20;x++){ for(y=0;y<=33;y++){ if( 5*x+3*y+(100-x-y)/3.0==100) { printf("x=%d,y=%d,z=%d\n",x,y,(100-x-y)); } }hh } } */ /*#include <stdio.h> int main() { int i=0,n,sum=0; printf("Input a number:"); scanf("%d",&n); for(i=0;;i++){ printf("Input a number:"); if(n==0){ printf("Input a number:"); scanf("%d",&n); break; } else if(n<0){ continue; } else{ sum=sum+n; printf("Input a number:");& scanf("%d",&n); } } printf("sum = %d, count = %d\n",sum,i); }*/ #include <stdio.h> int main() { double c; float f; printf("Please input cels: "); scanf("%lf",&c); f=c*9.0/5.0+32.0; printf("The fahr is: %.2f",f); }
16.205882
57
0.385662
7c29cdf2b2106a37af9d858ed4af658aa87e2d88
1,290
h
C
lab1/buzzer.h
Pasha0666/lab1
1be0a925f7b2976a0e72cf8f7ca009efedd7c5ea
[ "Unlicense" ]
null
null
null
lab1/buzzer.h
Pasha0666/lab1
1be0a925f7b2976a0e72cf8f7ca009efedd7c5ea
[ "Unlicense" ]
null
null
null
lab1/buzzer.h
Pasha0666/lab1
1be0a925f7b2976a0e72cf8f7ca009efedd7c5ea
[ "Unlicense" ]
null
null
null
#pragma once #include "melody.h" #include "picthes.h" #define BUZZER_NOTE_DURATION 125 class Buzzer { public: Buzzer(int _pin, int _numBuzzer, int _countMelody) { pin = _pin; pinMode(pin, OUTPUT); numBuzzer = _numBuzzer; countMelody = _countMelody; melodis = new Melody[countMelody]; noteStartedMs = 0; currentMelody = 0; } void setMelody(Melody _melody, int numMelody) { melodis[numMelody] = _melody; } void setNextMelody(){ melodis[currentMelody].resetMelody(); currentMelody = (currentMelody + 1) % countMelody; } void playSound() { if ((millis() - noteStartedMs) > currentDurations) { currentNote = melodis[currentMelody].NextNote(numBuzzer); if (currentNote.note == NOTE_SILENCE) noTone(pin); else tone(pin, currentNote.note); currentDurations = round(BUZZER_NOTE_DURATION*currentNote.durations); noteStartedMs = millis(); } } private: int pin; int numBuzzer; Note currentNote; uint64_t currentDurations; uint64_t noteStartedMs; int currentMelody; Melody* melodis; int countMelody; };
21.5
81
0.591473
f698954067e0d82f50b7c6498756ab8c9b2b33d9
737
h
C
src/phg/utils/cameras_bundler_import.h
kpilyugin/PhotogrammetryTasks2021
7da69f04909075340a220a7021efeeb42283d9dc
[ "MIT" ]
null
null
null
src/phg/utils/cameras_bundler_import.h
kpilyugin/PhotogrammetryTasks2021
7da69f04909075340a220a7021efeeb42283d9dc
[ "MIT" ]
null
null
null
src/phg/utils/cameras_bundler_import.h
kpilyugin/PhotogrammetryTasks2021
7da69f04909075340a220a7021efeeb42283d9dc
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <phg/sfm/defines.h> #include <phg/sfm/sfm_utils.h> #include <phg/core/calibration.h> namespace phg { // See abound bundler .out v0.3 format in 'Output format and scene representation' section: // https://www.cs.cornell.edu/~snavely/bundler/bundler-v0.4-manual.html#S6 void importCameras(const std::string &path, std::vector<matrix34d> &cameras, phg::Calibration &sensor_calibration, std::vector<vector3d> &tie_points, std::vector<phg::Track> &tracks, std::vector<std::vector<cv::KeyPoint>> &keypoints, int downscale=1, std::vector<cv::Vec3b> *tie_points_colors=nullptr); }
32.043478
91
0.629579
6e84e0f7a62f210e42864bb5c2ce95b9bd80f0f5
1,838
h
C
Silicon/Intel/WhitleySiliconPkg/Cpu/Include/CpuPolicyPeiDxeCommon.h
heatd/edk2-platforms
eb2d49b5a7d1403c2ea332d546c5b27e43d9ba2c
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
373
2016-04-18T09:22:36.000Z
2022-03-30T14:19:06.000Z
Silicon/Intel/WhitleySiliconPkg/Cpu/Include/CpuPolicyPeiDxeCommon.h
heatd/edk2-platforms
eb2d49b5a7d1403c2ea332d546c5b27e43d9ba2c
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
25
2020-06-24T00:44:40.000Z
2021-08-22T09:39:33.000Z
Silicon/Intel/WhitleySiliconPkg/Cpu/Include/CpuPolicyPeiDxeCommon.h
heatd/edk2-platforms
eb2d49b5a7d1403c2ea332d546c5b27e43d9ba2c
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
341
2016-05-05T15:46:20.000Z
2022-03-28T06:57:39.000Z
/** @file Intel CPU PPM policy common structures and macros for both CPU late policy PPI and CPU policy protocol. @copyright Copyright 2020 - 2021 Intel Corporation. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef __CPU_POLICY_PEI_DXE_COMMON_HEADER__ #define __CPU_POLICY_PEI_DXE_COMMON_HEADER__ typedef struct { BOOLEAN CpuTStateEnable; UINT8 CpuClockModulationDutyCycle; BOOLEAN CpuAesEnable; BOOLEAN CpuFastStringEnable; BOOLEAN CpuMaxCpuidValueLimitEnable; BOOLEAN CpuMachineCheckEnable; BOOLEAN CpuMonitorMwaitEnable; BOOLEAN CpuVtEnable; BOOLEAN CpuLtEnable; BOOLEAN CpuX2ApicEnable; BOOLEAN CpuEistEnable; BOOLEAN CpuTurboModeEnable; BOOLEAN CpuHwCoordinationEnable; UINT8 CpuBootPState; BOOLEAN CpuPpinControlEnable; BOOLEAN CpuPeciDownstreamWriteEnable; BOOLEAN CpuL1NextPagePrefetcherDisable; BOOLEAN CpuDcuPrefetcherEnable; BOOLEAN CpuIpPrefetcherEnable; BOOLEAN CpuMlcStreamerPrefetecherEnable; BOOLEAN CpuMlcSpatialPrefetcherEnable; BOOLEAN CpuAmpPrefetchEnable; BOOLEAN CpuThreeStrikeCounterEnable; BOOLEAN CpuCStateEnable; UINT8 CpuPackageCStateLimit; BOOLEAN CpuC1AutoDemotionEnable; BOOLEAN CpuC1AutoUndemotionEnable; UINT8 CpuCoreCStateValue; UINT16 CpuAcpiLvl2Addr; BOOLEAN CpuThermalManagementEnable; UINT8 CpuTccActivationOffset; BOOLEAN CpuDbpfEnable; BOOLEAN CpuEnergyPerformanceBiasEnable; UINT32 CpuIioLlcWaysBitMask; UINT32 CpuExpandedIioLlcWaysBitMask; UINT32 CpuRemoteWaysBitMask; UINT32 CpuRrqCountThreshold; UINT8 CpuMtoIWa; BOOLEAN RunCpuPpmInPei; BOOLEAN AcExceptionOnSplitLockEnable; BOOLEAN CpuCrashLogGprs; } CPU_POLICY_COMMON; #endif
31.152542
61
0.758977
f52a18ac171ce2fc5e5ebedcbd459933c0afa0e5
1,968
h
C
src/csapex_core/include/csapex/factory/node_factory_impl.h
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
21
2016-09-02T15:33:25.000Z
2021-06-10T06:34:39.000Z
src/csapex_core/include/csapex/factory/node_factory_impl.h
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
null
null
null
src/csapex_core/include/csapex/factory/node_factory_impl.h
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
10
2016-10-12T00:55:17.000Z
2020-04-24T19:59:02.000Z
#ifndef NODE_FACTORY_IMPL_H #define NODE_FACTORY_IMPL_H /// COMPONENT #include <csapex/factory/node_factory.h> #include <csapex/model/node_constructor.h> #include <csapex/utility/uuid.h> /// PROJECT #include <csapex/model/notifier.h> #include <csapex/core/core_fwd.h> #include <csapex/model/model_fwd.h> #include <csapex/plugin/plugin_fwd.h> #include <csapex_core/csapex_core_export.h> /// SYSTEM #include <vector> #include <csapex/utility/slim_signal.h> #include <unordered_map> class TiXmlElement; namespace csapex { class CSAPEX_CORE_EXPORT NodeFactoryImplementation : public NodeFactory { public: NodeFactoryImplementation(Settings& settings, PluginLocator* locator); void setPluginLocator(PluginLocator* locator); void loadPlugins(); void shutdown(); void registerNodeType(NodeConstructor::Ptr provider, bool suppress_signals = false); NodeFacadeImplementationPtr makeNode(const std::string& type, const UUID& uuid, const UUIDProviderPtr& uuid_provider); NodeFacadeImplementationPtr makeNode(const std::string& type, const UUID& uuid, const UUIDProviderPtr& uuid_provider, NodeStatePtr state); NodeFacadeImplementationPtr makeGraph(const UUID& uuid, const UUIDProviderPtr& uuid_provider); NodeFacadeImplementationPtr makeGraph(const UUID& uuid, const UUIDProviderPtr& uuid_provider, NodeStatePtr state); public: slim_signal::Signal<void(const std::string&)> loaded; slim_signal::Signal<void()> new_node_type; slim_signal::Signal<void(NodeFacadePtr)> node_constructed; slim_signal::Signal<void(const std::string& file, const TiXmlElement* document)> manifest_loaded; protected: void ensureLoaded() override; void rebuildPrototypes(); void rebuildMap(); protected: Settings& settings_; csapex::PluginLocator* plugin_locator_; std::shared_ptr<PluginManager<Node>> node_manager_; bool tag_map_has_to_be_rebuilt_; }; } // namespace csapex #endif // NODE_FACTORY_IMPL_H
29.818182
142
0.775407
7cf98aa5d566168250fa9e540a35e00ea4b53203
30,492
c
C
trunk/freertos/app/ble_central/ble_central.c
HESUPING/JmeshBLE-StaticLib
cf0900f004026c7e2e3448ffde07e21d4af8e387
[ "Apache-2.0" ]
null
null
null
trunk/freertos/app/ble_central/ble_central.c
HESUPING/JmeshBLE-StaticLib
cf0900f004026c7e2e3448ffde07e21d4af8e387
[ "Apache-2.0" ]
null
null
null
trunk/freertos/app/ble_central/ble_central.c
HESUPING/JmeshBLE-StaticLib
cf0900f004026c7e2e3448ffde07e21d4af8e387
[ "Apache-2.0" ]
3
2019-08-27T17:11:42.000Z
2021-02-04T06:38:35.000Z
/** **************************************************************************************** * * @file ble_central.c * * @brief BLE ble_central Demo Config Internal. * * Copyright (C) BlueX Microelectronics 2018-2023 * **************************************************************************************** */ /** **************************************************************************************** * @addtogroup BLE_CENTRAL BLE Central Demo * @ingroup BLE_DEMO * @brief defines for BLE central demo * * * @{ **************************************************************************************** */ /* * INCLUDE FILES **************************************************************************************** */ #include "ble_central.h" #ifdef BLE_CENTRAL_SIMPLE #include "ble_user_main.h" #include "ble_bx2400_simple_c.h" /* * TYPE DEFINITIONS **************************************************************************************** */ /* * DEFINES **************************************************************************************** */ #define BLE_PERIPHERAL_MAX_MTU 23 //max pdu mtu size (23~2048) /** * Default Scan response data * -------------------------------------------------------------------------------------- * x09 - Length * xFF - Vendor specific advertising type * x00\x60\x52\x57\x2D\x42\x4C\x45 - "RW-BLE" * -------------------------------------------------------------------------------------- */ /// set response data when active scan, maximum 29bytes long #define OSAPP_SCNRSP_DATA ("BX2400-ADVRSP") /// set response data length, maximum 29bytes long #define OSAPP_SCNRSP_DATA_LEN (sizeof(OSAPP_SCNRSP_DATA)) #define OSAPP_SCNRSP_DATA_CHG ("BX2400-ADVCHG") #define OSAPP_SCNRSP_DATA_CHG_LEN (sizeof(OSAPP_SCNRSP_DATA_CHG)) #define OSAPP_DFLT_DEVICE_NAME ("BX2400-CHG0") #define OSAPP_DFLT_DEVICE_NAME_LEN (sizeof(OSAPP_DFLT_DEVICE_NAME)) #define OSAPP_DEVICE_NAME_CHG1 ("BX2400-CHG1") #define OSAPP_DEVICE_NAME_CHG1_LEN (sizeof(OSAPP_DEVICE_NAME_CHG1)) #define OSAPP_DEVICE_NAME_CHG2 ("BX2400-CHG2") #define OSAPP_DEVICE_NAME_CHG2_LEN (sizeof(OSAPP_DEVICE_NAME_CHG2)) #define OSAPP_DEVICE_NAME_CHG3 ("BX2400-CHG3") #define OSAPP_DEVICE_NAME_CHG3_LEN (sizeof(OSAPP_DEVICE_NAME_CHG3)) #define OSAPP_DEVICE_NAME_CHG4 ("BX2400-CHG4") #define OSAPP_DEVICE_NAME_CHG4_LEN (sizeof(OSAPP_DEVICE_NAME_CHG4)) #define OSAPP_BX_ADV_DATA_UUID "\x03\x03\x00\x24" #define OSAPP_BX_ADV_DATA_UUID_LEN (4) #define OSAPP_DATA_TOTAL_LEN (ADV_DATA_LEN-3) // 3 bytes for ad type flags /** * Advertising Parameters */ /// Advertising channel map - 37, 38, 39 #define APP_ADV_CHMAP (0x07) /// Advertising minimum interval - 40ms (64*0.625ms) #define APP_ADV_INT_MIN (64) /// Advertising maximum interval - 40ms (64*0.625ms) #define APP_ADV_INT_MAX (64) /// Fast advertising interval #define APP_ADV_FAST_INT (32) /// Update adv data period 1000ms #define APP_ADV_UPDATE_PERIOD pdMS_TO_TICKS(1000) ///App device name #define APP_DEVICE_NAME "BlueX Observer" /// Maximal MTU acceptable for device #define BLE_L2CAP_MAX_MTU 23 /** * Slave Preferred Parameters */ /// Slave preferred Connection interval Min #define CONN_INTERVAL_MIN 20 /// Slave preferred Connection interval Max #define CONN_INTERVAL_MAX 40 /// Slave preferred Connection latency #define SLAVE_LATENCY 0 /// Slave preferred Link supervision timeout #define CONN_TIMEOUT 400 #define CENTRAL_FILTER_BDADDR 0x99,0x22,0x33,0x44,0x55,0x66 /* * GLOBAL VARIABLE DEFINITIONS **************************************************************************************** */ /* * LOCAL VARIABLE DEFINITIONS **************************************************************************************** */ static ble_central_env_t central_env; /* * MACROS **************************************************************************************** */ /* * GLOBAL VARIABLE DEFINITIONS **************************************************************************************** */ /* * LOCAL FUNCTIONS DEFINITIONS **************************************************************************************** */ static void osapp_ble_stack_data_init(void); static void osapp_device_ready_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static int32_t osapp_reset(void); static void osapp_default_msg_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static int32_t osapp_set_dev_config(uint8_t role,uint8_t addr_type,uint8_t pairing_mode,uint16_t max_mtu); static void osapp_gapc_conn_req_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static void osapp_gapc_disconnect_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static int32_t osapp_gapc_conn_confirm(ke_task_id_t dest_id); static void osapp_gattc_cmp_evt_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static void osapp_gapc_cmp_evt_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static int32_t osapp_add_user_profiles(uint8_t index); static void osapp_gapm_profile_added_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static int32_t osapp_start_scan(void); static void osapp_gapm_adv_report_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static void osapp_find_device(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id); static int32_t osapp_stop_scan(void); static void osapp_start_data_communication(void); /* * MESSAGES HANDLERS DEFINITIONS **************************************************************************************** */ /** * @brief user data init set. * */ __weak void osapp_user_main_init(void) { osapp_ble_stack_run(); LOG(LOG_LVL_INFO,"osapp_user_main_init\n"); } /** * @brief ble stack start run. * */ void osapp_ble_stack_run(void) { osapp_ble_stack_data_init(); osapp_set_dev_config(GAP_ROLE_CENTRAL,GAPM_CFG_ADDR_PUBLIC,GAPM_PAIRING_LEGACY,BLE_L2CAP_MAX_MTU); LOG(LOG_LVL_INFO,"osapp_ble_stack_run\n"); } /** * @brief ble stack data init. * */ static void osapp_ble_stack_data_init(void) { memset(&central_env, 0 , sizeof(ble_central_env_t)); central_env.svc.max_num = BLE_CENTRAL_SERVICES_NUM; central_env.svc.index = 0; central_env.svc.handles[PRF_BX24XX_SIMPLES_SERVICE_ID] = ble_bx24xx_simple_prf_add_svc; } /** **************************************************************************************** * @brief print log when there are unhandled message. * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_default_msg_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { LOG(LOG_LVL_INFO,"default handler,msgid: 0x%x, dest_id: 0x%x, src_id: 0x%x\n",msgid,dest_id,src_id); } /** **************************************************************************************** * @brief a reset should be down when receive a GAPM_DEVICE_READY_IND * * @return message send to ble_task success or not. 0 for failed and 1 for success. * **************************************************************************************** */ static int32_t osapp_reset(void) { struct gapm_reset_cmd *cmd = AHI_MSG_ALLOC(GAPM_RESET_CMD,TASK_ID_GAPM,gapm_reset_cmd); cmd->operation = GAPM_RESET; return osapp_msg_build_send(cmd, sizeof(struct gapm_reset_cmd)); } /** **************************************************************************************** * @brief Callback when receive GAPM_DEVICE_READY_IND. * Every time after power on receive a GAPM_DEVICE_READY_IND and osapp_reset must be executed. * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_device_ready_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { int32_t result = 0; //reset cmd result = osapp_reset(); BX_ASSERT(result!=0); } /** **************************************************************************************** * @brief set device role and global settings when start. Should be down before advertising, just after the reset (GAPM_RESET). * @param[in] role : * No role set yet GAP_ROLE_NONE = 0x00, Observer role GAP_ROLE_OBSERVER = 0x01, Broadcaster role GAP_ROLE_BROADCASTER = 0x02, Master/Central role GAP_ROLE_CENTRAL = (0x04 | GAP_ROLE_OBSERVER), Peripheral/Slave role GAP_ROLE_PERIPHERAL = (0x08 | GAP_ROLE_BROADCASTER), Device has all role, both peripheral and central GAP_ROLE_ALL = (GAP_ROLE_CENTRAL | GAP_ROLE_PERIPHERAL), Debug mode used to force LL configuration on BLE 4.0 GAP_ROLE_DBG_LE_4_0 = 0x80 * @param[in] addr_type : * Device Address is a Public Static address GAPM_CFG_ADDR_PUBLIC = 0, Device Address is a Private Static address GAPM_CFG_ADDR_PRIVATE = 1, Device Address generated using host-based Privacy feature GAPM_CFG_ADDR_HOST_PRIVACY = 2, Device Address generated using controller-based Privacy feature GAPM_CFG_ADDR_CTNL_PRIVACY = 4, * @param[in] pairing_mode : * No pairing authorized GAPM_PAIRING_DISABLE = 0, Legacy pairing Authorized GAPM_PAIRING_LEGACY = (1 << 0), Secure Connection pairing Authorized GAPM_PAIRING_SEC_CON = (1 << 1), Force re-generation of P256 private and public keys GAPM_PAIRING_FORCE_P256_KEY_GEN = (1<<7), * @param[in] max_mtu : set the max byte send in a connection interval, when max_mtu>23 more than on event will happen in a connection interval. * Should be no bigger than 2048 * @return message send to ble_task success or not. 0 for failed and 1 for success. * **************************************************************************************** */ static int32_t osapp_set_dev_config(uint8_t role,uint8_t addr_type,uint8_t pairing_mode,uint16_t max_mtu) { // Set Device configuration struct gapm_set_dev_config_cmd* cmd = AHI_MSG_ALLOC(GAPM_SET_DEV_CONFIG_CMD,TASK_ID_GAPM,gapm_set_dev_config_cmd); memset(cmd, 0 , sizeof(struct gapm_set_dev_config_cmd)); cmd->operation = GAPM_SET_DEV_CONFIG; cmd->role = role; // Set Data length parameters cmd->sugg_max_tx_octets = BLE_MIN_OCTETS; cmd->sugg_max_tx_time = BLE_MIN_TIME; cmd->max_mtu = max_mtu; cmd->addr_type = addr_type; cmd->pairing_mode = pairing_mode; return osapp_msg_build_send(cmd, sizeof(struct gapm_set_dev_config_cmd)); } /** **************************************************************************************** * @brief gapc event complete. * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_gapc_cmp_evt_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { LOG(LOG_LVL_INFO,"GAPC_CMP_EVT\n"); } /** **************************************************************************************** * @brief callback when gattc event has completed. * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_gattc_cmp_evt_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { struct gattc_cmp_evt *evt = (struct gattc_cmp_evt *)param; switch(evt->operation) { case GATTC_READ: if(evt->status == GAP_ERR_NO_ERROR) LOG(LOG_LVL_INFO, "GATTC_READ complete.\n"); break; default: break; } } /** **************************************************************************************** * @brief callback when receive GAPM_PROFILE_ADDED_IND, indicate that profile has been added. * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_gapm_profile_added_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { struct gapm_profile_added_ind *ind = (struct gapc_connection_req_ind *)param; LOG(LOG_LVL_INFO,"osapp_gapm_profile_added_ind_handler\n"); central_env.svc.start_hdl[central_env.svc.index]=ind->start_hdl; /// update start handler if((&central_env.svc.gattcbs[central_env.svc.index] != NULL) && (central_env.svc.gattcbs[central_env.svc.index].pfnHandlerInitCB != NULL)) { central_env.svc.gattcbs[central_env.svc.index].pfnHandlerInitCB(ind->start_hdl,ind->prf_task_id,ind->prf_task_nb); } central_env.svc.index++;//updata svc index } /** **************************************************************************************** * @brief callback when receive GAPC_CONNECTION_REQ_IND, indicate the connect has established. * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_gapc_conn_req_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { struct gapc_connection_req_ind *ind = (struct gapc_connection_req_ind *)param; // memcpy(&peripheral_env.conn_info.device_addr,&ind->peer_addr,sizeof(bd_addr_t)); // peripheral_env.conn_info.conn_idx = src_id; // peripheral_env.conn_info.valid = 1; osapp_gapc_conn_confirm(src_id); LOG(LOG_LVL_INFO,"Connect comfirm\n"); } /** **************************************************************************************** * @brief confirm a connection, use this function when receive GAPC_CONNECTION_REQ_IND * * @param[in] dest_id connection id, different connection has different connection id. * * @return message send to ble_task success or not. 0 for failed and 1 for success. * **************************************************************************************** */ static int32_t osapp_gapc_conn_confirm(ke_task_id_t dest_id) { struct gapc_connection_cfm *cfm = AHI_MSG_ALLOC(GAPC_CONNECTION_CFM, dest_id, gapc_connection_cfm); cfm->auth = GAP_AUTH_REQ_NO_MITM_NO_BOND; return osapp_msg_build_send(cfm,sizeof(struct gapc_connection_cfm)); } /** **************************************************************************************** * @brief callback when receive GAPC_DISCONNECT_IND, indicate the connect has broken off. And normally, we should restart advertising when connection break off. * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_gapc_disconnect_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { struct gapc_disconnect_ind const *ind = param; LOG(LOG_LVL_INFO,"Connect lost 0x%X \n",ind->conhdl); LOG(LOG_LVL_INFO,"Disconnect Reason 0x%X \n",ind->reason); } /** **************************************************************************************** * @brief add service and characteristics in client database * * @param[in] index now which svc should add * * @return message send to ble_task success or not. 0 for failed and 1 for success. * **************************************************************************************** */ static int32_t osapp_add_user_profiles(uint8_t index) { if(central_env.svc.index < central_env.svc.max_num) { prf_add_svc_handler_t p_add_svc_func = central_env.svc.handles[central_env.svc.index]; return p_add_svc_func((central_env.svc.gattcbs+central_env.svc.index)); } else { LOG(LOG_LVL_INFO,"prf client add done\n"); osapp_start_scan(); return 0; } } /** **************************************************************************************** * @brief configure and start scan * * @return message send to ble_task success or not. 0 for failed and 1 for success. * **************************************************************************************** */ static int32_t osapp_start_scan(void) { struct gapm_start_scan_cmd *cmd = AHI_MSG_ALLOC(GAPM_START_SCAN_CMD,TASK_ID_GAPM,gapm_start_scan_cmd); cmd->op.code = GAPM_SCAN_PASSIVE; cmd->mode = GAP_GEN_DISCOVERY; cmd->interval = 0x20; cmd->window = 0x20; return osapp_msg_build_send(cmd, sizeof(struct gapm_start_scan_cmd)); } /** **************************************************************************************** * @brief configure and stop scan * * @return message send to ble_task success or not. 0 for failed and 1 for success. * **************************************************************************************** */ static int32_t osapp_stop_scan(void) { struct gapm_cancel_cmd *cmd = AHI_MSG_ALLOC(GAPM_CANCEL_CMD,TASK_ID_GAPM,gapm_cancel_cmd); cmd->operation = GAPM_CANCEL; return osapp_msg_build_send(cmd, sizeof(struct gapm_cancel_cmd)); } /** **************************************************************************************** * @brief find devices match service uuid filter * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_find_device(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { struct adv_report const *report = param; bd_addr_t filter_addr={ .addr = {CENTRAL_FILTER_BDADDR} }; if(memcmp(filter_addr.addr ,report->adv_addr.addr , GAP_BD_ADDR_LEN) == 0)//match { LOG(LOG_LVL_INFO,"find the device :\n"); osapp_stop_scan(); } } /** **************************************************************************************** * @brief connect to peer device * * @return message send to ble_task success or not. 0 for failed and 1 for success. * **************************************************************************************** */ static int32_t osapp_connect(void) { struct gap_bdaddr addr; struct gapm_start_connection_cmd conn_cmd; uint8_t connect_addr[GAP_BD_ADDR_LEN] = {CENTRAL_FILTER_BDADDR}; memset(&addr,0,sizeof(addr)); memset(&conn_cmd,0,sizeof(conn_cmd)); conn_cmd.op.code = GAPM_CONNECTION_DIRECT; conn_cmd.op.addr_src = GAPM_STATIC_ADDR; conn_cmd.scan_interval = 0x20; conn_cmd.scan_window = 0x20; conn_cmd.con_intv_max = 0x6; conn_cmd.con_intv_min = 0x6; conn_cmd.con_latency = 0; conn_cmd.superv_to = 0x2a; conn_cmd.ce_len_max = 0x0; conn_cmd.ce_len_min = 0x0; conn_cmd.nb_peers = 1; addr.addr_type = ADDR_PUBLIC; memcpy(addr.addr.addr,connect_addr,GAP_BD_ADDR_LEN); struct gapm_start_connection_cmd* new_cmd = AHI_MSG_ALLOC_DYN(GAPM_START_CONNECTION_CMD, TASK_ID_GAPM, gapm_start_connection_cmd, sizeof(struct gap_bdaddr)); memcpy(new_cmd,&conn_cmd,sizeof(struct gapm_start_connection_cmd)); memcpy(new_cmd->peers,&addr,sizeof(struct gap_bdaddr)); return osapp_msg_build_send(new_cmd, sizeof(struct gapm_start_connection_cmd) + sizeof(struct gap_bdaddr) ); } /** **************************************************************************************** * @brief start data communication over air * * @return message send to ble_task success or not. 0 for failed and 1 for success. * **************************************************************************************** */ static void osapp_start_data_communication(void) { } /** **************************************************************************************** * @brief handler of advertising report information, callback when receive GAPM_ADV_REPORT_IND * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_gapm_adv_report_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { struct adv_report const *report = param; uint8_t i=0; switch(report->evt_type) { case ADV_CONN_UNDIR: LOG(LOG_LVL_INFO,"ADV_CONN_UNDIR\n"); break; case ADV_CONN_DIR: LOG(LOG_LVL_INFO,"ADV_CONN_DIR\n"); break; case ADV_DISC_UNDIR: LOG(LOG_LVL_INFO,"ADV_DISC_UNDIR\n"); break; case ADV_NONCONN_UNDIR: LOG(LOG_LVL_INFO,"ADV_NONCONN_UNDIR\n"); break; case ADV_CONN_DIR_LDC: LOG(LOG_LVL_INFO,"ADV_CONN_DIR_LDC\n"); break; default: LOG(LOG_LVL_WARN,"NO THIS TYPE ADV"); break; } LOG(LOG_LVL_INFO,"adv_addr_type : %d \n",report->adv_addr_type);//GAPM_CFG_ADDR_PUBLIC LOG(LOG_LVL_INFO,"adv_addr: "); for(i=0;i<GAP_BD_ADDR_LEN;i++) LOG(LOG_LVL_INFO,":0x%02X",report->adv_addr.addr[i]);//GAPM_CFG_ADDR_PUBLIC LOG(LOG_LVL_INFO,"\n ADV len : %d \n ADV data ",report->data_len); for(uint8_t i=0;i<report->data_len;i++) LOG(LOG_LVL_INFO,":0x%02X",report->data[i]); LOG(LOG_LVL_INFO,"\n ADV RSSI : %d \n",report->rssi); osapp_find_device(msgid,param,dest_id,src_id); } /** **************************************************************************************** * @brief handler of get device information, callback when receive GAPC_GET_DEV_INFO_REQ_IND * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_gapc_get_dev_info_req_ind_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { struct gapc_get_dev_info_req_ind const *dev_info = param; LOG(LOG_LVL_INFO,"Get device information\n"); switch(dev_info->req) { case GAPC_DEV_NAME: { struct gapc_get_dev_info_cfm * cfm = AHI_MSG_ALLOC_DYN(GAPC_GET_DEV_INFO_CFM, src_id, gapc_get_dev_info_cfm, sizeof(APP_DEVICE_NAME)); cfm->req = dev_info->req; cfm->info.name.length = sizeof(APP_DEVICE_NAME); memcpy(cfm->info.name.value,APP_DEVICE_NAME,sizeof(APP_DEVICE_NAME)); osapp_msg_build_send(cfm,sizeof(struct gapc_get_dev_info_cfm) + sizeof(APP_DEVICE_NAME)); } break; case GAPC_DEV_APPEARANCE: { // Allocate message struct gapc_get_dev_info_cfm *cfm = AHI_MSG_ALLOC(GAPC_GET_DEV_INFO_CFM, src_id, gapc_get_dev_info_cfm); cfm->req = dev_info->req; // No appearance cfm->info.appearance = 0; osapp_msg_build_send(cfm,sizeof(struct gapc_get_dev_info_cfm)); } break; case GAPC_DEV_SLV_PREF_PARAMS: { // Allocate message struct gapc_get_dev_info_cfm *cfm = AHI_MSG_ALLOC(GAPC_GET_DEV_INFO_CFM, src_id, gapc_get_dev_info_cfm); cfm->req = dev_info->req; // Slave preferred Connection interval Min cfm->info.slv_params.con_intv_min = CONN_INTERVAL_MIN; // Slave preferred Connection interval Max cfm->info.slv_params.con_intv_max = CONN_INTERVAL_MAX; // Slave preferred Connection latency cfm->info.slv_params.slave_latency = SLAVE_LATENCY; // Slave preferred Link supervision timeout cfm->info.slv_params.conn_timeout = CONN_TIMEOUT; osapp_msg_build_send(cfm,sizeof(struct gapc_get_dev_info_cfm)); } break; default: /* Do Nothing */ break; } } /** **************************************************************************************** * @brief handler of gapm complete message. Callback when receive GAPM_CMP_EVT * * @param[in] msgid Id of the message received. * @param[in] param Pointer to the parameters of the message. * @param[in] dest_id ID of the receiving task instance (TASK_GAPM). * @param[in] src_id ID of the sending task instance. * **************************************************************************************** */ static void osapp_gapm_cmp_evt_handler(ke_msg_id_t const msgid, void const *param,ke_task_id_t const dest_id,ke_task_id_t const src_id) { struct gapm_cmp_evt const *cmp_evt = param; LOG(LOG_LVL_INFO,"gapm_cmp_evt status: 0x%x \n",cmp_evt->status); switch(cmp_evt->operation) { case GAPM_RESET: if(cmp_evt->status == GAP_ERR_NO_ERROR) { LOG(LOG_LVL_INFO,"Reset OK\n"); osapp_user_main_init(); } else { LOG(LOG_LVL_INFO,"Reset Failed\n"); } break; case GAPM_SET_DEV_CONFIG: if(cmp_evt->status == GAP_ERR_NO_ERROR) { LOG(LOG_LVL_INFO,"Set Role OK\n"); osapp_add_user_profiles(central_env.svc.index); LOG(LOG_LVL_INFO,"Add Profile\n"); } else { LOG(LOG_LVL_INFO,"Set Role Failed\n"); } break; case GAPM_SCAN_PASSIVE: case GAPM_SCAN_ACTIVE: { LOG(LOG_LVL_INFO,"Scan Done.\n"); osapp_connect(); } break; case GAPM_CONNECTION_DIRECT: if(cmp_evt->status == GAP_ERR_NO_ERROR) { LOG(LOG_LVL_INFO,"Connect Complete\n"); osapp_start_data_communication(); } else { LOG(LOG_LVL_INFO,"Connect Failed\n"); } break; case GAPM_PROFILE_TASK_ADD: if(cmp_evt->status == GAP_ERR_NO_ERROR) { LOG(LOG_LVL_INFO,"GAPM PROFILE TASK ADD\n"); osapp_add_user_profiles(central_env.svc.index);//add next svc } else { LOG(LOG_LVL_INFO,"GAPM PROFILE TASK ADD Failed\n"); } break; default: LOG(LOG_LVL_WARN,"gapm_cmp_evt operation:0x%x\n",cmp_evt->operation); break; } } /** * @brief message and handler table. This define the connection of message and it's callback. */ static const osapp_msg_handler_table_t handler_table[]= { [0] = {KE_MSG_DEFAULT_HANDLER,(osapp_msg_handler_t)osapp_default_msg_handler}, ///connection indicate: receive connect request from master {GAPC_CONNECTION_REQ_IND,(osapp_msg_handler_t)osapp_gapc_conn_req_ind_handler}, ///connection lost indicate handler {GAPC_DISCONNECT_IND,(osapp_msg_handler_t)osapp_gapc_disconnect_ind_handler}, ///GAPM event complete {GAPM_CMP_EVT,(osapp_msg_handler_t)osapp_gapm_cmp_evt_handler}, ///ble power on ready and should do a reset {GAPM_DEVICE_READY_IND,(osapp_msg_handler_t)osapp_device_ready_ind_handler}, ///trigger when master need to read device information uuid 0x1800 {GAPC_GET_DEV_INFO_REQ_IND,(osapp_msg_handler_t)osapp_gapc_get_dev_info_req_ind_handler}, ///GAPC event complete {GAPC_CMP_EVT,(osapp_msg_handler_t)osapp_gapc_cmp_evt_handler}, ///This command is used to allocate a task for specific profile (service or client). {GAPM_PROFILE_ADDED_IND,osapp_gapm_profile_added_ind_handler}, ///triggered when scanning operation of selective connection establishment procedure receive advertising report information. {GAPM_ADV_REPORT_IND,osapp_gapm_adv_report_ind_handler}, ///gattc event has completed {GATTC_CMP_EVT,(osapp_msg_handler_t)osapp_gattc_cmp_evt_handler}, }; /* * GLOBAL VARIABLE DEFINITIONS **************************************************************************************** */ const osapp_msg_handler_info_t handler_info = ARRAY_INFO(handler_table); /// @} BLE_CENTRAL #endif/* BLE_CENTRAL_SIMPLE */
37.459459
160
0.598321
8cfc72c457bcd3f499606b6110d0e9c1bc2144ee
364
h
C
CMC030/utl/open/utl_system.h
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
1
2018-10-17T08:53:17.000Z
2018-10-17T08:53:17.000Z
CMC030/utl/open/utl_system.h
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
CMC030/utl/open/utl_system.h
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
/* * File Layout for: UTL.UTL_SYSTEM on 21-May-01 * * System Description File */ #pragma member_alignment save #pragma nomember_alignment struct utl_system_cdd { /* Element = Description = */ char system[2]; /* Element = Description = */ char description[40]; /* Element = Description = */ char system_num[2]; }; #pragma member_alignment restore
15.826087
47
0.692308
40668a0f84edbc93367d59a26d07b79ce3acd058
2,372
h
C
src/toolkit/io/BufferStream.h
whoozle/toolkit
a36e7e978f69264f23632df487ccee4ba69e9260
[ "MIT" ]
2
2019-04-23T14:36:30.000Z
2019-11-06T20:48:12.000Z
src/toolkit/io/BufferStream.h
whoozle/toolkit
a36e7e978f69264f23632df487ccee4ba69e9260
[ "MIT" ]
null
null
null
src/toolkit/io/BufferStream.h
whoozle/toolkit
a36e7e978f69264f23632df487ccee4ba69e9260
[ "MIT" ]
1
2019-04-23T14:36:32.000Z
2019-04-23T14:36:32.000Z
#ifndef TOOLKIT_BYTEDATASTREAM_H #define TOOLKIT_BYTEDATASTREAM_H #include <toolkit/core/Buffer.h> #include <toolkit/io/IStream.h> #include <toolkit/io/IBufferedStream.h> #include <string.h> namespace TOOLKIT_NS { namespace io { class BufferStreamBase : virtual public ISeekable { protected: off_t _offset; virtual off_t GetBufferSize() const = 0; public: BufferStreamBase(): _offset(0) { } off_t Seek(off_t offset, SeekMode mode = SeekMode::Begin) override { switch (mode) { case SeekMode::Begin: _offset = offset; break; case SeekMode::Current: _offset += offset; break; case SeekMode::End: _offset = GetBufferSize() + offset; break; } return _offset; } off_t Tell() override { return _offset; } }; class BufferInputStream : public BufferStreamBase, public virtual ISeekableInputStream, public virtual IBufferedInputStream { ConstBuffer _src; private: off_t GetBufferSize() const override { return _src.size(); } public: BufferInputStream(ConstBuffer src): _src(src) { } size_t Read(Buffer dst) override { size_t size = _src.size(); size_t n = std::min(dst.size(), size - _offset); memcpy(dst.data(), _src.data() + _offset, n); _offset += n; return n; } ConstBuffer GetReadBuffer() const override { return ConstBuffer(_src, _offset); } void ReadComplete(size_t bytes) override { if (bytes + _offset > _src.size()) throw Exception("ReadComplete: input buffer overflow"); _offset += bytes; } }; class BufferOutputStream : public BufferStreamBase, public virtual ISeekableOutputStream, public virtual IBufferedOutputStream { private: Buffer _dst; off_t GetBufferSize() const override { return _dst.size(); } public: BufferOutputStream(Buffer dst): _dst(dst) { } size_t Write(ConstBuffer src) override { Buffer dst(_dst, _offset); size_t n = std::min(dst.size(), src.size()); _offset += n; memcpy(dst.data(), src.data(), n); return n; } Buffer GetWriteBuffer() const override { return _dst; } void WriteComplete(size_t bytes) override { if (bytes + _offset > _dst.size()) throw Exception("WriteComplete: input buffer overflow"); _offset += bytes; } void WriteSkip(size_t bytes) override { WriteComplete(bytes); } }; }} #endif
19.932773
68
0.674115
f4036785e437c0570dcd4b8f51863b59c15770ac
1,177
h
C
third party/openRTMFP-Cumulus/CumulusServer/sources/SocketManaged.h
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
5
2015-04-30T09:08:30.000Z
2018-08-13T05:00:39.000Z
third party/openRTMFP-Cumulus/CumulusServer/sources/SocketManaged.h
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
null
null
null
third party/openRTMFP-Cumulus/CumulusServer/sources/SocketManaged.h
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
null
null
null
/* Copyright 2010 OpenRTMFP This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License received along this program for more details (or else see http://www.gnu.org/licenses/). This file is a part of Cumulus. */ #pragma once #include "Poco/Net/Socket.h" class SocketManaged { public: SocketManaged(const Poco::Net::Socket& socket):error(false),writable(false),readable(false),socket(socket){} virtual ~SocketManaged(){} virtual void onReadable(Poco::UInt32 available)=0; virtual void onWritable()=0; virtual void onError(const std::string& error)=0; virtual bool haveToWrite()=0; const bool error; const bool writable; const bool readable; const Poco::Net::Socket& socket; };
30.179487
110
0.712829
4c3f60de3cc01d8ad45c8e2d5341a18e7d6a89d1
290
h
C
desktoputil/concurrency.h
kullo/client-farcaster
43adcca4ab30742b0193a72de23f5627b385bb0b
[ "BSD-3-Clause" ]
1
2018-12-30T10:15:27.000Z
2018-12-30T10:15:27.000Z
desktoputil/concurrency.h
kullo/client-farcaster
43adcca4ab30742b0193a72de23f5627b385bb0b
[ "BSD-3-Clause" ]
null
null
null
desktoputil/concurrency.h
kullo/client-farcaster
43adcca4ab30742b0193a72de23f5627b385bb0b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details. */ #pragma once #include <future> namespace DesktopUtil { bool waitOrCrash(std::promise<bool> &promise); }
18.125
79
0.727586
73492da23992b09a08f97381e1a1cc839a2843b0
56
c
C
test_files/file__7_7z.c
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
33
2020-09-01T20:11:50.000Z
2022-03-29T01:20:43.000Z
test_files/file__7_7z.c
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
13
2021-01-20T14:00:18.000Z
2022-03-24T08:31:47.000Z
test_files/file__7_7z.c
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
9
2021-01-29T14:51:41.000Z
2022-02-21T13:38:31.000Z
#include "plzma_test_files.h" #include "file__7_7z.h"
11.2
29
0.75
34b8ba18d0c69bb10a6c05b19cb22a09e7e9043a
1,223
h
C
sdk-6.5.20/src/soc/dnx/dbal/dbal_init/auto_generated/dbal_init_internal_tables_hard_logic_acl.h
copslock/broadcom_cpri
8e2767676e26faae270cf485591902a4c50cf0c5
[ "Spencer-94" ]
null
null
null
sdk-6.5.20/src/soc/dnx/dbal/dbal_init/auto_generated/dbal_init_internal_tables_hard_logic_acl.h
copslock/broadcom_cpri
8e2767676e26faae270cf485591902a4c50cf0c5
[ "Spencer-94" ]
null
null
null
sdk-6.5.20/src/soc/dnx/dbal/dbal_init/auto_generated/dbal_init_internal_tables_hard_logic_acl.h
copslock/broadcom_cpri
8e2767676e26faae270cf485591902a4c50cf0c5
[ "Spencer-94" ]
null
null
null
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. Copyright 2007-2020 Broadcom Inc. All rights reserved. */ #include <src/soc/dnx/dbal/dbal_internal.h> shr_error_e dbal_init_tables_hard_logic_acl_hl_acl_field_context_definition_init( int unit, table_db_struct_t * cur_table_param, dbal_logical_table_t * table_info); shr_error_e dbal_init_tables_hard_logic_acl_hl_acl_field_fem_definition_init( int unit, table_db_struct_t * cur_table_param, dbal_logical_table_t * table_info); shr_error_e dbal_init_tables_hard_logic_acl_hl_acl_field_fes_definition_init( int unit, table_db_struct_t * cur_table_param, dbal_logical_table_t * table_info); shr_error_e dbal_init_tables_hard_logic_acl_hl_acl_field_general_definition_init( int unit, table_db_struct_t * cur_table_param, dbal_logical_table_t * table_info); shr_error_e dbal_init_tables_hard_logic_acl_hl_acl_field_key_definition_init( int unit, table_db_struct_t * cur_table_param, dbal_logical_table_t * table_info); shr_error_e dbal_init_tables_hard_logic_acl_hl_acl_field_tcam_definition_init( int unit, table_db_struct_t * cur_table_param, dbal_logical_table_t * table_info);
30.575
132
0.868357
56c767d2813bcf8514c05cf9bcab5f9bf9ee7938
636
h
C
Framework/MetalTensor/numpy.h
feng1919/MetalTensor
026e8ce85bbded6e41771d21316b380200183957
[ "MIT" ]
4
2019-11-01T03:28:46.000Z
2022-02-02T00:41:37.000Z
Framework/MetalTensor/numpy.h
feng1919/MetalTensor
026e8ce85bbded6e41771d21316b380200183957
[ "MIT" ]
null
null
null
Framework/MetalTensor/numpy.h
feng1919/MetalTensor
026e8ce85bbded6e41771d21316b380200183957
[ "MIT" ]
null
null
null
// // numpy.h // MetalImage // // Created by Feng Stone on 2019/6/21. // Copyright © 2019 fengshi. All rights reserved. // #ifdef __cplusplus extern "C" { #endif #ifndef numpy_h #define numpy_h #include <stdio.h> #include <stdbool.h> int linspace(float start, float stop, int num, bool end_point, float *dst, float *step); void meshgrid(float *x, int nx, float *y, int ny, float *dx, float *dy); void *npmemcpy(void *dest, const void *src, size_t n); void soft_max(float *x, int size); int argmax(float *x, int size); #endif /* numpy_h */ #ifdef __cplusplus } // extern "C" #endif
20.516129
92
0.632075
9507ff2700386e90abea0cd54e04aab4835bf99b
280
h
C
test/tst_caplibpp_unit_test.h
briangmaddox/CAPLibpp
6dc0b6cb697cdb27be3ec044540b36138c42a065
[ "MIT" ]
null
null
null
test/tst_caplibpp_unit_test.h
briangmaddox/CAPLibpp
6dc0b6cb697cdb27be3ec044540b36138c42a065
[ "MIT" ]
null
null
null
test/tst_caplibpp_unit_test.h
briangmaddox/CAPLibpp
6dc0b6cb697cdb27be3ec044540b36138c42a065
[ "MIT" ]
null
null
null
#ifndef TST_CAPLIBPP_UNIT_TEST_H #define TST_CAPLIBPP_UNIT_TEST_H #include <gtest/gtest.h> #include <gmock/gmock-matchers.h> using namespace testing; TEST(CAPLibppTest, caplibpp_unit_test) { EXPECT_EQ(1, 1); ASSERT_THAT(0, Eq(0)); } #endif // TST_CAPLIBPP_UNIT_TEST_H
17.5
38
0.764286
2294e03eb7180ae8f6340ddc144cd8e3163f25cd
508
h
C
Maya3D/Classes/ClockSettingsVC.h
rsodre/Maya3D
727ee33fb5de98bbe8a41aae27c72c84f1b8d77c
[ "MIT" ]
null
null
null
Maya3D/Classes/ClockSettingsVC.h
rsodre/Maya3D
727ee33fb5de98bbe8a41aae27c72c84f1b8d77c
[ "MIT" ]
null
null
null
Maya3D/Classes/ClockSettingsVC.h
rsodre/Maya3D
727ee33fb5de98bbe8a41aae27c72c84f1b8d77c
[ "MIT" ]
null
null
null
// // ClockSettingsVC.h // Maya3D // // Created by Roger on 19/11/08. // Copyright 2008 Studio Avante. All rights reserved. // #import <UIKit/UIKit.h> #import "Tzolkin.h" #import "TzCalendar.h" #import "TzClock.h" #import "AvantePicker.h" #import "AvantePickerImage.h" @interface ClockSettingsVC : UIViewController { AvantePicker *speedPicker; BOOL clockWasPlaying; } - (id)init; - (void)setupSpeedPicker; - (IBAction)actionDone:(id)sender; - (void)setPickersToSpeed:(AvantePicker*)picker; @end
17.517241
54
0.722441
af0f0dc8f9d90c91f9d7697af272ba607b5cf9f8
1,293
c
C
Redes-de-computadores/Threads-MessageQueues/messQueueRead.c
iOsnaaente/Faculdade_ECA-UFSM
aea8b8d66169b073c439b47ad990e45695cbe953
[ "MIT" ]
null
null
null
Redes-de-computadores/Threads-MessageQueues/messQueueRead.c
iOsnaaente/Faculdade_ECA-UFSM
aea8b8d66169b073c439b47ad990e45695cbe953
[ "MIT" ]
null
null
null
Redes-de-computadores/Threads-MessageQueues/messQueueRead.c
iOsnaaente/Faculdade_ECA-UFSM
aea8b8d66169b073c439b47ad990e45695cbe953
[ "MIT" ]
null
null
null
<<<<<<< HEAD # include <stdio.h> #include <sys/ipc.h> #include <sys/msg.h> #define MAX 10 struct message_buff { long msg_type; char data[100]; } message; int main(){ key_t key; int msgid; // Gera uma chave unica key = ftok("progfile", 65); // Cria o message queue e retorna o identificador msgid = msgget (key, 0666 | IPC_CREAT ); // Recebe a mensagem msgrcv( msgid, &message, sizeof(message), 1, 0 ); // Mostar a mensagem printf( "Data send is : %s", message.data); // Destroi a message queue msgctl(msgid, IPC_RMID, NULL); return 0; ======= # include <stdio.h> #include <sys/ipc.h> #include <sys/msg.h> #define MAX 10 struct message_buff { long msg_type; char data[100]; } message; int main(){ key_t key; int msgid; // Gera uma chave unica key = ftok("progfile", 65); // Cria o message queue e retorna o identificador msgid = msgget (key, 0666 | IPC_CREAT ); // Recebe a mensagem msgrcv( msgid, &message, sizeof(message), 1, 0 ); // Mostar a mensagem printf( "Data send is : %s", message.data); // Destroi a message queue msgctl(msgid, IPC_RMID, NULL); return 0; >>>>>>> 2294ba3496aa0706b65e15105de47c11e53b91de }
18.471429
53
0.597061
824d0abc3e8877ee94897f1a5b7e7d96d6390b62
279
c
C
demo/Section_6/topic_2.c
andy0323/primer-plus-C
38a0e28f12b84d705e20bad172b834673cd51930
[ "MIT" ]
1
2017-07-18T01:08:37.000Z
2017-07-18T01:08:37.000Z
demo/Section_6/topic_2.c
andy0323/primer-plus-C
38a0e28f12b84d705e20bad172b834673cd51930
[ "MIT" ]
null
null
null
demo/Section_6/topic_2.c
andy0323/primer-plus-C
38a0e28f12b84d705e20bad172b834673cd51930
[ "MIT" ]
null
null
null
#include <stdio.h> // 输出 // $ // $$ // $$$ // $$$$ // $$$$$ // $$$$$$ // $$$$$$$ // $$$$$$$$ #define CHAT_LENGTH 10 int main() { char arr[CHAT_LENGTH]; char s = '$'; for(int i = 0; i < CHAT_LENGTH; i++) { arr[i] = s; printf("%s\n", arr); } return 0; }
9.964286
38
0.387097
61a0b0dccb256e60e05c4bfcd6f61789f40e7819
302
h
C
MapDemo/MapDemo/items/BaseMap/BaseMapViewController.h
chenyq502/ERMapSDK
74d781fda7da8ced2e3c1d5571415aeb062f638b
[ "MIT" ]
null
null
null
MapDemo/MapDemo/items/BaseMap/BaseMapViewController.h
chenyq502/ERMapSDK
74d781fda7da8ced2e3c1d5571415aeb062f638b
[ "MIT" ]
null
null
null
MapDemo/MapDemo/items/BaseMap/BaseMapViewController.h
chenyq502/ERMapSDK
74d781fda7da8ced2e3c1d5571415aeb062f638b
[ "MIT" ]
null
null
null
// // BaseMapViewController.h // MapDemo // // Created by KongPeng on 2018/1/11. // Copyright © 2018年 erlinyou. All rights reserved. // #import <UIKit/UIKit.h> #import <ERMapSDK/ERMapSDK.h> @interface BaseMapViewController : UIViewController @property (strong, nonatomic) ERMapView *mapView; @end
21.571429
52
0.735099
dd1fea77e3012d9dce924da8d1b958f4a2433dda
218
h
C
Demo/DLSlideViewDemo/ViewController.h
teaxus/DLSlideView
fc5f4f0be8b3c8849506ecb0e5282f6784c5f26e
[ "MIT" ]
742
2015-02-03T05:25:37.000Z
2022-02-05T09:28:28.000Z
Demo/DLSlideViewDemo/ViewController.h
teaxus/DLSlideView
fc5f4f0be8b3c8849506ecb0e5282f6784c5f26e
[ "MIT" ]
47
2015-02-05T14:59:46.000Z
2018-12-26T14:37:53.000Z
Demo/DLSlideViewDemo/ViewController.h
teaxus/DLSlideView
fc5f4f0be8b3c8849506ecb0e5282f6784c5f26e
[ "MIT" ]
166
2015-02-02T02:56:14.000Z
2021-07-23T07:52:59.000Z
// // ViewController.h // DLSlideViewDemo // // Created by Dongle Su on 14-12-11. // Copyright (c) 2014年 dongle. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
15.571429
52
0.697248
f7f114e264cc25ae957c46d713d3c6019d3ad37e
1,733
h
C
qqtw/qqheaders7.2/TBStoryVideoClipViewController.h
onezens/QQTweak
04b9efd1d93eba8ef8fec5cf9a20276637765777
[ "MIT" ]
5
2018-02-20T14:24:17.000Z
2020-08-06T09:31:21.000Z
qqtw/qqheaders7.2/TBStoryVideoClipViewController.h
onezens/QQTweak
04b9efd1d93eba8ef8fec5cf9a20276637765777
[ "MIT" ]
1
2020-06-10T07:49:16.000Z
2020-06-12T02:08:35.000Z
qqtw/qqheaders7.2/TBStoryVideoClipViewController.h
onezens/SmartQQ
04b9efd1d93eba8ef8fec5cf9a20276637765777
[ "MIT" ]
null
null
null
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "UIViewController.h" #import "TBStoryVideoClipViewDelegate.h" @class NSString, QQStoryLocalMediaModel, TBStoryVideoClipView; @interface TBStoryVideoClipViewController : UIViewController <TBStoryVideoClipViewDelegate> { id <TBStoryVideoClipViewControllerDelegate> _delegate; TBStoryVideoClipView *_clipView; QQStoryLocalMediaModel *_mediaModel; } - (void).cxx_destruct; - (void)TBStoryVideoClipView:(id)arg1 backBtnClicked:(id)arg2; - (void)TBStoryVideoClipView:(id)arg1 nextBtnClickedWithVideoPath:(id)arg2 startTime:(double)arg3 endTime:(double)arg4; - (void)addNotification; @property(retain, nonatomic) TBStoryVideoClipView *clipView; // @synthesize clipView=_clipView; - (void)dealloc; @property(nonatomic) __weak id <TBStoryVideoClipViewControllerDelegate> delegate; // @synthesize delegate=_delegate; - (void)didEnterBackground; - (void)didEnterForeground; - (void)didReceiveMemoryWarning; - (id)initWithLocalMediaModel:(id)arg1; @property(retain, nonatomic) QQStoryLocalMediaModel *mediaModel; // @synthesize mediaModel=_mediaModel; - (void)navigationBarHidden:(_Bool)arg1 animated:(_Bool)arg2; - (_Bool)prefersStatusBarHidden; - (void)removeNotification; - (void)reportData; - (void)viewDidAppear:(_Bool)arg1; - (void)viewDidDisappear:(_Bool)arg1; - (void)viewDidLoad; - (void)viewWillAppear:(_Bool)arg1; - (void)viewWillDisappear:(_Bool)arg1; // Remaining properties @property(readonly, copy) NSString *debugDescription; @property(readonly, copy) NSString *description; @property(readonly) unsigned long long hash; @property(readonly) Class superclass; @end
34.66
119
0.78592
ee20197ca8f019d149424b8eeda08ff3150d6183
3,128
h
C
src/Player/painthandler.h
congpp/TABEx
91da62a326f70d7aa79a33e00790dce5d8088b6c
[ "MIT" ]
1
2021-09-15T13:42:25.000Z
2021-09-15T13:42:25.000Z
src/Player/painthandler.h
congpp/TABEx
91da62a326f70d7aa79a33e00790dce5d8088b6c
[ "MIT" ]
null
null
null
src/Player/painthandler.h
congpp/TABEx
91da62a326f70d7aa79a33e00790dce5d8088b6c
[ "MIT" ]
1
2021-07-22T02:43:59.000Z
2021-07-22T02:43:59.000Z
#ifndef PAINTHANDLER_H #define PAINTHANDLER_H #include "commondefine.h" #include "fps.h" #include "qtimerex.h" #include <QtWidgets> enum PaintHandlerType { PHT_UNKNOWN = 0, PHT_HORIZONTAL, PHT_VERTICAL, }; enum PlayStatus { PS_IDLE, PS_PAUSED, PS_PLAYING, PS_FINISHED, }; class IPaintHandler : public QObject { Q_OBJECT public: IPaintHandler(); virtual ~IPaintHandler(){} virtual void onPaint(QPainter* painter, QRect rc) = 0; virtual PaintHandlerType type(); virtual void init(); virtual void setPlayStatus(PlayStatus* ps); virtual void setFixedTabLineSize(QSize szTL); virtual void setBackgroundImage(QImagePtr img, QColor clr); virtual void setTabLineIndex(int idx); virtual void setTabLineMaskPercent(double percent); virtual float updateFPS(); static QImagePtr getCoverImage(); protected: virtual void paintCover(QPainter* painter, QRect rc); virtual void paintInfo(QPainter* painter, QRect rc); virtual void calculateFixedItemRect(QRect rc) = 0; protected: QImagePtr m_imgBg; QColor m_clrBg; QImagePtr m_imgCover; QImagePtr m_imgSinger; QFPS m_fps; PlayStatus* m_ps; QSize m_szCoverMax; //封面最大大小 QSize m_szTabLineImg; //所有tabline拼合构成的图片的尺寸 int m_iTabLine = -1; //当前索引 double m_maskPercent = 0; //当前tabline播放的百分比 float m_lastFps = 0; int m_coverAngle = 0; //封面旋转的角度 int m_iTargetTabLine = -1; //滚动时的目标索引 int m_smoothScroll = 0; //当前平滑滚动帧 const int m_smoothScrollMax = 4;//用多少帧来执行平滑滚动 QRect m_rcLastPaint; QSize m_szFixedTabItem; //计算得到的tabline的固定大小,防止有些特别大 QRect m_rcTabLine; //计算得到的tabline的绘制区域 QRect m_rcCover; //计算得到的封面位置 QSize m_szFixedTabItemUser; //用户指定的tabline的固定大小,会调整tabline的布局 }; class QHorizontalPaintHandler : public IPaintHandler { public: QHorizontalPaintHandler(); virtual PaintHandlerType type() override; virtual void onPaint(QPainter* painter, QRect rc) override; virtual void init() override; protected: virtual void calculateFixedItemRect(QRect rc) override; protected: double m_tabLineYPos = 0.5; }; class QVerticalPaintHandler : public IPaintHandler { public: QVerticalPaintHandler(); virtual PaintHandlerType type() override; virtual void onPaint(QPainter* painter, QRect rc) override; virtual void init() override; protected: virtual void paintInfo(QPainter* painter, QRect rc) override; void paintProgress(QPainter* painter, QRect rc); virtual void calculateFixedItemRect(QRect rc) override; QSize getFixedImageSize(QRect& rcPaint, const QRect &rcImg); void drawRoundImage(QPainter *painter, QRect rcPaint, QImagePtr img, QRect rcImg); private: double m_tabLineXPos = 0.4; int m_numImgHeight = 0; int m_numBgImgHeight = 24; }; typedef QSharedPointer<IPaintHandler> PaintHandlerPtr; #endif // PAINTHANDLER_H
26.965517
87
0.67743
dc215c5dbd086427e7fb139a0c3c359b0e693b89
771
h
C
modules/include/ir_receiver.h
mroavi/iot-esp
513b1e0aa80c9d3e80a7e5f56ca42478431f8262
[ "MIT" ]
null
null
null
modules/include/ir_receiver.h
mroavi/iot-esp
513b1e0aa80c9d3e80a7e5f56ca42478431f8262
[ "MIT" ]
null
null
null
modules/include/ir_receiver.h
mroavi/iot-esp
513b1e0aa80c9d3e80a7e5f56ca42478431f8262
[ "MIT" ]
null
null
null
#ifndef IR_RECEIVER_H_ #define IR_RECEIVER_H_ #include "os_type.h" static const char *button[] = { "CH-", "CH", "CH+", "PREV", "NEXT", "PLAY/PAUSE", "VOL-", "VOL+", "EQ", "0", "100+", "200+", "1", "2", "3", "4", "5", "6", "7", "8", "9", "UNKNOWN" }; typedef void (*call_me_on_gpio_edge_interrupt)(void * arg); /** * Initializes the IR receiver module * * @param callback * @return 0 for success, -1 otherwise */ int ir_receiver_init( void (*cb)( const char * pressed_button, bool repeated_code ) ); /** * User must call this function on every rising or falling * edge of the GPIO connected to the IR receiver. * * @return Function address */ call_me_on_gpio_edge_interrupt get_function_pointer( void ); #endif /* IR_RECEIVER_H_ */
14.54717
86
0.635538
810932963e3885f2a40ac53b062e51e0760a7f0d
347
h
C
CommonTools/Utils/interface/MinSelector.h
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CommonTools/Utils/interface/MinSelector.h
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CommonTools/Utils/interface/MinSelector.h
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#ifndef RecoAlgos_MinSelector_h #define RecoAlgos_MinSelector_h /* \class MinSelector * * \author Luca Lista, INFN * * $Id: MinSelector.h,v 1.1 2009/02/24 14:40:26 llista Exp $ */ template <typename T> struct MinSelector { MinSelector(T min) : min_(min) {} bool operator()(T t) const { return t >= min_; } private: T min_; }; #endif
17.35
60
0.680115
0b8a1987360cee7fbee696fd0ec9b9f987d08cc3
232
h
C
ToolKit/StateMachine/TKStateMachine.h
zsoltmikola/ToolKit
9acc5506dd334d54771db88175d32286791c229d
[ "Apache-2.0" ]
3
2015-07-20T20:48:48.000Z
2016-06-23T08:02:52.000Z
ToolKit/StateMachine/TKStateMachine.h
zsoltmikola/ToolKit
9acc5506dd334d54771db88175d32286791c229d
[ "Apache-2.0" ]
null
null
null
ToolKit/StateMachine/TKStateMachine.h
zsoltmikola/ToolKit
9acc5506dd334d54771db88175d32286791c229d
[ "Apache-2.0" ]
null
null
null
#import <Foundation/Foundation.h> @interface TKStateMachine : NSObject @property (nonatomic, weak) Class state; - (void)addTransitionsFromState:(Class)state toStates:(NSArray *)destinations; - (id)stateForKey:(Class)state; @end
21.090909
78
0.771552
f475c9d2e5523ccb65b3a2cab629c0efb5cd2547
205
h
C
CLHUD/ViewController.h
alitan2014/CLHUD
4c788921518d86930f630cfb70401aeda798495d
[ "MIT" ]
null
null
null
CLHUD/ViewController.h
alitan2014/CLHUD
4c788921518d86930f630cfb70401aeda798495d
[ "MIT" ]
null
null
null
CLHUD/ViewController.h
alitan2014/CLHUD
4c788921518d86930f630cfb70401aeda798495d
[ "MIT" ]
null
null
null
// // ViewController.h // CLHUD // // Created by 谭春林 on 2019/3/3. // Copyright © 2019 alitan2014. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
12.8125
53
0.678049
ad593f734005f84a66eb36f8a5dfd6e9251cc084
1,622
h
C
include/Kraken/IO/IEPollable.h
Gilnaa/Kraken
855a56cacc6e5d06a5435c853efa4261a1f9d07d
[ "MIT" ]
null
null
null
include/Kraken/IO/IEPollable.h
Gilnaa/Kraken
855a56cacc6e5d06a5435c853efa4261a1f9d07d
[ "MIT" ]
null
null
null
include/Kraken/IO/IEPollable.h
Gilnaa/Kraken
855a56cacc6e5d06a5435c853efa4261a1f9d07d
[ "MIT" ]
1
2019-12-26T16:01:16.000Z
2019-12-26T16:01:16.000Z
/** * Copyright (c) 2016 Gilad Naaman * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * * @file IEPollable.h * * @author Gilad "Salmon" Naaman * @since 01/10/2016 */ #ifndef KRAKEN_IEPOLLABLE_H #define KRAKEN_IEPOLLABLE_H #include <Kraken/Definitions.h> namespace Kraken { /** * Defines the minimal requirements for an interface to be (e)pollable. */ class IEPollable { public: /** * @return The object's underlying file descriptor. */ virtual fd_t GetFileDescriptor() const = 0; }; } #endif //KRAKEN_IEPOLLABLE_H
33.102041
81
0.719482
34b5e2337dcfc6b39d2cdf81e87ee43ed3449b0f
9,026
h
C
System/Library/PrivateFrameworks/CameraEffectsKit.framework/JFXCompositionPlayer.h
zhangkn/iOS14Header
4323e9459ed6f6f5504ecbea2710bfd6c3d7c946
[ "MIT" ]
1
2020-11-04T15:43:01.000Z
2020-11-04T15:43:01.000Z
System/Library/PrivateFrameworks/CameraEffectsKit.framework/JFXCompositionPlayer.h
zhangkn/iOS14Header
4323e9459ed6f6f5504ecbea2710bfd6c3d7c946
[ "MIT" ]
null
null
null
System/Library/PrivateFrameworks/CameraEffectsKit.framework/JFXCompositionPlayer.h
zhangkn/iOS14Header
4323e9459ed6f6f5504ecbea2710bfd6c3d7c946
[ "MIT" ]
null
null
null
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:54:04 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/CameraEffectsKit.framework/CameraEffectsKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ @protocol JFXCompositionPlayerDelegate, JFXAVPlayerViewer, JFXCompositionPlayableElementsDataSource; #import <CameraEffectsKit/CameraEffectsKit-Structs.h> @class NSString, NSObject, JFXComposition, AVPlayer, JFXCompositionPlayerRequest, NSMutableArray; @interface JFXCompositionPlayer : NSObject { BOOL _wasAudioMuted; BOOL _wasPlaying; BOOL _restoringPlayerStateAfterCompositionUpdate; unsigned _parentCode; NSString* _displayName; id<JFXCompositionPlayerDelegate> _playbackDelegate; NSObject*<JFXAVPlayerViewer> _playerView; id<JFXCompositionPlayableElementsDataSource> _clipsDataSource; JFXComposition* _composition; AVPlayer* _player; id _playerProVideoPeriodicObserver; id _playerPlaybackTimePeriodicObserver; JFXCompositionPlayerRequest* _pendingRequest; NSMutableArray* _requestQueue; SCD_Struct_JF3 _playbackTimeChangedObserverInterval; SCD_Struct_JF3 _wasCurrentTime; SCD_Struct_JF3 _cachedCurrentTimeForCompositionUpdate; } @property (nonatomic,retain) id<JFXCompositionPlayableElementsDataSource> clipsDataSource; //@synthesize clipsDataSource=_clipsDataSource - In the implementation block @property (nonatomic,retain) JFXComposition * composition; //@synthesize composition=_composition - In the implementation block @property (nonatomic,retain) AVPlayer * player; //@synthesize player=_player - In the implementation block @property (nonatomic,retain) id playerProVideoPeriodicObserver; //@synthesize playerProVideoPeriodicObserver=_playerProVideoPeriodicObserver - In the implementation block @property (nonatomic,retain) id playerPlaybackTimePeriodicObserver; //@synthesize playerPlaybackTimePeriodicObserver=_playerPlaybackTimePeriodicObserver - In the implementation block @property (nonatomic,retain) JFXCompositionPlayerRequest * pendingRequest; //@synthesize pendingRequest=_pendingRequest - In the implementation block @property (nonatomic,retain) NSMutableArray * requestQueue; //@synthesize requestQueue=_requestQueue - In the implementation block @property (assign,nonatomic) SCD_Struct_JF3 wasCurrentTime; //@synthesize wasCurrentTime=_wasCurrentTime - In the implementation block @property (assign,nonatomic) SCD_Struct_JF3 cachedCurrentTimeForCompositionUpdate; //@synthesize cachedCurrentTimeForCompositionUpdate=_cachedCurrentTimeForCompositionUpdate - In the implementation block @property (assign,nonatomic) BOOL wasAudioMuted; //@synthesize wasAudioMuted=_wasAudioMuted - In the implementation block @property (assign,nonatomic) BOOL wasPlaying; //@synthesize wasPlaying=_wasPlaying - In the implementation block @property (assign,nonatomic) BOOL restoringPlayerStateAfterCompositionUpdate; //@synthesize restoringPlayerStateAfterCompositionUpdate=_restoringPlayerStateAfterCompositionUpdate - In the implementation block @property (nonatomic,copy) NSString * displayName; //@synthesize displayName=_displayName - In the implementation block @property (assign,nonatomic) unsigned parentCode; //@synthesize parentCode=_parentCode - In the implementation block @property (assign,nonatomic,__weak) id<JFXCompositionPlayerDelegate> playbackDelegate; //@synthesize playbackDelegate=_playbackDelegate - In the implementation block @property (nonatomic,readonly) NSObject*<JFXAVPlayerViewer> playerView; //@synthesize playerView=_playerView - In the implementation block @property (nonatomic,readonly) CGSize renderSize; @property (assign,nonatomic) SCD_Struct_JF3 playbackTimeChangedObserverInterval; //@synthesize playbackTimeChangedObserverInterval=_playbackTimeChangedObserverInterval - In the implementation block @property (nonatomic,readonly) int currentTime; @property (nonatomic,readonly) SCD_Struct_JF3 currentCMTime; +(Class)compositionClass; -(void)setRequestQueue:(NSMutableArray *)arg1 ; -(NSMutableArray *)requestQueue; -(BOOL)isPlaying; -(AVPlayer *)player; -(BOOL)play:(/*^block*/id)arg1 ; -(void)enqueueRequest:(id)arg1 ; -(void)setPlayer:(AVPlayer *)arg1 ; -(NSString *)displayName; -(void)setDisplayName:(NSString *)arg1 ; -(id)removeAllRequests; -(int)duration; -(void)setPendingRequest:(JFXCompositionPlayerRequest *)arg1 ; -(void)dealloc; -(id<JFXCompositionPlayerDelegate>)playbackDelegate; -(void)setPlaybackDelegate:(id<JFXCompositionPlayerDelegate>)arg1 ; -(void)teardown; -(void)destroyPlayer; -(JFXCompositionPlayerRequest *)pendingRequest; -(JFXComposition *)composition; -(void)doPlay; -(CGSize)renderSize; -(NSObject*<JFXAVPlayerViewer>)playerView; -(int)currentTime; -(void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void*)arg4 ; -(BOOL)pause:(/*^block*/id)arg1 ; -(void)doPause; -(void)setComposition:(JFXComposition *)arg1 ; -(BOOL)isAudioMuted; -(void)createPlayer; -(SCD_Struct_JF3)currentCMTime; -(id<JFXCompositionPlayableElementsDataSource>)clipsDataSource; -(unsigned)parentCode; -(void)setParentCode:(unsigned)arg1 ; -(void)setClipsDataSource:(id<JFXCompositionPlayableElementsDataSource>)arg1 ; -(void)dispatchBlockWhenDone:(/*^block*/id)arg1 ; -(void)warnTooManyLiveCompositors:(id)arg1 ; -(void)clearQueuedRequests; -(void)executeRequestCompletionBlock:(id)arg1 success:(BOOL)arg2 wasCancelled:(BOOL)arg3 error:(id)arg4 ; -(BOOL)isRequestOfTypeQueued:(unsigned long long)arg1 ; -(void)setCachedCurrentTimeForCompositionUpdate:(SCD_Struct_JF3)arg1 ; -(void)handleUpdateCompositionCompleted:(BOOL)arg1 wasCancelled:(BOOL)arg2 error:(id)arg3 ; -(void)handleClipCompositionUpdateTimedOut; -(void)completePendingRequest:(BOOL)arg1 wasCancelled:(BOOL)arg2 error:(id)arg3 ; -(void)executeNextRequest; -(void)checkPendingRequestForTimeOut; -(void)completeRequest:(id)arg1 success:(BOOL)arg2 wasCancelled:(BOOL)arg3 error:(id)arg4 ; -(id)requestWithBlock:(/*^block*/id)arg1 ofType:(unsigned long long)arg2 completion:(/*^block*/id)arg3 ; -(BOOL)isRequestOfTypePendingOrQueued:(unsigned long long)arg1 ; -(void)throttleRequestWithCompletionBlock:(/*^block*/id)arg1 ofType:(unsigned long long)arg2 ; -(void)setupPlaybackTimeChangedObserver; -(void)setPlaybackTimeChangedObserverInterval:(SCD_Struct_JF3)arg1 ; -(void)removeCompositorCompletionBlock; -(void)configureCompositorCompletionBlock; -(void)cancelQueuedRequestOfType:(unsigned long long)arg1 ; -(void)handleSeekCompleted:(BOOL)arg1 ; -(void)seek:(int)arg1 cancelQueuedRequest:(BOOL)arg2 tolerance:(int)arg3 completion:(/*^block*/id)arg4 ; -(void)doMuteAudio:(BOOL)arg1 ; -(void)handleChangeAudioMutedCompleted; -(BOOL)updateComposition:(/*^block*/id)arg1 ; -(void)doUpdateComposition; -(void)setWasPlaying:(BOOL)arg1 ; -(void)setWasCurrentTime:(SCD_Struct_JF3)arg1 ; -(void)setWasAudioMuted:(BOOL)arg1 ; -(SCD_Struct_JF3)wasCurrentTime; -(BOOL)wasAudioMuted; -(BOOL)setAudioMuted:(BOOL)arg1 completionBlock:(/*^block*/id)arg2 ; -(id)removeRequestOfType:(unsigned long long)arg1 ; -(void)setRestoringPlayerStateAfterCompositionUpdate:(BOOL)arg1 ; -(BOOL)wasPlaying; -(void)appendRequests:(id)arg1 ; -(id)firstQueuedRequestOfType:(unsigned long long)arg1 ; -(void)seek:(int)arg1 tolerance:(int)arg2 completion:(/*^block*/id)arg3 ; -(void)cancelQueuedCompositionUpdateRequestFromClip:(id)arg1 ; -(void)doClipCompositionUpdate:(id)arg1 ; -(void)handleUpdateCompositionForClipCompleted:(BOOL)arg1 ; -(void)handleCompositionRefreshCompleted:(BOOL)arg1 ; -(SCD_Struct_JF3)cachedCurrentTimeForCompositionUpdate; -(void)handlePlaybackBegan; -(void)handlePlaybackPaused; -(void)handleReadyForDisplay:(BOOL)arg1 ; -(void)setPlayerProVideoPeriodicObserver:(id)arg1 ; -(id)playerPlaybackTimePeriodicObserver; -(SCD_Struct_JF3)playbackTimeChangedObserverInterval; -(BOOL)restoringPlayerStateAfterCompositionUpdate; -(void)setPlayerPlaybackTimePeriodicObserver:(id)arg1 ; -(id)playerProVideoPeriodicObserver; -(id)initWithClipsDataSource:(id)arg1 seekPosition:(int)arg2 audioMuted:(BOOL)arg3 ; -(void)resetPlaybackTimeChangedObserverInterval; -(void)setPlayerView:(id)arg1 completionBlock:(/*^block*/id)arg2 ; -(void)notifyPlayerViewSizeChanged; -(BOOL)updateCompositionForClip:(id)arg1 completion:(/*^block*/id)arg2 ; -(BOOL)JFX_clipDataSourceHasClip:(id)arg1 ; @end
59.774834
234
0.764347
f62b0d6970593fc17de13ba09a96b67c9a030fdc
1,867
h
C
DSBurnInfo.h
bruno975/truedisc
368715d4744356b2fb3be51a44442dd7e9a9fb2e
[ "MIT" ]
4
2015-02-15T17:14:48.000Z
2018-04-06T03:10:30.000Z
DSBurnInfo.h
bruno975/truedisc
368715d4744356b2fb3be51a44442dd7e9a9fb2e
[ "MIT" ]
null
null
null
DSBurnInfo.h
bruno975/truedisc
368715d4744356b2fb3be51a44442dd7e9a9fb2e
[ "MIT" ]
null
null
null
// // DSBurnInfo.h // TrueDisc // // Created by Erich Ocean on 2/18/07. // Copyright 2007 Erich Atlas Ocean. All rights reserved. // struct EncoderInfo { uint64_t section; uint32_t offset; }; @interface DSBurnInfo : NSObject { NSString *filepath; uint64_t storageCapacity; uint64_t postEncodedSize; @public int k; } - initWithFilepath: (NSString *) theFilepath; - (uint64_t) sizeOfFork: (DRFileFork) fork; - (void) recalculateParameters; - (BOOL) canBurn; - (BOOL) canBurnToCDROrHigher; - (BOOL) canBurnToDVDOrHigher; - (BOOL) canBurnToDVDPlusDoubleLayer; - (int) kValue; - (int) kValueForCD; - (int) kValueForDVD; - (int) kValueForDVDDL; - (uint64_t) encodedFileSize; - (uint64_t) sizeOfFork: (DRFileFork) fork; - (uint64_t) fileSize; - (void) setStorageCapacity: (uint64_t) theStorageCapacity; - (struct EncoderInfo) encoderInfoForAddress: (uint64_t) address; - (NSString *) filepath; - (NSData *) iconData; @end inline struct EncoderInfo DSMakeEncoderInfo( uint64_t section, uint32_t offset ); #define KB 1024 #define MB (1024 * KB) #define GB (1024 * MB) #define MAX_CD_FILE_SIZE ((650 * MB) - (10 * MB)) #define MAX_DVD_FILE_SIZE (4700000000 - (10 * MB)) #define MAX_DVD_DOUBLE_LAYER_FILE_SIZE (8550000000 - (10 * MB)) // the two parameters you may want to adjust #define N GF_BITS #define INTERLEAVE 4 #define MAX_K (N - 1) #define SECTOR_SIZE (2 * KB) #define CELL_SIZE (SECTOR_SIZE / INTERLEAVE) #define SECTORS_PER_SECTION INTERLEAVE #define SECTION_SIZE (SECTOR_SIZE * SECTORS_PER_SECTION) #define ENCODED_SECTION_SIZE (SECTION_SIZE * N) // i.e. 128 KB #define SUPER_SECTOR_SIZE ENCODED_SECTION_SIZE // i.e. 256 cells #define CELLS_PER_SUPER_SECTOR (SUPER_SECTOR_SIZE / CELL_SIZE) #define MAXMIMUM_FILE_SIZE 2013265920 // = 15/16 of 2GB or 1.875 GB #define MAXIMUM_UNLICENSED_FILE_SIZE ( 5 * MB )
21.45977
67
0.729513
86233a9b4be8f2cb4db58bc2599430b0692fbac9
509
h
C
Commands/command.h
yang-han/GraphicsEditor
371af0acd8e01dec417b06699362f6d42bf8d981
[ "MIT" ]
32
2018-11-15T09:11:06.000Z
2022-02-15T04:03:10.000Z
Commands/command.h
sleeepyy/GraphicsEditor
371af0acd8e01dec417b06699362f6d42bf8d981
[ "MIT" ]
null
null
null
Commands/command.h
sleeepyy/GraphicsEditor
371af0acd8e01dec417b06699362f6d42bf8d981
[ "MIT" ]
10
2018-11-15T09:11:08.000Z
2021-07-12T01:19:14.000Z
#ifndef COMMAND_H #define COMMAND_H #include "Parameters/parameters.h" #include <string> #include <memory> #include "ViewModel/viewmodel.h" class ViewModel; class Command { protected: std::shared_ptr<Parameters> params; public: Command(); void set_parameters(std::shared_ptr<Parameters> parameters){ params = parameters; } // Parameters& get_params_handle(); // void set_view_model(std::shared_ptr<ViewModel> viewmodel); virtual void exec() = 0; }; #endif // COMMAND_H
18.178571
64
0.707269
19ec4bb75d4b728eb854060cf3278a754558b018
1,402
h
C
src/vcm/vcm/Walker.h
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
19
2016-11-07T00:01:19.000Z
2021-12-29T05:35:14.000Z
src/vcm/vcm/Walker.h
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
33
2016-07-06T21:58:05.000Z
2020-08-01T18:18:24.000Z
src/vcm/vcm/Walker.h
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
null
null
null
#pragma once #include "Profiler.h" #include "SceneLoadContext.h" #include "material/IMaterial.h" #include "Defaults.h" #include <optional> namespace PR { /// Simple recursive random walker class Walker { private: size_t mMaxRayDepth; public: inline explicit Walker(size_t maxDepth) : mMaxRayDepth(maxDepth) { } template <typename OnHitF, typename OnNonHitF> inline void traverse(RenderTileSession& session, Ray ray, const OnHitF& onHit, const OnNonHitF& onNonHit) const { for (size_t j = ray.IterationDepth; j < mMaxRayDepth; ++j) { Vector3f pos; GeometryPoint gp; IEntity* entity = nullptr; IMaterial* material = nullptr; if (!session.traceSingleRay(ray, pos, gp, entity, material)) { onNonHit(ray); break; } else { IntersectionPoint ip; ip.setForSurface(ray, pos, gp); std::optional<Ray> oray = onHit(ip, entity, material); if (oray.has_value()) ray = oray.value(); else break; } } } // Skip first trace -> useful for camera rays template <typename OnHitF, typename OnNonHitF> inline void traverse(RenderTileSession& session, const IntersectionPoint& ip, IEntity* entity, IMaterial* material, const OnHitF& onHit, const OnNonHitF& onNonHit) const { std::optional<Ray> oray = onHit(ip, entity, material); if (oray.has_value()) traverse(session, oray.value(), onHit, onNonHit); } }; } // namespace PR
24.596491
116
0.696148
057c7a9c5b5a4507488dd04501cffec0d44624d1
835
h
C
Applications/TVNowPlayingService/TVNPMediaItem.h
lechium/tvOS130Headers
6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd
[ "MIT" ]
11
2019-11-06T04:48:48.000Z
2022-02-09T17:48:15.000Z
Applications/TVNowPlayingService/TVNPMediaItem.h
lechium/tvOS130Headers
6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd
[ "MIT" ]
1
2020-04-16T01:41:56.000Z
2020-04-16T04:32:00.000Z
Applications/TVNowPlayingService/TVNPMediaItem.h
lechium/tvOS130Headers
6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd
[ "MIT" ]
3
2019-12-22T20:17:53.000Z
2021-01-25T09:47:49.000Z
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:01:19 PM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /Applications/TVNowPlayingService.app/TVNowPlayingService * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #import <TVPlayback/TVPBaseMediaItem.h> @class TVNPDataImageLoader; @interface TVNPMediaItem : TVPBaseMediaItem { TVNPDataImageLoader* _imageLoader; } @property (nonatomic,retain) TVNPDataImageLoader * imageLoader; //@synthesize imageLoader=_imageLoader - In the implementation block -(TVNPDataImageLoader *)imageLoader; -(void)setImageLoader:(TVNPDataImageLoader *)arg1 ; -(id)mediaItemMetadataForProperty:(id)arg1 ; -(void)replaceMediaItemMetadata:(id)arg1 forProperty:(id)arg2 ; @end
32.115385
145
0.778443
e8823b14cf974ad51b75d6227b117a98654c4ceb
1,048
h
C
iOSATAPPSDK/ATLib/ATMacros.h
cataler/iOSATAPPSDK
568c6f0daea4926bacd8cc0a6d8809e9c54337bb
[ "MIT" ]
null
null
null
iOSATAPPSDK/ATLib/ATMacros.h
cataler/iOSATAPPSDK
568c6f0daea4926bacd8cc0a6d8809e9c54337bb
[ "MIT" ]
null
null
null
iOSATAPPSDK/ATLib/ATMacros.h
cataler/iOSATAPPSDK
568c6f0daea4926bacd8cc0a6d8809e9c54337bb
[ "MIT" ]
null
null
null
// // ATMacros.h // iOSATAPPSDK // // Created by CaiAntao on 2016/10/13. // Copyright © 2016年 CaiAntao. All rights reserved. // #ifndef ATMacros_h #define ATMacros_h #ifdef DEBUG #define ATLog(s, ... ) NSLog( @"[%@ in line %d] ===============> %@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__] ) #else #define ATLog(s, ... ) #endif #define ATScreenHeight [UIScreen mainScreen].bounds.size.height #define ATScreenWidth [UIScreen mainScreen].bounds.size.width #define WS(weakSelf) __weak __typeof(&*self)weakSelf = self #define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a] #define ATPathTemp NSTemporaryDirectory() #define ATPathDocument [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0] #define ATPathCache [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0] #endif /* ATMacros_h */
33.806452
190
0.71374
b243ba4ef85375d904e6f511b604307554e2acf1
1,343
c
C
compiler-rt/lib/builtins/divmodti4.c
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
9,724
2015-01-01T02:06:30.000Z
2019-01-17T15:13:51.000Z
compiler-rt/lib/builtins/divmodti4.c
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
7,584
2019-01-17T22:58:27.000Z
2022-03-31T23:10:22.000Z
compiler-rt/lib/builtins/divmodti4.c
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
1,519
2015-01-01T18:11:12.000Z
2019-01-17T14:16:02.000Z
//===-- divmodti4.c - Implement __divmodti4 -------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements __divmodti4 for the compiler_rt library. // //===----------------------------------------------------------------------===// #include "int_lib.h" #ifdef CRT_HAS_128BIT // Returns: a / b, *rem = a % b COMPILER_RT_ABI ti_int __divmodti4(ti_int a, ti_int b, ti_int *rem) { const int bits_in_tword_m1 = (int)(sizeof(ti_int) * CHAR_BIT) - 1; ti_int s_a = a >> bits_in_tword_m1; // s_a = a < 0 ? -1 : 0 ti_int s_b = b >> bits_in_tword_m1; // s_b = b < 0 ? -1 : 0 a = (a ^ s_a) - s_a; // negate if s_a == -1 b = (b ^ s_b) - s_b; // negate if s_b == -1 s_b ^= s_a; // sign of quotient tu_int r; ti_int q = (__udivmodti4(a, b, &r) ^ s_b) - s_b; // negate if s_b == -1 *rem = (r ^ s_a) - s_a; // negate if s_a == -1 return q; } #endif // CRT_HAS_128BIT
40.69697
80
0.453462
bf145e7f352c3cd087d93c4296446b362c5251c2
654
h
C
PerchRTC/Renderers/PHEAGLRenderer.h
difujia/perchrtc
2a79d1d9830887d070e7923e19b7a48d36b685c9
[ "MIT" ]
158
2015-05-12T20:00:41.000Z
2021-11-14T19:44:39.000Z
PerchRTC/Renderers/PHEAGLRenderer.h
difujia/perchrtc
2a79d1d9830887d070e7923e19b7a48d36b685c9
[ "MIT" ]
38
2015-05-12T22:22:39.000Z
2016-10-26T02:41:29.000Z
PerchRTC/Renderers/PHEAGLRenderer.h
difujia/perchrtc
2a79d1d9830887d070e7923e19b7a48d36b685c9
[ "MIT" ]
48
2015-05-13T19:56:19.000Z
2020-02-05T05:38:37.000Z
// // PHEAGLRenderer.h // PerchRTC // // Created by Christopher Eagleston on 2015-05-06. // Copyright (c) 2015 Perch Communications. All rights reserved. // #import <Foundation/Foundation.h> #import "PHRenderer.h" @interface PHEAGLRenderer : NSObject <PHRenderer> - (instancetype)initWithDelegate:(id<PHRendererDelegate>)delegate; // PHRenderer @property (nonatomic, weak) id<PHRendererDelegate> delegate; @property (nonatomic, strong) RTCVideoTrack *videoTrack; @property (nonatomic, assign, readonly) CGSize videoSize; @property (nonatomic, strong, readonly) UIView *rendererView; @property (atomic, assign, readonly) BOOL hasVideoData; @end
26.16
66
0.764526
bf2f8afd3917f16c39a4b3880d4e536d434b6151
214
h
C
ForgetPasswordTest/ForgetPasswordTest/ForgetPasswordVC.h
anchoriteFili/ForgetPassword
9034f3f3efe5cc1e8c4193d8f5d344025a759374
[ "MIT" ]
null
null
null
ForgetPasswordTest/ForgetPasswordTest/ForgetPasswordVC.h
anchoriteFili/ForgetPassword
9034f3f3efe5cc1e8c4193d8f5d344025a759374
[ "MIT" ]
null
null
null
ForgetPasswordTest/ForgetPasswordTest/ForgetPasswordVC.h
anchoriteFili/ForgetPassword
9034f3f3efe5cc1e8c4193d8f5d344025a759374
[ "MIT" ]
null
null
null
// // ForgetPasswordVC.h // ForgetPasswordTest // // Created by 赵宏亚 on 2017/8/7. // Copyright © 2017年 赵宏亚. All rights reserved. // #import <UIKit/UIKit.h> @interface ForgetPasswordVC : UIViewController @end
15.285714
47
0.700935
bf4508c2d396fcd7446d77fcb49f2595b910357d
2,676
h
C
Tweak/Liddell.h
thatcluda/Liddell
c8ea0adce11fdc4ff14a26f92d7b23db90d74067
[ "MIT" ]
1
2022-03-05T08:43:05.000Z
2022-03-05T08:43:05.000Z
Tweak/Liddell.h
auriliasleep/Liddell
c8ea0adce11fdc4ff14a26f92d7b23db90d74067
[ "MIT" ]
null
null
null
Tweak/Liddell.h
auriliasleep/Liddell
c8ea0adce11fdc4ff14a26f92d7b23db90d74067
[ "MIT" ]
null
null
null
// // Liddell.h // Liddell // // Created by Alexandra (@thatcluda) // #import <UIKit/UIKit.h> #import "Liddell-Swift.h" #import <Kitten/libKitten.h> #import "GcUniversal/GcColorPickerUtils.h" #import "dlfcn.h" #import <Cephei/HBPreferences.h> HBPreferences* preferences = nil; BOOL enabled = YES; // visibility BOOL showIconSwitch = YES; BOOL showTitleSwitch = YES; BOOL showMessageSwitch = YES; // style CGFloat heightValue = 40; CGFloat cornerRadiusValue = 8; CGFloat offsetValue = 0; CGFloat scrollRateValue = 50; // background NSUInteger backgroundColorValue = 0; NSString* customBackgroundColorValue = @"000000"; NSUInteger blurModeValue = 3; CGFloat blurAmountValue = 1; // icon CGFloat iconCornerRadiusValue = 0; // text NSUInteger textColorValue = 0; NSString* customTextColorValue = @"FFFFFF"; NSUInteger textContentValue = 2; NSUInteger titleFontSizeValue = 15; NSUInteger contentFontSizeValue = 14; // border NSUInteger borderWidthValue = 0; NSUInteger borderColorValue = 0; NSString* customBorderColorValue = @"FFFFFF"; @interface MTPlatterView : UIView @end @interface MTTitledPlatterView : MTPlatterView @end @interface NCNotificationShortLookView : MTTitledPlatterView @property(nonatomic, copy)NSArray* icons; @property(nonatomic, copy)NSString* primaryText; @property(nonatomic, copy)NSString* secondaryText; @property(nonatomic, retain)UIView* liddellView; @property(nonatomic, retain)UIBlurEffect* liddellBlur; @property(nonatomic, retain)UIVisualEffectView* liddellBlurView; @property(nonatomic, retain)UIImageView* liddellIconView; @property(nonatomic, retain)UILabel* liddellTitleLabel; @property(nonatomic, retain)MarqueeLabel* liddellContentLabel; @end @interface NCNotificationContent : NSObject @property(nonatomic, copy, readonly)NSString* header; @end @interface NCNotificationRequest : NSObject @property(nonatomic, readonly)NCNotificationContent* content; @end @interface NCNotificationShortLookViewController : UIViewController @property(nonatomic, retain)NCNotificationRequest* notificationRequest; @end @interface UIView (Liddell) - (id)_viewControllerForAncestor; @end @interface BBAction : NSObject + (id)actionWithLaunchBundleID:(id)arg1 callblock:(id)arg2; @end @interface BBBulletin : NSObject @property(nonatomic, copy)NSString* title; @property(nonatomic, copy)NSString* message; @property(nonatomic, copy)NSString* sectionID; @property(nonatomic, copy)NSString* bulletinID; @property(nonatomic, copy)NSString* recordID; @property(nonatomic, retain)NSDate* date; @end @interface BBServer : NSObject - (void)publishBulletin:(id)arg1 destinations:(unsigned long long)arg2; @end @interface BBObserver : NSObject @end
25.980583
71
0.795964
452f1d6c7ba4c6e707b8c80ac518a0d968f34dea
1,214
h
C
RAT/settings.h
donovan680/RAT-Server
28b2d1634994b38b346a51e6153f02eae287ced2
[ "MIT" ]
1
2020-11-16T15:44:28.000Z
2020-11-16T15:44:28.000Z
RAT/settings.h
donovan680/RAT-Server
28b2d1634994b38b346a51e6153f02eae287ced2
[ "MIT" ]
null
null
null
RAT/settings.h
donovan680/RAT-Server
28b2d1634994b38b346a51e6153f02eae287ced2
[ "MIT" ]
2
2020-05-21T09:51:22.000Z
2021-03-07T15:43:07.000Z
#pragma once #ifndef SETTINGS_H #define SETTINGS_H #include <string> #include <Windows.h> class Settings { public: static std::string serverIP; static int serverPort; static std::string fileName; //file name static std::string folderName; //folder name static std::string startupName; //startup name in registry / taskmgr static std::string logFileName; //log file name static std::string installLocation; //install location (appdata, programdata etc) static std::string keylogPath; //path of the key press log file static bool installSelf; //specifies whether the program should install itself static bool startOnNextBoot; //specifies whether it should startup the installed clone of itself NOW or ON THE NEXT BOOT (ONLY IMPORTANT FOR INSTALLATION PROCESS) static bool meltSelf; //specifies whether the installed clone should delete the initial file static bool setStartupSelf; //specifies whether the program is to be started on system boot static bool logEvents; //specifies whether the program should log events (like errors etc) static bool logKeys; //specifies whether the program should log the users keystrokes }; #endif // !SETTINGS_H
37.9375
165
0.752059
bfd516c4a6fcc6bc0fba8f057a20840f39ce5568
1,921
c
C
random-ip.c
anders94/geoipdns
2a1975ff7f9a053bee055bf1deff6d21fbedfa07
[ "MIT" ]
3
2019-04-18T06:46:15.000Z
2022-02-20T18:51:34.000Z
random-ip.c
anders94/geoipdns
2a1975ff7f9a053bee055bf1deff6d21fbedfa07
[ "MIT" ]
null
null
null
random-ip.c
anders94/geoipdns
2a1975ff7f9a053bee055bf1deff6d21fbedfa07
[ "MIT" ]
null
null
null
#include "buffer.h" #include "exit.h" #include "fmt.h" #include "scan.h" #include "dns.h" char ip[4]; int ipfixed = 0; unsigned long loops = 10000; unsigned char tab[256]; char strnum[FMT_ULONG]; char seed[128]; int main(int argc,char **argv) { unsigned long u; int i; int j; unsigned char c; dns_random_init(seed); for (i = 0;i < 256;++i) tab[i] = i; for (j = 256;j > 0;--j) { i = dns_random(j); c = tab[j - 1]; tab[j - 1] = tab[i]; tab[i] = c; } if (*argv) ++argv; if (*argv) scan_ulong(*argv++,&loops); if (*argv) { scan_ulong(*argv++,&u); ip[0] = u; ipfixed = 1; } if (*argv) { scan_ulong(*argv++,&u); ip[1] = u; ipfixed = 2; } if (*argv) { scan_ulong(*argv++,&u); ip[2] = u; ipfixed = 3; } if (*argv) { scan_ulong(*argv++,&u); ip[3] = u; ipfixed = 4; } if (ipfixed >= 1) if (loops > 16777216) loops = 16777216; if (ipfixed >= 2) if (loops > 65536) loops = 65536; if (ipfixed >= 3) if (loops > 256) loops = 256; if (ipfixed >= 4) if (loops > 1) loops = 1; while (loops) { --loops; u = loops; for (i = ipfixed;i < 4;++i) { ip[i] = u & 255; u >>= 8; } if (ipfixed == 3) { c = ip[3]; ip[3] = tab[c]; } else if (ipfixed < 3) { c = 0; for (j = 0;j < 100;++j) { for (i = ipfixed;i < 4;++i) { c ^= (unsigned char) ip[i]; c = tab[c]; ip[i] = c; } } } u = (unsigned char) ip[0]; buffer_put(buffer_1,strnum,fmt_ulong(strnum,u)); buffer_puts(buffer_1,"."); u = (unsigned char) ip[1]; buffer_put(buffer_1,strnum,fmt_ulong(strnum,u)); buffer_puts(buffer_1,"."); u = (unsigned char) ip[2]; buffer_put(buffer_1,strnum,fmt_ulong(strnum,u)); buffer_puts(buffer_1,"."); u = (unsigned char) ip[3]; buffer_put(buffer_1,strnum,fmt_ulong(strnum,u)); buffer_puts(buffer_1,"\n"); } buffer_flush(buffer_1); _exit(0); }
23.716049
64
0.534097
db674701d45e745f158d3e44c030ac359e1e198c
6,069
h
C
dev/Code/Sandbox/Plugins/EditorCommon/Serialization/Pointers.h
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Sandbox/Plugins/EditorCommon/Serialization/Pointers.h
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Sandbox/Plugins/EditorCommon/Serialization/Pointers.h
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ // Original file Copyright Crytek GMBH or its affiliates, used under license. #ifndef CRYINCLUDE_EDITORCOMMON_SERIALIZATION_POINTERS_H #define CRYINCLUDE_EDITORCOMMON_SERIALIZATION_POINTERS_H #pragma once #include "Serialization/Assert.h" namespace Serialization { class RefCounter { public: RefCounter() : refCounter_(0) {} ~RefCounter() {}; int refCount() const { return refCounter_; } void acquire() { ++refCounter_; } int release() { return --refCounter_; } private: int refCounter_; }; class PolyRefCounter : public RefCounter { public: virtual ~PolyRefCounter() {} }; class PolyPtrBase { public: PolyPtrBase() : ptr_(0) { } void release() { if (ptr_) { if (!ptr_->release()) { delete ptr_; } ptr_ = 0; } } void set(PolyRefCounter* const ptr) { if (ptr_ != ptr) { release(); ptr_ = ptr; if (ptr_) { ptr_->acquire(); } } } protected: PolyRefCounter* ptr_; }; template<class T> class PolyPtr : public PolyPtrBase { public: PolyPtr() : PolyPtrBase() { } PolyPtr(PolyRefCounter* ptr) { set(ptr); } template<class U> PolyPtr(U* ptr) { // TODO: replace with static_assert YASLI_ASSERT("PolyRefCounter must be a first base when used with multiple inheritance." && static_cast<PolyRefCounter*>(ptr) == reinterpret_cast<PolyRefCounter*>(ptr)); set(static_cast<PolyRefCounter*>(ptr)); } PolyPtr(const PolyPtr& ptr) : PolyPtrBase() { set(ptr.ptr_); } ~PolyPtr() { release(); } operator T*() const { return get(); } template<class U> operator PolyPtr<U>() const { return PolyPtr<U>(get()); } operator bool() const { return ptr_ != 0; } PolyPtr& operator=(const PolyPtr& ptr) { set(ptr.ptr_); return *this; } T* get() const { return reinterpret_cast<T*>(ptr_); } T& operator*() const { return *get(); } T* operator->() const { return get(); } }; class IArchive; template<class T> class SharedPtr { public: SharedPtr() : ptr_(0) {} SharedPtr(T* const ptr) : ptr_(0) { set(ptr); } SharedPtr(const SharedPtr& ptr) : ptr_(0) { set(ptr.ptr_); } ~SharedPtr() { release(); } operator T*() const { return get(); } template<class U> operator SharedPtr<U>() const { return SharedPtr<U>(get()); } SharedPtr& operator=(const SharedPtr& ptr) { set(ptr.ptr_); return *this; } T* get() { return ptr_; } T* get() const { return ptr_; } T& operator*() { return *get(); } T* operator->() const { return get(); } void release() { if (ptr_) { if (!ptr_->release()) { delete ptr_; } ptr_ = 0; } } template<class _T> void set(_T* const ptr) { reset(ptr); } template<class _T> void reset(_T* const ptr) { if (ptr_ != ptr) { release(); ptr_ = ptr; if (ptr_) { ptr_->acquire(); } } } protected: T* ptr_; }; template<class T> class AutoPtr { public: AutoPtr() : ptr_(0) { } AutoPtr(T* ptr) : ptr_(0) { set(ptr); } ~AutoPtr() { release(); } AutoPtr& operator=(T* ptr) { set(ptr); return *this; } void set(T* ptr) { if (ptr_ && ptr_ != ptr) { release(); } ptr_ = ptr; } T* get() const { return ptr_; } operator T*() const { return get(); } void detach() { ptr_ = 0; } void release() { delete ptr_; ptr_ = 0; } T& operator*() const { return *get(); } T* operator->() const { return get(); } private: T* ptr_; }; class IArchive; } template<class T> bool Serialize(Serialization::IArchive& ar, Serialization::SharedPtr<T>& ptr, const char* name, const char* label); template<class T> bool Serialize(Serialization::IArchive& ar, Serialization::PolyPtr<T>& ptr, const char* name, const char* label); #include <Serialization/PointersImpl.h> #endif // CRYINCLUDE_EDITORCOMMON_SERIALIZATION_POINTERS_H
22.815789
115
0.453946
ec2b45170cb29c9ce1171245c9955b475b8a6d61
2,242
h
C
ZMClass/mp_framework/mpsdk_componentinterface.framework/Headers/CardSideTlvHandler.h
zziazm/ZMClass
096bf05660ea937a4c5f321313f495c882fc4afb
[ "MIT" ]
null
null
null
ZMClass/mp_framework/mpsdk_componentinterface.framework/Headers/CardSideTlvHandler.h
zziazm/ZMClass
096bf05660ea937a4c5f321313f495c882fc4afb
[ "MIT" ]
null
null
null
ZMClass/mp_framework/mpsdk_componentinterface.framework/Headers/CardSideTlvHandler.h
zziazm/ZMClass
096bf05660ea937a4c5f321313f495c882fc4afb
[ "MIT" ]
null
null
null
/** * Copyright (c) 2018, MasterCard International Incorporated and/or its * affiliates. All rights reserved. * * The contents of this file may only be used subject to the MasterCard * Mobile Payment SDK for MCBP and/or MasterCard Mobile MPP UI SDK * Materials License. * * Please refer to the file LICENSE.TXT for full details. * * TO THE EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS", WITHOUT * WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NON INFRINGEMENT. TO THE EXTENT PERMITTED BY LAW, IN NO EVENT SHALL * MASTERCARD OR ITS AFFILIATES BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. **/ // AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from CardSideTlvHandler.djinni #import <Foundation/Foundation.h> @class Background; @class Picture; @class Text; @class Background; @class Picture; @class Text; #import "mpsdk_componentinterface/TlvHandler.h" /** Auto-generated Djinni interface for ::mpsdk::utils::payment_cld::CardSideTlvHandler_t */ @interface CardSideTlvHandler : NSObject<TlvHandler> - (id _Nonnull)init; - (void)parseByteTag:(int8_t)tag length:(int32_t)length data:(NSData* _Nonnull)data offset:(int32_t)offset; - (void)parseShortTag:(int16_t)tag length:(int32_t)length data:(NSData* _Nonnull)data offset:(int32_t)offset; - (Background* _Nonnull)getCardSideBackground; - (int16_t)getCardElements; - (NSArray<Picture*>* _Nonnull)getPictureList; - (void)setPictureList:(NSArray<Picture*>* _Nonnull)pictureList; - (NSArray<Text*>* _Nonnull)getTextList; - (void)setTextList:(NSArray<Text*>* _Nonnull)textList; - (BOOL)isBackgroundToParse; - (void)setBackgroundToParse:(BOOL)isBackgroundToParse; - (BOOL)isCardElementsToParse; - (void)setCardElementsToParse:(BOOL)isCardElementToParse; - (void)setPictureToParse:(BOOL)isPictureToParse; - (void)setTextToParse:(BOOL)isTextToParse; @end
29.5
92
0.731044