blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
357
content_id
stringlengths
40
40
detected_licenses
sequencelengths
0
58
license_type
stringclasses
2 values
repo_name
stringlengths
4
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-14 21:31:45
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-01 00:00:00
2023-09-05 23:26:37
committer_date
timestamp[ns]date
1970-01-01 00:00:00
2023-09-05 23:26:37
github_id
int64
966
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
24 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-02-03 21:17:16
2023-08-24 19:49:39
gha_language
stringclasses
180 values
src_encoding
stringclasses
35 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
6
10.4M
extension
stringclasses
121 values
filename
stringlengths
1
148
content
stringlengths
6
10.4M
ec9f7da98fe9f488a30f5647069a28dd5afc8011
931b811e4ed2b6e040dad5a67f0cf97103ce08ec
/que.c
079c119810958c3d3dbc947a9b0122230b292bb3
[]
no_license
jlittle1223/Multi-threading
8c3b5e16309699d0dd762dec7074ac4b65961c12
19a5992855a6cfe55198fe7d80e62f53c2863b31
refs/heads/master
2020-06-17T10:53:59.853953
2019-07-09T00:20:17
2019-07-09T00:20:17
null
0
0
null
null
null
null
UTF-8
C
false
false
1,098
c
que.c
/* compile with -std=c99 */ /* this is a circular buffer implementation of queue. You can see about it here * http://www.csanimated.com/animation.php?t=Circular_buffer */ #include <stdio.h> #include <stdlib.h> /* Note: one slot must be left unused for this implementation */ #define QUE_MAX 1024 #define ELE int ELE _que[QUE_MAX]; int _front = 0, _rear = 0; void que_error(char *msg) { fprintf(stderr, "Error: %s\n", msg); exit(-1); } int que_is_full() { return (_rear + 1) % QUE_MAX == _front; /* this is why one slot is unused */ } int que_is_empty() { return _front == _rear; } void que_enq(ELE v) { if ( que_is_full() ) que_error("enq on full queue"); _que[_rear++] = v; if ( _rear >= QUE_MAX ) _rear = 0; } ELE que_deq() { if ( que_is_empty() ) que_error("deq on empty queue"); ELE ret = _que[_front++]; if ( _front >= QUE_MAX ) _front = 0; return ret; } int main() { for ( int i=0; i<100; ++i ) que_enq(i); while ( !que_is_empty() ) printf("%d ", que_deq()); putchar('\n'); }
094d20c5408bd98bfcdce84792c2ca3996e22bc4
bb451030e88112fb7fa160064e88b551e5c9d9ae
/FdF/libft/ft_memalloc.c
78a8427ffaf0e6d04c1f62a8d83293cf97634e40
[]
no_license
rcotterr/FdF
7ee70e6a90160f715d36f7e4380d4787aaa13e66
7083cca5b532d12cc16599647c1729f82a88511f
refs/heads/master
2020-08-05T05:08:16.139461
2019-10-02T18:04:36
2019-10-02T18:04:36
212,407,672
0
0
null
null
null
null
UTF-8
C
false
false
1,074
c
ft_memalloc.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_memalloc.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mmcclure <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2018/11/27 16:19:23 by mmcclure #+# #+# */ /* Updated: 2018/11/27 17:29:31 by mmcclure ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" void *ft_memalloc(size_t size) { void *out; out = (void*)malloc(sizeof(void) * size); if (!out) return ((void*)(0)); ft_bzero(out, size); return (out); }
221baad39fdbe07bf10af29ad840502c6422fd31
46145f788f24b0633c54bd1333d66d11b53cfd31
/publishSubscribe/listsImplementation/main.original.c
3eac6fe2204c1acc0d0f01e567cd483680f42a2e
[]
no_license
stavros-zavrakas/DataStructures
1ea84d6f1c4f43f56e9c7a3ba6f65d36cebfdeb1
7b29033601c614edd83a9c86829f8737abc23b4e
refs/heads/master
2020-12-24T16:06:39.093255
2016-03-12T00:46:45
2016-03-12T00:46:45
39,696,495
0
0
null
null
null
null
UTF-8
C
false
false
15,225
c
main.original.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #define LINE_LENGTH 1000000 #define MG 10 struct Info { int iId; int itm; int igp[MG]; struct Info *iprev; struct Info *inext; }; struct Subscription { int sId; struct Subscription *snext; }; struct Group { int gId; struct Subscription *ggsub; struct Info *gfirst; struct Info *glast; }; struct SubInfo { int sId; int stm; struct Info *sgp[MG]; struct SubInfo *next; }; // Function prototypes of a double list typeof struct Info void DL_Insert(struct Info **, struct Info **, int, int); void DL_Remove(struct Info **, struct Info **, int); void DL_LookUp(struct Info **, int); void DL_Print(struct Info **); void DL_Free(struct Info **); // Function prototypes of a double list typeof struct Subscription void L_Insert(struct Subscription **, int); void L_Remove(struct Subscription **, int); void L_LookUp(struct Subscription **, int); void L_Print(struct Subscription **); void L_Free(struct Subscription **); // Function prototypes of a double list typeof struct SubInfo void SL_Insert(struct SubInfo **, int, int); void SL_Remove(struct SubInfo **, int); void SL_LookUp(struct SubInfo **, int); void SL_Print(struct SubInfo **); void SL_Free(struct SubInfo **); int main(int argc, char** argv) { FILE *fp = NULL; char *token, *search = " "; char line[LINE_LENGTH], event; int itm, iId, stm, sId; int gId, i, j; int tempIgp[MG], gId_sgp[MG]; struct Group G[MG]; struct SubInfo *head = NULL; struct Info *temp1 = NULL, *temp2 = NULL; struct SubInfo *tempSI = NULL, *tempSI2 = NULL; struct Subscription *tempS = NULL; if(argc < 2) { printf("\n Usage: %s <input-file>\n", argv[0]); return(EXIT_FAILURE); } else if((fp = fopen(argv[1], "r")) == NULL) { printf("\n Could not open file: %s\n", argv[1]); return(EXIT_FAILURE); } // Initialize the groups for(i = 0; i < MG; i++) { G[i].gId = i; G[i].gfirst = NULL; G[i].glast = NULL; G[i].ggsub = NULL; } // Read input file line-by-line and handle the events while(fgets(line, LINE_LENGTH, fp) != NULL) { // Uncomment the line below when in debug mode //printf("\n Event: %s ", line); switch(line[0]) { // Insert_Info event case 'I': sscanf(line, "%c %d %d", &event, &itm, &iId); // printf("\nEvent : %c itm : %d iId : %d ",event,itm,iId); token = strtok(line, search); token = strtok(NULL, search); token = strtok(NULL, search); for(i = 0; i < MG; i++) { tempIgp[i] = -1; } while((gId = atoi(token = strtok(NULL, search))) != -1) { // printf ("gId : %d ",gId); DL_Insert(&G[gId].gfirst, &G[gId].glast, itm, iId); // Keeping all the gid that we read in a temp array tempIgp[gId] = gId; } // Insert all the gid that we read above into the temp igp array for(i = 0; i < MG; i++) { if(tempIgp[i] != -1) { temp1 = G[tempIgp[i]].gfirst; while(temp1 != NULL) { if(temp1->itm == itm) { for(j = 0; j < MG; j++) { if(tempIgp[j] != -1) { temp1->igp[j] = tempIgp[j]; } } } temp1 = temp1->inext; } } } // Print after the insertion printf("I<%d> <%d> DONE\n", itm, iId); for(i = 0; i < MG; i++) { if(G[i].gfirst != NULL) { printf("GROUPID = <%d> ", i); DL_Print(&G[i].gfirst); printf("\n"); // L_Print (&G[i].ggsub); } } printf("\n"); break; // Subscriber_Registration event case 'S': sscanf(line, "%c %d %d", &event, &stm, &sId); // printf("\nEvent : %c stm : %d sId : %d ",event,stm,sId); token = strtok(line, search); token = strtok(NULL, search); token = strtok(NULL, search); printf("\n"); for(i = 0; i < MG; i++) { gId_sgp[i] = -1; } // Inserting the sid that we read from the file in the Subscription list. // We use an array to keep the gid that are useful to initialise the sgp. while((gId = atoi(token = strtok(NULL, search))) != -1) { L_Insert(&G[gId].ggsub, sId); gId_sgp[gId] = gId; } // Insert the sId that we read into the SubInfo list. SL_Insert(&head, sId, stm); // Insertions on the sgp array. for(tempSI = head; tempSI != NULL; tempSI = tempSI->next) { if(tempSI->stm == stm) { for(i = 0; i < MG; i++) { if(gId_sgp[i] != -1) { tempSI->sgp[gId_sgp[i]] = NULL; } else { tempSI->sgp[i] = 1; } } } } // Print the data after the insertions. printf("S<%d><%d> ", stm, sId); for(i = 0; i < MG; i++) { if(gId_sgp[i] != -1) { printf("<%d>", gId_sgp[i]); } } printf(" DONE"); SL_Print(&head); for(i = 0; i < MG; i++) { if(G[i].ggsub != NULL) { printf("GROUPID = <%d>, ", i); printf("SUBLIST = "); for(tempS = G[i].ggsub; tempS != NULL; tempS = tempS->snext) { printf("<%d>", tempS->sId); } printf("\n"); } } printf("\n"); break; // Consume event case 'C': sscanf(line, "%c %d", &event, &sId); // printf("\nEvent : %c sId : %d",event,sId); // Implementation of the consume functionality. // If we find the sid in the list, we are looking on the respective sgp // and in every group that sgp is interested to consume. printf("C<%d> DONE\n", sId); for(tempSI = head; tempSI != NULL; tempSI = tempSI->next) { // Node scanning (single list). if(tempSI->sId == sId) { // sId found and we are consuming it. for(i = 0; i < MG; i++) { // Iterating over sgp if(tempSI->sgp[i] == NULL) { // Interested for that gId tempSI->sgp[i] = G[i].gfirst; temp2 = G[i].gfirst; if(G[i].gfirst != NULL) { printf("GROUPID=<%d>, ", i); DL_Print(&G[i].gfirst); } tempSI->sgp[i] = temp2; printf(", NEWSGP=<%d>\n", G[i].glast->iId); // tempSI->sgp[i]->iId); } } } } printf("\n"); break; // Delete_Subsciber event case 'D': sscanf(line, "%c %d", &event, &sId); // printf("\nEvent : %c sId : %d",event,sId); // Delete the sId form the Subscription list of every Group tempS = NULL; SL_Remove(&head, sId); for(i = 0; i < MG; i++) { if(G[i].ggsub != NULL) { L_Remove(&G[i].ggsub, sId); } } // Delete the sId from the SubInfo list printf("D<%d> DONE", sId); SL_Print(&head); for(i = 0; i < MG; i++) { if(G[i].ggsub != NULL) { printf("\nGROUPID = <%d>, ", i); L_Print(&G[i].ggsub); } } printf("\n"); break; // Print event case 'P': sscanf(line, "%c", &event); // printf("\nEvent : %c ",event); // Print everything. printf("P DONE\n"); for(i = 0; i < MG; i++) { if((G[i].gfirst != NULL) || (G[i].ggsub != NULL)) { printf("GROUPID = <%d>, ", i); } if(G[i].gfirst != NULL) { DL_Print(&G[i].gfirst); } if(G[i].ggsub != NULL) { printf(", "); L_Print(&G[i].ggsub); printf("\n"); } } if(head != NULL) { printf("\nSUBSCRIBERLIST="); for(tempSI = head; tempSI != NULL; tempSI = tempSI->next) { printf("<%d>", tempSI->sId); } printf("\n"); for(tempSI = head; tempSI != NULL; tempSI = tempSI->next) { printf("SUBSCRIBERID=<%d>, GROUPLIST=", tempSI->sId); for(i = 0; i < MG; i++) { if(tempSI->sgp[i] != 1) { printf("<%d>", i); } } printf("\n"); } } break; default: // Uncomment the line below when in debug mode // printf("\n Ignoring line: %s", line); break; } } printf("\n"); return (EXIT_SUCCESS); } // Double list functionalities // typeof struct Info void DL_Insert(struct Info **root, struct Info **last, int itm, int iId) { int i; struct Info *temp, *temp1, *temp2 = NULL; temp = (struct Info *) malloc(sizeof(struct Info)); if(temp == NULL) { printf("Error allocating memory..\n"); exit(0); } temp->iId = iId; temp->itm = itm; for(i = 0; i < MG; i++) { temp->igp[i] = -1; } if(*root == NULL) { temp->inext = NULL; temp->iprev = NULL; *root = temp; *last = temp; } else { for(temp2 = NULL, temp1 = *root; (temp1 != NULL) && (temp1->itm < itm); temp2 = temp1, temp1 = temp1->inext); if(temp1 == NULL) { temp->inext = NULL; temp->iprev = temp2; temp2->inext = temp; *last = temp; } else if(temp2 == NULL) { temp->inext = temp1; temp->iprev = NULL; temp1->iprev = temp; *root = temp; } else { temp->inext = temp1; temp->iprev = temp2; temp2->inext = temp; temp1->iprev = temp; } } } void DL_Remove(struct Info **root, struct Info **last, int itm) { struct Info *temp1, *temp2, *temp3; int found; found = 0; temp1 = *root; while(temp1 != NULL) { if(temp1->itm == itm) { found = 1; if(temp1 == *root) { temp2 = *root; if(temp2->inext == NULL) { free(temp2); *root = NULL; break; } else { temp2 = temp1->inext; temp2->iprev = NULL; *root = temp2; free(temp1); break; } } else if(temp1->inext == NULL) { temp2 = temp1->iprev; temp2->inext = NULL; *last = temp2; free(temp1); break; } else { temp2 = temp1->iprev; temp3 = temp1->inext; temp2->inext = temp3; temp3->iprev = temp2; free(temp1); break; } } temp1 = temp1->inext; } if(found == 0) { printf("\nThe imt couldn't be deleted\n"); } else { printf("\nThe deletion was succesful\n"); } } void DL_LookUp(struct Info **root, int itm) { struct Info *temp; for(temp = *root; (temp != NULL) && (temp->itm < itm); temp = temp->inext); if((temp == NULL) || (temp->itm > itm)) { printf("\nThe itm %d didn't found!\n", itm); } else { printf("\nThe itm %d found!\n", itm); } } void DL_Print(struct Info **root) { struct Info *temp; int i; for(temp = *root; (temp != NULL); temp = temp->inext) { if(temp == *root) { printf("INFOLIST = "); } printf("<%d>", temp->iId); } } void DL_Free(struct Info **root) { struct Info *temp1, *temp2; if(*root != NULL) { for(temp2 = *root, temp1 = temp2->inext; (temp1 != NULL); temp2 = temp1, temp1 = temp1->inext) { free(temp2); } free(temp2); *root = NULL; } } // Simple linked list functionalities // typeof struct Subscription void L_Insert(struct Subscription **root, int sId) { struct Subscription *temp; temp = (struct Subscription *) malloc(sizeof(struct Subscription)); if(temp == NULL) { printf("Error allocating memory..\n"); exit(0); } else { temp->sId = sId; temp->snext = *root; *root = temp; } } void L_Remove(struct Subscription **root, int sId) { struct Subscription *temp1 = NULL, *temp2 = NULL, *temp3 = NULL; temp1 = *root; temp2 = NULL; while(temp1 != NULL) { if(temp1->sId == sId) { if(temp1 == *root) { temp3 = *root; if(temp3->snext == NULL) { *root = NULL; break; } else { *root = temp1->snext; free(temp1); break; } } else { temp2->snext = temp1->snext; temp1->snext = NULL; free(temp1); break; } } temp2 = temp1; temp1 = temp1->snext; } } void L_LookUp(struct Subscription **root, int sId) { struct Subscription *temp; int found; temp = *root; found = 0; while(temp != NULL) { if(temp->sId == sId) { found = 1; break; } temp = temp->snext; } if(found == 1) { printf("The sId: %d found!\n", sId); } else { printf("The sId wasn't found\n"); } } void L_Print(struct Subscription **root) { struct Subscription *temp; printf("SUBLIST = "); for(temp = *root; temp != NULL; temp = temp->snext) { printf("<%d>", temp->sId); } } void L_Free(struct Subscription **root) { struct Subscription *temp1, *temp2; if(*root != NULL) { for(temp2 = *root, temp1 = temp2->snext; (temp1 != NULL); temp2 = temp1, temp1 = temp1->snext) { free(temp2); } free(temp2); *root = NULL; } } // Sorted linked list functionalities // typeof struct SubInfo void SL_Insert(struct SubInfo **root, int sId, int stm) { struct SubInfo *temp, *temp1, *temp2; int i; if(*root == NULL) { //printf ("Eimai miden o malakas\n"); temp1 = (struct SubInfo *) malloc(sizeof(struct SubInfo)); if(temp1 == NULL) { printf("Error allocating memory..\n"); exit(0); } temp1->sId = sId; temp1->stm = stm; temp1->next = NULL; *root = temp1; for(i = 0; i < MG; i++) { temp1->sgp[i] = NULL; } } else { //printf ("Den eimai miden o malakas\n"); temp = (struct SubInfo *) malloc(sizeof(struct SubInfo)); temp->stm = stm; temp->sId = sId; for(temp2 = NULL, temp1 = *root; (temp1 != NULL) && (temp1->stm < stm); temp2 = temp1, temp1 = temp1->next); if(temp2 == NULL) { temp->next = temp1; *root = temp; } else { temp->next = temp1; temp2->next = temp; } for(i = 0; i < MG; i++) { temp->sgp[i] = NULL; } } } void SL_Remove(struct SubInfo **root, int sId) { struct SubInfo *temp1, *temp2; for(temp2 = NULL, temp1 = *root; (temp1 != NULL) && (temp1->sId < sId); temp2 = temp1, temp1 = temp1->next); if((temp1 == NULL) || (temp1->sId > sId)) { printf("\nThe amt couldn't be deleted\n"); } else { if(temp2 == NULL) { *root = temp1->next; } else { temp2->next = temp1->next; } free(temp1); } } void SL_LookUp(struct SubInfo **root, int stm) { struct SubInfo *temp; for(temp = *root; (temp != NULL) && (temp->stm < stm); temp = temp->next); if((temp == NULL) || (temp->stm > stm)) { printf("\nThe stm %d didn't found!\n", stm); } else { printf("\nThe stm %d found!\n", stm); } } void SL_Print(struct SubInfo **root) { struct SubInfo *temp; printf("\nSUBSCRIBERLIST = "); for(temp = *root; (temp != NULL); temp = temp->next) { printf("<%d>", temp->sId); } } void SL_Free(struct SubInfo **root) { struct SubInfo *temp1, *temp2; if(*root != NULL) { for(temp2 = *root, temp1 = temp2->next; (temp1 != NULL); temp2 = temp1, temp1 = temp1->next) { free(temp2); } free(temp2); *root = NULL; } }
6f8c000f686e3fe60b7ee15e590b971ee58a4cdf
ad41198ad433285c6066b4663ffc84ae579d799f
/sys/dev/serial/serial.c
ad7d74e4c88152cde50e16666827b180057bcada
[ "Unlicense" ]
permissive
matsud224/tinyos
aa5889760082bf99b94e8bbb26e02ffa15ba21b6
5ff5079c656913b809f8ee9091d931fc492d07de
refs/heads/master
2021-06-16T13:19:22.769012
2020-08-15T14:11:32
2020-08-15T14:11:32
105,175,420
54
5
null
null
null
null
UTF-8
C
false
false
4,740
c
serial.c
#include <kern/pic.h> #include <kern/chardev.h> #include <kern/kernasm.h> #include <kern/idt.h> #include <kern/kernlib.h> #include <kern/thread.h> #define COMPORT_NUM 2 #define SERIAL_BUFSIZE 128 enum { DATA = 0, INTENABLE = 1, DIVISOR_LO = 0, DIVISOR_HI = 1, INT_FIFO_CTRL, LINECTRL, MODEMCTRL, LINESTAT, MODEMSTAT, SCRATCH }; enum ie { IE_DATAAVAIL = 0x1, IE_TXEMPTY = 0x2, IE_BRKERR = 0x4, IE_STCHANGE = 0x8, }; void com1_inthandler(void); void com2_inthandler(void); void com1_isr(void); void com2_isr(void); static int serial_open(int minor); static int serial_close(int minor); static int serial_read(int minor, char *dest, size_t count); static int serial_write(int minor, const char *src, size_t count); static struct chardev_state *serial_getstate(int minor); static const struct chardev_ops serial_chardev_ops = { .open = serial_open, .close = serial_close, .read = serial_read, .write = serial_write, .getstate = serial_getstate, }; static struct comport{ u8 port; u16 base; u8 irq; u8 intvec; void (*inthandler)(void); struct chardev_buf *rxbuf; struct chardev_buf *txbuf; struct chardev_state state; } comport[COMPORT_NUM] = { {.port = 0, .base = 0x3f8, .irq = 4, .intvec = IRQ_TO_INTVEC(4), .inthandler = com1_inthandler}, {.port = 1, .base = 0x2f8, .irq = 3, .intvec = IRQ_TO_INTVEC(3), .inthandler = com2_inthandler} }; static int SERIAL_MAJOR; DRIVER_INIT void serial_init() { SERIAL_MAJOR = chardev_register(&serial_chardev_ops); if(SERIAL_MAJOR < 0) { puts("serial: failed to register"); return; } for(int i=0; i<COMPORT_NUM; i++) { u16 base = comport[i].base; idt_register(comport[i].intvec, IDT_INTGATE, comport[i].inthandler); out8(base + INTENABLE, 0x03); out8(base + LINECTRL, 0x80); out8(base + DIVISOR_LO, 0x03); out8(base + DIVISOR_HI, 0x00); out8(base + LINECTRL, 0x03); out8(base + INT_FIFO_CTRL, 0xc7); out8(base + MODEMCTRL, 0x0b); comport[i].rxbuf = cdbuf_create(malloc(SERIAL_BUFSIZE), SERIAL_BUFSIZE); comport[i].txbuf = cdbuf_create(malloc(SERIAL_BUFSIZE), SERIAL_BUFSIZE); chardev_initstate(&comport[i].state, CDMODE_CANON | CDMODE_ECHO); pic_clearmask(comport[i].irq); printf("serial: devno=0x%x\n", DEVNO(SERIAL_MAJOR, i)); } } static void serial_send(int port) { u16 base = comport[port].base; char data; if(CDBUF_IS_FULL(comport[port].txbuf)) thread_wakeup(&serial_chardev_ops); if(cdbuf_read(comport[port].txbuf, &data, 1) == 1) out8(base+DATA, data); } void serial_isr_common(int port) { u16 base = comport[port].base; u8 reason = in8(base+INT_FIFO_CTRL); char data; if((reason & 0x1) == 0) { switch((reason & 0x6)>>1) { case 1: //送信準備完了 if(CDBUF_IS_EMPTY(comport[port].txbuf)) in8(base+INT_FIFO_CTRL); else serial_send(port); thread_wakeup(&serial_chardev_ops); break; case 2: case 6: //受信 data = in8(base+DATA); if(CDBUF_IS_EMPTY(comport[port].rxbuf)) thread_wakeup(&serial_chardev_ops); if(!CDBUF_IS_FULL(comport[port].rxbuf)) cdbuf_write(comport[port].rxbuf, &data, 1); break; case 3: in8(base+LINESTAT); break; } } pic_sendeoi(comport[port].irq); thread_yield(); } void com1_isr() { serial_isr_common(0); } void com2_isr() { serial_isr_common(1); } static int serial_check_minor(int minor) { if(minor < 0 || minor >= COMPORT_NUM) return -1; else return 0; } static int serial_open(int minor) { if(serial_check_minor(minor)) return -1; return 0; } static int serial_close(int minor) { if(serial_check_minor(minor)) return -1; return 0; } static int serial_read(int minor, char *dest, size_t count) { if(serial_check_minor(minor)) return -1; struct comport *com = &comport[minor]; int n = cdbuf_read(com->rxbuf, dest, count); if(com->state.mode & CDMODE_ECHO) { for(int i=0; i<n ; i++, dest++) { switch(*dest) { case '\r': cdbuf_write(com->txbuf, "\n", 1); break; case 0x7f: cdbuf_write(com->txbuf, "\b \b", 3); break; default: cdbuf_write(com->txbuf, dest, 1); break; } } serial_send(com->port); } return n; } static int serial_write(int minor, const char *src, size_t count) { if(serial_check_minor(minor)) return -1; struct comport *com = &comport[minor]; int n = cdbuf_write(com->txbuf, src, count); serial_send(com->port); return n; } static struct chardev_state *serial_getstate(int minor) { if(serial_check_minor(minor)) return -1; return &comport[minor].state; }
6ad40abdbac72cdfc0c700a9a4220505da1f7c8f
33a79d4b49f0d6a6fa30c40650b7cca2da7a34cc
/Bs/Systematics/pdfVariation/fitDdecreasewid.C
0870485dce4a75e8a146c16c80d20b4b44ac59aa
[]
no_license
MYOMAO/Bmeson2018Ana
b80ba58f6929e51c647451fa396ddbcb3d212775
47a5e231b2910043c94acdb44f7b7e2702ec1783
refs/heads/master
2020-05-25T07:45:52.949867
2020-03-10T16:05:34
2020-03-10T16:05:34
187,688,042
0
2
null
null
null
null
UTF-8
C
false
false
11,334
c
fitDdecreasewid.C
using namespace std; #include "uti.h" #include "parameters.h" double setparam0=50000.; double setparam1=5.36682; double setparam2=0.01; double setparam3=0.06; double fixparam1=5.36682; //Double_t minhisto=5.0; //Double_t maxhisto=6.0; //Double_t nbinsmasshisto=50; Double_t minhisto=5.00; Double_t maxhisto=6.00; Double_t nbinsmasshisto=50; Double_t binwidthmass=(maxhisto-minhisto)/nbinsmasshisto; TString collisionsystem; TString infname; Float_t centmin,centmax; void fitDdecreasewid(TString collsyst="PbPb",TString npfit="0" , Float_t centMin=0, Float_t centMax=100, TString outputfile="outfMasshisto/mass") { collisionsystem = collsyst; infname = outputfile; centmin = centMin; centmax = centMax; gStyle->SetTextSize(0.05); gStyle->SetTextFont(42); gStyle->SetPadRightMargin(0.043); gStyle->SetPadLeftMargin(0.18); gStyle->SetPadTopMargin(0.1); gStyle->SetPadBottomMargin(0.145); gStyle->SetTitleX(.0f); TF1* fit(Float_t ptmin, Float_t ptmax, TString npfit); ofstream fout(Form("outYield/decreasewid_%s_cent_%.0f_%.0f.dat",collsyst.Data(),centmin,centmax)); ofstream falpha(Form("outAlpha/decreasewid_%s_cent_%.0f_%.0f.dat",collsyst.Data(),centmin,centmax)); for(int i=0;i<nBins;i++) { TF1* f = fit(ptBins[i],ptBins[i+1], npfit.Data()); Float_t yield = f->Integral(minhisto,maxhisto)/binwidthmass; fout<<ptBins[i]<<" "<<ptBins[i+1]<<" "<<yield<<endl; falpha<<ptBins[i]<<" "<<ptBins[i+1]<<" "<<f->GetParameter(6)<<" "<<f->GetParError(6)<<endl; } falpha.close(); fout.close(); } TF1* fit(Float_t ptmin, Float_t ptmax, TString npfit) { static Int_t count=0; count++; TCanvas* c = new TCanvas(Form("c_%.0f_%.0f",ptmin,ptmax),"",600,600); TFile* infile = new TFile(Form("%s_%s_cent_%.0f_%.0f_pt_%.0f_%.0f.root",infname.Data(),collisionsystem.Data(),centmin,centmax,ptmin,ptmax)); TH1F* h = (TH1F*)infile->Get("h"); h->SetName(Form("h_%.0f_%.0f",ptmin,ptmax)); TH1F* hMCSignal = (TH1F*)infile->Get("hMCSignal"); hMCSignal->SetName(Form("hMCSignal_%.0f_%.0f",ptmin,ptmax)); // TH1F* hMCSwapped = (TH1F*)infile->Get("hMCSwapped"); hMCSwapped->SetName(Form("hMCSwapped_%.0f_%.0f",ptmin,ptmax)); TString iNP = npfit; TF1 *f = new TF1(Form("f%d",count),"[0]*([7]*TMath::Gaus(x,[1],[2]*(1+[12]))/(sqrt(2*3.14159)*[2]*(1+[12]))+(1-[7])*TMath::Gaus(x,[1],[8]*(1+[12]))/(sqrt(2*3.14159)*[8]*(1+[12])))+[3]+[4]*x+[5]*x*x+[6]*x*x*x"); //h->Draw(); f->SetParLimits(4,-1000,1000); f->SetParLimits(2,0.01,0.10); f->SetParLimits(8,0.01,0.10); f->SetParLimits(7,0,1); f->SetParLimits(11,0,1000); f->SetParLimits(9,0,1); f->SetParLimits(10,0.01,0.10); f->SetParameter(0,setparam0); f->SetParameter(1,setparam1); f->SetParameter(2,setparam2); f->SetParameter(8,setparam3); f->FixParameter(1,fixparam1); f->FixParameter(11,0); f->FixParameter(12,0); /* if(weightdata != "1"){ int maxb = h->GetMaximumBin(); double _max = h->GetBinContent(maxb); double _maxE = h->GetBinError(maxb); _ErrCor = (_maxE/_max)/(1/sqrt(_max)); f->SetParLimits(0,0,1e5); f->SetParLimits(4,-1e5,1e5); f->SetParLimits(11,0,1e4); } */ h->GetEntries(); hMCSignal->Fit(Form("f%d",count),"q","",minhisto,maxhisto); hMCSignal->Fit(Form("f%d",count),"q","",minhisto,maxhisto); f->ReleaseParameter(1); hMCSignal->Fit(Form("f%d",count),"L q","",minhisto,maxhisto); hMCSignal->Fit(Form("f%d",count),"L q","",minhisto,maxhisto); hMCSignal->Fit(Form("f%d",count),"L q","",minhisto,maxhisto); hMCSignal->Fit(Form("f%d",count),"L m","",minhisto,maxhisto); hMCSignal->Fit(Form("f%d",count),"L m q","",minhisto,maxhisto); f->FixParameter(1,f->GetParameter(1)); f->FixParameter(2,f->GetParameter(2)); f->FixParameter(7,f->GetParameter(7)); f->FixParameter(8,f->GetParameter(8)); //f->ReleaseParameter(11); printf("Fixed para.:\n"); printf("%f, %f, %f\n", f->GetParameter(2), f->GetParameter(7), f->GetParameter(8)); h->Fit(Form("f%d",count),"q","",minhisto,maxhisto); h->Fit(Form("f%d",count),"q","",minhisto,maxhisto); f->ReleaseParameter(1); f->ReleaseParameter(12); f->SetParLimits(12,-0.1,0.1); h->Fit(Form("f%d",count),"L q","",minhisto,maxhisto); h->Fit(Form("f%d",count),"L q","",minhisto,maxhisto); f->FixParameter(12,f->GetParameter(12)-f->GetParError(12)); h->Fit(Form("f%d",count),"L q","",minhisto,maxhisto); h->Fit(Form("f%d",count),"L m","",minhisto,maxhisto); TF1 *background = new TF1(Form("background%d",count),"[0]+[1]*x+[2]*x*x+[3]*x*x*x"); background->SetParameter(0,f->GetParameter(3)); background->SetParameter(1,f->GetParameter(4)); background->SetParameter(2,f->GetParameter(5)); background->SetParameter(3,f->GetParameter(6)); background->SetLineColor(4); background->SetRange(minhisto,maxhisto); //background->SetLineStyle(2);//PAS background->SetLineStyle(7);//paper //background->SetLineWidth(5); background->SetLineWidth(9); TF1 *Bkpi = new TF1(Form("fBkpi%d",count),"[0]*("+iNP+")"); Bkpi->SetParameter(0,f->GetParameter(11)); Bkpi->SetRange(minhisto,maxhisto); Bkpi->SetLineStyle(1); //Bkpi->SetFillStyle(3004);//PAS Bkpi->SetFillStyle(3005);//paper //Bkpi->SetLineColor(kGreen+1);//PAS //Bkpi->SetFillColor(kGreen+1);//PAS Bkpi->SetLineColor(kGreen+4);//paper Bkpi->SetFillColor(kGreen+4);//paper //Bkpi->SetLineWidth(5); Bkpi->SetLineWidth(9); TF1 *mass = new TF1(Form("fmass%d",count),"[0]*([3]*TMath::Gaus(x,[1],[2]*(1+[5]))/(sqrt(2*3.14159)*[2]*(1+[5]))+(1-[3])*TMath::Gaus(x,[1],[4]*(1+[5]))/(sqrt(2*3.14159)*[4]*(1+[5])))"); mass->SetParameters(f->GetParameter(0),f->GetParameter(1),f->GetParameter(2),f->GetParameter(7),f->GetParameter(8),f->GetParameter(12)); mass->SetParError(0,f->GetParError(0)); mass->SetParError(1,f->GetParError(1)); mass->SetParError(2,f->GetParError(2)); mass->SetParError(3,f->GetParError(7)); mass->SetParError(4,f->GetParError(8)); //mass->SetLineColor(2);//PAS //mass->SetFillColor(2);//PAS mass->SetFillColor(kOrange-3);//paper mass->SetLineColor(kOrange-3);//paper //mass->SetFillStyle(3004);//PAS mass->SetFillStyle(3002);//paper //mass->SetLineWidth(5); mass->SetLineWidth(9); //mass->SetLineStyle(2);//PAS mass->SetLineStyle(7);//paper //h->SetXTitle("m_{#mu#muK} (GeV/c^{2})"); h->SetXTitle("m_{B} (GeV/c^{2})"); h->SetYTitle("Events / (20 MeV/c^{2})"); h->GetXaxis()->CenterTitle(); h->GetYaxis()->CenterTitle(); h->SetAxisRange(0,h->GetMaximum()*1.4*1.2,"Y"); //h->GetXaxis()->SetTitleOffset(1.3); //h->GetYaxis()->SetTitleOffset(1.8); h->GetXaxis()->SetTitleOffset(0.9); h->GetYaxis()->SetTitleOffset(1.3); //h->GetXaxis()->SetLabelOffset(0.007); //h->GetYaxis()->SetLabelOffset(0.007); //h->GetXaxis()->SetTitleSize(0.045); //h->GetYaxis()->SetTitleSize(0.045); h->GetXaxis()->SetTitleSize(0.07); h->GetYaxis()->SetTitleSize(0.07); h->GetXaxis()->SetTitleFont(42); h->GetYaxis()->SetTitleFont(42); h->GetXaxis()->SetLabelFont(42); h->GetYaxis()->SetLabelFont(42); //h->GetXaxis()->SetLabelSize(0.04); //h->GetYaxis()->SetLabelSize(0.04); h->GetXaxis()->SetLabelSize(0.06); h->GetYaxis()->SetLabelSize(0.06); //h->SetMarkerSize(1.0); h->SetMarkerSize(1.55); h->SetMarkerStyle(20); h->SetLineColor(1); h->SetLineWidth(5); h->SetStats(0); h->GetXaxis()->SetNdivisions(-50205); h->Draw("e"); Bkpi->SetRange(5.00,5.60); Bkpi->Draw("same"); background->Draw("same"); //mass->SetRange(5.16,5.40); mass->Draw("same"); f->Draw("same"); c->RedrawAxis(); Double_t yield = mass->Integral(minhisto,maxhisto)/binwidthmass; Double_t yieldErr = mass->Integral(minhisto,maxhisto)/binwidthmass*mass->GetParError(0)/mass->GetParameter(0); std::cout<<"YIELD="<<yield<<std::endl; TLegend* leg = new TLegend(0.65,0.58,0.82,0.88,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.04); leg->SetTextFont(42); leg->SetFillStyle(0); leg->AddEntry(h,"Data","pl"); leg->AddEntry(f,"Fit","l"); leg->AddEntry(mass,"B_{s} Signal","f"); // leg->AddEntry(massSwap,"K-#pi swapped","f"); leg->AddEntry(background,"Combinatorial","l"); leg->Draw("same"); TLatex* texCms = new TLatex(0.18,0.93, "#scale[1.25]{CMS} Preliminary"); texCms->SetNDC(); texCms->SetTextAlign(12); texCms->SetTextSize(0.04); texCms->SetTextFont(42); texCms->Draw(); TLatex* texCol = new TLatex(0.96,0.93, Form("%s #sqrt{s_{NN}} = 5.02 TeV",collisionsystem.Data())); texCol->SetNDC(); texCol->SetTextAlign(32); texCol->SetTextSize(0.04); texCol->SetTextFont(42); texCol->Draw(); TLatex* texPt = new TLatex(0.22,0.78,Form("%.1f < p_{T} < %.1f GeV/c",ptmin,ptmax)); texPt->SetNDC(); texPt->SetTextFont(42); texPt->SetTextSize(0.04); texPt->SetLineWidth(2); texPt->Draw(); TLatex* texY = new TLatex(0.22,0.83,"|y| < 2.4"); texY->SetNDC(); texY->SetTextFont(42); texY->SetTextSize(0.04); texY->SetLineWidth(2); texY->Draw(); TLatex* texYield = new TLatex(0.22,0.73,Form("N_{D} = %.0f #pm %.0f",yield,yieldErr)); texYield->SetNDC(); texYield->SetTextFont(42); texYield->SetTextSize(0.04); texYield->SetLineWidth(2); texYield->Draw(); c->SaveAs(Form("plotFits/DMass_decreasewid_%s_cent_%.0f_%.0f_pt_%.0f_%.0f.pdf",collisionsystem.Data(),centmin,centmax,ptmin,ptmax)); TCanvas* cPull = new TCanvas(Form("cPull_%.0f_%.0f",ptmin,ptmax),"",600,700); TH1F* hPull = (TH1F*)h->Clone("hPull"); for(int i=0;i<h->GetNbinsX();i++) { Float_t nfit = f->Integral(h->GetBinLowEdge(i+1),h->GetBinLowEdge(i+1)+h->GetBinWidth(i+1))/h->GetBinWidth(i+1); if(h->GetBinError(i+1)==0) { hPull->SetBinContent(i+1,0.); } else hPull->SetBinContent(i+1,(h->GetBinContent(i+1)-nfit)/h->GetBinError(i+1)); hPull->SetBinError(i+1,0); } hPull->SetMinimum(-4.); hPull->SetMaximum(4.); hPull->SetYTitle("Pull"); hPull->GetXaxis()->SetTitleOffset(1.); hPull->GetYaxis()->SetTitleOffset(0.65); hPull->GetXaxis()->SetLabelOffset(0.007); hPull->GetYaxis()->SetLabelOffset(0.007); hPull->GetXaxis()->SetTitleSize(0.12); hPull->GetYaxis()->SetTitleSize(0.12); hPull->GetXaxis()->SetLabelSize(0.1); hPull->GetYaxis()->SetLabelSize(0.1); hPull->GetYaxis()->SetNdivisions(504); TLine* lPull = new TLine(5.0, 0, 6.0, 0); lPull->SetLineWidth(1); lPull->SetLineStyle(7); lPull->SetLineColor(1); TPad* pFit = new TPad("pFit","",0,0.3,1,1); pFit->SetBottomMargin(0); pFit->Draw(); pFit->cd(); h->Draw("e"); background->Draw("same"); mass->Draw("same"); // massSwap->Draw("same"); f->Draw("same"); leg->Draw("same"); texCms->Draw(); texCol->Draw(); texPt->Draw(); texY->Draw(); texYield->Draw(); cPull->cd(); TPad* pPull = new TPad("pPull","",0,0,1,0.3); pPull->SetTopMargin(0); pPull->SetBottomMargin(0.3); pPull->Draw(); pPull->cd(); hPull->Draw("phist"); lPull->Draw(); cPull->cd(); cPull->SaveAs(Form("plotFits/DMass_decreasewid_%s_cent_%.0f_%.0f_pt_%.0f_%.0f_Pull.pdf",collisionsystem.Data(),centmin,centmax,ptmin,ptmax)); return mass; } int main(int argc, char *argv[]) { if(argc==5) { fitDdecreasewid(argv[1],argv[2],atof(argv[3]),atof(argv[4])); return 0; } else if(argc==3) { fitDdecreasewid(argv[1],argv[2]); return 0; } else { std::cout << "Wrong number of inputs" << std::endl; return 1; } }
e94b2d210ac8f991eb385a1ea0d6e9a3e08e740a
37057526cc67e7deefa2cf93221ab2500dfe9ac8
/patches/qemu-sancov-translate-all-inl.h
8eb86ba8c6c75ac39f3135d70a5b813652b31168
[ "BSD-2-Clause" ]
permissive
andreafioraldi/QEMU-SanCov
72acc5ac369239894ae5be06d4b7ab920837d8f9
19db491ceb795c6db30752841f1a5c1759ace9b6
refs/heads/master
2020-09-02T13:33:58.445885
2019-11-03T12:01:35
2019-11-03T12:01:35
219,233,001
11
2
null
null
null
null
UTF-8
C
false
false
245
h
qemu-sancov-translate-all-inl.h
#include "qemu-sancov-common.h" void sancov_gen_trace_pc(target_ulong pc) { if (!sancov_cb_trace_pc || pc < sancov_code_start || pc > sancov_code_end) return; sancov_gen_void_fn_ulong_call((void*)sancov_cb_trace_pc, pc); }
06ed34919ed722819a3bce3b80477a0f41a1a446
976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f
/source/linux/drivers/i2c/busses/extr_i2c-opal.c_i2c_opal_probe.c
d3a3bcee7dc9d3f29c9364723c28720e878b80f9
[]
no_license
isabella232/AnghaBench
7ba90823cf8c0dd25a803d1688500eec91d1cf4e
9a5f60cdc907a0475090eef45e5be43392c25132
refs/heads/master
2023-04-20T09:05:33.024569
2021-05-07T18:36:26
2021-05-07T18:36:26
null
0
0
null
null
null
null
UTF-8
C
false
false
2,513
c
extr_i2c-opal.c_i2c_opal_probe.c
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward declarations */ typedef struct TYPE_5__ TYPE_2__ ; typedef struct TYPE_4__ TYPE_1__ ; /* Type definitions */ typedef scalar_t__ u32 ; struct TYPE_5__ {int /*<<< orphan*/ of_node; } ; struct platform_device {TYPE_2__ dev; } ; struct TYPE_4__ {int /*<<< orphan*/ of_node; TYPE_2__* parent; } ; struct i2c_adapter {int /*<<< orphan*/ name; TYPE_1__ dev; int /*<<< orphan*/ * quirks; void* algo_data; int /*<<< orphan*/ * algo; } ; /* Variables and functions */ int EIO ; int ENODEV ; int ENOMEM ; int /*<<< orphan*/ GFP_KERNEL ; int /*<<< orphan*/ dev_err (TYPE_2__*,char*) ; struct i2c_adapter* devm_kzalloc (TYPE_2__*,int,int /*<<< orphan*/ ) ; int i2c_add_adapter (struct i2c_adapter*) ; int /*<<< orphan*/ i2c_opal_algo ; int /*<<< orphan*/ i2c_opal_quirks ; char* of_get_property (int /*<<< orphan*/ ,char*,int /*<<< orphan*/ *) ; int /*<<< orphan*/ of_node_get (int /*<<< orphan*/ ) ; int of_property_read_u32 (int /*<<< orphan*/ ,char*,scalar_t__*) ; int /*<<< orphan*/ platform_set_drvdata (struct platform_device*,struct i2c_adapter*) ; int /*<<< orphan*/ strlcpy (int /*<<< orphan*/ ,char const*,int) ; __attribute__((used)) static int i2c_opal_probe(struct platform_device *pdev) { struct i2c_adapter *adapter; const char *pname; u32 opal_id; int rc; if (!pdev->dev.of_node) return -ENODEV; rc = of_property_read_u32(pdev->dev.of_node, "ibm,opal-id", &opal_id); if (rc) { dev_err(&pdev->dev, "Missing ibm,opal-id property !\n"); return -EIO; } adapter = devm_kzalloc(&pdev->dev, sizeof(*adapter), GFP_KERNEL); if (!adapter) return -ENOMEM; adapter->algo = &i2c_opal_algo; adapter->algo_data = (void *)(unsigned long)opal_id; adapter->quirks = &i2c_opal_quirks; adapter->dev.parent = &pdev->dev; adapter->dev.of_node = of_node_get(pdev->dev.of_node); pname = of_get_property(pdev->dev.of_node, "ibm,port-name", NULL); if (pname) strlcpy(adapter->name, pname, sizeof(adapter->name)); else strlcpy(adapter->name, "opal", sizeof(adapter->name)); platform_set_drvdata(pdev, adapter); rc = i2c_add_adapter(adapter); if (rc) dev_err(&pdev->dev, "Failed to register the i2c adapter\n"); return rc; }
8f59d35e546163f9f63040df0ba88854e740df42
f3da91b23e0129f89de008f3dfab4a7d9f0237c9
/src/jcon_parser.c
bf1aad2fe1a6b78743a6f25f7fb6a16c5fa6fed2
[]
no_license
dima201246/jCon
e3cba0c6fc0bb4ddff8b56d4f8036da0c041ba96
33e40fe76d94de10c92f164c2a390db7a3ca9244
refs/heads/master
2021-01-06T02:27:22.524954
2020-05-05T10:15:43
2020-05-05T10:15:43
241,201,114
0
0
null
null
null
null
UTF-8
C
false
false
9,197
c
jcon_parser.c
#include <stdio.h> #include <stdlib.h> #include <jCon.h> #include <__jCon.h> uint8_t __jsonIsNumber(const char *_str, size_t _len_str) { size_t index_str = 0; for (index_str = 0; index_str < _len_str; ++index_str) { if ((_str[index_str] < '0') || (_str[index_str] > '9')) { return 0; } } return 1; } const jsonObj_t *__jsonGetObjByPath(const jsonObj_t *_obj_json, const char *_str_path) { size_t index_str_path = 0; size_t len_str_key = 0; size_t index_count = 0; size_t len_str_path = 0; uint8_t flag_last_key = 0; uint8_t flag_read_key = 0; uint8_t flag_is_number = 0; long long index_element_array = 0; char buf[128] = {}; const char *ptr_str_key = 0; const jsonObj_t *ptr_obj_json = NULL; if (_str_path == NULL) { if (_obj_json != NULL) { return _obj_json; } return NULL; } len_str_path = strlen(_str_path); if ((_obj_json == NULL) || (len_str_path == 0)) { return NULL; } for (;; ++index_str_path) { if ((flag_read_key == 0) && (_str_path[index_str_path] != ' ')) { ptr_str_key = _str_path + index_str_path; flag_read_key = 1; len_str_key = 0; } if (flag_read_key == 1) { if ((index_str_path == len_str_path) || ((_str_path[index_str_path] == ':') && ((index_str_path != 0) && (_str_path[index_str_path - 1] != '\\')))) { if (index_str_path == len_str_path) { flag_last_key = 1; } flag_is_number = __jsonIsNumber(ptr_str_key, len_str_key); if (flag_is_number == 1) { snprintf(buf, 128, "%.*s", (int)len_str_key, ptr_str_key); index_element_array = atoll(buf); } { for (;; _obj_json = _obj_json->__ptr_next) { // Ищем элемент в массиве if (flag_is_number == 1) { if ((_obj_json->__type == JSON_VALUE_ARRAY) &&\ (_obj_json->__size_value > index_element_array)) { _obj_json = (jsonObj_t *)_obj_json->__value; for (index_count = 0; index_count != index_element_array; ++index_count,\ _obj_json = _obj_json->__ptr_next); if ((_obj_json->__type == JSON_VALUE_OBJECT) && (flag_last_key == 0)) { _obj_json = (jsonObj_t *)_obj_json->__value; } if (flag_last_key == 1) { ptr_obj_json = _obj_json; } break; } } else { if (_obj_json == NULL) { return NULL; } if ((_obj_json->__str_key != NULL) &&\ (strlen(_obj_json->__str_key) == len_str_key) && \ (strncmp(_obj_json->__str_key, ptr_str_key, len_str_key) == 0)) { if ((_obj_json->__type == JSON_VALUE_OBJECT) && (flag_last_key == 0)) { _obj_json = (jsonObj_t *)_obj_json->__value; } if (flag_last_key == 1) { ptr_obj_json = _obj_json; } break; } } if (_obj_json->__ptr_next == NULL) { break; } } } len_str_key = 0; if ((index_str_path != len_str_path)) { if ((index_str_path + 1) != len_str_path) { ptr_str_key = _str_path + index_str_path + 1; } else { break; } } else { break; } continue; } else { len_str_key++; } } } return ptr_obj_json; } const char *__jsonGetNum(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const jsonObj_t *ptr_obj_json = NULL; if (_error != NULL) { *_error = JSON_OK; } ptr_obj_json = __jsonGetObjByPath(_obj_json, _str_path); if (ptr_obj_json != NULL) { if (ptr_obj_json->__type == JSON_VALUE_NUMBER) { return (const char *)ptr_obj_json->__value; } else { if (_error != NULL) { *_error = JSON_ERR_TYPE; } } } else { if (_error != NULL) { *_error = JSON_ERR_NOT_FOUND; } } return NULL; } const char *jsonGetStr(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const jsonObj_t *ptr_obj_json = NULL; if (_error != NULL) { *_error = JSON_OK; } ptr_obj_json = __jsonGetObjByPath(_obj_json, _str_path); if (ptr_obj_json != NULL) { if (ptr_obj_json->__type == JSON_VALUE_STR) { return (const char *)ptr_obj_json->__value; } else { if (_error != NULL) { *_error = JSON_ERR_TYPE; } } } else { if (_error != NULL) { *_error = JSON_ERR_NOT_FOUND; } } return NULL; } const char * jsonGetNumAsStr(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { return __jsonGetNum(_obj_json, _str_path, _error); } int jsonGetInt(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const char *str_num = NULL; str_num = __jsonGetNum(_obj_json, _str_path, _error); if (str_num != NULL) { return atoi(str_num); } return 0; } long long jsonGetLL(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const char *str_num = NULL; str_num = __jsonGetNum(_obj_json, _str_path, _error); if (str_num != NULL) { return atoll(str_num); } return 0; } unsigned long int jsonGetUL(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const char *str_num = NULL; str_num = __jsonGetNum(_obj_json, _str_path, _error); if (str_num != NULL) { return strtoul(str_num, NULL, 10); } return 0; } float jsonGetFloat(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const char *str_num = NULL; str_num = __jsonGetNum(_obj_json, _str_path, _error); if (str_num != NULL) { return atof(str_num); } return 0; } jsonValueType_t jsonGetType(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const jsonObj_t *ptr_obj_json = NULL; if (_error != NULL) { *_error = JSON_OK; } ptr_obj_json = __jsonGetObjByPath(_obj_json, _str_path); if (ptr_obj_json != NULL) { return ptr_obj_json->__type; } else { if (_error != NULL) { *_error = JSON_ERR_NOT_FOUND; } } return JSON_VALUE_NONE; } uint8_t jsonGetBool(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const jsonObj_t *ptr_obj_json = NULL; if (_error != NULL) { *_error = JSON_OK; } ptr_obj_json = __jsonGetObjByPath(_obj_json, _str_path); if (ptr_obj_json != NULL) { if (ptr_obj_json->__type == JSON_VALUE_BOOL) { return *(uint8_t *)ptr_obj_json->__value; } else { if (_error != NULL) { *_error = JSON_ERR_TYPE; } } } else { if (_error != NULL) { *_error = JSON_ERR_NOT_FOUND; } } return 0; } const jsonObj_t *jsonGetObjInArray(const jsonObj_t *_obj_json, const char *_str_path, size_t _index, jsonErr_t *_error) { size_t index_element_array = 0; const jsonObj_t *ptr_obj_json = NULL; const jsonObj_t *ptr_obj_array_json = NULL; if (_error != NULL) { *_error = JSON_OK; } if ((_str_path == NULL) && (_obj_json != NULL) && (_obj_json->__type == JSON_VALUE_ARRAY)) { ptr_obj_array_json = (const jsonObj_t *)_obj_json->__value; if (ptr_obj_array_json == NULL) { return NULL; } for (index_element_array = 0; index_element_array < _obj_json->__size_value; ++index_element_array) { if (index_element_array == _index) { return ptr_obj_array_json; } ptr_obj_array_json = ptr_obj_array_json->__ptr_next; } } ptr_obj_json = __jsonGetObjByPath(_obj_json, _str_path); if (ptr_obj_json != NULL) { if (ptr_obj_json->__type == JSON_VALUE_ARRAY) { if (ptr_obj_json->__size_value <= _index) { if (_error != NULL) { *_error = JSON_ERR_OUT_OF_ARRAY; } } else { ptr_obj_array_json = (const jsonObj_t *)ptr_obj_json->__value; if (ptr_obj_array_json == NULL) { return NULL; } for (index_element_array = 0; index_element_array < ptr_obj_json->__size_value; ++index_element_array) { if (index_element_array == _index) { return ptr_obj_array_json; } ptr_obj_array_json = ptr_obj_array_json->__ptr_next; } } } else { if (_error != NULL) { *_error = JSON_ERR_TYPE; } } } else { if (_error != NULL) { *_error = JSON_ERR_NOT_FOUND; } } return NULL; } size_t jsonGetArraySize(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const jsonObj_t *ptr_obj_json = NULL; if (_error != NULL) { *_error = JSON_OK; } if ((_str_path == NULL) && (_obj_json != NULL) && (_obj_json->__type == JSON_VALUE_ARRAY)) { return _obj_json->__size_value; } ptr_obj_json = __jsonGetObjByPath(_obj_json, _str_path); if (ptr_obj_json != NULL) { if (ptr_obj_json->__type == JSON_VALUE_ARRAY) { return ptr_obj_json->__size_value; } else { if (_error != NULL) { *_error = JSON_ERR_TYPE; } } } else { if (_error != NULL) { *_error = JSON_ERR_NOT_FOUND; } } return 0; } const jsonObj_t *jsonGetObj(const jsonObj_t *_obj_json, const char *_str_path, jsonErr_t *_error) { const jsonObj_t *ptr_obj_json = NULL; if (_error != NULL) { *_error = JSON_OK; } ptr_obj_json = __jsonGetObjByPath(_obj_json, _str_path); if (ptr_obj_json == NULL) { if (_error != NULL) { *_error = JSON_ERR_NOT_FOUND; } } return ptr_obj_json; }
f40b8d115b5ad6fcd4d7ef0d4ce3963a84793579
260e87235cfddd68ad024983a6fce9139bdf914f
/trunk/Driver/FicusF4_I2C_SlaveWriteRead/USER/main.c
2ed7036251ccd8350c5d35dd8cccb1a0640a8b33
[]
no_license
viewtool/vt_ficus407hs
be4902a51cf212bf879267f501b4cbf36199eee7
05a7ef50f53b0940075d384a2651011fd0de7932
refs/heads/master
2021-07-05T15:06:03.448672
2021-01-21T06:06:32
2021-01-21T06:06:32
222,412,136
1
0
null
null
null
null
UTF-8
C
false
false
5,047
c
main.c
/* ****************************************************************************** * @file : Ficus_I2C_AT24C02.cpp * @Copyright: ViewTool * @Revision : Ver 1.0 * @Date : 2020/10/23 * @brief : Ficus_I2C_AT24C02 demo ****************************************************************************** * @attention * * Copyright 2019-2020, ViewTool * http://www.viewtool.com/ * All Rights Reserved * ****************************************************************************** */ /* A demo program for 2 channel I2C control with: HW: FicusF4HS (STM32F407VET on board) FW: >= Product name : FicusF4 Firmware version : 1.0.2 Hardware version : 2.1.0 IDE: Keilv5 (or above) Ficus: http://www.viewtool.com/index.php/en/36-2016-09-26-03-58-56/271-ficus-stm32f407hs-high-speed-development-board Pin layout and definition: http://www.viewtool.com/demo/STM32/Ficus_document_html/index.html Ficus lead out 100% chip's resource for usage, for GPIO, it's more channel could be used. The demo shows defined pin number's usage It could be used with I2C, GPIO, CAN (driver module required) simultaneously. PIN definition rule and one example: (1)J28_P2_P4_I2C (2)J28_P1_P3_I2C 1. socket definition: J8 definition example (see above link for detail): GND 1 2 P1 GPIOE_5 <--------------------- socket pin name for J15_P1_GPIO GND 3 4 P2 GPIOE_6 GND 5 6 P3 GPIOC_13 GPIOE_2 P4 7 8 P5 GPIOC_0 GPIOC_1 P6 9 10 P7 GPIOA_2 GPIOC_2 P8 11 12 P9 GPIOA_3 GND 13 14 P10 GPIOE_3 GND 15 16 P11 GPIOE_4 2. GPIO pin macro definitoin used in all of ficus board related programs: J15_P1_GPIO: --------> GPIO pin macro defintion | | |____ usage: GPIO, fixed | |________ pinout index (at this socket), P1: index = 1, it's GPIOE_5 @ socket num 2 position |____________ FICUS board socket number (see above pin layout for more detail), J15: 2x8 pinout socket GPIOE_5: socket pinout name, equal to STM32FXXX standard GPIO pin definition: port = GPIOE, pin = GPIO_PIN_5 | |____ pin index: 5 = GPIO_PIN_5 |______ port index: E = GPIOE 3. check pin macro defition in func_map.h: #define J15_P1_GPIO (VGI_GPIO_PORTE|VGI_GPIO_PIN5) | |_____ GPIO_PIN_5 |___________________ GPIOE */ #ifdef WINAPI #include "stdafx.h" #include "ControlI2C.h" #else #include "stm32f4xx_conf.h" #include "vt_i2c.h" #include "func_map.h" #endif int main(int argc, char* argv[]) { int ret,i; VII_INIT_CONFIG I2C_Config; VII_BOARD_INFO BoardInfo; uint16_t SlaveReadLen; uint8_t write_buffer[512]={0}; uint8_t read_buffer[512]={0}; //Scan device ret = VII_ScanDevice(1); if(ret <= 0){ printf("No device connect!\n"); return ret; } //Open device ret = VII_OpenDevice(VII_USBI2C, 0, 0); if (ret != ERR_SUCCESS){ printf("Open device error!\n"); return ret; } //Get product information ret = VII_ReadBoardInfo(0,&BoardInfo); if (ret != ERR_SUCCESS){ printf("Read board information error!\n"); return ret; }else{ printf("Product Name:%s\n",BoardInfo.ProductName); printf("Firmware Version:V%d.%d.%d\n",BoardInfo.FirmwareVersion[1],BoardInfo.FirmwareVersion[2],BoardInfo.FirmwareVersion[3]); printf("Hardware Version:V%d.%d.%d\n",BoardInfo.HardwareVersion[1],BoardInfo.HardwareVersion[2],BoardInfo.HardwareVersion[3]); printf("Serial Number:"); for(i=0;i<12;i++){ printf("%02X",BoardInfo.SerialNumber[i]); } printf("\n"); } //Initializes the device I2C_Config.AddrType = VII_ADDR_7BIT; I2C_Config.ClockSpeed = 400000; I2C_Config.ControlMode = VII_HCTL_SLAVE_MODE; I2C_Config.MasterMode = VII_SLAVE; I2C_Config.SubAddrWidth = VII_SUB_ADDR_NONE; I2C_Config.Addr = 0xA0; //Must be set,very important ret = VII_InitI2C(VII_USBI2C, 0, 0, &I2C_Config); if (ret != ERR_SUCCESS){ printf("Initialize device error!\n"); return ret; } //Slave write data for (i = 0; i < 16; i++){ write_buffer[i] = i; } ret = VII_SlaveWriteBytes(VII_USBI2C, 0, 0, write_buffer, 16); if (ret != ERR_SUCCESS){ printf("Slave write data error!\n"); return ret; }else{ printf("Write Data:\n"); for(i=0;i<16;i++){ printf("%02X ",write_buffer[i]); if(((i+1)%16)==0){ printf("\n"); } } } //Slave read data while(1){ Sleep(50); ret = VII_SlaveReadBytes(VII_USBI2C, 0, 0,read_buffer,&SlaveReadLen); if((ret == ERR_SUCCESS)&&(SlaveReadLen > 0)){ printf("Read Data:\n"); for(i=0;i<SlaveReadLen;i++){ printf("%02X ",read_buffer[i]); if(((i+1)%16)==0){ printf("\n"); } } printf("\n"); continue; } if(ret == ERR_READ_NO_DATA){ continue; }else{ printf("Slave read data error!\n"); return ret; } } return 0; }
fa5f552d46a7e20a40644d6a871da301c698e366
3143ffb51743e56938bd77eda3e3e1fc5838c5e2
/tables/cmap.h
a80838be2020c88e5658ebaa00d43c889b68148f
[ "Apache-2.0" ]
permissive
jenskutilek/otfcc
c6a77d7f2827f0a3b2292e2cfa09c4c951cf8c44
7e02ed0bb8d61f8c27d05038ddacac582f073969
refs/heads/master
2020-12-03T07:55:59.615316
2016-03-21T12:38:47
2016-03-21T12:38:47
null
0
0
null
null
null
null
UTF-8
C
false
false
579
h
cmap.h
#ifndef CARYLL_TABLES_CMAP_H #define CARYLL_TABLES_CMAP_H #include <stdint.h> #include "../caryll-font.h" #include "../extern/uthash.h" #include "../support/glyphorder.h" #include "../extern/parson.h" // We will support format 0, 4, 12 of CMAP only typedef struct { int unicode; glyph_handle glyph; UT_hash_handle hh; } cmap_entry; typedef cmap_entry *cmap_hash; void caryll_read_cmap(caryll_font *font, caryll_packet packet); void caryll_delete_table_cmap(caryll_font *font); void caryll_cmap_to_json(caryll_font *font, JSON_Object *root); #endif
db98d9b4eed95b0c4e41fdf91b6f6ed4a6ebc51a
2d00b592246768b46f22f4bbbd865b5f8d8a27be
/inc/menu.h
0af65af55f9a62cddb4343c4728fd66fbb2fd759
[]
no_license
dkamakin/TextProcessor
2d22a319350d6c0d18910877c0125ea24101baed
71b6bf46c258e46eb8601b2e39d6bd02156061f6
refs/heads/main
2023-03-03T08:23:30.699868
2021-02-04T14:45:38
2021-02-04T14:45:38
335,984,131
0
0
null
null
null
null
UTF-8
C
false
false
453
h
menu.h
#ifndef MENU_H #define MENU_H #include <stdlib.h> #include <wctype.h> #include <locale.h> #include <wchar.h> #include <stdio.h> #include "main.h" #include "structs.h" #include "del_sentences.h" #include "sentence_sort.h" #include "sentences_sort.h" #include "find_mask_sentences.h" void printText(Text* textBegin, Text* textEnd); void cleanMemory(Text* textBegin, Text* textEnd); int getAction(); void menu(Text* textBegin, Text* textEnd); #endif
2e4865e5235aa91c9bb57a8a3ccaab6c89296ed7
39dfd3d9dd6617636d105d481af5e8fb63582994
/jni/jMainActivity.c
fe0ee1bfeb9431eb931243a47b9089869f4b5aaf
[]
no_license
ajayreddy570/JniExample
d2be6fad4709f40b24e89ba9b92fe399f4995af1
89dcdaf3ad6fa1e90cd2807919d89e80fe10410b
refs/heads/master
2016-09-01T23:23:47.769650
2015-04-10T10:11:53
2015-04-10T10:11:53
33,722,033
0
0
null
null
null
null
UTF-8
C
false
false
1,491
c
jMainActivity.c
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> #include "jni_MainActivity.h" #include <android/log.h> /* Header for class com_example_testjni_MainActivity */ /* * Class: com_example_testjni_MainActivity * Method: sendObject * Signature: (I)V * jclass gJniCdeApiCls; */ const char* kJavActivityClassPath = "com/example/testjni/MainActivity"; const char *memberIdentityPath = "com/example/testjni/Employee"; static JNINativeMethod sMethods[] = { { "sendObject", "(Lcom/example/testjni/Employee;)V", (void *) sendObject } }; JNIEXPORT jint JNI_OnLoad(JavaVM *jvm, void *reserved) { JNIEnv *env; int status; if ((*jvm)->GetEnv(jvm, (void**) &env, JNI_VERSION_1_6) != JNI_OK) { return JNI_ERR; } jclass cls = (*env)->FindClass(env, kJavActivityClassPath); gJniCdeApiCls = (jclass) (*env)->NewGlobalRef(env, cls); (*env)->DeleteLocalRef(env, cls); if ((*env)->RegisterNatives(env, gJniCdeApiCls, sMethods, sizeof(sMethods) / sizeof(sMethods[0])) != JNI_OK) { return -1; } return JNI_VERSION_1_6; } void sendObject(JNIEnv *env, jobject jobj, jobject jemp) { char *name; jclass memberInfoClass = (*env)->GetObjectClass(env, jemp); jmethodID getMember = (*env)->GetMethodID(env, memberInfoClass, "getString", "()Ljava/lang/String;"); jstring str = (jstring) (*env)->CallObjectMethod(env, jemp, getMember); name = (*env)->GetStringUTFChars(env, str, 0); __android_log_print(ANDROID_LOG_DEBUG, "AJAY JNI", "sendObject : %s", name); }
85fa464a805b24ee19c0158b8cafadfe2482a3dc
bf2f8c0f5e161723d6ac61537c9c5bce3caa4d8d
/0x13-more_singly_linked_lists/8-sum_listint.c
b6561b96c1e0e44b8619620082579fa174e2aa59
[]
no_license
julianfrancor/holbertonschool-low_level_programming
ecf2ca8bb1764b62eae0bf156f794d1f57e4b739
96e384a8b40a935c9e0902bf918d4d0fb4709060
refs/heads/master
2020-12-28T19:06:51.193152
2020-08-27T04:44:06
2020-08-27T04:44:06
238,454,109
0
0
null
null
null
null
UTF-8
C
false
false
460
c
8-sum_listint.c
#include "lists.h" /** * sum_listint - function that returns the sum of all * the data (n) of a listint_t linked list. * @head: is a pointer to the head of the list * Return: int sum of all the data (n) of a listint_t */ int sum_listint(listint_t *head) { listint_t *temp; unsigned int node = 0, sum = 0; if (head == NULL) { return (0); } temp = head; while (temp != NULL) { sum += temp->n; temp = temp->next; node++; } return (sum); }
c74fddfb68d986723b4727bf38e4918a440551ff
91d37ef95f005b0af3060d9bc7457f3034999721
/libft/srcs/ft_lstmap.c
9c8e2bd38631ec9cf6ff99f6c3d22d8478b70fd2
[]
no_license
yoanngi/21sh
044f1223fc2d53b711ea62c53f45744fccf07559
7b945472523e27c5de6854f821993d38b6f4c793
refs/heads/master
2021-07-02T17:12:17.210767
2020-08-27T11:50:59
2020-08-27T11:50:59
144,556,180
0
0
null
null
null
null
UTF-8
C
false
false
1,559
c
ft_lstmap.c
/* ************************************************************************** */ /* LE - / */ /* / */ /* ft_lstmap.c .:: .:/ . .:: */ /* +:+:+ +: +: +:+:+ */ /* By: volivry <[email protected]> +:+ +: +: +:+ */ /* #+# #+ #+ #+# */ /* Created: 2018/01/03 11:39:02 by volivry #+# ## ## #+# */ /* Updated: 2018/01/03 11:43:51 by volivry ### #+. /#+ ###.fr */ /* / */ /* / */ /* ************************************************************************** */ #include "../includes/libft.h" #include <stdlib.h> t_list *ft_lstmap(t_list *lst, t_list *(*f)(t_list *elem)) { t_list *first_link; t_list *result; t_list *elem; if (lst == NULL || f == NULL) return (NULL); elem = f(lst); result = ft_lstnew(elem->content, elem->content_size); if (result == NULL) return (NULL); lst = lst->next; first_link = result; while (lst != NULL) { elem = f(lst); result->next = ft_lstnew(elem->content, elem->content_size); if (result->next == NULL) return (NULL); result = result->next; lst = lst->next; } return (first_link); }
aa96d80b4623a99aba322356d6b670776e5c4ed3
a41709b3f3f45bd6c8540b0360758067716e2842
/ESP32_ble_mqtt_bridge/config.h
1b21ea26f48072bbc8b634209a1a17c01efd94bd
[]
no_license
1ch1o/HomeAutomation
b07017d9f1225116dc1823b9e711b5e7069dabcd
30775eca7ddfe740cf453e05c55e1bf9c046c1dc
refs/heads/master
2020-03-29T23:18:39.019682
2018-10-17T22:38:15
2018-10-17T22:38:15
150,466,458
1
0
null
null
null
null
UTF-8
C
false
false
2,543
h
config.h
/////////////////////////////////////////////////////////////////////////// // CONFIGURATION - SOFTWARE /////////////////////////////////////////////////////////////////////////// // Debug output #define DEBUG_SERIAL // Location of Module ////-> out of this the MQTT_TOPIC will be generated: = <ZONE>/<FLOOR>/<LOCATION>/<MQTT_CLIENT_ID>/.... ////-> for example: MQTT_MAGNET_STATE_TOPIC = home/floor_0/bedroom/TESTID/magnet #define ZONE "home" #define FLOOR "floor_0" #define LOCATION "bedroom" // Wi-Fi credentials #define WIFI_SSID "YOURWIFI" #define WIFI_PASSWORD "YOURWIFIPSWD" // MQTT #define MQTT_USERNAME "mqttuser" #define MQTT_PASSWORD "mqttpswd" #define MQTT_SERVER_IP "xxx.xxx.x.x" #define MQTT_SERVER_PORT 1883 ////-> if you want to set CLIENT_ID manually define it here. ////-> otherwise comment it and ESP's MAC-Adress will be used. #define MQTT_CLIENT_ID "TESTID" #define MQTT_CONNECTION_TIMEOUT 5000 // [ms] // Templates, don't change #define MQTT_LOCATION_TEMPLATE "%s/%s/%s/%s" #define MQTT_AVAILABILITY_TOPIC_TEMPLATE "%s/availability" #define MQTT_COMMAND_TOPIC_TEMPLATE "%s/command" //Here the second %s will be replaced by the friendly name of your BLETrackedDevices #define MQTT_MAGNET_STATE_TOPIC_TEMPLATE "%s/%s/magnet" #define MQTT_BAT_VOLT_TOPIC_TEMPLATE "%s/%s/batvolt" //Paploads #define MQTT_PAYLOAD_ON "ON" #define MQTT_PAYLOAD_OFF "OFF" #define MQTT_PAYLOAD_ERROR "ERROR" #define MQTT_PAYLOAD_AVAILABLE "online" #define MQTT_PAYLOAD_UNAVAILABLE "offline" //Bluetooth #define BLE_SCANNING_PERIOD 30 //in s #define BLE_SCANNING_INTERVAL 10 //in s #define BLE_SENSOR_REED 1 #define BLE_SENSOR_OTHR 0 //Change NB_OF_BLE_TRACKED_DEVICES depending on how much Devices you have got in BLETrackedDevices #define NB_OF_BLE_TRACKED_DEVICES 3 //typestructure of BLETrackedDevices: /* String address; bool isDiscovered; long lastDiscovery; int magnet; char battery[4 + 1]; char manufacturerData[26 + 1]; // last 1 is 0-termination int sensorType; String location; */ //Change this depending on your BLE-Devices BLETrackedDevice BLETrackedDevices[NB_OF_BLE_TRACKED_DEVICES] = { {"00:1a:22:0b:46:a8", false, 0, 0, {0}, {0}, BLE_SENSOR_OTHR, "Unknown Device1"}, {"ee:23:a4:1f:77:77", false, 0, 0, {0}, {0}, BLE_SENSOR_REED, "Window1"}, {"00:1a:22:0b:05:0a", false, 0, 0, {0}, {0}, BLE_SENSOR_OTHR, "Unknown Device2"} }; //OTA #define OTA_HOSTNAME MQTT_CLIENT_ID #define OTA_PASSWORD "" #define OTA_PORT 8266
5593ac099f589e5343c249343a531419b1451190
55ce43056d24e7686300eed05a9078702e986f2b
/2_0-union/union.c
6f47902b557c0b552c0123d05db29ce44fc2cd4b
[]
no_license
amnotme/42_C_Exam_Practice
56b6003a9c1b2ecb2229ed94555c49230e48dcc6
75e174cfffe0298d6522c2eb52f67d3c569fd97c
refs/heads/master
2021-01-01T16:38:18.941346
2018-01-26T01:59:22
2018-01-26T01:59:22
97,880,340
3
0
null
null
null
null
UTF-8
C
false
false
1,759
c
union.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* union.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: lhernand <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/12/03 19:23:40 by lhernand #+# #+# */ /* Updated: 2017/12/03 22:46:15 by lhernand ### ########.fr */ /* */ /* ************************************************************************** */ #include <unistd.h> void ft_putstr(char *str) { int i; i = 0; while (str[i]) { write(1, &str[i], 1); i++; } } int ft_strlen(char *str) { int i; i = 0; while (str[i]) i++; return (i); } int is_there(char c, char *uni) { int i; i = 0; while (uni[i]) { if (uni[i] == c) return (1); i++; } return (0); } void ft_union(char *arg1, char *arg2) { int i; int j; char u[ft_strlen(arg1) + ft_strlen(arg2) + 1]; i = 0; j = 0; u[j] = '\0'; while (arg1[i]) { if (!is_there(arg1[i], u)) { u[j] = arg1[i]; j++; u[j] = '\0'; } i++; } i = 0; while (arg2[i]) { if(!is_there(arg2[i], u)) { u[j] = arg2[i]; j++; u[j] = '\0'; } i++; } ft_putstr(u); ft_putstr("\n"); } int main(int argc, char **argv) { if (argc != 3) ft_putstr("\n"); else ft_union(argv[1], argv[2]); return (0); }
695b2e075a517d8228728c454d9bfa5d62b529cd
9953b987cfd9f02f3213f493a8d6ae15772b91aa
/Plugins/CameraVolumes/Source/CameraVolumes/Public/CameraVolumesTypes.h
1c6eea216e5988159eafdebb1701a5b5fdc9bae6
[ "MIT" ]
permissive
redcatbox/CameraVolumes
2e885decba8b5337f7ee448b07518016f7b96529
9315be48c0e6ea4123433ab41e61a571c4cb0951
refs/heads/master
2023-07-24T02:50:01.687053
2023-05-30T11:57:15
2023-05-30T11:57:15
163,868,617
29
6
MIT
2022-11-10T12:16:17
2019-01-02T17:11:09
C++
UTF-8
C
false
false
2,383
h
CameraVolumesTypes.h
// redbox, 2021 #pragma once #include "CoreMinimal.h" #include "CameraVolumesTypes.generated.h" #define DEAD_ZONES 0 #define DRAW_DEBUG 0 // Camera mobility UENUM(BlueprintType) enum class ECameraMobility : uint8 { ECM_Movable UMETA(DisplayName = "Movable"), ECM_Static UMETA(DisplayName = "Static") }; // Sides UENUM(BlueprintType) enum class ESide : uint8 { ES_Front UMETA(DisplayName = "Front"), ES_Back UMETA(DisplayName = "Back"), ES_Right UMETA(DisplayName = "Right"), ES_Left UMETA(DisplayName = "Left"), ES_Top UMETA(DisplayName = "Top"), ES_Bottom UMETA(DisplayName = "Bottom") }; // Side type (Open or Closed) UENUM(BlueprintType) enum class ESideType : uint8 { EST_Open UMETA(DisplayName = "Open"), EST_Closed UMETA(DisplayName = "Closed") }; // Side Transition Type (Smooth or Cut) UENUM(BlueprintType) enum class ESideTransitionType : uint8 { ESTT_Normal UMETA(DisplayName = "Normal"), ESTT_Smooth UMETA(DisplayName = "Smooth"), ESTT_Cut UMETA(DisplayName = "Cut") }; // Side info USTRUCT(BlueprintType) struct FSideInfo { GENERATED_BODY() UPROPERTY(BlueprintReadOnly, Category = VolumeSides) ESide Side; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = VolumeSides) ESideType SideType; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = VolumeSides) ESideTransitionType SideTransitionType; FSideInfo() { Side = ESide::ES_Front; SideType = ESideType::EST_Open; SideTransitionType = ESideTransitionType::ESTT_Normal; } }; #if 0 //DEAD_ZONES // Dead zone transform USTRUCT(BlueprintType) struct FDeadZoneTransform { GENERATED_BODY() // Dead zone extent (in screen percentage) UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = DeadZone) FVector2D DeadZoneExtent; // Dead zone offset from the center of the screen (in screen percentage) UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = DeadZone) FVector2D DeadZoneOffset; // Dead zone roll (in degrees) UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = DeadZone) float DeadZoneRoll; FDeadZoneTransform() { DeadZoneExtent = FVector2D::ZeroVector; DeadZoneOffset = FVector2D::ZeroVector; DeadZoneRoll = 0.f; } FDeadZoneTransform(FVector2D InDeadZoneExtent, FVector2D InDeadZoneOffset, float InDeadZoneRoll) { DeadZoneExtent = InDeadZoneExtent; DeadZoneOffset = InDeadZoneOffset; DeadZoneRoll = InDeadZoneRoll; } }; #endif
adb1e24d4522c4c3ed75e5c6f759fd333a365362
4cbe0b62ae265cf394f1fe36dac76bcd891d6d42
/w1/linkedlist.c
8f758cc5246539e32f27749faa7f0fb79e08b318
[]
no_license
ridgetinez/19t2-comp2521
e00671ba3f8a2eb5b301db6e9efba93c8a8a9f8b
15e43bed092928dc3471369d885d4679f85504e7
refs/heads/master
2020-05-31T12:50:08.760022
2019-08-17T02:17:13
2019-08-17T02:17:13
190,289,617
0
0
null
null
null
null
UTF-8
C
false
false
1,123
c
linkedlist.c
/* * Extremely spartan linked list library * Accentuate definition and benefits of an ADT * * ~arm */ #include <stdio.h> #include <stdlib.h> #include "linkedlist.h" typedef struct _list { int val; struct _list *next; } *LinkedList; static int LinkedListSumRecurse(LinkedList l); static int LinkedListSumIter(LinkedList l); LinkedList LinkedListInit() { /* TODO */ return NULL; } void LinkedListAppend(LinkedList l, int v) { /* TODO */ return; } int LinkedListSum(LinkedList l) { /* TODO */ return LinkedListSumIter(l) + LinkedListSumRecurse(l); } // Specify: for a linked list l, sum up the values in it. // (1) Assume that my function does that already // (2) Think about your base cases, i.e. linked lists, where I 100% know the value when I'm given it. static int LinkedListSumRecurse(LinkedList l) { if (l == NULL) return 0; return l->val + LinkedListSumRecurse(l->next); } static int LinkedListSumIter(LinkedList l) { LinkedList curr = l; int sum = 0; while (curr != NULL) { sum += curr->val; curr = curr->next; } return sum; }
1448ae73d74bad2a0202aa91e9ebfc78153bfcda
0be2a66e2e5dbc14f5d3d9a00c7516e0d7df9925
/callbacks.h
2a827eb46c2377ceee1901b6b5f0e39590942289
[]
no_license
aymenjerbi/aymen
f57fbb2e0024309a631406464a7bd8442f06dabe
04009c2d8c6d0fb410c7c9e15ef879c6250ab1a8
refs/heads/master
2023-02-09T09:11:12.476587
2021-01-03T22:17:46
2021-01-03T22:17:46
310,422,417
0
0
null
null
null
null
UTF-8
C
false
false
3,088
h
callbacks.h
#include <gtk/gtk.h> void on_treeview_capt_row_activated (GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data); void on_treeview_alarm_row_activated (GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data); void on_ajouter_capt_clicked (GtkWidget *button, gpointer user_data); void on_modifier_capt_clicked (GtkWidget *button, gpointer user_data); void on_supprimer_capt_clicked (GtkWidget *button, gpointer user_data); void on_parametre_capt_clicked (GtkWidget *button, gpointer user_data); void on_Ajout_ok_clicked (GtkWidget *button, gpointer user_data); void on_retour_ajout_clicked (GtkWidget *button, gpointer user_data); void on_modif_ok_clicked (GtkWidget *button, gpointer user_data); void on_retour_modif_clicked (GtkWidget *button, gpointer user_data); void on_supprim_ok_clicked (GtkWidget *button, gpointer user_data); void on_retour_supp_clicked (GtkWidget *button, gpointer user_data); void on_treeview_param_row_activated (GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data); void on_ajout_param_clicked (GtkWidget *button, gpointer user_data); void on_param_ok_clicked (GtkWidget *button, gpointer user_data); void on_retour_param_clicked (GtkWidget *button, gpointer user_data); void on_temperature_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_humidite_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_alarmantes_clicked (GtkButton *button, gpointer user_data);
77d89811bd8661131aa678e0b5848de0f25c2572
387ad3775fad21d2d8ffa3c84683d9205b6e697d
/openhpi/tags/released_0_9/plugins/snmp_rsa/t/sim_resources.c
ae8fbbf3c8b628f64171e5efd68c7450d657e6ed
[]
no_license
kodiyalashetty/test_iot
916088ceecffc17d2b6a78d49f7ea0bbd0a6d0b7
0ae3c2ea6081778e1005c40a9a3f6d4404a08797
refs/heads/master
2020-03-22T11:53:21.204497
2018-03-09T01:43:41
2018-03-09T01:43:41
140,002,491
0
0
null
null
null
null
UTF-8
C
false
false
11,986
c
sim_resources.c
/* -*- linux-c -*- * * (C) Copyright IBM Corp. 2003, 2004 * * 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. This * file and program are licensed under a BSD style license. See * the Copying file included with the OpenHPI distribution for * full licensing terms. * * Authors: * Steve Sherman <[email protected]> * W. David Ashley <[email protected]> */ /************************************************************************** * This source file defines the resource arrays declared in sim_resources.h *************************************************************************/ #include <glib.h> #include <snmp_util.h> #include <sim_resources.h> struct snmp_rsa_data sim_resource_array[] = { /* Add more example event log messages */ { /* Event Log Index Number */ .oid = ".1.3.6.1.4.1.2.3.51.1.3.4.2.1.1.1", .mib = { .type = ASN_INTEGER, .value = { .integer = 1, }, }, }, { /* Event Log Index Number */ .oid = ".1.3.6.1.4.1.2.3.51.1.3.4.2.1.1.2", .mib = { .type = ASN_INTEGER, .value = { .integer = 2, }, }, }, { /* * Special End of Log Entry - Simulator ONLY * Code always reads one SNMP OID past end of log. When * snmp_get returns a negative value, the code knows its read * the entire error log. This entry allows the simulator to * force the snmp_get to return a negative value */ .oid = ".1.3.6.1.4.1.2.3.51.1.3.4.2.1.1.3", .mib = { .type = ASN_INTEGER, .value = { .integer = SNMP_FORCE_ERROR, /* Force negative return */ }, }, }, { /* Event Log Message */ .oid = ".1.3.6.1.4.1.2.3.51.1.3.4.2.1.2.1", .mib = { .type = ASN_OCTET_STR, .value = { .string = "Severity:INFO Source:SERVPROC Name:WMN315702424 Date:10/11/03 Time:09:09:48 Text:Remote Login Successful. Login ID:'(SNMP Manager at IP@=192.168.64.5 authenticated).'", }, }, }, { /* Event Log Message */ .oid = ".1.3.6.1.4.1.2.3.51.1.3.4.2.1.2.2", .mib = { .type = ASN_OCTET_STR, .value = { .string = "Severity:INFO Source:SERVPROC Name:WMN315702424 Date:10/11/03 Time:09:09:48 Text:Remote Login Successful. Login ID:'(SNMP Manager at IP@=192.168.64.5 authenticated).'", }, }, }, { /* Clear Event Log */ .oid = ".1.3.6.1.4.1.2.3.51.1.3.4.3", .mib = { .type = ASN_INTEGER, .value = { .integer = 1, /* write-only */ }, }, }, { /* System Chassis Health */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.7.1.0", .mib = { .type = ASN_INTEGER, .value = { .integer = 1, /* unknown=0; good=1; warning=2; bad=3 */ }, }, }, { /* Ambient temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.5.1.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 28.00 Centigrade", }, }, }, { /* DASD area temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.4.1.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 28.00 Centigrade", }, }, }, { /* CPU 1 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.1.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 30.00 Centigrade", }, }, }, { /* CPU 1 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.1.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* CPU 1 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.1.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* CPU 2 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.2.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 30.00 Centigrade", }, }, }, { /* CPU 2 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.2.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* CPU 2 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.2.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* CPU 3 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.3.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 30.00 Centigrade", }, }, }, { /* CPU 3 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.3.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* CPU 3 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.3.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* CPU 4 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.4.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 30.00 Centigrade", }, }, }, { /* CPU 4 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.4.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* CPU 4 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.4.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* CPU 5 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.5.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 30.00 Centigrade", }, }, }, { /* CPU 5 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.5.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* CPU 5 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.5.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* CPU 6 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.6.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 30.00 Centigrade", }, }, }, { /* CPU 6 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.6.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* CPU 6 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.6.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* CPU 7 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.7.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 30.00 Centigrade", }, }, }, { /* CPU 7 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.7.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* CPU 7 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.7.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* CPU 8 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.8.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 30.00 Centigrade", }, }, }, { /* CPU 8 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.8.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* CPU 8 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.1.2.8.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* DASD 1 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.1", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* DASD 1 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.1", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* DASD 1 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.1", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* DASD 2 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.2", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* DASD 2 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.2", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* DASD 2 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.2", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* DASD 3 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.3", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* DASD 3 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.3", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* DASD 3 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.3", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* DASD 4 temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.4", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* DASD 4 Up Critical temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.4", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 95.00 Centigrade", }, }, }, { /* DASD 4 Up Major temperature */ .oid = ".1.3.6.1.4.1.2.3.51.1.6.1.1.3.4", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 85.00 Centigrade", }, }, }, { /* Fan 1 Speed */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.3.1.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 67% of maximum", }, }, }, { /* Fan 2 Speed */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.3.2.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 67% of maximum", }, }, }, { /* Fan 3 Speed */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.3.3.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 67% of maximum", }, }, }, { /* Fan 4 Speed */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.3.4.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 67% of maximum", }, }, }, { /* Fan 5 Speed */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.3.5.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 67% of maximum", }, }, }, { /* Fan 6 Speed */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.3.6.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 67% of maximum", }, }, }, { /* Fan 7 Speed */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.3.7.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 67% of maximum", }, }, }, { /* Fan 8 Speed */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.3.8.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = " 67% of maximum", }, }, }, /* Need to test 0 length, maximum, and max +1 strings here */ { /* Chassis Product Name VPD */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.21.2.1.1.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = "8687", }, }, }, { /* Chassis Model Number VPD */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.21.2.1.2.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = "1RX", }, }, }, { /* Chassis Serial Number VPD */ .oid = ".1.3.6.1.4.1.2.3.51.1.2.21.2.1.3.0", .mib = { .type = ASN_OCTET_STR, .value = { .string = "78R4432", }, }, }, {} /* Terminate array with a null element */ };
01fecdc6b317c61d14d3d4e0bc5860c3e48f5e19
20300c63cccd84bd8f27d72622bd076c49ae3ec6
/libft/ft_lst_merge.c
af5e0eb8e7c5925485422972c9c8fb49cfa3fdce
[]
no_license
tedfav/fillit
c3c303cc9e10a60750fe77bdf5e7eea9c8982cba
6e7f03b8145d83debc3fda670ddca516ceae6a4c
refs/heads/master
2021-03-27T14:55:45.338704
2018-07-27T10:42:03
2018-07-27T10:42:03
111,570,354
0
0
null
null
null
null
UTF-8
C
false
false
1,156
c
ft_lst_merge.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_lst_merge.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: ctrouill <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/11/11 15:58:16 by ctrouill #+# #+# */ /* Updated: 2017/11/11 15:59:23 by ctrouill ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" void ft_lst_merge(t_list **begin_list1, t_list *begin_list2) { t_list *list; if (*begin_list1) { list = *begin_list1; while (list->next) { list = list->next; } list->next = begin_list2; } else *begin_list1 = begin_list2; }
3a9fd2b1b745d7518bf35a88fd8735aa1468c2b7
4945710397c31db56f3c7d486f1740e8ec0cc6b8
/sort.c
b2d9895f67944d6bcd869ea7d2ea198107592618
[]
no_license
iVoidz/csc251
e96016dcc554c48816b7466e00aa41e2394f4099
8a2e1dc0946383a3ed451c8a6495793542cad89d
refs/heads/master
2020-12-23T09:13:07.923815
2020-05-12T00:55:22
2020-05-12T00:55:22
237,107,061
0
0
null
null
null
null
UTF-8
C
false
false
893
c
sort.c
/*Elijah Dunn * 3/7/2020 * csc-251 * lab 7 * */ #include<stdio.h> #include<stdlib.h> #include<time.h> #define SIZE 30 void sorter(int arr[SIZE]); void randomFill(int arr[SIZE]); void printer(int arr[SIZE]); int main(void) { int arr[SIZE] = {0}; printf("Array before\n"); printer(arr); randomFill(arr); printf("Array after insert\n"); printer(arr); sorter(arr); printf("Array after sort\n"); printer(arr); return EXIT_SUCCESS; } void printer(int arr[SIZE]) { int i; for(i = 0; i < SIZE; i++) { printf("a[%d] = %d\n",i,arr[i]); } } void randomFill(int arr[SIZE]) { int i; srand(time(NULL)); for(i = 0; i < SIZE; i++) { arr[i] = (rand()%(205-55+1))+55; } } void sorter(int arr[SIZE]) { int i,j; for(i = 0; i < SIZE; i++) { for(j = i; j < SIZE; j++) { if(arr[j] < arr[i]) { int temp = arr[i]; arr[i] = arr[j]; arr[j] = temp; } } } }
5de262f7b9dff544cefa6da59fbc9bacec7a5f13
976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f
/source/linux/drivers/usb/host/extr_xhci-rcar.c_xhci_rcar_wait_for_pll_active.c
ff64f3ad773955fd82e3ed32bfeb28c80c3595b4
[]
no_license
isabella232/AnghaBench
7ba90823cf8c0dd25a803d1688500eec91d1cf4e
9a5f60cdc907a0475090eef45e5be43392c25132
refs/heads/master
2023-04-20T09:05:33.024569
2021-05-07T18:36:26
2021-05-07T18:36:26
null
0
0
null
null
null
null
UTF-8
C
false
false
906
c
extr_xhci-rcar.c_xhci_rcar_wait_for_pll_active.c
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward declarations */ /* Type definitions */ typedef int u32 ; struct usb_hcd {scalar_t__ regs; } ; /* Variables and functions */ scalar_t__ RCAR_USB3_AXH_STA ; int RCAR_USB3_AXH_STA_PLL_ACTIVE_MASK ; int readl (scalar_t__) ; int /*<<< orphan*/ udelay (int) ; __attribute__((used)) static bool xhci_rcar_wait_for_pll_active(struct usb_hcd *hcd) { int timeout = 1000; u32 val, mask = RCAR_USB3_AXH_STA_PLL_ACTIVE_MASK; while (timeout > 0) { val = readl(hcd->regs + RCAR_USB3_AXH_STA); if ((val & mask) == mask) return true; udelay(1); timeout--; } return false; }
63ac45c7002019d7049912ef4ad175009f920ef1
5078df05f6750968cf46bf26988fd81d019f3599
/src/config.h
093e9dc70d79e621c454b0ce5a43ce9cab6320d3
[ "Apache-2.0" ]
permissive
quantumsheep/nanos
e4e42da462b92356e7031445ec9d738fb0ca0a76
365e11bb319bfaaafcc87e0d52ae3fb34ff77c32
refs/heads/master
2023-06-18T06:38:45.740028
2021-07-09T16:15:19
2021-07-11T17:29:55
384,490,465
1
0
Apache-2.0
2021-07-09T16:13:24
2021-07-09T16:13:24
null
UTF-8
C
false
false
2,316
h
config.h
/* identity-mapped space for initial page tables */ #define INITIAL_PAGES_SIZE (64 * KB) /* The stage2 working heap needs to be large enough to accomodate all tfs allocations when loading the kernel. It gets recycled on stage3 entry. */ #define STAGE2_WORKING_HEAP_SIZE (4 * MB) #define STAGE2_STACK_SIZE (128 * KB) /* stage2 stack is recycled, too */ #define KERNEL_STACK_SIZE (128 * KB) /* must match value in crt0.s */ #define EXCEPT_STACK_SIZE (64 * KB) #define INT_STACK_SIZE (32 * KB) #define BH_STACK_SIZE (32 * KB) #define SYSCALL_STACK_SIZE (32 * KB) #define PAGE_INVAL_QUEUE_LENGTH 4096 /* maximum buckets that can fit within a PAGESIZE_2M mcache */ #define TABLE_MAX_BUCKETS 131072 /* runloop timer minimum and maximum */ #define RUNLOOP_TIMER_MAX_PERIOD_US 100000 #define RUNLOOP_TIMER_MIN_PERIOD_US 1000 /* XXX just for initial mp bringup... */ #define MAX_CPUS 16 /* length of thread scheduling queue */ #define MAX_THREADS 8192 /* could probably find progammatically via cpuid... */ #define DEFAULT_CACHELINE_SIZE 64 /* TFS stuff */ #define TFS_LOG_INITIAL_SIZE SECTOR_SIZE #define TFS_LOG_DEFAULT_EXTENSION_SIZE (512*KB) #define TFS_LOG_FLUSH_DELAY_SECONDS 1 /* Minimum number of obsolete log entries needed to trigger a log compaction. */ #define TFS_LOG_COMPACT_OBSOLETE 8192 /* Log compaction is not triggered if the ratio between total entries and * obsolete entries is above the constant below. */ #define TFS_LOG_COMPACT_RATIO 2 /* Xen stuff */ #define XENNET_INIT_RX_BUFFERS_FACTOR 4 #define XENNET_RX_SERVICEQUEUE_DEPTH 512 #define XENNET_TX_SERVICEQUEUE_DEPTH 512 /* mm stuff */ #define PAGECACHE_DRAIN_CUTOFF (64 * MB) #define PAGECACHE_SCAN_PERIOD_SECONDS 5 /* don't go below this minimum amount of physical memory when inflating balloon */ #define BALLOON_MEMORY_MINIMUM (16 * MB) /* attempt to deflate balloon when physical memory is below this threshold */ #define BALLOON_DEFLATE_THRESHOLD (16 * MB) /* must be large enough for vendor code that use malloc/free interface */ #define MAX_MCACHE_ORDER 16 /* ftrace buffer size */ #define DEFAULT_TRACE_ARRAY_SIZE (512ULL << 20) /* on-disk log dump section */ #define KLOG_DUMP_SIZE (4 * KB) /* debug parameters */ #define FRAME_TRACE_DEPTH 32 #define STACK_TRACE_DEPTH 32
f27c993ffa445547d49ff5a9dc3ff2b3ad8cc055
09983c6483eb2a6234aa7765f0b64702e3fd1af5
/devC/zhizhen/zz4.c
be7a763c6b4809951041b62923805bd2ff959063
[]
no_license
sby5388/pat
bf6fb19178577040ff445d27b475345637deccfc
7b9583f6cef31636ee23f4904c7de6d6d196aabf
refs/heads/master
2022-03-19T20:12:56.354079
2019-12-09T06:42:22
2019-12-09T06:42:22
152,557,370
0
0
null
null
null
null
GB18030
C
false
false
1,424
c
zz4.c
#include<stdio.h> #include<string.h> void dushu(int n,int m); int main() { char a[101]; scanf("%s",&a); // printf("a==%s\n",a); int k=strlen(a); // printf("k==%d\n",k); int shuzu[10]; int sum2=0; int kk=0; int sum=0; for(int i=0;i<10;i++) { shuzu[i]=0; } for(int i=0;i<k;i++) { char t=a[i]; if(t=='0') shuzu[0]++; if(t=='1') shuzu[1]++; if(t=='2') shuzu[2]++; if(t=='3') shuzu[3]++; if(t=='4') shuzu[4]++; if(t=='5') shuzu[5]++; if(t=='6') shuzu[6]++; if(t=='7') shuzu[7]++; if(t=='8') shuzu[8]++; if(t=='9') shuzu[9]++; } for(int i=0;i<10;i++) { // printf("%d \n",shuzu[i]); sum=sum+i*shuzu[i]; } // printf("sum==%d\n",sum); if(sum<0) { printf("和是负数,这种情况肯定不会发生\n"); dushu(-1,kk); kk++; sum=-sum; } int yu=0; //取逆序数 while(sum>0) { yu=sum%10; sum2=sum2*10+yu; sum=sum/10; } //读取数字 do { yu=sum2%10; dushu(yu,kk); kk++; sum2=sum2/10; } while(sum2>0); return 0; } void dushu(int n,int m) { if(m>0) { printf(" "); } switch(n) { case 0:printf("ling");break; case 1:printf("yi");break; case 2:printf("er");break; case 3:printf("san");break; case 4:printf("si");break; case 5:printf("wu");break; case 6:printf("liu");break; case 7:printf("qi");break; case 8:printf("ba");break; case 9:printf("jiu");break; case -1:printf("fu");break; default :break; } }
2281d966ce3b86a4cbb4cb70fa893c7f0b4cfa35
138cbca484d96709595cac0853c943e4ec229dcc
/294-A/294-A-bug-10574686-10574699/294-A.c
ee2fee34c11eeb8c78341d629c7d85eba70fcb9d
[]
no_license
diogomfreitas/pySBFL
d5432ef720d362efc30342ca799df91e229e32bc
b346eff14dcbe4252a17ffc57b405b16f1716026
refs/heads/master
2021-10-16T10:58:50.898876
2019-02-10T21:18:24
2019-02-10T21:24:47
null
0
0
null
null
null
null
UTF-8
C
false
false
408
c
294-A.c
#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int s,a[10000],t,i,x,y; scanf("%d",&s); for(i=0;i<s;i++){ scanf("%d",&a[i]); } scanf("%d",&t); while(t--){ scanf("%d%d",&x,&y); --x; if(x!=0){ a[x-1]=a[x-1]+(y-1); } if(x!=s-1){ a[x+1]=a[x+1]+a[x]-y; a[x]=0; }} for(i=0;i<s;i++){ printf("%d\n",a[i]); } return 0; }
be4ed3ce00950a7c5cd0556069324135b4234935
1e7172c2dde30b5c6f7684402b21de25756f62bc
/code/card/card.c
d63245311fc0ef3b561cebfe90f27ecb39614c6a
[]
no_license
Arth0ria/Park
1bc54dd79183d624a5108a269713f28c28b10f5c
6c759c285b326d5066c55fca8ac5ea0c81b1bbdc
refs/heads/master
2022-01-04T22:56:24.223066
2018-09-09T04:33:18
2018-09-09T04:33:18
null
0
0
null
null
null
null
UTF-8
C
false
false
2,199
c
card.c
#include "head.h" #define PICTURE_IN "/root/project/park/in.bmp" #define PICTURE_OUT "/root/project/park/out.bmp" /* 处理入库动作,成功返回0,失败返回-1 参数:要插入的信息,比如卡号 */ int card_in(char *cardid,sqlite3 *car_owner_database) { if(cardid == NULL || car_owner_database == NULL) { return -1; } char insert_information[300]; memset(insert_information,0,sizeof(insert_information)); long int start_time; start_time = get_local_time(); char buffer[30]; bzero(buffer,30); sprintf(buffer,"%ld",start_time); sprintf(insert_information,"insert into owner_information_table values(\"%s\", \"%s\");",cardid, buffer); //打印调试信息 //printf("insert information:%s\n", insert_information); int ret=sqlite3_exec(car_owner_database,insert_information,NULL,NULL,NULL); if(ret!=SQLITE_OK) { printf("insert action failed\n"); return -1; } else { printf("the car(%s) is coming >------> the park\n", cardid); //显示车位状态 show_shapebmp(40,250,98,178,PICTURE_IN); return 0; } } /* 处理出库动作,成功返回0,失败返回-1 参数:要删除的信息,比如卡号 */ int card_out(char *cardid, sqlite3 *car_owner_database) { if(cardid == NULL || car_owner_database == NULL) { return -1; } char delete_information[300]; memset(delete_information,0,sizeof(delete_information)); //删除之前打印费用和时间 calculate_total_parking_time(cardid, car_owner_database); sprintf(delete_information,"delete from owner_information_table where card_id='%s';",cardid); //打印调试信息 //printf("delete information:%s\n", delete_information); //删除车主信息 int ret=sqlite3_exec(car_owner_database,delete_information,NULL,NULL,NULL); if(ret!=SQLITE_OK) { printf("delete action failed\n"); return -1; } else { printf("the car(%s) is leaving <------< the park\n", cardid); //显示车位状态 //show_shapebmp(40,250,98,178,PICTURE_OUT); show_fullbmp(PICTURE_PATH); return 0; } } //
fbfc91a9cd61f1335cd4f59d6858796967a15e5f
d6336ee79737e126d85263ac67716b862ed45857
/第3章/例题/例3-2.C
b2947f99a0877be679c5310c08157526d6902be2
[]
no_license
lihuawei321/test-1
a76376b2bed747a86bfed05a7f205032f24cf5a2
c9da0e9f7e6d099fb1c5d4df671aed1156e77172
refs/heads/master
2020-03-19T09:16:50.009113
2017-10-30T05:21:56
2017-10-30T05:21:56
null
0
0
null
null
null
null
GB18030
C
false
false
2,047
c
例3-2.C
#include "stdio.h" #define INITSIZE 100 /* 存储空间的初始分配量 */ typedef int ElemType;/* 在实际应用中,根据需要定义所需的数据类型 */ typedef struct { int top; /* 栈顶指针,也可以定义成地址指针的形式:ElemType *top */ ElemType *base; /* 存放元素的动态数组空间 */ int stacksize; /* 当前栈空间的大小 */ }sqstack; /* 初始化操作(创建一个空栈S) */ void initstack(sqstack *S) { S->base=(ElemType *)malloc(INITSIZE*sizeof(ElemType));/* 申请存储空间 */ S->top=0; /* 栈顶指针初始值为0 */ S->stacksize=INITSIZE; /* 容量为初始值 */ } /* 入栈操作(将值为x的数据元素插入到栈S中,使之成为栈顶元素) */ int push(sqstack *S,ElemType x) { if(S->top>=S->stacksize) /* 若栈满,则增加一个存储单元 */ { S->base=(ElemType *)realloc(S->base,(S->stacksize+1)*sizeof(ElemType)); if(!S->base) return 0; /* 空间分配不成功,返回0 */ S->stacksize++; } S->base[S->top++]=x; /* 插入元素后,栈顶指针上移 */ return 1; } /* 出栈操作(取出栈S的栈顶元素) */ int pop(sqstack *S,ElemType *e) { if(S->top==0) return 0; /* 栈空,返回0 */ *e=S->base[--S->top]; /* 先将指针减1,再返回栈顶元素值 */ return 1; /* 弹栈成功,返回1 */ } /* 判栈空操作(判断栈S是否为空) */ int emptystack(sqstack *S) { if(S->top==0) return 1; /* 栈空,返回1,否则返回0 */ else return 0; } /* 【例3.2】编写算法,用非递归方法计算n! */ long fac(int n) { long f=1; ElemType x; sqstack S; initstack(&S); /* 初始化空栈 */ while(n>0) { push(&S,n);n--;} /* n至1依次入栈 */ while(!emptystack(&S)) {pop(&S,&x);f*=x;} /* 1至n依次出栈并乘到初值为1的变量f上 */ return f; } main() { long f; int n; printf("input n:"); scanf("%d",&n); f=fac(n); /* 求阶乘 */ printf("%d!=%ld\n",n,f); } 
20ff49bd3261b11f63d9f0048b26a55dc8bf53d4
5b485fe243bfb7221600cc8ff85aaafd2621bebb
/chap8/myls.c
4e712f9dc4a2c257d06cf3b6abd92b25a45d0548
[]
no_license
bigbillfighter/Embedded-Experiments
edb731eadfcb598fc18fd96541cf4852738a8b71
ff6288c6084c3bba89d7fcb392699bdb7c7282ab
refs/heads/main
2023-04-04T23:55:01.939992
2021-04-10T07:37:12
2021-04-10T07:37:12
331,200,938
0
0
null
null
null
null
UTF-8
C
false
false
3,155
c
myls.c
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <unistd.h> #include <string.h> #include <time.h> #include <pwd.h> #include <grp.h> #include <dirent.h> #define N 128 int aflag = 0, lflag = 0; void displayfile(char *name, char *showname){ struct stat buf; struct tm *p; int i=8; if(lflag==0){ fprintf(stdout, "%s ", showname); return; } if(stat(name, &buf)==-1){ perror("stat"); exit(-1); } switch (buf.st_mode & S_IFMT){ case S_IFSOCK: fprintf(stdout, "s"); break; case S_IFLNK: fprintf(stdout, "l"); break; case S_IFREG: fprintf(stdout, "-"); break; case S_IFBLK: fprintf(stdout, "b"); break; case S_IFDIR: fprintf(stdout, "d"); break; case S_IFCHR: fprintf(stdout, "c"); break; case S_IFIFO: fprintf(stdout, "p"); break; default: fprintf(stdout, "?"); break; } while(i>=0){ if((buf.st_mode)>>i & 1){ switch (i%3){ case 2: printf("r"); break; case 1: printf("w"); break; default: printf("x"); break; } }else{ printf("-"); } i--; } printf(" "); // hard links printf("%d", buf.st_nlink); //uid gid printf(" %s %s ", getpwuid(buf.st_uid)->pw_name, getgrgid(buf.st_gid)->gr_name); printf("%ld ", buf.st_size); p = localtime(&buf.st_mtime); printf("%d-%d-%d %d:%d ", p->tm_year+1900, p->tm_mon+1, p->tm_mday, p->tm_hour, p->tm_min); printf("%s\n", showname); } void displaydir(const char *name){ DIR *dir; struct dirent *diritem; char str[N]; dir = opendir(name); while((diritem=readdir(dir)) != NULL){ if(strncmp(".", diritem->d_name, 1)==0 && aflag==0){ continue; } sprintf(str, "./%s", diritem->d_name); displayfile(str, diritem->d_name); } } int main(int argc, char * argv[]){ struct stat buf; int ch, i; if(argc < 2){ fprintf(stdout, "usage: %s filename\n", argv[0]); exit(-1); } while((ch = getopt(argc, argv, "al"))!=-1){ switch(ch){ case 'a': aflag = 1; break; case 'l': lflag = 1; break; default: fprintf(stdout, "wrong option %c\n", optopt); } } fprintf(stdout, "optind: %d\n", optind); for(i=optind; i<argc; i++){ if(stat(argv[i], &buf)==-1){ perror("stat"); exit(-1); } if(!S_ISDIR(buf.st_mode)) displayfile(argv[i], argv[i]); else displaydir(argv[i]); } if(lflag == 0) fprintf(stdout, "\n"); return 0; }
8ac90fbbfb4ae16c729d87a7942fefe7b1594766
4e69c843dcba4d4470f0dbed82dc173d6896bca2
/b82.c
098ba98c04f9a3a1c36307fb496065f7f0c0064d
[]
no_license
aswin1998/c-program
ab9c11ff6afd3695236f742b60bcb3eb9fe650e8
209c5ded91a220d973356af0da8adf4d43794606
refs/heads/master
2020-04-17T07:55:10.691212
2019-03-26T10:41:23
2019-03-26T10:41:23
166,390,189
0
0
null
null
null
null
UTF-8
C
false
false
110
c
b82.c
#include <stdio.h> int main() { float a,L,m; scanf("%f %f",&L,&m); a=L*m; printf("%.5f",a); return 0; }
5fb5bd3146e4cd517cd9647cb62ca1369da50df9
f026cb616ef14bae15a1d251ca6dbe0f55016d9c
/linux/5301.c
e544d8b0f3012f2e5e3bee931c522c4b84d7f16c
[]
no_license
jajajasalu2/cocci-lkmp-c-files
3eb7d451929dca5cb6beb56aabd69fe3f7fc176c
5da943aabe1589e393a131121dbf8e7a84b3cf2a
refs/heads/master
2020-12-02T17:30:14.411816
2020-01-29T08:36:30
2020-01-29T08:36:30
231,053,574
1
0
null
null
null
null
UTF-8
C
false
false
3,156
c
5301.c
cocci_test_suite() { unsigned char *cocci_id/* drivers/ata/libata-sff.c 783 */; struct page *cocci_id/* drivers/ata/libata-sff.c 782 */; struct scatterlist *cocci_id/* drivers/ata/libata-sff.c 781 */; struct ata_eh_info *cocci_id/* drivers/ata/libata-sff.c 780 */; struct ata_device *cocci_id/* drivers/ata/libata-sff.c 779 */; unsigned char cocci_id/* drivers/ata/libata-sff.c 617 */[4]; unsigned char cocci_id/* drivers/ata/libata-sff.c 557 */[2]; const struct ata_taskfile *cocci_id/* drivers/ata/libata-sff.c 499 */; struct ata_taskfile *cocci_id/* drivers/ata/libata-sff.c 460 */; int __init cocci_id/* drivers/ata/libata-sff.c 3266 */; struct scsi_host_template *cocci_id/* drivers/ata/libata-sff.c 3239 */; const struct ata_port_info *const*cocci_id/* drivers/ata/libata-sff.c 3238 */; struct ata_host **cocci_id/* drivers/ata/libata-sff.c 3207 */; unsigned long long cocci_id/* drivers/ata/libata-sff.c 3185 */; struct device *cocci_id/* drivers/ata/libata-sff.c 3144 */; const char *cocci_id/* drivers/ata/libata-sff.c 3121 */; struct pci_dev *cocci_id/* drivers/ata/libata-sff.c 3104 */; void __iomem *cocci_id/* drivers/ata/libata-sff.c 2932 */; void cocci_id/* drivers/ata/libata-sff.c 2852 */; struct workqueue_struct *cocci_id/* drivers/ata/libata-sff.c 28 */; struct ata_link *cocci_id/* drivers/ata/libata-sff.c 2730 */; enum ata_completion_errors cocci_id/* drivers/ata/libata-sff.c 2702 */; u32 cocci_id/* drivers/ata/libata-sff.c 2584 */; struct ata_bmdma_prd *cocci_id/* drivers/ata/libata-sff.c 2578 */; const struct ata_port_operations cocci_id/* drivers/ata/libata-sff.c 2556 */; const struct ata_port_info *cocci_id/* drivers/ata/libata-sff.c 2451 */; irq_handler_t cocci_id/* drivers/ata/libata-sff.c 2349 */; void __iomem *const*cocci_id/* drivers/ata/libata-sff.c 2237 */; ata_reset_fn_t cocci_id/* drivers/ata/libata-sff.c 2132 */; unsigned int *cocci_id/* drivers/ata/libata-sff.c 2060 */; const unsigned long *cocci_id/* drivers/ata/libata-sff.c 2034 */; struct ata_ioports *cocci_id/* drivers/ata/libata-sff.c 1942 */; struct ata_taskfile cocci_id/* drivers/ata/libata-sff.c 1816 */; u8 *cocci_id/* drivers/ata/libata-sff.c 1813 */; struct ata_eh_context *cocci_id/* drivers/ata/libata-sff.c 1723 */; struct ata_queued_cmd *cocci_id/* drivers/ata/libata-sff.c 1544 */; struct ata_port *cocci_id/* drivers/ata/libata-sff.c 1543 */; unsigned long cocci_id/* drivers/ata/libata-sff.c 1535 */; unsigned int cocci_id/* drivers/ata/libata-sff.c 1533 */; bool cocci_id/* drivers/ata/libata-sff.c 1532 */; struct ata_host *cocci_id/* drivers/ata/libata-sff.c 1531 */; unsigned int (*cocci_id/* drivers/ata/libata-sff.c 1529 */)(struct ata_port *, struct ata_queued_cmd *); irqreturn_t cocci_id/* drivers/ata/libata-sff.c 1528 */; void *cocci_id/* drivers/ata/libata-sff.c 1528 */; int cocci_id/* drivers/ata/libata-sff.c 1528 */; u8 cocci_id/* drivers/ata/libata-sff.c 1464 */; struct ata_port cocci_id/* drivers/ata/libata-sff.c 1275 */; struct work_struct *cocci_id/* drivers/ata/libata-sff.c 1272 */; struct delayed_work *cocci_id/* drivers/ata/libata-sff.c 1229 */; }
278cbda77e54467a9a034629ca6093e69bb258bc
51635684d03e47ebad12b8872ff469b83f36aa52
/external/gcc-12.1.0/gcc/testsuite/g++.dg/cpp2a/nontype-class5.C
67c57099f741032ba593008b5a4e712d4bad89cc
[ "LGPL-2.1-only", "GPL-3.0-only", "GCC-exception-3.1", "GPL-2.0-only", "LGPL-3.0-only", "LGPL-2.0-or-later", "FSFAP", "Zlib", "LicenseRef-scancode-public-domain" ]
permissive
zhmu/ananas
8fb48ddfe3582f85ff39184fc7a3c58725fe731a
30850c1639f03bccbfb2f2b03361792cc8fae52e
refs/heads/master
2022-06-25T10:44:46.256604
2022-06-12T17:04:40
2022-06-12T17:04:40
30,108,381
59
8
Zlib
2021-09-26T17:30:30
2015-01-31T09:44:33
C
UTF-8
C
false
false
277
c
nontype-class5.C
// Example from P0732 // { dg-do compile { target c++20 } } template<class T, T p> class X { /* ... */ }; struct A { constexpr A(const char*) {} // auto operator<=> (const A&) = default; }; X<A, "Pyrophoricity"> x3; // OK: string literal is a constructor argument to A
2db67ba86e0a9ec3e601805c426a81dfb21d1b3c
4534ca0233e8f8f0ee2dcd037f84e05a6e145741
/init.c
032f6ad936546a89711c0f97d00f2d1b84d03f79
[]
no_license
kienlee/tempsreel
69d8d9fba0723abe4965b6ad858579172c2a20f3
7fa398e345a99ed2b6d0e1c0a5aedff973021a24
refs/heads/master
2021-01-21T21:32:21.891658
2017-06-26T14:49:18
2017-06-26T14:49:18
94,858,559
0
0
null
null
null
null
UTF-8
C
false
false
1,778
c
init.c
#include "ccf2.h" /* void init_colors() { g_truck[0].color = "33"; g_truck[1].color = "31"; g_truck[2].color = "34"; g_truck[3].color = "35"; g_truck[4].color = "36"; g_truck[5].color = "32"; g_truck[6].color = "30"; }*/ void init_quai() { int x = -1; while(++x < 4) g_quai[x] = 0; } void init_dest() { g_dest[0]=malloc(sizeof(char)*5); strcpy(g_dest[0], "PARIS"); g_dest[1]=malloc(sizeof(char)*5); strcpy(g_dest[1], "NANCY"); g_dest[2]=malloc(sizeof(char)*5); strcpy(g_dest[2], "NIMES"); g_dest[3]=malloc(sizeof(char)*6); strcpy(g_dest[3], "BERLIN"); g_dest[4]=malloc(sizeof(char)*5); strcpy(g_dest[4], "GRECE"); } void init_meteo() { g_meteo[0]=malloc(sizeof(char)*5); strcpy(g_meteo[0], "NEIGE"); g_meteo[1]=malloc(sizeof(char)*6); strcpy(g_meteo[1], "SOLEIL"); g_meteo[2]=malloc(sizeof(char)*5); strcpy(g_meteo[2], "PLUIE"); } void init_resources() { init_dest(); init_quai(); init_meteo(); int i; i = -1; //init_colors(); while (++i < 50) { g_truck[i].state = 0; g_truck[i].number = i; g_truck[i].colis = 10 + rand() % 50; //pthread_create(&(g_truck[i].handler), NULL, set_brain, &g_truck[i]); } } // void print_states_history() // { // int i; // // fprintf(stdout, "\n\nResult : \n\n"); // i = 0; // while (i < 7) // { // g_truck[i].states[g_truck[i].st_i] = 0; // printf("\e[1;%smPhilosopher %d : [%s]\e[m\n", g_truck[i].color, i, g_truck[i].states); // ++i; // } // } // // void wait_for() // { // int i; // // i = 0; // while (i < 50) // { // pthread_join(g_truck[i].handler), NULL); // i = i + 1; // } // }
80e56d80341242d57c982b998f2644fc26d551d5
3763aa90c54a2bd1c58bfdcbe385b6a96691435b
/Sprites/testSprite.h
7fe096c8ed6b3a84ec3de6624b622ff3b284f755
[]
no_license
faintsun/GBA_DynamicBGs
2dcde9fd67c39956a673bdbeb2595bf06742ce9f
98e5afa9baa8b4f42cdad52e641c25a40cbc8d13
refs/heads/master
2020-05-04T01:41:17.977402
2019-06-22T02:23:40
2019-06-22T02:23:40
178,911,021
0
0
null
null
null
null
UTF-8
C
false
false
719
h
testSprite.h
//{{BLOCK(testSprite) //====================================================================== // // testSprite, 256x256@4, // + palette 256 entries, not compressed // + 1024 tiles not compressed // Total size: 512 + 32768 = 33280 // // Time-stamp: 2019-06-21, 15:31:23 // Exported by Cearn's GBA Image Transmogrifier, v0.8.3 // ( http://www.coranac.com/projects/#grit ) // //====================================================================== #ifndef GRIT_TESTSPRITE_H #define GRIT_TESTSPRITE_H #define testSpriteTilesLen 32768 extern const unsigned short testSpriteTiles[16384]; #define testSpritePalLen 512 extern const unsigned short testSpritePal[256]; #endif // GRIT_TESTSPRITE_H //}}BLOCK(testSprite)
4f96334f430ffe88f234925912bd4ab412450c58
736afa24e96f16ac05cc0642b2e08a2ddac8c584
/Main.c
432391373930f4818650051d4053279df4342e0a
[]
no_license
anant-1234/C-Shell
6376c0d48b4e8461849a1a098e3405e739055da9
d33cc3835757cc8eba96ed74fc41dc6e1561e0d8
refs/heads/master
2020-05-03T10:46:57.954942
2019-03-30T17:04:04
2019-03-30T17:04:04
178,587,322
0
0
null
null
null
null
UTF-8
C
false
false
581
c
Main.c
#include "headerfile.h" void sighandler(int signum) { if(chiild>0) { kill(chiild,signum); } chiild = 0; return ; } void sigshandler(int signum) { return ; } int main(int argc,char **argv[]) { int i; root = getenv("PWD"); while(1) { check_status(); prompt(); char cmd[ARGMAX]; signal(SIGINT,sighandler); signal(SIGTSTP,sigshandler); char *line = readLine(); char **commands = separate_commands(line); for(i=0;commands[i]!='\0' && commands[i][0]!='\n';i++) { char **args = separate_arguments(commands[i]); check_if_builtin(args); } } }
c7e6afb3b7bbf3f6e6b679a8118ea7f0d110d4ec
fd77f74edd1ee47799c0c7e5e6234590f99f529d
/Pods/Headers/Private/XFPlugin/XFPluginManager.h
8006625403d2c304a744aa3d87b5f1c854f5cfa4
[]
no_license
xxdzyyh/XFPush
0182bc7f4db2cf007f2e59463192ef89555aa5c2
d465ab3e21203fd232c128d2a47dda9e42fb2c8c
refs/heads/master
2021-01-13T07:19:38.740612
2019-09-19T01:54:34
2019-09-19T01:54:34
71,609,329
0
0
null
null
null
null
UTF-8
C
false
false
42
h
XFPluginManager.h
../../../XFPlugin/Plugin/XFPluginManager.h
be498b52d8fa774518f114a3471f5b4a98103223
222bfbd036283a6ac3f2ea39217afd741b27143e
/test.c
221135fe8960424660230e7c6debfbf958e0355a
[]
no_license
TaylorChengHao/malloc
36fb6b12597b69d7103ce2ebb94832d7595700e8
44898b8957884c0fe60ebb1b13068af2cc7137dd
refs/heads/main
2023-01-07T13:50:51.839232
2020-11-16T06:18:26
2020-11-16T06:18:26
313,206,936
0
0
null
null
null
null
UTF-8
C
false
false
641
c
test.c
/* * @Author: your name * @Date: 2020-11-16 11:19:26 * @LastEditTime: 2020-11-16 12:15:52 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \git_proj\malloc\test.c */ #include <stdio.h> #include "mm.h" int main() { mem_init(); //初始化模型 mm_init(); //初始化分配器 int *i = mm_malloc(sizeof(int)); *i = 10; char *c = mm_malloc(sizeof(char)); *c = 'c'; double *d = mm_malloc(sizeof(double)); *d = 10.0; printf("i:%d\n",*i); printf("c:%d\n",*c); printf("d:%d\n",*d); }
d69902bbcd4d297d23f94236e09957c8097fd4f2
e8eb93e37b20eb0b8ccbab681509495e3d3ae379
/test_clone_join.c
3276363462be059ab103918e159e729f4d6f5b10
[ "MIT" ]
permissive
laksnv/xv6-os
c66da5cc1febc5f41ac39c0f2d84c9e2930e053f
e3d978acdf6352ccc2e7ea5883c6a9a96b9c8a74
refs/heads/master
2021-05-26T13:53:49.778020
2014-05-04T22:39:12
2014-05-04T22:39:12
null
0
0
null
null
null
null
UTF-8
C
false
false
1,553
c
test_clone_join.c
#include "types.h" #include "user.h" #include "spinlock.h" int mypthread_create(void (*start_routine) (void *), void *arg) { int pid; void *stack = malloc(4096); pid = clone(start_routine, arg, stack); if(!pid) (*start_routine)(arg); free(stack); return pid; } int mypthread_join() { void **stack = malloc(4096); return join(stack); } /* void mypthread_yield() { sleep(); return ; } */ /* void clone_test() { int x = 5, *p = &x; p += 2; printf(1, "\nInside clone_test()"); //printf(2, "\nReturn address [from clone_test()]: %x\n", p); //printf(2, "\n%d\n", getpid()); exit(); } int main(void) { int num = 8, ret = 10; char *stack = malloc(4096); char *stack3 = malloc(4096); char *stack2 = malloc(4096); char **ptr_stack2 = &stack2; ret = clone(clone_test, (void *) num, (void *) stack); ret = clone(clone_test, (void *) num, (void *) stack3); printf(2, "\nWaiting for clone_test() to exit\nClone returned %d\n", ret); printf(2, "\nJoin returned %d\n", join((void **) ptr_stack2)); printf(2, "\nJoin returned %d\n", join((void **) ptr_stack2)); //listprocesses(); free(stack); exit(); } */ void WTF(void *p) // work time fun { printf(2, "Thread %d, in WTF\n", getpid()); printf(2, "Thread %d exiting\n", getpid()); exit(); } int main(void) { int a, b; printf(2, "Thread %d, in main\n", getpid()); a = mypthread_create(WTF, &a); mypthread_join(); b = mypthread_create(WTF, &b); mypthread_join(); printf(2, "Thread %d exiting\n", getpid()); exit(); }
e10d700f509fd6c93195a7441c8fbef604fe4af4
fbd6afa22568045d8806ecdda93144d1a6e44af2
/Src/Libs/Streaming/Enum.h
8b8ddf60f691ec34eefe890ac4b3a6c207cbdb66
[ "BSD-2-Clause" ]
permissive
bhuman/BHumanCodeRelease
5ccbcc60b968c12f29983992d603ab464a51051b
645031c46ff88efcf32129301d21e109857cde3d
refs/heads/master
2023-05-22T09:49:04.827692
2023-03-29T15:27:24
2023-03-29T15:27:24
15,512,849
212
151
null
2018-04-12T12:36:26
2013-12-29T18:24:40
C++
UTF-8
C
false
false
84,368
h
Enum.h
/** * @file Streaming/Enum.h * Defines a macro that declares an enum and provides a function to access the names of its elements. * Also defines a macro that allows to enumerate over all these elements. * * Enums have the following form: * ENUM(<enum-name>, * {, * <comma-separated-enum-list>, * }) * * Example: * ENUM(Fruit, * {, * apple, * banana, * strawberry, * }); * * @author Thomas Röfer * @author Alexis Tsogias * @author <a href="mailto:[email protected]">Jesse Richter-Klug</a> */ #pragma once #include "Streaming/AutoStreamable.h" /** * Concatenate the two parameters. */ #define _ENUM_JOIN(a, b) _ENUM_JOIN_I(a, b) #define _ENUM_JOIN_I(a, b) _ENUM_JOIN_II(a ## b) #define _ENUM_JOIN_II(res) res /** * Determine the number of entries in a tuple. */ #define _ENUM_TUPLE_SIZE(...) _ENUM_TUPLE_SIZE_I((__VA_ARGS__, _ENUM_TUPLE_SIZE_III)) #define _ENUM_TUPLE_SIZE_I(params) _ENUM_TUPLE_SIZE_II params #define _ENUM_TUPLE_SIZE_II( \ a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, \ a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, \ a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, \ a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, \ a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, \ a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, \ a121, a122, a123, a124, a125,...) a125 #define _ENUM_TUPLE_SIZE_III \ 125, 124, 123, 122, 121, \ 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, \ 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, \ 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, \ 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, \ 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, \ 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 #define _ENUM_REMOVELAST_1(a1) #define _ENUM_REMOVELAST_2(a1, a2) a1 #define _ENUM_REMOVELAST_3(a1, a2, a3) a1, a2 #define _ENUM_REMOVELAST_4(a1, a2, a3, a4) a1, a2, a3 #define _ENUM_REMOVELAST_5(a1, a2, a3, a4, a5) a1, a2, a3, a4 #define _ENUM_REMOVELAST_6(a1, a2, a3, a4, a5, a6) a1, a2, a3, a4, a5 #define _ENUM_REMOVELAST_7(a1, a2, a3, a4, a5, a6, a7) a1, a2, a3, a4, a5, a6 #define _ENUM_REMOVELAST_8(a1, a2, a3, a4, a5, a6, a7, a8) a1, a2, a3, a4, a5, a6, a7 #define _ENUM_REMOVELAST_9(a1, a2, a3, a4, a5, a6, a7, a8, a9) a1, a2, a3, a4, a5, a6, a7, a8 #define _ENUM_REMOVELAST_10(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) a1, a2, a3, a4, a5, a6, a7, a8, a9 #define _ENUM_REMOVELAST_11(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 #define _ENUM_REMOVELAST_12(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11 #define _ENUM_REMOVELAST_13(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12 #define _ENUM_REMOVELAST_14(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13 #define _ENUM_REMOVELAST_15(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14 #define _ENUM_REMOVELAST_16(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15 #define _ENUM_REMOVELAST_17(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16 #define _ENUM_REMOVELAST_18(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17 #define _ENUM_REMOVELAST_19(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18 #define _ENUM_REMOVELAST_20(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19 #define _ENUM_REMOVELAST_21(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20 #define _ENUM_REMOVELAST_22(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21 #define _ENUM_REMOVELAST_23(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22 #define _ENUM_REMOVELAST_24(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23 #define _ENUM_REMOVELAST_25(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24 #define _ENUM_REMOVELAST_26(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25 #define _ENUM_REMOVELAST_27(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26 #define _ENUM_REMOVELAST_28(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27 #define _ENUM_REMOVELAST_29(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28 #define _ENUM_REMOVELAST_30(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29 #define _ENUM_REMOVELAST_31(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30 #define _ENUM_REMOVELAST_32(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31 #define _ENUM_REMOVELAST_33(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32 #define _ENUM_REMOVELAST_34(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33 #define _ENUM_REMOVELAST_35(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34 #define _ENUM_REMOVELAST_36(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35 #define _ENUM_REMOVELAST_37(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36 #define _ENUM_REMOVELAST_38(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37 #define _ENUM_REMOVELAST_39(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38 #define _ENUM_REMOVELAST_40(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39 #define _ENUM_REMOVELAST_41(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40 #define _ENUM_REMOVELAST_42(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41 #define _ENUM_REMOVELAST_43(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42 #define _ENUM_REMOVELAST_44(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43 #define _ENUM_REMOVELAST_45(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44 #define _ENUM_REMOVELAST_46(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45 #define _ENUM_REMOVELAST_47(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46 #define _ENUM_REMOVELAST_48(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47 #define _ENUM_REMOVELAST_49(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48 #define _ENUM_REMOVELAST_50(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49 #define _ENUM_REMOVELAST_51(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50 #define _ENUM_REMOVELAST_52(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51 #define _ENUM_REMOVELAST_53(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52 #define _ENUM_REMOVELAST_54(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53 #define _ENUM_REMOVELAST_55(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54 #define _ENUM_REMOVELAST_56(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55 #define _ENUM_REMOVELAST_57(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56 #define _ENUM_REMOVELAST_58(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57 #define _ENUM_REMOVELAST_59(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58 #define _ENUM_REMOVELAST_60(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59 #define _ENUM_REMOVELAST_61(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60 #define _ENUM_REMOVELAST_62(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61 #define _ENUM_REMOVELAST_63(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62 #define _ENUM_REMOVELAST_64(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63 #define _ENUM_REMOVELAST_65(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64 #define _ENUM_REMOVELAST_66(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65 #define _ENUM_REMOVELAST_67(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66 #define _ENUM_REMOVELAST_68(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67 #define _ENUM_REMOVELAST_69(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68 #define _ENUM_REMOVELAST_70(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69 #define _ENUM_REMOVELAST_71(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70 #define _ENUM_REMOVELAST_72(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71 #define _ENUM_REMOVELAST_73(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72 #define _ENUM_REMOVELAST_74(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73 #define _ENUM_REMOVELAST_75(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74 #define _ENUM_REMOVELAST_76(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75 #define _ENUM_REMOVELAST_77(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76 #define _ENUM_REMOVELAST_78(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77 #define _ENUM_REMOVELAST_79(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78 #define _ENUM_REMOVELAST_80(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79 #define _ENUM_REMOVELAST_81(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80 #define _ENUM_REMOVELAST_82(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81 #define _ENUM_REMOVELAST_83(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82 #define _ENUM_REMOVELAST_84(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83 #define _ENUM_REMOVELAST_85(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84 #define _ENUM_REMOVELAST_86(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85 #define _ENUM_REMOVELAST_87(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86 #define _ENUM_REMOVELAST_88(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87 #define _ENUM_REMOVELAST_89(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88 #define _ENUM_REMOVELAST_90(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89 #define _ENUM_REMOVELAST_91(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90 #define _ENUM_REMOVELAST_92(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91 #define _ENUM_REMOVELAST_93(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92 #define _ENUM_REMOVELAST_94(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93 #define _ENUM_REMOVELAST_95(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94 #define _ENUM_REMOVELAST_96(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95 #define _ENUM_REMOVELAST_97(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96 #define _ENUM_REMOVELAST_98(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97 #define _ENUM_REMOVELAST_99(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98 #define _ENUM_REMOVELAST_100(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99 #define _ENUM_REMOVELAST_101(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100 #define _ENUM_REMOVELAST_102(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101 #define _ENUM_REMOVELAST_103(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102 #define _ENUM_REMOVELAST_104(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103 #define _ENUM_REMOVELAST_105(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104 #define _ENUM_REMOVELAST_106(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105 #define _ENUM_REMOVELAST_107(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106 #define _ENUM_REMOVELAST_108(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107 #define _ENUM_REMOVELAST_109(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108 #define _ENUM_REMOVELAST_110(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109 #define _ENUM_REMOVELAST_111(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110 #define _ENUM_REMOVELAST_112(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111 #define _ENUM_REMOVELAST_113(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112 #define _ENUM_REMOVELAST_114(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113 #define _ENUM_REMOVELAST_115(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114 #define _ENUM_REMOVELAST_116(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115 #define _ENUM_REMOVELAST_117(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116 #define _ENUM_REMOVELAST_118(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117 #define _ENUM_REMOVELAST_119(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118 #define _ENUM_REMOVELAST_120(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119 #define _ENUM_REMOVELAST_121(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120 #define _ENUM_REMOVELAST_122(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121, a122) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121 #define _ENUM_REMOVELAST_123(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121, a122, a123) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121, a122 #define _ENUM_REMOVELAST_124(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121, a122, a123, a124) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121, a122, a123 #define _ENUM_REMOVELAST_125(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121, a122, a123, a124, a125) a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100, a101, a102, a103, a104, a105, a106, a107, a108, a109, a110, a111, a112, a113, a114, a115, a116, a117, a118, a119, a120, a121, a122, a123, a124 /** * Registers a single enumeration constant. * @param constant The enumeration constant. */ #define _ENUM_REG(constant) REG_CONSTANT(constant); /** * Defining an enum and a function getName(<Enum>) that can return * the name of each enum element. The enum will automatically * contain an element numOf<Enum>s that reflects the number of * elements defined. * * WARNING: Assigning values to enum-elements is not allowed with these enums * since they are designed for streaming and the type registry expects them to * have no assignments. The only exception is the assignment of a previous * enum-element. * Example: * * ENUM(Fruit, * {, * strawberry, * blueberry, * numOfBerries, * apple = numOfBerries, * banana, * }); */ #define ENUM(Enum, bracket, ...) _ENUM(_ENUM_TUPLE_SIZE(__VA_ARGS__), Enum, __VA_ARGS__) #define _ENUM(n, Enum, ...) _ENUM_I(n, Enum, (_ENUM_REMOVELAST_, n), __VA_ARGS__) #define _ENUM_I(n, Enum, param , ...) _ENUM_II(n, Enum, (_ENUM_REG, __VA_ARGS__), _ENUM_JOIN param (__VA_ARGS__)) #define _ENUM_II(n, Enum, param, ...) \ enum Enum : unsigned char \ { \ __VA_ARGS__, \ numOf##Enum##s \ }; \ struct Enum##_Info \ { \ static constexpr Enum numOfElements = numOf##Enum##s; \ static void reg() \ { \ PUBLISH(reg); \ REG_ENUM(Enum); \ _STREAM_ATTR_##n param \ } \ } /** * FOREACH_ENUM(enum, var [ , limit ]) * @param enum The enum type. * @param var The variable which holds the current enum value inside the loop. * @param limit Exclusive upper bound of the loop. If not specified, all enum * constants are enumerated. */ #define FOREACH_ENUM(enum, ...) _FOREACH_ENUM_I(enum, _ENUM_TUPLE_SIZE(__VA_ARGS__), __VA_ARGS__) #define _FOREACH_ENUM_I(enum, n, ...) _FOREACH_ENUM_II((_FOREACH_ENUM_, n), enum, __VA_ARGS__) #define _FOREACH_ENUM_II(param, ...) _ENUM_JOIN param (__VA_ARGS__) #define _FOREACH_ENUM_1(enum, var) _FOREACH_ENUM_2(enum, var, enum##_Info::numOfElements) #define _FOREACH_ENUM_2(enum, var, limit) for(auto var = enum(0); var < limit; var = enum(unsigned(var) + 1))
1640d4445f19183ea34af1f39faf6758f4c2b4c8
c03b57a958fad8eb16b95e3b213b71ffa41187c3
/generators/Atmel/rules/Samples/LEDBlink_SAM4L/LEDBlink.c
5bf3113470dd51a364230adc7dd55a1c9ba7bf25
[]
no_license
whinis/BSPTools
ba55f30e63cbf83e607380b889dc7387ce229493
46aec39384dd0ad83141b6700ba008f9bcc67730
refs/heads/master
2022-12-15T18:30:39.578215
2020-09-23T02:49:02
2020-09-23T02:53:06
297,832,980
0
0
null
2020-09-23T02:45:31
2020-09-23T02:45:31
null
UTF-8
C
false
false
563
c
LEDBlink.c
#include "sam4l.h" #include "ioport.h" void Delay() { int i; for (i = 0; i < 1000000; i++) asm("nop"); } #define LED1 PIN_P$$com.sysprogs.examples.ledblink.LEDPORT$$$$com.sysprogs.examples.ledblink.LEDBIT$$ int main() { sysclk_init(); ioport_set_pin_dir(LED1, IOPORT_DIR_OUTPUT); ioport_set_pin_level(LED1, IOPORT_PIN_LEVEL_LOW); for (;;) { Delay(); ioport_set_pin_level(PIN_PA00, IOPORT_PIN_LEVEL_LOW); Delay(); ioport_set_pin_level(PIN_PA00, IOPORT_PIN_LEVEL_HIGH); } }
1832c8da4a16dd513ec2730ae1a2838cee513c2f
b113292be2b00169bb7c905321becb501ede2806
/V1/USER/src/CmdExecutor.c
85deb75cfd3cd246b3ee762c82338e03476f7ee0
[]
no_license
jimmygaoyang/vegetable
040006db63fe7036752ec4b29ab159beb5f753b0
606a931ca5b81cf520a6ef4b104d09e24827245d
refs/heads/master
2020-12-24T14:01:53.507972
2015-06-30T12:47:48
2015-06-30T12:47:48
41,551,708
0
0
null
null
null
null
GB18030
C
false
false
2,128
c
CmdExecutor.c
#include "CmdExecutor.h" #include "usart.h" #include "spi.h" #include "DelayFun.h" #include "LOGCTRL.h" //#define NO_POS_DEBUG #include "pos_debug.h" char CmdCheck(void){ char recChar = 0; int retry = 0; while(1) { if(usart3_read(&recChar, 1) == 1) { break; } else { if(retry++ > 10000) break; } } return recChar; } char Cmd1Executor(void) { unsigned char recChar = 0;//返回数据 unsigned char cmd = 0; //接收1个字节数据 int retry = 0; int tmp; do { tmp = 0; tmp = usart1_read(&cmd, 1); // delay_us(2); if(retry++ > 1000) return 0; }while(tmp < 1); // DBG_PRN(("接收数据 %02x",cmd)) //发送并获取返回 SetSpiDataLen(MODE_8_BITS_); SPI1Enable(); recChar = SPI1WriteReadByte(cmd); SPI1Disable(); // DBG_PRN(("rexChar = %02x",recChar)) // delay_us(2000); // recChar = 0; // SPI1Enable(); // recChar = SPI1WriteReadByte(cmd); // SPI1Disable(); // DBG_PRN(("rexChar = %02x",recChar)) //返回数据 usart1_send_byte(recChar); return 1; } int Cmd2Executor(void) { int recChar;//返回数据 char buf[3]; int cmd; //接收2个字节数据 int retry = 0; int len = 0; int tmp; do { tmp = 0; tmp = usart1_read(buf+len, 2-len); len+=tmp; // delay_us(2); }while(len < 2); // DBG_PRN(("接收数据 %02x",buf[0])) // DBG_PRN(("接收数据 %02x",buf[1])) cmd = buf[0]<<8+buf[1]; //发送并获取返回 SetSpiDataLen(MODE_16_BITS_); SPI1Enable(); recChar = SPI1WriteRead2Byte(cmd); SPI1Disable(); // delay_us(2000); // recChar = 0; // SPI1Enable(); // recChar = SPI1WriteRead2Byte(cmd); // SPI1Disable(); // DBG_PRN(("rexChar = %04x",recChar)) //返回数据 usart1_send_byte((recChar&0xFF00)>>8); usart1_send_byte((recChar&0x00FF)); return 1; } void ExecutorRun(void){ char recChar = 0; int tmp = 0; do { tmp = 0; tmp = usart1_read(&recChar, 1); // delay_us(2); }while(tmp < 1 ); // DBG_PRN(("接收到命令rexChar = %02x",recChar)) switch(recChar){ case 0x01: { Cmd1Executor(); break; } case 0x02: { Cmd2Executor(); break; } default: break; } return ; }
b574a57203ad311507ad3ef15fcd4e49157f3697
1bfd568698c1a460ded6d9d2e0a4f0230ddea5b3
/source/simulator/main.h
86e2b1a49791c435e0ffe0bdb06800f39fe03cd8
[]
no_license
skydave/thesis
65ba177af924cccfcb5957644faeae62be6cf361
9d5cb0387fedc0d192edaf3986787d72ed842342
refs/heads/master
2021-01-10T19:13:20.336794
2011-01-12T23:23:03
2011-01-12T23:23:03
1,248,383
1
1
null
null
null
null
ISO-8859-1
C
false
false
1,908
h
main.h
// set some flags //#define WRITE_AVI #define FLUID_3D ///@} /// \mainpage /// /// \section intro_sec Überblick /// /// /// \htmlonly Dies ist die Dokumentation der Implementierung welche das Diplom Bruchbildung in starr-plastischen Gemengen begleitet.\endhtmlonly /// \htmlonly Die Implementierung besteht aus:<br><br>\endhtmlonly /// \htmlonly simulator - Einem Fluidsimulator mit verschiedenen Derivaten<br>\endhtmlonly /// \htmlonly retile - Einem Algorithmus zum Retiling nachTurk'92<br>\endhtmlonly /// \htmlonly mesher - Einem Algorithmus zur Oberflächenkonstruktion aus einer Partikelwolke nach Zhou2005<br>\endhtmlonly /// \htmlonly cracksurface - Einem Algorithmus zur Berechnung von Oberflächenbrüchen in einem Dreiecksnetz nach IBEN2006<br>\endhtmlonly /// \htmlonly CrackVisualizer - Einem 3dsmax-textur-plugin zur Visualisierung von Brüchen<br>\endhtmlonly /// \htmlonly Viewer - Einem Program zum Betrachten der verschiedenen (Zwischen)Ergebnisse<br>\endhtmlonly /// \htmlonly <br><br>\endhtmlonly /// \htmlonly Diese Teile sind jeweils in eigene Projekte gegliedert und organisiert. Jedes Projekt hat seinen eigenen Quellkode in einem\endhtmlonly /// \htmlonly Gleichnamigen Unterverzeichnis im source-verzeichnis. Quellkode, der über Projektgrenzen hinweg genutzt wird befindet sich\endhtmlonly /// \htmlonly im Unterverzeichnis common. Dort finden sich beispielsweise die Mathematik-routinen und vieles mehr.\endhtmlonly /// \htmlonly <br><br>\endhtmlonly /// \htmlonly Während diese Dokumentation einen sehr guten Überblick über die Strukturen und Teile der Arbeit ermöglicht, empfehle ich auch\endhtmlonly /// \htmlonly den Blick in die Quellkodes, da diese auch in den Funktionsrümpfen extensiv kommentiert sind. Während der Arbeit wurde ein großes\endhtmlonly /// \htmlonly Augenmerk auf eine sorgfältige und hilfreiche Kommentierung gelegt.\endhtmlonly /// ///
5c1f346496f0ea1a5c3e80a69758a0b36a859620
08826fe245ed871c0237c3a64c5453cf0adccc0a
/src/data/sdata/aCamera.c
d0e6ae9a10d3229534de0e40f57cea1130578da8
[]
no_license
d3nwah/mgs_reversing
0bfa5382ffd3be449d5a95ace6dd8eb101691f4c
64928ff7eba26d5af0c5d4109c69f45aaa01a259
refs/heads/master
2022-08-27T03:11:58.724671
2022-08-01T21:33:43
2022-08-01T21:33:43
223,039,968
0
0
null
2022-08-01T22:54:56
2019-11-20T22:34:17
Assembly
UTF-8
C
false
false
73
c
aCamera.c
#include "linker.h" const char SECTION(".sdata") aCamera[] = "CAMERA";
55395eb72b9e9f78f01d94fdc4de98eea7b3d322
085d238ad8c986c3bd3032a96a8c936f12419b6f
/C/HomeWork/10AnotherNumberSystemDices/Task03/dices.c
35c9edefef5139e09d403be4c509d4842461e2da
[]
no_license
andrewtroyan/troyandz
26b7340828dc733e8d270b5650ee3aee734a5a98
6b0759d88628d16e92a81111fc1ad2ddff59f0d2
refs/heads/master
2021-01-17T16:05:42.335137
2015-05-21T08:58:28
2015-05-21T08:58:28
27,066,746
0
0
null
null
null
null
UTF-8
C
false
false
801
c
dices.c
int dicesScore() { return rand() % 6 + 1; } void dicesDraw(int a) { printf("+---+\n"); switch(a) { case 1: printf("| |\n| 0 |\n| |\n"); break; case 2: printf("|0 |\n| |\n| 0|\n"); break; case 3: printf("|0 |\n| 0 |\n| 0|\n"); break; case 4: printf("|0 0|\n| |\n|0 0|\n"); break; case 5: printf("|0 0|\n| 0 |\n|0 0|\n"); break; case 6: printf("|000|\n| |\n|000|\n"); break; } printf("+---+\n"); } int playDices() { int generalScore = 0, currentScore = 0; for(int i = 0; i < 2; ++i) { currentScore = dicesScore(); dicesDraw(currentScore); generalScore += currentScore; } return generalScore; }
05490b3ba8679ab463d5690713d0cd859a430ce8
ca576c07a501648316418504d0a2fa2c1f995cbe
/router/sr_router.c
ce209ea4309fcd8e3e8cab68d88563932412f24e
[]
no_license
BryanLX/test
dc37f10c8130a311fe51a3aa9027e976291a737e
9a4515c5d4c24014afc1e32ca49ab74b3b4253ed
refs/heads/master
2021-08-22T17:55:10.568231
2017-11-30T21:13:19
2017-11-30T21:13:19
112,045,702
0
0
null
null
null
null
UTF-8
C
false
false
15,079
c
sr_router.c
/********************************************************************** * file: sr_router.c * date: Mon Feb 18 12:50:42 PST 2002 * Contact: [email protected] * * Description: * * This file contains all the functions that interact directly * with the routing table, as well as the main entry method * for routing. * **********************************************************************/ #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include "sr_if.h" #include "sr_rt.h" #include "sr_router.h" #include "sr_protocol.h" #include "sr_arpcache.h" #include "sr_utils.h" #include "sr_nat.h" /*--------------------------------------------------------------------- * Method: sr_init(void) * Scope: Global * * Initialize the routing subsystem * *---------------------------------------------------------------------*/ void sr_init(struct sr_instance* sr) { /* REQUIRES */ assert(sr); /* Initialize cache and cache cleanup thread */ sr_arpcache_init(&(sr->cache)); pthread_attr_init(&(sr->attr)); pthread_attr_setdetachstate(&(sr->attr), PTHREAD_CREATE_JOINABLE); pthread_attr_setscope(&(sr->attr), PTHREAD_SCOPE_SYSTEM); pthread_attr_setscope(&(sr->attr), PTHREAD_SCOPE_SYSTEM); pthread_t thread; pthread_create(&thread, &(sr->attr), sr_arpcache_timeout, sr); /* Add initialization code here! */ if (sr->nat != NULL) { sr_nat_init(sr->nat); } } /* -- sr_init -- */ struct sr_rt * LPM(struct sr_instance *sr,uint32_t ip_dst){ printf("LPM pergormed for "); print_addr_ip_int(ip_dst); struct sr_rt * result = 0; struct sr_rt * cur = sr->routing_table; uint32_t max =0; while(cur){ uint32_t network_id = ntohl(ip_dst) & ntohl(cur->mask.s_addr); uint32_t cur_id = ntohl(cur->dest.s_addr) & ntohl(cur->mask.s_addr); if(network_id == cur_id){ if(ntohl(cur->mask.s_addr) > max){ printf("%u>%u \n",ntohl(cur->mask.s_addr),max); result = cur; max = ntohl(cur->mask.s_addr); } } cur = cur->next; } printf("And result is %s",result->interface); return result; } void handle_packet(struct sr_instance *sr,uint8_t *packet,unsigned int len,struct sr_if *interface,uint32_t ip){ struct sr_arpentry * result = sr_arpcache_lookup(&sr->cache,ip); if (result){ sr_ethernet_hdr_t * e_header = (sr_ethernet_hdr_t *) packet; memcpy(e_header->ether_dhost, result->mac, ETHER_ADDR_LEN); memcpy(e_header->ether_shost, interface->addr, ETHER_ADDR_LEN); printf("Sending icmp3 \n"); int re = sr_send_packet(sr, packet,len, interface->name); if (re != 0){ printf("Something wrong when sending packet \n"); } free(result); }else{ struct sr_arpreq * req=sr_arpcache_queuereq(&sr->cache,ip,packet,len,interface->name); handle_arpreq(sr,req); } } void send_icmp(struct sr_instance* sr, int type, int code , uint8_t* packet, unsigned int len){ printf("Sending ICMP\n"); /* Get nessary informations*/ sr_ethernet_hdr_t * e_hdr = (sr_ethernet_hdr_t *) packet; sr_ip_hdr_t * ip_hdr = (sr_ip_hdr_t *) (packet + sizeof(struct sr_ethernet_hdr)); sr_icmp_hdr_t *icmp_hdr = (sr_icmp_hdr_t *) (packet + sizeof(sr_ethernet_hdr_t) + sizeof(sr_ip_hdr_t)); struct sr_rt *match = NULL; match = LPM(sr,ip_hdr->ip_src); memset(e_hdr->ether_shost, 0, ETHER_ADDR_LEN); memset(e_hdr->ether_dhost, 0, ETHER_ADDR_LEN); printf("Interface is :%s",match->interface); if(!match){ return; } struct sr_if *out = sr_get_interface(sr, match->interface); e_hdr->ether_type = htons(ethertype_ip); /*Setting ip header*/ uint32_t temp = ip_hdr->ip_dst; ip_hdr->ip_dst = ip_hdr->ip_src; ip_hdr->ip_src = temp; /*Setting ICMP*/ icmp_hdr->icmp_type = type; icmp_hdr->icmp_code = code; icmp_hdr->icmp_sum = 0; icmp_hdr->icmp_sum = cksum(icmp_hdr, ntohs(ip_hdr->ip_len) - (ip_hdr->ip_hl * 4)); ip_hdr->ip_sum = 0; ip_hdr->ip_sum = cksum(ip_hdr, sizeof(sr_ip_hdr_t)); /*send the packet*/ handle_packet(sr,packet,len,out,match->gw.s_addr); } void send_icmp_3(struct sr_instance* sr, int type, int code , uint8_t* packet, unsigned int len){ printf("Sending ICMP_3\n"); /* Get nessary informations*/ sr_ip_hdr_t * ip_old = (sr_ip_hdr_t *) (packet + sizeof(struct sr_ethernet_hdr)); /* Allocate new*/ uint8_t *icmp = malloc(sizeof(sr_ethernet_hdr_t) + sizeof(sr_ip_hdr_t) + sizeof(sr_icmp_t3_hdr_t)); sr_ethernet_hdr_t * e_hdr = (sr_ethernet_hdr_t *) icmp; sr_ip_hdr_t * ip_hdr = (sr_ip_hdr_t *) (icmp + sizeof(struct sr_ethernet_hdr)); sr_icmp_t3_hdr_t *icmp_hdr = (sr_icmp_t3_hdr_t *) (icmp + sizeof(sr_ethernet_hdr_t) + sizeof(sr_ip_hdr_t)); struct sr_rt *match = LPM(sr,ip_old->ip_src); if(!match){ return; } struct sr_if *out = sr_get_interface(sr, match->interface); /*Setting ethernet header*/ memset(e_hdr->ether_shost, 0, ETHER_ADDR_LEN); memset(e_hdr->ether_dhost, 0, ETHER_ADDR_LEN); e_hdr->ether_type = htons(ethertype_ip); /*Setting ip header*/ uint32_t temp = ip_hdr->ip_dst; ip_hdr->ip_dst = ip_hdr->ip_src; ip_hdr->ip_src = temp; ip_hdr->ip_v = ip_old->ip_v; ip_hdr->ip_hl = ip_old->ip_hl; ip_hdr->ip_tos = 0; ip_hdr->ip_len = htons(sizeof(sr_ip_hdr_t) + sizeof(sr_icmp_t3_hdr_t)); ip_hdr->ip_id = htons(0); ip_hdr->ip_off = ip_old->ip_off; ip_hdr->ip_ttl = 64; ip_hdr->ip_p = ip_protocol_icmp; ip_hdr->ip_dst = ip_old->ip_src; if(code == 3){ ip_hdr->ip_src = ip_old->ip_dst; }else{ ip_hdr->ip_src = out->ip; } ip_hdr ->ip_sum = 0; ip_hdr ->ip_sum = cksum(ip_hdr, sizeof(sr_ip_hdr_t)); /*Setting ICMP*/ icmp_hdr->icmp_type = type; icmp_hdr->icmp_code = code; icmp_hdr->icmp_sum = 0; icmp_hdr->unused = 0; icmp_hdr->next_mtu = 0; memcpy(icmp_hdr->data, ip_old, ICMP_DATA_SIZE); icmp_hdr->icmp_sum = cksum(icmp_hdr, sizeof(sr_icmp_t3_hdr_t)); /*send the packet*/ handle_packet(sr,icmp,sizeof(sr_ethernet_hdr_t) + sizeof(sr_ip_hdr_t) + sizeof(sr_icmp_t3_hdr_t),out,match->gw.s_addr); free(icmp); } void send_arp(struct sr_instance *sr, struct sr_arpreq * req){ uint8_t* arp = (uint8_t*) malloc(sizeof(sr_ethernet_hdr_t) + sizeof(sr_arp_hdr_t)); printf("Sending arp broadcast, start processing..... \n"); sr_arp_hdr_t *arp_header = (sr_arp_hdr_t*) (arp+ sizeof(struct sr_ethernet_hdr)); sr_ethernet_hdr_t *eth_header = (sr_ethernet_hdr_t*) arp; struct sr_if* iface = sr_get_interface(sr, req->packets->iface); /* setting eth_header*/ memset(eth_header->ether_dhost, 255, ETHER_ADDR_LEN); memcpy(eth_header->ether_shost, iface->addr, ETHER_ADDR_LEN); eth_header->ether_type = htons(ethertype_arp); /* setting arp_header*/ arp_header-> ar_hrd = htons(arp_hrd_ethernet); arp_header-> ar_pro = htons(ethertype_ip); arp_header-> ar_hln = ETHER_ADDR_LEN; arp_header-> ar_pln = 4; arp_header-> ar_op = htons(arp_op_request); memcpy(arp_header-> ar_sha, iface->addr, ETHER_ADDR_LEN); arp_header-> ar_sip = iface->ip; memset(arp_header-> ar_tha, 255,ETHER_ADDR_LEN); arp_header-> ar_tip = req->ip; int size = sizeof(sr_ethernet_hdr_t) + sizeof(sr_arp_hdr_t); int result = sr_send_packet(sr, arp, size,iface->name ); if (result != 0){ printf("Something wrong when sending packet \n"); } free(arp); } struct sr_if * get_iface(struct sr_instance *sr, uint32_t ip){ struct sr_if * temp = sr->if_list; while (temp ) { if (temp->ip == ip){ return temp; } temp = temp->next; } return NULL; } struct sr_if *get_ifaceaddr(struct sr_instance *sr, unsigned char *addr) { struct sr_if *cur = 0; cur = sr->if_list; while (cur) { if (memcmp(cur->addr, addr, ETHER_ADDR_LEN) == 0) { return cur; } cur = cur->next; } return 0; } void sr_handlearp(struct sr_instance* sr,uint8_t * packet,unsigned int len,char* interface) { sr_ethernet_hdr_t * ethernet_header = (sr_ethernet_hdr_t *)packet; sr_arp_hdr_t* a_header = (sr_arp_hdr_t *) (sizeof(sr_ethernet_hdr_t)+packet); unsigned short op = a_header->ar_op; if (ntohs(a_header->ar_hrd) != arp_hrd_ethernet) { return; } /* check */ if (ntohs(a_header->ar_pro) != ethertype_ip) { return; } struct sr_if * the_one=get_iface(sr, a_header->ar_tip); if(!the_one){ return; } if(arp_op_request == ntohs(op) ){ /* handle arp request*/ printf("Received arp request, start processing..... \n"); uint8_t *arp_reply = (uint8_t *)malloc(len); struct sr_if *sr_interface = sr_get_interface(sr, interface); sr_arp_hdr_t *arp_header = (sr_arp_hdr_t*) (arp_reply + sizeof(struct sr_ethernet_hdr)); sr_ethernet_hdr_t *eth_header = (sr_ethernet_hdr_t*) arp_reply; memcpy(arp_reply,packet,len); /* setting eth_header*/ memcpy(eth_header->ether_dhost, ethernet_header->ether_shost, ETHER_ADDR_LEN); memcpy(eth_header->ether_shost, sr_interface->addr, ETHER_ADDR_LEN); eth_header->ether_type = htons(ethertype_arp); /* setting arp_header*/ arp_header-> ar_op = htons(arp_op_reply); memcpy(arp_header-> ar_sha, sr_interface->addr, ETHER_ADDR_LEN); arp_header-> ar_sip = sr_interface->ip; memcpy(arp_header-> ar_tha, a_header->ar_sha,ETHER_ADDR_LEN); arp_header-> ar_tip = a_header->ar_sip; printf("Sending replay: \n"); handle_packet(sr,arp_reply,len,sr_interface,a_header->ar_sip); free(arp_reply); }else if (arp_op_reply == ntohs(op) ){ /* handle arp reply*/ printf("Received arp reply, start processing..... \n"); struct sr_arpreq *request = sr_arpcache_insert(&sr->cache,a_header->ar_sha, a_header->ar_sip); if(request){ struct sr_packet *p_node = request->packets; /* forwarding all packet are waiting */ while(p_node){ struct sr_if *inface = sr_get_interface(sr, p_node->iface); if(inface){ ethernet_header= (sr_ethernet_hdr_t *)p_node->buf; memcpy(ethernet_header->ether_dhost, a_header->ar_sha, ETHER_ADDR_LEN); memcpy(ethernet_header->ether_shost, inface->addr, ETHER_ADDR_LEN); int result = sr_send_packet(sr, p_node->buf, p_node->len, p_node->iface); if (result !=0){ printf("Waiting packet sending failed \n"); } } p_node = p_node->next; } sr_arpreq_destroy(&sr->cache, request); } }else{ printf("Unkown arp opcode \n"); } } void sr_handleip(struct sr_instance* sr, uint8_t * packet/* lent */, unsigned int len, char* interface/* lent */) { /* Get necessary informaiton*/ struct sr_if *iface = sr_get_interface(sr, interface); /*sr_ethernet_hdr_t *e_header = (sr_ethernet_hdr_t*) packet;*/ sr_ip_hdr_t *ip_header = (sr_ip_hdr_t *) (packet + sizeof(sr_ethernet_hdr_t)); struct sr_if * the_one=get_iface(sr, ip_header->ip_dst); /*struct sr_if *sr_interface = sr_get_interface(sr, interface);*/ /* Check if it is send to me*/ if (ip_header->ip_ttl <= 1 ){ if(ip_header->ip_ttl == 1 && the_one){ }else{ printf("Received ip with TTL less or equal to to 1, packet been dropped \n"); send_icmp_3(sr, 11, 0, packet,len); return; } } printf("ip_dis:%d \n ,ifaceip: %d \n",ip_header->ip_dst,iface->ip); if (the_one){ printf("Received ip for me, start processing..... \n"); if (ip_header->ip_p == ip_protocol_icmp){ sr_icmp_hdr_t* icmp_header = (sr_icmp_hdr_t* )(packet + sizeof(sr_ethernet_hdr_t) + sizeof(sr_ip_hdr_t)); print_hdr_icmp(icmp_header); /* if (sr->nat_enable ==1){ printf("111111111111"); handle_nat(sr,packet,len,interface); return; }*/ if(icmp_header->icmp_type == 8){ printf("Received icmp echo , start processing..... \n"); send_icmp(sr, 0, 0, packet,len); return; } } else if(ip_header->ip_p==6||ip_header->ip_p==17){ printf("Sending port unreachable\n"); send_icmp_3(sr, 3, 3, packet,len); return; }else{ printf("Do nothing\n"); } }else{ printf("Received ip not for me, start processing..... \n"); /*check rtable, perform longest prefix match*/ /* if (sr->nat_enable ==1 ){ handle_nat(sr,packet,len,interface); return; } */ ip_header->ip_ttl--; if(ip_header->ip_ttl <1){ send_icmp_3(sr,11, 0, packet,len); return; } ip_header->ip_sum = 0; ip_header->ip_sum = cksum(ip_header, sizeof(struct sr_ip_hdr)); struct sr_rt* result = LPM(sr,ip_header->ip_dst); if(result){ printf("LPM found %s\n",sr_get_interface(sr, result->interface)->name); handle_packet(sr,packet,len,sr_get_interface(sr, result->interface),result->gw.s_addr); }else{ printf("LPM not found \n"); send_icmp_3(sr, 3, 0, packet,len); } } } /*--------------------------------------------------------------------- * Method: sr_handlepacket(uint8_t* p,char* interface) * Scope: Global * * This method is called each time the router receives a packet on the * interface. The packet buffer, the packet length and the receiving * interface are passed in as parameters. The packet is complete with * ethernet headers. * * Note: Both the packet buffer and the character's memory are handled * by sr_vns_comm.c that means do NOT delete either. Make a copy of the * packet instead if you intend to keep it around beyond the scope of * the method call. * *---------------------------------------------------------------------*/ void sr_handlepacket(struct sr_instance* sr, uint8_t * packet/* lent */, unsigned int len, char* interface/* lent */) { /* REQUIRES */ assert(sr); assert(packet); assert(interface); printf("*** -> Received packet of length %d \n",len); /* fill in code here */ print_hdrs(packet,len); if (len < sizeof(sr_ethernet_hdr_t)){ return; } /*First decide which type it is*/ uint16_t type = ethertype(packet); printf("Type is : %d\n", type); if (type == ethertype_arp){ printf("ARP handleing.......\n"); sr_handlearp(sr,packet,len,interface); }else if (type == ethertype_ip){ printf("IP handleing.......\n"); sr_handleip(sr,packet,len,interface); }else{ printf("Type is unkown."); } }/* end sr_ForwardPacket */
4b19b2807341093ce68524de78dac21a98f84c96
b72830060331b594191dec76bed1ee12836db02e
/WSWinhoPubLib/WinhoCAAPubLib/ImportedInterfaces/win_b64/DefineCst.h
0f4acd67fa1fbf72d9ca6908af329d273dc985eb
[]
no_license
Locke-Shi/CAAV5
287ed8349774ebd14c891534474e17acaf77cfe5
58001200081c58521ca05082a37b714e2c16c369
refs/heads/master
2023-03-05T07:14:53.849566
2021-02-20T02:45:57
2021-02-20T02:45:57
318,120,847
2
2
null
null
null
null
UTF-8
C
false
false
96
h
DefineCst.h
#include "C:\WinhoMBE\DassaultSystemes\V5R21\B21\.\Visualization\PublicInterfaces\DefineCst.h"
312b6cfde3954c15c14ee42bb0cc81f072b673c3
255d3b11e53abf731b54aa8bf1d2c84051166c48
/server/argument_gestion.c
635c6ce3ae56ed87a3d66344618ac0ef783cc195
[]
no_license
hadrienm/NWP_myteams_2019
ff2fa0c0c51b22f37bafb8512c906c37e3997c23
de1b9aa1af76f05863d5c8b2a5629354ad92f966
refs/heads/master
2022-09-19T22:59:39.533957
2020-06-01T14:31:29
2020-06-01T14:31:29
267,320,782
0
0
null
null
null
null
UTF-8
C
false
false
537
c
argument_gestion.c
/* ** EPITECH PROJECT, 2020 ** NWP_myteams_2019 ** File description: ** argument_gestion */ #include "server.h" static void print_help(void) { printf("USAGE: ./myteams_server port\n\n\tport is \ the port number on which the server socket listens.\n"); } int handle_args(server_data *server, char **av, int ac) { int port = 0; if (ac != 2 || strcmp("-help", av[1]) == 0) { print_help(); return 84; } port = atoi(av[1]); if (port <= 0) return 84; server->port = port; return 0; }
b32824a8cb08df1dc73807234080654df5553356
976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f
/source/freebsd/sys/geom/raid/extr_md_nvidia.c_g_raid_md_nvidia_supported.c
149844c88e97c0b77412e30dd0253afe26b3a2f8
[]
no_license
isabella232/AnghaBench
7ba90823cf8c0dd25a803d1688500eec91d1cf4e
9a5f60cdc907a0475090eef45e5be43392c25132
refs/heads/master
2023-04-20T09:05:33.024569
2021-05-07T18:36:26
2021-05-07T18:36:26
null
0
0
null
null
null
null
UTF-8
C
false
false
1,666
c
extr_md_nvidia.c_g_raid_md_nvidia_supported.c
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward declarations */ /* Type definitions */ /* Variables and functions */ int G_RAID_VOLUME_RLQ_NONE ; int G_RAID_VOLUME_RLQ_R5LA ; int G_RAID_VOLUME_RLQ_R5LS ; #define G_RAID_VOLUME_RL_CONCAT 133 #define G_RAID_VOLUME_RL_RAID0 132 #define G_RAID_VOLUME_RL_RAID1 131 #define G_RAID_VOLUME_RL_RAID1E 130 #define G_RAID_VOLUME_RL_RAID5 129 #define G_RAID_VOLUME_RL_SINGLE 128 __attribute__((used)) static int g_raid_md_nvidia_supported(int level, int qual, int disks, int force) { switch (level) { case G_RAID_VOLUME_RL_RAID0: if (disks < 1) return (0); if (!force && (disks < 2 || disks > 6)) return (0); break; case G_RAID_VOLUME_RL_RAID1: if (disks < 1) return (0); if (!force && (disks != 2)) return (0); break; case G_RAID_VOLUME_RL_RAID1E: if (disks < 2) return (0); if (disks % 2 != 0) return (0); if (!force && (disks < 4)) return (0); break; case G_RAID_VOLUME_RL_SINGLE: if (disks != 1) return (0); break; case G_RAID_VOLUME_RL_CONCAT: if (disks < 2) return (0); break; case G_RAID_VOLUME_RL_RAID5: if (disks < 3) return (0); if (qual != G_RAID_VOLUME_RLQ_R5LA && qual != G_RAID_VOLUME_RLQ_R5LS) return (0); break; default: return (0); } if (level != G_RAID_VOLUME_RL_RAID5 && qual != G_RAID_VOLUME_RLQ_NONE) return (0); return (1); }
832300141d74dbeaccee0be654d5b022d93341f8
2a7375afefcb767c8e09ae69964b5f3ece54c1f2
/9.1.c
c948a4bcc138643836a9e635a82d5c697be63a71
[]
no_license
albertogiunta/C-Programming-Exercises
350bccdd362db19b976bb7190409b1fbbdbbe636
0defdadda804370b3f66579a3bdcd96b72431b8e
refs/heads/master
2020-06-06T19:05:58.052411
2014-11-08T16:47:23
2014-11-08T16:47:23
null
0
0
null
null
null
null
UTF-8
C
false
false
1,547
c
9.1.c
// // Esecizio1.c // // Creato da Alberto Giunta il 30/11/13. // Maticola: 0000691428 /*Implementare tramite una funzione ricorsiva che risolva il problema delle torri di Hanoi.*/ #include <stdio.h> #include <stdlib.h> #include <math.h> /*prototipi funzioni*/ void hanoi (int n, int a, int b, int c); void muovi (int n, int a, int b); /*main*/ int main () { int n; do { printf("Con quanti dischi si vuole giocare? »"); }while (scanf("%d", &n) != 1 && n <= 0); /*inserimento numero di dischi*/ printf("Saranno necessarie %.0f mosse.\n\n",(pow(2, n) - 1)); /*calcolo il numero di mosse minimo*/ hanoi(n, 1, 2, 3); printf("\n\n      F I N E      "); printf("\n\n"); return 0; } /*funzione hanoi, ricorsiva, quando si richiama si occupa anche di passare le variabili nell'ordine relativo alla mossa necessaria*/ void hanoi (int n, int a, int b, int c) { if (n == 1) { /*passo base*/ muovi(n, a, c); /*stampo l'operazione*/ } else { hanoi(n - 1, a, c, b); /*sposto n-1 dischi dal primo piolo al secondo*/ muovi(n, a, c); /*stampo l'operazione*/ hanoi(n - 1, b, a, c); /*ripeto lo spostamento di nuovo per n-1 dal secondo al terzo piolo*/ } } /*funzione muovi, stampa il numero della mossa e la mossa fatta*/ void muovi (int n, int a, int c) { static int conta = 0; /*static così posso usarla come contatore locale alla funzione senza che si riazzeri ogni volta*/ conta++; /*incremento la mossa*/ printf("%d » Muovo dal palo %d al palo %d\n",conta, a, c); /*stampo il tipo di mossa*/ }
0aaa6a4c985cd7aa06543b59c340c1d8db4c0225
18e9db71a0e207dbc7654135123bceaa7b3339e4
/oula-learn/oula28lianxi.c
3e557c87f6072b54d818e22e63d56834d36c3dcc
[]
no_license
TheIslland/learning-in-collegelife
358490cc74914b87d4d626a6485c2fe1ff06462f
1794e18addfd05e32cf8108895ac1585586394e1
refs/heads/master
2021-07-08T00:51:00.908370
2020-07-11T01:04:35
2020-07-11T01:04:35
144,252,958
2
0
null
null
null
null
UTF-8
C
false
false
434
c
oula28lianxi.c
/************************************************************************* > File Name: oula28lianxi.c > Author: > Mail: > Created Time: 2018年07月23日 星期一 17时37分29秒 ************************************************************************/ #include<stdio.h> int main() { int sum = 1; for(int i = 3; i <= 1001; i += 2) { sum += 4 * i * i - 6 * i+ 6; } printf("%d\n",sum); return 0; }
57118d4f930e330b5c53d763cb16c49b8b3377e7
983f1c6dc4d31d702ba6105d473549ae23dc8c0e
/C08/ex02/ft_abs.h
b57db58a0f241fb7d7c74ccb14c2da9fe8a0df58
[]
no_license
stasink/Piscine
a6c6b4a011a19e10c672f8c0c9a13990e74829fa
5e9f971f71b2051423bacfec4baeee4431d4e165
refs/heads/master
2022-12-06T17:42:54.519002
2020-08-15T21:46:03
2020-08-15T21:46:03
287,110,240
0
0
null
2020-08-12T20:34:20
2020-08-12T20:34:19
null
UTF-8
C
false
false
989
h
ft_abs.h
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_abs.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: gicho <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/31 15:20:18 by gicho #+# #+# */ /* Updated: 2020/02/02 15:53:30 by gicho ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FT_ABS_H # define FT_ABS_H # define ABS(Value) ((Value < 0) ? (-Value) : (Value)) #endif
c909be99b62562251320201e8628d480fe492f81
04c8d8da9cebc13513c1b9c7658707ecadfa0ed3
/Roll a Ball/Temp/il2cppOutput/il2cppOutput/Parse_Unity_Parse_Internal_FlexibleDictionaryWrapper_2_gen_169MethodDeclarations.h
a2072bdb8130ce91556f3222e84140bf4ead32ff
[]
no_license
fkieyhzen/RollABall
ed9ef9e93f3cfaecd2be10013797e97e9c1e479e
f083b660966094939ed2b5d2028e31bb4e86a67e
refs/heads/master
2023-03-19T18:19:11.437779
2015-06-08T15:27:45
2015-06-08T15:27:45
null
0
0
null
null
null
null
UTF-8
C
false
false
8,001
h
Parse_Unity_Parse_Internal_FlexibleDictionaryWrapper_2_gen_169MethodDeclarations.h
#pragma once // Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object> struct FlexibleDictionaryWrapper_2_t1653; // System.Collections.Generic.ICollection`1<System.String> struct ICollection_1_t462; // System.String struct String_t; // System.Collections.Generic.IDictionary`2<System.String,System.Object> struct IDictionary_2_t457; // System.Collections.Generic.KeyValuePair`2<System.String,System.String>[] struct KeyValuePair_2U5BU5D_t5390; // System.Collections.Generic.IEnumerator`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>> struct IEnumerator_1_t1775; // System.Collections.IEnumerator struct IEnumerator_t30; // System.Object struct Object_t; // System.Collections.Generic.KeyValuePair`2<System.String,System.String> #include "mscorlib_System_Collections_Generic_KeyValuePair_2_gen_2.h" // System.Collections.Generic.KeyValuePair`2<System.String,System.Object> #include "mscorlib_System_Collections_Generic_KeyValuePair_2_gen_0.h" // System.Void Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::.ctor(System.Collections.Generic.IDictionary`2<System.String,TIn>) // Parse.Internal.FlexibleDictionaryWrapper`2<System.Object,System.Object> #include "Parse_Unity_Parse_Internal_FlexibleDictionaryWrapper_2_genMethodDeclarations.h" #define FlexibleDictionaryWrapper_2__ctor_m58498(__this, ___toWrap, method) (void)FlexibleDictionaryWrapper_2__ctor_m21358_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, (Object_t*)___toWrap, method) // System.Void Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::Add(System.String,TOut) #define FlexibleDictionaryWrapper_2_Add_m58499(__this, ___key, ___value, method) (void)FlexibleDictionaryWrapper_2_Add_m21359_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, (String_t*)___key, (Object_t *)___value, method) // System.Boolean Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::ContainsKey(System.String) #define FlexibleDictionaryWrapper_2_ContainsKey_m58500(__this, ___key, method) (bool)FlexibleDictionaryWrapper_2_ContainsKey_m21360_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, (String_t*)___key, method) // System.Collections.Generic.ICollection`1<System.String> Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::get_Keys() #define FlexibleDictionaryWrapper_2_get_Keys_m58501(__this, method) (Object_t*)FlexibleDictionaryWrapper_2_get_Keys_m21361_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, method) // System.Boolean Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::Remove(System.String) #define FlexibleDictionaryWrapper_2_Remove_m58502(__this, ___key, method) (bool)FlexibleDictionaryWrapper_2_Remove_m21362_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, (String_t*)___key, method) // System.Boolean Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::TryGetValue(System.String,TOut&) #define FlexibleDictionaryWrapper_2_TryGetValue_m58503(__this, ___key, ___value, method) (bool)FlexibleDictionaryWrapper_2_TryGetValue_m21363_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, (String_t*)___key, (Object_t **)___value, method) // System.Collections.Generic.ICollection`1<TOut> Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::get_Values() #define FlexibleDictionaryWrapper_2_get_Values_m58504(__this, method) (Object_t*)FlexibleDictionaryWrapper_2_get_Values_m21364_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, method) // TOut Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::get_Item(System.String) #define FlexibleDictionaryWrapper_2_get_Item_m58505(__this, ___key, method) (String_t*)FlexibleDictionaryWrapper_2_get_Item_m21365_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, (String_t*)___key, method) // System.Void Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::set_Item(System.String,TOut) #define FlexibleDictionaryWrapper_2_set_Item_m58506(__this, ___key, ___value, method) (void)FlexibleDictionaryWrapper_2_set_Item_m21366_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, (String_t*)___key, (Object_t *)___value, method) // System.Void Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::Add(System.Collections.Generic.KeyValuePair`2<System.String,TOut>) void FlexibleDictionaryWrapper_2_Add_m58507 (FlexibleDictionaryWrapper_2_t1653 * __this, KeyValuePair_2_t901 ___item, MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::Clear() #define FlexibleDictionaryWrapper_2_Clear_m58508(__this, method) (void)FlexibleDictionaryWrapper_2_Clear_m21368_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, method) // System.Boolean Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::Contains(System.Collections.Generic.KeyValuePair`2<System.String,TOut>) bool FlexibleDictionaryWrapper_2_Contains_m58509 (FlexibleDictionaryWrapper_2_t1653 * __this, KeyValuePair_2_t901 ___item, MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::CopyTo(System.Collections.Generic.KeyValuePair`2<System.String,TOut>[],System.Int32) #define FlexibleDictionaryWrapper_2_CopyTo_m58510(__this, ___array, ___arrayIndex, method) (void)FlexibleDictionaryWrapper_2_CopyTo_m21370_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, (KeyValuePair_2U5BU5D_t678*)___array, (int32_t)___arrayIndex, method) // System.Int32 Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::get_Count() #define FlexibleDictionaryWrapper_2_get_Count_m58511(__this, method) (int32_t)FlexibleDictionaryWrapper_2_get_Count_m21371_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, method) // System.Boolean Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::get_IsReadOnly() #define FlexibleDictionaryWrapper_2_get_IsReadOnly_m58512(__this, method) (bool)FlexibleDictionaryWrapper_2_get_IsReadOnly_m21372_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, method) // System.Boolean Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::Remove(System.Collections.Generic.KeyValuePair`2<System.String,TOut>) bool FlexibleDictionaryWrapper_2_Remove_m58513 (FlexibleDictionaryWrapper_2_t1653 * __this, KeyValuePair_2_t901 ___item, MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Collections.Generic.IEnumerator`1<System.Collections.Generic.KeyValuePair`2<System.String,TOut>> Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::GetEnumerator() #define FlexibleDictionaryWrapper_2_GetEnumerator_m58514(__this, method) (Object_t*)FlexibleDictionaryWrapper_2_GetEnumerator_m21374_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, method) // System.Collections.IEnumerator Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::System.Collections.IEnumerable.GetEnumerator() #define FlexibleDictionaryWrapper_2_System_Collections_IEnumerable_GetEnumerator_m58515(__this, method) (Object_t *)FlexibleDictionaryWrapper_2_System_Collections_IEnumerable_GetEnumerator_m21375_gshared((FlexibleDictionaryWrapper_2_t1483 *)__this, method) // TOut Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::<get_Values>b__0(TIn) #define FlexibleDictionaryWrapper_2_U3Cget_ValuesU3Eb__0_m58516(__this/* static, unused */, ___item, method) (String_t*)FlexibleDictionaryWrapper_2_U3Cget_ValuesU3Eb__0_m21376_gshared((Object_t *)__this/* static, unused */, (Object_t *)___item, method) // System.Collections.Generic.KeyValuePair`2<System.String,TOut> Parse.Internal.FlexibleDictionaryWrapper`2<System.String,System.Object>::<CopyTo>b__2(System.Collections.Generic.KeyValuePair`2<System.String,TIn>) KeyValuePair_2_t901 FlexibleDictionaryWrapper_2_U3CCopyToU3Eb__2_m58517 (Object_t * __this/* static, unused */, KeyValuePair_2_t536 ___pair, MethodInfo* method) IL2CPP_METHOD_ATTR;
fca3a1a28c4fb083ec8b10e0909a462e082cd8eb
cd84ebcd2fdb95998b983cce60120897631c28f2
/Homework1/Homework1/DeathWing.h
a2630dc04bd540341ee7cc8eeb320e3084661e84
[]
no_license
stories2/KangnamOS
f67513ee097274a9a9158539c6d9970b92e6a224
fbc6382bd4795765adb496b71e2b9886a0fc62d0
refs/heads/master
2021-08-30T09:49:08.249324
2017-12-17T09:52:14
2017-12-17T09:52:14
104,567,239
0
0
null
null
null
null
UTF-8
C
false
false
762
h
DeathWing.h
#pragma once #ifndef ONE_DEATH_WING #define ONE_DEATH_WING 12 #define CARD_PID 0 #define ZERO 0 #define MAXIMUM_OF_DECK 2 #define CARD_YSERA 1 #define CARD_NOZDORMU 2 #define CARD_DEATH_WING 0 #define DIGIT_TEN 10 #define MAXIMUM_BUFFER_SCALE 200 #define CARD_CRASH -1 #define PROCESS_TYPE_REVERSE "reverse" #define LOG_LEVEL_VERBOSE 0 #define LOG_LEVEL_INFO 1 #define LOG_LEVEL_DEBUG 2 #define LOG_LEVEL_WARN 3 #define LOG_LEVEL_ERROR 4 //#include <cstdio> #include <unistd.h> //#include <wait.h> #include <string.h> #include <stdlib.h> void AttackEnemy(int, int); void SpawnYsera(int, int); int RecursiveYsera(int, int, int); void SpawnNozdormu(int); int ReverseNozdormu(int ); void SayMalygos(char *, char *, char *, int ); #endif // !ONE_DEATH_WING
82eadfd2bc3878089bb54579d2e7b2b3aa1fc5be
d5e5f29b44f39cae27bdaf6a35d2798240e8ae7e
/ft_putstr_fd.c
1b7fba7c9cdd7af95be5bbcf4c57bae38c676a4b
[]
no_license
Walkman100/42_libft
048cfda07f7d1fea79d0183d0014fe785bc59075
0f4a9d4aed6670e61b49fcae10fc0f875d4f434d
refs/heads/master
2020-05-25T21:12:39.828767
2019-10-02T09:10:06
2019-10-02T09:10:06
187,995,245
0
0
null
null
null
null
UTF-8
C
false
false
1,054
c
ft_putstr_fd.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_putstr_fd.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mcarter <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/05/22 12:28:30 by mcarter #+# #+# */ /* Updated: 2019/06/06 09:13:45 by mcarter ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" void ft_putstr_fd(const STR s, int fd) { int i; if (!s) return ; i = 0; while (s[i] != '\0') { ft_putchar_fd(s[i], fd); i++; } }
1ad12589e11e11b76e51923c299eb1b0b8201ff6
1a229d92fe13957bd9b92283887215cc0b598f6d
/inc/command.h
688b84452164ab68978d2b7232233414e3acbafd
[]
no_license
mfkiwl/GnssReceiverMeas
bb17f501dfa70b2807c6f5e0d7b4ffcd6f278d41
e4c20af5d595372cf81a40bd028770255f656679
refs/heads/master
2022-03-21T20:53:21.433034
2019-11-13T01:02:09
2019-11-13T01:02:09
null
0
0
null
null
null
null
UTF-8
C
false
false
79
h
command.h
#ifndef INC_COMMAND_H_ #define INC_COMMAND_H_ #endif /* INC_COMMAND_H_ */
9c178ad430c00a477ccc369d3eecded564a235aa
3d877daa96f841a5b7b3140f81b8fe82f6c4a246
/source/mp3print.c
1a9fe68f3e4bdcaf3e9393f241c30a52ae86497e
[ "BSD-3-Clause" ]
permissive
jnbek/TekNap
6aa9d8c73fc22b15f2b0869494b870bd2ee0949b
10aa40900e331d0cf3b5e53aa3f878d9f1ff3d1b
refs/heads/master
2018-12-29T17:40:53.382258
2015-02-28T22:34:20
2015-02-28T22:34:20
1,819,325
3
0
null
null
null
null
UTF-8
C
false
false
13,718
c
mp3print.c
/* Implementation of functions mp3printf() Used to print a mp3 formatted string by Colten Edwards. Based on snprintf() from ssh. $Id: mp3print.c,v 1.1.1.1 2000/08/04 08:58:29 edwards Exp $ */ #include "teknap.h" #include "struct.h" #include "ircaux.h" #include "napster.h" #undef isdigit #define isdigit(ch) ((ch) >= '0' && (ch) <= '9') #define MINUS_FLAG 0x1 #define PLUS_FLAG 0x2 #define SPACE_FLAG 0x4 #define HASH_FLAG 0x8 #define CONV_TO_SHORT 0x10 #define IS_LONG_INT 0x20 #define IS_LONG_DOUBLE 0x40 #define X_UPCASE 0x80 #define IS_NEGATIVE 0x100 #define UNSIGNED_DEC 0x200 #define ZERO_PADDING 0x400 #define COMMA_PADDING 0x800 #define SIZE_PADDING 0x1000 #undef sprintf /* Extract a formatting directive from str. Str must point to a '%'. Returns number of characters used or zero if extraction failed. */ static int snprintf_get_directive(const char *str, int *flags, int *width, int *precision, char *format_char) { int length, value; const char *orig_str = str; *flags = 0; *width = 0; *precision = 0; *format_char = (char)0; if (*str == '%') { /* Get the flags */ str++; while (*str == '-' || *str == '+' || *str == ' ' || *str == '#' || *str == '0' || *str == ',' || *str == 'g') { switch (*str) { case '-': *flags |= MINUS_FLAG; break; case '+': *flags |= PLUS_FLAG; break; case ' ': *flags |= SPACE_FLAG; break; case '#': *flags |= HASH_FLAG; break; case '0': *flags |= ZERO_PADDING; break; case ',': *flags |= COMMA_PADDING; break; case 'g': *flags |= SIZE_PADDING; break; } str++; } /* Don't pad left-justified numbers withs zeros */ if ((*flags & MINUS_FLAG) && (*flags & ZERO_PADDING)) *flags &= ~ZERO_PADDING; /* Is width field present? */ if (isdigit(*str)) { for (value = 0; *str && isdigit(*str); str++) value = 10 * value + *str - '0'; *width = value; } /* Is the precision field present? */ if (*str == '.') { str++; if (isdigit(*str)) { for (value = 0; *str && isdigit(*str); str++) value = 10 * value + *str - '0'; *precision = value; } else *precision = 0; } /* Get and check the formatting character */ *format_char = *str; str++; length = str - orig_str; switch (*format_char) { case 'b': case 'l': case 'L': case 't': case 'T': case 'd': case 'f': case 'F': case 'h': case 'H': case 'm': case 'M': case 'N': case 's': case 'S': case 'a': case 'p': return length; default: return 0; } } return 0; } /* Convert a integer from unsigned long int representation to string representation. This will insert prefixes if needed (leading zero for octal and 0x or 0X for hexadecimal) and will write at most buf_size characters to buffer. tmp_buf is used because we want to get correctly truncated results. */ static int snprintf_convert_ulong(char *buffer, size_t buf_size, int base, char *digits, unsigned long int ulong_val, int flags, int width, int precision) { int tmp_buf_len = 100 + width * 2, len = 0; char *tmp_buf, *tmp_buf_ptr, prefix[2]; tmp_buf = alloca(tmp_buf_len+1); prefix[0] = '\0'; prefix[1] = '\0'; /* Make tmp_buf_ptr point just past the last char of buffer */ tmp_buf_ptr = tmp_buf + tmp_buf_len; /* Main conversion loop */ do { *--tmp_buf_ptr = digits[ulong_val % base]; ulong_val /= base; len++; if (flags & COMMA_PADDING && !(len % 3)) *--tmp_buf_ptr = ','; precision--; } while ((ulong_val != 0 || precision > 0) && tmp_buf_ptr > tmp_buf); /* Get the prefix */ if (!(flags & IS_NEGATIVE)) { if (base == 16 && (flags & HASH_FLAG)) { if (flags && X_UPCASE) { prefix[0] = 'x'; prefix[1] = '0'; } else { prefix[0] = 'X'; prefix[1] = '0'; } } if (base == 8 && (flags & HASH_FLAG)) prefix[0] = '0'; if (base == 10 && !(flags & UNSIGNED_DEC) && (flags & PLUS_FLAG)) prefix[0] = '+'; else if (base == 10 && !(flags & UNSIGNED_DEC) && (flags & SPACE_FLAG)) prefix[0] = ' '; } else prefix[0] = '-'; if (prefix[0] != '\0' && tmp_buf_ptr > tmp_buf) { *--tmp_buf_ptr = prefix[0]; if (prefix[1] != '\0' && tmp_buf_ptr > tmp_buf) *--tmp_buf_ptr = prefix[1]; } len = (tmp_buf + tmp_buf_len) - tmp_buf_ptr; if (len <= buf_size) { if (len < width) { if (width > (tmp_buf_ptr - tmp_buf)) width = (tmp_buf_ptr - tmp_buf); if (flags & MINUS_FLAG) { memcpy(buffer, tmp_buf_ptr, len); memset(buffer + len, (flags & ZERO_PADDING)?'0':' ', width - len); len = width; } else { memset(buffer, (flags & ZERO_PADDING)?'0':' ', width - len); memcpy(buffer + width - len, tmp_buf_ptr, len); len = width; } } else memcpy(buffer, tmp_buf_ptr, len); return len; } else { memcpy(buffer, tmp_buf_ptr, buf_size); return buf_size; } } static int snprintf_convert_float(char *buffer, size_t buf_size, double dbl_val, double orig_val, int flags, int width, int precision, char format_char) { char print_buf[160], print_buf_len = 0; char format_str[80], *format_str_ptr; format_str_ptr = format_str; *format_str_ptr = 0; if (width > 155) width = 155; if (precision <= 0) precision = 6; if (precision > 120) precision = 120; /* Construct the formatting string and let system's sprintf do the real work. */ *format_str_ptr++ = '%'; if (flags & MINUS_FLAG) *format_str_ptr++ = '-'; if (flags & PLUS_FLAG) *format_str_ptr++ = '+'; if (flags & SPACE_FLAG) *format_str_ptr++ = ' '; if (flags & ZERO_PADDING) *format_str_ptr++ = '0'; if (flags & HASH_FLAG) *format_str_ptr++ = '#'; sprintf(format_str_ptr, "%d.%d", width, precision); format_str_ptr += strlen(format_str_ptr); if (flags & IS_LONG_DOUBLE) *format_str_ptr++ = 'L'; *format_str_ptr++ = 'f'; /* *format_str_ptr++ = format_char;*/ *format_str_ptr++ = '\0'; sprintf(print_buf, format_str, dbl_val); if (flags & SIZE_PADDING) strlcat(print_buf, _GMKs(orig_val), buf_size); print_buf_len = strlen(print_buf); if (print_buf_len > buf_size) print_buf_len = buf_size; strncpy(buffer, print_buf, print_buf_len); return print_buf_len; } static int convert_string_value(char *str_val, char *str, int left, int flags, int width, int precision) { int i; if (str_val == NULL) str_val = "(null)"; if (precision == 0) precision = strlen(str_val); else { if (memchr(str_val, 0, precision) != NULL) precision = strlen(str_val); } if (precision > left) precision = left; if (width > left) width = left; if (width < precision) width = precision; i = width - precision; if (flags & MINUS_FLAG) { strncpy(str, str_val, precision); memset(str + precision, (flags & ZERO_PADDING)?'0':' ', i); } else { memset(str, (flags & ZERO_PADDING)?'0':' ', i); strncpy(str + i, str_val, precision); } return width; } static int convert_dir_value(char **dir_val, char *str, int left, int flags, int dir_count, int width) { int i, len = 0, last_len = 0; char *new_str, *ptr; for (i = 0; dir_val[i]; i++) { last_len = strlen(dir_val[i]); len += last_len; } new_str = alloca(len + dir_count + 10); memset(new_str, 0, len + dir_count + 5); ptr = new_str + len - last_len - 1; if (!dir_val[0]) { dir_val[0] = ""; *dir_val[1] = 0; } if (width > dir_count) width = dir_count; if (flags & MINUS_FLAG) { for (i = dir_count - 1; dir_val[i]; i--) { *(dir_val[i]-1) = '/'; ptr = dir_val[i]-1; width--; if (!width) break; } strncpy(str, ptr, left); width = strlen(ptr); } else { for (i = 0; dir_val[i]; i++) { strcat(new_str, "/"); strcat(new_str, dir_val[i]); width--; if (!width) break; } strncpy(str, new_str, left); width = strlen(new_str); } return width; } extern int mp3printf(char *str, size_t size, const char *format, FileStruct *fp) { int status, left = (int)size - 1; const char *format_ptr = format; int flags, width, precision; char format_char; long int long_val; unsigned long int ulong_val; char *str_val; char *filename; char *dirname; double dbl_val; char *dir_array[20]; int dir_count = 0; str_val = LOCAL_COPY(fp->filename); if ((filename = strrchr(str_val, '/')) || (filename = strrchr(str_val, '\\'))) *filename++ = 0; dirname = str_val; flags = 0; for (dirname = str_val; *dirname && flags < 14; dirname++) { if ((*dirname == '/') || (*dirname == '\\')) { *dirname++ = 0; dir_array[flags++] = dirname; dir_count++; } } dir_array[flags] = 0; flags = 0; while (format_ptr < format + strlen(format)) { if (*format_ptr == '%') { if (format_ptr[1] == '%' && left > 0) { *str++ = '%'; left--; format_ptr += 2; } else { if (left <= 0) { *str = '\0'; return size; } else { status = snprintf_get_directive(format_ptr, &flags, &width, &precision, &format_char); if (status == 0) { *str = '\0'; return 0; } else { format_ptr += status; /* Print a formatted argument */ switch (format_char) { case 'b': if (flags & IS_LONG_INT) long_val = fp->bitrate; else long_val = (long int) fp->bitrate; if (long_val < 0) { ulong_val = (unsigned long int) -long_val; flags |= IS_NEGATIVE; } else ulong_val = (unsigned long int) long_val; status = snprintf_convert_ulong(str, left, 10, "0123456789", ulong_val, flags, width, precision); str += status; left -= status; break; case 'l': ulong_val = fp->filesize; status = snprintf_convert_ulong(str, left, 10, "0123456789", ulong_val, flags, width, precision); str += status; left -= status; break; case 'L': dbl_val = (double) _GMKv(fp->filesize); status = snprintf_convert_float(str, left, dbl_val, fp->filesize, flags, width, precision,format_char); str += status; left -= status; break; case 'p': if (fp->result.tv_sec) { dbl_val = (double) time_diff(fp->start, fp->result); status = snprintf_convert_float(str, left, dbl_val, time_diff(fp->start, fp->result), flags, width, precision, format_char); } else { strcpy(str, "N/A"); status = 3; } str += status; left -= status; break; case 'a': width = convert_string_value(_GMKs(fp->filesize), str, left, flags, width, precision); str += status; left -= status; break; case 't': width = convert_string_value(print_time(fp->seconds), str, left, flags, width, precision); str += width; left -= width; break; case 'M': width = convert_string_value(fp->checksum, str, left, flags, width, precision); str += width; left -= width; break; case 'm': width = convert_string_value(find_mime_type(fp->filename), str, left, flags, width, precision); str += width; left -= width; break; case 'N': str_val = fp->nick; width = convert_string_value(str_val, str, left, flags, width, precision); str += width; left -= width; break; case 'S': width = convert_string_value(mode_str(fp->stereo), str, left, flags, width, precision); str += width; left -= width; break; case 'T': ulong_val = fp->seconds; status = snprintf_convert_ulong(str, left, 10, "0123456789", ulong_val, flags, width, precision); str += status; left -= status; break; case 'd': str_val = dirname; width = convert_dir_value(dir_array, str, left, flags, dir_count, width); str += width; left -= width; break; case 'f': case 'F': if (format_char == 'f') str_val = filename; else str_val = fp->filename; width = convert_string_value(str_val, str, left, flags, width, precision); str += width; left -= width; break; case 'h': ulong_val = fp->freq; status = snprintf_convert_ulong(str, left, 10, "0123456789", ulong_val, flags, width, precision); str += status; left -= status; break; case 'H': dbl_val = ((double) fp->freq) / 1000; status = snprintf_convert_float(str, left, dbl_val, fp->freq, flags, width, precision, format_char); str += status; left -= status; break; default: break; } /* switch */ } } } } else { if (left > 0) { *str++ = *format_ptr++; left--; } else { *str = '\0'; return size; } } /* if */ } /* while */ *str = '\0'; return size - left - 1; } #ifdef TEST int main(int c, char **argv) { FileStruct new = { 0 }; char buffer[2049]; memset(buffer, 0, sizeof(buffer)); new.filename = (char *)malloc(100); new.nick = (char *)malloc(100); new.checksum = (char *)malloc(100); strcpy(new.filename, "/this/is/a/filename of something.mp3"); strcpy(new.nick, "qr1"); strcpy(new.checksum, "CHECKSUMCHECKSUM"); new.filesize = 8384834; new.bitrate = 160; new.freq = 44100; new.stereo = 1; new.type = 1; new.seconds = 800; mp3printf(buffer, sizeof(buffer)-1, "%b \"%-30f\" %2.1H %3.1h [%t] %T %S %s %m %M %,l %g4.2L %3d/ %-2d/ %F", &new); fprintf(stderr, "%s\n", buffer); } #endif
c925a6192b729fc94c4dfc06dae724b3b120f495
c2cedcf36667730f558ab354bea4505b616c90d2
/players/deathmonger/ASSASSIN_BAK/poison/slow.c
123fdd3f80d08d371aaea301bfb078abc41cd61f
[]
no_license
wugouzi/Nirvlp312mudlib
965ed876c7080ab00e28c5d8cd5ea9fc9e46258f
616cad7472279cc97c9693f893940f5336916ff8
refs/heads/master
2023-03-16T03:45:05.510851
2017-09-21T17:05:00
2017-09-21T17:05:00
null
0
0
null
null
null
null
UTF-8
C
false
false
1,118
c
slow.c
/* actual delay is DELAY+1 */ #define DELAY 2 inherit "players/deathmonger/poison/poison.c"; string actions, abbr; int dirs; reset(arg){ if(arg) return; set_short("slowness"); set_long("This poison slows its victims down!\n"); actions = allocate(10); abbr = allocate(10); dirs = allocate(10); actions = ({ "north", "south", "east", "west" }); abbr = ({ "n", "s", "e", "w" }); dirs = ({ 0, 0, 0, 0 }); } init(){ add_action("slow", "n"); add_action("slow", "s"); add_action("slow", "w"); add_action("slow", "e"); add_action("slow", "north"); add_action("slow", "south"); add_action("slow", "west"); add_action("slow", "east"); } slow(){ string dir; int index; dir = query_verb(); index = find_index(dir); if(dirs[index] > DELAY){ dirs[index] = 0; return 0; } else { dirs[index] += 1; return 1; } } find_index(str){ int i; for(i=0;i<sizeof(actions);i++){ if(actions[i] == str) return i; } for(i=0;i<sizeof(abbr);i++){ if(abbr[i] == str) return i; } return "BADBAD"; }
8d636db2dffbfb549b200fa1c653f8e383002c29
826aa15f3e20e415b34404887d617c43aa0a2905
/h1/3.c
08eaba29915ed6618e329999510a71ac1ef72cda
[]
no_license
Georgi-Kratchkov/TP
6a8f8827ec46b69ea4673c16677385e60488f0e1
c25c0ec916b69d203d149256d513a3f63ee5a6e8
refs/heads/master
2016-09-05T17:16:40.718419
2012-12-20T16:54:05
2012-12-20T16:54:05
null
0
0
null
null
null
null
UTF-8
C
false
false
1,005
c
3.c
/* ТУЕС (Технологично училище Електронни системи към ТУ София) http://www.elsys-bg.org/ 11 Б клас Номер 9 Георги Кръчков Да се разработи програма, която изисква от потребителя да въведе две целочислени числа, x и y, където x < y. Да се намерят и изведат всички прости числа завършващи на 3 в интервал [x,y]. */ #include<stdio.h> main() { int n,y, i = 3, count, c; printf("Vavedete parvoto chislo\n"); scanf("%d",&y); printf("Vavedete vtoroto chislo\n"); scanf("%d",&n); for ( count = 2 ; count <= n ; ) { for ( c = 2 ; c <= i - 1 ; c++ ) { if ( i%c == 0 ) break; } if ( c == i ) { if (((i>=y)&&(i<=n))&&(i%10==3)) { printf("%d\n",i); } count++; } i++; } return 0; }
7d88990fc5f5db1e6350dcd448be7894af96ac63
324084284b5d45baeb5e1af4f08c906844177448
/src/mgos_hal.h
ee04d32bd3888d765e921dae6c8124bd79ace183
[ "Apache-2.0" ]
permissive
pfiembedded/mongoose-os
7295ec179894eb053fbbe956e99314ec4cf42878
139759ae49a7ca393040d7e9cc6315ee344a9a3c
refs/heads/master
2023-01-24T01:05:16.171710
2023-01-03T19:27:14
2023-01-03T19:27:14
210,228,082
0
0
NOASSERTION
2019-09-22T23:32:21
2019-09-22T23:32:21
null
UTF-8
C
false
false
755
h
mgos_hal.h
/* * Copyright (c) 2014-2016 Cesanta Software Limited * All rights reserved */ /* * See on GitHub: * [mgos_hal.h](https://github.com/cesanta/mongoose-os/blob/master/mgos_hal.h) * * These interfaces need to be implemented for each hardware platform. */ #ifndef CS_FW_SRC_MGOS_HAL_H_ #define CS_FW_SRC_MGOS_HAL_H_ #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include "mgos_init.h" #include "mgos_system.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* Restart system */ void mgos_dev_system_restart(void) __attribute__((noreturn)); void mgos_lock(void); void mgos_unlock(void); extern enum mgos_init_result mgos_fs_init(void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CS_FW_SRC_MGOS_HAL_H_ */
b881086ab11991741a7d22fb733a86ed6ad88939
99595be1dcae16e870de8a8e139d50cacd9c1b47
/WeatherViewController/Common.h
72b2bb1fa2ba7e127204470c8821bfb90905bca6
[]
no_license
shiroJin/WeatherViewController
c5afd70a71ebbde942d6ccd7347480cf9cd2a371
1ff210ceed61857f338a1897d15449891c2a75c2
refs/heads/master
2021-01-10T03:50:49.562865
2016-04-01T01:54:18
2016-04-01T01:54:18
52,929,704
0
0
null
null
null
null
UTF-8
C
false
false
557
h
Common.h
// // Common.h // WeatherViewController // // Created by Macx on 16/2/28. // Copyright © 2016年 jinquanbin. All rights reserved. // #ifndef Common_h #define Common_h #define kScreenWidth [UIScreen mainScreen].bounds.size.width #define kScreenHeight [UIScreen mainScreen].bounds.size.height #define kwidth ((kScreenWidth - 50) / 3) #define kLeftLength 260 #define kSearchCityURL @"http://apis.baidu.com/apistore/weatherservice/citylist" #define kRecentWeather @"http://apis.baidu.com/apistore/weatherservice/recentweathers" #endif /* Common_h */
6693176ab7c8578943b1be7ded8c8fb5e41bc21e
872cf078175afcdcd168b30b7035e77bc7312050
/wxparaver-4.6.1-linux-x86_64/include/config_traits.h
77e118f79147a4dcc99cb6de730418ece812476f
[]
no_license
mogeb/extrae-paraver
fcf7536167856dfdddefafe3a9cfa66ae8837ebf
29724cbd254d451c8104809ad3ee631ad3e37da3
refs/heads/master
2021-01-11T03:20:15.672357
2016-04-20T18:26:47
2016-04-20T18:26:47
56,710,354
1
1
null
null
null
null
UTF-8
C
false
false
168
h
config_traits.h
/* config_traits.h. Generated from config_traits.h.in by configure. */ /* #undef PARALLEL_ENABLED */ /* #undef TRACING_ENABLED */ #define EXTENDED_OBJECTS_ENABLED 1
06bafb3dc6f19c9b1b1e4d70c12231692fcaade6
e4ae7fce3e2efde3cd70219afefc6c0164cfce09
/Module 0 - Preporatory Lab/Assignment2.c
301cac1a5356d947151c7241f82a9b652e42b913
[]
no_license
obergfredrik/ID1020-Algorithms_and_Data_Structures
f490e5ac9f2631625553efb9f7b72d98a7716275
6b3dce21d094ac201229b9e4ee5072fa039ba185
refs/heads/master
2022-11-08T04:10:01.275905
2020-06-24T13:43:33
2020-06-24T13:43:33
null
0
0
null
null
null
null
UTF-8
C
false
false
1,117
c
Assignment2.c
/** *Author: Fredrik Öberg * *Date of generation: 190901 * *Date of update: * *Problem the code solves, how it is used,(executed, input, outputs etc.): * *The code lets the user input characters to stdin and the oputputs the characters to stdout. *It filters every 'a' character into an 'x' character untiol the user enters an EOF character. Then *the program is terminated. * * *Code based upon: * *The code has been based upon the instructions of the Preporatory Lab PM. */ # include <stdio.h> /** *Let's the user input any character and outputs it to stdout. When a user *inputs an 'a' character the function outputs an 'x' character instead. *The loop is terminated when the user inputs an "end of file" character(Ctrl-d or Ctrl-z depending on the OS). * */ void manualEntering(){ int c; printf("Enter characters: "); while((c = getchar()) != EOF){ if('a' == c) c = 'x'; putchar(c); } } /** *Calls for manualEntering and then signals that the program has ended *through a printout. * */ int main(){ manualEntering(); printf("\r\n\r\nThe program has ended!"); return 0; }
c01957dafff69d63d9e591c8fbfd79b5c8f730ba
01dcdd6e2fbcd4609a33357c19b4422efcdcd4c6
/fileserver/packages/C++/test.c
a5181f3570760248cecb502610963c74bcf5de33
[]
no_license
evildva/learn-iris
0cd9934a6425a36b893c30ac8200a593c026928e
5772ddbff94342dd5748657016c0d5b96559245a
refs/heads/master
2022-11-18T00:42:59.695760
2020-07-19T07:04:24
2020-07-19T07:04:24
280,810,871
0
0
null
null
null
null
UTF-8
C
false
false
1,320
c
test.c
/* #include <stdio.h> int main(int args,char* argv[]){ unsigned int a=10,b=20; int c=5,d=8; printf("a-b=%u\n",a-b); printf("a-b=%d\n",a-b); printf("d-a=%u\n",d-a); printf("d-a=%d\n",d-a); return 0; } */ /* #include <iostream> using namespace std; namespace sa{ void ab(){ cout<<"sa a"<<endl; } void ab(string s){ cout<<s<<endl; } } using namespace sa; void ab(){ cout<<"a"<<endl; } int main(int args,char* argv[]){ unsigned int a=10,b=20; int c=-5,d=15; cout<<"a-b="<<a-b<<endl; cout<<"c-b="<<c-b<<endl; cout<<"a-c="<<a-c<<endl; cout<<"d-a="<<d-a<<endl; ::ab(); int i,&ri=i; i=5; ri=10; cout<<ri<<endl; auto m=3.33; cout<<decltype(m)<<endl; return 0; } string s; cin>>s; for(int i=s.size()-1;i>=0;i--){ cout<<s[i]; } */ /* #include <stdio.h> void * memset(void* buffer, int c, int count) { char * buffer_p=(char*)buffer; //assert(buffer != NULL); while(count-->0) *buffer_p++=(char)c; return buffer; } int main(int args,char* argv[]){ char a[10]={0},b[5]={1},*c; c=memset(a,3,5); int i=0; for(i=0;i<5;i++){ printf("%d\n",c[i]); } return 0; } */ #include <iostream> using namespace std; int add(int b){ static int a=10; a+=b; return a; } int main(){ int i = 1; int j = i++; cout<<i<<endl; if((i>j++) && (i++ == j)){ cout<<i<<endl; i+=j; } cout<<i<<endl; return 0; }
44f60d635791e2fa3304848acf7387aba7b98b1d
7e2cd12fb6eac8b562c9d041e487a30ab4e2da37
/test/test.c
3e79b446455857b2702c62a529cb61d1add44635
[ "MIT" ]
permissive
elijahkash/libft
9db0eb78dab722f2e65ddefb0e6e9b42467c1e0f
004987009b34c53b21d011e617396658990795a7
refs/heads/master
2023-04-13T21:58:47.208327
2023-03-22T07:10:22
2023-03-22T07:10:22
206,152,338
24
5
null
null
null
null
UTF-8
C
false
false
1,171
c
test.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* test.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: Kashnitskiy <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/09/04 12:03:18 by mtrisha #+# #+# */ /* Updated: 2020/01/21 20:56:52 by Kashnitskiy ### ########.fr */ /* */ /* ************************************************************************** */ #include <libft.h> void test(void) { return ; } /* ** Look here if you don’t understand the meaning of such main() ** https://github.com/elijahkash/libft/wiki/First-steps */ int main(void) { ft_memman_init(); test(); ft_force_buff(); ft_memman_clean(); return (0); }
1c11280501a4fa1251be3bab0c7456dd5dc5f81c
ffb685a52a4384fd4ef2f11ac70d89ecd1ae5d98
/src/LCD12864.c
4a14b18b7a0fb8ea85927102a5d3a4fdce1d2cb1
[]
no_license
rjingHD/eletronic-scale
3f713a9977b201e9e923823d436c126942260f84
11f67b5b4ddb0dc5a6e5a4de7c1128116c793886
refs/heads/master
2023-03-28T23:26:06.054738
2021-03-29T07:10:50
2021-03-29T07:10:50
352,539,079
0
0
null
null
null
null
GB18030
C
false
false
5,280
c
LCD12864.c
/***************************LCD12864.c********************************* ** ** ** ** ** ** ** **********************************************************************/ #include "LCD12864.h" /*函数名 :LCD12864_Init() *输入:无 *输出:无 *描述:初始化LCD12864 *备注:无 */ void LCD12864_Init() { LCD12864_Write(0,0x30); LCD12864_Write(0,0x01); LCD12864_Delay_us(2000); LCD12864_Write(0,0x06); LCD12864_Write(0,0x0C); } /*函数名 :LCD12864_Write(unsigned char type,unsigned char dat) *输入:type = 0 写指令 type = 1 写数据 *输出:无 *描述:向LCD12864写入指令/数据 *备注:无 */ void LCD12864_Write(unsigned char type,unsigned char dat) { unsigned char cmd,dat1,dat2; unsigned char i = 0; LCD12864_RS_H; LCD12864_E_L; cmd = (0xF8 | (type << 1)); //分三次写入,分别为起始字节,高四位,低四位 for(i=0;i<8;i++) { if(cmd & 0x80) { LCD12864_RW_H; } else { LCD12864_RW_L; } LCD12864_E_H; cmd <<= 1; LCD12864_E_L; } dat1 = dat & 0xF0; for(i=0;i<8;i++) { if(dat1 & 0x80) { LCD12864_RW_H; } else { LCD12864_RW_L; } LCD12864_E_H; dat1 <<= 1; LCD12864_E_L; } dat2 = (dat<<4) & 0xF0; for(i=0;i<8;i++) { if(dat2 & 0x80) { LCD12864_RW_H; } else { LCD12864_RW_L; } LCD12864_E_H; dat2 <<= 1; LCD12864_E_L; } LCD12864_RS_L; LCD12864_E_L; LCD12864_Delay_us(72); } /*函数名 :LCD12864_Delay_us(unsigned int us) *输入:us 延迟时间 us范围为(0,65535) *输出:无 *描述:延迟一定时间 *备注:不精确延迟 */ void LCD12864_Delay_us(unsigned int us) { unsigned int i; for(i=0;i<us;i++); } /*函数名 :LCD1284_Series_Write(unsigned char position, unsigned char *series) *输入:x 光标起始行位置 y 光标起始列位置 *series 输入字符串 *输出:无 *描述:写入字符串,也可以写入汉字 *备注:无 */ void LCD12864_Series_Write(unsigned char x, unsigned char y, unsigned char *series) { unsigned char position; if(x == 1) x = 0x80; else if(x == 2) x = 0x90; else if(x == 3) x = 0x88; else if(x == 4) x = 0x98; position = x + y; LCD12864_Write(0,position); //设定光标位置 for(;*series != 0;series++) LCD12864_Write(1,*series); } /*函数名 :LCD12864_lDigtal_Write(unsigned char position, signed long int num) *输入:x 光标起始行位置 y 光标起始列位置 num 要显示的数字 num范围为(-2147483648,2147483647) *输出:无 *描述:显示signed long int型数字 *备注:无 */ void LCD12864_lDigtal_Write(unsigned char x, unsigned char y, signed long int num) { unsigned char i = 0,j = 0; unsigned char buf[11],str[11]; unsigned char position; if(num < 0) { str[j++] = '-'; num = -num; } do{ buf[i++] = num % 10; num /= 10; }while(num != 0); for(;i > 0;) str[j++] = buf[--i] + '0'; str[j++] = '\0'; if(x == 1) x = 0x80; else if(x == 2) x = 0x90; else if(x == 3) x = 0x88; else if(x == 4) x = 0x98; position = x + y; LCD12864_Write(0,position); //设定光标位置 for(j=0;str[j] != 0;j++) LCD12864_Write(1,str[j]); } /*函数名 :LCD12864_fDigtal_Write(unsigned char position, double num, unsigned char decimal) *输入:x 光标起始行位置 y 光标起始列位置 num 要显示的数字 decimal 想要保留的小数位数 (num*10^decimal)的范围为(-2147483648,2147483647) *输出:无 *描述:显示double型数字 *备注:无 */ void LCD12864_fDigtal_Write(unsigned char x, unsigned char y, double num, unsigned char decimal) { unsigned char i = 0,j = 0; unsigned char buf[11],str[11]; signed long int integer = 0; integer = (signed long int)num; i = decimal + 1; if(num < 0) { str[j++] = '-'; num = -num; } buf[decimal] = '.'; do{ num *= 10; buf[--decimal] = (unsigned long int)num % 10 + '0'; }while(decimal != 0); do{ buf[i++] = integer % 10 + '0'; integer /= 10; }while(integer != 0); for(;i > 0;) str[j++] = buf[--i]; str[j] = '\0'; LCD12864_Series_Write(x,y,str); } /*函数名 :LCD12864_Clear_All() *输入:无 *输出:无 *描述:清除整个屏幕 *备注:无 */ void LCD12864_Clear_All() { LCD12864_Write(0,0x30); LCD12864_Write(0,0x01); LCD12864_Delay_us(2000); }
25c846cdeaca402b44f7c512a05f9e3f4e2c0543
b92e700e4201305c43ded2b2708d13bd9008112a
/src/util/macros.h
d146dea3b3c365ed2df9936681163fce8316cfff
[]
no_license
kparkins/gnut
010d09c8da168eec3a3cf9086bdf0f2eb544ea2a
9b45129b8b3f28a65c774f3129b9fedfba7ce448
refs/heads/master
2021-05-31T15:22:22.029262
2016-02-11T22:41:15
2016-02-11T22:41:15
46,889,328
0
0
null
null
null
null
UTF-8
C
false
false
636
h
macros.h
// // Macros.h // Graphics // #ifndef GNUT_MACROS_H #define GNUT_MACROS_H #if defined (__APPLE__) || defined(__MACH__) #define __FILENAME__ (strrchr(__FILE__, '/') ? (char*) strrchr(__FILE__, '/') + 1 : __FILE__) #elif defined(_WIN32) #define __FILENAME__ (strrchr(__FILE__, '\\') ? (char*) strrchr(__FILE__, '\\') + 1 : __FILE__) #endif #if defined(_MSC_VER) #define FORCE_INLINE inline __forceinline #define ALIGN_16 __declspec(align(16)) #elif defined(__GNUC__) #define FORCE_INLINE inline __attribute__ ((always_inline)) #define ALIGN_16 __attribute__ ((aligned(16))) #endif #endif /* GNUT_MACROS_H */
69a51557702d26c89fb0b711d77ce0cf30cfa9aa
02c5064b25fb52ce9c4330f62219f5eec313f8ab
/00_basic_class/basic_class.c
209f41b827a0f976c829334a8d32816a6002e331
[ "MIT" ]
permissive
84rn/gobject-study
615f8b1f5e19ffd39b89930c9499b47099d883f5
23aa2a90f24e369d4eb7a1a73e88ba849967703e
refs/heads/master
2020-12-10T16:43:00.074636
2020-01-13T17:17:55
2020-01-13T17:17:55
233,650,245
0
0
null
null
null
null
UTF-8
C
false
false
1,057
c
basic_class.c
#include "basic_class.h" /* Structure of an instance */ struct _BasicClass { }; /** Macro for defining certain basic functions of class/instance * * // instance init function * static void basic_class_init (BasicClass *self); * // class init function * static void basic_class_class_init (BasicClassClass *klass); * * static gpointer basic_class_parent_class = NULL; * * // internal class meta-init function * static void basic_class_class_intern_init (gpointer klass) * { * basic_class_parent_class = g_type_class_peek_parent (klass) * basic_class_class_init ((BasicClassClass*) klass); * } * * GType basic_class_get_type (void) * { * (... registers the type if called for the first time ...) * } * * (... define basic interface methods (??) ...) * * Only the _init, class_init functions and instance, class * structure have to be added. */ G_DEFINE_TYPE (BasicClass, basic_class, G_TYPE_OBJECT); static void basic_class_init (BasicClass *self) { } static void basic_class_class_init (BasicClassClass *klass) { }
9b96e8f2f7ec3d9acc01399784d74422d5c5daf9
16f75ebdba7e7738e9d771367b5f22d2ec0c6b23
/il2cpp_output/mscorlib_System_Comparison_1_gen_17MethodDeclarations.h
320eacc07cd6757cf8ffdfa10187ce9c87ddacb3
[]
no_license
18945661022/pintu
c0bb3ffe3627d0f7612b5647a3bbedd879bdd6f3
0becf624cfd9e0812820507890eefc49f5af6f14
refs/heads/master
2020-04-04T19:24:25.056903
2018-11-05T11:08:24
2018-11-05T11:08:24
156,204,405
0
0
null
null
null
null
UTF-8
C
false
false
1,684
h
mscorlib_System_Comparison_1_gen_17MethodDeclarations.h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> #include "codegen/il2cpp-codegen.h" #include "mscorlib_System_Comparison_1_gen_3MethodDeclarations.h" // System.Void System.Comparison`1<UnityEngine.UI.StencilMaterial/MatEntry>::.ctor(System.Object,System.IntPtr) #define Comparison_1__ctor_m16120(__this, ___object, ___method, method) (( void (*) (Comparison_1_t2383 *, Object_t *, IntPtr_t, const MethodInfo*))Comparison_1__ctor_m13289_gshared)(__this, ___object, ___method, method) // System.Int32 System.Comparison`1<UnityEngine.UI.StencilMaterial/MatEntry>::Invoke(T,T) #define Comparison_1_Invoke_m16121(__this, ___x, ___y, method) (( int32_t (*) (Comparison_1_t2383 *, MatEntry_t303 *, MatEntry_t303 *, const MethodInfo*))Comparison_1_Invoke_m13290_gshared)(__this, ___x, ___y, method) // System.IAsyncResult System.Comparison`1<UnityEngine.UI.StencilMaterial/MatEntry>::BeginInvoke(T,T,System.AsyncCallback,System.Object) #define Comparison_1_BeginInvoke_m16122(__this, ___x, ___y, ___callback, ___object, method) (( Object_t * (*) (Comparison_1_t2383 *, MatEntry_t303 *, MatEntry_t303 *, AsyncCallback_t264 *, Object_t *, const MethodInfo*))Comparison_1_BeginInvoke_m13291_gshared)(__this, ___x, ___y, ___callback, ___object, method) // System.Int32 System.Comparison`1<UnityEngine.UI.StencilMaterial/MatEntry>::EndInvoke(System.IAsyncResult) #define Comparison_1_EndInvoke_m16123(__this, ___result, method) (( int32_t (*) (Comparison_1_t2383 *, Object_t *, const MethodInfo*))Comparison_1_EndInvoke_m13292_gshared)(__this, ___result, method)
ebe510e1cb649882452b07e86934bc7c5ea8f53c
a9d1acac57a8ed1c4428e16ffdf646a28c711805
/i915_private.h
5644008bb6a8d97c79e4f02e7631dce8b5eda34b
[ "BSD-3-Clause" ]
permissive
biskhand/minigbm
e3ba0a60fc96d8c6898ab30a0449bf0811d7ae11
c6daaa0c99882b5231a934005dc65a921707d458
refs/heads/master
2020-03-17T04:56:37.839225
2018-05-14T02:42:01
2018-05-14T02:42:01
133,295,648
0
1
null
2018-05-14T02:39:26
2018-05-14T02:39:26
null
UTF-8
C
false
false
860
h
i915_private.h
/* * Copyright 2017 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifdef DRV_I915 #include <stdint.h> #include "i915_private_types.h" struct driver; int i915_private_init(struct driver *drv, uint64_t *cursor_width, uint64_t *cursor_height); int i915_private_add_combinations(struct driver *drv); void i915_private_align_dimensions(uint32_t format, uint32_t *vertical_alignment); uint32_t i915_private_bpp_from_format(uint32_t format, size_t plane); void i915_private_vertical_subsampling_from_format(uint32_t *vertical_subsampling, uint32_t format, size_t plane); size_t i915_private_num_planes_from_format(uint32_t format); uint32_t i915_private_resolve_format(uint32_t format, uint64_t usage, uint32_t *resolved_format); #endif
8de137f97b98c171cc76d8b2004cd802871d6b01
99c90c564ec03e44739edc4ab9534fac6bdd8da9
/vendor/github.com/open-falcon/rrdlite/rrd_hw.c
25dcdbe53a200c3ae90f8fbbc33d799d5d8ef783
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
ning1875/falcon-plus
7e53936a2bc60e081ce988c03bc5d11e362dd2fe
a9119a5c70dc8e97c15908fd4892dc0c292be58e
refs/heads/master
2022-02-07T05:24:42.585113
2022-01-18T02:13:38
2022-01-18T02:13:38
258,071,172
4
1
Apache-2.0
2020-04-23T04:34:49
2020-04-23T02:15:36
Go
UTF-8
C
false
false
15,461
c
rrd_hw.c
/***************************************************************************** * RRDtool 1.4.9 Copyright by Tobi Oetiker, 1997-2014 ***************************************************************************** * rrd_hw.c : Support for Holt-Winters Smoothing/ Aberrant Behavior Detection ***************************************************************************** * Initial version by Jake Brutlag, WebTV Networks, 5/1/00 *****************************************************************************/ #include <stdlib.h> #include "rrd_tool.h" #include "rrd_hw.h" #include "rrd_hw_math.h" #include "rrd_hw_update.h" #define hw_dep_idx(rrd, rra_idx) rrd->rra_def[rra_idx].par[RRA_dependent_rra_idx].u_cnt /* #define DEBUG */ /* private functions */ static unsigned long MyMod( signed long val, unsigned long mod); int lookup_seasonal( rrd_t *rrd, unsigned long rra_idx, unsigned long rra_start, rrd_file_t *rrd_file, unsigned long offset, rrd_value_t **seasonal_coef) { unsigned long pos_tmp; /* rra_ptr[].cur_row points to the rra row to be written; this function * reads cur_row + offset */ unsigned long row_idx = rrd->rra_ptr[rra_idx].cur_row + offset; int ret = 0; /* handle wrap around */ if (row_idx >= rrd->rra_def[rra_idx].row_cnt) row_idx = row_idx % (rrd->rra_def[rra_idx].row_cnt); /* rra_start points to the appropriate rra block in the file */ /* compute the pointer to the appropriate location in the file */ pos_tmp = rra_start + (row_idx) * (rrd->stat_head->ds_cnt) * sizeof(rrd_value_t); /* allocate memory if need be */ if (*seasonal_coef == NULL) *seasonal_coef = (rrd_value_t *) malloc((rrd->stat_head->ds_cnt) * sizeof(rrd_value_t)); if (*seasonal_coef == NULL) { return -RRD_ERR_MALLOC4; } if (!rrd_seek(rrd_file, pos_tmp, SEEK_SET)) { if (rrd_read (rrd_file, *seasonal_coef, sizeof(rrd_value_t) * rrd->stat_head->ds_cnt) == (ssize_t) (sizeof(rrd_value_t) * rrd->stat_head->ds_cnt)) { /* success! */ /* we can safely ignore the rule requiring a seek operation between read * and write, because this read moves the file pointer to somewhere * in the file other than the next write location. * */ return 0; } else { ret = -RRD_ERR_READ1; } } else { ret = -RRD_ERR_SEEK1; } return ret; } /* For the specified CDP prep area and the FAILURES RRA, * erase all history of past violations. */ int erase_violations( rrd_t *rrd, unsigned long cdp_idx, unsigned long rra_idx) { unsigned short i; char *violations_array; int ret = 0; enum dst_en r; /* check that rra_idx is a CF_FAILURES array */ if ((r = cf_conv(rrd->rra_def[rra_idx].cf_nam)) != CF_FAILURES) { #ifdef DEBUG fprintf(stderr, "erase_violations called for non-FAILURES RRA: %s\n", rrd->rra_def[rra_idx].cf_nam); #endif if (r < 0){ return (int)r; } return 0; } #ifdef DEBUG fprintf(stderr, "scratch buffer before erase:\n"); for (i = 0; i < MAX_CDP_PAR_EN; i++) { fprintf(stderr, "%lu ", rrd->cdp_prep[cdp_idx].scratch[i].u_cnt); } fprintf(stderr, "\n"); #endif /* WARNING: an array of longs on disk is treated as an array of chars * in memory. */ violations_array = (char *) ((void *) rrd->cdp_prep[cdp_idx].scratch); /* erase everything in the part of the CDP scratch array that will be * used to store violations for the current window */ for (i = rrd->rra_def[rra_idx].par[RRA_window_len].u_cnt; i > 0; i--) { violations_array[i - 1] = 0; } #ifdef DEBUG fprintf(stderr, "scratch buffer after erase:\n"); for (i = 0; i < MAX_CDP_PAR_EN; i++) { fprintf(stderr, "%lu ", rrd->cdp_prep[cdp_idx].scratch[i].u_cnt); } fprintf(stderr, "\n"); #endif return 0; } /* Smooth a periodic array with a moving average: equal weights and * length = 5% of the period. */ int apply_smoother( rrd_t *rrd, unsigned long rra_idx, unsigned long rra_start, rrd_file_t *rrd_file) { unsigned long i, j, k; unsigned long totalbytes; rrd_value_t *rrd_values; unsigned long row_length = rrd->stat_head->ds_cnt; unsigned long row_count = rrd->rra_def[rra_idx].row_cnt; unsigned long offset; FIFOqueue **buffers; rrd_value_t *working_average; rrd_value_t *baseline; int ret = 0; if (atoi(rrd->stat_head->version) >= 4) { offset = floor(rrd->rra_def[rra_idx]. par[RRA_seasonal_smoothing_window]. u_val / 2 * row_count); } else { offset = floor(0.05 / 2 * row_count); } if (offset == 0) return 0; /* no smoothing */ /* allocate memory */ totalbytes = sizeof(rrd_value_t) * row_length * row_count; rrd_values = (rrd_value_t *) malloc(totalbytes); if (rrd_values == NULL) { return -RRD_ERR_MALLOC5; } /* rra_start is at the beginning of this rra */ if (rrd_seek(rrd_file, rra_start, SEEK_SET)) { free(rrd_values); return -RRD_ERR_SEEK2; } /* could read all data in a single block, but we need to * check for NA values */ for (i = 0; i < row_count; ++i) { for (j = 0; j < row_length; ++j) { if (rrd_read (rrd_file, &(rrd_values[i * row_length + j]), sizeof(rrd_value_t) * 1) != (ssize_t) (sizeof(rrd_value_t) * 1)) { ret = -RRD_ERR_READ2; } if (isnan(rrd_values[i * row_length + j])) { /* can't apply smoothing, still uninitialized values */ #ifdef DEBUG fprintf(stderr, "apply_smoother: NA detected in seasonal array: %ld %ld\n", i, j); #endif free(rrd_values); return ret; } } } /* allocate queues, one for each data source */ buffers = (FIFOqueue **) malloc(sizeof(FIFOqueue *) * row_length); for (i = 0; i < row_length; ++i) { queue_alloc(&(buffers[i]), 2 * offset + 1); } /* need working average initialized to 0 */ working_average = (rrd_value_t *) calloc(row_length, sizeof(rrd_value_t)); baseline = (rrd_value_t *) calloc(row_length, sizeof(rrd_value_t)); /* compute sums of the first 2*offset terms */ for (i = 0; i < 2 * offset; ++i) { k = MyMod(i - offset, row_count); for (j = 0; j < row_length; ++j) { queue_push(buffers[j], rrd_values[k * row_length + j]); working_average[j] += rrd_values[k * row_length + j]; } } /* compute moving averages */ for (i = offset; i < row_count + offset; ++i) { for (j = 0; j < row_length; ++j) { k = MyMod(i, row_count); /* add a term to the sum */ working_average[j] += rrd_values[k * row_length + j]; queue_push(buffers[j], rrd_values[k * row_length + j]); /* reset k to be the center of the window */ k = MyMod(i - offset, row_count); /* overwrite rdd_values entry, the old value is already * saved in buffers */ rrd_values[k * row_length + j] = working_average[j] / (2 * offset + 1); baseline[j] += rrd_values[k * row_length + j]; /* remove a term from the sum */ working_average[j] -= queue_pop(buffers[j]); } } for (i = 0; i < row_length; ++i) { queue_dealloc(buffers[i]); baseline[i] /= row_count; } free(buffers); free(working_average); if (cf_conv(rrd->rra_def[rra_idx].cf_nam) == CF_SEASONAL) { rrd_value_t ( *init_seasonality) ( rrd_value_t seasonal_coef, rrd_value_t intercept); switch (cf_conv(rrd->rra_def[hw_dep_idx(rrd, rra_idx)].cf_nam)) { case CF_HWPREDICT: init_seasonality = hw_additive_init_seasonality; break; case CF_MHWPREDICT: init_seasonality = hw_multiplicative_init_seasonality; break; default: return -RRD_ERR_DEP1; } for (j = 0; j < row_length; ++j) { for (i = 0; i < row_count; ++i) { rrd_values[i * row_length + j] = init_seasonality(rrd_values[i * row_length + j], baseline[j]); } /* update the baseline coefficient, * first, compute the cdp_index. */ offset = hw_dep_idx(rrd, rra_idx) * row_length + j; (rrd->cdp_prep[offset]).scratch[CDP_hw_intercept].u_val += baseline[j]; } /* flush cdp to disk */ if (rrd_seek(rrd_file, sizeof(stat_head_t) + rrd->stat_head->ds_cnt * sizeof(ds_def_t) + rrd->stat_head->rra_cnt * sizeof(rra_def_t) + sizeof(live_head_t) + rrd->stat_head->ds_cnt * sizeof(pdp_prep_t), SEEK_SET)) { free(rrd_values); return -RRD_ERR_SEEK3; } if (rrd_write(rrd_file, rrd->cdp_prep, sizeof(cdp_prep_t) * (rrd->stat_head->rra_cnt) * rrd->stat_head->ds_cnt) != (ssize_t) (sizeof(cdp_prep_t) * (rrd->stat_head->rra_cnt) * (rrd->stat_head->ds_cnt))) { free(rrd_values); return -RRD_ERR_WRITE1; } } /* endif CF_SEASONAL */ /* flush updated values to disk */ if (rrd_seek(rrd_file, rra_start, SEEK_SET)) { free(rrd_values); return -RRD_ERR_SEEK4; } /* write as a single block */ if (rrd_write (rrd_file, rrd_values, sizeof(rrd_value_t) * row_length * row_count) != (ssize_t) (sizeof(rrd_value_t) * row_length * row_count)) { free(rrd_values); return -RRD_ERR_WRITE2; } free(rrd_values); free(baseline); return 0; } void init_hwpredict_cdp( cdp_prep_t *cdp) { cdp->scratch[CDP_hw_intercept].u_val = DNAN; cdp->scratch[CDP_hw_last_intercept].u_val = DNAN; cdp->scratch[CDP_hw_slope].u_val = DNAN; cdp->scratch[CDP_hw_last_slope].u_val = DNAN; cdp->scratch[CDP_null_count].u_cnt = 1; cdp->scratch[CDP_last_null_count].u_cnt = 1; } void init_seasonal_cdp( cdp_prep_t *cdp) { cdp->scratch[CDP_hw_seasonal].u_val = DNAN; cdp->scratch[CDP_hw_last_seasonal].u_val = DNAN; cdp->scratch[CDP_init_seasonal].u_cnt = 1; } int update_aberrant_CF( rrd_t *rrd, rrd_value_t pdp_val, enum cf_en current_cf, unsigned long cdp_idx, unsigned long rra_idx, unsigned long ds_idx, unsigned short CDP_scratch_idx, rrd_value_t *seasonal_coef) { static hw_functions_t hw_multiplicative_functions = { hw_multiplicative_calculate_prediction, hw_multiplicative_calculate_intercept, hw_calculate_slope, hw_multiplicative_calculate_seasonality, hw_multiplicative_init_seasonality, hw_calculate_seasonal_deviation, hw_init_seasonal_deviation, 1.0 /* identity value */ }; static hw_functions_t hw_additive_functions = { hw_additive_calculate_prediction, hw_additive_calculate_intercept, hw_calculate_slope, hw_additive_calculate_seasonality, hw_additive_init_seasonality, hw_calculate_seasonal_deviation, hw_init_seasonal_deviation, 0.0 /* identity value */ }; rrd->cdp_prep[cdp_idx].scratch[CDP_scratch_idx].u_val = pdp_val; switch (current_cf) { case CF_HWPREDICT: return update_hwpredict(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx, &hw_additive_functions); case CF_MHWPREDICT: return update_hwpredict(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx, &hw_multiplicative_functions); case CF_DEVPREDICT: return update_devpredict(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx); case CF_SEASONAL: switch (cf_conv(rrd->rra_def[hw_dep_idx(rrd, rra_idx)].cf_nam)) { case CF_HWPREDICT: return update_seasonal(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx, seasonal_coef, &hw_additive_functions); case CF_MHWPREDICT: return update_seasonal(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx, seasonal_coef, &hw_multiplicative_functions); default: return -RRD_ERR_UNREC_CONSOLIDATION_FUNC; } case CF_DEVSEASONAL: switch (cf_conv(rrd->rra_def[hw_dep_idx(rrd, rra_idx)].cf_nam)) { case CF_HWPREDICT: return update_devseasonal(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx, seasonal_coef, &hw_additive_functions); case CF_MHWPREDICT: return update_devseasonal(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx, seasonal_coef, &hw_multiplicative_functions); default: return -RRD_ERR_UNREC_CONSOLIDATION_FUNC; } case CF_FAILURES: switch (cf_conv (rrd->rra_def[hw_dep_idx(rrd, hw_dep_idx(rrd, rra_idx))]. cf_nam)) { case CF_HWPREDICT: return update_failures(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx, &hw_additive_functions); case CF_MHWPREDICT: return update_failures(rrd, cdp_idx, rra_idx, ds_idx, CDP_scratch_idx, &hw_multiplicative_functions); default: return -RRD_ERR_UNREC_CONSOLIDATION_FUNC; } case CF_AVERAGE: default: return 0; } return -1; } static unsigned long MyMod( signed long val, unsigned long mod) { unsigned long new_val; if (val < 0) new_val = ((unsigned long) abs(val)) % mod; else new_val = (val % mod); if (val < 0) return (mod - new_val); else return (new_val); } /* a standard fixed-capacity FIF0 queue implementation * No overflow checking is performed. */ int queue_alloc( FIFOqueue **q, int capacity) { *q = (FIFOqueue *) malloc(sizeof(FIFOqueue)); if (*q == NULL) return -1; (*q)->queue = (rrd_value_t *) malloc(sizeof(rrd_value_t) * capacity); if ((*q)->queue == NULL) { free(*q); return -1; } (*q)->capacity = capacity; (*q)->head = capacity; (*q)->tail = 0; return 0; } int queue_isempty( FIFOqueue *q) { return (q->head % q->capacity == q->tail); } void queue_push( FIFOqueue *q, rrd_value_t value) { q->queue[(q->tail)++] = value; q->tail = q->tail % q->capacity; } rrd_value_t queue_pop( FIFOqueue *q) { q->head = q->head % q->capacity; return q->queue[(q->head)++]; } void queue_dealloc( FIFOqueue *q) { free(q->queue); free(q); }
b5a09417697b4fa76cc55b79280e0d8d60d2046e
89db60818afeb3dc7c3b7abe9ceae155f074f7f2
/src/libmemdraw/draw-stub.c
be411011f536aa4922d07653b7502c4217610b73
[ "bzip2-1.0.6", "LPL-1.02", "MIT" ]
permissive
9fans/plan9port
63c3d01928c6f8a8617d3ea6ecc05bac72391132
65c090346a38a8c30cb242d345aa71060116340c
refs/heads/master
2023-08-25T17:14:26.233105
2023-08-23T13:21:37
2023-08-23T18:47:08
26,095,474
1,645
468
NOASSERTION
2023-09-05T16:55:41
2014-11-02T22:40:13
C
UTF-8
C
false
false
446
c
draw-stub.c
#include <u.h> #include <libc.h> #include <draw.h> #include <memdraw.h> void memimagedraw(Memimage *dst, Rectangle r, Memimage *src, Point sp, Memimage *mask, Point mp, int op) { Memdrawparam *par; if((par = _memimagedrawsetup(dst, r, src, sp, mask, mp, op)) == nil) return; _memimagedraw(par); } void memfillcolor(Memimage *m, u32int val) { _memfillcolor(m, val); } u32int pixelbits(Memimage *m, Point p) { return _pixelbits(m, p); }
d197ab66fbe90dc735c94ef97389dfa565de5491
eb68e4eedd5a273b24dfe74921eaa4c51498db37
/libft/libft/srcs/ft_trim_n_first.c
a04b8d87106395acae5f05d0ec4a930044a881ba
[]
no_license
rasmusjaa/filler
622e4e865466ac131f8dc2d7428c169358a11ac1
8125ac16053fbb42f90309eeeb2ca2b4e1a2fb90
refs/heads/master
2022-11-14T13:25:37.539363
2020-07-01T15:23:42
2020-07-01T15:23:42
274,176,382
0
0
null
null
null
null
UTF-8
C
false
false
1,036
c
ft_trim_n_first.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_trim_n_first.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rjaakonm <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/12/17 12:44:06 by rjaakonm #+# #+# */ /* Updated: 2019/12/17 12:46:42 by rjaakonm ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" char *ft_trim_n_first(int n, char *str) { char *tmp; tmp = ft_strdup(&str[n]); free(str); str = tmp; return (str); }
a2de7abc49981569d2c77e02f1595d14cbfeda06
dcf26a6bcf853a3f8f6f50f9379998ef4d8aad40
/third_party/libjpeg/cdjpeg.c
7c9f8f1dbd8cf2720ac3f155b920812db054e198
[]
no_license
small-seven/testmem
c5f3202dce1c369e9d84cdaaccc2008b827c16d8
2771460c617439bd1be562ffdc94543ea170a736
refs/heads/main
2023-03-12T22:16:28.824577
2021-03-03T04:24:59
2021-03-03T04:24:59
343,847,762
1
0
null
null
null
null
UTF-8
C
false
false
767
c
cdjpeg.c
#include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */ #include <ctype.h> /* to declare isupper(), tolower() */ #ifdef NEED_SIGNAL_CATCHER #include <signal.h> /* to declare signal() */ #endif #ifdef USE_SETMODE #include <fcntl.h> /* to declare setmode()'s parameter macros */ #include <io.h> /* to declare setmode() */ #endif #ifdef NEED_SIGNAL_CATCHER #ifdef SIGINT /* not all systems have SIGINT */ #endif #ifdef SIGTERM /* not all systems have SIGTERM */ #endif #endif #ifdef PROGRESS_REPORT #endif #ifdef USE_SETMODE /* need to hack file mode? */ #endif #ifdef USE_FDOPEN /* need to re-open in binary mode? */ #endif #ifdef USE_SETMODE /* need to hack file mode? */ #endif #ifdef USE_FDOPEN /* need to re-open in binary mode? */ #endif
2bac484174907305c552a285a77eacc055dc6ea6
1d9631f630445da338471e0fc13ff2d149942583
/1.c
b149c4ee5c878ad28ceda161c927eac69a0c7f60
[]
no_license
superman12345647/SLtest
47794b6405a46c362d7d89804f84efe1373de0b5
e2873b6a93d27cfd659d8499f8f06daeee1dcb64
refs/heads/main
2023-06-14T02:36:12.755817
2021-07-07T12:46:24
2021-07-07T12:46:24
383,639,589
0
0
null
null
null
null
UTF-8
C
false
false
68
c
1.c
#include <stido.h> int main() { prinft("hello github"); return 0; }
3de33340e89386d657c3045118c0658e0f204668
04c3edb27dccc307af0c2c1dbe4b6e5f3fc172f2
/common/include/item_type.h
1c3fe118aed5120a783d695178caa119d2621ee8
[]
no_license
Apokryphos/Aventail
274fde919bd460c36ba67e5bd5a2c873775cec26
282680e656dded1702b92a066c40de11398cef44
refs/heads/master
2021-01-21T10:29:39.305978
2018-02-06T21:26:28
2018-02-06T21:26:28
91,692,247
0
0
null
null
null
null
UTF-8
C
false
false
333
h
item_type.h
#ifndef ITEM_TYPE_HEADER_INCLUDED #define ITEM_TYPE_HEADER_INCLUDED #define ITEM_TYPE_COUNT 6 enum ItemType { ITEM_TYPE_NONE, ITEM_TYPE_CONSUMABLE, ITEM_TYPE_ARMOR, ITEM_TYPE_SHIELD, ITEM_TYPE_WEAPON, ITEM_TYPE_ACCESSORY, }; const char* get_item_type_category_string(const enum ItemType item_type); #endif
9e003cea821cbd47d159e1f6b6c967dbf2ea3a5a
d5f4c444d1dc4ed13281c83cb9bdc0ffe5832c66
/libft/ft_str/ft_strlcat.c
c96e5f9112fae0e40e624a7236da3dfcebc84779
[]
no_license
ilmiraibragimova/rtv1
ced290c8e91e78b1d889e482f1f90abeaa8049a7
ad295f98bf0b0017594dcaea6c9d0d1260fff929
refs/heads/master
2023-02-24T18:34:24.727683
2021-01-23T19:32:29
2021-01-23T19:32:29
308,127,762
0
0
null
null
null
null
UTF-8
C
false
false
1,308
c
ft_strlcat.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlcat.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aeclipso <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/09/14 14:15:53 by aeclipso #+# #+# */ /* Updated: 2019/09/28 14:32:12 by aeclipso ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" static void ft_tozero(size_t *i, size_t *j, size_t *z) { *i = 0; *j = 0; *z = 0; } size_t ft_strlcat(char *dst, const char *src, size_t size) { size_t i; size_t j; size_t z; ft_tozero(&i, &j, &z); while (dst[i] && i < size) { i++; } z = i; while (src[j] && i + 1 < size) { dst[i] = src[j]; i++; j++; } if (i < size) dst[i] = '\0'; return (ft_strlen(src) + z); }
dea917df40c5bfee7404e2176a6449b9e384aecc
4edebf37c778226fd4158ec7f34a99365859f99e
/testsuite/csmith/clang_O2/85.c
3249ba0a622e36ff36faf9af92eb7330e39cfd4a
[ "BSD-2-Clause" ]
permissive
mrcodechef/dwarf-synthesis
cb3e88d9de81dd872fb18a277e1e51fb0050f788
9344cad21d3f31fa03e1dd5e9a388efbeac7a279
refs/heads/master
2022-02-23T19:37:05.823621
2019-09-27T14:16:47
2019-09-27T14:16:47
null
0
0
null
null
null
null
UTF-8
C
false
false
150,076
c
85.c
/* * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.3.0 * Git version: 30dccd7 * Options: (none) * Seed: 1685541155323750940 */ #include "csmith.h" static long __undefined; /* --- Struct/Union Declarations --- */ struct S0 { unsigned f0 : 28; }; /* --- GLOBAL VARIABLES --- */ static uint64_t g_2[6][8] = {{0xBFC88EB987642760LL,0x64FDA7EF5D870A32LL,1UL,0x8591B68DEE21AFA9LL,1UL,0x64FDA7EF5D870A32LL,0xBFC88EB987642760LL,6UL},{0x64FDA7EF5D870A32LL,0xDB22124F84B81147LL,18446744073709551615UL,0x9ED080C170CD5099LL,0UL,0x8591B68DEE21AFA9LL,0x8591B68DEE21AFA9LL,0UL},{0UL,0xBFC88EB987642760LL,0xBFC88EB987642760LL,0UL,0UL,0x7E6AA1654207647FLL,6UL,0x8591B68DEE21AFA9LL},{0x64FDA7EF5D870A32LL,0x8F3C34EEA2A3B3F3LL,0x3D42374B1B055CC2LL,0UL,1UL,0UL,0x3D42374B1B055CC2LL,0x8F3C34EEA2A3B3F3LL},{0xBFC88EB987642760LL,0x8F3C34EEA2A3B3F3LL,0x8591B68DEE21AFA9LL,0x3D42374B1B055CC2LL,18446744073709551615UL,0x7E6AA1654207647FLL,0x9ED080C170CD5099LL,0x9ED080C170CD5099LL},{0x8591B68DEE21AFA9LL,0xBFC88EB987642760LL,0xDB22124F84B81147LL,0xDB22124F84B81147LL,0xBFC88EB987642760LL,0x8591B68DEE21AFA9LL,0x7E6AA1654207647FLL,6UL}}; static struct S0 g_19 = {12952}; static volatile int32_t g_35 = 1L;/* VOLATILE GLOBAL g_35 */ static int32_t g_36 = 0xA64E785CL; static volatile int32_t g_37[2] = {0x75DF1563L,0x75DF1563L}; static int32_t g_38 = 0x6AC39B39L; static uint32_t g_60 = 0x817BB5C0L; static int32_t *g_77 = (void*)0; static int32_t *g_78 = &g_38; static int64_t g_101[10] = {0L,0L,(-8L),(-8L),0L,0L,0L,(-8L),(-8L),0L}; static int64_t g_104 = 4L; static volatile uint32_t *g_108 = (void*)0; static int16_t g_129 = 7L; static uint8_t g_135 = 255UL; static uint32_t g_141[8][4][6] = {{{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL},{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL},{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L},{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL}},{{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL},{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L},{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL},{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL}},{{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L},{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL},{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL},{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L}},{{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL},{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL},{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L},{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL}},{{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL},{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L},{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL},{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL}},{{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L},{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL},{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL},{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L}},{{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL},{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL},{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,2UL,0xEB3B6C1DL,0x10E358E7L},{0xF2CAE24EL,0xB94C902CL,2UL,2UL,0xB94C902CL,0xF2CAE24EL}},{{0xF2CAE24EL,0x9B2EA336L,0x10E358E7L,2UL,0x9B2EA336L,2UL},{0xF2CAE24EL,0xEB3B6C1DL,0xF2CAE24EL,4294967288UL,0x10E358E7L,4294967295UL},{0UL,2UL,4294967288UL,4294967288UL,2UL,0UL},{0UL,0xF2CAE24EL,4294967295UL,4294967288UL,0xF2CAE24EL,4294967288UL}}}; static uint8_t g_152[6] = {0x9BL,0x9BL,0x9BL,0x9BL,0x9BL,0x9BL}; static int16_t g_154 = 0x68E5L; static uint8_t g_156 = 0xDBL; static struct S0 g_158 = {13733}; static const int32_t g_160 = 0x205CD23EL; static const int32_t *g_159 = &g_160; static uint64_t g_164 = 8UL; static uint16_t g_176 = 0x7C6AL; static int32_t g_177 = (-3L); static int16_t g_203 = 0L; static uint32_t g_204 = 0x46D02991L; static uint64_t g_217[9][8] = {{18446744073709551611UL,0xD3EF12D646E1C941LL,18446744073709551611UL,0xD3EF12D646E1C941LL,18446744073709551611UL,0x005D3D94BFEC47B7LL,0x005D3D94BFEC47B7LL,18446744073709551611UL},{0xD3EF12D646E1C941LL,0xFFC12B63EB4B7A3ALL,0xFFC12B63EB4B7A3ALL,0xD3EF12D646E1C941LL,0xE50D722C878C84C8LL,18446744073709551611UL,0xE50D722C878C84C8LL,0xD3EF12D646E1C941LL},{0xFFC12B63EB4B7A3ALL,0xE50D722C878C84C8LL,0xFFC12B63EB4B7A3ALL,0x005D3D94BFEC47B7LL,18446744073709551611UL,18446744073709551611UL,0x005D3D94BFEC47B7LL,0xFFC12B63EB4B7A3ALL},{0xE50D722C878C84C8LL,0xE50D722C878C84C8LL,18446744073709551611UL,18446744073709551611UL,0xE7A130ACF16FAF0DLL,18446744073709551611UL,18446744073709551611UL,0xE50D722C878C84C8LL},{0xE50D722C878C84C8LL,0xFFC12B63EB4B7A3ALL,0x005D3D94BFEC47B7LL,18446744073709551611UL,18446744073709551611UL,0x005D3D94BFEC47B7LL,0xFFC12B63EB4B7A3ALL,0xE50D722C878C84C8LL},{0xFFC12B63EB4B7A3ALL,0xD3EF12D646E1C941LL,0xE50D722C878C84C8LL,18446744073709551611UL,0xE50D722C878C84C8LL,0xD3EF12D646E1C941LL,0xFFC12B63EB4B7A3ALL,0xFFC12B63EB4B7A3ALL},{0xD3EF12D646E1C941LL,18446744073709551611UL,0x005D3D94BFEC47B7LL,0x005D3D94BFEC47B7LL,18446744073709551611UL,0xD3EF12D646E1C941LL,18446744073709551611UL,0xD3EF12D646E1C941LL},{18446744073709551611UL,0xD3EF12D646E1C941LL,18446744073709551611UL,0xD3EF12D646E1C941LL,18446744073709551611UL,0x005D3D94BFEC47B7LL,0x005D3D94BFEC47B7LL,18446744073709551611UL},{0xD3EF12D646E1C941LL,0xFFC12B63EB4B7A3ALL,0xFFC12B63EB4B7A3ALL,0xD3EF12D646E1C941LL,0xE50D722C878C84C8LL,18446744073709551611UL,0xE50D722C878C84C8LL,0xD3EF12D646E1C941LL}}; static uint8_t g_218[9][5][1] = {{{0xE9L},{0xEFL},{249UL},{0x27L},{0UL}},{{8UL},{0xE9L},{8UL},{0UL},{0x27L}},{{249UL},{0xEFL},{0xE9L},{255UL},{1UL}},{{0x27L},{1UL},{255UL},{0xE9L},{0xEFL}},{{249UL},{0x27L},{0UL},{8UL},{0xE9L}},{{8UL},{0UL},{0x27L},{249UL},{0xEFL}},{{0xE9L},{255UL},{1UL},{0x27L},{1UL}},{{255UL},{0xE9L},{0xEFL},{249UL},{0x27L}},{{0UL},{8UL},{0xE9L},{8UL},{0UL}}}; static int64_t g_262 = 1L; static uint64_t g_269 = 0xA4B3009E131B1487LL; static int8_t g_278 = 5L; static int8_t *g_277 = &g_278; static uint8_t g_308 = 0x7CL; static uint32_t g_332 = 18446744073709551611UL; static uint32_t *g_341[6] = {(void*)0,&g_204,(void*)0,(void*)0,&g_204,(void*)0}; static uint16_t g_360 = 0xC32EL; static uint8_t g_369[6] = {0x34L,1UL,0x34L,0x34L,1UL,0x34L}; static uint8_t *g_401 = &g_135; static uint32_t g_411 = 0x5D140373L; static uint8_t g_441 = 0xF1L; static uint16_t *g_480 = &g_360; static uint16_t **g_479[3][5][1] = {{{&g_480},{&g_480},{&g_480},{&g_480},{&g_480}},{{&g_480},{&g_480},{&g_480},{&g_480},{&g_480}},{{&g_480},{&g_480},{&g_480},{&g_480},{&g_480}}}; static const int16_t g_510 = 0x17F6L; static int32_t g_601[7][1][1] = {{{0x00FB0548L}},{{0x00FB0548L}},{{0x00FB0548L}},{{0x00FB0548L}},{{0x00FB0548L}},{{0x00FB0548L}},{{0x00FB0548L}}}; static uint32_t g_606[10] = {0x507B9A6EL,0x507B9A6EL,1UL,0xE0851634L,1UL,0x507B9A6EL,0x507B9A6EL,1UL,0xE0851634L,1UL}; static uint16_t g_609[10] = {65535UL,0x2055L,0x2055L,65535UL,0x2055L,0x2055L,65535UL,0x2055L,0x0026L,0x2055L}; static uint8_t g_627 = 255UL; static uint32_t g_628 = 0UL; static struct S0 **g_634 = (void*)0; static int8_t g_635[10] = {0L,(-1L),0L,0L,(-1L),0L,0L,(-1L),0L,0L}; static uint32_t g_663 = 0xF77A60EDL; static uint32_t g_665 = 0UL; static uint64_t g_666 = 1UL; static uint32_t g_685 = 0xEBC629ACL; static uint16_t g_714[7][8] = {{0x8881L,65534UL,65535UL,0x6C85L,0UL,1UL,0UL,0x6C85L},{65530UL,0x2FDAL,65530UL,65531UL,0x73F0L,0x6C85L,65535UL,0UL},{0x89C5L,0UL,0UL,1UL,0x2FDAL,65534UL,0x73F0L,65534UL},{0x89C5L,65535UL,65534UL,65535UL,0x73F0L,0x73F0L,65535UL,65534UL},{65530UL,65530UL,1UL,65534UL,0UL,65535UL,1UL,9UL},{0x8881L,0UL,0x73F0L,65535UL,1UL,65534UL,0x2FDAL,9UL},{0UL,65534UL,1UL,65534UL,0x89C5L,65534UL,1UL,65534UL}}; static int32_t g_782 = 0xE0CE39A1L; static uint32_t g_785 = 1UL; static uint32_t * const *g_794 = &g_341[5]; static uint32_t * const **g_793 = &g_794; static int32_t * const volatile **g_831 = (void*)0; static int32_t * const volatile *** const g_830 = &g_831; static int32_t g_833 = 0L; static int32_t g_836[6] = {0xB9001F8DL,0xB9001F8DL,0xB9001F8DL,0xB9001F8DL,0xB9001F8DL,0xB9001F8DL}; static uint32_t g_839 = 4294967295UL; static uint32_t g_843 = 18446744073709551608UL; static uint64_t g_844 = 0x93E556A0C083E754LL; static int32_t g_851[10] = {4L,4L,4L,4L,4L,4L,4L,4L,4L,4L}; static uint16_t g_852 = 0x4657L; static int8_t g_874 = 1L; static int32_t g_878 = 5L; static int8_t g_879 = 3L; static int16_t g_880[9] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)}; static uint32_t g_881 = 0xD5DB3365L; static uint8_t g_970 = 0x00L; static int64_t g_971 = 8L; static int32_t g_972 = 0xB2CBD5C4L; static int32_t g_973 = (-1L); static struct S0 *g_1002 = &g_158; static struct S0 * volatile *g_1001 = &g_1002; static struct S0 * volatile **g_1000 = &g_1001; static struct S0 * volatile ***g_999 = &g_1000; static int16_t g_1012 = 0x8C3AL; static uint8_t g_1014 = 0x7CL; static int64_t g_1059 = 0x5A73F90B2A66654ELL; static uint16_t g_1091 = 65534UL; static int16_t g_1096[1][6][2] = {{{(-5L),(-5L)},{(-5L),(-5L)},{(-5L),(-5L)},{(-5L),(-5L)},{(-5L),(-5L)},{(-5L),(-5L)}}}; static int16_t g_1098 = (-10L); static int32_t g_1100 = 0x9500B132L; static int32_t g_1101 = (-1L); static int64_t g_1131 = 0L; static int8_t g_1134 = 7L; static uint16_t g_1135[10] = {0xF3FDL,0xF3FDL,0xF3FDL,0xF3FDL,0xF3FDL,0xF3FDL,0xF3FDL,0xF3FDL,0xF3FDL,0xF3FDL}; static uint32_t g_1161 = 0UL; static int32_t g_1174[6] = {(-9L),(-9L),(-9L),(-9L),(-9L),(-9L)}; static int64_t g_1254 = 0x802A7ACEE7EA1BCBLL; static int32_t g_1270 = 5L; static int16_t g_1394 = (-5L); static uint32_t **g_1409 = &g_341[1]; static uint32_t ***g_1408 = &g_1409; static uint32_t ****g_1407 = &g_1408; static int32_t g_1440 = 1L; static int32_t g_1473 = 3L; static int64_t g_1516 = (-8L); static volatile int32_t g_1663 = 0xFF06E30EL;/* VOLATILE GLOBAL g_1663 */ static volatile int32_t g_1664 = 1L;/* VOLATILE GLOBAL g_1664 */ static volatile int32_t * volatile g_1662[5][9][1] = {{{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663}},{{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664}},{{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663}},{{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664}},{{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663},{&g_1664},{&g_1663}}}; static volatile int32_t * volatile * volatile g_1661 = &g_1662[4][5][0];/* VOLATILE GLOBAL g_1661 */ static volatile int32_t * volatile * volatile *g_1660 = &g_1661; static struct S0 g_1667 = {10709}; static volatile uint32_t * volatile * volatile g_1702[10] = {&g_108,&g_108,&g_108,&g_108,&g_108,&g_108,&g_108,&g_108,&g_108,&g_108}; static volatile uint32_t * volatile * volatile *g_1701[1] = {&g_1702[9]}; static uint32_t g_1759 = 1UL; static uint16_t **** const g_1808 = (void*)0; static volatile int64_t g_1905 = 0x0953A656F3E2C4FCLL;/* VOLATILE GLOBAL g_1905 */ static volatile int64_t *g_1904 = &g_1905; static volatile int64_t **g_1903 = &g_1904; static uint32_t *****g_1907[9] = {&g_1407,&g_1407,&g_1407,&g_1407,&g_1407,&g_1407,&g_1407,&g_1407,&g_1407}; static volatile uint32_t * const volatile **g_1955 = (void*)0; static uint32_t g_1964 = 3UL; static volatile uint32_t * volatile * volatile **g_1967 = (void*)0; static uint16_t ***g_2042[8][5][5] = {{{(void*)0,&g_479[1][3][0],&g_479[0][3][0],&g_479[1][3][0],(void*)0},{&g_479[2][2][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[0][0][0]},{(void*)0,&g_479[1][3][0],&g_479[2][1][0],&g_479[1][2][0],(void*)0},{&g_479[1][3][0],(void*)0,&g_479[1][3][0],&g_479[1][3][0],&g_479[0][0][0]},{(void*)0,&g_479[1][2][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[1][0][0]}},{{&g_479[0][0][0],&g_479[1][3][0],(void*)0,(void*)0,&g_479[1][3][0]},{&g_479[2][1][0],&g_479[1][4][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[0][3][0]},{(void*)0,&g_479[0][2][0],&g_479[1][3][0],&g_479[0][1][0],(void*)0},{(void*)0,&g_479[2][2][0],&g_479[2][1][0],&g_479[2][2][0],(void*)0},{(void*)0,(void*)0,&g_479[1][3][0],&g_479[2][2][0],&g_479[0][1][0]}},{{&g_479[2][1][0],(void*)0,&g_479[0][1][0],&g_479[1][3][0],&g_479[0][1][0]},{&g_479[0][0][0],&g_479[0][0][0],&g_479[0][1][0],&g_479[2][2][0],&g_479[1][3][0]},{(void*)0,&g_479[1][3][0],(void*)0,&g_479[2][2][0],&g_479[2][1][0]},{&g_479[1][3][0],&g_479[0][1][0],(void*)0,&g_479[0][1][0],&g_479[1][3][0]},{(void*)0,&g_479[1][3][0],&g_479[0][3][0],&g_479[1][3][0],&g_479[1][3][0]}},{{&g_479[2][2][0],&g_479[0][0][0],&g_479[1][3][0],(void*)0,(void*)0},{&g_479[1][0][0],(void*)0,&g_479[1][0][0],&g_479[1][3][0],&g_479[1][3][0]},{&g_479[1][3][0],(void*)0,&g_479[0][0][0],&g_479[1][3][0],&g_479[1][3][0]},{&g_479[1][3][0],&g_479[2][2][0],(void*)0,&g_479[1][2][0],&g_479[2][1][0]},{&g_479[1][3][0],&g_479[0][2][0],&g_479[0][0][0],&g_479[1][3][0],&g_479[1][3][0]}},{{&g_479[1][3][0],&g_479[1][4][0],&g_479[1][0][0],&g_479[1][3][0],&g_479[0][1][0]},{(void*)0,&g_479[1][3][0],&g_479[1][3][0],(void*)0,&g_479[0][1][0]},{&g_479[1][3][0],&g_479[1][2][0],&g_479[0][3][0],(void*)0,(void*)0},{&g_479[1][3][0],(void*)0,(void*)0,&g_479[0][0][0],(void*)0},{&g_479[1][3][0],&g_479[1][3][0],(void*)0,(void*)0,&g_479[0][3][0]}},{{&g_479[1][3][0],&g_479[1][3][0],&g_479[0][1][0],(void*)0,&g_479[1][3][0]},{&g_479[1][0][0],&g_479[1][3][0],&g_479[0][1][0],&g_479[1][3][0],&g_479[1][0][0]},{&g_479[2][2][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[0][0][0]},{(void*)0,&g_479[1][3][0],&g_479[2][1][0],&g_479[1][2][0],(void*)0},{&g_479[1][3][0],(void*)0,&g_479[1][3][0],&g_479[1][3][0],&g_479[0][0][0]}},{{(void*)0,&g_479[1][2][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[1][0][0]},{&g_479[0][0][0],&g_479[1][3][0],(void*)0,(void*)0,&g_479[1][3][0]},{&g_479[2][1][0],&g_479[1][4][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[0][3][0]},{(void*)0,&g_479[0][2][0],&g_479[1][3][0],&g_479[0][1][0],(void*)0},{(void*)0,&g_479[2][2][0],&g_479[2][1][0],&g_479[2][2][0],(void*)0}},{{(void*)0,(void*)0,&g_479[1][3][0],&g_479[2][2][0],&g_479[0][1][0]},{&g_479[2][1][0],(void*)0,&g_479[0][1][0],&g_479[1][3][0],&g_479[0][1][0]},{&g_479[0][0][0],&g_479[0][0][0],&g_479[0][1][0],&g_479[2][2][0],&g_479[1][3][0]},{(void*)0,&g_479[1][3][0],(void*)0,&g_479[2][2][0],&g_479[2][1][0]},{&g_479[1][3][0],(void*)0,&g_479[1][3][0],(void*)0,(void*)0}}}; static uint16_t ****g_2041 = &g_2042[2][0][0]; static uint32_t g_2140 = 4294967295UL; static uint32_t * const g_2139 = &g_2140; static uint32_t * const *g_2138 = &g_2139; static uint32_t * const **g_2137 = &g_2138; static uint32_t * const ***g_2136 = &g_2137; static uint32_t * const ****g_2135 = &g_2136; static int32_t * const volatile ***g_2143 = &g_831; static uint16_t g_2253 = 0x4C90L; static uint32_t g_2279 = 4294967294UL; static const uint32_t g_2302 = 18446744073709551615UL; static int32_t * const g_2383 = &g_833; static int32_t g_2499 = 0xD6C72585L; static const struct S0 *g_2504 = &g_19; static const struct S0 **g_2503 = &g_2504; static int16_t g_2532 = 9L; static uint32_t g_2543 = 0UL; static uint32_t ****g_2600 = &g_1408; static int16_t g_2628 = 0xF8E7L; static uint32_t g_2835 = 0xAB59CE29L; static int32_t * volatile g_2837[9] = {&g_1101,&g_1473,&g_1101,&g_1101,&g_1473,&g_1101,&g_1101,&g_1473,&g_1101}; static int32_t * volatile g_2838 = &g_1440;/* VOLATILE GLOBAL g_2838 */ static int32_t ** const volatile g_2916 = &g_78;/* VOLATILE GLOBAL g_2916 */ static int32_t ** const volatile g_3000 = &g_78;/* VOLATILE GLOBAL g_3000 */ static const uint32_t ***** volatile g_3034 = (void*)0;/* VOLATILE GLOBAL g_3034 */ static const uint32_t *g_3038 = &g_843; static const uint32_t **g_3037 = &g_3038; static const uint32_t ***g_3036 = &g_3037; static const uint32_t ****g_3035 = &g_3036; static const volatile int64_t g_3084[7] = {0L,0L,0L,0L,0L,0L,0L}; static int32_t ** volatile g_3085[1][9] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}}; static int32_t ** volatile g_3086 = &g_77;/* VOLATILE GLOBAL g_3086 */ static int32_t ** volatile g_3087 = &g_78;/* VOLATILE GLOBAL g_3087 */ static int32_t ** volatile g_3094 = &g_77;/* VOLATILE GLOBAL g_3094 */ static uint32_t ***g_3179 = (void*)0; static uint32_t ****g_3178 = &g_3179; static uint32_t *****g_3177 = &g_3178; static int32_t ** volatile g_3487 = &g_78;/* VOLATILE GLOBAL g_3487 */ static int16_t g_3538 = 0x11A0L; static int32_t ** volatile g_3585 = &g_77;/* VOLATILE GLOBAL g_3585 */ static const int32_t g_3679 = (-2L); static int32_t ** volatile g_3698 = &g_78;/* VOLATILE GLOBAL g_3698 */ static int8_t g_3716 = 0xF5L; static int8_t g_3719 = 0x3FL; static int8_t * const g_3718 = &g_3719; static int8_t * const *g_3717 = &g_3718; static int32_t ** const volatile g_3857 = &g_77;/* VOLATILE GLOBAL g_3857 */ static int8_t **g_3939 = &g_277; static int8_t *** volatile g_3938 = &g_3939;/* VOLATILE GLOBAL g_3938 */ static const uint32_t *g_4157 = &g_606[6]; static const uint32_t **g_4156 = &g_4157; static int32_t g_4173 = 0xED6F9EC4L; static uint16_t *** const *g_4184 = &g_2042[4][2][0]; static uint16_t *** const **g_4183[1][2][8] = {{{&g_4184,(void*)0,&g_4184,&g_4184,(void*)0,&g_4184,&g_4184,&g_4184},{(void*)0,&g_4184,&g_4184,&g_4184,(void*)0,&g_4184,&g_4184,(void*)0}}}; static uint8_t * const *g_4210[6] = {&g_401,&g_401,&g_401,&g_401,&g_401,&g_401}; static uint8_t * const **g_4209 = &g_4210[0]; static uint8_t **g_4213 = (void*)0; static uint8_t ***g_4212 = &g_4213; static const int32_t ** volatile g_4232 = &g_159;/* VOLATILE GLOBAL g_4232 */ static uint32_t *g_4328 = &g_839; static const uint16_t *g_4342 = (void*)0; static const uint16_t **g_4341 = &g_4342; static const uint16_t ***g_4340 = &g_4341; static const uint16_t ****g_4339 = &g_4340; static const uint16_t *****g_4338 = &g_4339; static int32_t **g_4352 = &g_78; static int32_t ***g_4351 = &g_4352; static int32_t ****g_4350 = &g_4351; static int16_t g_4404 = (-1L); static int64_t g_4480 = 2L; static int64_t *g_4545[2] = {(void*)0,(void*)0}; static int64_t g_4586 = 1L; static int32_t **g_4647 = &g_78; static volatile int8_t g_4649 = 0xE5L;/* VOLATILE GLOBAL g_4649 */ static volatile uint32_t g_4691[4][10][6] = {{{0xCD505EE1L,4294967295UL,0xCD505EE1L,4294967295UL,0xEEA3775EL,0xBC132C98L},{0xB8BE448DL,4294967291UL,0xAC45F480L,0x26611625L,7UL,0x8A3ABE65L},{0xF1341B0BL,0x4A4D9408L,3UL,0x26611625L,8UL,4294967295UL},{0xB8BE448DL,4294967289UL,4294967287UL,4294967295UL,5UL,4294967289UL},{0xCD505EE1L,0xB8BE448DL,0xF0AE9494L,0x06974D82L,0x9F9A51C3L,0xF59DFF04L},{0x9BF4D75DL,7UL,0x8D18E14FL,3UL,7UL,0xCD35A08CL},{0x26432499L,0x1CDDC186L,9UL,0UL,1UL,5UL},{0x253ABC15L,0xDF13F3F2L,0xCD505EE1L,0x104D5A1AL,0xBC132C98L,7UL},{4294967295UL,4294967286UL,0xA03F7513L,1UL,4294967295UL,8UL},{4294967289UL,0x4A4D9408L,0x3C96AADBL,4294967289UL,0xE5EB906AL,0UL}},{{0x26A28E28L,8UL,0x104D5A1AL,4294967294UL,0UL,0UL},{0xCD505EE1L,1UL,7UL,0x81B62C3DL,0xDCFCB68BL,4294967295UL},{0xDF13F3F2L,4294967291UL,0xCD35A08CL,8UL,8UL,0xCD35A08CL},{0x9F9A51C3L,0x9F9A51C3L,3UL,0xE5EB906AL,0x400D43E6L,0x81B62C3DL},{0xA03F7513L,0x26432499L,0x253ABC15L,4294967295UL,0xBC132C98L,3UL},{0x26611625L,0xA03F7513L,0x253ABC15L,0UL,0x9F9A51C3L,0x81B62C3DL},{0x8A3ABE65L,0UL,3UL,4294967289UL,0x06974D82L,0xCD35A08CL},{4294967289UL,0x06974D82L,0xCD35A08CL,0x46B6AB56L,0xF1341B0BL,4294967295UL},{0x253ABC15L,0xB8BE448DL,7UL,1UL,0xF0AE9494L,0UL},{0xF0AE9494L,4294967286UL,0x104D5A1AL,0xEEA3775EL,0x8AA3AE43L,0UL}},{{0x26432499L,0x9F9A51C3L,0x3C96AADBL,4294967289UL,0xBFB9E2BFL,8UL},{0xAC45F480L,4294967295UL,0xA03F7513L,4294967294UL,0xEEA3775EL,7UL},{0x26611625L,0x606BDE5EL,0xCD505EE1L,0xF59DFF04L,0xDCFCB68BL,5UL},{0x41A78517L,0x253ABC15L,7UL,7UL,4294967294UL,8UL},{4294967289UL,4294967295UL,0x3C96AADBL,7UL,4294967287UL,0xA03F7513L},{1UL,0UL,4UL,0x104D5A1AL,4UL,0UL},{0x5FB7473AL,1UL,9UL,0x26432499L,6UL,1UL},{0xBFB9E2BFL,0x9A86F217L,0x9F9A51C3L,4294967286UL,4294967289UL,0UL},{0xF1341B0BL,0x9A86F217L,0xE5EB906AL,0x8AA3AE43L,6UL,0x9BF4D75DL},{0xAC45F480L,1UL,0x06974D82L,0x606BDE5EL,4UL,0x8D18E14FL}},{{0xCD35A08CL,0UL,4294967295UL,4294967291UL,4294967287UL,0xBC132C98L},{0UL,4294967295UL,0xC39A8832L,0x3C96AADBL,4294967294UL,0x253ABC15L},{0xE5EB906AL,0x253ABC15L,2UL,0x8D18E14FL,0x400D43E6L,4294967286UL},{0x5FB7473AL,0UL,7UL,0xDF13F3F2L,4294967295UL,9UL},{2UL,3UL,7UL,4294967294UL,0UL,0UL},{0x81B62C3DL,0x091F4D94L,0xF1341B0BL,7UL,0xF0AE9494L,0xDF13F3F2L},{0x606BDE5EL,0xF1341B0BL,0x8A3ABE65L,0xA03F7513L,4UL,4294967286UL},{4294967294UL,0x606BDE5EL,0x9BF4D75DL,4294967286UL,4294967295UL,1UL},{0xCD505EE1L,0x8D18E14FL,0x3C96AADBL,0x3C96AADBL,0x8D18E14FL,0xCD505EE1L},{0xF1341B0BL,4294967286UL,0xBFB9E2BFL,0UL,0x091F4D94L,0xAC45F480L}}}; static volatile int32_t * volatile g_4734 = &g_37[1];/* VOLATILE GLOBAL g_4734 */ static volatile int32_t * volatile * volatile g_4735 = (void*)0;/* VOLATILE GLOBAL g_4735 */ static volatile int32_t * volatile * volatile g_4736 = &g_4734;/* VOLATILE GLOBAL g_4736 */ static const int32_t ** volatile g_4768[9] = {&g_159,&g_159,&g_159,&g_159,&g_159,&g_159,&g_159,&g_159,&g_159}; static uint8_t *** volatile * volatile g_4801 = &g_4212;/* VOLATILE GLOBAL g_4801 */ static uint8_t *** volatile * volatile * volatile g_4800 = &g_4801;/* VOLATILE GLOBAL g_4800 */ static int8_t ***g_4837[10] = {&g_3939,&g_3939,&g_3939,&g_3939,&g_3939,&g_3939,&g_3939,&g_3939,&g_3939,&g_3939}; static int8_t **** volatile g_4836 = &g_4837[7];/* VOLATILE GLOBAL g_4836 */ /* --- FORWARD DECLARATIONS --- */ const uint64_t func_1(void); uint16_t func_9(const int32_t p_10, uint16_t p_11, uint64_t p_12, uint32_t p_13); const int32_t func_14(struct S0 p_15, int8_t p_16, int32_t p_17, uint32_t p_18); int16_t func_30(int64_t p_31); int32_t * func_39(uint8_t p_40, int32_t * p_41, uint32_t p_42, int16_t p_43, int32_t p_44); uint32_t func_47(int32_t * p_48); int32_t * func_49(int32_t p_50, int8_t p_51, int32_t p_52, uint16_t p_53); uint8_t func_54(uint8_t p_55, int32_t p_56, int16_t p_57, int32_t * p_58); int16_t func_63(int32_t p_64); int32_t func_65(int32_t p_66); /* --- FUNCTIONS --- */ /* ------------------------------------------ */ /* * reads : g_2 g_19 g_36 g_38 g_37 g_60 g_78 g_101 g_104 g_77 g_108 g_1174 g_159 g_160 g_480 g_360 g_277 g_1270 g_635 g_1135 g_1473 g_714 g_278 g_601 g_1660 g_1000 g_1001 g_1002 g_158 g_881 g_782 g_401 g_135 g_1701 g_1409 g_1134 g_218 g_844 g_154 g_1407 g_1408 g_1759 g_999 g_1096 g_1808 g_510 g_204 g_970 g_836 g_1440 g_2041 g_2042 g_1904 g_1905 g_2835 g_2838 g_2916 g_2503 g_2504 g_2135 g_2136 g_1101 g_177 g_628 g_1661 g_1662 g_1664 g_1663 g_3000 g_2138 g_2139 g_609 g_141 g_1014 g_2137 g_3084 g_3086 g_3087 g_3094 g_217 g_1903 g_129 g_3177 g_878 g_164 g_3178 g_3179 g_2140 g_1059 g_1091 g_1516 g_1098 g_1667.f0 g_152 g_1964 g_2383 g_833 g_369 g_2143 g_831 g_785 g_665 g_666 g_332 g_3487 g_1131 g_3538 g_2600 g_308 g_627 g_3585 g_3679 g_3698 g_2543 g_3939 g_4157 g_606 g_4209 g_4210 g_4800 g_4328 g_203 g_4836 g_1394 * writes: g_2 g_36 g_38 g_60 g_77 g_101 g_104 g_1394 g_360 g_278 g_635 g_1473 g_1174 g_627 g_203 g_204 g_1667 g_156 g_341 g_135 g_176 g_1409 g_1059 g_1759 g_1012 g_1440 g_269 g_2042 g_972 g_308 g_881 g_78 g_628 g_177 g_158 g_1101 g_665 g_874 g_1002 g_2140 g_154 g_3035 g_1014 g_217 g_1134 g_129 g_164 g_262 g_3179 g_1135 g_1091 g_1516 g_1098 g_2835 g_37 g_1964 g_880 g_666 g_844 g_2041 g_3094 g_1131 g_1408 g_782 g_714 g_159 g_2543 g_2504 g_1100 g_839 g_4837 */ const uint64_t func_1(void) { /* block id: 0 */ uint8_t l_20 = 0xB2L; int8_t l_3535[4][4] = {{(-1L),0xD4L,0xD4L,(-1L)},{0xD4L,(-1L),0xD4L,0xD4L},{(-1L),(-1L),0L,(-1L)},{(-1L),0xD4L,0xD4L,(-1L)}}; int64_t *l_3536[4][1][6] = {{{&g_971,&g_971,&g_971,&g_1254,&g_1254,&g_971}},{{&g_971,&g_971,&g_1254,&g_971,&g_1254,&g_971}},{{&g_971,&g_971,&g_971,&g_971,&g_1254,&g_1254}},{{&g_1254,&g_971,&g_971,&g_1254,&g_971,&g_971}}}; int32_t l_3537 = 1L; int32_t l_4844[3]; int i, j, k; for (i = 0; i < 3; i++) l_4844[i] = 0x2254FA02L; g_2[3][2]++; l_4844[2] |= ((safe_sub_func_int8_t_s_s(((safe_sub_func_int64_t_s_s((((func_9(func_14(g_19, g_2[3][2], l_20, g_2[4][6]), l_20, (safe_sub_func_uint16_t_u_u((((l_3537 &= ((((safe_mod_func_uint16_t_u_u(l_20, g_218[7][0][0])) > (safe_mul_func_uint16_t_u_u(((safe_lshift_func_int16_t_s_s((safe_lshift_func_uint8_t_u_u((l_20 == l_20), l_20)), 11)) | 1L), l_20))) != l_20) <= l_3535[2][1])) , (void*)0) == (*g_999)), 0L)), g_3538) , (*g_1002)) , 0x8099L) , l_3535[2][1]), l_20)) | 0xFF0262F6L), l_3535[2][0])) , (-8L)); return l_3535[2][1]; } /* ------------------------------------------ */ /* * reads : g_164 g_2504 g_19 g_1001 g_1002 g_2600 g_2135 g_2136 g_2137 g_2138 g_2139 g_2140 g_480 g_360 g_401 g_135 g_308 g_154 g_609 g_3086 g_77 g_1473 g_38 g_3585 g_665 g_627 g_217 g_277 g_278 g_1096 g_2503 g_782 g_1174 g_714 g_177 g_3679 g_1904 g_1905 g_1903 g_3698 g_2543 g_3939 g_4157 g_606 g_4209 g_4210 g_4800 g_510 g_4328 g_999 g_1000 g_158 g_203 g_159 g_4836 g_1394 * writes: g_164 g_158 g_1408 g_2140 g_38 g_308 g_154 g_3035 g_1174 g_77 g_627 g_1473 g_665 g_881 g_782 g_1059 g_714 g_129 g_135 g_177 g_159 g_104 g_278 g_78 g_2543 g_2504 g_1394 g_1100 g_839 g_203 g_4837 */ uint16_t func_9(const int32_t p_10, uint16_t p_11, uint64_t p_12, uint32_t p_13) { /* block id: 1682 */ int32_t l_3544[4] = {7L,7L,7L,7L}; uint64_t *l_3545 = &g_164; struct S0 l_3562[1][5][9] = {{{{10670},{4332},{1929},{5000},{5000},{1929},{4332},{10670},{4332}},{{8924},{3544},{1929},{1929},{3544},{8924},{5000},{8924},{3544}},{{8924},{4332},{4332},{8924},{10670},{3544},{10670},{4332},{3544}},{{2930},{2930},{10670},{1929},{8924},{1929},{10670},{2930},{2930}},{{3544},{4332},{2930},{1929},{2930},{4332},{3544},{3544},{4332}}}}; uint32_t ****l_3563 = &g_1408; int32_t *l_3567 = &g_38; uint16_t *l_3579 = &g_714[3][7]; uint16_t **l_3578 = &l_3579; uint16_t **l_3580[2]; int32_t l_3587 = 0x1CA5E6F4L; int32_t l_3591 = 0xD5FA8784L; uint64_t l_3622 = 18446744073709551606UL; int8_t *l_3707 = &g_635[8]; int8_t **l_3712 = (void*)0; uint8_t l_3761 = 0x53L; int32_t l_3798 = 3L; int32_t l_3800 = (-1L); int32_t l_3802[1][6]; int32_t l_3864[7] = {0x85A019E4L,0x85A019E4L,0x85A019E4L,0x85A019E4L,0x85A019E4L,0x85A019E4L,0x85A019E4L}; const uint32_t l_3974 = 4294967289UL; uint32_t l_4035 = 0xA723A02FL; int32_t **l_4040[7] = {&g_78,&g_78,&g_78,&g_78,&g_78,&g_78,&g_78}; uint32_t l_4107[10]; uint32_t l_4146 = 4294967295UL; int16_t *l_4282[8]; uint16_t l_4304 = 0x8646L; const uint16_t *l_4337 = &g_1135[4]; const uint16_t **l_4336 = &l_4337; const uint16_t ***l_4335 = &l_4336; const uint16_t ****l_4334 = &l_4335; const uint16_t *****l_4333 = &l_4334; const uint32_t ** const *l_4364 = (void*)0; uint32_t ***** const l_4391[9] = {&g_3178,&g_3178,&g_3178,&g_3178,&g_3178,&g_3178,&g_3178,&g_3178,&g_3178}; uint32_t l_4396 = 1UL; uint16_t l_4400 = 0xC2D9L; uint64_t l_4405[4][1] = {{4UL},{0x4AF8A62203FEC9C6LL},{4UL},{0x4AF8A62203FEC9C6LL}}; uint64_t l_4587 = 0xAD18E4D9FB528FDDLL; int64_t l_4588 = 9L; int32_t l_4589 = 7L; int64_t l_4614 = 0xD0DD0A7AD02AB5B5LL; int32_t l_4673 = 0L; int32_t l_4684 = 0xA167C28CL; int32_t l_4690 = 0x43A495B2L; uint32_t l_4760[10][10] = {{4294967292UL,0xDC695E73L,6UL,4294967287UL,0x6219FDD4L,6UL,0x99786083L,0UL,0x48E8C6B8L,4UL},{0x6219FDD4L,0xB52CBB99L,0x5DAE8D4CL,4294967287UL,4294967295UL,0x55B41805L,0x6219FDD4L,0xE0D6F038L,0xE0D6F038L,0x6219FDD4L},{4294967286UL,0UL,4294967295UL,4294967295UL,0UL,4294967286UL,4294967291UL,4294967292UL,0xB52CBB99L,0xE0D6F038L},{0x99786083L,4294967292UL,6UL,4UL,0xDC695E73L,0x5568E7ACL,4UL,0x6219FDD4L,0x5568E7ACL,0xE8A67A0EL},{0x99786083L,0xB52CBB99L,0x55B41805L,0x99786083L,1UL,4294967286UL,0xE8A67A0EL,4294967286UL,1UL,0x99786083L},{4294967286UL,0xE8A67A0EL,4294967286UL,1UL,0x99786083L,0x55B41805L,0xB52CBB99L,0x99786083L,4294967295UL,0xE0D6F038L},{0x6219FDD4L,4UL,0x5568E7ACL,0xDC695E73L,4UL,6UL,4294967292UL,0x99786083L,0x5568E7ACL,4294967287UL},{4294967292UL,4294967291UL,4294967286UL,0UL,4294967295UL,4294967295UL,0UL,4294967286UL,4294967291UL,4294967292UL},{0xE0D6F038L,0x6219FDD4L,0x55B41805L,4294967295UL,4294967287UL,0x5DAE8D4CL,0xB52CBB99L,0x6219FDD4L,4294967286UL,3UL},{0UL,0x99786083L,6UL,0x6219FDD4L,4294967287UL,6UL,0xDC695E73L,4294967292UL,0x48E8C6B8L,4294967292UL}}; uint8_t l_4765 = 0UL; const int32_t **l_4769 = &g_159; uint8_t ****l_4771 = &g_4212; uint8_t *****l_4770 = &l_4771; int64_t l_4842 = 0x1EB92BCF94D50374LL; int i, j, k; for (i = 0; i < 2; i++) l_3580[i] = (void*)0; for (i = 0; i < 1; i++) { for (j = 0; j < 6; j++) l_3802[i][j] = 0xB70003B8L; } for (i = 0; i < 10; i++) l_4107[i] = 4294967287UL; for (i = 0; i < 8; i++) l_4282[i] = &g_1096[0][5][0]; if ((safe_mul_func_uint8_t_u_u(((!(safe_div_func_uint64_t_u_u((((*l_3545) |= l_3544[0]) || (safe_add_func_uint8_t_u_u((safe_sub_func_uint64_t_u_u((++(*l_3545)), (safe_mul_func_uint16_t_u_u(l_3544[0], ((safe_sub_func_int16_t_s_s((0x6327L < (((((((1UL == (safe_mul_func_int8_t_s_s(l_3544[2], (-1L)))) == (safe_mul_func_uint16_t_u_u(p_12, 0x2429L))) != (safe_rshift_func_int8_t_s_s((((((l_3562[0][4][5] , 18446744073709551615UL) , p_10) && 0L) && l_3544[0]) <= l_3544[0]), p_13))) , 1UL) , l_3563) == l_3563) == p_12)), p_12)) == (-1L)))))), 0UL))), l_3544[0]))) && p_13), l_3562[0][4][5].f0))) { /* block id: 1685 */ int8_t l_3564 = 0x3EL; int32_t l_3565 = 7L; int32_t l_3566[3]; uint32_t ***l_3568[4] = {&g_1409,&g_1409,&g_1409,&g_1409}; uint8_t *l_3573 = (void*)0; uint8_t *l_3574 = (void*)0; uint8_t *l_3575 = &g_308; uint16_t **l_3576[2]; uint16_t ***l_3577[8][9][1] = {{{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]}},{{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]}},{{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]}},{{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]}},{{(void*)0},{&g_479[1][2][0]},{&g_479[1][2][0]},{(void*)0},{(void*)0},{(void*)0},{&g_479[1][3][0]},{(void*)0},{(void*)0}},{{&g_479[1][3][0]},{(void*)0},{(void*)0},{&g_479[1][3][0]},{(void*)0},{(void*)0},{&g_479[1][3][0]},{(void*)0},{(void*)0}},{{&g_479[1][3][0]},{(void*)0},{(void*)0},{&g_479[1][3][0]},{(void*)0},{(void*)0},{&g_479[1][3][0]},{(void*)0},{(void*)0}},{{&g_479[1][3][0]},{(void*)0},{(void*)0},{&g_479[1][3][0]},{(void*)0},{(void*)0},{&g_479[1][3][0]},{(void*)0},{(void*)0}}}; int32_t l_3590[9] = {0x98C972D5L,0x98C972D5L,0x98C972D5L,0x98C972D5L,0x98C972D5L,0x98C972D5L,0x98C972D5L,0x98C972D5L,0x98C972D5L}; int8_t l_3592[4]; const struct S0 *l_3633[4][3] = {{&g_19,&g_19,&g_19},{&g_1667,&l_3562[0][4][5],&g_1667},{&g_19,&g_19,&g_19},{&g_1667,&l_3562[0][4][5],&g_1667}}; uint64_t *l_3697 = &g_269; int i, j, k; for (i = 0; i < 3; i++) l_3566[i] = (-4L); for (i = 0; i < 2; i++) l_3576[i] = &g_480; for (i = 0; i < 4; i++) l_3592[i] = 0xB4L; lbl_3664: l_3565 &= l_3564; lbl_3669: (*g_3086) = func_39(l_3566[1], l_3567, (((**g_1001) = (*g_2504)) , ((*****g_2135) ^= (l_3568[3] != ((*g_2600) = l_3568[3])))), ((*g_480) & l_3565), ((safe_sub_func_uint32_t_u_u((safe_div_func_int64_t_s_s((((l_3580[1] = (((*l_3575) ^= ((*l_3567) = (*g_401))) , (l_3578 = l_3576[0]))) == (void*)0) < l_3566[1]), 0x339EEBEB721D94BALL)), 0x475AB14EL)) <= 0xE53EB18DL)); for (g_627 = 0; (g_627 <= 7); g_627 += 1) { /* block id: 1697 */ int32_t l_3588 = 0xD7C1ABF0L; int32_t l_3589 = 0x65ABEE3BL; int32_t l_3635 = 0xF51BF8ECL; uint64_t l_3636 = 0UL; int32_t ***l_3663 = (void*)0; int64_t *l_3674 = &g_104; (*g_77) |= (safe_lshift_func_int16_t_s_s(0x4972L, 8)); if (p_10) { /* block id: 1699 */ uint8_t l_3593 = 0UL; int32_t l_3625 = 0xBD82B0C1L; int8_t ** const l_3642 = (void*)0; int16_t *l_3659 = &g_129; struct S0 l_3660 = {7562}; for (g_665 = 0; (g_665 <= 7); g_665 += 1) { /* block id: 1702 */ int32_t *l_3583 = &g_1473; int32_t *l_3621[9] = {&g_2499,&g_2499,&g_2499,&g_2499,&g_2499,&g_2499,&g_2499,&g_2499,&g_2499}; int32_t **l_3620[7] = {&l_3621[1],&l_3621[1],&l_3621[1],&l_3621[1],&l_3621[1],&l_3621[1],&l_3621[1]}; int32_t ***l_3619 = &l_3620[4]; int i; for (g_881 = 1; (g_881 <= 7); g_881 += 1) { /* block id: 1705 */ int32_t **l_3584 = (void*)0; int32_t *l_3586[10] = {&g_1101,&g_1101,(void*)0,&g_1101,&g_1101,(void*)0,&g_1101,&g_1101,(void*)0,&g_1101}; int16_t *l_3623[8] = {&g_129,&g_129,&g_129,&g_129,&g_129,&g_129,&g_129,&g_129}; int32_t l_3624[7][9]; struct S0 ***l_3628 = &g_634; struct S0 ****l_3627[2][6] = {{&l_3628,&l_3628,&l_3628,&l_3628,&l_3628,&l_3628},{&l_3628,&l_3628,&l_3628,&l_3628,&l_3628,&l_3628}}; int i, j; for (i = 0; i < 7; i++) { for (j = 0; j < 9; j++) l_3624[i][j] = 0x7CF1353DL; } (*g_3585) = l_3583; l_3593++; l_3625 ^= (0xBFFDEB31BB3278D5LL >= (4294967295UL ^ (g_217[(g_665 + 1)][g_627] ^ (safe_mod_func_int64_t_s_s(((p_11 , (safe_add_func_int64_t_s_s((((((safe_rshift_func_int8_t_s_u((((safe_add_func_uint64_t_u_u(((safe_sub_func_uint8_t_u_u(((*l_3575) ^= (safe_mul_func_int8_t_s_s((safe_mul_func_int8_t_s_s((0UL ^ ((l_3624[3][3] = (((*l_3567) = ((*l_3583) && (safe_sub_func_uint16_t_u_u((safe_div_func_uint16_t_u_u(((l_3590[3] = ((*l_3583) = ((safe_mul_func_int8_t_s_s((safe_lshift_func_int16_t_s_s(((+((((((void*)0 != l_3619) >= ((((*g_401) < 0L) , l_3589) && 4294967294UL)) | p_13) , 0x373BL) != 0xA7C1L)) ^ l_3622), 10)), (*l_3567))) == p_12))) < p_11), l_3564)), p_11)))) || 0x417187FBL)) , p_13)), (*g_401))), p_10))), 0x29L)) != (*g_277)), 6UL)) >= p_13) != p_13), 3)) , 0x4EL) >= (*g_277)) && p_12) , 1L), 0xB0169AF39487D66ELL))) || 0xEA15L), 7L))))); (*l_3567) &= (l_3588 , (safe_unary_minus_func_uint8_t_u((((*l_3583) | ((p_12 , l_3627[0][2]) != ((safe_add_func_uint32_t_u_u(((l_3625 = (safe_sub_func_int8_t_s_s(p_10, (*g_401)))) , l_3625), (0x54E9L != ((l_3590[3] , l_3592[3]) < g_1096[0][5][0])))) , (void*)0))) == p_13)))); } for (g_782 = 0; (g_782 <= 5); g_782 += 1) { /* block id: 1719 */ int i, j; l_3633[2][0] = (*g_2503); (*l_3567) &= ((g_217[g_782][g_665] & g_1174[g_782]) <= 18446744073709551613UL); } for (g_1059 = 0; (g_1059 <= 5); g_1059 += 1) { /* block id: 1725 */ int32_t *l_3634[1]; int i; for (i = 0; i < 1; i++) l_3634[i] = &g_38; ++l_3636; } } if ((+(((((l_3625 = ((**g_2138) = ((((((l_3565 ^ (((void*)0 != l_3642) > ((*l_3579)++))) <= ((safe_mod_func_int64_t_s_s((safe_mul_func_int8_t_s_s((safe_sub_func_int64_t_s_s(0x699C3B017E84BD01LL, ((((safe_lshift_func_uint8_t_u_s(((*g_401) = (safe_add_func_int8_t_s_s(((p_11 > (safe_mod_func_int64_t_s_s(((l_3635 = 0xEE38L) != (((safe_mul_func_int16_t_s_s(((*l_3659) = (l_3590[3] ^= p_12)), (l_3660 , ((safe_mul_func_int8_t_s_s(l_3593, 0x94L)) || l_3636)))) < 0x3EE36336L) > (*g_277))), g_308))) == l_3636), p_12))), 5)) <= l_3566[1]) , p_13) , l_3590[7]))), (*g_277))), 1UL)) ^ 255UL)) != (*g_277)) != (*l_3567)) > 1L) | p_11))) , (void*)0) != l_3663) > l_3588) && 0x7064834B37307060LL))) { /* block id: 1736 */ uint32_t *** const *l_3666 = &g_1408; uint32_t *** const **l_3665 = &l_3666; if (g_19.f0) goto lbl_3664; for (g_177 = 7; (g_177 >= 0); g_177 -= 1) { /* block id: 1740 */ int i, j; l_3665 = (void*)0; return g_217[g_177][g_627]; } } else { /* block id: 1744 */ if (p_12) break; } } else { /* block id: 1747 */ const int32_t **l_3670 = (void*)0; const int32_t **l_3671 = &g_159; for (g_177 = 0; (g_177 < (-27)); g_177 = safe_sub_func_uint64_t_u_u(g_177, 9)) { /* block id: 1750 */ if (l_3564) goto lbl_3669; return l_3635; } (*l_3671) = &p_10; } l_3635 ^= ((((*l_3575)--) > (((l_3562[0][4][5] , (0x48ACBD8CL >= (((*l_3674) = (1L | p_12)) , ((safe_mul_func_uint8_t_u_u((((((*g_401)--) , ((*g_277) &= (-1L))) || (&l_3568[3] != (g_3679 , &l_3568[3]))) | (*l_3567)), p_13)) & (*l_3567))))) == (*g_1904)) ^ 0x109AL)) > 255UL); (*l_3567) = ((safe_sub_func_int16_t_s_s((safe_add_func_uint32_t_u_u((safe_div_func_uint16_t_u_u((*l_3567), ((safe_mul_func_uint16_t_u_u((safe_div_func_int32_t_s_s(p_11, (*g_77))), p_12)) ^ (((safe_mul_func_int8_t_s_s(((safe_lshift_func_int16_t_s_s(((~l_3590[3]) , ((((l_3635 ^ (-10L)) ^ (&l_3622 != l_3697)) <= (**g_1903)) >= (*l_3567))), 2)) > (*g_277)), 0x5CL)) && (***g_2137)) >= p_10)))), l_3564)), l_3635)) != 0x420DL); } } else { /* block id: 1763 */ int8_t l_3699 = 1L; uint16_t ****l_3704[2][10][2] = {{{&g_2042[2][0][0],&g_2042[2][0][0]},{(void*)0,&g_2042[2][0][0]},{(void*)0,(void*)0},{(void*)0,&g_2042[2][0][0]},{(void*)0,&g_2042[2][0][0]},{&g_2042[2][0][0],&g_2042[2][0][0]},{(void*)0,&g_2042[2][0][0]},{(void*)0,(void*)0},{(void*)0,&g_2042[2][0][0]},{(void*)0,&g_2042[2][0][0]}},{{&g_2042[2][0][0],&g_2042[2][0][0]},{(void*)0,&g_2042[2][0][0]},{(void*)0,(void*)0},{(void*)0,&g_2042[2][0][0]},{(void*)0,&g_2042[2][0][0]},{&g_2042[2][0][0],&g_2042[2][0][0]},{(void*)0,&g_2042[2][0][0]},{(void*)0,(void*)0},{(void*)0,&g_2042[2][0][0]},{(void*)0,&g_2042[2][0][0]}}}; uint32_t l_3737[2][4] = {{1UL,4294967295UL,4294967295UL,1UL},{4294967295UL,1UL,4294967295UL,4294967295UL}}; struct S0 l_3742 = {6161}; int32_t l_3755 = (-1L); int32_t l_3796 = 1L; int32_t l_3797 = 0x62D3AF63L; int32_t l_3799 = 0x788BE193L; uint16_t *****l_3811 = &l_3704[1][6][0]; uint16_t *****l_3812[9][6] = {{&l_3704[1][8][0],&l_3704[1][6][0],&l_3704[0][3][0],(void*)0,&l_3704[0][3][0],&l_3704[1][6][0]},{&g_2041,(void*)0,&l_3704[1][6][0],(void*)0,&l_3704[1][6][0],&l_3704[1][9][1]},{(void*)0,&l_3704[1][6][0],&l_3704[1][9][1],&l_3704[0][3][0],&l_3704[0][6][0],&l_3704[0][9][0]},{&l_3704[0][8][0],&l_3704[1][6][0],&g_2041,&g_2041,&l_3704[1][6][0],&l_3704[0][8][0]},{&l_3704[1][6][0],(void*)0,&l_3704[1][6][0],&l_3704[1][6][0],&l_3704[0][3][0],&l_3704[1][4][0]},{&g_2041,&l_3704[1][6][0],&l_3704[0][6][0],&l_3704[1][8][0],&g_2041,&g_2041},{&g_2041,&l_3704[1][6][0],&l_3704[1][8][0],&l_3704[1][6][0],&g_2041,&l_3704[0][3][0]},{&l_3704[1][6][0],&l_3704[0][3][0],&l_3704[0][6][0],&l_3704[1][6][0],&g_2041,&l_3704[1][9][1]},{&l_3704[1][6][0],&l_3704[0][8][0],&g_2041,&l_3704[1][8][0],&l_3704[1][9][1],&l_3704[1][9][1]}}; int32_t l_3829 = 0xE06CE030L; uint16_t l_3839 = 9UL; uint64_t *l_3903 = &l_3622; uint64_t l_3923[2][6][9] = {{{0xC3B5098982E2783FLL,0xDE295EB2C1068C09LL,0x9CE1A42722BA9221LL,0xFD12A7E2C7965D79LL,0xCDF83E7CBDF0B270LL,0x24970B27FA43AC66LL,0x767976EB4408245CLL,0x7A10E328D291169CLL,18446744073709551613UL},{0x9CE1A42722BA9221LL,0x24970B27FA43AC66LL,0xFD12A7E2C7965D79LL,18446744073709551615UL,0xC3B5098982E2783FLL,18446744073709551615UL,0xFD12A7E2C7965D79LL,0x24970B27FA43AC66LL,0x9CE1A42722BA9221LL},{0xF53D447CB1AB93B7LL,0xC3B5098982E2783FLL,0xFD12A7E2C7965D79LL,18446744073709551615UL,0x3EEF8C6255666643LL,0xF5F8A9F42D338889LL,0xCDF83E7CBDF0B270LL,18446744073709551615UL,18446744073709551615UL},{18446744073709551615UL,0x767976EB4408245CLL,0x9CE1A42722BA9221LL,18446744073709551615UL,0x15CA5BB989F02E33LL,0xF53D447CB1AB93B7LL,18446744073709551607UL,18446744073709551607UL,0xF53D447CB1AB93B7LL},{0xF53D447CB1AB93B7LL,0x3EEF8C6255666643LL,0xCDF83E7CBDF0B270LL,0x3EEF8C6255666643LL,0xF53D447CB1AB93B7LL,0x767976EB4408245CLL,18446744073709551615UL,18446744073709551607UL,0xDE295EB2C1068C09LL},{0x9CE1A42722BA9221LL,0x7A10E328D291169CLL,0xDE295EB2C1068C09LL,0xCDF83E7CBDF0B270LL,0x2D07891927997E6CLL,18446744073709551613UL,5UL,18446744073709551615UL,0xF5F8A9F42D338889LL}},{{0xC3B5098982E2783FLL,18446744073709551615UL,0x24970B27FA43AC66LL,0xF5F8A9F42D338889LL,0x767976EB4408245CLL,0x767976EB4408245CLL,0xF5F8A9F42D338889LL,0x24970B27FA43AC66LL,18446744073709551615UL},{18446744073709551607UL,18446744073709551613UL,0xC3B5098982E2783FLL,0xF5F8A9F42D338889LL,0xCD95E9C769C4DDFFLL,0xF53D447CB1AB93B7LL,0x24970B27FA43AC66LL,0x7A10E328D291169CLL,1UL},{0xFD12A7E2C7965D79LL,1UL,0x767976EB4408245CLL,0xCDF83E7CBDF0B270LL,18446744073709551615UL,0xF5F8A9F42D338889LL,0x15CA5BB989F02E33LL,18446744073709551615UL,0x15CA5BB989F02E33LL},{18446744073709551615UL,18446744073709551613UL,0x3EEF8C6255666643LL,0x3EEF8C6255666643LL,18446744073709551613UL,18446744073709551615UL,0xDE295EB2C1068C09LL,18446744073709551615UL,0x15CA5BB989F02E33LL},{18446744073709551615UL,18446744073709551615UL,0x7A10E328D291169CLL,18446744073709551615UL,18446744073709551607UL,0x24970B27FA43AC66LL,18446744073709551615UL,0x3EEF8C6255666643LL,1UL},{18446744073709551615UL,0x7A10E328D291169CLL,18446744073709551615UL,18446744073709551615UL,0xDE295EB2C1068C09LL,0x2D07891927997E6CLL,0xDE295EB2C1068C09LL,18446744073709551615UL,18446744073709551615UL}}}; int8_t **l_3937 = &l_3707; int16_t l_3964[9][4] = {{0L,0x6DC5L,0xF08CL,0x8415L},{0L,0x6DC5L,0x6DC5L,0L},{0x6DC5L,0L,0L,0xD2F3L},{0x6DC5L,0L,0x6DC5L,0xF08CL},{0L,0xD2F3L,0xF08CL,0xF08CL},{0L,0L,0x8415L,0xD2F3L},{0xD2F3L,0L,0x8415L,0L},{0L,0x6DC5L,0xF08CL,0x8415L},{0L,0x6DC5L,0x6DC5L,0L}}; uint32_t ***l_3965[4] = {&g_1409,&g_1409,&g_1409,&g_1409}; int64_t l_3976 = 0L; int32_t l_3994 = 0L; int32_t l_3997 = 0xF1905300L; int32_t l_4001 = 0x2BC96E13L; int32_t l_4009 = (-1L); int32_t l_4010 = 0xE73BBDE0L; int32_t l_4014 = 0xDE2E963CL; int32_t l_4018 = 0x3E0ABA5DL; int32_t l_4019 = (-1L); int32_t l_4021 = (-1L); int32_t l_4026 = 0xBC0A3CBEL; int64_t l_4033 = 0xFDE210A7C7B68C41LL; int32_t *l_4053 = &g_973; int32_t **l_4052[8][1][2] = {{{&l_4053,&l_4053}},{{&l_4053,&l_4053}},{{&l_4053,&l_4053}},{{&l_4053,&l_4053}},{{&l_4053,&l_4053}},{{&l_4053,&l_4053}},{{&l_4053,&l_4053}},{{&l_4053,&l_4053}}}; int32_t **l_4073 = &l_3567; int32_t *l_4119 = &l_4010; int16_t l_4145 = 0x8B2FL; uint32_t **l_4155 = (void*)0; const uint32_t **l_4158 = &g_4157; int32_t l_4227 = 4L; int32_t l_4233 = 9L; uint32_t l_4237 = 0xF9F2752FL; uint8_t l_4264[6] = {0x00L,0x2DL,0x00L,0x00L,0x2DL,0x00L}; int16_t l_4481[10] = {(-6L),0x5088L,(-6L),(-6L),0x5088L,(-6L),(-6L),0x5088L,(-6L),(-6L)}; uint8_t l_4515 = 1UL; int32_t *****l_4516 = &g_4350; int16_t l_4537 = 0xE47AL; int32_t l_4576 = (-1L); uint8_t ***l_4592 = &g_4213; uint32_t *** const *l_4607 = &l_3965[0]; uint32_t *** const **l_4606 = &l_4607; int64_t l_4677[7][3] = {{1L,0L,2L},{0x3A1B92FA82EE218ALL,0x3A1B92FA82EE218ALL,2L},{0L,1L,2L},{1L,0L,2L},{0x3A1B92FA82EE218ALL,0x3A1B92FA82EE218ALL,2L},{0L,1L,2L},{1L,0L,2L}}; int32_t l_4685 = 0xE4F78D7CL; int32_t l_4686 = 0x30045702L; int32_t l_4687 = 0x53FDE750L; int32_t l_4688 = 0xC56D20A2L; int32_t l_4689[1]; const int32_t *l_4756 = &l_4688; int i, j, k; for (i = 0; i < 1; i++) l_4689[i] = 0xEE3B00B7L; (*g_3698) = &l_3587; } (*l_4769) = &p_10; for (g_2543 = 2; (g_2543 <= 6); g_2543 += 1) { /* block id: 2256 */ const struct S0 *l_4772[1][4][3] = {{{(void*)0,(void*)0,(void*)0},{&g_158,&g_158,&g_158},{(void*)0,(void*)0,(void*)0},{&g_158,&g_158,&g_158}}}; int32_t l_4773 = (-1L); uint8_t *****l_4799 = &l_4771; int32_t l_4802 = 0xBCD9D4EAL; int32_t l_4808[2][2]; int i, j, k; for (i = 0; i < 2; i++) { for (j = 0; j < 2; j++) l_4808[i][j] = 1L; } l_4770 = (void*)0; for (g_1473 = 0; (g_1473 <= 6); g_1473 += 1) { /* block id: 2260 */ uint32_t l_4779[9][3] = {{4294967286UL,0xBFB94051L,4294967286UL},{0xD5E1E2EFL,0xD5E1E2EFL,0xD5E1E2EFL},{4294967286UL,0xBFB94051L,4294967286UL},{0xD5E1E2EFL,0xD5E1E2EFL,0xD5E1E2EFL},{4294967286UL,0xBFB94051L,4294967286UL},{0xD5E1E2EFL,0xD5E1E2EFL,0xD5E1E2EFL},{4294967286UL,0xBFB94051L,4294967286UL},{0xD5E1E2EFL,0xD5E1E2EFL,0xD5E1E2EFL},{4294967286UL,0xBFB94051L,4294967286UL}}; int64_t l_4795 = 0x1A12F1922A5CAD6FLL; int32_t l_4803[6]; struct S0 l_4812 = {7050}; int32_t l_4834 = 9L; uint8_t l_4843[4][10] = {{255UL,255UL,255UL,255UL,255UL,255UL,255UL,255UL,255UL,255UL},{255UL,0x7EL,0x7EL,255UL,0x7EL,0x7EL,255UL,0x7EL,0x7EL,255UL},{0x7EL,255UL,0x7EL,0x7EL,255UL,0x7EL,0x7EL,255UL,0x7EL,0x7EL},{255UL,255UL,255UL,255UL,255UL,255UL,255UL,255UL,255UL,255UL}}; int i, j; for (i = 0; i < 6; i++) l_4803[i] = 2L; for (g_104 = 0; (g_104 >= 0); g_104 -= 1) { /* block id: 2263 */ int32_t l_4778 = 0xF7A0FFE6L; int i, j, k; if (p_12) break; l_4778 = (((*l_3545) = (&l_3562[0][1][6] == ((*g_2503) = l_4772[0][2][0]))) , (1UL >= (((***g_4209) ^= ((l_4773 | ((safe_lshift_func_uint16_t_u_u(0x4457L, 15)) || 0L)) | (((~(**g_3939)) > (((!p_10) , (void*)0) != (void*)0)) , (*g_4157)))) || l_4773))); } for (g_1394 = 0; (g_1394 <= 0); g_1394 += 1) { /* block id: 2272 */ int32_t l_4807[6]; int8_t ***l_4835 = (void*)0; int i; for (i = 0; i < 6; i++) l_4807[i] = 0xC6DAB7E2L; l_4779[6][2]--; for (g_1100 = 0; (g_1100 >= 0); g_1100 -= 1) { /* block id: 2276 */ struct S0 l_4782 = {10778}; int32_t l_4804 = 0x4B065359L; int32_t l_4805 = 0x1C0ED899L; int32_t l_4806[4] = {0x34E8C1A8L,0x34E8C1A8L,0x34E8C1A8L,0x34E8C1A8L}; int i; if ((l_4782 , (18446744073709551611UL & (safe_sub_func_int64_t_s_s(l_4779[6][2], (safe_sub_func_int8_t_s_s((safe_div_func_int64_t_s_s((safe_div_func_uint8_t_u_u(((((0L >= (l_4782.f0 < (l_4802 = ((((*g_4328) = (safe_rshift_func_int16_t_s_u(((l_4795 || ((l_4773 = (+(((*g_277) , (safe_add_func_int16_t_s_s((((l_4799 == g_4800) || (*****g_2135)) > g_510), 65526UL))) == 8UL))) , p_11)) & l_4782.f0), p_12))) ^ p_10) <= l_4779[2][2])))) != 0x178E21E83D15DD58LL) , &g_4351) == (void*)0), l_4803[3])), p_10)), 0xFAL))))))) { /* block id: 2280 */ uint16_t l_4809 = 65533UL; ++l_4809; } else { /* block id: 2282 */ struct S0 *l_4813[2][10][1]; int i, j, k; for (i = 0; i < 2; i++) { for (j = 0; j < 10; j++) { for (k = 0; k < 1; k++) l_4813[i][j][k] = &l_4812; } } l_4782 = ((****g_999) = l_4812); return l_4773; } l_4834 &= (l_4803[4] = ((safe_mul_func_uint8_t_u_u((safe_mul_func_uint16_t_u_u((((safe_rshift_func_uint16_t_u_u(((***g_1000) , ((safe_div_func_int8_t_s_s((l_4804 | (((((safe_rshift_func_uint16_t_u_s(1UL, (safe_mod_func_int16_t_s_s((g_203 ^= (*l_3567)), (safe_lshift_func_uint8_t_u_s((((void*)0 == &g_1096[0][5][0]) != g_19.f0), (safe_sub_func_uint32_t_u_u(((safe_mod_func_int64_t_s_s((safe_add_func_int64_t_s_s(p_11, ((0xEFB85FCF2FE66C54LL < 1UL) && 0xE14408ACL))), p_12)) >= p_13), l_4812.f0)))))))) && (***g_4209)) >= l_4808[1][0]) < p_12) ^ l_4808[1][0])), 0x51L)) < l_4773)), 4)) >= p_12) == 0L), p_13)), p_13)) , (*g_159))); (*g_4836) = l_4835; l_4773 = (l_4804 = p_13); } (*l_3567) = (((safe_mul_func_uint8_t_u_u((((void*)0 != (*g_999)) , ((void*)0 == &g_1661)), ((!(~(((((p_11 , (l_4802 = (p_10 || 0x75L))) , 3L) , (((l_4842 == p_13) & p_12) , p_11)) , l_4843[0][8]) , l_4808[1][0]))) >= 0x070C9ECBL))) > p_10) , p_11); } } } return (*l_3567); } /* ------------------------------------------ */ /* * reads : g_19.f0 g_36 g_38 g_2 g_37 g_60 g_19 g_78 g_101 g_104 g_77 g_108 g_1174 g_159 g_160 g_480 g_360 g_277 g_1270 g_635 g_1135 g_1473 g_714 g_278 g_601 g_1660 g_1000 g_1001 g_1002 g_158 g_881 g_782 g_401 g_135 g_1701 g_1409 g_1134 g_218 g_844 g_154 g_1407 g_1408 g_1759 g_999 g_1096 g_1808 g_510 g_204 g_970 g_836 g_1440 g_2041 g_2042 g_1904 g_1905 g_2835 g_2838 g_2916 g_2503 g_2504 g_2135 g_2136 g_1101 g_177 g_628 g_1661 g_1662 g_1664 g_1663 g_3000 g_2138 g_2139 g_609 g_141 g_1014 g_2137 g_3084 g_3086 g_3087 g_3094 g_217 g_1903 g_129 g_3177 g_878 g_164 g_3178 g_3179 g_2140 g_1059 g_1098 g_1516 g_1667.f0 g_152 g_2383 g_833 g_369 g_2143 g_831 g_785 g_665 g_666 g_332 g_3487 g_1131 g_1091 g_1964 * writes: g_36 g_38 g_60 g_77 g_101 g_104 g_1394 g_360 g_278 g_635 g_1473 g_1174 g_627 g_203 g_204 g_1667 g_156 g_341 g_135 g_176 g_1409 g_1059 g_1759 g_1012 g_1440 g_269 g_2042 g_972 g_308 g_881 g_78 g_628 g_177 g_158 g_1101 g_665 g_874 g_1002 g_2140 g_154 g_3035 g_1014 g_217 g_1134 g_129 g_164 g_262 g_3179 g_1135 g_1091 g_1516 g_1098 g_2835 g_37 g_1964 g_880 g_666 g_844 g_2041 g_3094 g_1131 */ const int32_t func_14(struct S0 p_15, int8_t p_16, int32_t p_17, uint32_t p_18) { /* block id: 2 */ int16_t l_32[5] = {0x898DL,0x898DL,0x898DL,0x898DL,0x898DL}; uint8_t l_3097 = 3UL; int32_t l_3098 = (-1L); struct S0 l_3111[8] = {{14576},{15808},{14576},{15808},{14576},{15808},{14576},{15808}}; uint64_t *l_3121 = &g_217[0][4]; int32_t l_3130 = 1L; int8_t *l_3131 = &g_1134; int32_t l_3132 = 0xB3E5DDB7L; uint32_t ***l_3133[10] = {&g_1409,&g_1409,&g_1409,&g_1409,&g_1409,&g_1409,&g_1409,&g_1409,&g_1409,&g_1409}; int32_t l_3134 = 0x867079E3L; struct S0 **l_3138 = (void*)0; int16_t *l_3146 = (void*)0; int16_t *l_3147 = (void*)0; int16_t *l_3148 = &g_129; int64_t l_3151 = 1L; int32_t l_3160[9][3][9] = {{{8L,(-1L),0x705A223DL,8L,(-4L),0x8395D976L,0xCC8988B8L,0x705A223DL,0L},{1L,0x0C4E1C50L,0L,0L,(-2L),0xABD27308L,(-3L),0L,0L},{0xC20C4054L,0x5230EDC3L,0xB57D4DB3L,0xD78F73B3L,(-8L),1L,1L,1L,1L}},{{0xD71235AFL,(-1L),0L,(-1L),0xD71235AFL,0L,(-2L),0L,0L},{0x705A223DL,(-1L),(-1L),(-1L),1L,(-1L),0L,8L,0x9C603098L},{0x909DBDF7L,0xDF4FB979L,(-1L),0x980C1535L,0x3248E07AL,0L,1L,4L,0xB2B77127L}},{{0x8025112FL,(-1L),0x5D4DCE52L,0xB1A7530AL,1L,1L,0x0DAA9CF5L,(-1L),1L},{0L,0xABD27308L,0L,0x980C1535L,0xD71235AFL,(-1L),1L,9L,0x3E5A6F5EL},{1L,0xD78F73B3L,0xFD03D70CL,0xC8ADD4A5L,0x578AE9ABL,(-9L),8L,0xB2DE6DB3L,8L}},{{1L,0L,0x9803CEF7L,0x9803CEF7L,0L,1L,0xDF4FB979L,(-3L),(-10L)},{0x5230EDC3L,(-9L),0xC20C4054L,(-1L),0xD1A81C9AL,0xB57D4DB3L,(-9L),(-1L),(-1L)},{0xB2B77127L,(-1L),0xE5993320L,(-4L),0L,0x3E5A6F5EL,0xDF4FB979L,0xE5993320L,0L}},{{0x98BCE5CAL,(-1L),0x5D4DCE52L,0L,0xCE2CEA9DL,0x29F59C99L,8L,0xD78F73B3L,0L},{0L,0x7747A35DL,0x7C7B3CD2L,9L,4L,0x07FF4BA9L,1L,0x98F4E1D8L,0x8D3A7AD5L},{0x5D4DCE52L,1L,(-1L),0x5EBA560EL,0x322F6BCFL,0x8025112FL,0xCE2CEA9DL,0L,0L}},{{(-1L),(-2L),0x8D3A7AD5L,0x0C4E1C50L,0x8D3A7AD5L,(-2L),(-1L),(-4L),0L},{0x62098C5BL,8L,(-1L),0x8025112FL,(-10L),0L,1L,(-1L),0xC20C4054L},{5L,(-2L),1L,0x2C6B9F1AL,(-7L),0xB2B77127L,0xABD27308L,(-4L),0L}},{{(-5L),0xD78F73B3L,0x0DAA9CF5L,0xD1A81C9AL,(-9L),0x705A223DL,0xC20C4054L,0L,1L},{0L,(-7L),(-3L),0x9803CEF7L,0L,0L,1L,0x98F4E1D8L,0x0C4E1C50L},{0xB57D4DB3L,(-1L),0xC8ADD4A5L,0x0DAA9CF5L,0x8025112FL,0xB57D4DB3L,(-4L),0xD78F73B3L,(-1L)}},{{0xE5993320L,0xD71235AFL,0L,0xBF239444L,0xBF239444L,0L,0xD71235AFL,0xE5993320L,(-2L)},{0L,0xC8ADD4A5L,(-1L),0x9C603098L,8L,(-1L),(-10L),(-1L),0L},{0L,0x9AE81DB2L,(-10L),(-2L),0L,(-1L),9L,(-3L),(-2L)}},{{0xD1A81C9AL,0xCC8988B8L,(-1L),0L,0x8395D976L,0x5D4DCE52L,0L,0xB2DE6DB3L,(-1L)},{0x07FF4BA9L,(-1L),0xBF239444L,0L,0x8D3A7AD5L,0x54433FC7L,0L,9L,0x0C4E1C50L},{(-1L),0xB25589F0L,0L,8L,0x5D4DCE52L,0L,1L,0x9C603098L,1L}}}; int32_t *l_3164 = &g_1440; const int64_t l_3174 = 0xFB3C1BBDBF9ED820LL; uint32_t *****l_3180 = (void*)0; uint32_t *l_3182[9] = {&g_785,&g_785,&g_785,&g_785,&g_785,&g_785,&g_785,&g_785,&g_785}; uint32_t ** const l_3181[1][9][1] = {{{(void*)0},{&l_3182[6]},{(void*)0},{&l_3182[6]},{&l_3182[7]},{&l_3182[6]},{&l_3182[6]},{&l_3182[7]},{&l_3182[6]}}}; uint32_t *****l_3183 = &g_3178; uint32_t l_3186 = 0xE6E65787L; uint16_t *l_3252 = &g_1135[2]; uint32_t l_3303 = 1UL; uint8_t **l_3398 = &g_401; int32_t *l_3463 = &g_851[4]; int32_t ** const l_3462[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}; uint32_t l_3482[5] = {8UL,8UL,8UL,8UL,8UL}; int i, j, k; l_3098 = (p_16 && ((safe_unary_minus_func_int64_t_s((!((g_19.f0 | (((g_19.f0 == (safe_lshift_func_int16_t_s_s((safe_add_func_uint8_t_u_u((g_19.f0 , (((safe_rshift_func_int8_t_s_u((~((func_30(l_32[2]) , ((safe_add_func_int16_t_s_s(((void*)0 != (**g_2135)), (l_32[2] ^ 0x3664B418ACC3BC45LL))) ^ l_32[2])) | 1UL)), p_17)) , l_3097) || 0xA29EL)), p_17)), 13))) == (-1L)) != l_3097)) == 9L)))) & 0xFBFDL)); l_3134 &= (safe_div_func_int16_t_s_s(((((safe_sub_func_uint16_t_u_u((safe_rshift_func_uint8_t_u_s(l_32[2], (safe_rshift_func_uint16_t_u_u(0x9144L, 13)))), ((((l_3132 |= ((((safe_lshift_func_uint8_t_u_s(p_16, (*g_277))) || 0xB46327EBE258DC78LL) >= (safe_add_func_uint32_t_u_u((((*g_1002) = l_3111[6]) , ((safe_unary_minus_func_int32_t_s((((*l_3131) = (((safe_sub_func_int8_t_s_s(((safe_mul_func_uint8_t_u_u(((((safe_mod_func_int16_t_s_s((-6L), (l_3098 &= (safe_mod_func_int8_t_s_s(((((*l_3121)++) ^ (p_15.f0 && (safe_rshift_func_int16_t_s_s(((safe_add_func_uint16_t_u_u((safe_sub_func_int32_t_s_s((*g_159), p_18)), p_16)) ^ l_3097), 13)))) | (**g_1903)), p_15.f0))))) & 0x78L) , p_18) >= 1L), p_15.f0)) & l_32[0]), p_16)) , l_3130) , (*g_277))) <= (*g_401)))) < 0xDB2AL)), p_18))) | 0x96332EA0415A9C7FLL)) , 1L) , l_3133[3]) == l_3133[6]))) != p_17) , l_32[0]) != 0x239DL), 65530UL)); if ((p_15.f0 != ((safe_mul_func_uint8_t_u_u((~((((((void*)0 != l_3138) , 1L) <= ((safe_rshift_func_int8_t_s_s(l_3111[6].f0, (safe_unary_minus_func_uint16_t_u((--(*g_480)))))) , 1UL)) && 0x2DL) || ((safe_div_func_int64_t_s_s((((p_17 , ((*l_3148) |= 0x522BL)) & l_3111[6].f0) > 3L), 0xD7A3AFA68A00B36CLL)) && l_3098))), 0xE0L)) == p_18))) { /* block id: 1519 */ uint64_t l_3149 = 9UL; int32_t l_3150[9] = {0x8B410B8DL,0x8B410B8DL,0x8B410B8DL,0x8B410B8DL,0x8B410B8DL,0x8B410B8DL,0x8B410B8DL,0x8B410B8DL,0x8B410B8DL}; int32_t *l_3152 = &g_1270; int32_t *l_3153 = &g_36; int32_t *l_3154 = &l_3150[1]; int32_t *l_3155[7][1]; uint64_t l_3156 = 0UL; int32_t l_3159 = (-8L); uint32_t l_3161 = 0x23B76E83L; int32_t **l_3165 = &g_78; int i, j; for (i = 0; i < 7; i++) { for (j = 0; j < 1; j++) l_3155[i][j] = (void*)0; } l_3149 = p_15.f0; l_3156++; --l_3161; (*l_3165) = l_3164; } else { /* block id: 1524 */ return (*g_159); } if ((safe_mul_func_uint16_t_u_u(((*l_3164) = (safe_div_func_uint64_t_u_u(((safe_mod_func_int64_t_s_s((safe_mod_func_uint16_t_u_u(0x0F3CL, l_3174)), ((((safe_mul_func_uint8_t_u_u(((l_3180 = g_3177) == ((((*g_480) = ((void*)0 != l_3181[0][4][0])) && (-1L)) , l_3183)), ((safe_div_func_uint16_t_u_u(((l_3186 , (p_16 > (*l_3164))) , (*l_3164)), p_18)) , (*l_3164)))) & (*l_3164)) == 0x5DAEL) , (*l_3164)))) & (*g_78)), 0x8F989395EDD8F9C5LL))), l_3186))) { /* block id: 1530 */ uint16_t l_3191 = 2UL; int64_t *l_3210 = (void*)0; int64_t *l_3211 = (void*)0; int64_t *l_3212 = (void*)0; int64_t *l_3213 = (void*)0; int64_t *l_3214 = &g_262; int32_t l_3218 = 6L; int32_t l_3219 = (-1L); uint32_t **l_3240 = &l_3182[7]; uint32_t ***l_3239 = &l_3240; uint16_t *l_3241 = &g_1135[7]; int32_t l_3242 = (-8L); int32_t *l_3258 = &g_782; int32_t **l_3257[10] = {&l_3258,&l_3258,&l_3258,&l_3258,&l_3258,&l_3258,&l_3258,&l_3258,&l_3258,&l_3258}; struct S0 l_3278 = {10835}; struct S0 **l_3298 = &g_1002; int32_t l_3313 = 0x1F858547L; int32_t l_3316 = 0x09D8D5BFL; int32_t l_3325 = 0L; int32_t l_3329 = (-4L); int32_t l_3330 = 0xA4985532L; int32_t l_3334 = 0L; int32_t l_3336 = 0x295A9869L; int32_t l_3337 = 0x9608F1CAL; int32_t l_3338 = 1L; int32_t l_3339[4][4][6] = {{{0xFE3C3617L,0x3784135EL,0x8A0E287AL,0x3784135EL,0xFE3C3617L,4L},{0xFE3C3617L,1L,0x3784135EL,0L,5L,5L},{1L,(-6L),(-6L),1L,0x8A0E287AL,5L},{0L,5L,0x3784135EL,4L,0L,4L}},{{0x8A0E287AL,0xD905D161L,0x8A0E287AL,0x3CB36DDAL,0L,0xFE3C3617L},{0x3784135EL,5L,0L,0x8A0E287AL,0x8A0E287AL,0L},{(-6L),(-6L),1L,0x8A0E287AL,5L,0x3CB36DDAL},{0x3784135EL,1L,0xFE3C3617L,0x3CB36DDAL,0xFE3C3617L,1L}},{{0x8A0E287AL,0x3784135EL,0xFE3C3617L,4L,(-6L),0x3CB36DDAL},{0L,4L,1L,1L,4L,0L},{1L,4L,0L,0L,(-6L),0xFE3C3617L},{0xFE3C3617L,0x3784135EL,0x8A0E287AL,0x3784135EL,0xFE3C3617L,4L}},{{0xFE3C3617L,1L,0x3784135EL,0L,5L,5L},{1L,(-6L),(-6L),1L,0x8A0E287AL,5L},{0L,5L,0x3784135EL,4L,0L,4L},{0x8A0E287AL,0xD905D161L,0x8A0E287AL,0x3CB36DDAL,0L,0xFE3C3617L}}}; int16_t l_3340 = 7L; uint8_t l_3342 = 5UL; int32_t l_3352 = (-1L); int64_t l_3373[7] = {0L,0x3441BE08D0DFC5F8LL,0x3441BE08D0DFC5F8LL,0L,0x3441BE08D0DFC5F8LL,0x3441BE08D0DFC5F8LL,0L}; uint8_t **l_3397 = &g_401; uint16_t ***l_3441[8][7] = {{&g_479[1][2][0],&g_479[2][4][0],&g_479[1][2][0],&g_479[2][1][0],(void*)0,&g_479[1][3][0],&g_479[1][3][0]},{&g_479[2][2][0],&g_479[1][3][0],(void*)0,(void*)0,&g_479[1][3][0],&g_479[2][2][0],&g_479[1][3][0]},{&g_479[1][2][0],&g_479[2][1][0],(void*)0,&g_479[1][3][0],&g_479[1][3][0],&g_479[1][3][0],(void*)0},{(void*)0,(void*)0,&g_479[2][2][0],(void*)0,&g_479[2][2][0],(void*)0,(void*)0},{&g_479[1][3][0],&g_479[2][1][0],(void*)0,&g_479[2][1][0],&g_479[1][3][0],&g_479[0][2][0],(void*)0},{&g_479[1][3][0],&g_479[1][3][0],&g_479[1][3][0],&g_479[2][2][0],&g_479[2][2][0],&g_479[1][3][0],&g_479[1][3][0]},{(void*)0,&g_479[2][4][0],(void*)0,&g_479[1][3][0],&g_479[1][3][0],&g_479[2][1][0],&g_479[1][3][0]},{&g_479[1][3][0],&g_479[2][2][0],&g_479[1][3][0],(void*)0,(void*)0,(void*)0,&g_479[1][3][0]}}; int i, j, k; lbl_3485: l_3164 = func_49((~(!p_17)), (((safe_mod_func_int64_t_s_s(((((l_3191 > p_16) == (*l_3164)) & ((safe_mul_func_uint16_t_u_u(((((*l_3214) = (p_16 > (((safe_mul_func_uint8_t_u_u(((*g_401) , ((safe_mod_func_int8_t_s_s((4294967295UL < (safe_mod_func_uint64_t_u_u((g_164 ^= ((((safe_sub_func_uint8_t_u_u((safe_mod_func_uint64_t_u_u((((*l_3164) ^ (((safe_div_func_uint32_t_u_u((safe_lshift_func_uint8_t_u_s(l_3191, 5)), (*l_3164))) != l_3191) , (*l_3164))) , 18446744073709551608UL), (**g_1903))), p_16)) , (*l_3164)) == 0x8AFAC0C11730DF7BLL) , g_878)), 0x09B82E9A4786DA11LL))), (*g_401))) == 4UL)), l_3191)) , l_3191) <= (*g_78)))) != (*l_3164)) , 65535UL), l_3191)) < l_3191)) & l_3191), 18446744073709551613UL)) || (*l_3164)) , 0L), (*g_159), (*g_480)); if (((((((safe_unary_minus_func_uint64_t_u(((*l_3121) = 0x3F1281C67EFD1812LL))) && (((safe_lshift_func_uint16_t_u_s((((*g_480)++) , (safe_sub_func_uint32_t_u_u(0x673F9426L, (((safe_mul_func_uint16_t_u_u((((p_15.f0 , ((((((*l_3164) = ((*g_480) |= 65535UL)) <= (safe_unary_minus_func_uint64_t_u(0x9E26992DA9B1169DLL))) | ((safe_rshift_func_int16_t_s_s(((((safe_mod_func_int64_t_s_s((((((l_3242 = (l_3218 = (l_3219 = (((*l_3241) ^= (safe_div_func_uint16_t_u_u((((safe_sub_func_uint16_t_u_u((safe_mod_func_uint16_t_u_u(((safe_mod_func_uint32_t_u_u((((void*)0 == &g_269) & (((*g_3178) = (*g_3178)) != l_3239)), p_18)) >= (*g_277)), p_17)), 0xFA2CL)) ^ (-5L)) || l_3219), l_3219))) >= 0x93D3L)))) < g_3084[1]) , p_16) < 249UL) , p_18), g_141[1][3][0])) , (*****g_2135)) < (-1L)) , g_141[4][3][1]), 15)) == (*g_159))) != g_1059) , 18446744073709551615UL)) & g_714[5][6]) ^ p_16), 0x5A1CL)) && (*g_480)) , p_16)))), l_32[0])) & l_3191) && p_17)) , p_16) , (*g_277)) | p_15.f0) , (*l_3164))) { /* block id: 1543 */ return p_15.f0; } else { /* block id: 1545 */ int64_t l_3245 = (-1L); int32_t l_3259 = 0xD04C7137L; uint64_t *l_3273 = &g_217[5][3]; int32_t l_3277 = (-3L); uint32_t l_3304[5]; int32_t l_3315 = (-1L); int32_t l_3318 = (-1L); int32_t l_3320 = 0xE51E0E8FL; int32_t l_3322 = 0xF0A05871L; int32_t l_3323 = 6L; int32_t l_3324 = 0xB64BC91FL; int32_t l_3326 = 0x711922EFL; int32_t l_3331 = 1L; int32_t l_3332 = 0xEB26F3BCL; int32_t l_3333 = (-2L); int32_t l_3341[5][7][7] = {{{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)}},{{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)}},{{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)}},{{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x7D9E7D2BL,0x7D9E7D2BL,(-9L)},{0xD7D6327DL,0x1FDFD6DBL,0xD7D6327DL,(-9L),0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL},{2L,1L,2L,0x7D9E7D2BL,0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL}},{{2L,1L,2L,0x7D9E7D2BL,0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL},{2L,1L,2L,0x7D9E7D2BL,0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL},{2L,1L,2L,0x7D9E7D2BL,0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL},{2L,1L,2L,0x7D9E7D2BL,0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL},{2L,1L,2L,0x7D9E7D2BL,0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL},{2L,1L,2L,0x7D9E7D2BL,0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL},{2L,1L,2L,0x7D9E7D2BL,0x1FDFD6DBL,0x1FDFD6DBL,0x7D9E7D2BL}}}; int8_t *l_3388 = &g_874; uint16_t l_3407 = 0xB3ABL; struct S0 ***l_3453 = &l_3138; int32_t l_3464 = 0L; uint64_t l_3469 = 18446744073709551615UL; uint32_t *l_3486 = &g_332; int64_t **l_3503[4] = {&l_3211,&l_3211,&l_3211,&l_3211}; int i, j, k; for (i = 0; i < 5; i++) l_3304[i] = 18446744073709551615UL; l_3259 &= ((((*l_3164) || ((safe_add_func_int8_t_s_s((((((l_3245 == (*****g_2135)) && (p_17 & (((safe_sub_func_int16_t_s_s((safe_mod_func_int16_t_s_s(((safe_div_func_int32_t_s_s(((void*)0 == l_3252), (((255UL != (!(safe_mul_func_uint8_t_u_u((safe_unary_minus_func_int64_t_s(0x1A2E57C15A7FD3D6LL)), (*g_401))))) && 1L) | 1L))) || p_18), (*l_3164))), p_17)) , l_3257[8]) == &l_3258))) == l_3245) & p_18) & p_15.f0), p_15.f0)) , 0xE98424A6L)) | (*l_3164)) && l_3191); for (g_1091 = 15; (g_1091 > 26); g_1091 = safe_add_func_uint16_t_u_u(g_1091, 7)) { /* block id: 1549 */ uint64_t **l_3272[10][9] = {{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,(void*)0,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121},{&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121,&l_3121}}; int32_t l_3275 = 0xCE933CE8L; int32_t *l_3276 = &l_3218; int32_t l_3321 = (-1L); int32_t l_3328 = 0xCEB9A570L; int32_t l_3335[8] = {0xEDCA72B3L,0xEDCA72B3L,0xEDCA72B3L,0xEDCA72B3L,0xEDCA72B3L,0xEDCA72B3L,0xEDCA72B3L,0xEDCA72B3L}; struct S0 **l_3350 = &g_1002; int i, j; l_3277 ^= ((*l_3276) ^= ((safe_add_func_uint8_t_u_u(((*g_401) = (safe_div_func_int32_t_s_s((safe_mod_func_uint64_t_u_u((safe_mod_func_int8_t_s_s(((g_177 , (((**g_3000) , 0L) == ((((*l_3164) == 0L) , (l_3273 = &g_666)) != (p_15.f0 , l_3121)))) || (+0x2898L)), l_3275)), 0x35E3A9610EC99DA3LL)), (*****g_2135)))), 255UL)) <= l_3259)); for (g_1516 = 0; (g_1516 >= 0); g_1516 -= 1) { /* block id: 1556 */ l_3278 = p_15; for (g_1098 = 0; (g_1098 <= 0); g_1098 += 1) { /* block id: 1560 */ int i, j, k; (*g_2838) = g_218[(g_1098 + 4)][(g_1098 + 3)][g_1516]; } } if (p_15.f0) continue; if ((safe_lshift_func_int16_t_s_s((safe_lshift_func_uint16_t_u_u((*g_480), 6)), (safe_lshift_func_int8_t_s_s(0x9FL, (safe_rshift_func_int16_t_s_s(((*l_3148) = (((!g_1667.f0) && ((((*g_277) = (+(p_16 || (safe_rshift_func_int8_t_s_u((safe_rshift_func_int8_t_s_u(((safe_mul_func_int16_t_s_s((safe_rshift_func_int8_t_s_u(((!(((((l_3298 != (p_18 , (**g_999))) , ((((*l_3131) = (safe_div_func_uint64_t_u_u((safe_mod_func_int32_t_s_s(((((void*)0 != (**g_1660)) && p_18) & (-1L)), (*l_3164))), l_3278.f0))) || (*g_277)) && l_3278.f0)) <= p_18) < 3UL) , (-6L))) ^ (*l_3276)), 2)), l_3259)) , l_3303), l_3304[3])), 1))))) & 0x27L) ^ l_3245)) != p_18)), p_16))))))) { /* block id: 1568 */ int32_t l_3311 = 0x417D87BEL; int32_t l_3312 = 0xB1B5DA52L; int32_t l_3314 = 0L; int32_t l_3317 = 9L; int32_t l_3319 = 1L; int32_t l_3327[2][8] = {{0x76B701ECL,0L,2L,0L,0x76B701ECL,0x76B701ECL,0L,2L},{0x76B701ECL,0x76B701ECL,0L,2L,0L,0x76B701ECL,0x76B701ECL,0L}}; int i, j; (*g_78) ^= (safe_mul_func_int16_t_s_s(g_152[2], (((*g_277) &= (l_3219 |= (p_16 && (-1L)))) < p_17))); for (l_3186 = (-17); (l_3186 >= 6); l_3186++) { /* block id: 1574 */ int32_t *l_3309 = &g_1270; int32_t *l_3310[9] = {&l_3132,&l_3132,&l_3132,&l_3132,&l_3132,&l_3132,&l_3132,&l_3132,&l_3132}; int i; ++l_3342; return l_3277; } for (g_2835 = 0; (g_2835 <= 1); g_2835 += 1) { /* block id: 1580 */ struct S0 l_3345 = {1918}; struct S0 ***l_3351 = &l_3350; int i; g_37[g_2835] = (((((l_3345 , (safe_sub_func_int64_t_s_s((&p_16 == (void*)0), (safe_add_func_uint64_t_u_u(((*l_3276) , ((p_15.f0 , p_15.f0) >= (-1L))), (((*l_3351) = l_3350) == (void*)0)))))) , l_3352) > p_17) | 0x8548L) == 0xC63ADE5BL); } } else { /* block id: 1584 */ uint16_t l_3364 = 65530UL; for (g_1964 = 11; (g_1964 >= 6); g_1964--) { /* block id: 1587 */ int64_t l_3359 = 0x78E5175941960F72LL; int32_t **l_3362 = (void*)0; int32_t **l_3363 = &l_3164; (*l_3164) &= (((safe_unary_minus_func_uint64_t_u(p_15.f0)) , &g_2600) != (((***g_1000) , ((void*)0 == (*g_1661))) , &g_2600)); (*l_3363) = ((***g_2137) , func_39((*g_401), &l_3242, (((*g_480) = (p_16 || 0xC4CDL)) , ((((+((l_3359 = ((safe_rshift_func_uint16_t_u_u(p_16, 14)) && ((*l_3214) = (**g_1903)))) >= ((((safe_add_func_int64_t_s_s(l_3342, p_16)) | 0xFA2DL) ^ 0L) , (*g_277)))) < 0x63675CC3B270FE1DLL) && g_37[1]) > 0x54CF1E80L)), (*l_3164), (*g_2383))); --l_3364; (*l_3276) = (safe_mod_func_int32_t_s_s((((((g_369[4] && (safe_div_func_int64_t_s_s(((*g_2143) == (void*)0), ((*l_3121) = (g_785 ^ ((*l_3164) && ((*l_3298) == ((0xFAC2022AL && (safe_div_func_int16_t_s_s((((-10L) <= (p_18 != g_1473)) & p_17), 0xC30DL))) , (*g_2503))))))))) , (*g_401)) & l_3373[5]) , &p_16) == (void*)0), 1UL)); } return p_15.f0; } } for (l_3313 = 22; (l_3313 >= 7); --l_3313) { /* block id: 1602 */ int32_t **l_3376 = &g_77; int8_t *l_3386 = &g_874; uint16_t ***l_3440[1]; int8_t l_3461 = 0x91L; int i; for (i = 0; i < 1; i++) l_3440[i] = &g_479[1][3][0]; (*l_3376) = &l_3352; if ((**g_3087)) continue; for (l_3326 = 3; (l_3326 <= 8); l_3326 += 1) { /* block id: 1607 */ int64_t l_3396 = 1L; int32_t l_3402 = 0x0F49D4EBL; uint8_t l_3437 = 0xADL; int32_t l_3450 = 0L; uint16_t * const *l_3460 = (void*)0; for (g_665 = 0; (g_665 <= 5); g_665 += 1) { /* block id: 1610 */ int8_t **l_3387 = &l_3386; int8_t **l_3389[9] = {&g_277,(void*)0,(void*)0,&g_277,(void*)0,&g_277,(void*)0,&g_277,&g_277}; const uint64_t *l_3400 = &g_844; const uint64_t **l_3399 = &l_3400; int32_t l_3401 = (-1L); int i; l_3402 &= (safe_sub_func_int16_t_s_s(((&l_3151 == (*g_1903)) >= (safe_lshift_func_int16_t_s_u((safe_sub_func_int16_t_s_s(g_152[g_665], ((l_3401 = (safe_unary_minus_func_int8_t_s((safe_mul_func_uint16_t_u_u((((((((*l_3387) = l_3386) == (l_3388 = l_3388)) , ((*g_401) & ((safe_mul_func_int8_t_s_s((*g_277), 0xB1L)) == ((*l_3241) ^= (safe_lshift_func_int8_t_s_u(((((g_880[l_3326] = (safe_div_func_int64_t_s_s(0x09C9AD62126677A1LL, 0xC9BE2968BDBBE6EALL))) == l_3396) , l_3397) != l_3398), 1)))))) , (void*)0) != l_3399) >= g_152[g_665]), p_17))))) | (-4L)))), g_152[g_665]))), g_152[g_665])); } if ((((safe_rshift_func_int8_t_s_u((safe_mul_func_int8_t_s_s((l_3407 , ((safe_div_func_int8_t_s_s(((*l_3386) = (!(((((safe_unary_minus_func_uint32_t_u((l_3407 && (*l_3164)))) , (+(!((safe_sub_func_uint16_t_u_u((4294967295UL & ((p_15 , (safe_unary_minus_func_int8_t_s(((g_164 = ((*l_3164) || ((p_15 , ((*l_3273)--)) >= (g_844 |= (((((safe_add_func_int8_t_s_s(((safe_div_func_int8_t_s_s(0x0CL, (*l_3164))) & p_17), p_15.f0)) , &g_129) == &l_3340) <= p_15.f0) != 0UL))))) | g_141[1][3][0])))) , (*****g_2135))), p_16)) && p_18)))) | p_15.f0) & 0x5CC2F597L) ^ (-10L)))), (*g_277))) || (**g_2138))), (*g_277))), (*l_3164))) >= (-5L)) & p_18)) { /* block id: 1622 */ int16_t l_3431 = 0x1CBBL; uint64_t l_3436 = 0UL; (*g_78) |= ((((safe_lshift_func_int16_t_s_s(p_17, 6)) < (((safe_rshift_func_int8_t_s_u((safe_lshift_func_uint8_t_u_u((*g_401), 6)), (safe_div_func_uint16_t_u_u((*g_480), (0x96L ^ ((0xD6L > l_3431) & (p_18 , (safe_mod_func_uint16_t_u_u((((safe_mul_func_int16_t_s_s(6L, (((((l_3436 , (*g_1904)) & 0xD334704292F41C6FLL) || l_3437) <= (*l_3164)) >= 255UL))) , l_3341[1][1][5]) , p_17), (**l_3376)))))))))) , &g_879) == (void*)0)) == p_18) < l_3242); } else { /* block id: 1624 */ (*l_3376) = func_49(p_17, ((safe_add_func_int16_t_s_s(0x600CL, ((l_3402 || ((*l_3214) = ((0xA42AB83FL < (&g_627 != (*l_3398))) , (l_3440[0] == l_3441[6][3])))) || (safe_add_func_uint8_t_u_u((safe_div_func_uint8_t_u_u((((safe_div_func_int8_t_s_s((safe_div_func_int8_t_s_s((((*l_3148) = ((*g_401) ^ l_3450)) ^ l_3450), 1L)), (**l_3376))) >= (*g_401)) || 1UL), p_17)), (*g_277)))))) ^ p_16), (**l_3376), l_3313); } l_3464 ^= ((*g_277) & (safe_sub_func_uint16_t_u_u((((void*)0 != l_3453) || (*l_3164)), ((((((safe_mul_func_int16_t_s_s(((((safe_sub_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u(((((((p_18 , p_18) && ((((((l_3460 == ((l_3252 != (void*)0) , &l_3252)) ^ (*g_1904)) >= l_3461) ^ 18446744073709551606UL) != l_3245) | p_17)) | p_16) | (**l_3376)) && p_15.f0) , p_15.f0), g_152[2])), p_15.f0)) ^ g_104) , (*g_1660)) == l_3462[4]), g_332)) , 8L) || (*l_3164)) , 0UL) ^ 0xADL) , 0L)))); for (g_844 = 0; (g_844 <= 2); g_844 += 1) { /* block id: 1632 */ uint16_t *****l_3470 = &g_2041; int i, j, k; if (p_15.f0) break; l_3160[l_3326][g_844][(g_844 + 4)] |= (((safe_rshift_func_uint8_t_u_u((*g_401), 6)) && ((((****g_2136) = 0xA16C6D6DL) && (*l_3164)) <= (safe_rshift_func_uint8_t_u_u((*g_401), 4)))) >= ((l_3402 = l_3469) , 0x7B0707FFL)); (*l_3470) = &g_2042[5][2][4]; } } } for (g_1759 = 0; (g_1759 <= 3); g_1759 += 1) { /* block id: 1643 */ int64_t l_3473 = 0x2CD2D42BD79CEDE2LL; (**g_2916) = ((***g_1000) , (*g_2838)); for (g_1059 = 0; (g_1059 <= 3); g_1059 += 1) { /* block id: 1647 */ int32_t *l_3474 = &l_3341[2][6][3]; int32_t *l_3475 = &g_38; int32_t *l_3476 = &g_1174[0]; int32_t *l_3477 = &l_3334; int32_t *l_3478 = &l_3326; int32_t *l_3479 = &l_3132; int32_t *l_3480 = &l_3134; int32_t *l_3481 = (void*)0; uint32_t l_3498 = 0x7E9EE003L; (*l_3164) = (~((~0UL) & 65529UL)); --l_3482[1]; if (l_3464) break; for (l_3151 = 0; (l_3151 <= 3); l_3151 += 1) { /* block id: 1653 */ int i, j, k; if (p_16) goto lbl_3485; (*l_3164) = ((l_3486 = (void*)0) != (void*)0); (*g_3487) = &l_3130; (*l_3480) = ((g_141[(g_1059 + 3)][g_1759][l_3151] , p_17) || ((*l_3478) = ((*l_3164) >= (safe_mul_func_uint8_t_u_u(((safe_rshift_func_uint16_t_u_u((safe_mod_func_uint16_t_u_u(0xFA1AL, (safe_sub_func_uint32_t_u_u(p_18, (((((safe_rshift_func_int8_t_s_u(((*l_3388) = ((*g_401) ^ ((l_3498 || ((((((safe_lshift_func_int8_t_s_s((*g_277), (safe_mod_func_int64_t_s_s((*g_1904), 2L)))) >= l_3322) < 0x73AA19B56E1C85CBLL) , (*g_1001)) == &p_15) < 0xA78B2791L)) != 0L))), l_3473)) , 0x9AD00631E83A1EDFLL) , l_3316) , &g_1904) != l_3503[1]))))), 2)) | 4294967295UL), 255UL))))); } } } } } else { /* block id: 1665 */ for (l_3303 = 0; (l_3303 <= 8); l_3303 += 1) { /* block id: 1668 */ uint32_t l_3511 = 1UL; for (l_3186 = 0; (l_3186 <= 5); l_3186 += 1) { /* block id: 1671 */ int64_t *l_3519 = &g_1131; int32_t *l_3524 = &g_38; int i; g_3094 = (void*)0; (*l_3524) ^= (safe_mod_func_uint8_t_u_u((g_152[l_3186] > (safe_div_func_uint16_t_u_u(0xF40BL, (safe_div_func_uint32_t_u_u(((!(*l_3164)) > ((((l_3511 | ((****g_2136) & ((((+(((p_18 = (safe_mod_func_uint32_t_u_u(((***g_1000) , ((safe_sub_func_uint32_t_u_u((((*l_3519) |= 0L) & (safe_div_func_uint8_t_u_u((9L > (((*l_3121)--) != (*l_3164))), (*g_401)))), (*l_3164))) != (*g_401))), p_17))) , p_15.f0) , 0x7FD2L)) < p_15.f0) != (*g_480)) >= 0L))) ^ p_16) >= 0UL) , 0xEADCL)), p_16))))), (*g_401))); } } } return p_17; } /* ------------------------------------------ */ /* * reads : g_36 g_38 g_2 g_37 g_60 g_19.f0 g_19 g_78 g_101 g_104 g_77 g_108 g_1174 g_159 g_160 g_480 g_360 g_277 g_1270 g_635 g_1135 g_1473 g_714 g_278 g_601 g_1660 g_1000 g_1001 g_1002 g_158 g_881 g_782 g_401 g_135 g_1701 g_1409 g_1134 g_218 g_844 g_154 g_1407 g_1408 g_1759 g_999 g_1096 g_1808 g_510 g_204 g_970 g_836 g_1440 g_2041 g_2042 g_1904 g_1905 g_2835 g_2838 g_2916 g_2503 g_2504 g_2135 g_2136 g_1101 g_177 g_628 g_1661 g_1662 g_1664 g_1663 g_3000 g_2138 g_2139 g_609 g_141 g_1014 g_2137 g_3084 g_3086 g_3087 g_3094 * writes: g_36 g_38 g_60 g_77 g_101 g_104 g_1394 g_360 g_278 g_635 g_1473 g_1174 g_627 g_203 g_204 g_1667 g_156 g_341 g_135 g_176 g_1409 g_1059 g_1759 g_1012 g_1440 g_269 g_2042 g_972 g_308 g_881 g_78 g_628 g_177 g_158 g_1101 g_665 g_874 g_1002 g_2140 g_154 g_3035 g_1014 */ int16_t func_30(int64_t p_31) { /* block id: 3 */ uint16_t l_2806 = 0x7FD4L; uint16_t l_3067 = 1UL; int8_t l_3072 = 0x09L; int32_t l_3073 = 1L; for (p_31 = 0; (p_31 >= (-28)); --p_31) { /* block id: 6 */ uint64_t l_2805 = 6UL; int16_t l_3090 = 1L; struct S0 * const l_3091 = &g_158; struct S0 **l_3092[9] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}; struct S0 **l_3093 = &g_1002; int i; for (g_36 = 0; (g_36 <= 5); g_36 += 1) { /* block id: 9 */ int32_t l_3066 = 2L; uint8_t *l_3074 = &g_1014; int32_t l_3081 = 0x08B1E72AL; for (g_38 = 0; (g_38 <= 5); g_38 += 1) { /* block id: 12 */ uint32_t *l_59 = &g_60; int32_t *l_2804 = &g_1101; int32_t **l_3058[5] = {&l_2804,&l_2804,&l_2804,&l_2804,&l_2804}; int i, j; if (g_2[g_36][(g_38 + 1)]) break; if (g_37[1]) break; (*g_3000) = func_39(((g_2[g_36][(g_38 + 1)] && ((safe_mod_func_int32_t_s_s(((((*l_59) = ((**g_2138) = func_47(func_49((func_54(g_37[1], ((g_2[3][2] != ((*l_59) = g_36)) , (safe_mul_func_uint8_t_u_u(0x7FL, g_60))), (func_63(p_31) , g_635[7]), l_2804) ^ p_31), l_2805, l_2806, p_31)))) & l_2805) < 0xF480L), 0x3184BC0FL)) && (*g_277))) , (*g_401)), &g_36, p_31, l_2805, p_31); l_3073 ^= ((((safe_sub_func_uint16_t_u_u(p_31, (p_31 || ((0x6697E60EFFFDDCD4LL | ((!(safe_lshift_func_int8_t_s_u((*g_277), 2))) > l_3066)) >= (l_3067 | 1L))))) >= ((safe_mod_func_uint8_t_u_u(((*g_401) ^= (safe_sub_func_int16_t_s_s((l_2806 & g_141[1][3][0]), 1UL))), l_3066)) > 0xC9EDDFDCD39C4AEFLL)) == l_3072) == 253UL); } (*g_3086) = func_49(((((*l_3074) ^= ((*g_401) &= p_31)) < l_2806) > ((safe_mod_func_uint8_t_u_u(255UL, (safe_rshift_func_int8_t_s_u(((l_3081 |= (safe_div_func_int64_t_s_s(0x8A614F6A40E170DELL, 0xF1593C817D2B6B9ELL))) >= ((((**g_2135) == (((l_3066 , (safe_lshift_func_uint16_t_u_s(((p_31 != ((((*g_277) , p_31) | l_2805) , 0x3FL)) , (*g_480)), g_60))) <= g_3084[3]) , (void*)0)) , l_3066) | l_3066)), p_31)))) , (*g_1904))), (*g_277), (*g_159), p_31); } (*g_3087) = &l_3073; (*g_78) &= (safe_div_func_uint32_t_u_u(l_3090, l_3090)); (*l_3093) = l_3091; } (*g_3094) = &l_3073; return g_601[2][0][0]; } /* ------------------------------------------ */ /* * reads : g_154 g_609 * writes: g_154 g_3035 g_1174 */ int32_t * func_39(uint8_t p_40, int32_t * p_41, uint32_t p_42, int16_t p_43, int32_t p_44) { /* block id: 1485 */ const uint32_t *l_3033[5][4] = {{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}}; const uint32_t **l_3032 = &l_3033[3][0]; const uint32_t ***l_3031 = &l_3032; const uint32_t ****l_3030[4] = {&l_3031,&l_3031,&l_3031,&l_3031}; int32_t l_3041 = 0L; int32_t l_3042 = 0x8C1F9F16L; int32_t *l_3043 = &g_1440; int32_t *l_3044 = &g_972; int32_t l_3045 = 0xAA9F2E5FL; int32_t *l_3046 = &g_972; int32_t *l_3047 = &g_1101; int32_t *l_3048 = &l_3045; int32_t *l_3049 = &g_1440; int32_t *l_3050[5][4] = {{&g_38,(void*)0,(void*)0,&l_3045},{(void*)0,&l_3042,&l_3042,(void*)0},{(void*)0,&l_3045,&l_3042,&g_1174[4]},{(void*)0,&g_38,(void*)0,&g_38},{&g_38,&l_3042,(void*)0,&g_38}}; int8_t l_3051 = 0xBAL; int64_t l_3052 = 0xA3A2BCC5126EFA6ELL; int16_t l_3053 = (-7L); int32_t l_3054 = 0xD1DAE482L; uint8_t l_3055[6] = {0x8DL,0x8DL,0x8DL,0x8DL,0x8DL,0x8DL}; int i, j; for (g_154 = 1; (g_154 <= 9); g_154 += 1) { /* block id: 1488 */ int32_t *l_3040 = &g_1174[2]; int i; g_3035 = l_3030[3]; l_3041 |= ((*l_3040) = ((g_609[g_154] ^ 0x5AL) & (!g_609[g_154]))); } l_3055[2]++; return p_41; } /* ------------------------------------------ */ /* * reads : g_278 g_1904 g_1905 g_78 g_38 g_277 g_2835 g_2838 g_836 g_480 g_360 g_401 g_135 g_1002 g_158 g_36 g_972 g_308 g_881 g_2916 g_159 g_160 g_2042 g_2503 g_2504 g_19 g_1000 g_1001 g_2135 g_2136 g_104 g_1101 g_177 g_628 g_1661 g_1662 g_1664 g_1663 g_1096 g_2041 g_269 g_665 g_1394 g_3000 g_101 g_999 * writes: g_278 g_1440 g_360 g_156 g_972 g_308 g_881 g_78 g_628 g_177 g_158 g_1101 g_2042 g_269 g_665 g_1394 g_874 g_1002 */ uint32_t func_47(int32_t * p_48) { /* block id: 1374 */ uint32_t l_2807[5][4] = {{1UL,0xCC63A4A6L,0x653331D7L,0x653331D7L},{1UL,1UL,4UL,0xCC63A4A6L},{0xCC63A4A6L,1UL,4UL,1UL},{1UL,0UL,0x653331D7L,4UL},{1UL,0UL,0UL,1UL}}; int32_t l_2821 = 0x87209C80L; uint16_t ****l_2828 = &g_2042[2][0][0]; struct S0 l_2865 = {2791}; struct S0 ***l_2882[6] = {&g_634,&g_634,&g_634,&g_634,&g_634,&g_634}; int8_t *l_2904[9] = {&g_1134,&g_1134,&g_1134,&g_1134,&g_1134,&g_1134,&g_1134,&g_1134,&g_1134}; int32_t l_2922[4]; int i, j; for (i = 0; i < 4; i++) l_2922[i] = 0xAF835EABL; l_2807[3][1] &= 0x16F40085L; for (g_278 = (-18); (g_278 == 21); g_278++) { /* block id: 1378 */ uint32_t l_2810 = 0xBE0D7737L; int64_t *l_2819 = (void*)0; int64_t *l_2820[3]; uint16_t l_2834 = 65528UL; int32_t *l_2836 = (void*)0; int i; for (i = 0; i < 3; i++) l_2820[i] = &g_101[0]; (*g_2838) = (l_2810 == (safe_mul_func_int16_t_s_s(((((safe_lshift_func_uint16_t_u_u(((safe_rshift_func_int8_t_s_s((safe_sub_func_int32_t_s_s((((l_2821 &= l_2810) , (l_2810 >= 0xD354CAE85B5BCAB6LL)) && ((safe_div_func_uint16_t_u_u((((safe_mod_func_int64_t_s_s(((safe_rshift_func_int8_t_s_u((((void*)0 != l_2828) && ((safe_rshift_func_int8_t_s_s((0xA214L || (safe_lshift_func_uint16_t_u_s(l_2807[1][0], 7))), 5)) || (safe_unary_minus_func_uint16_t_u(1UL)))), l_2807[1][1])) ^ l_2810), (*g_1904))) & l_2810) ^ l_2807[3][1]), 0xBD6EL)) >= 0xBC7DBFD1L)), (*g_78))), (*g_277))) && 18446744073709551615UL), 9)) > l_2834) != 7L) , g_2835), l_2834))); } if ((0x35F032FDL == (l_2807[0][1] , (safe_div_func_int32_t_s_s(0L, ((-7L) && ((l_2821 , (+(-5L))) > g_836[4]))))))) { /* block id: 1382 */ int32_t l_2862 = (-2L); uint8_t *l_2876 = &g_156; int32_t l_2893 = 9L; const uint64_t l_2898 = 3UL; uint32_t * const **l_2911 = &g_794; int32_t l_2926 = (-1L); int32_t l_2927 = 0x29E856A1L; uint32_t l_2949 = 4294967293UL; uint32_t l_2973 = 1UL; if ((safe_mod_func_uint32_t_u_u((((*g_480)--) , ((((((l_2862 = ((safe_mul_func_int8_t_s_s(((safe_add_func_uint8_t_u_u((*g_401), (*g_277))) != (safe_mod_func_int16_t_s_s((safe_sub_func_uint32_t_u_u((((safe_div_func_uint8_t_u_u(((*l_2876) = (safe_add_func_int64_t_s_s((safe_rshift_func_int16_t_s_u(l_2862, l_2862)), ((safe_mul_func_uint16_t_u_u(l_2821, ((l_2865 , (safe_mod_func_int16_t_s_s(l_2807[0][3], 0x68A6L))) | (((safe_lshift_func_int16_t_s_u((safe_rshift_func_int16_t_s_u((safe_sub_func_uint16_t_u_u((safe_mod_func_uint32_t_u_u((((*g_480) = ((*g_1002) , l_2807[3][1])) & l_2862), l_2807[3][1])), l_2862)), 9)), l_2807[3][1])) >= l_2807[2][0]) ^ 0x49L)))) & 4294967287UL)))), 0xD6L)) < 0x52D4AADB915AE766LL) >= l_2807[4][0]), l_2862)), l_2807[1][1]))), 0x46L)) , (*p_48))) <= 0xA9DDF678L) ^ 0xB01A1E7AL) ^ 5UL) != 0x0CB54832L) < (*p_48))), 0xF9BF05AAL))) { /* block id: 1387 */ struct S0 *l_2921 = &g_158; int32_t *l_2923 = &l_2821; int32_t *l_2924 = &g_972; int32_t *l_2925[8] = {&g_1473,&g_1174[0],&g_1473,&g_1174[0],&g_1473,&g_1174[0],&g_1473,&g_1174[0]}; uint64_t l_2928 = 18446744073709551608UL; int i; for (g_972 = (-24); (g_972 >= (-30)); g_972--) { /* block id: 1390 */ const uint64_t l_2899[8][3] = {{1UL,0xF08B0E00B5322B0ELL,0UL},{0xF08B0E00B5322B0ELL,0x6CC5A38A5D5AAC2DLL,0x6CC5A38A5D5AAC2DLL},{0xE0506440506F4A0ELL,1UL,0UL},{0x8A8A75795A7F01DBLL,0x1845A34860CEB2DBLL,1UL},{0x8A8A75795A7F01DBLL,0x51B813DAEFAFC24DLL,0xF08B0E00B5322B0ELL},{0xE0506440506F4A0ELL,0x673DBD5D52FD6D98LL,0xE0506440506F4A0ELL},{0xF08B0E00B5322B0ELL,0x51B813DAEFAFC24DLL,0x8A8A75795A7F01DBLL},{1UL,0x1845A34860CEB2DBLL,0x8A8A75795A7F01DBLL}}; int32_t **l_2919 = &g_78; int32_t ***l_2918 = &l_2919; int32_t ****l_2917 = &l_2918; int i, j; for (g_308 = 2; (g_308 <= 9); g_308 += 1) { /* block id: 1393 */ struct S0 ** const l_2885 = (void*)0; struct S0 ** const *l_2884 = &l_2885; struct S0 ** const **l_2883 = &l_2884; int32_t *l_2890 = &g_1174[4]; int i; } } ++l_2928; } else { /* block id: 1419 */ int32_t *l_2931 = &l_2922[3]; int32_t *l_2932 = &l_2926; int32_t *l_2933 = (void*)0; int32_t *l_2934 = &l_2922[1]; int32_t *l_2935 = &l_2862; int32_t *l_2936 = &l_2922[1]; int32_t *l_2937 = &g_972; int32_t *l_2938 = &l_2922[3]; int32_t *l_2939 = &g_1101; int32_t *l_2940 = &l_2927; int32_t *l_2941 = (void*)0; int32_t *l_2942 = (void*)0; int32_t *l_2943 = (void*)0; int32_t *l_2944 = (void*)0; int32_t *l_2945 = &g_1440; int32_t *l_2946 = &l_2922[3]; int32_t *l_2947 = &l_2893; int32_t *l_2948[4][7][5] = {{{&l_2927,(void*)0,&l_2862,(void*)0,&l_2927},{(void*)0,(void*)0,&l_2927,(void*)0,&l_2922[3]},{&l_2821,&l_2922[3],(void*)0,&l_2922[1],(void*)0},{&g_1174[0],&l_2922[3],(void*)0,(void*)0,&l_2922[3]},{(void*)0,&l_2922[1],&g_1101,&l_2922[0],&l_2927},{&l_2922[3],&g_1440,&g_1440,&l_2922[3],(void*)0},{&l_2821,&l_2922[1],(void*)0,(void*)0,&l_2821}},{{(void*)0,&l_2922[3],&l_2927,&g_1440,&g_1174[0]},{&l_2927,&l_2922[3],&g_1101,(void*)0,(void*)0},{&g_1174[0],(void*)0,&g_1174[2],&l_2922[3],&l_2922[3]},{(void*)0,(void*)0,(void*)0,&l_2922[0],&l_2821},{&g_1174[0],&g_1270,(void*)0,&g_1440,&g_1270},{(void*)0,&l_2922[0],&g_1440,&l_2922[0],(void*)0},{&g_1270,&g_1440,(void*)0,&g_1270,(void*)0}},{{(void*)0,(void*)0,(void*)0,&l_2922[3],(void*)0},{(void*)0,(void*)0,&l_2927,&g_1440,(void*)0},{&l_2862,&l_2922[3],&l_2862,&l_2893,(void*)0},{(void*)0,(void*)0,&g_1174[2],(void*)0,&g_1270},{(void*)0,&l_2922[3],&l_2821,&l_2922[0],(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2862,&l_2922[0],&l_2862}},{{(void*)0,&g_1440,(void*)0,(void*)0,(void*)0},{(void*)0,&l_2922[0],(void*)0,&l_2893,(void*)0},{(void*)0,&g_1270,&g_1174[2],&g_1440,(void*)0},{(void*)0,&l_2922[3],&g_1440,&l_2922[3],(void*)0},{(void*)0,&g_1440,&g_1174[2],&g_1270,(void*)0},{(void*)0,&l_2893,(void*)0,&l_2922[0],(void*)0},{(void*)0,(void*)0,(void*)0,&g_1440,(void*)0}}}; int i, j, k; ++l_2949; } for (g_881 = 0; (g_881 == 25); g_881 = safe_add_func_uint16_t_u_u(g_881, 2)) { /* block id: 1424 */ (*g_2916) = &l_2927; } for (l_2821 = 0; (l_2821 >= (-17)); l_2821 = safe_sub_func_uint8_t_u_u(l_2821, 1)) { /* block id: 1429 */ uint32_t ** const *l_2964 = &g_1409; int32_t l_2993 = 3L; for (g_628 = 0; (g_628 <= 4); g_628 += 1) { /* block id: 1432 */ const int32_t l_2965 = 1L; int32_t l_2968 = 0x71E3606CL; p_48 = &l_2927; l_2968 &= (((((safe_rshift_func_uint16_t_u_s((0x36L & (~(((l_2862 = ((!(safe_mul_func_int8_t_s_s(((*g_277) = ((l_2862 , l_2964) == (l_2911 = &g_794))), (l_2965 ^ (safe_mod_func_int32_t_s_s((l_2893 && (*g_78)), (*g_159))))))) >= ((l_2965 > (-6L)) > l_2807[0][0]))) , (*g_277)) != 0xE4L))), 5)) || 0x21L) , (*l_2828)) == (void*)0) & l_2965); for (g_177 = 0; (g_177 <= 0); g_177 += 1) { /* block id: 1440 */ int64_t l_2969 = 1L; int32_t l_2970 = 7L; (***g_1000) = (**g_2503); for (g_1101 = 4; (g_1101 >= 0); g_1101 -= 1) { /* block id: 1444 */ uint32_t ****l_2976 = (void*)0; uint32_t * const *l_2980 = &g_2139; uint32_t * const ** const l_2979 = &l_2980; uint32_t * const ** const *l_2978 = &l_2979; uint32_t * const ** const **l_2977 = &l_2978; int16_t *l_2981[10] = {&g_1096[0][5][1],(void*)0,&g_880[4],(void*)0,&g_1096[0][5][1],&g_1096[0][5][1],(void*)0,&g_880[4],(void*)0,&g_1096[0][5][1]}; const uint8_t *l_2991[10][1][9] = {{{&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0]}},{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}},{{&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0]}},{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}},{{&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0]}},{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}},{{&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0]}},{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}},{{&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0],&g_1014,&g_218[7][0][0]}},{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}}}; const uint8_t **l_2990 = &l_2991[7][0][6]; const uint8_t ***l_2992 = &l_2990; int i, j, k; (*p_48) = l_2969; (*p_48) = ((l_2970 &= 0xEB6362F67A078F55LL) && (safe_mul_func_int32_t_s_s((*p_48), ((l_2973 | 0x1A3FE8340B4362C5LL) <= (((((l_2862 = (safe_add_func_uint16_t_u_u((l_2976 != (((*g_2135) == ((*l_2977) = (*g_2135))) , &l_2964)), l_2968))) >= g_104) , g_2042[(g_1101 + 3)][g_177][g_628]) == g_2042[(g_1101 + 1)][g_1101][g_1101]) < 0x1AL))))); (*g_2916) = func_49((**g_1661), (safe_div_func_int32_t_s_s(((safe_lshift_func_uint16_t_u_u((safe_rshift_func_uint8_t_u_u((((0x4790B43EF848B9DFLL >= (l_2970 > (safe_rshift_func_int8_t_s_s(((*g_277) = ((((l_2807[3][1] , (((*l_2992) = l_2990) != (void*)0)) & (0x3F9644F74B6B2F61LL > 7L)) , 7UL) || 4294967290UL)), l_2993)))) < l_2969) < 0xF809B3BBBB0B33EDLL), 5)), 11)) < g_1096[0][5][0]), 0xC48FBAFEL)), (*p_48), l_2973); if ((*p_48)) break; } if (l_2968) break; } } } for (g_269 = (-27); (g_269 <= 59); g_269++) { /* block id: 1461 */ for (g_665 = 0; (g_665 <= 13); g_665 = safe_add_func_int8_t_s_s(g_665, 5)) { /* block id: 1464 */ for (g_1394 = (-16); (g_1394 < 0); ++g_1394) { /* block id: 1467 */ (*g_3000) = p_48; } } if (l_2922[3]) continue; } } else { /* block id: 1473 */ int8_t *l_3011 = &g_278; int32_t l_3016 = (-9L); uint32_t *l_3020 = &g_2543; uint32_t **l_3019 = &l_3020; uint32_t *** const l_3018 = &l_3019; uint32_t *** const *l_3017 = &l_3018; int32_t *l_3021 = (void*)0; int32_t *l_3022 = (void*)0; int32_t *l_3023[10][7] = {{&g_972,&l_2821,&g_1270,&g_1174[0],&g_1174[0],&g_1270,&g_1174[1]},{&g_1270,(void*)0,&l_2821,&g_1270,&g_972,&g_972,&g_1174[0]},{&g_1174[5],&g_1174[0],&g_1174[0],&g_972,&g_38,&g_1473,&g_38},{&g_1270,&g_38,&g_38,&g_1270,&g_1174[0],&g_1174[0],&g_972},{&g_1174[0],&g_38,&g_1174[5],&g_1473,&g_1270,&g_1174[0],&l_2922[3]},{&g_972,&g_1174[0],&g_1174[0],(void*)0,&g_1174[0],&g_1174[0],&g_972},{&g_972,(void*)0,&g_1174[0],&l_2922[3],&g_1174[0],&g_1174[1],&g_38},{&g_36,&g_1174[1],&g_1473,&g_1174[0],&g_1270,&g_1270,&g_1174[0]},{&g_1174[0],&l_2821,&g_1174[0],&g_972,&g_1174[0],&g_36,&g_1174[1]},{&g_1174[0],&l_2922[3],&g_1174[0],&g_1174[1],&g_38,&l_2821,&g_36}}; int8_t l_3024 = 0xA4L; struct S0 *l_3025 = &g_158; int32_t l_3026 = 1L; uint16_t l_3027 = 0x69E8L; int i, j; (***g_999) = (((~(safe_add_func_int8_t_s_s((g_874 = ((safe_add_func_uint8_t_u_u((((safe_rshift_func_uint8_t_u_u(((l_2807[3][1] ^ (!((*g_277) = ((safe_mul_func_uint16_t_u_u((l_3011 == (void*)0), (safe_lshift_func_uint8_t_u_u(((safe_lshift_func_uint16_t_u_s(l_2922[2], l_2922[1])) ^ ((*p_48) >= l_3016)), 1)))) >= (l_2821 = ((*g_2838) = (g_101[1] , (l_3017 != (*g_2135))))))))) > (*g_401)), 0)) & l_2807[3][1]) , l_2821), l_2922[3])) | 0x2B35L)), (*g_401)))) > l_3024) , l_3025); --l_3027; } l_2922[1] = l_2821; return l_2821; } /* ------------------------------------------ */ /* * reads : g_2041 g_2042 * writes: g_2042 */ int32_t * func_49(int32_t p_50, int8_t p_51, int32_t p_52, uint16_t p_53) { /* block id: 1371 */ (*g_2041) = (*g_2041); return &g_36; } /* ------------------------------------------ */ /* * reads : * writes: */ uint8_t func_54(uint8_t p_55, int32_t p_56, int16_t p_57, int32_t * p_58) { /* block id: 1369 */ return p_56; } /* ------------------------------------------ */ /* * reads : g_19.f0 g_19 g_78 g_2 g_38 g_36 g_101 g_104 g_77 g_108 g_1174 g_159 g_160 g_480 g_360 g_277 g_1270 g_635 g_1135 g_1473 g_714 g_627 g_278 g_601 g_203 g_1660 g_204 g_1000 g_1001 g_1002 g_158 g_881 g_782 g_401 g_135 g_1701 g_1409 g_1134 g_218 g_844 g_154 g_1407 g_1408 g_1759 g_999 g_1096 g_1808 g_510 g_970 g_836 g_1440 g_269 * writes: g_77 g_101 g_104 g_1394 g_360 g_278 g_635 g_1473 g_1174 g_627 g_203 g_204 g_1667 g_156 g_341 g_135 g_176 g_1409 g_1059 g_1759 g_1012 g_1440 g_269 */ int16_t func_63(int32_t p_64) { /* block id: 16 */ int64_t l_71 = 0L; const int32_t *l_74[8][3][4] = {{{&g_38,&g_36,&g_38,(void*)0},{&g_38,(void*)0,&g_38,&g_36},{&g_38,&g_36,&g_38,(void*)0}},{{&g_38,(void*)0,&g_38,&g_36},{&g_38,&g_36,&g_38,(void*)0},{&g_38,(void*)0,&g_38,&g_36}},{{&g_38,&g_36,&g_38,(void*)0},{&g_38,(void*)0,&g_38,&g_36},{&g_38,&g_36,&g_38,(void*)0}},{{&g_38,(void*)0,&g_38,&g_36},{&g_38,&g_36,&g_38,(void*)0},{&g_38,(void*)0,&g_38,&g_36}},{{&g_38,&g_36,&g_38,(void*)0},{&g_38,(void*)0,&g_38,&g_36},{&g_38,&g_36,&g_38,(void*)0}},{{&g_38,(void*)0,&g_38,&g_36},{&g_38,&g_36,&g_38,(void*)0},{&g_38,(void*)0,&g_38,&g_36}},{{&g_38,&g_36,&g_38,(void*)0},{&g_38,(void*)0,&g_38,&g_36},{&g_38,&g_36,&g_38,(void*)0}},{{&g_38,(void*)0,&g_38,&g_36},{&g_38,&g_36,&g_38,(void*)0},{&g_38,(void*)0,&g_38,&g_36}}}; int32_t *l_75 = &g_36; int32_t **l_76[9]; struct S0 l_1869 = {3959}; const int64_t *l_1875 = &g_104; const int64_t **l_1874[2][9][7] = {{{&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875},{&l_1875,(void*)0,&l_1875,&l_1875,&l_1875,&l_1875,(void*)0},{&l_1875,&l_1875,(void*)0,&l_1875,&l_1875,(void*)0,(void*)0},{&l_1875,&l_1875,&l_1875,(void*)0,&l_1875,&l_1875,(void*)0},{&l_1875,&l_1875,&l_1875,(void*)0,&l_1875,&l_1875,&l_1875},{&l_1875,(void*)0,(void*)0,&l_1875,&l_1875,&l_1875,&l_1875},{(void*)0,&l_1875,(void*)0,&l_1875,&l_1875,&l_1875,&l_1875},{&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875},{&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875}},{{&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,(void*)0},{&l_1875,&l_1875,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&l_1875,&l_1875,&l_1875,(void*)0,&l_1875,&l_1875,(void*)0},{&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875},{&l_1875,(void*)0,&l_1875,&l_1875,&l_1875,&l_1875,&l_1875},{(void*)0,&l_1875,(void*)0,&l_1875,(void*)0,&l_1875,&l_1875},{&l_1875,&l_1875,&l_1875,(void*)0,&l_1875,&l_1875,&l_1875},{&l_1875,&l_1875,&l_1875,&l_1875,&l_1875,(void*)0,&l_1875},{&l_1875,(void*)0,&l_1875,&l_1875,&l_1875,&l_1875,(void*)0}}}; struct S0 *l_1899 = &g_1667; int32_t l_1919 = 0xD4C92F22L; uint8_t l_1963 = 1UL; const uint32_t *l_2045 = &g_663; const uint32_t **l_2044 = &l_2045; const uint32_t ***l_2043 = &l_2044; int32_t *l_2117 = (void*)0; int32_t ** const l_2116[4][8] = {{&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117},{&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117},{&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117},{&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117,&l_2117}}; int32_t ** const *l_2115 = &l_2116[2][5]; int32_t l_2158 = (-2L); int64_t l_2160 = 0L; uint32_t l_2161 = 0x39C2DBC5L; uint16_t *l_2173 = &g_609[0]; uint16_t * const l_2175[6][9] = {{(void*)0,&g_714[5][4],&g_360,&g_714[5][4],&g_360,(void*)0,&g_852,(void*)0,&g_360},{&g_176,(void*)0,&g_1091,(void*)0,(void*)0,(void*)0,&g_609[8],(void*)0,(void*)0},{&g_852,&g_714[5][4],&g_1091,(void*)0,(void*)0,&g_1091,&g_714[5][4],&g_852,(void*)0},{&g_852,&g_1091,(void*)0,&g_1091,&g_714[2][1],&g_714[5][4],&g_1135[7],(void*)0,&g_360},{&g_176,(void*)0,&g_360,&g_1135[7],(void*)0,&g_1135[0],(void*)0,&g_360,(void*)0},{(void*)0,&g_714[4][5],&g_1135[1],&g_1135[1],&g_714[4][5],(void*)0,&g_714[2][1],&g_360,(void*)0}}; uint16_t ***l_2186 = &g_479[1][3][0]; uint16_t ***l_2187 = &g_479[1][0][0]; uint64_t l_2228 = 0x0BADA359EA14A985LL; int32_t l_2254 = 0x7B051AF7L; uint32_t *****l_2465 = (void*)0; uint32_t l_2467[10][1] = {{18446744073709551615UL},{0x56B627C5L},{18446744073709551615UL},{0x56B627C5L},{18446744073709551615UL},{0x56B627C5L},{18446744073709551615UL},{0x56B627C5L},{18446744073709551615UL},{0x56B627C5L}}; uint32_t l_2568 = 0UL; uint8_t l_2572 = 3UL; uint64_t l_2590 = 0x9793986B405DD031LL; uint64_t l_2627 = 18446744073709551608UL; uint64_t l_2629[2][10] = {{0UL,18446744073709551615UL,18446744073709551615UL,0UL,18446744073709551615UL,18446744073709551615UL,0UL,18446744073709551615UL,18446744073709551615UL,0UL},{18446744073709551615UL,0UL,18446744073709551615UL,18446744073709551615UL,0UL,18446744073709551615UL,18446744073709551615UL,0UL,18446744073709551615UL,18446744073709551615UL}}; int8_t l_2660 = (-1L); uint16_t l_2714 = 0xA0AAL; const uint32_t l_2759[10][4][6] = {{{0x3E175491L,0x0619FA6EL,0x11457FE4L,0x0619FA6EL,0x3E175491L,4UL},{18446744073709551608UL,5UL,0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL},{0x3E175491L,18446744073709551615UL,0xFA9CE46CL,5UL,0x3E175491L,5UL},{0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL,18446744073709551608UL,4UL}},{{0x3E175491L,4UL,0x11457FE4L,4UL,0x3E175491L,0x0619FA6EL},{18446744073709551608UL,18446744073709551615UL,0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL},{0x3E175491L,5UL,0xFA9CE46CL,18446744073709551615UL,0x3E175491L,18446744073709551615UL},{0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL,18446744073709551608UL,0x0619FA6EL}},{{0x3E175491L,0x0619FA6EL,0x11457FE4L,0x0619FA6EL,0x3E175491L,4UL},{18446744073709551608UL,5UL,0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL},{0x3E175491L,18446744073709551615UL,0xFA9CE46CL,5UL,0x3E175491L,5UL},{0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL,18446744073709551608UL,4UL}},{{0x3E175491L,4UL,0x11457FE4L,4UL,0x3E175491L,0x0619FA6EL},{18446744073709551608UL,18446744073709551615UL,0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL},{0x3E175491L,5UL,0xFA9CE46CL,18446744073709551615UL,0x3E175491L,18446744073709551615UL},{0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL,18446744073709551608UL,0x0619FA6EL}},{{0x3E175491L,0x0619FA6EL,0x11457FE4L,0x0619FA6EL,0x3E175491L,4UL},{18446744073709551608UL,5UL,0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL},{0x3E175491L,18446744073709551615UL,0xFA9CE46CL,5UL,0x3E175491L,5UL},{0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL,18446744073709551608UL,4UL}},{{0x3E175491L,4UL,0x11457FE4L,4UL,0x3E175491L,0x0619FA6EL},{18446744073709551608UL,18446744073709551615UL,0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL},{0x3E175491L,5UL,0xFA9CE46CL,18446744073709551615UL,0x3E175491L,18446744073709551615UL},{0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL,18446744073709551608UL,0x0619FA6EL}},{{0x3E175491L,0x0619FA6EL,0x11457FE4L,0x0619FA6EL,0x3E175491L,4UL},{18446744073709551608UL,5UL,0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL},{0x3E175491L,18446744073709551615UL,0xFA9CE46CL,5UL,0x3E175491L,5UL},{0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL,18446744073709551608UL,4UL}},{{0x3E175491L,4UL,0x11457FE4L,4UL,0x3E175491L,0x0619FA6EL},{18446744073709551608UL,18446744073709551615UL,0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL},{0x3E175491L,5UL,0xFA9CE46CL,18446744073709551615UL,0x3E175491L,18446744073709551615UL},{0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL,18446744073709551608UL,0x0619FA6EL}},{{0x3E175491L,0x0619FA6EL,0x11457FE4L,0x0619FA6EL,0x3E175491L,4UL},{18446744073709551608UL,5UL,0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL},{0x3E175491L,18446744073709551615UL,0xFA9CE46CL,5UL,0x3E175491L,5UL},{0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL,18446744073709551608UL,4UL}},{{0x3E175491L,4UL,0x11457FE4L,4UL,0x3E175491L,0x0619FA6EL},{18446744073709551608UL,18446744073709551615UL,0x06786BF2L,4UL,0x06786BF2L,18446744073709551615UL},{0x3E175491L,5UL,0xFA9CE46CL,18446744073709551615UL,0x3E175491L,18446744073709551615UL},{0x06786BF2L,0x0619FA6EL,0x06786BF2L,5UL,18446744073709551608UL,0x0619FA6EL}}}; int16_t l_2763 = (-1L); int32_t *l_2803 = (void*)0; int i, j, k; for (i = 0; i < 9; i++) l_76[i] = &l_75; g_1440 &= func_65(((&g_38 != &g_38) || (safe_add_func_int32_t_s_s((safe_mod_func_int8_t_s_s(l_71, p_64)), ((g_19.f0 >= (safe_div_func_int32_t_s_s((((l_74[2][1][3] != (g_77 = l_75)) == ((((g_19 , &g_36) == g_78) != g_2[3][2]) ^ 0x89L)) <= g_38), p_64))) , 0x1071FCCBL))))); g_1473 = (*g_159); for (g_269 = 0; (g_269 <= 0); g_269 += 1) { /* block id: 868 */ int32_t *l_1841 = &g_972; int32_t l_1879 = 0x0AE99691L; int32_t l_1882 = 0x89B56CD7L; int32_t l_1884 = 0xA51831F9L; uint32_t * const *l_1960 = (void*)0; uint32_t *****l_1962[9][4] = {{&g_1407,&g_1407,(void*)0,&g_1407},{&g_1407,&g_1407,(void*)0,&g_1407},{&g_1407,&g_1407,(void*)0,&g_1407},{&g_1407,&g_1407,(void*)0,&g_1407},{&g_1407,&g_1407,(void*)0,&g_1407},{&g_1407,&g_1407,(void*)0,&g_1407},{&g_1407,&g_1407,(void*)0,&g_1407},{&g_1407,&g_1407,(void*)0,&g_1407},{&g_1407,&g_1407,(void*)0,&g_1407}}; uint32_t l_2020[8][10][1] = {{{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L}},{{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L}},{{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L}},{{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L}},{{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L}},{{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L}},{{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L}},{{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L},{0x85BCBA15L},{0xF1458727L}}}; const struct S0 l_2031 = {13297}; struct S0 l_2036 = {1857}; int64_t *l_2079 = &g_1516; int64_t **l_2078 = &l_2079; int32_t l_2123 = 0x39D7071AL; int32_t l_2124 = 0x11D1A3EBL; int32_t l_2125 = 0x60C8B86DL; int32_t l_2126 = 0L; int32_t l_2127 = 1L; int32_t l_2128 = 9L; int32_t l_2129 = 0x09852C98L; int32_t l_2130[10] = {1L,0x66E0050DL,1L,1L,0x66E0050DL,0x46A335ACL,0x46A335ACL,1L,0x46A335ACL,0x46A335ACL}; uint32_t * const ****l_2134 = (void*)0; int32_t l_2152 = (-1L); uint16_t *l_2167 = &g_609[0]; uint16_t **l_2174 = &l_2173; const uint8_t l_2176[9][5] = {{0UL,4UL,0x0CL,0xB0L,1UL},{0xB0L,250UL,0x46L,0xB5L,0x0CL},{0x83L,0UL,0xB0L,0xB0L,0UL},{0xA2L,0x2FL,255UL,0xEBL,0UL},{250UL,254UL,4UL,0xE9L,0x0CL},{0x2FL,0xE9L,0x73L,1UL,1UL},{250UL,255UL,250UL,0x73L,0xE7L},{0xA2L,255UL,0xB5L,0x2FL,254UL},{0x83L,0xE9L,1UL,4UL,0xA2L}}; int8_t *l_2177 = &g_874; int16_t *l_2178 = &g_880[7]; uint32_t l_2201[10][7][3] = {{{18446744073709551615UL,0x26398F04L,0x38036D98L},{0x86A57814L,0x06A85127L,18446744073709551613UL},{18446744073709551611UL,18446744073709551615UL,1UL},{18446744073709551609UL,0xA91FA308L,0xF201C7A1L},{3UL,0xACA1B5C5L,18446744073709551615UL},{18446744073709551615UL,18446744073709551612UL,18446744073709551611UL},{0x3CB382D8L,0UL,0x3CB382D8L}},{{18446744073709551607UL,18446744073709551615UL,18446744073709551611UL},{18446744073709551606UL,0x5C17BCE1L,18446744073709551615UL},{18446744073709551611UL,18446744073709551614UL,18446744073709551610UL},{0xA02DFB16L,0x26398F04L,0UL},{18446744073709551611UL,7UL,5UL},{18446744073709551606UL,0xA02DFB16L,1UL},{18446744073709551607UL,1UL,18446744073709551614UL}},{{0x3CB382D8L,0xAD50BE67L,0xACA1B5C5L},{18446744073709551615UL,0x06A85127L,0x61160E4FL},{3UL,0xE6BA744DL,0x00D4AB91L},{18446744073709551609UL,18446744073709551615UL,0x08A78E82L},{18446744073709551611UL,18446744073709551611UL,18446744073709551615UL},{0x86A57814L,18446744073709551615UL,18446744073709551610UL},{18446744073709551615UL,0UL,8UL}},{{18446744073709551613UL,6UL,18446744073709551611UL},{18446744073709551606UL,18446744073709551615UL,8UL},{1UL,18446744073709551607UL,18446744073709551610UL},{0UL,0xAD50BE67L,18446744073709551615UL},{0x78E87632L,7UL,0x08A78E82L},{18446744073709551615UL,0xAEEF7F4FL,0x00D4AB91L},{18446744073709551607UL,0x78E87632L,0x61160E4FL}},{{0x5C17BCE1L,18446744073709551606UL,0xACA1B5C5L},{0x86A57814L,18446744073709551614UL,18446744073709551614UL},{0xACA1B5C5L,0xE6BA744DL,1UL},{0x8C413F16L,6UL,5UL},{18446744073709551611UL,0xACA1B5C5L,0UL},{0xA91FA308L,18446744073709551609UL,18446744073709551610UL},{0x3CB382D8L,0xACA1B5C5L,18446744073709551615UL}},{{18446744073709551614UL,6UL,18446744073709551611UL},{18446744073709551615UL,0xE6BA744DL,0x3CB382D8L},{1UL,18446744073709551614UL,18446744073709551611UL},{0x436F764FL,18446744073709551606UL,18446744073709551615UL},{18446744073709551611UL,0x78E87632L,0xF201C7A1L},{0xAD50BE67L,0xAEEF7F4FL,1UL},{18446744073709551613UL,7UL,18446744073709551613UL}},{{0x5C17BCE1L,0xAD50BE67L,0x38036D98L},{0xA91FA308L,18446744073709551607UL,18446744073709551614UL},{3UL,18446744073709551615UL,18446744073709551615UL},{18446744073709551615UL,6UL,0x08A78E82L},{3UL,0UL,0x4424A55DL},{18446744073709551614UL,18446744073709551615UL,4UL},{0xA02DFB16L,0x6022B835L,0UL}},{{2UL,18446744073709551613UL,0x9FFDE4E6L},{0x3CB382D8L,0x436F764FL,0xAEEF7F4FL},{18446744073709551607UL,18446744073709551609UL,0x08A78E82L},{18446744073709551615UL,0x3CB382D8L,0UL},{18446744073709551615UL,18446744073709551615UL,18446744073709551611UL},{8UL,0x00D4AB91L,0x4424A55DL},{0x8C413F16L,0x214FC1D0L,18446744073709551612UL}},{{18446744073709551615UL,0x5C17BCE1L,0UL},{18446744073709551614UL,0x8C413F16L,18446744073709551612UL},{0x6022B835L,0xA02DFB16L,0x4424A55DL},{18446744073709551611UL,18446744073709551613UL,18446744073709551611UL},{0x934CE9A8L,6UL,0UL},{0x61160E4FL,0xCD085A4EL,0x08A78E82L},{0xA02DFB16L,0x934CE9A8L,0xAEEF7F4FL}},{{18446744073709551615UL,18446744073709551614UL,0x9FFDE4E6L},{8UL,0UL,0UL},{0x9FFDE4E6L,18446744073709551609UL,4UL},{1UL,0x5C17BCE1L,0x38036D98L},{18446744073709551615UL,0x9FFDE4E6L,7UL},{18446744073709551615UL,18446744073709551615UL,0x4424A55DL},{2UL,0x9FFDE4E6L,0x8C413F16L}}}; int32_t l_2218 = 1L; uint8_t l_2255 = 0xFEL; const struct S0 ****l_2433 = (void*)0; int32_t *l_2566[7][3][5] = {{{&g_833,&g_601[3][0][0],&g_833,(void*)0,&l_1919},{&g_601[2][0][0],(void*)0,&g_601[2][0][0],&g_177,&g_833},{&l_1919,&g_878,&g_1100,&g_833,&g_1100}},{{&g_601[3][0][0],&g_601[1][0][0],&g_836[2],&g_833,&g_833},{&g_836[5],(void*)0,&g_836[5],&g_177,&g_2499},{&g_833,&g_1100,&g_601[2][0][0],(void*)0,(void*)0}},{{(void*)0,&l_1919,&g_851[7],(void*)0,&g_833},{&g_601[2][0][0],(void*)0,&g_601[2][0][0],(void*)0,&g_601[1][0][0]},{&g_833,&g_601[2][0][0],&g_836[5],&g_601[3][0][0],&g_601[2][0][0]}},{{(void*)0,(void*)0,&g_836[2],&g_2499,&l_1919},{&g_973,(void*)0,&g_1100,&g_1100,(void*)0},{&g_833,&g_601[2][0][0],&g_601[2][0][0],(void*)0,&g_878}},{{&g_601[3][0][0],(void*)0,&g_833,&g_2499,&g_833},{&g_878,&l_1919,&g_1100,&g_836[5],&g_601[1][0][0]},{&g_601[3][0][0],&g_1100,&g_973,&g_833,&g_836[5]}},{{&g_833,(void*)0,&g_833,&g_2499,&g_2499},{&g_973,&g_601[1][0][0],&g_601[2][0][0],&g_836[2],&g_2499},{(void*)0,&g_878,&g_878,(void*)0,&g_836[5]}},{{&g_833,(void*)0,&g_2499,&g_2499,&g_601[1][0][0]},{&g_601[2][0][0],&g_601[3][0][0],&g_836[5],&g_601[2][0][0],&g_833},{(void*)0,&g_836[2],&g_973,&g_2499,&g_878}}}; int16_t l_2567 = 0x251BL; uint32_t *l_2659 = &l_2467[7][0]; uint8_t **l_2758 = (void*)0; int32_t l_2778 = 0xE1DFD7F2L; int64_t l_2789 = 0xF707F69FEBE960DFLL; uint64_t l_2800 = 18446744073709551607UL; int i, j, k; } return p_64; } /* ------------------------------------------ */ /* * reads : g_36 g_19 g_78 g_38 g_101 g_104 g_77 g_108 g_2 g_1174 g_159 g_160 g_480 g_360 g_277 g_1270 g_635 g_1135 g_1473 g_714 g_627 g_278 g_601 g_203 g_1660 g_204 g_1000 g_1001 g_1002 g_158 g_881 g_782 g_401 g_135 g_1701 g_1409 g_1134 g_218 g_844 g_154 g_1407 g_1408 g_1759 g_999 g_1096 g_1808 g_510 g_970 g_836 l_3073 * writes: g_101 g_104 g_1394 g_360 g_278 g_635 g_1473 g_1174 g_627 g_203 g_204 g_1667 g_156 g_341 g_135 g_176 g_1409 g_1059 g_1759 g_1012 */ int32_t func_65(int32_t p_66) { /* block id: 18 */ const int32_t l_79 = 0xDDA26858L; int32_t *l_99 = (void*)0; int64_t *l_100 = &g_101[3]; int8_t l_102 = 0L; int32_t *l_103[7][4] = {{&g_36,&g_38,&g_38,(void*)0},{&g_36,&g_38,&g_36,&g_36},{&g_38,(void*)0,&g_36,&g_36},{&g_38,&g_38,&g_36,(void*)0},{&g_36,&g_36,&g_38,&g_36},{&g_36,(void*)0,&g_36,&g_38},{&g_36,(void*)0,(void*)0,&g_36}}; struct S0 *l_105[8][3][9] = {{{&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19}},{{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,(void*)0},{(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19},{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19}},{{&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19}},{{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,(void*)0},{(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19},{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19}},{{&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19}},{{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,(void*)0},{(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19},{&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19}},{{&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19}},{{(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19},{&g_19,&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19},{&g_19,&g_19,&g_19,(void*)0,&g_19,&g_19,&g_19,&g_19,&g_19}}}; uint32_t l_126[4][6] = {{0x97493B57L,0x7D0CCF3CL,0x7D0CCF3CL,0x97493B57L,0x7D0CCF3CL,0x7D0CCF3CL},{0x97493B57L,0x7D0CCF3CL,0x7D0CCF3CL,0x97493B57L,0x7D0CCF3CL,0x7D0CCF3CL},{0x97493B57L,0x7D0CCF3CL,0x7D0CCF3CL,0x97493B57L,0x7D0CCF3CL,0x7D0CCF3CL},{0x97493B57L,0x7D0CCF3CL,0x7D0CCF3CL,0x97493B57L,0x7D0CCF3CL,0x7D0CCF3CL}}; int32_t **l_239 = &l_103[4][3]; int32_t ***l_238 = &l_239; uint32_t l_282 = 5UL; const uint16_t *l_296 = (void*)0; const uint16_t **l_295 = &l_296; int32_t l_322 = (-1L); uint16_t *l_357 = &g_176; int64_t l_435[7]; uint8_t *l_436 = &g_156; uint8_t l_469 = 255UL; uint16_t *l_597[8]; struct S0 l_658[1][8] = {{{3124},{3124},{3124},{3124},{3124},{3124},{3124},{3124}}}; struct S0 l_698 = {2146}; uint32_t *l_726 = &g_411; uint64_t l_819 = 0xB9014DEB2C4E7D89LL; int16_t l_872 = (-1L); uint32_t l_893 = 0xEC1746B3L; uint8_t l_1047 = 1UL; int32_t *l_1048 = &g_38; uint32_t l_1065 = 0x4E274B9AL; int16_t l_1066 = 0x56E0L; uint32_t l_1181 = 0UL; int64_t l_1206[4] = {0x5E0EDD398822DECALL,0x5E0EDD398822DECALL,0x5E0EDD398822DECALL,0x5E0EDD398822DECALL}; int32_t l_1271[1][6]; const int32_t *l_1274 = &g_1270; int32_t *l_1415[8][6] = {{&g_1174[3],&g_1174[3],&g_38,&g_38,&g_1174[3],&g_1174[3]},{&l_1271[0][4],&g_1174[3],&g_38,&g_1174[3],&l_1271[0][4],&l_1271[0][4]},{(void*)0,&g_1174[3],&g_1174[3],(void*)0,&g_1174[3],(void*)0},{(void*)0,&g_1174[3],(void*)0,&g_1174[3],&g_1174[3],(void*)0},{&l_1271[0][4],&l_1271[0][4],&g_1174[3],&g_38,&g_1174[3],&l_1271[0][4]},{&g_1174[3],&g_1174[3],&g_38,&g_38,&g_1174[3],&g_1174[3]},{&l_1271[0][4],&g_1174[3],&g_38,&g_1174[3],&l_1271[0][4],&l_1271[0][4]},{(void*)0,&g_1174[3],&g_1174[3],(void*)0,&g_1174[3],(void*)0}}; uint8_t l_1452[8][3][4] = {{{0x42L,0x1FL,0xE9L,1UL},{0UL,0x9FL,0x42L,0x42L},{0x39L,0x39L,0xCDL,0xFCL}},{{0x1FL,0x90L,0x9FL,0x8EL},{1UL,0UL,0xCEL,0x9FL},{0xF2L,0UL,0x27L,0x8EL}},{{0UL,0x90L,8UL,0xFCL},{251UL,0x39L,4UL,0x42L},{255UL,0x9FL,0x39L,1UL}},{{255UL,0x1FL,0UL,0UL},{0xFBL,0UL,0xBFL,0x27L},{0x6BL,0xBFL,0x6BL,255UL}},{{1UL,0x6BL,0UL,0x90L},{0x27L,255UL,0x8EL,0x6BL},{0xE9L,0xFCL,0x8EL,0xF3L}},{{0x27L,1UL,0UL,251UL},{1UL,0x42L,0x6BL,0UL},{0x6BL,0UL,0x8EL,0x42L}},{{1UL,251UL,0x42L,0x27L},{0x21L,0x8EL,0UL,252UL},{0xCDL,0x39L,0x39L,0xCDL}},{{0xE9L,0xF3L,0x1FL,0UL},{0xBFL,255UL,1UL,1UL},{0xBFL,0xCDL,0xF2L,1UL}}}; uint16_t ***l_1472 = (void*)0; int32_t l_1574 = 1L; int16_t l_1575[6] = {(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)}; struct S0 l_1588[9] = {{3034},{6163},{3034},{6163},{3034},{6163},{3034},{6163},{3034}}; uint32_t ****l_1595 = (void*)0; int32_t *l_1659[8] = {&g_1100,&g_1100,&g_1100,&g_1100,&g_1100,&g_1100,&g_1100,&g_1100}; int32_t **l_1658 = &l_1659[2]; int32_t ***l_1657 = &l_1658; int16_t l_1717 = 0L; uint32_t l_1779[9]; uint16_t ****l_1806[1]; int32_t l_1810 = 0x03C364F4L; uint64_t l_1838[7] = {0x7EC06029E98BD26DLL,0x7EC06029E98BD26DLL,0x7EC06029E98BD26DLL,0x7EC06029E98BD26DLL,0x7EC06029E98BD26DLL,0x7EC06029E98BD26DLL,0x7EC06029E98BD26DLL}; int i, j, k; for (i = 0; i < 7; i++) l_435[i] = 4L; for (i = 0; i < 8; i++) l_597[i] = &g_360; for (i = 0; i < 1; i++) { for (j = 0; j < 6; j++) l_1271[i][j] = 0x906372C9L; } for (i = 0; i < 9; i++) l_1779[i] = 0x0A43BDB2L; for (i = 0; i < 1; i++) l_1806[i] = &l_1472; g_104 &= (g_36 == (((l_79 , ((safe_rshift_func_int16_t_s_u(((((safe_add_func_int32_t_s_s((((g_19 , ((safe_lshift_func_int8_t_s_s(l_79, 7)) ^ ((safe_mul_func_int8_t_s_s((safe_div_func_int16_t_s_s((safe_rshift_func_int8_t_s_s((1UL && (l_79 & ((*l_100) |= ((((~((safe_mod_func_uint32_t_u_u((p_66 || (((safe_div_func_int32_t_s_s((l_79 , (safe_add_func_uint8_t_u_u(g_19.f0, 0UL))), l_79)) , (void*)0) != l_99)), 0x937F8686L)) | l_79)) | p_66) , p_66) || (*g_78))))), 0)), p_66)), p_66)) <= l_102))) , p_66) > p_66), l_79)) == g_19.f0) > g_36) | 0x9F9D4FCBL), 7)) , (void*)0)) != &g_78) > 0x5DL)); l_105[2][0][7] = l_105[2][0][7]; if ((((((-1L) != ((safe_div_func_int8_t_s_s((g_77 != g_108), ((safe_rshift_func_uint8_t_u_s((safe_mul_func_uint8_t_u_u((safe_lshift_func_uint8_t_u_u(((safe_mod_func_int8_t_s_s(((+((safe_lshift_func_uint8_t_u_u(248UL, 0)) <= ((p_66 , (g_104 && (g_2[4][2] == 0L))) , (safe_div_func_uint64_t_u_u((safe_sub_func_int16_t_s_s((safe_sub_func_int8_t_s_s(g_36, p_66)), 5L)), 18446744073709551607UL))))) <= p_66), l_126[3][2])) >= g_2[3][4]), g_101[2])), p_66)), p_66)) & p_66))) , p_66)) ^ 0x1CL) != p_66) <= (*g_78))) { /* block id: 22 */ struct S0 *l_127 = &g_19; int16_t *l_128 = &g_129; uint8_t *l_134 = &g_135; uint8_t *l_138 = (void*)0; int32_t l_139 = (-6L); uint32_t *l_140 = &g_141[1][3][0]; int32_t **l_148[6] = {&g_77,&g_77,&g_77,&g_77,&g_77,&g_77}; uint32_t *l_151[10] = {&l_126[2][4],&l_126[2][4],&l_126[2][4],&l_126[2][4],&l_126[2][4],&l_126[2][4],&l_126[2][4],&l_126[2][4],&l_126[2][4],&l_126[2][4]}; int16_t *l_153 = &g_154; int32_t l_155 = (-1L); uint32_t l_241[6]; struct S0 l_338[2] = {{7160},{7160}}; const int32_t **l_487 = &g_159; int8_t *l_504 = &l_102; uint16_t l_562 = 0UL; uint32_t l_582 = 0xBF6B1128L; int32_t l_595 = 0xF84AD64EL; uint16_t ***l_596 = &g_479[2][3][0]; uint32_t l_652 = 0x38B8C027L; const uint32_t l_662 = 0x3140BC73L; int32_t *l_697 = &g_177; int32_t **l_696 = &l_697; int64_t *l_704 = &g_101[1]; uint64_t l_763 = 0x24D96D7E95C73D1FLL; uint8_t l_873 = 1UL; int64_t l_925 = 1L; uint64_t l_948 = 18446744073709551612UL; int8_t l_1003 = (-10L); struct S0 ***l_1068 = &g_634; uint32_t l_1219 = 0x57B33826L; int64_t l_1244 = 6L; uint16_t l_1272 = 65529UL; int8_t l_1336 = 0xCFL; const uint32_t *l_1413 = &g_881; const uint32_t **l_1412 = &l_1413; const uint32_t *** const l_1411 = &l_1412; const uint32_t *** const *l_1410 = &l_1411; int64_t l_1471 = 0xE4744ABBCE7D134FLL; uint64_t l_1500 = 18446744073709551615UL; uint32_t l_1553 = 1UL; int i; for (i = 0; i < 6; i++) l_241[i] = 18446744073709551615UL; } else { /* block id: 757 */ uint32_t l_1576[6] = {3UL,3UL,3UL,3UL,3UL,3UL}; struct S0 *l_1579[3]; struct S0 **l_1580 = &l_1579[2]; int32_t *l_1583 = &g_1174[0]; uint32_t ***l_1585[8][5] = {{&g_1409,(void*)0,&g_1409,(void*)0,&g_1409},{&g_1409,&g_1409,&g_1409,&g_1409,&g_1409},{&g_1409,(void*)0,&g_1409,(void*)0,&g_1409},{&g_1409,&g_1409,&g_1409,&g_1409,&g_1409},{&g_1409,(void*)0,&g_1409,(void*)0,&g_1409},{&g_1409,&g_1409,&g_1409,&g_1409,&g_1409},{&g_1409,(void*)0,&g_1409,(void*)0,&g_1409},{&g_1409,&g_1409,&g_1409,&g_1409,&g_1409}}; int32_t l_1587 = 0x454A60F2L; int16_t *l_1604[8][7] = {{&g_880[7],&g_1096[0][5][0],&g_880[7],&g_203,&g_1096[0][5][0],&g_880[7],&l_1575[3]},{&g_1096[0][5][0],&g_1096[0][5][0],&g_1096[0][5][0],&g_129,&g_1096[0][5][0],&l_1575[1],&g_1096[0][5][0]},{&l_1066,&g_203,&g_203,&l_1066,&l_1575[3],&g_880[7],&g_1096[0][5][0]},{&l_872,&g_1012,&g_203,&g_880[4],&g_1096[0][5][0],&l_872,&l_872},{&g_1012,&g_1096[0][5][0],&g_1096[0][5][0],&g_1096[0][5][0],&g_1012,&g_203,&g_1096[0][5][0]},{&l_1066,&l_1575[3],&g_880[7],&g_1096[0][5][0],&g_203,&g_880[7],&g_1096[0][5][0]},{&g_203,&g_1096[0][5][0],&g_880[4],&g_880[4],&g_1096[0][5][0],&g_203,&l_1575[3]},{&l_1066,&g_1096[0][5][0],&l_1575[1],&l_1066,&g_1096[0][5][0],&l_1575[0],&g_1096[0][5][0]}}; int8_t l_1605 = 0x65L; int32_t l_1626[1][4][5] = {{{1L,0x3EB2A30AL,1L,0x04343987L,1L},{1L,1L,0x0D8C0354L,0x04343987L,0x24D733D6L},{0x3EB2A30AL,1L,1L,0x3EB2A30AL,0x24D733D6L},{1L,0x13A941ADL,0x0D8C0354L,0x0D8C0354L,0x13A941ADL}}}; uint32_t l_1627 = 18446744073709551606UL; int32_t l_1645[4][1] = {{(-1L)},{0xC96AB9EFL},{(-1L)},{0xC96AB9EFL}}; uint32_t l_1700 = 0x7DE778D3L; int32_t l_1707 = 1L; int32_t l_1721 = 0x15F5EFBCL; int32_t l_1722 = 1L; int32_t l_1746 = 0x1B94FF3CL; uint32_t l_1757 = 0x1A2EEBADL; uint32_t l_1783 = 0x5FFB5ED4L; struct S0 * const **l_1827 = (void*)0; struct S0 * const ***l_1826 = &l_1827; int i, j, k; for (i = 0; i < 3; i++) l_1579[i] = &g_158; --l_1576[2]; (*l_1580) = l_1579[2]; for (l_469 = 0; (l_469 != 12); ++l_469) { /* block id: 762 */ l_1583 = (void*)0; l_1587 ^= ((+(l_1585[2][4] != (void*)0)) & ((+p_66) , p_66)); l_1583 = &l_1587; return p_66; } if ((l_1588[4] , (safe_mod_func_int16_t_s_s(2L, (safe_add_func_int64_t_s_s((((safe_add_func_int32_t_s_s((((void*)0 == l_1595) | (safe_add_func_uint8_t_u_u((3UL || (((safe_add_func_uint64_t_u_u((0x92688DEB53719A51LL | (safe_add_func_int32_t_s_s((*l_1583), p_66))), (safe_lshift_func_uint8_t_u_s((((g_1394 = (((*l_239) != (void*)0) >= p_66)) <= l_1605) >= p_66), 1)))) , (*l_1583)) , 65535UL)), p_66))), 0x0181A78DL)) >= 0xFDBBB4913B068D06LL) == p_66), 18446744073709551607UL)))))) { /* block id: 769 */ return (*g_159); } else { /* block id: 771 */ int16_t l_1614 = 1L; uint64_t *l_1622 = &l_819; int32_t l_1623 = (-1L); int8_t *l_1624 = &g_635[6]; int32_t l_1625 = 0x8E09881FL; uint32_t l_1628 = 1UL; int16_t l_1689 = (-6L); int32_t l_1706[2][5][9] = {{{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L)},{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L)},{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)}},{{(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L)},{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L)},{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L)}}}; uint32_t l_1730 = 0x3C627143L; uint32_t ****l_1778 = &l_1585[2][4]; uint16_t l_1817 = 0x823AL; uint16_t l_1832 = 0x4745L; int i, j, k; l_1587 = (l_1628 = ((*l_1583) = (safe_mul_func_int8_t_s_s((safe_rshift_func_uint8_t_u_u((((((*g_480) &= (*l_1048)) < (safe_div_func_int16_t_s_s(((p_66 && (((safe_add_func_uint16_t_u_u((l_1614 ^= 0x9C0EL), ((*l_1583) , (safe_sub_func_int8_t_s_s(((*g_277) = p_66), ((*l_1048) != (!(g_1473 &= (1L >= ((safe_rshift_func_uint16_t_u_s((safe_add_func_int8_t_s_s(((*l_1624) |= ((l_1623 = ((*l_1583) > ((*l_1622) = (((*l_1274) >= p_66) && 0xBD9EL)))) || 65535UL)), l_1625)), g_1135[7])) >= p_66)))))))))) , 0xF49BL) <= p_66)) & p_66), 0x8CC9L))) == g_714[5][4]) , p_66), l_1626[0][2][0])), l_1627)))); for (g_627 = 0; (g_627 != 15); ++g_627) { /* block id: 784 */ uint8_t l_1631 = 0x11L; ++l_1631; if (p_66) break; } if (p_66) { /* block id: 788 */ int64_t l_1644 = 1L; int32_t l_1650 = 0x7F82B905L; int32_t l_1651 = 0x40288B33L; int32_t l_1708 = 1L; int32_t l_1711 = 0xA85A432EL; int32_t l_1713 = 3L; int32_t l_1719 = 0xCEFC84D2L; int32_t l_1720 = (-10L); uint32_t l_1723 = 0xFE2991BDL; uint32_t ****l_1767 = &g_1408; if (((((safe_rshift_func_int8_t_s_s((*g_277), p_66)) ^ (g_1394 = (l_1644 = ((safe_lshift_func_int8_t_s_s(((safe_unary_minus_func_int8_t_s(((((*l_1583) || 0xB1A9591FL) < (safe_div_func_uint16_t_u_u(((*g_277) != ((&g_154 != &g_1394) >= 0x11EE6220CB343989LL)), (~(p_66 , 3L))))) >= g_601[2][0][0]))) < (*l_1583)), p_66)) < p_66)))) , 4UL) || 0L)) { /* block id: 791 */ int32_t l_1646 = 0xC03E7FB8L; int32_t l_1647 = 0x3AB11814L; int32_t l_1648 = (-1L); int32_t l_1649 = 0x29C81834L; for (g_203 = 0; (g_203 <= 0); g_203 += 1) { /* block id: 794 */ uint32_t l_1652 = 0xE00C53B0L; ++l_1652; return l_1614; } l_1650 ^= ((safe_rshift_func_int16_t_s_s((*l_1583), 13)) , ((l_1657 = (void*)0) == g_1660)); } else { /* block id: 800 */ const int16_t l_1699 = 0x5634L; int16_t l_1704 = 0x901FL; int32_t l_1712 = (-1L); int32_t l_1715 = 0L; int32_t l_1716 = 0xC7A63EA4L; int32_t l_1718[6] = {1L,1L,1L,1L,1L,1L}; uint32_t *l_1727[1][2]; int i, j; for (i = 0; i < 1; i++) { for (j = 0; j < 2; j++) l_1727[i][j] = &g_1161; } for (g_204 = 0; (g_204 < 39); g_204++) { /* block id: 803 */ return l_1651; } g_1667 = (***g_1000); if (((*l_1583) |= (safe_rshift_func_uint16_t_u_u((safe_add_func_uint16_t_u_u(l_1625, (safe_sub_func_uint64_t_u_u(((0xBDB9L != p_66) || (safe_sub_func_uint64_t_u_u((safe_div_func_int8_t_s_s((&g_1394 == (void*)0), (safe_mul_func_int8_t_s_s(0xC8L, ((safe_add_func_int64_t_s_s(0xA8E20640322D79B5LL, (0x726C1126L != ((((*l_436) = p_66) , (*g_277)) >= l_1623)))) && g_881))))), g_782))), 0x4443330AB761B3A2LL)))), (*g_480))))) { /* block id: 809 */ int32_t l_1703 = 0x63D2DFD1L; int32_t l_1705 = 0x6FF834EAL; int32_t l_1709 = (-2L); int32_t l_1710 = 0x41BDB103L; int32_t l_1714 = 0L; (*l_1583) |= (safe_lshift_func_int8_t_s_u(((*l_1624) |= (0xB1605321A0518397LL && (safe_lshift_func_uint8_t_u_u(((~((**l_1580) , ((*l_100) = l_1689))) > (safe_mod_func_uint32_t_u_u((p_66 , (safe_rshift_func_int8_t_s_s((((safe_sub_func_int8_t_s_s((p_66 < (safe_unary_minus_func_int64_t_s(((safe_lshift_func_uint16_t_u_u(((((p_66 , (l_1604[4][4] == (void*)0)) , (((p_66 < l_1699) < l_1700) & (*g_277))) <= (*g_401)) < 0x26L), 4)) & (-6L))))), p_66)) , (void*)0) != g_1701[0]), p_66))), (-1L)))), p_66)))), 0)); l_1723--; l_1706[0][2][7] &= p_66; } else { /* block id: 815 */ return (*l_1048); } l_1716 &= (!(((((*g_277) && ((l_1706[0][2][7] <= (((((*g_1409) = l_1727[0][1]) == (void*)0) || (g_1134 , 0xF84A51FAB7A5C83FLL)) || ((safe_add_func_int8_t_s_s((l_1730 > (p_66 , (safe_div_func_int16_t_s_s(((safe_rshift_func_uint8_t_u_u((((*l_357) = (safe_add_func_uint32_t_u_u((!(((safe_mul_func_int8_t_s_s((safe_rshift_func_int8_t_s_s((safe_div_func_uint64_t_u_u((safe_add_func_uint64_t_u_u(((((*g_401) |= p_66) > p_66) >= 3UL), (*l_1048))), (*l_1583))), 6)), g_218[0][4][0])) , (*l_1274)) || p_66)), 0xE40431E3L))) , 255UL), p_66)) | p_66), l_1746)))), p_66)) >= g_844))) >= p_66)) != p_66) & l_1706[0][2][7]) <= 0x1AL)); } if (((*l_1583) != (safe_sub_func_uint32_t_u_u((safe_rshift_func_int8_t_s_u((g_154 < (*l_1583)), 2)), (safe_sub_func_uint64_t_u_u(g_1135[7], ((*l_1583) , (g_1059 = (((*g_1408) = (**g_1407)) != ((((safe_mul_func_uint16_t_u_u((*g_480), (safe_rshift_func_int8_t_s_u(l_1713, (p_66 || (*g_78)))))) , l_1757) , p_66) , (void*)0)))))))))) { /* block id: 825 */ int32_t l_1758 = 0L; int8_t l_1764 = 0x1CL; uint32_t ** const *l_1769 = &g_1409; uint32_t ** const **l_1768 = &l_1769; int32_t l_1770 = 0xECF224A1L; uint32_t *l_1773 = &l_1065; struct S0 ***l_1777 = &g_634; int32_t l_1809 = 8L; --g_1759; l_1651 &= ((safe_mul_func_uint16_t_u_u(((l_1764 , (((((safe_lshift_func_int16_t_s_s((l_1770 ^= (l_1767 != l_1768)), (safe_add_func_uint32_t_u_u(((*l_1773) = ((*l_1583) = 0x55AC32D9L)), ((safe_lshift_func_uint8_t_u_u(((-1L) == ((((((*l_436) = (((((0x73E71BCDBB760BA1LL == (!(((**l_1580) , ((((((*l_1624) = (l_1706[0][4][3] |= (*g_277))) , ((*l_100) ^= ((l_1777 = &l_1580) == (*g_999)))) || p_66) | l_1711) ^ p_66)) && p_66))) || p_66) , l_1778) == (void*)0) < 5L)) == 249UL) , l_1779[3]) <= p_66) != l_1614)), 7)) , l_1650))))) || p_66) > 0x80005405L) != 0xF7E0L) , p_66)) == 8UL), g_1096[0][4][0])) == l_1713); for (p_66 = (-24); (p_66 == (-28)); p_66--) { /* block id: 838 */ int32_t l_1807 = 1L; if (p_66) break; (*l_1583) ^= (!(((l_1783 &= p_66) || ((safe_rshift_func_uint8_t_u_u((safe_sub_func_uint32_t_u_u((((((safe_lshift_func_uint16_t_u_s((safe_sub_func_uint16_t_u_u((safe_sub_func_int32_t_s_s(l_1644, (!(safe_mod_func_uint8_t_u_u(((safe_sub_func_int16_t_s_s(((safe_lshift_func_int8_t_s_s((4294967295UL | (safe_mod_func_uint8_t_u_u(p_66, (((*l_357) = (!(safe_lshift_func_int16_t_s_u(0x748CL, 3)))) || ((((l_1806[0] = &l_1472) != ((0xF3F51AE484768D8BLL < l_1807) , g_1808)) || g_510) ^ l_1809))))), (*g_277))) , 0xFAF1L), 0x4CC9L)) , (*g_401)), (*g_401)))))), 0x0E0BL)), 4)) & (*l_1048)) & l_1810) , l_1770) | (*g_401)), g_714[2][2])), (*g_401))) , 4UL)) == p_66)); (*l_1583) |= l_1807; if (p_66) break; } } else { /* block id: 847 */ uint32_t l_1811 = 0x8CDC9AB5L; int32_t l_1814 = 0x02CB65EDL; int32_t l_1815 = 0L; int32_t l_1816 = 0xC8C9E359L; --l_1811; (*l_1580) = (*l_1580); --l_1817; } } else { /* block id: 852 */ uint32_t l_1830 = 0x2EE285DCL; int32_t l_1831[5][6][1] = {{{0L},{(-1L)},{0xD9F7A825L},{(-1L)},{(-6L)},{(-6L)}},{{(-1L)},{0xD9F7A825L},{(-1L)},{0L},{2L},{(-1L)}},{{2L},{0L},{(-1L)},{0xD9F7A825L},{(-1L)},{(-6L)}},{{(-6L)},{(-1L)},{0xD9F7A825L},{(-1L)},{0L},{2L}},{{(-1L)},{2L},{0L},{(-1L)},{0xD9F7A825L},{(-1L)}}}; int i, j, k; l_1831[2][5][0] |= (0x4D5E568796B9DCC2LL | (((g_204 != (safe_sub_func_uint16_t_u_u(((((p_66 | 9UL) && ((p_66 || (safe_lshift_func_uint8_t_u_u((g_970 <= (((*l_436) = (&g_1000 != l_1826)) , ((g_1012 = ((safe_div_func_uint64_t_u_u(g_836[5], l_1706[1][3][3])) <= 0x43F938B5L)) || 0xD2ECL))), 7))) != l_1830)) && 1L) == (*l_1274)), p_66))) == (*l_1583)) != l_1830)); if (g_1759) goto lbl_1835; lbl_1835: l_1832--; l_1623 = ((safe_rshift_func_uint16_t_u_s(p_66, 8)) & 0xA367L); } --l_1838[1]; } } return p_66; } /* ---------------------------------------- */ int main (int argc, char* argv[]) { int i, j, k; int print_hash_value = 0; if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1; platform_main_begin(); crc32_gentab(); func_1(); for (i = 0; i < 6; i++) { for (j = 0; j < 8; j++) { transparent_crc(g_2[i][j], "g_2[i][j]", print_hash_value); if (print_hash_value) printf("index = [%d][%d]\n", i, j); } } transparent_crc(g_19.f0, "g_19.f0", print_hash_value); transparent_crc(g_35, "g_35", print_hash_value); transparent_crc(g_36, "g_36", print_hash_value); for (i = 0; i < 2; i++) { transparent_crc(g_37[i], "g_37[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_38, "g_38", print_hash_value); transparent_crc(g_60, "g_60", print_hash_value); for (i = 0; i < 10; i++) { transparent_crc(g_101[i], "g_101[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_104, "g_104", print_hash_value); transparent_crc(g_129, "g_129", print_hash_value); transparent_crc(g_135, "g_135", print_hash_value); for (i = 0; i < 8; i++) { for (j = 0; j < 4; j++) { for (k = 0; k < 6; k++) { transparent_crc(g_141[i][j][k], "g_141[i][j][k]", print_hash_value); if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k); } } } for (i = 0; i < 6; i++) { transparent_crc(g_152[i], "g_152[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_154, "g_154", print_hash_value); transparent_crc(g_156, "g_156", print_hash_value); transparent_crc(g_158.f0, "g_158.f0", print_hash_value); transparent_crc(g_160, "g_160", print_hash_value); transparent_crc(g_164, "g_164", print_hash_value); transparent_crc(g_176, "g_176", print_hash_value); transparent_crc(g_177, "g_177", print_hash_value); transparent_crc(g_203, "g_203", print_hash_value); transparent_crc(g_204, "g_204", print_hash_value); for (i = 0; i < 9; i++) { for (j = 0; j < 8; j++) { transparent_crc(g_217[i][j], "g_217[i][j]", print_hash_value); if (print_hash_value) printf("index = [%d][%d]\n", i, j); } } for (i = 0; i < 9; i++) { for (j = 0; j < 5; j++) { for (k = 0; k < 1; k++) { transparent_crc(g_218[i][j][k], "g_218[i][j][k]", print_hash_value); if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k); } } } transparent_crc(g_262, "g_262", print_hash_value); transparent_crc(g_269, "g_269", print_hash_value); transparent_crc(g_278, "g_278", print_hash_value); transparent_crc(g_308, "g_308", print_hash_value); transparent_crc(g_332, "g_332", print_hash_value); transparent_crc(g_360, "g_360", print_hash_value); for (i = 0; i < 6; i++) { transparent_crc(g_369[i], "g_369[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_411, "g_411", print_hash_value); transparent_crc(g_441, "g_441", print_hash_value); transparent_crc(g_510, "g_510", print_hash_value); for (i = 0; i < 7; i++) { for (j = 0; j < 1; j++) { for (k = 0; k < 1; k++) { transparent_crc(g_601[i][j][k], "g_601[i][j][k]", print_hash_value); if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k); } } } for (i = 0; i < 10; i++) { transparent_crc(g_606[i], "g_606[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } for (i = 0; i < 10; i++) { transparent_crc(g_609[i], "g_609[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_627, "g_627", print_hash_value); transparent_crc(g_628, "g_628", print_hash_value); for (i = 0; i < 10; i++) { transparent_crc(g_635[i], "g_635[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_663, "g_663", print_hash_value); transparent_crc(g_665, "g_665", print_hash_value); transparent_crc(g_666, "g_666", print_hash_value); transparent_crc(g_685, "g_685", print_hash_value); for (i = 0; i < 7; i++) { for (j = 0; j < 8; j++) { transparent_crc(g_714[i][j], "g_714[i][j]", print_hash_value); if (print_hash_value) printf("index = [%d][%d]\n", i, j); } } transparent_crc(g_782, "g_782", print_hash_value); transparent_crc(g_785, "g_785", print_hash_value); transparent_crc(g_833, "g_833", print_hash_value); for (i = 0; i < 6; i++) { transparent_crc(g_836[i], "g_836[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_839, "g_839", print_hash_value); transparent_crc(g_843, "g_843", print_hash_value); transparent_crc(g_844, "g_844", print_hash_value); for (i = 0; i < 10; i++) { transparent_crc(g_851[i], "g_851[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_852, "g_852", print_hash_value); transparent_crc(g_874, "g_874", print_hash_value); transparent_crc(g_878, "g_878", print_hash_value); transparent_crc(g_879, "g_879", print_hash_value); for (i = 0; i < 9; i++) { transparent_crc(g_880[i], "g_880[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_881, "g_881", print_hash_value); transparent_crc(g_970, "g_970", print_hash_value); transparent_crc(g_971, "g_971", print_hash_value); transparent_crc(g_972, "g_972", print_hash_value); transparent_crc(g_973, "g_973", print_hash_value); transparent_crc(g_1012, "g_1012", print_hash_value); transparent_crc(g_1014, "g_1014", print_hash_value); transparent_crc(g_1059, "g_1059", print_hash_value); transparent_crc(g_1091, "g_1091", print_hash_value); for (i = 0; i < 1; i++) { for (j = 0; j < 6; j++) { for (k = 0; k < 2; k++) { transparent_crc(g_1096[i][j][k], "g_1096[i][j][k]", print_hash_value); if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k); } } } transparent_crc(g_1098, "g_1098", print_hash_value); transparent_crc(g_1100, "g_1100", print_hash_value); transparent_crc(g_1101, "g_1101", print_hash_value); transparent_crc(g_1131, "g_1131", print_hash_value); transparent_crc(g_1134, "g_1134", print_hash_value); for (i = 0; i < 10; i++) { transparent_crc(g_1135[i], "g_1135[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_1161, "g_1161", print_hash_value); for (i = 0; i < 6; i++) { transparent_crc(g_1174[i], "g_1174[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_1254, "g_1254", print_hash_value); transparent_crc(g_1270, "g_1270", print_hash_value); transparent_crc(g_1394, "g_1394", print_hash_value); transparent_crc(g_1440, "g_1440", print_hash_value); transparent_crc(g_1473, "g_1473", print_hash_value); transparent_crc(g_1516, "g_1516", print_hash_value); transparent_crc(g_1663, "g_1663", print_hash_value); transparent_crc(g_1664, "g_1664", print_hash_value); transparent_crc(g_1667.f0, "g_1667.f0", print_hash_value); transparent_crc(g_1759, "g_1759", print_hash_value); transparent_crc(g_1905, "g_1905", print_hash_value); transparent_crc(g_1964, "g_1964", print_hash_value); transparent_crc(g_2140, "g_2140", print_hash_value); transparent_crc(g_2253, "g_2253", print_hash_value); transparent_crc(g_2279, "g_2279", print_hash_value); transparent_crc(g_2302, "g_2302", print_hash_value); transparent_crc(g_2499, "g_2499", print_hash_value); transparent_crc(g_2532, "g_2532", print_hash_value); transparent_crc(g_2543, "g_2543", print_hash_value); transparent_crc(g_2628, "g_2628", print_hash_value); transparent_crc(g_2835, "g_2835", print_hash_value); for (i = 0; i < 7; i++) { transparent_crc(g_3084[i], "g_3084[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } transparent_crc(g_3538, "g_3538", print_hash_value); transparent_crc(g_3679, "g_3679", print_hash_value); transparent_crc(g_3716, "g_3716", print_hash_value); transparent_crc(g_3719, "g_3719", print_hash_value); transparent_crc(g_4173, "g_4173", print_hash_value); transparent_crc(g_4404, "g_4404", print_hash_value); transparent_crc(g_4480, "g_4480", print_hash_value); transparent_crc(g_4586, "g_4586", print_hash_value); transparent_crc(g_4649, "g_4649", print_hash_value); for (i = 0; i < 4; i++) { for (j = 0; j < 10; j++) { for (k = 0; k < 6; k++) { transparent_crc(g_4691[i][j][k], "g_4691[i][j][k]", print_hash_value); if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k); } } } platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value); return 0; } /************************ statistics ************************* XXX max struct depth: 1 breakdown: depth: 0, occurrence: 1224 depth: 1, occurrence: 49 XXX total union variables: 0 XXX non-zero bitfields defined in structs: 1 XXX zero bitfields defined in structs: 0 XXX const bitfields defined in structs: 0 XXX volatile bitfields defined in structs: 0 XXX structs with bitfields in the program: 87 breakdown: indirect level: 0, occurrence: 49 indirect level: 1, occurrence: 17 indirect level: 2, occurrence: 8 indirect level: 3, occurrence: 7 indirect level: 4, occurrence: 6 XXX full-bitfields structs in the program: 49 breakdown: indirect level: 0, occurrence: 49 XXX times a bitfields struct's address is taken: 85 XXX times a bitfields struct on LHS: 18 XXX times a bitfields struct on RHS: 85 XXX times a single bitfield on LHS: 0 XXX times a single bitfield on RHS: 68 XXX max expression depth: 51 breakdown: depth: 1, occurrence: 218 depth: 2, occurrence: 54 depth: 3, occurrence: 3 depth: 4, occurrence: 2 depth: 5, occurrence: 1 depth: 6, occurrence: 2 depth: 7, occurrence: 1 depth: 10, occurrence: 1 depth: 14, occurrence: 2 depth: 16, occurrence: 4 depth: 17, occurrence: 3 depth: 18, occurrence: 3 depth: 19, occurrence: 2 depth: 20, occurrence: 1 depth: 21, occurrence: 3 depth: 22, occurrence: 5 depth: 23, occurrence: 3 depth: 24, occurrence: 2 depth: 25, occurrence: 1 depth: 26, occurrence: 2 depth: 27, occurrence: 4 depth: 28, occurrence: 2 depth: 29, occurrence: 1 depth: 30, occurrence: 3 depth: 31, occurrence: 1 depth: 32, occurrence: 2 depth: 33, occurrence: 1 depth: 34, occurrence: 1 depth: 36, occurrence: 1 depth: 38, occurrence: 1 depth: 39, occurrence: 2 depth: 41, occurrence: 1 depth: 44, occurrence: 1 depth: 51, occurrence: 1 XXX total number of pointers: 762 XXX times a variable address is taken: 1669 XXX times a pointer is dereferenced on RHS: 718 breakdown: depth: 1, occurrence: 600 depth: 2, occurrence: 70 depth: 3, occurrence: 30 depth: 4, occurrence: 11 depth: 5, occurrence: 7 XXX times a pointer is dereferenced on LHS: 619 breakdown: depth: 1, occurrence: 546 depth: 2, occurrence: 39 depth: 3, occurrence: 23 depth: 4, occurrence: 9 depth: 5, occurrence: 2 XXX times a pointer is compared with null: 109 XXX times a pointer is compared with address of another variable: 23 XXX times a pointer is compared with another pointer: 26 XXX times a pointer is qualified to be dereferenced: 15857 XXX max dereference level: 5 breakdown: level: 0, occurrence: 0 level: 1, occurrence: 2995 level: 2, occurrence: 406 level: 3, occurrence: 276 level: 4, occurrence: 308 level: 5, occurrence: 50 XXX number of pointers point to pointers: 396 XXX number of pointers point to scalars: 346 XXX number of pointers point to structs: 20 XXX percent of pointers has null in alias set: 29 XXX average alias set size: 1.55 XXX times a non-volatile is read: 4359 XXX times a non-volatile is write: 2034 XXX times a volatile is read: 84 XXX times read thru a pointer: 56 XXX times a volatile is write: 53 XXX times written thru a pointer: 21 XXX times a volatile is available for access: 1.02e+03 XXX percentage of non-volatile access: 97.9 XXX forward jumps: 6 XXX backward jumps: 21 XXX stmts: 220 XXX max block depth: 5 breakdown: depth: 0, occurrence: 34 depth: 1, occurrence: 31 depth: 2, occurrence: 30 depth: 3, occurrence: 37 depth: 4, occurrence: 43 depth: 5, occurrence: 45 XXX percentage a fresh-made variable is used: 17.6 XXX percentage an existing variable is used: 82.4 FYI: the random generator makes assumptions about the integer size. See platform.info for more details. ********************* end of statistics **********************/
aca489a73ac03855e8f0b82e0796d36643ca1ba3
2609137765a5fb9a7646361e47d1c5f68440faa3
/inc/VSensitivityCalculatorLinkDef.h
630b31e302e58466846a5ba63a4e8546b71554aa
[ "BSD-3-Clause" ]
permissive
Eventdisplay/Eventdisplay
6133a1fcac44efb37baf25f6d91d337c1965fcd2
50e297561ddac0ca2db39e0391a672f2f275994b
refs/heads/main
2023-06-24T03:58:48.287734
2023-06-14T06:29:25
2023-06-14T06:29:25
221,222,023
15
3
BSD-3-Clause
2023-08-23T15:17:56
2019-11-12T13:17:01
C++
UTF-8
C
false
false
72
h
VSensitivityCalculatorLinkDef.h
#ifdef __CLING__ #pragma link C++ class VSensitivityCalculator+; #endif
c5fc212f8651c5958a30af219dea3bdb28d83af2
976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f
/source/linux/drivers/media/i2c/extr_mt9t001.c_mt9t001_open.c
f19b789515bd9fcb79a439fc58cd4286bd08e3aa
[]
no_license
isabella232/AnghaBench
7ba90823cf8c0dd25a803d1688500eec91d1cf4e
9a5f60cdc907a0475090eef45e5be43392c25132
refs/heads/master
2023-04-20T09:05:33.024569
2021-05-07T18:36:26
2021-05-07T18:36:26
null
0
0
null
null
null
null
UTF-8
C
false
false
2,008
c
extr_mt9t001.c_mt9t001_open.c
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward declarations */ /* Type definitions */ struct v4l2_subdev_fh {int /*<<< orphan*/ pad; } ; struct v4l2_subdev {int dummy; } ; struct v4l2_rect {void* height; void* width; int /*<<< orphan*/ top; int /*<<< orphan*/ left; } ; struct v4l2_mbus_framefmt {int /*<<< orphan*/ colorspace; int /*<<< orphan*/ field; void* height; void* width; int /*<<< orphan*/ code; } ; /* Variables and functions */ int /*<<< orphan*/ MEDIA_BUS_FMT_SGRBG10_1X10 ; int /*<<< orphan*/ MT9T001_COLUMN_START_DEF ; int /*<<< orphan*/ MT9T001_ROW_START_DEF ; void* MT9T001_WINDOW_HEIGHT_DEF ; void* MT9T001_WINDOW_WIDTH_DEF ; int /*<<< orphan*/ V4L2_COLORSPACE_SRGB ; int /*<<< orphan*/ V4L2_FIELD_NONE ; int mt9t001_set_power (struct v4l2_subdev*,int) ; struct v4l2_rect* v4l2_subdev_get_try_crop (struct v4l2_subdev*,int /*<<< orphan*/ ,int /*<<< orphan*/ ) ; struct v4l2_mbus_framefmt* v4l2_subdev_get_try_format (struct v4l2_subdev*,int /*<<< orphan*/ ,int /*<<< orphan*/ ) ; __attribute__((used)) static int mt9t001_open(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh) { struct v4l2_mbus_framefmt *format; struct v4l2_rect *crop; crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0); crop->left = MT9T001_COLUMN_START_DEF; crop->top = MT9T001_ROW_START_DEF; crop->width = MT9T001_WINDOW_WIDTH_DEF + 1; crop->height = MT9T001_WINDOW_HEIGHT_DEF + 1; format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); format->code = MEDIA_BUS_FMT_SGRBG10_1X10; format->width = MT9T001_WINDOW_WIDTH_DEF + 1; format->height = MT9T001_WINDOW_HEIGHT_DEF + 1; format->field = V4L2_FIELD_NONE; format->colorspace = V4L2_COLORSPACE_SRGB; return mt9t001_set_power(subdev, 1); }
a0a5d1ecfabaa8482c3900f44b25a2bbc5b4e154
db26d5d7ec13c7c359f8459519f0f930648a6e2a
/Builds/iPhone/Classes/Native/AssemblyU2DCSharp_PixelCrushers_DialogueSystem_UsableUnityUI_0MethodDeclarations.h
854c98853998ee6934a7f20e1df4f27eeac3daa9
[]
no_license
PawkaHub/Lore-Unity
589f837ffbe493741bec99d697ce8a0a13bbee10
109381406254f59e3f2c1d244277ae56bba370fe
refs/heads/master
2020-12-03T09:19:50.562878
2015-10-30T03:11:03
2015-10-30T03:11:03
38,232,180
1
0
null
null
null
null
UTF-8
C
false
false
1,922
h
AssemblyU2DCSharp_PixelCrushers_DialogueSystem_UsableUnityUI_0MethodDeclarations.h
#pragma once #include <stdint.h> #include <assert.h> #include <exception> #include "codegen/il2cpp-codegen.h" // PixelCrushers.DialogueSystem.UsableUnityUI struct UsableUnityUI_t280; // System.String struct String_t; // UnityEngine.Transform struct Transform_t54; // System.Void PixelCrushers.DialogueSystem.UsableUnityUI::.ctor() extern "C" void UsableUnityUI__ctor_m1076 (UsableUnityUI_t280 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void PixelCrushers.DialogueSystem.UsableUnityUI::Awake() extern "C" void UsableUnityUI_Awake_m1077 (UsableUnityUI_t280 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void PixelCrushers.DialogueSystem.UsableUnityUI::Start() extern "C" void UsableUnityUI_Start_m1078 (UsableUnityUI_t280 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void PixelCrushers.DialogueSystem.UsableUnityUI::Show(System.String) extern "C" void UsableUnityUI_Show_m1079 (UsableUnityUI_t280 * __this, String_t* ___useMessage, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void PixelCrushers.DialogueSystem.UsableUnityUI::Hide() extern "C" void UsableUnityUI_Hide_m1080 (UsableUnityUI_t280 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void PixelCrushers.DialogueSystem.UsableUnityUI::OnBarkStart(UnityEngine.Transform) extern "C" void UsableUnityUI_OnBarkStart_m1081 (UsableUnityUI_t280 * __this, Transform_t54 * ___actor, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void PixelCrushers.DialogueSystem.UsableUnityUI::UpdateDisplay(System.Boolean) extern "C" void UsableUnityUI_UpdateDisplay_m1082 (UsableUnityUI_t280 * __this, bool ___inRange, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Boolean PixelCrushers.DialogueSystem.UsableUnityUI::CanTriggerAnimations() extern "C" bool UsableUnityUI_CanTriggerAnimations_m1083 (UsableUnityUI_t280 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
7fb21670385f5af000487045e0601d7d4d9745fb
e462488d9ec937f2c4172e64f2b1023a853c01a2
/ipc_sdk/include/ivs/ivs_inf_custpersonDet.h
642f6e867da1f40b4690a636db9d2d486f074571
[]
no_license
levurusov/HS005
97f2fc074322c1775866061e15317228be175cb5
c30f178099703837a7a8560e1134310a9a2989f7
refs/heads/main
2023-02-10T09:43:48.380396
2021-01-06T16:07:29
2021-01-06T16:07:29
null
0
0
null
null
null
null
UTF-8
C
false
false
2,371
h
ivs_inf_custpersonDet.h
#ifndef __IVS_INF_CUSTPERSONDET_H__ #define __IVS_INF_CUSTPERSONDET_H__ #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /* __cplusplus */ #include "ivs_common.h" #define NUM_OF_PERSONS 10 /* * 人形信息角度结构体 */ typedef struct { float yaw; float pitch; float roll; }custpreson_face_pose; /* * 人脸信息结构体 */ typedef struct { IVSRect box; /**< 人脸区域坐标,用来做人脸识别 */ IVSRect show_box; /**< 人脸区域真实坐标 */ custpreson_face_pose face_pose_res; /**< 人脸角度**/ float confidence; /**< 人脸检测结果的置信度 */ float blur_score; /**< 人脸模糊得分 1:模糊 0:清晰 */ }custpreson_face_info; /* * 人形信息结构体 */ typedef struct { IVSRect box; /**< ROI区域坐标 */ IVSRect show_box; /**< 人形区域真实坐标 */ float confidence; /**< 人形检测结果的置信度 */ }custperson_info; /* * 人形检测输入结构体 */ typedef struct { bool ptime; /**< 是否打印检测时间 */ int skip_num; /**< 跳帧数目 */ unsigned int delay; /**< 延时识别时间,默认为0 */ IVSRect win; /**< 人形检测区域坐标信息 */ IVSFrameInfo frameInfo; /**< 帧信息 */ bool rotate; /**< rotate 270 or -90 */ unsigned int max_face_box; /**< 人脸检测处理过程中保留的框数量 */ float scale_factor; /**< 图像缩放倍数: new_size = ori_size * scale_factor */ bool switch_face_pose; /**< 人脸角度检测模块开关, 当true时会做人脸角度检测, 当false时不做人脸角度检测返回-1 */ bool switch_face_blur; /**< 人脸模糊检测模块开关, 当true时会做人脸模糊检测, 当false时不做人脸模糊检测返回-1 */ }custpersondet_param_input_t; /* * 人形检测输出结构体 */ typedef struct { int count; /**< 识别出人形的个数 */ int face_count; /**< out face nums */ custperson_info person[NUM_OF_PERSONS]; /**< 识别出的人形信息 */ custpreson_face_info face[NUM_OF_PERSONS]; /**< 识别出的人脸信息 */ int64_t timeStamp; /**< 时间戳 */ bool alarm; /**< 报警信号,动作幅度较大或出现新目标时置true否则为false */ }custpersondet_param_output_t; #ifdef __cplusplus #if __cplusplus } #endif #endif /* __cplusplus */ #endif /* __IVS_INF_CUSTPERSONDET_H__ */
ad9bac6d7d5b61edfdad17e3d237f04c58395547
ee861e52ed87d7fcbe6bf0ee512eb0e4993098fa
/Exercicios em C/prova e simulado/exerc3_simulado.c
d4a5c157243acc37348276bae070c0aa9f60d7b0
[]
no_license
jaquelinebonoto/logicaemC_
a7f012a268dc32ae8e9089514c27a7982c8e6f90
23b7f246b27fcc7f8e423ed054fd61360293b1d4
refs/heads/master
2020-03-26T02:01:15.431863
2018-08-11T14:45:02
2018-08-11T14:45:02
144,393,284
0
0
null
null
null
null
ISO-8859-1
C
false
false
1,741
c
exerc3_simulado.c
/* Fazer um algoritmo que leia um vetor A de 30 posições e cria dois vetores B e C. O vetor B contém o fatorial dos elementos de A e o vetor C contém o resultado da multiplicação dos valores de A pelo maior elemento do vetor. Escrever os vetores B e C no final e a quantidade de numeros primos nos 3 vetores. O calculo do fatorial deve ser feito por uma função que recebe como parametro o número e retorna seu fatorial. Escrever uma função que recebe um numero como parametro e retorna a quantidade de divisores. */ #include <stdio.h> #include <stdlib.h> #include <locale.h> int fatorial (int n){ int i, fat=1; for (i=2; i<=n; i++){ fat=fat*i; } return fat; } int maior (int vetor[30]){ int resp=vetor [0],i; for(i=0; i<30;i++){ if (resp<vetor[i]) resp=vetor[i]; } return resp; } int divisores (int n){ int resp=0, i; for (i=1; i<=n; i++){ if(n%i==0) resp++; } return resp; } int main(int argc, char** argv) { setlocale (LC_ALL, "Portuguese"); int A[30], B[30], C [30], primosA=0, primosB=0, primosC=0; int i, m; for (i=0; i<30; i++){ printf("Digite um valor para a posição %d: ", i); scanf ("%d", &A[i]); } m=maior(A); for (i=0; i<30; i++){ B[i]= fatorial (A[i]); C[i]=m*B[i]; } for(i=0; i<30; i++){ if (divisores(A[i])==2) primosA++; if (divisores(B[i])==2) primosB++; if (divisores(C[i])==2) primosC++; } printf ("Vetor B: \n"); for (i=0; i<30; i++) printf("%d\t\n", B[i]); printf ("Vetor C: \n"); for (i=0; i<30; i++) printf("%d\t\n", C[i]); printf ("Quantidade de primos no vetor A: %d\n", primosA); printf ("Quantidade de primos no vetor B: %d\n", primosB); printf ("Quantidade de primos no vetor C: %d\n", primosC); return (EXIT_SUCCESS); }
e3e94ffb81a41169d79fe12dcee0233240fefd93
a8719a51966cad0a315b4b518e652724db82ea29
/asembler/gnl/libft/ft_strstr.c
51f27294191f313c568f5bd7bef13ebea1fe2687
[]
no_license
ed-amielin/corewar
c64749b7b5f98a7595532307f41f7995bbb2d3e6
3d873339fd27e7452421d3451228d297514614c1
refs/heads/master
2020-11-27T02:41:42.575589
2019-12-20T14:10:33
2019-12-20T14:10:33
229,276,301
0
0
null
null
null
null
UTF-8
C
false
false
1,464
c
ft_strstr.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strstr.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: ddodukal <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2018/10/29 17:43:20 by ddodukal #+# #+# */ /* Updated: 2018/12/01 12:48:42 by ddodukal ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" static int ft_cycle(const char *s1, const char *s2) { size_t k; size_t j; size_t i; i = 0; k = 0; while (s1[i] != '\0') { if (s1[i] == s2[0]) { k = i; j = 0; while (s1[k] != '\0' && s2[j] != '\0') { if (s1[k] != s2[j]) break ; j++; k++; if (s2[j] == '\0') return (i); } } i++; } return (-1); } char *ft_strstr(const char *s1, const char *s2) { int i; i = 0; if (ft_strlen(s2) == 0) return ((char*)&s1[0]); i = ft_cycle(s1, s2); if (i != -1) return ((char*)&s1[i]); return (0); }
78c02a68675aedc1c68061355b9000f578070e80
a556c07ecfa1031dae46fd3433762941ceca68b1
/d/suzhou/warship.c
ba1368f1a86c24579b8403c4420533c6ef920eea
[]
no_license
yqzcabao/pkuxkx-utf8
53c3c24f4e3a9125372bca72b6a4b10aa6293a7f
0eaf237c9970795a51aa4cc04b5b762003300cbd
refs/heads/main
2023-04-01T21:16:23.894845
2021-04-09T13:33:24
2021-04-09T13:33:24
null
0
0
null
null
null
null
UTF-8
C
false
false
997
c
warship.c
#include <ansi.h> #include <room.h> inherit ROOM; void create() { set("short", HIW"大宋战舰"NOR); set("long", @LONG 这是一艘大宋的战舰,代表了当代造船工艺的巅峰。 LONG ); set("no_task",1); set("real_dark",1); set("outdoors", "suzhou"); setup(); } void init() { object me=this_player(); if (me->query_temp("songtasks/shuishi/warship")) { me->delete_temp("songtasks/shuishi/warship"); remove_call_out("story1"); call_out("story1",10,me); return; } } int story1(object me) { tell_object(me,"战舰乘风破浪,转眼已到太湖南岸了。\n"); remove_call_out("story2"); call_out("story2",5,me); return 1; } int story2(object me) { tell_object(me,"战舰已顺大运河而下抵达临安府了。\n"); tell_object(me,HIC"你下了战船,赶紧回水师驻地复命吧。\n"NOR); me->set_temp("songtasks/shuishi/1/finish",1); me->move("/d/hangzhou/nanmen"); return 1; }
2e80906b48bc326e9ce11c0d77debc9008ccbe0e
da96dea2fd36bfae8265d2dc6c3da48e61f41d32
/Virtual memory (Memory leak)/src/activity-4/activity-4.c
704642ef410d07a71bcc6c83ad5822b45a31ea99
[ "MIT" ]
permissive
Crio-Bytes/OS
83c8b18e8d1a8528ff9592538ca8bc6853070360
861cd18c2088140ebc3303a7c51e60314473cc42
refs/heads/main
2023-02-03T01:02:04.875412
2020-12-18T19:42:07
2020-12-18T19:42:07
304,695,722
3
9
MIT
2020-11-01T18:12:31
2020-10-16T17:31:13
C
UTF-8
C
false
false
305
c
activity-4.c
#include <stdio.h> #include <stdlib.h> #include <unistd.h> int main(void) { int *t = NULL; printf("Process ID: %d\n", getpid()); while (1) { // TODO: allocate 100 MB memory every // 2 seconds t = (int *)(malloc(sizeof(int))); printf("%p\n", t); sleep(1); } return 0; }
687111c04c3fad36d588d7c98479a3e5d1f9204a
939ac23251dd229333f0f9555051311c334e7852
/Simple Shell/shell.h
cad4a1fc1ac5f92335c1ece971311e1ddca2fa15
[]
no_license
thehanriver/Operating-Systems
b9877a95c57a725bb42816abeead61b94aaecd83
65746f5e72b6a5fe399c6a9cea93c4c110f89deb
refs/heads/master
2022-08-11T16:54:59.815789
2020-05-24T09:36:57
2020-05-24T09:36:57
266,506,311
0
0
null
null
null
null
UTF-8
C
false
false
216
h
shell.h
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/wait.h> #include <sys/stat.h> #include <sys/types.h> #include <string.h> #include <ctype.h> #define BUFFER 512 #define READ 0 #define WRITE 1
f290b55cdf93489a41ebdf3e1f2611435989e7b6
5cb5852549d15fcb0e0eb6e6c19df6376569ce3a
/C3.06/Source/main.c
cad7581289ee0caf6b2a282167b7ac18cb43da40
[]
no_license
RocShi/tinyOS
2421698aa2b0b83ee1399a00cd23d1261c869272
e1e9e2bb01dfb1d4343de5e0de678f3d0065c469
refs/heads/master
2021-08-15T02:43:53.909935
2017-11-17T07:09:18
2017-11-17T07:09:18
110,962,899
6
4
null
null
null
null
UTF-8
C
false
false
4,859
c
main.c
#include "tinyOS.h" #include "ARMCM3.h" int task1Flag; //Task1 flag int task2Flag; //Task2 flag tTask *currentTask; //Current task's structure pointer tTask *nextTask; //Next task's structure pointer tTask *idleTask; //Idle task's structure pointer tTask *taskTable[TINYOS_PRO_COUNT]; //Task list tTask tTask1; //Task1 structure tTask tTask2; //Task2 structure tTask tTaskIdle; //Idle task structure tTaskStack task1Env[1024]; //Task1 stack tTaskStack task2Env[1024]; //Task2 stack tTaskStack idleTaskEnv[1024]; //Idle task stack uint8_t schedLockCount; //Schedule lock counter tBitmap taskPrioBitmap; //The bitmap of the tasks' priorities tList tTaskDelayedList; //Task delayed list void tTaskDelayInit(void); //Task delayed list initial function void tTaskDelay(uint32_t ms); //Task delay function void tTaskInit(tTask *task, void(*entry)(void *), void *param, uint32_t prio, tTaskStack *stack); //Task initial function void task1Entry(void *param); //Task1 function void task2Entry(void *param); //Task2 function void idleTaskEntry(void *param); //Idle task function void tSetSysTickPeriod(uint32_t ms); //SysTick timer initial function int main(void) { tTaskDelayInit(); //Task delayed list initiate tTaskInit(&tTask1, task1Entry, (void *)0x11111111, 0, &task1Env[1024]); //Task1 initiate tTaskInit(&tTask2, task2Entry, (void *)0x22222222, 1, &task2Env[1024]); //Task2 initiate tTaskInit(&tTaskIdle, idleTaskEntry, (void *)0, TINYOS_PRO_COUNT-1, &idleTaskEnv[1024]); //Idle task initiate idleTask=&tTaskIdle; nextTask=tTaskHighestReady(); //The first task to be ran has the highest priority tTaskRunFirst(); } void tTaskDelayInit(void) //Task delayed list initial function { tListInit(&tTaskDelayedList); } void tTaskDelay(uint32_t ms) //Task delay function, the parameter ms must be integral multiple of 10 { uint32_t status=tTaskEnterCritical(); tTimeTaskWait(currentTask, ms); tTaskSchedUnRdy(currentTask); tTaskExitCritical(status); tTaskSched(); } void tTaskInit(tTask *task, void(*entry)(void *), void *param, uint32_t prio, tTaskStack *stack) //Task initial function { //These data are pushed or popped using PSP pointer by the hardware automaticly *(--stack)=(unsigned long)(1<<24); //xPSR *(--stack)=(unsigned long)entry; //PC(R15) *(--stack)=(unsigned long)0x50C; //R14 *(--stack)=(unsigned long)0x12; //R12 *(--stack)=(unsigned long)0x3; //R3 *(--stack)=(unsigned long)0x2; //R2 *(--stack)=(unsigned long)0x1; //R1 *(--stack)=(unsigned long)param; //param(R0) //These data are pushed or popped using task structure stack pointer by user manually *(--stack)=(unsigned long)0x11; //R11 *(--stack)=(unsigned long)0x10; //R10 *(--stack)=(unsigned long)0x9; //R9 *(--stack)=(unsigned long)0x8; //R8 *(--stack)=(unsigned long)0x7; //R7 *(--stack)=(unsigned long)0x6; //R6 *(--stack)=(unsigned long)0x5; //R5 *(--stack)=(unsigned long)0x4; //R4 task->stack=stack; //Initiate the task stack pointer task->delayTicks=0; //Initiate the task delay counter tNodeInit(&(task->delayNode)); //Initiate the task's delay node task->prio=prio; //Initiate the task priority task->state=TINYOS_TASK_STATUS_RDY; //Initiate the task delay state: ready taskTable[prio]=task; tBitmapSet(&taskPrioBitmap,prio); } void task1Entry(void *param) //Task1 function { tSetSysTickPeriod(10); //Timing cycle is 10ms for(;;) { task1Flag=1; tTaskDelay(10); task1Flag=0; tTaskDelay(10); } } void task2Entry(void *param) //Task2 function { for(;;) { task2Flag=1; tTaskDelay(10); task2Flag=0; tTaskDelay(10); } } void idleTaskEntry(void *param) //Idele task function { for(;;) { } } void tSetSysTickPeriod(uint32_t ms) //SysTick Timer initial function { SysTick->LOAD=ms*SystemCoreClock/1000-1; //Set the reload register NVIC_SetPriority(SysTick_IRQn,1<<(__NVIC_PRIO_BITS-1)); //The priority of "-" is higher than that of "<<" SysTick->VAL=0; SysTick->CTRL=SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk; //Enable SysTick IRQ and SysTick Time } void SysTick_Handler (void) { tNode *node; tTask *task; uint32_t status=tTaskEnterCritical(); for(node=tTaskDelayedList.firstnode; node!= &(tTaskDelayedList.headNode); node=node->nextNode) { task=tNodeParent(node, tTask, delayNode); if(--task->delayTicks==0) { tTimeTaskWakeUp(task); tTaskSchedRdy(task); } } tTaskExitCritical(status); tTaskSched(); //Schedule the task }
4c51063f0e6b22a1f6cd2625936467d85f2a06f7
065e59fb7c8c609c169922b1150984673c75d9c9
/1028.c
103958a7a095de31a31aac13319a66e4ec8e665a
[]
no_license
saigjiej/C-CodeUp
10863acb175abc761650e54c7e004f25811d2a59
4a2622c950d99ff3aa83abb4520f5b4aabe3651e
refs/heads/master
2023-04-17T20:43:30.440766
2021-04-24T17:40:06
2021-04-24T17:40:06
357,082,486
0
0
null
null
null
null
UHC
C
false
false
185
c
1028.c
#include <stdio.h> // 1028 - 정수 1개 입력받아 그대로 출력하기 2 int main() { int n; scanf("%u", &n); printf("%u", n); // %u가 아닐 시 음수로 출력 return 0; }
440f1784f13939e6b7ce5526adffdf89d65fd98d
1ed87b63da6b5a699b756afc1312a3267de550f8
/third_party_libraries/include/HTextImp.h
5385f5dc7981106587201d3773e9c184a0d3e716
[]
no_license
mixxit/solinia-old
2fc4bed4724e605f7845a8b62aecf76aad539d0d
1cd209be1aa46c03cfcb136c9dbfeed1f8c04e48
refs/heads/master
2021-05-26T14:07:17.733584
2010-05-21T14:43:18
2010-05-21T14:43:18
678,986
1
0
null
null
null
null
UTF-8
C
false
false
1,477
h
HTextImp.h
/* W3C Sample Code Library libwww Internal Hypertext Object ! Internal implementation of Hypertext Object Builder ! */ /* ** (c) COPYRIGHT MIT 1995. ** Please first read the full copyright statement in the file COPYRIGH. */ /* */ #ifndef HTEXTIMP_H #define HTEXTIMP_H #include "HTReq.h" #include "HTAnchor.h" #include "HText.h" /* */ typedef struct _HTextImp HTextImp; extern HTextImp * HTextImp_new ( HTRequest * request, HTParentAnchor *anchor, HTStream * output_stream); extern BOOL HTextImp_delete ( HTextImp * me); extern void HTextImp_build ( HTextImp * text, HTextStatus status); extern void HTextImp_addText ( HTextImp * me, const char * buffer, int length); extern void HTextImp_foundLink ( HTextImp * me, int element_number, int attribute_number, HTChildAnchor * anchor, const BOOL * present, const char ** value); extern void HTextImp_beginElement ( HTextImp * me, int element_number, const BOOL * present, const char ** value); extern void HTextImp_endElement ( HTextImp * me, int element_number); extern void HTextImp_unparsedBeginElement ( HTextImp * me, const char * buffer, int length); extern void HTextImp_unparsedEndElement ( HTextImp * me, const char * buffer, int length); extern void HTextImp_unparsedEntity ( HTextImp * me, const char * buffer, int length); /* */ #endif /* HTEXTIMP_H */ /* @(#) $Id: HTextImp.html,v 2.4 2005-11-11 14:03:16 vbancrof Exp $ */
5c35a03422b77348ddbdac4ca4dff986a26120b0
3620fe0559ad0958f794aac02fd83856e1379620
/process/atexit.c
759b802a7f432496b6f92ec6f9f420721936a1f4
[]
no_license
Heisenberg-Chef/Unix_C
99372fe6bef8497a5541cd73f7ca9dffc7e74e6e
02b52089ae9f8df0d7c586b899f88e7b5e1e9448
refs/heads/master
2022-11-29T23:38:40.695055
2020-08-11T13:35:26
2020-08-11T13:35:26
null
0
0
null
null
null
null
UTF-8
C
false
false
399
c
atexit.c
#include <stdio.h> #include <stdlib.h> static void f1(void) { puts("f1() is working.\n"); } static void f2(void) { puts("f2() is working.\n"); } static void f3(void) { puts("f3() is working.\n"); } int main() { puts("Begin\n"); // 并不是调用,而是把这个进程挂在钩子上,在结束之前调用 atexit(f1); atexit(f2); atexit(f3); puts("End\n"); }
871a7708010e698fdd1beb644b87014d2309a9a6
439135e3d6091d59e3be7958ce146c53a59edde9
/sine.c
c376ff78adf84f37824ee698caa18af0c8c2309f
[]
no_license
pauliesworld/midi
e835afc2c3730ec75ebd4bfe08054fe3e33ca536
5c242cf9d8dd21f9c98345ce0d9708db6254447a
refs/heads/master
2021-01-20T08:35:07.824890
2017-03-04T22:19:15
2017-03-04T22:19:15
83,909,714
0
0
null
null
null
null
UTF-8
C
false
false
126,426
c
sine.c
static char rcsid[] = "sine.c,v 1.3 2004/02/22 17:34:38 ecen2120 Exp"; unsigned char alow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, 157, 158, 158, 159, 159, 160, 160, 161, 161, 162, 162, 163, 163, 164, 164, 164, 165, 165, 166, 166, 167, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 195, 195, 195, 195, 196, 196, 197, 197, 198, 198, 199, 199, 200, 200, 200, 200, 201, 201, 202, 202, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 218, 218, 218, 219, 219, 219, 219, 220, 220, 221, 221, 221, 221, 222, 222, 223, 223, 223, 224, 224, 225, 225, 225, 225, 226, 226, 227, 227, 227, 227, 228, 228, 229, 229, 229, 229, 230, 230, 230, 230, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 241, 241, 242, 242, 242, 242, 243, 243, 243, 243, 243, 243, 244, 244, 244, 244, 245, 245, 245, 245, 245, 245, 246, 246, 246, 246, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 251, 251, 251, 251, 251, 251, 251, 251, 251, 250, 250, 250, 250, 250, 250, 250, 249, 249, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 241, 241, 241, 241, 240, 240, 240, 240, 239, 239, 239, 239, 238, 238, 238, 238, 237, 237, 237, 237, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 225, 225, 224, 224, 223, 223, 223, 223, 222, 222, 221, 221, 221, 221, 220, 220, 219, 219, 219, 219, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 203, 203, 202, 202, 201, 201, 201, 200, 200, 200, 200, 199, 199, 198, 198, 197, 197, 196, 196, 195, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 158, 158, 157, 157, 156, 156, 155, 155, 154, 154, 153, 153, 152, 152, 151, 151, 150, 150, 149, 149, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121, 121, 120, 120, 119, 119, 118, 118, 117, 117, 116, 116, 115, 115, 114, 114, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 45, 45, 45, 45, 44, 44, 43, 43, 42, 42, 42, 42, 41, 41, 40, 40, 39, 39, 39, 39, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 45, 45, 46, 46, 47, 47, 48, 48, 48, 48, 49, 49, 50, 50, 51, 51, 51, 52, 52, 52, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 72, 73, 73, 74, 74, 75, 75, 76, 76, 77, 77, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 82, 83, 83, 84, 84, 85, 85, 86, 86, 87, 87, 88, 88, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char gslower[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, 157, 158, 158, 159, 159, 160, 160, 161, 161, 162, 162, 163, 163, 164, 164, 164, 165, 165, 166, 166, 167, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 195, 195, 195, 195, 196, 196, 197, 197, 198, 198, 199, 199, 200, 200, 200, 200, 201, 201, 202, 202, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 218, 218, 218, 219, 219, 219, 219, 220, 220, 221, 221, 221, 221, 222, 222, 223, 223, 223, 224, 224, 225, 225, 225, 225, 226, 226, 227, 227, 227, 227, 228, 228, 229, 229, 229, 229, 230, 230, 230, 230, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 241, 241, 242, 242, 242, 242, 243, 243, 243, 243, 243, 243, 244, 244, 244, 244, 245, 245, 245, 245, 245, 245, 246, 246, 246, 246, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 251, 251, 251, 251, 251, 251, 251, 251, 251, 250, 250, 250, 250, 250, 250, 250, 249, 249, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 241, 241, 241, 241, 240, 240, 240, 240, 239, 239, 239, 239, 238, 238, 238, 238, 237, 237, 237, 237, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 225, 225, 224, 224, 223, 223, 223, 223, 222, 222, 221, 221, 221, 221, 220, 220, 219, 219, 219, 219, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 203, 203, 202, 202, 201, 201, 201, 200, 200, 200, 200, 199, 199, 198, 198, 197, 197, 196, 196, 195, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 158, 158, 157, 157, 156, 156, 155, 155, 154, 154, 153, 153, 152, 152, 151, 151, 150, 150, 149, 149, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121, 121, 120, 120, 119, 119, 118, 118, 117, 117, 116, 116, 115, 115, 114, 114, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 45, 45, 45, 45, 44, 44, 43, 43, 42, 42, 42, 42, 41, 41, 40, 40, 39, 39, 39, 39, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 45, 45, 46, 46, 47, 47, 48, 48, 48, 48, 49, 49, 50, 50, 51, 51, 51, 52, 52, 52, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 72, 73, 73, 74, 74, 75, 75, 76, 76, 77, 77, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 82, 83, 83, 84, 84, 85, 85, 86, 86, 87, 87, 88, 88, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char aslow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, 157, 158, 158, 159, 159, 160, 160, 161, 161, 162, 162, 163, 163, 164, 164, 164, 165, 165, 166, 166, 167, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 195, 195, 195, 195, 196, 196, 197, 197, 198, 198, 199, 199, 200, 200, 200, 200, 201, 201, 202, 202, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 218, 218, 218, 219, 219, 219, 219, 220, 220, 221, 221, 221, 221, 222, 222, 223, 223, 223, 224, 224, 225, 225, 225, 225, 226, 226, 227, 227, 227, 227, 228, 228, 229, 229, 229, 229, 230, 230, 230, 230, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 241, 241, 242, 242, 242, 242, 243, 243, 243, 243, 243, 243, 244, 244, 244, 244, 245, 245, 245, 245, 245, 245, 246, 246, 246, 246, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 251, 251, 251, 251, 251, 251, 251, 251, 251, 250, 250, 250, 250, 250, 250, 250, 249, 249, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 241, 241, 241, 241, 240, 240, 240, 240, 239, 239, 239, 239, 238, 238, 238, 238, 237, 237, 237, 237, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 225, 225, 224, 224, 223, 223, 223, 223, 222, 222, 221, 221, 221, 221, 220, 220, 219, 219, 219, 219, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 203, 203, 202, 202, 201, 201, 201, 200, 200, 200, 200, 199, 199, 198, 198, 197, 197, 196, 196, 195, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 158, 158, 157, 157, 156, 156, 155, 155, 154, 154, 153, 153, 152, 152, 151, 151, 150, 150, 149, 149, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121, 121, 120, 120, 119, 119, 118, 118, 117, 117, 116, 116, 115, 115, 114, 114, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 45, 45, 45, 45, 44, 44, 43, 43, 42, 42, 42, 42, 41, 41, 40, 40, 39, 39, 39, 39, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 45, 45, 46, 46, 47, 47, 48, 48, 48, 48, 49, 49, 50, 50, 51, 51, 51, 52, 52, 52, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 72, 73, 73, 74, 74, 75, 75, 76, 76, 77, 77, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 82, 83, 83, 84, 84, 85, 85, 86, 86, 87, 87, 88, 88, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char blow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, 157, 158, 158, 159, 159, 160, 160, 161, 161, 162, 162, 163, 163, 164, 164, 164, 165, 165, 166, 166, 167, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 195, 195, 195, 195, 196, 196, 197, 197, 198, 198, 199, 199, 200, 200, 200, 200, 201, 201, 202, 202, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 218, 218, 218, 218, 219, 219, 219, 220, 220, 220, 221, 221, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 241, 241, 242, 242, 242, 242, 243, 243, 243, 243, 243, 243, 244, 244, 244, 244, 245, 245, 245, 245, 245, 245, 246, 246, 246, 246, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 241, 241, 241, 241, 240, 240, 240, 240, 239, 239, 239, 239, 238, 238, 238, 238, 237, 237, 237, 237, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 225, 225, 224, 224, 223, 223, 223, 223, 222, 222, 221, 221, 221, 221, 220, 220, 219, 219, 219, 219, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 203, 203, 202, 202, 201, 201, 201, 200, 200, 200, 200, 199, 199, 198, 198, 197, 197, 196, 196, 195, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 158, 158, 157, 157, 156, 156, 155, 155, 154, 154, 153, 153, 152, 152, 151, 151, 150, 150, 149, 149, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121, 121, 120, 120, 119, 119, 118, 118, 117, 117, 116, 116, 115, 115, 114, 114, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 45, 45, 45, 45, 44, 44, 43, 43, 42, 42, 42, 42, 41, 41, 40, 40, 39, 39, 39, 39, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 72, 73, 73, 74, 74, 75, 75, 76, 76, 77, 77, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 82, 83, 83, 84, 84, 85, 85, 86, 86, 87, 87, 88, 88, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char clow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, 157, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 195, 195, 195, 195, 196, 196, 197, 197, 198, 198, 199, 199, 200, 200, 200, 200, 201, 201, 202, 202, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 218, 218, 218, 219, 219, 219, 219, 220, 220, 221, 221, 221, 221, 222, 222, 223, 223, 223, 224, 224, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 241, 241, 242, 242, 242, 242, 243, 243, 243, 243, 243, 243, 244, 244, 244, 244, 245, 245, 245, 245, 245, 245, 246, 246, 246, 246, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 252, 252, 251, 251, 251, 251, 251, 251, 251, 251, 251, 250, 250, 250, 250, 250, 250, 250, 249, 249, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 241, 241, 241, 241, 240, 240, 240, 240, 239, 239, 239, 239, 238, 238, 238, 238, 237, 237, 237, 237, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 225, 225, 224, 224, 223, 223, 223, 223, 222, 222, 221, 221, 221, 221, 220, 220, 219, 219, 219, 219, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 203, 203, 202, 202, 201, 201, 201, 200, 200, 200, 200, 199, 199, 198, 198, 197, 197, 196, 196, 195, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121, 121, 120, 120, 119, 119, 118, 118, 117, 117, 116, 116, 115, 115, 114, 114, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 45, 45, 45, 45, 44, 44, 43, 43, 42, 42, 42, 42, 41, 41, 40, 40, 39, 39, 39, 39, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 45, 45, 46, 46, 47, 47, 48, 48, 48, 48, 49, 49, 50, 50, 51, 51, 51, 52, 52, 52, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 72, 73, 73, 74, 74, 75, 75, 76, 76, 77, 77, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 82, 83, 83, 84, 84, 85, 85, 86, 86, 87, 87, 88, 88, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char cslow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, 157, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 225, 225, 225, 225, 226, 226, 227, 227, 227, 227, 228, 228, 229, 229, 229, 229, 230, 230, 230, 230, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 241, 241, 242, 242, 242, 242, 243, 243, 243, 243, 243, 243, 244, 244, 244, 244, 245, 245, 245, 245, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 251, 251, 251, 251, 251, 251, 251, 251, 251, 250, 250, 250, 250, 250, 250, 250, 249, 249, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 241, 241, 241, 241, 240, 240, 240, 240, 239, 239, 239, 239, 238, 238, 238, 238, 237, 237, 237, 237, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 203, 203, 202, 202, 201, 201, 201, 200, 200, 200, 200, 199, 199, 198, 198, 197, 197, 196, 196, 195, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 118, 118, 117, 117, 116, 116, 115, 115, 114, 114, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 45, 45, 45, 45, 44, 44, 43, 43, 42, 42, 42, 42, 41, 41, 40, 40, 39, 39, 39, 39, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 45, 45, 46, 46, 47, 47, 48, 48, 48, 48, 49, 49, 50, 50, 51, 51, 51, 52, 52, 52, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 72, 73, 73, 74, 74, 75, 75, 76, 76, 77, 77, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 82, 83, 83, 84, 84, 85, 85, 86, 86, 87, 87, 88, 88, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char dlow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 148, 148, 149, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, 157, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 225, 225, 225, 225, 226, 226, 227, 227, 227, 227, 228, 228, 229, 229, 229, 229, 230, 230, 230, 230, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 241, 241, 242, 242, 242, 242, 243, 243, 243, 243, 243, 243, 244, 244, 244, 244, 245, 245, 245, 245, 245, 245, 246, 246, 246, 246, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 252, 252, 251, 251, 251, 251, 251, 251, 251, 251, 251, 250, 250, 250, 250, 250, 250, 250, 249, 249, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 241, 241, 241, 241, 240, 240, 240, 240, 239, 239, 239, 239, 238, 238, 238, 238, 237, 237, 237, 237, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 225, 225, 224, 224, 223, 223, 223, 223, 222, 222, 221, 221, 221, 221, 220, 220, 219, 219, 219, 219, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 203, 203, 202, 202, 201, 201, 201, 200, 200, 200, 200, 199, 199, 198, 198, 197, 197, 196, 196, 195, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 118, 118, 117, 117, 116, 116, 115, 115, 114, 114, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 45, 45, 45, 45, 44, 44, 43, 43, 42, 42, 42, 42, 41, 41, 40, 40, 39, 39, 39, 39, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 45, 45, 46, 46, 47, 47, 48, 48, 48, 48, 49, 49, 50, 50, 51, 51, 51, 52, 52, 52, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 72, 73, 73, 74, 74, 75, 75, 76, 76, 77, 77, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 82, 83, 83, 84, 84, 85, 85, 86, 86, 87, 87, 88, 88, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char dslow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 158, 158, 159, 159, 160, 160, 161, 161, 162, 162, 163, 163, 164, 164, 164, 165, 165, 166, 166, 167, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 195, 195, 195, 195, 196, 196, 197, 197, 198, 198, 199, 199, 200, 200, 200, 200, 201, 201, 202, 202, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 218, 218, 218, 219, 219, 219, 219, 220, 220, 221, 221, 221, 221, 222, 222, 223, 223, 223, 224, 224, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 245, 245, 246, 246, 246, 246, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 158, 158, 157, 157, 156, 156, 155, 155, 154, 154, 153, 153, 152, 152, 151, 151, 150, 150, 149, 149, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121, 121, 120, 120, 119, 119, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 45, 45, 45, 45, 44, 44, 43, 43, 42, 42, 42, 42, 41, 41, 40, 40, 39, 39, 39, 39, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 79, 79, 80, 80, 81, 81, 82, 82, 83, 83, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char elow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 158, 158, 159, 159, 160, 160, 161, 161, 162, 162, 163, 163, 164, 164, 164, 165, 165, 166, 166, 167, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 186, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 195, 195, 195, 195, 196, 196, 197, 197, 198, 198, 199, 199, 200, 200, 200, 200, 201, 201, 202, 202, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 245, 245, 246, 246, 246, 246, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, /* 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, */ 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 158, 158, 157, 157, 156, 156, 155, 155, 154, 154, 153, 153, 152, 152, 151, 151, 150, 150, 149, 149, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121, 121, 120, 120, 119, 119, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 45, 45, 46, 46, 47, 47, 48, 48, 48, 48, 49, 49, 50, 50, 51, 51, 51, 52, 52, 52, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 72, 73, 73, 74, 74, 75, 75, 76, 76, 77, 77, 77, 77, 78, 78, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char flow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 251, 251, 251, 251, 251, 251, 251, 251, 251, 250, 250, 250, 250, 250, 250, 250, 249, 249, 241, 241, 241, 241, 240, 240, 240, 240, 239, 239, 239, 239, 238, 238, 238, 238, 237, 237, 237, 237, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char fslow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 252, 252, 252, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 225, 225, 224, 224, 223, 223, 223, 223, 222, 222, 221, 221, 221, 221, 220, 220, 219, 219, 219, 219, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 158, 158, 157, 157, 156, 156, 155, 155, 154, 154, 153, 153, 152, 152, 151, 151, 150, 150, 149, 149, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 118, 118, 117, 117, 116, 116, 115, 115, 114, 114, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 79, 78, 78, 77, 77, 77, 77, 76, 76, 75, 75, 74, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 18, 18, 17, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 38, 38, 39, 39, 39, 39, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44, 44, 45, 45, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char glow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 242, 242, 242, 242, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 225, 225, 224, 224, 223, 223, 223, 223, 222, 222, 221, 221, 221, 221, 220, 220, 219, 219, 219, 219, 218, 218, 217, 217, 217, 217, 216, 216, 215, 215, 214, 214, 214, 214, 213, 212, 211, 213, 212, 211, 195, 195, 194, 194, 193, 193, 192, 192, 191, 191, 190, 190, 189, 189, 188, 188, 188, 188, 187, 187, 186, 186, 185, 185, 184, 184, 183, 183, 182, 182, 181, 181, 180, 180, 179, 179, 179, 179, 178, 178, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 148, 148, 147, 147, 146, 146, 145, 145, 144, 144, 143, 143, 142, 142, 141, 141, 140, 140, 139, 139, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103, 102, 102, 101, 101, 100, 100, 99, 99, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 70, 70, 69, 69, 68, 68, 68, 68, 67, 67, 66, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 38, 38, 37, 37, 37, 37, 36, 36, 35, 35, 35, 35, 34, 34, 33, 33, 33, 33, 32, 32, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 30, 30, 31, 31, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char gslow[] = { 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 143, 144, 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, 157, 158, 158, 159, 159, 160, 160, 161, 161, 162, 162, 163, 163, 164, 164, 164, 165, 165, 166, 166, 167, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 203, 203, 204, 204, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 208, 208, 209, 209, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 217, 217, 217, 217, 231, 231, 232, 232, 232, 232, 233, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 249, 249, 249, 249, 249, 248, 248, 248, 248, 248, 248, 247, 247, 247, 247, 247, 246, 246, 246, 246, 236, 236, 236, 236, 235, 235, 235, 235, 234, 234, 234, 234, 233, 233, 233, 233, 232, 232, 232, 232, 231, 231, 230, 230, 230, 230, 229, 229, 229, 229, 228, 228, 228, 227, 227, 227, 227, 226, 226, 225, 211, 211, 210, 210, 209, 209, 208, 208, 208, 208, 207, 207, 206, 206, 205, 205, 204, 204, 204, 204, 203, 203, 202, 202, 201, 201, 201, 200, 200, 200, 200, 199, 199, 198, 198, 197, 197, 196, 196, 195, 177, 177, 176, 176, 175, 175, 174, 174, 173, 173, 172, 172, 171, 171, 170, 170, 169, 169, 168, 168, 167, 167, 166, 166, 165, 165, 164, 164, 164, 164, 163, 163, 162, 162, 161, 161, 160, 160, 159, 159, 138, 138, 137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130, 129, 129, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121, 121, 120, 120, 119, 119, 98, 98, 97, 97, 96, 96, 95, 95, 94, 94, 93, 93, 92, 92, 92, 92, 91, 91, 90, 90, 89, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 84, 83, 83, 82, 82, 81, 81, 80, 80, 61, 61, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 56, 56, 56, 56, 55, 55, 54, 54, 53, 53, 52, 52, 52, 52, 52, 51, 51, 50, 50, 49, 49, 48, 48, 48, 48, 47, 47, 46, 31, 31, 31, 31 , 30, 30, 29, 29, 29, 29, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 22, 22, 22, 22, 21, 21, 21, 21, 20, 20, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 31, 31, 32, 32, 33, 33, 33, 33, 34, 34, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 53, 53, 54, 54, 55, 55, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 61, 61, 62, 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 68, 69, 69, 69, 89, 89, 90, 90, 91, 91, 92, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 0}; unsigned char ahigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 188, 189, 190, 191, 192, 193, 194, 195, 195, 196, 197, 198, 199, 200, 200, 201, 202, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 236, 237, 237, 238, 238, 239, 239, 240, 240, 241, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 248, 249, 249, 249, 250, 250, 250, 250, 251, 251, 251, 251, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 236, 236, 235, 235, 234, 234, 233, 233, 232, 232, 231, 230, 230, 229, 229, 228, 227, 227, 226, 225, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 218, 217, 217, 216, 215, 214, 214, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 204, 204, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 195, 194, 193, 192, 191, 190, 189, 188, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 61, 62, 63, 64, 65, 66, 67, 68, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char ashigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 188, 189, 190, 191, 192, 193, 194, 195, 195, 196, 197, 198, 199, 200, 200, 201, 202, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 236, 237, 237, 238, 238, 239, 239, 240, 240, 241, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 248, 249, 249, 249, 250, 250, 250, 250, 251, 251, 251, 251, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 236, 236, 235, 235, 234, 234, 233, 233, 232, 232, 231, 230, 230, 229, 229, 228, 227, 227, 226, 225, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 218, 217, 217, 216, 215, 214, 214, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 204, 204, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 195, 194, 193, 192, 191, 190, 189, 188, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 61, 62, 63, 64, 65, 66, 67, 68, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char bhigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 188, 189, 190, 191, 192, 193, 194, 195, 195, 196, 197, 198, 199, 200, 200, 201, 202, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 236, 237, 237, 238, 238, 239, 239, 240, 240, 241, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 248, 249, 249, 249, 250, 250, 250, 250, 251, 251, 251, 251, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 236, 236, 235, 235, 234, 234, 233, 233, 232, 232, 231, 230, 230, 229, 229, 228, 227, 227, 226, 225, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 218, 217, 217, 216, 215, 214, 214, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 204, 204, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 195, 194, 193, 192, 191, 190, 189, 188, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 61, 62, 63, 64, 65, 66, 67, 68, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char chigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 188, 189, 190, 191, 192, 193, 194, 195, 195, 196, 197, 198, 199, 200, 200, 201, 202, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 248, 249, 249, 249, 250, 250, 250, 250, 251, 251, 251, 251, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 231, 230, 230, 229, 229, 228, 227, 227, 226, 225, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 218, 217, 217, 216, 215, 214, 214, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 204, 204, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 195, 194, 193, 192, 191, 190, 189, 188, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 167, 166, 165, 164, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 61, 62, 63, 64, 65, 66, 67, 68, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char cshigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 195, 195, 196, 197, 198, 199, 200, 200, 201, 202, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 248, 249, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 236, 236, 235, 235, 234, 234, 233, 233, 232, 232, 231, 230, 230, 229, 229, 228, 227, 227, 226, 225, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 195, 194, 193, 192, 191, 190, 189, 188, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 61, 62, 63, 64, 65, 66, 67, 68, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char dhigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 188, 189, 190, 191, 192, 193, 194, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 248, 249, 249, 249, 250, 250, 250, 250, 251, 251, 251, 251, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 231, 230, 230, 229, 229, 228, 227, 227, 226, 225, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 218, 217, 217, 216, 215, 214, 214, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 204, 204, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 195, 194, 193, 192, 191, 190, 189, 188, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 167, 166, 165, 164, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char dshigh[] = { 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 236, 237, 237, 238, 238, 239, 239, 240, 240, 241, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 248, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 218, 217, 217, 216, 215, 214, 214, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 204, 204, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 80, 81, 82, 83, 85, 86, 87, 88 , 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char ehigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 248, 249, 249, 249, 250, 250, 250, 250, 251, 251, 251, 251, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 236, 236, 235, 235, 234, 234, 233, 233, 232, 232, 218, 217, 217, 216, 215, 214, 214, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 204, 204, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 61, 62, 63, 64, 65, 66, 67, 68, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char fhigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 186, 187, 188, 188, 189, 190, 191, 192, 193, 194, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 252, 251, 251, 251, 251, 250, 250, 250, 250, 249, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 236, 236, 235, 235, 234, 234, 233, 233, 232, 232, 231, 230, 230, 229, 229, 228, 227, 227, 226, 225, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 195, 194, 193, 192, 191, 190, 189, 188, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 61, 62, 63, 64, 65, 66, 67, 68, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 79, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char fshigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 188, 189, 190, 191, 192, 193, 194, 195, 195, 196, 197, 198, 199, 200, 200, 201, 202, 218, 219, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 230, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 245, 246, 246, 247, 247, 247, 248, 248, 248, 249, 249, 249, 250, 250, 250, 250, 251, 251, 251, 251, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 249, 249, 248, 248, 248, 247, 247, 247, 246, 246, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 61, 62, 63, 64, 65, 66, 67, 68, 68, 69, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char ghigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 236, 237, 237, 238, 238, 239, 239, 240, 240, 241, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 252, 252, 252, 252, 245, 245, 245, 244, 244, 243, 243, 243, 242, 242, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 225, 224, 223, 223, 222, 221, 221, 220, 219, 219, 203, 202, 201, 200, 200, 199, 198, 197, 196, 195, 195, 194, 193, 192, 191, 190, 189, 188, 188, 187, 167, 166, 165, 164, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 77, 76, 75, 74, 73, 72, 71, 53, 52, 52, 51, 50, 49, 48, 48, 47, 46, 45, 45, 44, 43, 42, 42, 41, 40, 39, 39, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 16, 16, 15, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 37, 38, 39, 39, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 70, 71, 72, 73, 74, 75, 76, 77, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0}; unsigned char gshigh[] = { 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 158, 159, 160, 161, 162, 163, 164, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 195, 195, 196, 197, 198, 199, 200, 200, 201, 202, 203, 204, 204, 205, 206, 207, 208, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 217, 217, 231, 232, 232, 233, 233, 234, 234, 235, 235, 236, 236, 237, 237, 238, 238, 239, 239, 240, 240, 241, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 241, 241, 240, 240, 239, 239, 238, 238, 237, 237, 236, 236, 235, 235, 234, 234, 233, 233, 232, 232, 218, 217, 217, 216, 215, 214, 214, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 204, 204, 186, 185, 184, 183, 182, 181, 180, 179, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91, 90, 70, 69, 68, 68, 67, 66, 65, 64, 63, 62, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 38, 37, 37, 36, 35, 35, 34, 33, 33, 32, 31, 31, 30, 29, 29, 28, 27, 27, 26, 26, 15, 14, 14, 13, 13, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 30, 31, 45, 46, 47, 48, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 92, 93, 94, 95, 96, 97, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0};
7a1c020e0d91a5854b7ee4fb1d78aa0a9d731832
4f658f37aa5e61c447c5a256d005ea764e9cf7b4
/bstree/bstree_apply_range.c
d53794ce46607f080ecb44c74a1be8c2560f4365
[]
no_license
charMstr/libft_42cursus
66cf37df87cf88fa899d8f2eeeb28b95dfe422c2
e6d695b03f7225674b2b4def4c78078de23b4f47
refs/heads/master
2023-06-12T19:40:59.259080
2021-06-27T16:59:06
2021-06-27T16:59:06
219,555,708
0
0
null
null
null
null
UTF-8
C
false
false
2,889
c
bstree_apply_range.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* bstree_apply_range.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: charmstr <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/10 18:33:16 by charmstr #+# #+# */ /* Updated: 2019/11/14 00:10:30 by charmstr ### ########.fr */ /* */ /* ************************************************************************** */ #include "bstree.h" /* ** note: this functionn will apply a callback func to every item of a tree ** node that is superior or equal to item_ref_min, and inferior or ** equal to item_ref_max, according to cmp func. ** browsing is preorder first. (first root, then left, then right) ** ** note: Since we operate only on some part of the tree the nodes need to be ** extracted, applied the applyf, then reinjectected. In order to ** always respect the cmp func order. ** ** note: Cumstom function cmp has a similar behavior to ft_strcmp(). ** It is the exact same cmp function used with bstree_del, ** bstree_getnode(), bstree_add() and bstree_find(). ** It has to handle te case of NULL input, returning 0 if both inputs ** are NULL. or > 0 if the new_item , and < 0 if the current ** tree_item is NULL so that we keep null at the far right. ** ** Therefore cmp's start should always look like this: ** int cmp_func(void *new_item, void *tree_item) ** { ** if (!new_item && !tree_item) ** return (0); ** if (!new_item) ** return (1); ** if (!tree_item) ** return (-1); ** ... ** ** note: In our case setting item_ref_max to NULL will include the nodes ** from item_ref_min up to NULL items as well. ** setting item_ref_min to NULL will include only nodes containing ** NULL->items. ** ** RETURN: 1 if ok ** 0 if failure in callback function. or NULL function pointer. */ int bstree_apply_range(t_bstree **root, t_bstree_range *range, \ int (*cmp)(void *, void *), int (*applyf)(void *)) { t_bstree *substree; t_bstree *extracted; int res; if (!range || !cmp || !applyf) return (0); substree = NULL; while ((extracted = bstree_getnode_range(root, range, cmp))) bstree_add(&substree, extracted, cmp); if (!substree) return (1); res = bstree_apply_preorder(substree, applyf); while (substree \ && (extracted = bstree_getnode(&substree, substree->item, cmp))) { bstree_add(root, extracted, cmp); } return (res); }
5621e28b8bae9fd8b017474f8dd6e7c2019f87ef
5822c18e815b5e16d8fce9959df29a58ef41df74
/src/globalvariable.h
3b6502b82a983801bb0e8e23f760f16cbc771fde
[]
no_license
joshuaeveleth/PDS-Cassini
7dd96f9798b66e2ba95605abb6d2c212bbce8584
78cd1117ddac9fb0967d3f8f6b5150914fc8057a
refs/heads/master
2021-01-12T08:01:57.381651
2015-09-24T18:10:00
2015-09-24T18:10:01
null
0
0
null
null
null
null
UTF-8
C
false
false
972
h
globalvariable.h
/** * Copyright (C) 2015 TopCoder Inc., All Rights Reserved. */ #ifndef GLOBALVARIABLE_H #define GLOBALVARIABLE_H /** * <p> * This file contained global variables used for predicting. * * Header file * </p> * * @author yedtoss * @version 1.0 */ #include "common.h" #include "rng.h" static RNG rng; RNG gRNG(1); const double PI = 2 * acos(0); //constexp //int gY=0,gX=0; //string gImageId; //double startTimeProgram; //double timePassed = 0; const int RADIUS_BAGS = 2048; //double minRadius = 1e9; //double maxRadius = 0; //double allSum = 0; //double allSum2 = 0; //double allVar = 0; //int allTot = 0; /*double bagSum[RADIUS_BAGS] = {0}; double bagSum2[RADIUS_BAGS] = {0}; double bagVar[RADIUS_BAGS] = {0}; double bagSumPos[RADIUS_BAGS] = {0}; double bagSumNeg[RADIUS_BAGS] = {0}; int bagSumTot[RADIUS_BAGS] = {0}; int bagSumPosTot[RADIUS_BAGS] = {0}; int bagSumNegTot[RADIUS_BAGS] = {0};*/ int currentImageId; #endif // GLOBALVARIABLE_H
cf588ebd4f837226b522e05c30ce1cff87edd874
1737e942f11ac77eae7a7f02e07661112d7a452d
/hx711.c
c6ec3d3533f25e6f9e5b7ecd2d29287174cf0288
[]
no_license
frolk/scale-driver_nrf52
cb0272ed0f21aff9c350ebeb24f542960b2666d8
a6e25f91591a8ee2af022c71160cae4bc9ad8719
refs/heads/master
2020-12-02T21:18:03.377369
2017-09-01T03:42:41
2017-09-01T03:42:41
96,290,305
1
1
null
null
null
null
UTF-8
C
false
false
1,371
c
hx711.c
#include "hx711.h" #include "nrf_drv_gpiote.h" #include "nrf_gpio.h" #include "nrf_drv_timer.h" //#include "nrf_drv_pwm.h" #include "nrf_drv_ppi.h" uint32_t adc_value; void in_data_handler (nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action) { adc_ready = 1; } void HX711_init(void) { nrf_drv_gpiote_init(); nrf_gpio_pin_set(HX_DATA); nrf_drv_gpiote_in_config_t in_data_config = GPIOTE_CONFIG_IN_SENSE_HITOLO(true); in_data_config.pull = NRF_GPIO_PIN_PULLUP; nrf_drv_gpiote_in_init (HX_DATA, &in_data_config, in_data_handler); nrf_drv_gpiote_in_event_enable(HX_DATA, true); nrf_gpio_cfg_output(HX_SCK); } uint32_t Weighing(void) { //adc_value = 0; uint8_t i = 0; nrf_gpio_pin_clear(HX_SCK); if (adc_ready == 1) { adc_value = 0; nrf_drv_gpiote_in_event_disable(HX_DATA); for(i = 0; i<24; i++) { nrf_gpio_pin_set(HX_SCK); nrf_delay_us(1); adc_value <<= 1; nrf_gpio_pin_clear(HX_SCK); nrf_delay_us(1); if(nrf_drv_gpiote_in_is_set(HX_DATA)) { adc_value++; } } nrf_gpio_pin_set(HX_SCK); nrf_delay_us(1); nrf_gpio_pin_clear(HX_SCK); nrf_delay_us(1); adc_ready = 0; nrf_drv_gpiote_in_event_enable(HX_DATA, true); } return adc_value; } void ConvertADC(void) { if(adc_value > 0) { //ultoa(adc_value, buffer+1, 10); } }
d79b0ba261210e13b25a21bd74c19f96fd895575
b2fa6cc3a0726cf0d270660453bf9fefe3c9a6ac
/mpi/mpi_hpc_lawrence_livemore_national_laboratory/mpi_array.c
c83280e20e270f539ea013cb596efec50c9907a2
[]
no_license
damvantai/parallel-programming-2017
188fdc920120c5e563045143773325302f6b416b
763571574c7469cb2057f011dc2c40e848a9381e
refs/heads/master
2021-08-08T04:17:20.061336
2017-11-09T14:44:21
2017-11-09T14:44:21
103,840,742
0
0
null
null
null
null
UTF-8
C
false
false
2,923
c
mpi_array.c
#include "mpi.h" #include <stdio.h> #include <stdlib.h> #define ARRAYSIZE 16000000 #define MASTER 0 float data[ARRAYSIZE]; int main(int argc, char *argv[]) { int numtasks, taskid, rc, dest, offset, i, j, tag1, tag2, source, chucksize; float mysum, sum; float update(int myoffset, int chuck, int myid); MPI_Status status; // Initializations MPI_Init(&argc, &argv); MPI_Comm_size(MPI_COMM_WORLD, &numtasks); if (numtasks % 4 != 0) { printf("Quitting. Number of MPI tasks must be divisible by 4.\n"); MPI_Abort(MPI_COMM_WORLD, rc); exit(0); } MPI_Comm_rank(MPI_COMM_WORLD, &taskid); chucksize = (ARRAYSIZE / numtasks); tag2 = 1; tag1 = 2; // Master task only if (taskid == MASTER) { // Initialize the array sum = 0; for (i = 0; i < ARRAYSIZE; i++) { data[i] = i * 1.0; sum = sum + data[i]; } printf("Initialized array sum = %e\n", sum); // Send each task its portion of the array - master keeps 1st part offset = chucksize; for (dest = 1; dest < numtasks; dest++) { MPI_Send(&offset, 1, MPI_INT, dest, tag1, MPI_COMM_WORLD); MPI_Send(&data[offset], chucksize, MPI_FLOAT, dest, tag2, MPI_COMM_WORLD); printf("Sent %d elements to task %d offset= %d\n", chucksize, dest, offset); offset = offset + chucksize; } // Master does its part of the work offset = 0; mysum = update(offset, chucksize, taskid); // Wait to receive results from each task for (i = 1; i < numtasks; i++) { source = i; MPI_Recv(&offset, 1, MPI_INT, source, tag1, MPI_COMM_WORLD, &status); MPI_Recv(&data[offset], chucksize, MPI_FLOAT, source, tag2, MPI_COMM_WORLD, &status); } // Get final sum and print sample results MPI_Reduce(&mysum, &sum, 1, MPI_FLOAT, MPI_SUM, MASTER, MPI_COMM_WORLD); printf("Sample results\n"); offset = 0; for (i = 0; i < numtasks; i++) { for (j = 0; j < 5; j++) { printf("%e\n", data[offset+j]); } printf("\n"); offset = offset + chucksize; } printf("*** Final sum= %e \n", sum); } // end of master section // ****** Non - master tasks only******* if (taskid > MASTER) { // Receive my portion of array from the master task source = MASTER; MPI_Recv(&offset, 1, MPI_INT, source, tag1, MPI_COMM_WORLD, &status); MPI_Recv(&data[offset], chucksize, MPI_FLOAT, source, tag2, MPI_COMM_WORLD, &status); mysum = update(offset, chucksize, taskid); // Send my results back to the master task dest = MASTER; MPI_Send(&offset, 1, MPI_INT, dest, tag1, MPI_COMM_WORLD); MPI_Send(&data[offset], chucksize, MPI_FLOAT, MASTER, tag2, MPI_COMM_WORLD); MPI_Reduce(&mysum, &sum, 1, MPI_FLOAT, MPI_SUM, MASTER, MPI_COMM_WORLD); } MPI_Finalize(); } float update(int myoffset, int chuck, int myid) { int i; float mysum; mysum = 0; for (i = myoffset; i < myoffset + chuck; i++) { data[i] = data[i] + i * 1.0; mysum = mysum + data[i]; } printf("Task %d mysum = %e\n", myid, mysum); return mysum; }
fe97cb9d8e3f845b9b74e9e86d3692ab6dadeb5f
976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f
/source/fastsocket/kernel/net/ipv4/extr_devinet.c_inetdev_send_gratuitous_arp.c
c235f787e1c6697af3dfd87f4861362d915f10ae
[]
no_license
isabella232/AnghaBench
7ba90823cf8c0dd25a803d1688500eec91d1cf4e
9a5f60cdc907a0475090eef45e5be43392c25132
refs/heads/master
2023-04-20T09:05:33.024569
2021-05-07T18:36:26
2021-05-07T18:36:26
null
0
0
null
null
null
null
UTF-8
C
false
false
1,170
c
extr_devinet.c_inetdev_send_gratuitous_arp.c
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward declarations */ /* Type definitions */ struct net_device {int /*<<< orphan*/ dev_addr; } ; struct in_ifaddr {int /*<<< orphan*/ ifa_local; struct in_ifaddr* ifa_next; } ; struct in_device {struct in_ifaddr* ifa_list; } ; /* Variables and functions */ int /*<<< orphan*/ ARPOP_REQUEST ; int /*<<< orphan*/ ETH_P_ARP ; int /*<<< orphan*/ arp_send (int /*<<< orphan*/ ,int /*<<< orphan*/ ,int /*<<< orphan*/ ,struct net_device*,int /*<<< orphan*/ ,int /*<<< orphan*/ *,int /*<<< orphan*/ ,int /*<<< orphan*/ *) ; __attribute__((used)) static void inetdev_send_gratuitous_arp(struct net_device *dev, struct in_device *in_dev) { struct in_ifaddr *ifa; for (ifa = in_dev->ifa_list; ifa; ifa = ifa->ifa_next) { arp_send(ARPOP_REQUEST, ETH_P_ARP, ifa->ifa_local, dev, ifa->ifa_local, NULL, dev->dev_addr, NULL); } }
ca548cb75919fe7740958641a5258039ec00cee7
5a63caf26f57d0562db68dd319cf617fa8037883
/include/libft_memory.h
45efde5b7d735e5cc763bc4eae608ec0adca2be5
[]
no_license
azariiva/libft
72c8cb589141a40a1466bf11b2536179d8fc212d
9eb14e2ea165e5090f6fd3d2e57418fc941c1f58
refs/heads/master
2023-01-03T08:52:41.314134
2020-11-08T17:24:56
2020-11-08T17:24:56
206,361,518
1
1
null
null
null
null
UTF-8
C
false
false
3,181
h
libft_memory.h
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* libft_memory.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: blinnea <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/07/01 18:21:51 by blinnea #+# #+# */ /* Updated: 2020/11/08 16:07:06 by blinnea ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef LIBFT_MEMORY_H # define LIBFT_MEMORY_H # include <stddef.h> typedef unsigned long int t_bl; # ifdef OPSIZ # undef OPSIZ # endif # define OPSIZ (sizeof(t_bl)) /* ** The ft_memset() function writes len bytes of value c (converted to an ** unsigned char) to the string b */ void *ft_memset(void *b, int c, size_t len); /* ** Allocates (with malloc()) and returns a “fresh” memory area. The memory ** allocated is initialized to 0. If the allocation fails, the function returns ** NULL. */ void *ft_memalloc(size_t size); /* ** Takes as a parameter the address of a memory area that needs to be freed with ** free(), then puts the pointer to NULL. */ void ft_memdel(void **ap); /* ** The ft_memcpy() function copies n bytes from memory area src to memory area ** dst. If dst and src overlap, behavior is undefined. Applications in which ** dst and src might overlap should use ft_memmove() instead. */ void *ft_memcpy(void *dst, const void *src, size_t n); /* ** The ft_memccpy() function copies bytes from string src to string dst. If the ** character c (as converted to an unsigned char) occurs in the string src, the ** copy stops and a pointer to the byte after the copy of c in the string dst is ** returned. Otherwise, n bytes are copied, and a NULL pointer is returned. ** ** The source and destination strings should not overlap, as the behavior is ** undefined. */ void *ft_memccpy(void *dst, const void *src, int c, size_t n); /* ** The ft_memmove() function copies len bytes from string src to string dst. The ** two strings may overlap; the copy is always done in a non-destructive manner. */ void *ft_memmove(void *dst, const void *src, size_t len); /* ** The ft_memchr() function locates the first occurrence of c (converted to an ** unsigned char) in string s. */ void *ft_memchr(const void *s, int c, size_t n); /* ** The ft_memcmp() function compares byte string s1 against byte string s2. Both ** strings are assumed to be n bytes long. */ int ft_memcmp(const void *s1, const void *s2, size_t n); int ft_memccmp(const void *haystack, const void *needle, int c, size_t n); /* ** The ft_bzero() function writes n zeroed bytes to the string s. If n is zero, ** ft_bzero() does nothing. */ void ft_bzero(void *s, size_t n); #endif
d4e3f926471eba9ed246cd10c0b68e009f26c6f6
282408c5c7f057bab6b3954487397261d27418b4
/Chapter 5/Example 5.3.3.1.c
b235f55e7578d38880e3de751af33d4b9c64f56f
[]
no_license
minashaigan/Programming-in-C
98080471da0eaf9d92a44c1192b0eee12143cb5f
bcebecf811e92544f6b8390638cac5ed245ef749
refs/heads/master
2020-03-13T23:14:54.341475
2018-05-25T08:56:01
2018-05-25T08:56:01
131,331,433
0
0
null
null
null
null
UTF-8
C
false
false
491
c
Example 5.3.3.1.c
#include <stdio.h> /* * Function: main * ------------------ * logical operators * * returns: x < 10 && y > 0 result is : 1 * x - 4 != y || y < 3 result is : 1 * !(x > 6 || y >= 2) result is : 0 */ int main() { int x = 6, y = 2; printf("x < 10 && y > 0 result is : %d\n", x < 10 && y > 0); printf("x - 4 != y || y < 3 result is : %d\n", x - 4 != y || y < 3); printf("!(x > 6 || y >= 2) result is : %d", !(x > 6 || y >= 2)); }
cf4981ecc6e5383964914db5cbef1d617e2df203
8da97a5d26c04066ba328dcea739827515d9930f
/u/resort/bamboo_hall.c
7225e4d50d5747e07717041dcb7f0a506809c880
[]
no_license
mudchina/fy2
15045041bdf42e9a76525db7ce5cb61329a096a4
78599a39965ef63b38a815ce3ab774fb3361b3d2
refs/heads/master
2021-01-10T06:50:29.722868
2016-02-21T09:18:38
2016-02-21T09:18:38
52,199,056
4
3
null
null
null
null
GB18030
C
false
false
682
c
bamboo_hall.c
inherit ROOM; void create() { set("short", "翠竹屋"); set("long", @LONG 青青的软竹搭成小小的翠竹屋。屋中几乎所有的家具都是用青 竹编成的。屋中的竹几上放着一套名贵的紫砂茶具。铁雪山庄的男 女主人正在品茶下棋。 LONG ); set("exits", ([ "south" : __DIR__"front_yard", "north" : __DIR__"back_yard", ])); set("objects", ([ __DIR__"npc/master" : 1, __DIR__"npc/master2" : 1, __DIR__"npc/girl" : 1, ]) ); set("valid_startroom", 1); set("coor/x",-1230); set("coor/y",60); set("coor/z",-10); setup(); }
1fe1f00085c999f8bc988649d8ef2d48308a8566
3a10059b0ed05f16c0ba3fe73d1b42e23e9bafea
/threadpool.h
846619bb63071fd46ab6e864be7694b7d41ee945
[]
no_license
jamal-jiang/httpserver
2cd67d958922165af8381bfa89f1afad4e95238d
abd7ebdf6fd58bb7ea5853f73783bc653d762ef8
refs/heads/master
2021-01-20T06:46:14.108905
2017-05-21T11:24:53
2017-05-21T11:24:53
89,926,535
1
0
null
null
null
null
UTF-8
C
false
false
1,012
h
threadpool.h
/** * auther: jamal-jiang * date: 17/5/21 */ #ifndef TINYHTTPD_THREADPOOL_H #define TINYHTTPD_THREADPOOL_H #include "common.h" typedef struct worker { /*回调函数,任务运行时会调用此函数,注意也可声明成其它形式*/ void *(*process)(void *arg); void *arg;/*回调函数的参数*/ struct worker *next; } CThread_worker; typedef struct { pthread_mutex_t queue_lock; pthread_cond_t queue_ready; /*链表结构,线程池中所有等待任务*/ CThread_worker *queue_head; /*是否销毁线程池*/ int shutdown; pthread_t *threadid; /*线程池中允许的活动线程数目*/ int max_thread_num; /*当前等待队列的任务数目*/ int cur_queue_size; } CThread_pool; int pool_add_worker(void *(*process)(void *arg), void *arg); void *thread_routine(void *arg); void pool_init(int max_thread_num); int pool_add_worker(void *(*process)(void *arg), void *arg); int pool_destroy(); #endif //TINYHTTPD_THREADPOOL_H