file
stringlengths
18
26
data
stringlengths
2
1.05M
the_stack_data/92326760.c
#include <stdio.h> int main(){ double area, raio; double n = 3.14159; scanf("%lf", &raio); area = (n * (raio*raio)); printf("A=%.4lf\n", area); return 0; }
the_stack_data/830456.c
// Copyright (c) 2015 RV-Match Team. All Rights Reserved. int main(void){ int x = 5; float* p = (float*)&x; *p; }
the_stack_data/582768.c
/* * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ #include <openssl/opensslconf.h> #ifdef OPENSSL_NO_EGD NON_EMPTY_TRANSLATION_UNIT #else # include <openssl/crypto.h> # include <openssl/e_os2.h> # include <openssl/rand.h> /*- * Query the EGD <URL: http://www.lothar.com/tech/crypto/>. * * This module supplies three routines: * * RAND_query_egd_bytes(path, buf, bytes) * will actually query "bytes" bytes of entropy form the egd-socket located * at path and will write them to buf (if supplied) or will directly feed * it to RAND_seed() if buf==NULL. * The number of bytes is not limited by the maximum chunk size of EGD, * which is 255 bytes. If more than 255 bytes are wanted, several chunks * of entropy bytes are requested. The connection is left open until the * query is competed. * RAND_query_egd_bytes() returns with * -1 if an error occurred during connection or communication. * num the number of bytes read from the EGD socket. This number is either * the number of bytes requested or smaller, if the EGD pool is * drained and the daemon signals that the pool is empty. * This routine does not touch any RAND_status(). This is necessary, since * PRNG functions may call it during initialization. * * RAND_egd_bytes(path, bytes) will query "bytes" bytes and have them * used to seed the PRNG. * RAND_egd_bytes() is a wrapper for RAND_query_egd_bytes() with buf=NULL. * Unlike RAND_query_egd_bytes(), RAND_status() is used to test the * seed status so that the return value can reflect the seed state: * -1 if an error occurred during connection or communication _or_ * if the PRNG has still not received the required seeding. * num the number of bytes read from the EGD socket. This number is either * the number of bytes requested or smaller, if the EGD pool is * drained and the daemon signals that the pool is empty. * * RAND_egd(path) will query 255 bytes and use the bytes retreived to seed * the PRNG. * RAND_egd() is a wrapper for RAND_egd_bytes() with numbytes=255. */ # if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_VOS) || defined(OPENSSL_SYS_UEFI) int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) { return (-1); } int RAND_egd(const char *path) { return (-1); } int RAND_egd_bytes(const char *path, int bytes) { return (-1); } # else # include <openssl/opensslconf.h> # include OPENSSL_UNISTD # include <stddef.h> # include <sys/types.h> # include <sys/socket.h> # ifndef NO_SYS_UN_H # ifdef OPENSSL_SYS_VXWORKS # include <streams/un.h> # else # include <sys/un.h> # endif # else struct sockaddr_un { short sun_family; /* AF_UNIX */ char sun_path[108]; /* path name (gag) */ }; # endif /* NO_SYS_UN_H */ # include <string.h> # include <errno.h> int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) { int ret = 0; struct sockaddr_un addr; int len, num, numbytes; int fd = -1; int success; unsigned char egdbuf[2], tempbuf[255], *retrievebuf; memset(&addr, 0, sizeof(addr)); addr.sun_family = AF_UNIX; if (strlen(path) >= sizeof(addr.sun_path)) return (-1); OPENSSL_strlcpy(addr.sun_path, path, sizeof addr.sun_path); len = offsetof(struct sockaddr_un, sun_path) + strlen(path); fd = socket(AF_UNIX, SOCK_STREAM, 0); if (fd == -1) return (-1); success = 0; while (!success) { if (connect(fd, (struct sockaddr *)&addr, len) == 0) success = 1; else { switch (errno) { # ifdef EINTR case EINTR: # endif # ifdef EAGAIN case EAGAIN: # endif # ifdef EINPROGRESS case EINPROGRESS: # endif # ifdef EALREADY case EALREADY: # endif /* No error, try again */ break; # ifdef EISCONN case EISCONN: success = 1; break; # endif default: goto err; /* failure */ } } } while (bytes > 0) { egdbuf[0] = 1; egdbuf[1] = bytes < 255 ? bytes : 255; numbytes = 0; while (numbytes != 2) { num = write(fd, egdbuf + numbytes, 2 - numbytes); if (num >= 0) numbytes += num; else { switch (errno) { # ifdef EINTR case EINTR: # endif # ifdef EAGAIN case EAGAIN: # endif /* No error, try again */ break; default: ret = -1; goto err; /* failure */ } } } numbytes = 0; while (numbytes != 1) { num = read(fd, egdbuf, 1); if (num == 0) goto err; /* descriptor closed */ else if (num > 0) numbytes += num; else { switch (errno) { # ifdef EINTR case EINTR: # endif # ifdef EAGAIN case EAGAIN: # endif /* No error, try again */ break; default: ret = -1; goto err; /* failure */ } } } if (egdbuf[0] == 0) goto err; if (buf) retrievebuf = buf + ret; else retrievebuf = tempbuf; numbytes = 0; while (numbytes != egdbuf[0]) { num = read(fd, retrievebuf + numbytes, egdbuf[0] - numbytes); if (num == 0) goto err; /* descriptor closed */ else if (num > 0) numbytes += num; else { switch (errno) { # ifdef EINTR case EINTR: # endif # ifdef EAGAIN case EAGAIN: # endif /* No error, try again */ break; default: ret = -1; goto err; /* failure */ } } } ret += egdbuf[0]; bytes -= egdbuf[0]; if (!buf) RAND_seed(tempbuf, egdbuf[0]); } err: if (fd != -1) close(fd); return (ret); } int RAND_egd_bytes(const char *path, int bytes) { int num, ret = 0; num = RAND_query_egd_bytes(path, NULL, bytes); if (num < 1) goto err; if (RAND_status() == 1) ret = num; err: return (ret); } int RAND_egd(const char *path) { return (RAND_egd_bytes(path, 255)); } # endif #endif
the_stack_data/73575622.c
#include <stdio.h> int main() { int a[101]={0}; char b[101]; int n,d; int i,j; int max=0,cont=0; scanf("%d %d",&n,&d); for(i=0;i<d;i++) { scanf("%s",b); getchar(); for(j=0;j<n;j++) a[i] += (b[j]-48); } for(i=0;i<d;i++) { if(a[i]!=n) cont++; else //if(max < cont) { if(max < cont) max = cont; cont = 0; } } if(max < cont) max = cont; printf("%d\n",max); }
the_stack_data/124702.c
// %%cpp lseek_example.c // %run gcc lseek_example.c -o lseek_example.exe // %run ./lseek_example.exe b.txt // %run cat b.txt #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <assert.h> int main(int argc, char *argv[]) { assert(argc >= 2); // O_RDWR - открытие файла на чтение и запись одновременно int fd = open(argv[1], O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH); // Перемещаемся на конец файла, получаем позицию конца файла - это размер файла int size = lseek(fd, 0, SEEK_END); printf("File size: %d\n", size); // если размер меньше 2, то дописываем цифры if (size < 2) { const char s[] = "10"; lseek(fd, 0, SEEK_SET); write(fd, s, sizeof(s) - 1); printf("Written bytes: %d\n", (int)sizeof(s) - 1); size = lseek(fd, 0, SEEK_END); printf("File size: %d\n", size); } // читаем символ со 2й позиции lseek(fd, 1, SEEK_SET); char c; read(fd, &c, 1); c = (c < '0' || c > '9') ? '0' : ((c - '0') + 1) % 10 + '0'; // записываем символ в 2ю позицию lseek(fd, 1, SEEK_SET); write(fd, &c, 1); close(fd); return 0; }
the_stack_data/107953900.c
#include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]) { char input[100]; char delim = ' '; char *ch; int integer[100]; int pointer = 0; printf("Input: "); fgets(input, 100, stdin); ch = strtok(input, &delim); while (ch != NULL) { integer[pointer] = (int)strtol(ch, NULL, 10); ch = strtok(NULL, &delim); pointer++; } // integer is the array we want for (int i=0; i<3; i++) { printf("%d\n", integer[i]); } return 0; }
the_stack_data/162642702.c
/** 348. Design Tic-Tac-Toe [M] Ref: https://leetcode.com/problems/design-tic-tac-toe/ Design a Tic-tac-toe game that is played between two players on a n x n grid. You may assume the following rules: A move is guaranteed to be valid and is placed on an empty block. Once a winning condition is reached, no more moves is allowed. A player who succeeds in placing n of their marks in a horizontal, vertical, or diagonal row wins the game. Example: Given n = 3, assume that player 1 is "X" and player 2 is "O" in the board. TicTacToe toe = new TicTacToe(3); toe.move(0, 0, 1); -> Returns 0 (no one wins) |X| | | | | | | // Player 1 makes a move at (0, 0). | | | | toe.move(0, 2, 2); -> Returns 0 (no one wins) |X| |O| | | | | // Player 2 makes a move at (0, 2). | | | | toe.move(2, 2, 1); -> Returns 0 (no one wins) |X| |O| | | | | // Player 1 makes a move at (2, 2). | | |X| toe.move(1, 1, 2); -> Returns 0 (no one wins) |X| |O| | |O| | // Player 2 makes a move at (1, 1). | | |X| toe.move(2, 0, 1); -> Returns 0 (no one wins) |X| |O| | |O| | // Player 1 makes a move at (2, 0). |X| |X| toe.move(1, 0, 2); -> Returns 0 (no one wins) |X| |O| |O|O| | // Player 2 makes a move at (1, 0). |X| |X| toe.move(2, 1, 1); -> Returns 1 (player 1 wins) |X| |O| |O|O| | // Player 1 makes a move at (2, 1). |X|X|X| Follow up: Could you do better than O(n^2) per move() operation? */ typedef struct { int size; int **board; } TicTacToe; /** Initialize your data structure here. */ TicTacToe* ticTacToeCreate(int n) { TicTacToe* obj = malloc(sizeof(TicTacToe)); obj->size = n; obj->board = malloc(sizeof(int *)*n); for (int x = 0; x < n; x++) { obj->board[x] = malloc(sizeof(int)*n); } return obj; } /** Player {player} makes a move at ({row}, {col}). @param row The row of the board. @param col The column of the board. @param player The player, can be either 1 or 2. @return The current winning condition, can be either: 0: No one wins. 1: Player 1 wins. 2: Player 2 wins. */ int ticTacToeMove(TicTacToe* obj, int row, int col, int player) { obj->board[row][col] = player; int i; int n = obj->size; /* Check row => O(n) */ for (i = 1; i < n; i++) { if (obj->board[row][i] != obj->board[row][i-1]) { break; } } if (i == n) { return player; } /* Check col => O(n) */ for (i = 1; i < n; i++) { if (obj->board[i][col] != obj->board[i-1][col]) { break; } } if (i == n) { return player; } /* Check Slash => O(n) */ if (col == row) { for (i = 1; i < n; i++) { if (obj->board[i][i] != obj->board[i-1][i-1]) { break; } } if (i == n) { return player; } } /* Check backslash => O(n) */ if (col+row == n-1) { for (i = 1; i < n; i++) { if (obj->board[i][n-i-1] != obj->board[i-1][n-i]) { break; } } if (i == n) { return player; } } return 0; } void ticTacToeFree(TicTacToe* obj) { for (int x = 0; x < obj->size; x++) { free(obj->board[x]); } free(obj); } /** * Your TicTacToe struct will be instantiated and called as such: * TicTacToe* obj = ticTacToeCreate(n); * int param_1 = ticTacToeMove(obj, row, col, player); * ticTacToeFree(obj); */
the_stack_data/103044.c
#include <stdlib.h> extern void abort (void); typedef struct foo_t { unsigned int blksz; unsigned int bf_cnt; } foo_t; #define _RNDUP(x, unit) ((((x) + (unit) - 1) / (unit)) * (unit)) #define _RNDDOWN(x, unit) ((x) - ((x)%(unit))) long long foo (foo_t *const pxp, long long offset, unsigned int extent) { long long blkoffset = _RNDDOWN(offset, (long long )pxp->blksz); unsigned int diff = (unsigned int)(offset - blkoffset); unsigned int blkextent = _RNDUP(diff + extent, pxp->blksz); if (pxp->blksz < blkextent) return -1LL; if (pxp->bf_cnt > pxp->blksz) pxp->bf_cnt = pxp->blksz; return blkoffset; } int main () { foo_t x; long long xx; x.blksz = 8192; x.bf_cnt = 0; xx = foo (&x, 0, 4096); if (xx != 0LL) abort (); return 0; }
the_stack_data/231394254.c
extern void __VERIFIER_error() __attribute__ ((__noreturn__)); void __VERIFIER_assert(int cond) { if(!(cond)) { ERROR: __VERIFIER_error(); } } #define N 125 int main( ) { int aa[N]; int a = 0; int b = 0; int c = 0; int bb[N]; int cc[N]; while( a < N ) { if( aa[ a ] >= 0 ) { bb[ b ] = aa[ a ]; b = b + 1; } a = a + 1; } a = 0; while( a < N ) { if( aa[ a ] >= 0 ) { cc[ c ] = aa[ a ]; c = c + 1; } a = a + 1; } int x; for ( x = 0 ; x < b ; x++ ) { __VERIFIER_assert( bb[ x ] >= 0 ); } for ( x = 0 ; x < c ; x++ ) { __VERIFIER_assert( cc[ x ] < 0 ); } return 0; }
the_stack_data/32077.c
/**************************************************************************** * bfs * * Copyright (C) 2020 Tavian Barnes <[email protected]> * * * * Permission to use, copy, modify, and/or distribute this software for any * * purpose with or without fee is hereby granted. * * * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ****************************************************************************/ #include "time.h" #include <errno.h> #include <limits.h> #include <stdbool.h> #include <stdlib.h> #include <time.h> int xlocaltime(const time_t *timep, struct tm *result) { // Should be called before localtime_r() according to POSIX.1-2004 tzset(); if (localtime_r(timep, result)) { return 0; } else { return -1; } } int xgmtime(const time_t *timep, struct tm *result) { // Should be called before gmtime_r() according to POSIX.1-2004 tzset(); if (gmtime_r(timep, result)) { return 0; } else { return -1; } } int xmktime(struct tm *tm, time_t *timep) { *timep = mktime(tm); if (*timep == -1) { int error = errno; struct tm tmp; if (xlocaltime(timep, &tmp) != 0) { return -1; } if (tm->tm_year != tmp.tm_year || tm->tm_yday != tmp.tm_yday || tm->tm_hour != tmp.tm_hour || tm->tm_min != tmp.tm_min || tm->tm_sec != tmp.tm_sec) { errno = error; return -1; } } return 0; } static int safe_add(int *value, int delta) { if (*value >= 0) { if (delta > INT_MAX - *value) { return -1; } } else { if (delta < INT_MIN - *value) { return -1; } } *value += delta; return 0; } static int floor_div(int n, int d) { int a = n < 0; return (n + a)/d - a; } static int wrap(int *value, int max, int *next) { int carry = floor_div(*value, max); *value -= carry * max; return safe_add(next, carry); } static int month_length(int year, int month) { static const int month_lengths[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int ret = month_lengths[month]; if (month == 1 && year%4 == 0 && (year%100 != 0 || (year + 300)%400 == 0)) { ++ret; } return ret; } int xtimegm(struct tm *tm, time_t *timep) { tm->tm_isdst = 0; if (wrap(&tm->tm_sec, 60, &tm->tm_min) != 0) { goto overflow; } if (wrap(&tm->tm_min, 60, &tm->tm_hour) != 0) { goto overflow; } if (wrap(&tm->tm_hour, 24, &tm->tm_mday) != 0) { goto overflow; } // In order to wrap the days of the month, we first need to know what // month it is if (wrap(&tm->tm_mon, 12, &tm->tm_year) != 0) { goto overflow; } if (tm->tm_mday < 1) { do { --tm->tm_mon; if (wrap(&tm->tm_mon, 12, &tm->tm_year) != 0) { goto overflow; } tm->tm_mday += month_length(tm->tm_year, tm->tm_mon); } while (tm->tm_mday < 1); } else { while (true) { int days = month_length(tm->tm_year, tm->tm_mon); if (tm->tm_mday <= days) { break; } tm->tm_mday -= days; ++tm->tm_mon; if (wrap(&tm->tm_mon, 12, &tm->tm_year) != 0) { goto overflow; } } } tm->tm_yday = 0; for (int i = 0; i < tm->tm_mon; ++i) { tm->tm_yday += month_length(tm->tm_year, i); } tm->tm_yday += tm->tm_mday - 1; int leap_days; // Compute floor((year - 69)/4) - floor((year - 1)/100) + floor((year + 299)/400) without overflows if (tm->tm_year >= 0) { leap_days = floor_div(tm->tm_year - 69, 4) - floor_div(tm->tm_year - 1, 100) + floor_div(tm->tm_year - 101, 400) + 1; } else { leap_days = floor_div(tm->tm_year + 3, 4) - floor_div(tm->tm_year + 99, 100) + floor_div(tm->tm_year + 299, 400) - 17; } long long epoch_days = 365LL*(tm->tm_year - 70) + leap_days + tm->tm_yday; tm->tm_wday = (epoch_days + 4)%7; if (tm->tm_wday < 0) { tm->tm_wday += 7; } long long epoch_time = tm->tm_sec + 60*(tm->tm_min + 60*(tm->tm_hour + 24*epoch_days)); *timep = (time_t)epoch_time; if ((long long)*timep != epoch_time) { goto overflow; } return 0; overflow: errno = EOVERFLOW; return -1; } /** Parse some digits from a timestamp. */ static int parse_timestamp_part(const char **str, size_t n, int *result) { char buf[n + 1]; for (size_t i = 0; i < n; ++i, ++*str) { char c = **str; if (c < '0' || c > '9') { return -1; } buf[i] = c; } buf[n] = '\0'; *result = atoi(buf); return 0; } int parse_timestamp(const char *str, struct timespec *result) { struct tm tm = { .tm_isdst = -1, }; int tz_hour = 0; int tz_min = 0; bool tz_negative = false; bool local = true; // YYYY if (parse_timestamp_part(&str, 4, &tm.tm_year) != 0) { goto invalid; } tm.tm_year -= 1900; // MM if (*str == '-') { ++str; } if (parse_timestamp_part(&str, 2, &tm.tm_mon) != 0) { goto invalid; } tm.tm_mon -= 1; // DD if (*str == '-') { ++str; } if (parse_timestamp_part(&str, 2, &tm.tm_mday) != 0) { goto invalid; } if (!*str) { goto end; } else if (*str == 'T') { ++str; } // hh if (parse_timestamp_part(&str, 2, &tm.tm_hour) != 0) { goto invalid; } // mm if (!*str) { goto end; } else if (*str == ':') { ++str; } if (parse_timestamp_part(&str, 2, &tm.tm_min) != 0) { goto invalid; } // ss if (!*str) { goto end; } else if (*str == ':') { ++str; } if (parse_timestamp_part(&str, 2, &tm.tm_sec) != 0) { goto invalid; } if (!*str) { goto end; } else if (*str == 'Z') { local = false; ++str; } else if (*str == '+' || *str == '-') { local = false; tz_negative = *str == '-'; ++str; // hh if (parse_timestamp_part(&str, 2, &tz_hour) != 0) { goto invalid; } // mm if (!*str) { goto end; } else if (*str == ':') { ++str; } if (parse_timestamp_part(&str, 2, &tz_min) != 0) { goto invalid; } } else { goto invalid; } if (*str) { goto invalid; } end: if (local) { if (xmktime(&tm, &result->tv_sec) != 0) { goto error; } } else { if (xtimegm(&tm, &result->tv_sec) != 0) { goto error; } int offset = 60*tz_hour + tz_min; if (tz_negative) { result->tv_sec -= offset; } else { result->tv_sec += offset; } } result->tv_nsec = 0; return 0; invalid: errno = EINVAL; error: return -1; }
the_stack_data/15731.c
extern void __VERIFIER_error() __attribute__ ((__noreturn__)); void g(int **p1, int **p2) { int *pq = *p2; *p1 = *p2; *pq = 0; } int f(int a, int **p1, int **p2) { if (a == 4) { g(p1, p2); return 1; } else { return 0; } } int main() { int a, b; int *p1, *p2; p1 = &a; p2 = &b; b = 1; a = 5; a--; a = f(a, &p1, &p2); if (*p1 == 0) { goto ERROR; } return 0; ERROR: __VERIFIER_error(); return 1; }
the_stack_data/75137076.c
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <pthread.h> #define BUFSIZE 100 void * clnt_connection(void *arg); void send_message(char * message, int len); void error_handling(char *message); int clnt_number = 0; // 연결된 client의 개수를 저장할 변수 선언 int clnt_socks[10]; // 연결된 모든 client 모두에게 메시지를 전송하여야 하기 때문에 // 모든 client 소켓의 정보를 전역변수로 선언 함 pthread_mutex_t mutx; // mutex 동기화 하기 위한 mutex선언 int main(int argc, char *argv[]) { int serv_sock; int clnt_sock; struct sockaddr_in serv_addr; struct sockaddr_in clnt_addr; int clnt_addr_size; pthread_t thread; void *thread_rtn; // port번호 인자값 확인 if(argc!=2){ printf("Usage : %s <port> \n", argv[0]); exit(1); } // mutex 초기화 if(pthread_mutex_init(&mutx, NULL)) error_handling("pthread_mutex_init() error"); // server socket handle 생성 serv_sock = socket(PF_INET, SOCK_STREAM, 0); // server socket address 설정 memset(&serv_addr, 0, sizeof(serv_addr)); serv_addr.sin_family = AF_INET; serv_addr.sin_addr.s_addr = htonl(INADDR_ANY); serv_addr.sin_port = htons((unsigned short)atoi(argv[1])); // server socket handle에 server address 정보 bind if(bind(serv_sock,(struct sockaddr*)&serv_addr, sizeof(serv_addr)) == -1) error_handling("bind() error"); // server socket handle의 연결 대기 상태로 변경 if(listen(serv_sock, 10) == -1) error_handling("listen() error"); while(1){ // 연결요청 시 사용될 client socket address의 크기 설정 clnt_addr_size = sizeof(clnt_addr); // 연결을 수락하여 client socket handle을 생성한다. clnt_sock = accept(serv_sock, (struct sockaddr*)&clnt_addr, &clnt_addr_size); pthread_mutex_lock(&mutx); clnt_socks[clnt_number++]=clnt_sock; // mutex unlock pthread_mutex_unlock(&mutx); // 연결된 client 소켓의 handle을 clnt_connection함수 호출 시 인자로 넘겨주어 thread를 생성한다. pthread_create(&thread, NULL, clnt_connection, (void *)clnt_sock); printf("New client connected, IP: %s \n", inet_ntoa(clnt_addr.sin_addr)); } pthread_join(thread, &thread_rtn); // mutex를 해제한다. pthread_mutex_destroy(&mutx); return EXIT_SUCCESS; } void * clnt_connection(void * arg) { int clnt_sock = (int)arg; // 인자로 넘겨 받은 client handle을 형변환을 하여 새로운 변수로 저장한다. int str_len = 0; // client로 부터 수신한 메시지의 길이를 저장하는 변수 선언 char message[BUFSIZE]; // client로 부터 수신된 메시지를 저장하는 변수 선언 int i; // client수신 while( (str_len=read(clnt_sock, message, sizeof(message))) != 0) send_message(message, str_len); // 수신된 메시지를 모든 클라이언트에 전송한다. // 전역으로 선언된 변수가 임계영역으로 다른 thread의 영향을 받으므로 mutex lock을 건다 pthread_mutex_lock(&mutx); for(i=0; i<clnt_number; i++){ // 연결종료된 client handle값을 clent배열의 값과 같으면 if(clnt_sock == clnt_socks[i]){ for( ; i<clnt_number-1; i++) clnt_socks[i]=clnt_socks[i+1]; break; } } clnt_number--; // mutex unlock으로 해제한다. pthread_mutex_unlock(&mutx); close(clnt_sock); return 0; } // 현재 연결되어 있는 모든 client에게 메시지를 전송한다. void send_message(char * message, int len) { int i; // mutex lock pthread_mutex_lock(&mutx); for(i=0; i<clnt_number; i++) // 연결된 client socket handle수 만큼 반복하여 // 모든 client에게 같은 메시지를 전송한다. write(clnt_socks[i], message, len); pthread_mutex_unlock(&mutx); } void error_handling(char * message) { fputs(message, stderr); fputc('\n', stderr); exit(1); }
the_stack_data/613603.c
/* catanl.c */ /* Contributed by Danny Smith 2005-01-04 FIXME: This needs some serious numerical analysis. */ #include <math.h> #include <complex.h> #include <errno.h> /* catan (z) = -I/2 * clog ((I + z) / (I - z)) */ #ifndef _M_PI_2L #define _M_PI_2L 1.5707963267948966192313L #endif long double complex catanl (long double complex Z) { long double complex Res; long double complex Tmp; long double x = __real__ Z; long double y = __imag__ Z; if ( x == 0.0L && (1.0L - fabsl (y)) == 0.0L) { errno = ERANGE; __real__ Res = HUGE_VALL; __imag__ Res = HUGE_VALL; } else if (isinf (hypotl (x, y))) { __real__ Res = (x > 0 ? _M_PI_2L : -_M_PI_2L); __imag__ Res = 0.0L; } else { __real__ Tmp = - x; __imag__ Tmp = 1.0L - y; __real__ Res = x; __imag__ Res = y + 1.0L; Tmp = clogl (Res/Tmp); __real__ Res = - 0.5L * __imag__ Tmp; __imag__ Res = 0.5L * __real__ Tmp; } return Res; }
the_stack_data/34512784.c
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <stdbool.h> struct node{ int value; struct node *left; struct node *right; struct node *prev; }; struct tree{ int i; struct node *parent; }; void init(struct tree *t) { t->parent = NULL; } int insert(struct tree *t, int value){ struct node *temp; struct node* tree_new = (struct node *) malloc(sizeof(struct node)); tree_new->value=value; tree_new->left =NULL; tree_new->right = NULL; if(t->parent ==NULL){ tree_new->prev =NULL; t->parent = tree_new; t->i=1; return 0; }else { temp = t->parent; while (3) { if (temp->value == value) return 1; if (temp->right == NULL && temp->left == NULL) { if (temp->value > value) { temp->left = tree_new; temp->left->prev = temp; t->i++; return 0; } if(temp->value < value){ temp->right = tree_new; temp->right->prev = temp; t->i++; return 0; } } else { if(temp->right ==NULL && temp->value < value){ temp->right = tree_new; temp->right->prev = temp; t->i++; return 0; }if(temp->left ==NULL && temp->value > value){ temp->left = tree_new; temp->left->prev = temp; t->i++; return 0; } } if (temp->value > value) { temp = temp->left; continue; } if (temp->value < value) { temp = temp->right; continue; } } } return 0; } void print(struct node *root) { int *a,*h; int b=0; struct node *p; struct node *n; a = (int *) malloc(4* sizeof(int)); h = (int *) malloc(3* sizeof(int)); if(root) { a[b] = root->value; p = root->left; n = root->left; while(n){ if(p){ a[b] =p->value; p = p->left; b++; }else{ p = n->right; n=p; } } p=root->right; n = root->right; b=0; while (n){ if(p){ h[b] =p->value; p = p->left; b++; }else{ p = n->right; n =p; } } printf("%d",root->value); for(int j =0;j<3;j++){ printf(" %d",a[j]); } for(int j=0;j<3;j++){ printf(" %d",h[j]); } } } int main(){ int number; struct tree root; init(&root); for(int i=0;i<7;i++){ scanf("%d",&number); insert(&root,number); } print(root.parent); printf("\n"); return 0; }
the_stack_data/134658.c
/** * @file dma_mod.c * @brief * @author raiden00 * @date 2015-10-07 **/ /****************************************************************************** * project: UniSP * chip: STM32F334x8 * compiler: arm-none-eabi-gcc * ******************************************************************************/ #ifdef OUT_MODULE_DMA_ #warning "Compile dma_mod.c" /* +=============================================================================+ | includes +=============================================================================+ */ #include "mod/inc/hal/dma_mod.h" /* +=============================================================================+ | global functions +=============================================================================+ */ /** * @addtogroup dma * @{ */ /** * @} end of dma group */ /****************************************************************************** * END OF FILE ******************************************************************************/ #endif /*OUT_MODULE_DMA_ */
the_stack_data/132954161.c
//Write a c program to printing the same file on the console. #include<stdio.h> int main() { char c; FILE *fp = fopen(__FILE__, "r"); do { c = fgetc(fp); putchar(c); }while(c != EOF); fputc(c, fp); fclose(fp); return 0; }
the_stack_data/59514188.c
#include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { unsigned char c = atoi(argv[1]); if (c > 63) { printf("if-1-win "); if (c > 127) printf("if-2-win\n"); else printf("if-2-lose\n"); } else { printf("if-1-lose\n"); } return 0; }
the_stack_data/200143507.c
void _Z10forcepointR11QTextStream() {} ; void _Z10noshowbaseR11QTextStream() {} ; void _Z10qvsnprintfPcmPKcS_() {} ; void _Z10scientificR11QTextStream() {} ; void _Z11noforcesignR11QTextStream() {} ; void _Z11qUncompressPKhi() {} ; void _Z11qt_assert_xPKcS0_S0_i() {} ; void _Z12noforcepointR11QTextStream() {} ; void _Z12qInstallPathv() {} ; void _Z12qSharedBuildv() {} ; void _Z13lowercasebaseR11QTextStream() {} ; void _Z13qErrnoWarningPKcz() {} ; void _Z13qErrnoWarningiPKcz() {} ; void _Z13uppercasebaseR11QTextStream() {} ; void _Z14qSystemWarningPKci() {} ; void _Z15lowercasedigitsR11QTextStream() {} ; void _Z15qAddPostRoutinePFvvE() {} ; void _Z15qt_error_stringi() {} ; void _Z15uppercasedigitsR11QTextStream() {} ; void _Z16qInstallPathBinsv() {} ; void _Z16qInstallPathDatav() {} ; void _Z16qInstallPathDocsv() {} ; void _Z16qInstallPathLibsv() {} ; void _Z16qt_check_pointerPKci() {} ; void _Z17qt_message_output9QtMsgTypePKc() {} ; void _Z18qInstallMsgHandlerPFv9QtMsgTypePKcE() {} ; void _Z18qRemovePostRoutinePFvvE() {} ; void _Z19qInstallPathHeadersv() {} ; void _Z19qInstallPathPluginsv() {} ; void _Z19qInstallPathSysconfv() {} ; void _Z20qt_qFindChild_helperPK7QObjectRK7QStringRK11QMetaObject() {} ; void _Z21qRegisterResourceDataiPKhS0_S0_() {} ; void _Z23qUnregisterResourceDataiPKhS0_S0_() {} ; void _Z23qt_qFindChildren_helperPK7QObjectRK7QStringPK7QRegExpRK11QMetaObjectP5QListIPvE() {} ; void _Z24qInstallPathTranslationsv() {} ; void _Z2wsR11QTextStream() {} ; void _Z32qt_register_signal_spy_callbacksRK21QSignalSpyCallbackSet() {} ; void _Z37qRegisterStaticPluginInstanceFunctionPFP7QObjectvE() {} ; void _Z3binR11QTextStream() {} ; void _Z3bomR11QTextStream() {} ; void _Z3decR11QTextStream() {} ; void _Z3hexR11QTextStream() {} ; void _Z3octR11QTextStream() {} ; void _Z4endlR11QTextStream() {} ; void _Z4leftR11QTextStream() {} ; void _Z5fixedR11QTextStream() {} ; void _Z5flushR11QTextStream() {} ; void _Z5qFreePv() {} ; void _Z5qHashRK10QByteArray() {} ; void _Z5qHashRK7QString() {} ; void _Z5qrandv() {} ; void _Z5resetR11QTextStream() {} ; void _Z5rightR11QTextStream() {} ; void _Z6centerR11QTextStream() {} ; void _Z6qDebugPKcz() {} ; void _Z6qFatalPKcz() {} ; void _Z6qsrandj() {} ; void _Z7qMallocm() {} ; void _Z7qMemSetPvim() {} ; void _Z7qgetenvPKc() {} ; void _Z7qstrcmpPKcS0_() {} ; void _Z7qstrcpyPcPKc() {} ; void _Z7qstrdupPKc() {} ; void _Z8qAppNamev() {} ; void _Z8qMemCopyPvPKvm() {} ; void _Z8qReallocPvm() {} ; void _Z8qVersionv() {} ; void _Z8qWarningPKcz() {} ; void _Z8qstricmpPKcS0_() {} ; void _Z8qstrncpyPcPKcj() {} ; void _Z8showbaseR11QTextStream() {} ; void _Z9forcesignR11QTextStream() {} ; void _Z9qChecksumPKcj() {} ; void _Z9qCompressPKhii() {} ; void _Z9qCriticalPKcz() {} ; void _Z9qsnprintfPcmPKcz() {} ; void _Z9qstrnicmpPKcS0_j() {} ; void _Z9qt_assertPKcS0_i() {} ; void _ZN10QByteArray10fromBase64ERKS_() {} ; void _ZN10QByteArray11fromRawDataEPKci() {} ; void _ZN10QByteArray4chopEi() {} ; void _ZN10QByteArray4fillEci() {} ; void _ZN10QByteArray5clearEv() {} ; void _ZN10QByteArray6appendEPKc() {} ; void _ZN10QByteArray6appendERKS_() {} ; void _ZN10QByteArray6appendEc() {} ; void _ZN10QByteArray6expandEi() {} ; void _ZN10QByteArray6insertEiPKc() {} ; void _ZN10QByteArray6insertEiRKS_() {} ; void _ZN10QByteArray6insertEic() {} ; void _ZN10QByteArray6numberEdci() {} ; void _ZN10QByteArray6numberEii() {} ; void _ZN10QByteArray6numberEji() {} ; void _ZN10QByteArray6numberExi() {} ; void _ZN10QByteArray6numberEyi() {} ; void _ZN10QByteArray6removeEii() {} ; void _ZN10QByteArray6resizeEi() {} ; void _ZN10QByteArray6setNumEdci() {} ; void _ZN10QByteArray6setNumExi() {} ; void _ZN10QByteArray6setNumEyi() {} ; void _ZN10QByteArray7prependEPKc() {} ; void _ZN10QByteArray7prependERKS_() {} ; void _ZN10QByteArray7prependEc() {} ; void _ZN10QByteArray7reallocEi() {} ; void _ZN10QByteArray7replaceERKS_S1_() {} ; void _ZN10QByteArray7replaceEcRKS_() {} ; void _ZN10QByteArray7replaceEcc() {} ; void _ZN10QByteArray7replaceEiiRKS_() {} ; void _ZN10QByteArray8truncateEi() {} ; void _ZN10QByteArrayC1EPKc() {} ; void _ZN10QByteArrayC1EPKci() {} ; void _ZN10QByteArrayC1Eic() {} ; void _ZN10QByteArrayC2EPKc() {} ; void _ZN10QByteArrayC2EPKci() {} ; void _ZN10QByteArrayC2Eic() {} ; void _ZN10QByteArrayaSEPKc() {} ; void _ZN10QByteArrayaSERKS_() {} ; void _ZN10QEventLoop11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN10QEventLoop11qt_metacastEPKc() {} ; void _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE() {} ; void _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEEi() {} ; void _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE() {} ; void _ZN10QEventLoop4exitEi() {} ; void _ZN10QEventLoop4quitEv() {} ; void _ZN10QEventLoop6wakeUpEv() {} ; void _ZN10QEventLoopC1EP7QObject() {} ; void _ZN10QEventLoopC2EP7QObject() {} ; void _ZN10QEventLoopD0Ev() {} ; void _ZN10QEventLoopD1Ev() {} ; void _ZN10QEventLoopD2Ev() {} ; void _ZN10QSemaphore10tryAcquireEi() {} ; void _ZN10QSemaphore7acquireEi() {} ; void _ZN10QSemaphore7releaseEi() {} ; void _ZN10QSemaphoreC1Ei() {} ; void _ZN10QSemaphoreC2Ei() {} ; void _ZN10QSemaphoreD1Ev() {} ; void _ZN10QSemaphoreD2Ev() {} ; void _ZN10QTextCodec11codecForMibEi() {} ; void _ZN10QTextCodec12codecForHtmlERK10QByteArray() {} ; void _ZN10QTextCodec12codecForNameERK10QByteArray() {} ; void _ZN10QTextCodec13availableMibsEv() {} ; void _ZN10QTextCodec14codecForLocaleEv() {} ; void _ZN10QTextCodec15availableCodecsEv() {} ; void _ZN10QTextCodec17setCodecForLocaleEPS_() {} ; void _ZN10QTextCodec6localeEv() {} ; void _ZN10QTextCodecC1Ev() {} ; void _ZN10QTextCodecC2Ev() {} ; void _ZN10QTextCodecD0Ev() {} ; void _ZN10QTextCodecD1Ev() {} ; void _ZN10QTextCodecD2Ev() {} ; void _ZN11QBasicTimer4stopEv() {} ; void _ZN11QBasicTimer5startEiP7QObject() {} ; void _ZN11QChildEventC1EN6QEvent4TypeEP7QObject() {} ; void _ZN11QChildEventC2EN6QEvent4TypeEP7QObject() {} ; void _ZN11QChildEventD0Ev() {} ; void _ZN11QChildEventD1Ev() {} ; void _ZN11QChildEventD2Ev() {} ; void _ZN11QDataStream10writeBytesEPKcj() {} ; void _ZN11QDataStream11readRawDataEPci() {} ; void _ZN11QDataStream11resetStatusEv() {} ; void _ZN11QDataStream11skipRawDataEi() {} ; void _ZN11QDataStream11unsetDeviceEv() {} ; void _ZN11QDataStream12setByteOrderENS_9ByteOrderE() {} ; void _ZN11QDataStream12writeRawDataEPKci() {} ; void _ZN11QDataStream9readBytesERPcRj() {} ; void _ZN11QDataStream9setDeviceEP9QIODevice() {} ; void _ZN11QDataStream9setStatusENS_6StatusE() {} ; void _ZN11QDataStreamC1EP10QByteArray6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QDataStreamC1EP10QByteArrayi() {} ; void _ZN11QDataStreamC1EP9QIODevice() {} ; void _ZN11QDataStreamC1ERK10QByteArray() {} ; void _ZN11QDataStreamC1Ev() {} ; void _ZN11QDataStreamC2EP10QByteArray6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QDataStreamC2EP10QByteArrayi() {} ; void _ZN11QDataStreamC2EP9QIODevice() {} ; void _ZN11QDataStreamC2ERK10QByteArray() {} ; void _ZN11QDataStreamC2Ev() {} ; void _ZN11QDataStreamD0Ev() {} ; void _ZN11QDataStreamD1Ev() {} ; void _ZN11QDataStreamD2Ev() {} ; void _ZN11QDataStreamlsEPKc() {} ; void _ZN11QDataStreamlsEa() {} ; void _ZN11QDataStreamlsEb() {} ; void _ZN11QDataStreamlsEd() {} ; void _ZN11QDataStreamlsEf() {} ; void _ZN11QDataStreamlsEi() {} ; void _ZN11QDataStreamlsEs() {} ; void _ZN11QDataStreamlsEx() {} ; void _ZN11QDataStreamrsERPc() {} ; void _ZN11QDataStreamrsERa() {} ; void _ZN11QDataStreamrsERb() {} ; void _ZN11QDataStreamrsERd() {} ; void _ZN11QDataStreamrsERf() {} ; void _ZN11QDataStreamrsERi() {} ; void _ZN11QDataStreamrsERs() {} ; void _ZN11QDataStreamrsERx() {} ; void _ZN11QMetaObject10disconnectEPK7QObjectiS2_i() {} ; void _ZN11QMetaObject11changeGuardEPP7QObjectS1_() {} ; void _ZN11QMetaObject11removeGuardEPP7QObject() {} ; void _ZN11QMetaObject12invokeMethodEP7QObjectPKcN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS7_S7_S7_S7_S7_S7_S7_S7_S7_() {} ; void _ZN11QMetaObject14normalizedTypeEPKc() {} ; void _ZN11QMetaObject16checkConnectArgsEPKcS1_() {} ; void _ZN11QMetaObject18connectSlotsByNameEP7QObject() {} ; void _ZN11QMetaObject19normalizedSignatureEPKc() {} ; void _ZN11QMetaObject7connectEPK7QObjectiS2_iiPi() {} ; void _ZN11QMetaObject8activateEP7QObjectPKS_iPPv() {} ; void _ZN11QMetaObject8activateEP7QObjectPKS_iiPPv() {} ; void _ZN11QMetaObject8activateEP7QObjectiPPv() {} ; void _ZN11QMetaObject8activateEP7QObjectiiPPv() {} ; void _ZN11QMetaObject8addGuardEPP7QObject() {} ; void _ZN11QTextStream10setPadCharE5QChar() {} ; void _ZN11QTextStream11resetStatusEv() {} ; void _ZN11QTextStream11setEncodingENS_8EncodingE() {} ; void _ZN11QTextStream13setFieldWidthEi() {} ; void _ZN11QTextStream14setIntegerBaseEi() {} ; void _ZN11QTextStream14setNumberFlagsE6QFlagsINS_10NumberFlagEE() {} ; void _ZN11QTextStream14skipWhiteSpaceEv() {} ; void _ZN11QTextStream17setFieldAlignmentENS_14FieldAlignmentE() {} ; void _ZN11QTextStream20setAutoDetectUnicodeEb() {} ; void _ZN11QTextStream21setRealNumberNotationENS_18RealNumberNotationE() {} ; void _ZN11QTextStream22setRealNumberPrecisionEi() {} ; void _ZN11QTextStream24setGenerateByteOrderMarkEb() {} ; void _ZN11QTextStream4readEx() {} ; void _ZN11QTextStream4seekEx() {} ; void _ZN11QTextStream5flushEv() {} ; void _ZN11QTextStream5resetEv() {} ; void _ZN11QTextStream7readAllEv() {} ; void _ZN11QTextStream8readLineEx() {} ; void _ZN11QTextStream8setCodecEP10QTextCodec() {} ; void _ZN11QTextStream8setCodecEPKc() {} ; void _ZN11QTextStream9setDeviceEP9QIODevice() {} ; void _ZN11QTextStream9setStatusENS_6StatusE() {} ; void _ZN11QTextStream9setStringEP7QString6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC1EP10QByteArray6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC1EP7QString6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC1EP8_IO_FILE6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC1EP9QIODevice() {} ; void _ZN11QTextStreamC1ERK10QByteArray6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC1Ev() {} ; void _ZN11QTextStreamC2EP10QByteArray6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC2EP7QString6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC2EP8_IO_FILE6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC2EP9QIODevice() {} ; void _ZN11QTextStreamC2ERK10QByteArray6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN11QTextStreamC2Ev() {} ; void _ZN11QTextStreamD0Ev() {} ; void _ZN11QTextStreamD1Ev() {} ; void _ZN11QTextStreamD2Ev() {} ; void _ZN11QTextStreamlsE5QBool() {} ; void _ZN11QTextStreamlsE5QChar() {} ; void _ZN11QTextStreamlsEPKc() {} ; void _ZN11QTextStreamlsEPKv() {} ; void _ZN11QTextStreamlsERK10QByteArray() {} ; void _ZN11QTextStreamlsERK7QString() {} ; void _ZN11QTextStreamlsEc() {} ; void _ZN11QTextStreamlsEd() {} ; void _ZN11QTextStreamlsEf() {} ; void _ZN11QTextStreamlsEi() {} ; void _ZN11QTextStreamlsEj() {} ; void _ZN11QTextStreamlsEl() {} ; void _ZN11QTextStreamlsEm() {} ; void _ZN11QTextStreamlsEs() {} ; void _ZN11QTextStreamlsEt() {} ; void _ZN11QTextStreamlsEx() {} ; void _ZN11QTextStreamlsEy() {} ; void _ZN11QTextStreamrsEPc() {} ; void _ZN11QTextStreamrsER10QByteArray() {} ; void _ZN11QTextStreamrsER5QChar() {} ; void _ZN11QTextStreamrsER7QString() {} ; void _ZN11QTextStreamrsERc() {} ; void _ZN11QTextStreamrsERd() {} ; void _ZN11QTextStreamrsERf() {} ; void _ZN11QTextStreamrsERi() {} ; void _ZN11QTextStreamrsERj() {} ; void _ZN11QTextStreamrsERl() {} ; void _ZN11QTextStreamrsERm() {} ; void _ZN11QTextStreamrsERs() {} ; void _ZN11QTextStreamrsERt() {} ; void _ZN11QTextStreamrsERx() {} ; void _ZN11QTextStreamrsERy() {} ; void _ZN11QTimerEventC1Ei() {} ; void _ZN11QTimerEventC2Ei() {} ; void _ZN11QTimerEventD0Ev() {} ; void _ZN11QTimerEventD1Ev() {} ; void _ZN11QTimerEventD2Ev() {} ; void _ZN11QTranslator11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN11QTranslator11qt_metacastEPKc() {} ; void _ZN11QTranslator4loadEPKhi() {} ; void _ZN11QTranslator4loadERK7QStringS2_S2_S2_() {} ; void _ZN11QTranslatorC1EP7QObject() {} ; void _ZN11QTranslatorC1EP7QObjectPKc() {} ; void _ZN11QTranslatorC2EP7QObject() {} ; void _ZN11QTranslatorC2EP7QObjectPKc() {} ; void _ZN11QTranslatorD0Ev() {} ; void _ZN11QTranslatorD1Ev() {} ; void _ZN11QTranslatorD2Ev() {} ; void _ZN11QVectorData4growEiiib() {} ; void _ZN11QVectorData6mallocEiiiPS_() {} ; void _ZN12QCustomEventC1EiPv() {} ; void _ZN12QCustomEventC2EiPv() {} ; void _ZN12QCustomEventD0Ev() {} ; void _ZN12QCustomEventD1Ev() {} ; void _ZN12QCustomEventD2Ev() {} ; void _ZN12QLibraryInfo16licensedProductsEv() {} ; void _ZN12QLibraryInfo8buildKeyEv() {} ; void _ZN12QLibraryInfo8licenseeEv() {} ; void _ZN12QLibraryInfo8locationENS_15LibraryLocationE() {} ; void _ZN12QTextDecoder9toUnicodeEPKci() {} ; void _ZN12QTextDecoder9toUnicodeERK10QByteArray() {} ; void _ZN12QTextDecoderD1Ev() {} ; void _ZN12QTextDecoderD2Ev() {} ; void _ZN12QTextEncoder11fromUnicodeEPK5QChari() {} ; void _ZN12QTextEncoder11fromUnicodeERK7QString() {} ; void _ZN12QTextEncoder11fromUnicodeERK7QStringRi() {} ; void _ZN12QTextEncoderD1Ev() {} ; void _ZN12QTextEncoderD2Ev() {} ; void _ZN13QFSFileEngine11currentPathERK7QString() {} ; void _ZN13QFSFileEngine11setFileNameERK7QString() {} ; void _ZN13QFSFileEngine12endEntryListEv() {} ; void _ZN13QFSFileEngine14beginEntryListE6QFlagsIN4QDir6FilterEERK11QStringList() {} ; void _ZN13QFSFileEngine14setCurrentPathERK7QString() {} ; void _ZN13QFSFileEngine14setPermissionsEj() {} ; void _ZN13QFSFileEngine4copyERK7QString() {} ; void _ZN13QFSFileEngine4linkERK7QString() {} ; void _ZN13QFSFileEngine4openE6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN13QFSFileEngine4openE6QFlagsIN9QIODevice12OpenModeFlagEEP8_IO_FILE() {} ; void _ZN13QFSFileEngine4openE6QFlagsIN9QIODevice12OpenModeFlagEEi() {} ; void _ZN13QFSFileEngine4readEPcx() {} ; void _ZN13QFSFileEngine4seekEx() {} ; void _ZN13QFSFileEngine5closeEv() {} ; void _ZN13QFSFileEngine5flushEv() {} ; void _ZN13QFSFileEngine5writeEPKcx() {} ; void _ZN13QFSFileEngine6drivesEv() {} ; void _ZN13QFSFileEngine6removeEv() {} ; void _ZN13QFSFileEngine6renameERK7QString() {} ; void _ZN13QFSFileEngine7setSizeEx() {} ; void _ZN13QFSFileEngine8homePathEv() {} ; void _ZN13QFSFileEngine8readLineEPcx() {} ; void _ZN13QFSFileEngine8rootPathEv() {} ; void _ZN13QFSFileEngine8tempPathEv() {} ; void _ZN13QFSFileEngine9extensionEN19QAbstractFileEngine9ExtensionEPKNS0_15ExtensionOptionEPNS0_15ExtensionReturnE() {} ; void _ZN13QFSFileEngineC1ERK7QString() {} ; void _ZN13QFSFileEngineC1Ev() {} ; void _ZN13QFSFileEngineC2ERK7QString() {} ; void _ZN13QFSFileEngineC2Ev() {} ; void _ZN13QFSFileEngineD0Ev() {} ; void _ZN13QFSFileEngineD1Ev() {} ; void _ZN13QFSFileEngineD2Ev() {} ; void _ZN13QMetaPropertyC1Ev() {} ; void _ZN13QMetaPropertyC2Ev() {} ; void _ZN13QPluginLoader11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN13QPluginLoader11qt_metacastEPKc() {} ; void _ZN13QPluginLoader11setFileNameERK7QString() {} ; void _ZN13QPluginLoader15staticInstancesEv() {} ; void _ZN13QPluginLoader4loadEv() {} ; void _ZN13QPluginLoader6unloadEv() {} ; void _ZN13QPluginLoader8instanceEv() {} ; void _ZN13QPluginLoaderC1EP7QObject() {} ; void _ZN13QPluginLoaderC1ERK7QStringP7QObject() {} ; void _ZN13QPluginLoaderC2EP7QObject() {} ; void _ZN13QPluginLoaderC2ERK7QStringP7QObject() {} ; void _ZN13QPluginLoaderD0Ev() {} ; void _ZN13QPluginLoaderD1Ev() {} ; void _ZN13QPluginLoaderD2Ev() {} ; void _ZN13QSignalMapper10setMappingEP7QObjectP7QWidget() {} ; void _ZN13QSignalMapper10setMappingEP7QObjectRK7QString() {} ; void _ZN13QSignalMapper10setMappingEP7QObjectS1_() {} ; void _ZN13QSignalMapper10setMappingEP7QObjecti() {} ; void _ZN13QSignalMapper11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN13QSignalMapper11qt_metacastEPKc() {} ; void _ZN13QSignalMapper14removeMappingsEP7QObject() {} ; void _ZN13QSignalMapper3mapEP7QObject() {} ; void _ZN13QSignalMapper3mapEv() {} ; void _ZN13QSignalMapper6mappedEP7QObject() {} ; void _ZN13QSignalMapper6mappedEP7QWidget() {} ; void _ZN13QSignalMapper6mappedERK7QString() {} ; void _ZN13QSignalMapper6mappedEi() {} ; void _ZN13QSignalMapperC1EP7QObject() {} ; void _ZN13QSignalMapperC1EP7QObjectPKc() {} ; void _ZN13QSignalMapperC2EP7QObject() {} ; void _ZN13QSignalMapperC2EP7QObjectPKc() {} ; void _ZN13QSignalMapperD0Ev() {} ; void _ZN13QSignalMapperD1Ev() {} ; void _ZN13QSignalMapperD2Ev() {} ; void _ZN13QSystemLocaleC1Ev() {} ; void _ZN13QSystemLocaleC2Ev() {} ; void _ZN13QSystemLocaleD0Ev() {} ; void _ZN13QSystemLocaleD1Ev() {} ; void _ZN13QSystemLocaleD2Ev() {} ; void _ZN14QReadWriteLock11lockForReadEv() {} ; void _ZN14QReadWriteLock12lockForWriteEv() {} ; void _ZN14QReadWriteLock14tryLockForReadEv() {} ; void _ZN14QReadWriteLock15tryLockForWriteEv() {} ; void _ZN14QReadWriteLock6unlockEv() {} ; void _ZN14QReadWriteLockC1Ev() {} ; void _ZN14QReadWriteLockC2Ev() {} ; void _ZN14QReadWriteLockD1Ev() {} ; void _ZN14QReadWriteLockD2Ev() {} ; void _ZN14QStringMatcher10setPatternERK7QString() {} ; void _ZN14QStringMatcher18setCaseSensitivityEN2Qt15CaseSensitivityE() {} ; void _ZN14QStringMatcherC1ERK7QStringN2Qt15CaseSensitivityE() {} ; void _ZN14QStringMatcherC1ERKS_() {} ; void _ZN14QStringMatcherC1Ev() {} ; void _ZN14QStringMatcherC2ERK7QStringN2Qt15CaseSensitivityE() {} ; void _ZN14QStringMatcherC2ERKS_() {} ; void _ZN14QStringMatcherC2Ev() {} ; void _ZN14QStringMatcherD1Ev() {} ; void _ZN14QStringMatcherD2Ev() {} ; void _ZN14QStringMatcheraSERKS_() {} ; void _ZN14QTemporaryFile11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN14QTemporaryFile11qt_metacastEPKc() {} ; void _ZN14QTemporaryFile13setAutoRemoveEb() {} ; void _ZN14QTemporaryFile15createLocalFileER5QFile() {} ; void _ZN14QTemporaryFile15setFileTemplateERK7QString() {} ; void _ZN14QTemporaryFile4openE6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN14QTemporaryFileC1EP7QObject() {} ; void _ZN14QTemporaryFileC1ERK7QString() {} ; void _ZN14QTemporaryFileC1ERK7QStringP7QObject() {} ; void _ZN14QTemporaryFileC1Ev() {} ; void _ZN14QTemporaryFileC2EP7QObject() {} ; void _ZN14QTemporaryFileC2ERK7QString() {} ; void _ZN14QTemporaryFileC2ERK7QStringP7QObject() {} ; void _ZN14QTemporaryFileC2Ev() {} ; void _ZN14QTemporaryFileD0Ev() {} ; void _ZN14QTemporaryFileD1Ev() {} ; void _ZN14QTemporaryFileD2Ev() {} ; void _ZN14QWaitCondition4waitEP6QMutexm() {} ; void _ZN14QWaitCondition7wakeAllEv() {} ; void _ZN14QWaitCondition7wakeOneEv() {} ; void _ZN14QWaitConditionC1Ev() {} ; void _ZN14QWaitConditionC2Ev() {} ; void _ZN14QWaitConditionD1Ev() {} ; void _ZN14QWaitConditionD2Ev() {} ; void _ZN15QObjectUserDataD0Ev() {} ; void _ZN15QObjectUserDataD1Ev() {} ; void _ZN15QObjectUserDataD2Ev() {} ; void _ZN15QSocketNotifier10setEnabledEb() {} ; void _ZN15QSocketNotifier11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN15QSocketNotifier11qt_metacastEPKc() {} ; void _ZN15QSocketNotifier5eventEP6QEvent() {} ; void _ZN15QSocketNotifier9activatedEi() {} ; void _ZN15QSocketNotifierC1EiNS_4TypeEP7QObject() {} ; void _ZN15QSocketNotifierC1EiNS_4TypeEP7QObjectPKc() {} ; void _ZN15QSocketNotifierC2EiNS_4TypeEP7QObject() {} ; void _ZN15QSocketNotifierC2EiNS_4TypeEP7QObjectPKc() {} ; void _ZN15QSocketNotifierD0Ev() {} ; void _ZN15QSocketNotifierD1Ev() {} ; void _ZN15QSocketNotifierD2Ev() {} ; void _ZN16QCoreApplication10enter_loopEv() {} ; void _ZN16QCoreApplication10startingUpEv() {} ; void _ZN16QCoreApplication10unixSignalEi() {} ; void _ZN16QCoreApplication11aboutToQuitEv() {} ; void _ZN16QCoreApplication11closingDownEv() {} ; void _ZN16QCoreApplication11filterEventEPvPl() {} ; void _ZN16QCoreApplication11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN16QCoreApplication11qt_metacastEPKc() {} ; void _ZN16QCoreApplication12libraryPathsEv() {} ; void _ZN16QCoreApplication12setAttributeEN2Qt20ApplicationAttributeEb() {} ; void _ZN16QCoreApplication13compressEventEP6QEventP7QObjectP14QPostEventList() {} ; void _ZN16QCoreApplication13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE() {} ; void _ZN16QCoreApplication13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEEi() {} ; void _ZN16QCoreApplication13testAttributeEN2Qt20ApplicationAttributeE() {} ; void _ZN16QCoreApplication14addLibraryPathERK7QString() {} ; void _ZN16QCoreApplication14setEventFilterEPFbPvPlE() {} ; void _ZN16QCoreApplication15applicationNameEv() {} ; void _ZN16QCoreApplication15setLibraryPathsERK11QStringList() {} ; void _ZN16QCoreApplication15watchUnixSignalEib() {} ; void _ZN16QCoreApplication16hasPendingEventsEv() {} ; void _ZN16QCoreApplication16organizationNameEv() {} ; void _ZN16QCoreApplication16removeTranslatorEP11QTranslator() {} ; void _ZN16QCoreApplication16sendPostedEventsEP7QObjecti() {} ; void _ZN16QCoreApplication17installTranslatorEP11QTranslator() {} ; void _ZN16QCoreApplication17removeLibraryPathERK7QString() {} ; void _ZN16QCoreApplication18applicationDirPathEv() {} ; void _ZN16QCoreApplication18organizationDomainEv() {} ; void _ZN16QCoreApplication18removePostedEventsEP7QObject() {} ; void _ZN16QCoreApplication18setApplicationNameERK7QString() {} ; void _ZN16QCoreApplication19applicationFilePathEv() {} ; void _ZN16QCoreApplication19setOrganizationNameERK7QString() {} ; void _ZN16QCoreApplication21setOrganizationDomainERK7QString() {} ; void _ZN16QCoreApplication4argcEv() {} ; void _ZN16QCoreApplication4argvEv() {} ; void _ZN16QCoreApplication4execEv() {} ; void _ZN16QCoreApplication4exitEi() {} ; void _ZN16QCoreApplication4quitEv() {} ; void _ZN16QCoreApplication5eventEP6QEvent() {} ; void _ZN16QCoreApplication5flushEv() {} ; void _ZN16QCoreApplication6notifyEP7QObjectP6QEvent() {} ; void _ZN16QCoreApplication9argumentsEv() {} ; void _ZN16QCoreApplication9exit_loopEv() {} ; void _ZN16QCoreApplication9loopLevelEv() {} ; void _ZN16QCoreApplication9postEventEP7QObjectP6QEvent() {} ; void _ZN16QCoreApplication9translateEPKcS1_S1_NS_8EncodingE() {} ; void _ZN16QCoreApplication9translateEPKcS1_S1_NS_8EncodingEi() {} ; void _ZN16QCoreApplicationC1ERiPPc() {} ; void _ZN16QCoreApplicationC2ERiPPc() {} ; void _ZN16QCoreApplicationD0Ev() {} ; void _ZN16QCoreApplicationD1Ev() {} ; void _ZN16QCoreApplicationD2Ev() {} ; void _ZN16QTextCodecPlugin11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN16QTextCodecPlugin11qt_metacastEPKc() {} ; void _ZN16QTextCodecPlugin6createERK7QString() {} ; void _ZN16QTextCodecPluginC1EP7QObject() {} ; void _ZN16QTextCodecPluginC2EP7QObject() {} ; void _ZN16QTextCodecPluginD0Ev() {} ; void _ZN16QTextCodecPluginD1Ev() {} ; void _ZN16QTextCodecPluginD2Ev() {} ; void _ZN17QByteArrayMatcher10setPatternERK10QByteArray() {} ; void _ZN17QByteArrayMatcherC1ERK10QByteArray() {} ; void _ZN17QByteArrayMatcherC1ERKS_() {} ; void _ZN17QByteArrayMatcherC1Ev() {} ; void _ZN17QByteArrayMatcherC2ERK10QByteArray() {} ; void _ZN17QByteArrayMatcherC2ERKS_() {} ; void _ZN17QByteArrayMatcherC2Ev() {} ; void _ZN17QByteArrayMatcherD1Ev() {} ; void _ZN17QByteArrayMatcherD2Ev() {} ; void _ZN17QByteArrayMatcheraSERKS_() {} ; void _ZN18QAbstractItemModel10decodeDataEiiRK11QModelIndexR11QDataStream() {} ; void _ZN18QAbstractItemModel10insertRowsEiiRK11QModelIndex() {} ; void _ZN18QAbstractItemModel10removeRowsEiiRK11QModelIndex() {} ; void _ZN18QAbstractItemModel11dataChangedERK11QModelIndexS2_() {} ; void _ZN18QAbstractItemModel11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN18QAbstractItemModel11qt_metacastEPKc() {} ; void _ZN18QAbstractItemModel11setItemDataERK11QModelIndexRK4QMapIi8QVariantE() {} ; void _ZN18QAbstractItemModel12dropMimeDataEPK9QMimeDataN2Qt10DropActionEiiRK11QModelIndex() {} ; void _ZN18QAbstractItemModel13endInsertRowsEv() {} ; void _ZN18QAbstractItemModel13endRemoveRowsEv() {} ; void _ZN18QAbstractItemModel13insertColumnsEiiRK11QModelIndex() {} ; void _ZN18QAbstractItemModel13layoutChangedEv() {} ; void _ZN18QAbstractItemModel13removeColumnsEiiRK11QModelIndex() {} ; void _ZN18QAbstractItemModel13setHeaderDataEiN2Qt11OrientationERK8QVarianti() {} ; void _ZN18QAbstractItemModel15beginInsertRowsERK11QModelIndexii() {} ; void _ZN18QAbstractItemModel15beginRemoveRowsERK11QModelIndexii() {} ; void _ZN18QAbstractItemModel16endInsertColumnsEv() {} ; void _ZN18QAbstractItemModel16endRemoveColumnsEv() {} ; void _ZN18QAbstractItemModel17headerDataChangedEN2Qt11OrientationEii() {} ; void _ZN18QAbstractItemModel18beginInsertColumnsERK11QModelIndexii() {} ; void _ZN18QAbstractItemModel18beginRemoveColumnsERK11QModelIndexii() {} ; void _ZN18QAbstractItemModel21changePersistentIndexERK11QModelIndexS2_() {} ; void _ZN18QAbstractItemModel22layoutAboutToBeChangedEv() {} ; void _ZN18QAbstractItemModel23setSupportedDragActionsE6QFlagsIN2Qt10DropActionEE() {} ; void _ZN18QAbstractItemModel25changePersistentIndexListERK5QListI11QModelIndexES4_() {} ; void _ZN18QAbstractItemModel4sortEiN2Qt9SortOrderE() {} ; void _ZN18QAbstractItemModel5resetEv() {} ; void _ZN18QAbstractItemModel6revertEv() {} ; void _ZN18QAbstractItemModel6submitEv() {} ; void _ZN18QAbstractItemModel7setDataERK11QModelIndexRK8QVarianti() {} ; void _ZN18QAbstractItemModel9fetchMoreERK11QModelIndex() {} ; void _ZN18QAbstractItemModelC1EP7QObject() {} ; void _ZN18QAbstractItemModelC2EP7QObject() {} ; void _ZN18QAbstractItemModelD0Ev() {} ; void _ZN18QAbstractItemModelD1Ev() {} ; void _ZN18QAbstractItemModelD2Ev() {} ; void _ZN18QAbstractListModel11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN18QAbstractListModel11qt_metacastEPKc() {} ; void _ZN18QAbstractListModel12dropMimeDataEPK9QMimeDataN2Qt10DropActionEiiRK11QModelIndex() {} ; void _ZN18QAbstractListModelC1EP7QObject() {} ; void _ZN18QAbstractListModelC2EP7QObject() {} ; void _ZN18QAbstractListModelD0Ev() {} ; void _ZN18QAbstractListModelD1Ev() {} ; void _ZN18QAbstractListModelD2Ev() {} ; void _ZN18QFileSystemWatcher10removePathERK7QString() {} ; void _ZN18QFileSystemWatcher11fileChangedERK7QString() {} ; void _ZN18QFileSystemWatcher11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN18QFileSystemWatcher11qt_metacastEPKc() {} ; void _ZN18QFileSystemWatcher11removePathsERK11QStringList() {} ; void _ZN18QFileSystemWatcher16directoryChangedERK7QString() {} ; void _ZN18QFileSystemWatcher7addPathERK7QString() {} ; void _ZN18QFileSystemWatcher8addPathsERK11QStringList() {} ; void _ZN18QFileSystemWatcherC1EP7QObject() {} ; void _ZN18QFileSystemWatcherC1ERK11QStringListP7QObject() {} ; void _ZN18QFileSystemWatcherC2EP7QObject() {} ; void _ZN18QFileSystemWatcherC2ERK11QStringListP7QObject() {} ; void _ZN18QFileSystemWatcherD0Ev() {} ; void _ZN18QFileSystemWatcherD1Ev() {} ; void _ZN18QFileSystemWatcherD2Ev() {} ; void _ZN18QThreadStorageData3setEPv() {} ; void _ZN18QThreadStorageData6finishEPPv() {} ; void _ZN18QThreadStorageDataC1EPFvPvE() {} ; void _ZN18QThreadStorageDataC2EPFvPvE() {} ; void _ZN18QThreadStorageDataD1Ev() {} ; void _ZN18QThreadStorageDataD2Ev() {} ; void _ZN19QAbstractFileEngine11setFileNameERK7QString() {} ; void _ZN19QAbstractFileEngine12endEntryListEv() {} ; void _ZN19QAbstractFileEngine14beginEntryListE6QFlagsIN4QDir6FilterEERK11QStringList() {} ; void _ZN19QAbstractFileEngine14setPermissionsEj() {} ; void _ZN19QAbstractFileEngine4copyERK7QString() {} ; void _ZN19QAbstractFileEngine4linkERK7QString() {} ; void _ZN19QAbstractFileEngine4openE6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN19QAbstractFileEngine4readEPcx() {} ; void _ZN19QAbstractFileEngine4seekEx() {} ; void _ZN19QAbstractFileEngine5closeEv() {} ; void _ZN19QAbstractFileEngine5flushEv() {} ; void _ZN19QAbstractFileEngine5writeEPKcx() {} ; void _ZN19QAbstractFileEngine6createERK7QString() {} ; void _ZN19QAbstractFileEngine6removeEv() {} ; void _ZN19QAbstractFileEngine6renameERK7QString() {} ; void _ZN19QAbstractFileEngine7setSizeEx() {} ; void _ZN19QAbstractFileEngine8readLineEPcx() {} ; void _ZN19QAbstractFileEngine8setErrorEN5QFile9FileErrorERK7QString() {} ; void _ZN19QAbstractFileEngine9extensionENS_9ExtensionEPKNS_15ExtensionOptionEPNS_15ExtensionReturnE() {} ; void _ZN19QAbstractFileEngineC1Ev() {} ; void _ZN19QAbstractFileEngineC2Ev() {} ; void _ZN19QAbstractFileEngineD0Ev() {} ; void _ZN19QAbstractFileEngineD1Ev() {} ; void _ZN19QAbstractFileEngineD2Ev() {} ; void _ZN19QAbstractTableModel11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN19QAbstractTableModel11qt_metacastEPKc() {} ; void _ZN19QAbstractTableModel12dropMimeDataEPK9QMimeDataN2Qt10DropActionEiiRK11QModelIndex() {} ; void _ZN19QAbstractTableModelC1EP7QObject() {} ; void _ZN19QAbstractTableModelC2EP7QObject() {} ; void _ZN19QAbstractTableModelD0Ev() {} ; void _ZN19QAbstractTableModelD1Ev() {} ; void _ZN19QAbstractTableModelD2Ev() {} ; void _ZN21QObjectCleanupHandler11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN21QObjectCleanupHandler11qt_metacastEPKc() {} ; void _ZN21QObjectCleanupHandler3addEP7QObject() {} ; void _ZN21QObjectCleanupHandler5clearEv() {} ; void _ZN21QObjectCleanupHandler6removeEP7QObject() {} ; void _ZN21QObjectCleanupHandlerC1Ev() {} ; void _ZN21QObjectCleanupHandlerC2Ev() {} ; void _ZN21QObjectCleanupHandlerD0Ev() {} ; void _ZN21QObjectCleanupHandlerD1Ev() {} ; void _ZN21QObjectCleanupHandlerD2Ev() {} ; void _ZN21QPersistentModelIndexC1ERK11QModelIndex() {} ; void _ZN21QPersistentModelIndexC1ERKS_() {} ; void _ZN21QPersistentModelIndexC1Ev() {} ; void _ZN21QPersistentModelIndexC2ERK11QModelIndex() {} ; void _ZN21QPersistentModelIndexC2ERKS_() {} ; void _ZN21QPersistentModelIndexC2Ev() {} ; void _ZN21QPersistentModelIndexD1Ev() {} ; void _ZN21QPersistentModelIndexD2Ev() {} ; void _ZN21QPersistentModelIndexaSERK11QModelIndex() {} ; void _ZN21QPersistentModelIndexaSERKS_() {} ; void _ZN24QAbstractEventDispatcher10startingUpEv() {} ; void _ZN24QAbstractEventDispatcher11closingDownEv() {} ; void _ZN24QAbstractEventDispatcher11filterEventEPv() {} ; void _ZN24QAbstractEventDispatcher11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN24QAbstractEventDispatcher11qt_metacastEPKc() {} ; void _ZN24QAbstractEventDispatcher12aboutToBlockEv() {} ; void _ZN24QAbstractEventDispatcher13registerTimerEiP7QObject() {} ; void _ZN24QAbstractEventDispatcher14setEventFilterEPFbPvE() {} ; void _ZN24QAbstractEventDispatcher5awakeEv() {} ; void _ZN24QAbstractEventDispatcher8instanceEP7QThread() {} ; void _ZN24QAbstractEventDispatcherC1EP7QObject() {} ; void _ZN24QAbstractEventDispatcherC2EP7QObject() {} ; void _ZN24QAbstractEventDispatcherD0Ev() {} ; void _ZN24QAbstractEventDispatcherD1Ev() {} ; void _ZN24QAbstractEventDispatcherD2Ev() {} ; void _ZN26QAbstractFileEngineHandlerC1Ev() {} ; void _ZN26QAbstractFileEngineHandlerC2Ev() {} ; void _ZN26QAbstractFileEngineHandlerD0Ev() {} ; void _ZN26QAbstractFileEngineHandlerD1Ev() {} ; void _ZN26QAbstractFileEngineHandlerD2Ev() {} ; void _ZN27QDynamicPropertyChangeEventC1ERK10QByteArray() {} ; void _ZN27QDynamicPropertyChangeEventC2ERK10QByteArray() {} ; void _ZN27QDynamicPropertyChangeEventD0Ev() {} ; void _ZN27QDynamicPropertyChangeEventD1Ev() {} ; void _ZN27QDynamicPropertyChangeEventD2Ev() {} ; void _ZN4QDir10setCurrentERK7QString() {} ; void _ZN4QDir10setSortingE6QFlagsINS_8SortFlagEE() {} ; void _ZN4QDir11currentPathEv() {} ; void _ZN4QDir12makeAbsoluteEv() {} ; void _ZN4QDir13setNameFilterERK7QString() {} ; void _ZN4QDir14isRelativePathERK7QString() {} ; void _ZN4QDir14setNameFiltersERK11QStringList() {} ; void _ZN4QDir15setMatchAllDirsEb() {} ; void _ZN4QDir17convertSeparatorsERK7QString() {} ; void _ZN4QDir18toNativeSeparatorsERK7QString() {} ; void _ZN4QDir20fromNativeSeparatorsERK7QString() {} ; void _ZN4QDir21addResourceSearchPathERK7QString() {} ; void _ZN4QDir21nameFiltersFromStringERK7QString() {} ; void _ZN4QDir2cdERK7QString() {} ; void _ZN4QDir4cdUpEv() {} ; void _ZN4QDir5matchERK11QStringListRK7QString() {} ; void _ZN4QDir5matchERK7QStringS2_() {} ; void _ZN4QDir6drivesEv() {} ; void _ZN4QDir6removeERK7QString() {} ; void _ZN4QDir6renameERK7QStringS2_() {} ; void _ZN4QDir7setPathERK7QString() {} ; void _ZN4QDir8homePathEv() {} ; void _ZN4QDir8rootPathEv() {} ; void _ZN4QDir8tempPathEv() {} ; void _ZN4QDir9cleanPathERK7QString() {} ; void _ZN4QDir9separatorEv() {} ; void _ZN4QDir9setFilterE6QFlagsINS_6FilterEE() {} ; void _ZN4QDirC1ERK7QString() {} ; void _ZN4QDirC1ERK7QStringS2_6QFlagsINS_8SortFlagEES3_INS_6FilterEE() {} ; void _ZN4QDirC1ERKS_() {} ; void _ZN4QDirC2ERK7QString() {} ; void _ZN4QDirC2ERK7QStringS2_6QFlagsINS_8SortFlagEES3_INS_6FilterEE() {} ; void _ZN4QDirC2ERKS_() {} ; void _ZN4QDirD1Ev() {} ; void _ZN4QDirD2Ev() {} ; void _ZN4QDiraSERK7QString() {} ; void _ZN4QDiraSERKS_() {} ; void _ZN4QUrl10toPunycodeERK7QString() {} ; void _ZN4QUrl11fromEncodedERK10QByteArray() {} ; void _ZN4QUrl11fromEncodedERK10QByteArrayNS_11ParsingModeE() {} ; void _ZN4QUrl11setFileNameERK7QString() {} ; void _ZN4QUrl11setFragmentERK7QString() {} ; void _ZN4QUrl11setPasswordERK7QString() {} ; void _ZN4QUrl11setUserInfoERK7QString() {} ; void _ZN4QUrl11setUserNameERK7QString() {} ; void _ZN4QUrl12addQueryItemERK7QStringS2_() {} ; void _ZN4QUrl12fromPunycodeERK10QByteArray() {} ; void _ZN4QUrl12idnWhitelistEv() {} ; void _ZN4QUrl12setAuthorityERK7QString() {} ; void _ZN4QUrl13fromLocalFileERK7QString() {} ; void _ZN4QUrl13setEncodedUrlERK10QByteArray() {} ; void _ZN4QUrl13setEncodedUrlERK10QByteArrayNS_11ParsingModeE() {} ; void _ZN4QUrl13setQueryItemsERK5QListI5QPairI7QStringS2_EE() {} ; void _ZN4QUrl15removeQueryItemERK7QString() {} ; void _ZN4QUrl15setEncodedQueryERK10QByteArray() {} ; void _ZN4QUrl15setIdnWhitelistERK11QStringList() {} ; void _ZN4QUrl17toPercentEncodingERK7QStringRK10QByteArrayS5_() {} ; void _ZN4QUrl18setQueryDelimitersEcc() {} ; void _ZN4QUrl19fromPercentEncodingERK10QByteArray() {} ; void _ZN4QUrl19removeAllQueryItemsERK7QString() {} ; void _ZN4QUrl5clearEv() {} ; void _ZN4QUrl5toAceERK7QString() {} ; void _ZN4QUrl6detachEv() {} ; void _ZN4QUrl6setUrlERK7QString() {} ; void _ZN4QUrl6setUrlERK7QStringNS_11ParsingModeE() {} ; void _ZN4QUrl7fromAceERK10QByteArray() {} ; void _ZN4QUrl7setHostERK7QString() {} ; void _ZN4QUrl7setPathERK7QString() {} ; void _ZN4QUrl7setPortEi() {} ; void _ZN4QUrl9setSchemeERK7QString() {} ; void _ZN4QUrlC1ERK7QString() {} ; void _ZN4QUrlC1ERK7QStringNS_11ParsingModeE() {} ; void _ZN4QUrlC1ERKS_() {} ; void _ZN4QUrlC1Ev() {} ; void _ZN4QUrlC2ERK7QString() {} ; void _ZN4QUrlC2ERK7QStringNS_11ParsingModeE() {} ; void _ZN4QUrlC2ERKS_() {} ; void _ZN4QUrlC2Ev() {} ; void _ZN4QUrlD1Ev() {} ; void _ZN4QUrlD2Ev() {} ; void _ZN4QUrlaSERK7QString() {} ; void _ZN4QUrlaSERKS_() {} ; void _ZN5QChar9fromAsciiEc() {} ; void _ZN5QCharC1Ec() {} ; void _ZN5QCharC1Eh() {} ; void _ZN5QCharC2Ec() {} ; void _ZN5QCharC2Eh() {} ; void _ZN5QDate10fromStringERK7QStringN2Qt10DateFormatE() {} ; void _ZN5QDate10fromStringERK7QStringS2_() {} ; void _ZN5QDate10isLeapYearEi() {} ; void _ZN5QDate11currentDateEv() {} ; void _ZN5QDate11longDayNameEi() {} ; void _ZN5QDate12shortDayNameEi() {} ; void _ZN5QDate13longMonthNameEi() {} ; void _ZN5QDate14shortMonthNameEi() {} ; void _ZN5QDate17gregorianToJulianEiii() {} ; void _ZN5QDate17julianToGregorianEjRiS0_S0_() {} ; void _ZN5QDate6setYMDEiii() {} ; void _ZN5QDate7isValidEiii() {} ; void _ZN5QDate7setDateEiii() {} ; void _ZN5QDateC1Eiii() {} ; void _ZN5QDateC2Eiii() {} ; void _ZN5QFile10decodeNameERK10QByteArray() {} ; void _ZN5QFile10encodeNameERK7QString() {} ; void _ZN5QFile10unsetErrorEv() {} ; void _ZN5QFile11permissionsERK7QString() {} ; void _ZN5QFile11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN5QFile11qt_metacastEPKc() {} ; void _ZN5QFile11setFileNameERK7QString() {} ; void _ZN5QFile12readLineDataEPcx() {} ; void _ZN5QFile14setPermissionsE6QFlagsINS_10PermissionEE() {} ; void _ZN5QFile14setPermissionsERK7QString6QFlagsINS_10PermissionEE() {} ; void _ZN5QFile19setDecodingFunctionEPF7QStringRK10QByteArrayE() {} ; void _ZN5QFile19setEncodingFunctionEPF10QByteArrayRK7QStringE() {} ; void _ZN5QFile4copyERK7QString() {} ; void _ZN5QFile4copyERK7QStringS2_() {} ; void _ZN5QFile4linkERK7QString() {} ; void _ZN5QFile4linkERK7QStringS2_() {} ; void _ZN5QFile4openE6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN5QFile4openEP8_IO_FILE6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN5QFile4openEi6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN5QFile4seekEx() {} ; void _ZN5QFile5closeEv() {} ; void _ZN5QFile5flushEv() {} ; void _ZN5QFile6existsERK7QString() {} ; void _ZN5QFile6removeERK7QString() {} ; void _ZN5QFile6removeEv() {} ; void _ZN5QFile6renameERK7QString() {} ; void _ZN5QFile6renameERK7QStringS2_() {} ; void _ZN5QFile6resizeERK7QStringx() {} ; void _ZN5QFile6resizeEx() {} ; void _ZN5QFile8readDataEPcx() {} ; void _ZN5QFile8readLinkERK7QString() {} ; void _ZN5QFile9writeDataEPKcx() {} ; void _ZN5QFileC1EP7QObject() {} ; void _ZN5QFileC1ERK7QString() {} ; void _ZN5QFileC1ERK7QStringP7QObject() {} ; void _ZN5QFileC1Ev() {} ; void _ZN5QFileC2EP7QObject() {} ; void _ZN5QFileC2ERK7QString() {} ; void _ZN5QFileC2ERK7QStringP7QObject() {} ; void _ZN5QFileC2Ev() {} ; void _ZN5QFileD0Ev() {} ; void _ZN5QFileD1Ev() {} ; void _ZN5QFileD2Ev() {} ; void _ZN5QRect10moveCenterERK6QPoint() {} ; void _ZN5QSize5scaleERKS_N2Qt15AspectRatioModeE() {} ; void _ZN5QSize9transposeEv() {} ; void _ZN5QTime10fromStringERK7QStringN2Qt10DateFormatE() {} ; void _ZN5QTime10fromStringERK7QStringS2_() {} ; void _ZN5QTime11currentTimeEv() {} ; void _ZN5QTime5startEv() {} ; void _ZN5QTime6setHMSEiiii() {} ; void _ZN5QTime7isValidEiiii() {} ; void _ZN5QTime7restartEv() {} ; void _ZN5QTimeC1Eiiii() {} ; void _ZN5QTimeC2Eiiii() {} ; void _ZN5QUuid10createUuidEv() {} ; void _ZN5QUuidC1EPKc() {} ; void _ZN5QUuidC1ERK7QString() {} ; void _ZN5QUuidC2EPKc() {} ; void _ZN5QUuidC2ERK7QString() {} ; void _ZN6QEventC1ENS_4TypeE() {} ; void _ZN6QEventC2ENS_4TypeE() {} ; void _ZN6QEventD0Ev() {} ; void _ZN6QEventD1Ev() {} ; void _ZN6QEventD2Ev() {} ; void _ZN6QMutex4lockEv() {} ; void _ZN6QMutex6unlockEv() {} ; void _ZN6QMutex7tryLockEv() {} ; void _ZN6QMutexC1ENS_13RecursionModeE() {} ; void _ZN6QMutexC2ENS_13RecursionModeE() {} ; void _ZN6QMutexD1Ev() {} ; void _ZN6QMutexD2Ev() {} ; void _ZN6QSizeF5scaleERKS_N2Qt15AspectRatioModeE() {} ; void _ZN6QSizeF9transposeEv() {} ; void _ZN6QTimer10singleShotEiP7QObjectPKc() {} ; void _ZN6QTimer10timerEventEP11QTimerEvent() {} ; void _ZN6QTimer11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN6QTimer11qt_metacastEPKc() {} ; void _ZN6QTimer11setIntervalEi() {} ; void _ZN6QTimer4stopEv() {} ; void _ZN6QTimer5startEi() {} ; void _ZN6QTimer5startEib() {} ; void _ZN6QTimer5startEv() {} ; void _ZN6QTimer7timeoutEv() {} ; void _ZN6QTimerC1EP7QObject() {} ; void _ZN6QTimerC1EP7QObjectPKc() {} ; void _ZN6QTimerC2EP7QObject() {} ; void _ZN6QTimerC2EP7QObjectPKc() {} ; void _ZN6QTimerD0Ev() {} ; void _ZN6QTimerD1Ev() {} ; void _ZN6QTimerD2Ev() {} ; void _ZN7QBuffer11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN7QBuffer11qt_metacastEPKc() {} ; void _ZN7QBuffer4openE6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN7QBuffer4seekEx() {} ; void _ZN7QBuffer5closeEv() {} ; void _ZN7QBuffer6bufferEv() {} ; void _ZN7QBuffer7setDataERK10QByteArray() {} ; void _ZN7QBuffer8readDataEPcx() {} ; void _ZN7QBuffer9setBufferEP10QByteArray() {} ; void _ZN7QBuffer9writeDataEPKcx() {} ; void _ZN7QBufferC1EP10QByteArrayP7QObject() {} ; void _ZN7QBufferC1EP7QObject() {} ; void _ZN7QBufferC2EP10QByteArrayP7QObject() {} ; void _ZN7QBufferC2EP7QObject() {} ; void _ZN7QBufferD0Ev() {} ; void _ZN7QBufferD1Ev() {} ; void _ZN7QBufferD2Ev() {} ; void _ZN7QLocale10setDefaultERKS_() {} ; void _ZN7QLocale15countryToStringENS_7CountryE() {} ; void _ZN7QLocale16languageToStringENS_8LanguageE() {} ; void _ZN7QLocale16setNumberOptionsE6QFlagsINS_12NumberOptionEE() {} ; void _ZN7QLocale6systemEv() {} ; void _ZN7QLocaleC1ENS_8LanguageENS_7CountryE() {} ; void _ZN7QLocaleC1ERK7QString() {} ; void _ZN7QLocaleC1ERKS_() {} ; void _ZN7QLocaleC1Ev() {} ; void _ZN7QLocaleC2ENS_8LanguageENS_7CountryE() {} ; void _ZN7QLocaleC2ERK7QString() {} ; void _ZN7QLocaleC2ERKS_() {} ; void _ZN7QLocaleC2Ev() {} ; void _ZN7QLocaleaSERKS_() {} ; void _ZN7QObject10childEventEP11QChildEvent() {} ; void _ZN7QObject10disconnectEPKS_PKcS1_S3_() {} ; void _ZN7QObject10startTimerEi() {} ; void _ZN7QObject10timerEventEP11QTimerEvent() {} ; void _ZN7QObject11customEventEP6QEvent() {} ; void _ZN7QObject11deleteLaterEv() {} ; void _ZN7QObject11eventFilterEPS_P6QEvent() {} ; void _ZN7QObject11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN7QObject11qt_metacastEPKc() {} ; void _ZN7QObject11setPropertyEPKcRK8QVariant() {} ; void _ZN7QObject11setUserDataEjP15QObjectUserData() {} ; void _ZN7QObject12blockSignalsEb() {} ; void _ZN7QObject12moveToThreadEP7QThread() {} ; void _ZN7QObject13connectNotifyEPKc() {} ; void _ZN7QObject13setObjectNameERK7QString() {} ; void _ZN7QObject14dumpObjectInfoEv() {} ; void _ZN7QObject14dumpObjectTreeEv() {} ; void _ZN7QObject16disconnectNotifyEPKc() {} ; void _ZN7QObject16registerUserDataEv() {} ; void _ZN7QObject17removeEventFilterEPS_() {} ; void _ZN7QObject18installEventFilterEPS_() {} ; void _ZN7QObject5eventEP6QEvent() {} ; void _ZN7QObject7connectEPKS_PKcS1_S3_N2Qt14ConnectionTypeE() {} ; void _ZN7QObject9destroyedEPS_() {} ; void _ZN7QObject9killTimerEi() {} ; void _ZN7QObject9setParentEPS_() {} ; void _ZN7QObjectC1EPS_() {} ; void _ZN7QObjectC1EPS_PKc() {} ; void _ZN7QObjectC2EPS_() {} ; void _ZN7QObjectC2EPS_PKc() {} ; void _ZN7QObjectD0Ev() {} ; void _ZN7QObjectD1Ev() {} ; void _ZN7QObjectD2Ev() {} ; void _ZN7QRegExp10setMinimalEb() {} ; void _ZN7QRegExp10setPatternERK7QString() {} ; void _ZN7QRegExp11errorStringEv() {} ; void _ZN7QRegExp13capturedTextsEv() {} ; void _ZN7QRegExp16setPatternSyntaxENS_13PatternSyntaxE() {} ; void _ZN7QRegExp18setCaseSensitivityEN2Qt15CaseSensitivityE() {} ; void _ZN7QRegExp3capEi() {} ; void _ZN7QRegExp3posEi() {} ; void _ZN7QRegExp6escapeERK7QString() {} ; void _ZN7QRegExpC1ERK7QStringN2Qt15CaseSensitivityENS_13PatternSyntaxE() {} ; void _ZN7QRegExpC1ERKS_() {} ; void _ZN7QRegExpC1Ev() {} ; void _ZN7QRegExpC2ERK7QStringN2Qt15CaseSensitivityENS_13PatternSyntaxE() {} ; void _ZN7QRegExpC2ERKS_() {} ; void _ZN7QRegExpC2Ev() {} ; void _ZN7QRegExpD1Ev() {} ; void _ZN7QRegExpD2Ev() {} ; void _ZN7QRegExpaSERKS_() {} ; void _ZN7QString10fromLatin1EPKci() {} ; void _ZN7QString10setUnicodeEPK5QChari() {} ; void _ZN7QString11fromRawDataEPK5QChari() {} ; void _ZN7QString13fromLocal8BitEPKci() {} ; void _ZN7QString14fromWCharArrayEPKwi() {} ; void _ZN7QString16fromAscii_helperEPKci() {} ; void _ZN7QString17fromLatin1_helperEPKci() {} ; void _ZN7QString4chopEi() {} ; void _ZN7QString4fillE5QChari() {} ; void _ZN7QString4freeEPNS_4DataE() {} ; void _ZN7QString6appendE5QChar() {} ; void _ZN7QString6appendERK13QLatin1String() {} ; void _ZN7QString6appendERKS_() {} ; void _ZN7QString6expandEi() {} ; void _ZN7QString6insertEi5QChar() {} ; void _ZN7QString6insertEiPK5QChari() {} ; void _ZN7QString6insertEiRK13QLatin1String() {} ; void _ZN7QString6numberEdci() {} ; void _ZN7QString6numberEii() {} ; void _ZN7QString6numberEji() {} ; void _ZN7QString6numberEli() {} ; void _ZN7QString6numberEmi() {} ; void _ZN7QString6numberExi() {} ; void _ZN7QString6numberEyi() {} ; void _ZN7QString6removeE5QCharN2Qt15CaseSensitivityE() {} ; void _ZN7QString6removeERKS_N2Qt15CaseSensitivityE() {} ; void _ZN7QString6removeEii() {} ; void _ZN7QString6resizeEi() {} ; void _ZN7QString6setNumEdci() {} ; void _ZN7QString6setNumExi() {} ; void _ZN7QString6setNumEyi() {} ; void _ZN7QString7reallocEi() {} ; void _ZN7QString7reallocEv() {} ; void _ZN7QString7replaceE5QCharRKS_N2Qt15CaseSensitivityE() {} ; void _ZN7QString7replaceE5QCharS0_N2Qt15CaseSensitivityE() {} ; void _ZN7QString7replaceERK7QRegExpRKS_() {} ; void _ZN7QString7replaceERKS_S1_N2Qt15CaseSensitivityE() {} ; void _ZN7QString7replaceEii5QChar() {} ; void _ZN7QString7replaceEiiPK5QChari() {} ; void _ZN7QString7replaceEiiRKS_() {} ; void _ZN7QString7sprintfEPKcz() {} ; void _ZN7QString8fromUcs4EPKji() {} ; void _ZN7QString8fromUtf8EPKci() {} ; void _ZN7QString8truncateEi() {} ; void _ZN7QString9fromAsciiEPKci() {} ; void _ZN7QString9fromUtf16EPKti() {} ; void _ZN7QStringC1E5QChar() {} ; void _ZN7QStringC1EPK5QChari() {} ; void _ZN7QStringC1Ei5QChar() {} ; void _ZN7QStringC2E5QChar() {} ; void _ZN7QStringC2EPK5QChari() {} ; void _ZN7QStringC2Ei5QChar() {} ; void _ZN7QStringaSE5QChar() {} ; void _ZN7QStringaSERKS_() {} ; void _ZN7QThread10terminatedEv() {} ; void _ZN7QThread11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN7QThread11qt_metacastEPKc() {} ; void _ZN7QThread11setPriorityENS_8PriorityE() {} ; void _ZN7QThread12setStackSizeEj() {} ; void _ZN7QThread13currentThreadEv() {} ; void _ZN7QThread15currentThreadIdEv() {} ; void _ZN7QThread21setTerminationEnabledEb() {} ; void _ZN7QThread4execEv() {} ; void _ZN7QThread4exitEi() {} ; void _ZN7QThread4quitEv() {} ; void _ZN7QThread4waitEm() {} ; void _ZN7QThread5sleepEm() {} ; void _ZN7QThread5startENS_8PriorityE() {} ; void _ZN7QThread6msleepEm() {} ; void _ZN7QThread6usleepEm() {} ; void _ZN7QThread7startedEv() {} ; void _ZN7QThread8finishedEv() {} ; void _ZN7QThread9terminateEv() {} ; void _ZN7QThreadC1EP7QObject() {} ; void _ZN7QThreadC2EP7QObject() {} ; void _ZN7QThreadD0Ev() {} ; void _ZN7QThreadD1Ev() {} ; void _ZN7QThreadD2Ev() {} ; void _ZN8QLibrary11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN8QLibrary11qt_metacastEPKc() {} ; void _ZN8QLibrary11setFileNameERK7QString() {} ; void _ZN8QLibrary12setLoadHintsE6QFlagsINS_8LoadHintEE() {} ; void _ZN8QLibrary21setFileNameAndVersionERK7QStringi() {} ; void _ZN8QLibrary4loadEv() {} ; void _ZN8QLibrary6unloadEv() {} ; void _ZN8QLibrary7resolveEPKc() {} ; void _ZN8QLibrary7resolveERK7QStringPKc() {} ; void _ZN8QLibrary7resolveERK7QStringiPKc() {} ; void _ZN8QLibrary9isLibraryERK7QString() {} ; void _ZN8QLibraryC1EP7QObject() {} ; void _ZN8QLibraryC1ERK7QStringP7QObject() {} ; void _ZN8QLibraryC1ERK7QStringiP7QObject() {} ; void _ZN8QLibraryC2EP7QObject() {} ; void _ZN8QLibraryC2ERK7QStringP7QObject() {} ; void _ZN8QLibraryC2ERK7QStringiP7QObject() {} ; void _ZN8QLibraryD0Ev() {} ; void _ZN8QLibraryD1Ev() {} ; void _ZN8QLibraryD2Ev() {} ; void _ZN8QMapData10createDataEv() {} ; void _ZN8QMapData11node_createEPPNS_4NodeEi() {} ; void _ZN8QMapData11node_deleteEPPNS_4NodeEiS1_() {} ; void _ZN8QMapData16continueFreeDataEi() {} ; void _ZN8QProcess11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN8QProcess11qt_metacastEPKc() {} ; void _ZN8QProcess12stateChangedENS_12ProcessStateE() {} ; void _ZN8QProcess13startDetachedERK7QString() {} ; void _ZN8QProcess13startDetachedERK7QStringRK11QStringList() {} ; void _ZN8QProcess14setEnvironmentERK11QStringList() {} ; void _ZN8QProcess14setReadChannelENS_14ProcessChannelE() {} ; void _ZN8QProcess14waitForStartedEi() {} ; void _ZN8QProcess15setProcessStateENS_12ProcessStateE() {} ; void _ZN8QProcess15waitForFinishedEi() {} ; void _ZN8QProcess16closeReadChannelENS_14ProcessChannelE() {} ; void _ZN8QProcess16waitForReadyReadEi() {} ; void _ZN8QProcess17closeWriteChannelEv() {} ; void _ZN8QProcess17setupChildProcessEv() {} ; void _ZN8QProcess17systemEnvironmentEv() {} ; void _ZN8QProcess18setReadChannelModeENS_18ProcessChannelModeE() {} ; void _ZN8QProcess19setWorkingDirectoryERK7QString() {} ; void _ZN8QProcess19waitForBytesWrittenEi() {} ; void _ZN8QProcess20readAllStandardErrorEv() {} ; void _ZN8QProcess20setStandardErrorFileERK7QString6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN8QProcess20setStandardInputFileERK7QString() {} ; void _ZN8QProcess21readAllStandardOutputEv() {} ; void _ZN8QProcess21setProcessChannelModeENS_18ProcessChannelModeE() {} ; void _ZN8QProcess21setStandardOutputFileERK7QString6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN8QProcess22readyReadStandardErrorEv() {} ; void _ZN8QProcess23readyReadStandardOutputEv() {} ; void _ZN8QProcess24setStandardOutputProcessEPS_() {} ; void _ZN8QProcess4killEv() {} ; void _ZN8QProcess5closeEv() {} ; void _ZN8QProcess5errorENS_12ProcessErrorE() {} ; void _ZN8QProcess5startERK7QString6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN8QProcess5startERK7QStringRK11QStringList6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _ZN8QProcess7executeERK7QString() {} ; void _ZN8QProcess7executeERK7QStringRK11QStringList() {} ; void _ZN8QProcess7startedEv() {} ; void _ZN8QProcess8finishedEi() {} ; void _ZN8QProcess8finishedEiNS_10ExitStatusE() {} ; void _ZN8QProcess8readDataEPcx() {} ; void _ZN8QProcess9terminateEv() {} ; void _ZN8QProcess9writeDataEPKcx() {} ; void _ZN8QProcessC1EP7QObject() {} ; void _ZN8QProcessC2EP7QObject() {} ; void _ZN8QProcessD0Ev() {} ; void _ZN8QProcessD1Ev() {} ; void _ZN8QProcessD2Ev() {} ; void _ZN8QVariant10nameToTypeEPKc() {} ; void _ZN8QVariant10typeToNameENS_4TypeE() {} ; void _ZN8QVariant12castOrDetachENS_4TypeE() {} ; void _ZN8QVariant4dataEv() {} ; void _ZN8QVariant4loadER11QDataStream() {} ; void _ZN8QVariant5clearEv() {} ; void _ZN8QVariant6createEiPKv() {} ; void _ZN8QVariant6detachEv() {} ; void _ZN8QVariant7convertENS_4TypeE() {} ; void _ZN8QVariantC1EN2Qt11GlobalColorE() {} ; void _ZN8QVariantC1ENS_4TypeE() {} ; void _ZN8QVariantC1EPKc() {} ; void _ZN8QVariantC1ER11QDataStream() {} ; void _ZN8QVariantC1ERK10QByteArray() {} ; void _ZN8QVariantC1ERK11QStringList() {} ; void _ZN8QVariantC1ERK13QLatin1String() {} ; void _ZN8QVariantC1ERK4QMapI7QStringS_E() {} ; void _ZN8QVariantC1ERK4QUrl() {} ; void _ZN8QVariantC1ERK5QChar() {} ; void _ZN8QVariantC1ERK5QDate() {} ; void _ZN8QVariantC1ERK5QLine() {} ; void _ZN8QVariantC1ERK5QListIS_E() {} ; void _ZN8QVariantC1ERK5QRect() {} ; void _ZN8QVariantC1ERK5QSize() {} ; void _ZN8QVariantC1ERK5QTime() {} ; void _ZN8QVariantC1ERK6QLineF() {} ; void _ZN8QVariantC1ERK6QPoint() {} ; void _ZN8QVariantC1ERK6QRectF() {} ; void _ZN8QVariantC1ERK6QSizeF() {} ; void _ZN8QVariantC1ERK7QLocale() {} ; void _ZN8QVariantC1ERK7QPointF() {} ; void _ZN8QVariantC1ERK7QRegExp() {} ; void _ZN8QVariantC1ERK7QString() {} ; void _ZN8QVariantC1ERK9QBitArray() {} ; void _ZN8QVariantC1ERK9QDateTime() {} ; void _ZN8QVariantC1ERKS_() {} ; void _ZN8QVariantC1Eb() {} ; void _ZN8QVariantC1Ed() {} ; void _ZN8QVariantC1Ei() {} ; void _ZN8QVariantC1EiPKv() {} ; void _ZN8QVariantC1Ej() {} ; void _ZN8QVariantC1Ex() {} ; void _ZN8QVariantC1Ey() {} ; void _ZN8QVariantC2EN2Qt11GlobalColorE() {} ; void _ZN8QVariantC2ENS_4TypeE() {} ; void _ZN8QVariantC2EPKc() {} ; void _ZN8QVariantC2ER11QDataStream() {} ; void _ZN8QVariantC2ERK10QByteArray() {} ; void _ZN8QVariantC2ERK11QStringList() {} ; void _ZN8QVariantC2ERK13QLatin1String() {} ; void _ZN8QVariantC2ERK4QMapI7QStringS_E() {} ; void _ZN8QVariantC2ERK4QUrl() {} ; void _ZN8QVariantC2ERK5QChar() {} ; void _ZN8QVariantC2ERK5QDate() {} ; void _ZN8QVariantC2ERK5QLine() {} ; void _ZN8QVariantC2ERK5QListIS_E() {} ; void _ZN8QVariantC2ERK5QRect() {} ; void _ZN8QVariantC2ERK5QSize() {} ; void _ZN8QVariantC2ERK5QTime() {} ; void _ZN8QVariantC2ERK6QLineF() {} ; void _ZN8QVariantC2ERK6QPoint() {} ; void _ZN8QVariantC2ERK6QRectF() {} ; void _ZN8QVariantC2ERK6QSizeF() {} ; void _ZN8QVariantC2ERK7QLocale() {} ; void _ZN8QVariantC2ERK7QPointF() {} ; void _ZN8QVariantC2ERK7QRegExp() {} ; void _ZN8QVariantC2ERK7QString() {} ; void _ZN8QVariantC2ERK9QBitArray() {} ; void _ZN8QVariantC2ERK9QDateTime() {} ; void _ZN8QVariantC2ERKS_() {} ; void _ZN8QVariantC2Eb() {} ; void _ZN8QVariantC2Ed() {} ; void _ZN8QVariantC2Ei() {} ; void _ZN8QVariantC2EiPKv() {} ; void _ZN8QVariantC2Ej() {} ; void _ZN8QVariantC2Ex() {} ; void _ZN8QVariantC2Ey() {} ; void _ZN8QVariantD1Ev() {} ; void _ZN8QVariantD2Ev() {} ; void _ZN8QVariantaSERKS_() {} ; void _ZN9QBitArray4fillEbii() {} ; void _ZN9QBitArray6resizeEi() {} ; void _ZN9QBitArrayC1Eib() {} ; void _ZN9QBitArrayC2Eib() {} ; void _ZN9QBitArrayaNERKS_() {} ; void _ZN9QBitArrayeOERKS_() {} ; void _ZN9QBitArrayoRERKS_() {} ; void _ZN9QDateTime10fromStringERK7QStringN2Qt10DateFormatE() {} ; void _ZN9QDateTime10fromStringERK7QStringS2_() {} ; void _ZN9QDateTime10fromTime_tEj() {} ; void _ZN9QDateTime11setTimeSpecEN2Qt8TimeSpecE() {} ; void _ZN9QDateTime15currentDateTimeEv() {} ; void _ZN9QDateTime7setDateERK5QDate() {} ; void _ZN9QDateTime7setTimeERK5QTime() {} ; void _ZN9QDateTime9setTime_tEj() {} ; void _ZN9QDateTimeC1ERK5QDate() {} ; void _ZN9QDateTimeC1ERK5QDateRK5QTimeN2Qt8TimeSpecE() {} ; void _ZN9QDateTimeC1ERKS_() {} ; void _ZN9QDateTimeC1Ev() {} ; void _ZN9QDateTimeC2ERK5QDate() {} ; void _ZN9QDateTimeC2ERK5QDateRK5QTimeN2Qt8TimeSpecE() {} ; void _ZN9QDateTimeC2ERKS_() {} ; void _ZN9QDateTimeC2Ev() {} ; void _ZN9QDateTimeD1Ev() {} ; void _ZN9QDateTimeD2Ev() {} ; void _ZN9QDateTimeaSERKS_() {} ; void _ZN9QFileInfo10setCachingEb() {} ; void _ZN9QFileInfo12makeAbsoluteEv() {} ; void _ZN9QFileInfo6detachEv() {} ; void _ZN9QFileInfo7refreshEv() {} ; void _ZN9QFileInfo7setFileERK4QDirRK7QString() {} ; void _ZN9QFileInfo7setFileERK5QFile() {} ; void _ZN9QFileInfo7setFileERK7QString() {} ; void _ZN9QFileInfoC1ERK4QDirRK7QString() {} ; void _ZN9QFileInfoC1ERK5QFile() {} ; void _ZN9QFileInfoC1ERK7QString() {} ; void _ZN9QFileInfoC1ERKS_() {} ; void _ZN9QFileInfoC1Ev() {} ; void _ZN9QFileInfoC2ERK4QDirRK7QString() {} ; void _ZN9QFileInfoC2ERK5QFile() {} ; void _ZN9QFileInfoC2ERK7QString() {} ; void _ZN9QFileInfoC2ERKS_() {} ; void _ZN9QFileInfoC2Ev() {} ; void _ZN9QFileInfoD1Ev() {} ; void _ZN9QFileInfoD2Ev() {} ; void _ZN9QFileInfoaSERKS_() {} ; void _ZN9QFileInfoeqERKS_() {} ; void _ZN9QHashData12allocateNodeEv() {} ; void _ZN9QHashData12previousNodeEPNS_4NodeE() {} ; void _ZN9QHashData13detach_helperEPFvPNS_4NodeEPvEi() {} ; void _ZN9QHashData14destroyAndFreeEv() {} ; void _ZN9QHashData6rehashEi() {} ; void _ZN9QHashData8freeNodeEPv() {} ; void _ZN9QHashData8nextNodeEPNS_4NodeE() {} ; void _ZN9QIODevice11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN9QIODevice11qt_metacastEPKc() {} ; void _ZN9QIODevice11resetStatusEv() {} ; void _ZN9QIODevice11setOpenModeE6QFlagsINS_12OpenModeFlagEE() {} ; void _ZN9QIODevice12aboutToCloseEv() {} ; void _ZN9QIODevice12bytesWrittenEx() {} ; void _ZN9QIODevice12readLineDataEPcx() {} ; void _ZN9QIODevice14setErrorStringERK7QString() {} ; void _ZN9QIODevice16waitForReadyReadEi() {} ; void _ZN9QIODevice18setTextModeEnabledEb() {} ; void _ZN9QIODevice19waitForBytesWrittenEi() {} ; void _ZN9QIODevice4openE6QFlagsINS_12OpenModeFlagEE() {} ; void _ZN9QIODevice4peekEPcx() {} ; void _ZN9QIODevice4peekEx() {} ; void _ZN9QIODevice4readEPcx() {} ; void _ZN9QIODevice4readEx() {} ; void _ZN9QIODevice4seekEx() {} ; void _ZN9QIODevice5closeEv() {} ; void _ZN9QIODevice5resetEv() {} ; void _ZN9QIODevice5writeEPKcx() {} ; void _ZN9QIODevice7readAllEv() {} ; void _ZN9QIODevice8readLineEPcx() {} ; void _ZN9QIODevice8readLineEx() {} ; void _ZN9QIODevice9readyReadEv() {} ; void _ZN9QIODevice9ungetCharEc() {} ; void _ZN9QIODeviceC1EP7QObject() {} ; void _ZN9QIODeviceC1Ev() {} ; void _ZN9QIODeviceC2EP7QObject() {} ; void _ZN9QIODeviceC2Ev() {} ; void _ZN9QIODeviceD0Ev() {} ; void _ZN9QIODeviceD1Ev() {} ; void _ZN9QIODeviceD2Ev() {} ; void _ZN9QInternal12callFunctionENS_16InternalFunctionEPPv() {} ; void _ZN9QInternal16registerCallbackENS_8CallbackEPFbPPvE() {} ; void _ZN9QInternal17activateCallbacksENS_8CallbackEPPv() {} ; void _ZN9QInternal18unregisterCallbackENS_8CallbackEPFbPPvE() {} ; void _ZN9QListData4moveEii() {} ; void _ZN9QListData5eraseEPPv() {} ; void _ZN9QListData6appendERKS_() {} ; void _ZN9QListData6appendEv() {} ; void _ZN9QListData6detachEv() {} ; void _ZN9QListData6insertEi() {} ; void _ZN9QListData6removeEi() {} ; void _ZN9QListData6removeEii() {} ; void _ZN9QListData7prependEv() {} ; void _ZN9QListData7reallocEi() {} ; void _ZN9QMetaType12isRegisteredEi() {} ; void _ZN9QMetaType12registerTypeEPKcPFvPvEPFS2_PKvE() {} ; void _ZN9QMetaType23registerStreamOperatorsEPKcPFvR11QDataStreamPKvEPFvS3_PvE() {} ; void _ZN9QMetaType4loadER11QDataStreamiPv() {} ; void _ZN9QMetaType4saveER11QDataStreamiPKv() {} ; void _ZN9QMetaType4typeEPKc() {} ; void _ZN9QMetaType7destroyEiPv() {} ; void _ZN9QMetaType8typeNameEi() {} ; void _ZN9QMetaType9constructEiPKv() {} ; void _ZN9QMimeData11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN9QMimeData11qt_metacastEPKc() {} ; void _ZN9QMimeData12setColorDataERK8QVariant() {} ; void _ZN9QMimeData12setImageDataERK8QVariant() {} ; void _ZN9QMimeData5clearEv() {} ; void _ZN9QMimeData7setDataERK7QStringRK10QByteArray() {} ; void _ZN9QMimeData7setHtmlERK7QString() {} ; void _ZN9QMimeData7setTextERK7QString() {} ; void _ZN9QMimeData7setUrlsERK5QListI4QUrlE() {} ; void _ZN9QMimeDataC1Ev() {} ; void _ZN9QMimeDataC2Ev() {} ; void _ZN9QMimeDataD0Ev() {} ; void _ZN9QMimeDataD1Ev() {} ; void _ZN9QMimeDataD2Ev() {} ; void _ZN9QResource11searchPathsEv() {} ; void _ZN9QResource11setFileNameERK7QString() {} ; void _ZN9QResource13addSearchPathERK7QString() {} ; void _ZN9QResource16registerResourceERK7QStringS2_() {} ; void _ZN9QResource18unregisterResourceERK7QStringS2_() {} ; void _ZN9QResource9setLocaleERK7QLocale() {} ; void _ZN9QResourceC1ERK7QStringRK7QLocale() {} ; void _ZN9QResourceC2ERK7QStringRK7QLocale() {} ; void _ZN9QResourceD1Ev() {} ; void _ZN9QResourceD2Ev() {} ; void _ZN9QSettings10beginGroupERK7QString() {} ; void _ZN9QSettings11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN9QSettings11qt_metacastEPKc() {} ; void _ZN9QSettings13setArrayIndexEi() {} ; void _ZN9QSettings14beginReadArrayERK7QString() {} ; void _ZN9QSettings14registerFormatERK7QStringPFbR9QIODeviceR4QMapIS0_8QVariantEEPFbS4_RKS7_EN2Qt15CaseSensitivityE() {} ; void _ZN9QSettings14setUserIniPathERK7QString() {} ; void _ZN9QSettings15beginWriteArrayERK7QStringi() {} ; void _ZN9QSettings16setSystemIniPathERK7QString() {} ; void _ZN9QSettings19setFallbacksEnabledEb() {} ; void _ZN9QSettings4syncEv() {} ; void _ZN9QSettings5clearEv() {} ; void _ZN9QSettings5eventEP6QEvent() {} ; void _ZN9QSettings6removeERK7QString() {} ; void _ZN9QSettings7setPathENS_6FormatENS_5ScopeERK7QString() {} ; void _ZN9QSettings8endArrayEv() {} ; void _ZN9QSettings8endGroupEv() {} ; void _ZN9QSettings8setValueERK7QStringRK8QVariant() {} ; void _ZN9QSettingsC1ENS_5ScopeERK7QStringS3_P7QObject() {} ; void _ZN9QSettingsC1ENS_6FormatENS_5ScopeERK7QStringS4_P7QObject() {} ; void _ZN9QSettingsC1EP7QObject() {} ; void _ZN9QSettingsC1ERK7QStringNS_6FormatEP7QObject() {} ; void _ZN9QSettingsC1ERK7QStringS2_P7QObject() {} ; void _ZN9QSettingsC2ENS_5ScopeERK7QStringS3_P7QObject() {} ; void _ZN9QSettingsC2ENS_6FormatENS_5ScopeERK7QStringS4_P7QObject() {} ; void _ZN9QSettingsC2EP7QObject() {} ; void _ZN9QSettingsC2ERK7QStringNS_6FormatEP7QObject() {} ; void _ZN9QSettingsC2ERK7QStringS2_P7QObject() {} ; void _ZN9QSettingsD0Ev() {} ; void _ZN9QSettingsD1Ev() {} ; void _ZN9QSettingsD2Ev() {} ; void _ZN9QTimeLine10timerEventEP11QTimerEvent() {} ; void _ZN9QTimeLine11qt_metacallEN11QMetaObject4CallEiPPv() {} ; void _ZN9QTimeLine11qt_metacastEPKc() {} ; void _ZN9QTimeLine11setDurationEi() {} ; void _ZN9QTimeLine11setEndFrameEi() {} ; void _ZN9QTimeLine12frameChangedEi() {} ; void _ZN9QTimeLine12setDirectionENS_9DirectionE() {} ; void _ZN9QTimeLine12setLoopCountEi() {} ; void _ZN9QTimeLine12stateChangedENS_5StateE() {} ; void _ZN9QTimeLine12valueChangedEd() {} ; void _ZN9QTimeLine13setCurveShapeENS_10CurveShapeE() {} ; void _ZN9QTimeLine13setFrameRangeEii() {} ; void _ZN9QTimeLine13setStartFrameEi() {} ; void _ZN9QTimeLine14setCurrentTimeEi() {} ; void _ZN9QTimeLine15toggleDirectionEv() {} ; void _ZN9QTimeLine17setUpdateIntervalEi() {} ; void _ZN9QTimeLine4stopEv() {} ; void _ZN9QTimeLine5startEv() {} ; void _ZN9QTimeLine8finishedEv() {} ; void _ZN9QTimeLine9setPausedEb() {} ; void _ZN9QTimeLineC1EiP7QObject() {} ; void _ZN9QTimeLineC2EiP7QObject() {} ; void _ZN9QTimeLineD0Ev() {} ; void _ZN9QTimeLineD1Ev() {} ; void _ZN9QTimeLineD2Ev() {} ; void _ZN9QtPrivate16QStringList_joinEPK11QStringListRK7QString() {} ; void _ZN9QtPrivate16QStringList_sortEP11QStringList() {} ; void _ZN9QtPrivate18QStringList_filterEPK11QStringListRK7QRegExp() {} ; void _ZN9QtPrivate18QStringList_filterEPK11QStringListRK7QStringN2Qt15CaseSensitivityE() {} ; void _ZN9QtPrivate19QStringList_indexOfEPK11QStringListRK7QRegExpi() {} ; void _ZN9QtPrivate20QStringList_containsEPK11QStringListRK7QStringN2Qt15CaseSensitivityE() {} ; void _ZN9QtPrivate23QStringList_lastIndexOfEPK11QStringListRK7QRegExpi() {} ; void _ZN9QtPrivate28QStringList_replaceInStringsEP11QStringListRK7QRegExpRK7QString() {} ; void _ZN9QtPrivate28QStringList_replaceInStringsEP11QStringListRK7QStringS4_N2Qt15CaseSensitivityE() {} ; void _ZNK10QByteArray10simplifiedEv() {} ; void _ZNK10QByteArray10startsWithEPKc() {} ; void _ZNK10QByteArray10startsWithERKS_() {} ; void _ZNK10QByteArray10startsWithEc() {} ; void _ZNK10QByteArray10toLongLongEPbi() {} ; void _ZNK10QByteArray11lastIndexOfERKS_i() {} ; void _ZNK10QByteArray11lastIndexOfEci() {} ; void _ZNK10QByteArray11toULongLongEPbi() {} ; void _ZNK10QByteArray13leftJustifiedEicb() {} ; void _ZNK10QByteArray14rightJustifiedEicb() {} ; void _ZNK10QByteArray3midEii() {} ; void _ZNK10QByteArray4leftEi() {} ; void _ZNK10QByteArray5countEPKc() {} ; void _ZNK10QByteArray5countERKS_() {} ; void _ZNK10QByteArray5countEc() {} ; void _ZNK10QByteArray5rightEi() {} ; void _ZNK10QByteArray5splitEc() {} ; void _ZNK10QByteArray5toIntEPbi() {} ; void _ZNK10QByteArray6isNullEv() {} ; void _ZNK10QByteArray6toLongEPbi() {} ; void _ZNK10QByteArray6toUIntEPbi() {} ; void _ZNK10QByteArray7indexOfERKS_i() {} ; void _ZNK10QByteArray7indexOfEci() {} ; void _ZNK10QByteArray7toFloatEPb() {} ; void _ZNK10QByteArray7toLowerEv() {} ; void _ZNK10QByteArray7toShortEPbi() {} ; void _ZNK10QByteArray7toULongEPbi() {} ; void _ZNK10QByteArray7toUpperEv() {} ; void _ZNK10QByteArray7trimmedEv() {} ; void _ZNK10QByteArray8endsWithEPKc() {} ; void _ZNK10QByteArray8endsWithERKS_() {} ; void _ZNK10QByteArray8endsWithEc() {} ; void _ZNK10QByteArray8toBase64Ev() {} ; void _ZNK10QByteArray8toDoubleEPb() {} ; void _ZNK10QByteArray8toUShortEPbi() {} ; void _ZNK10QEventLoop10metaObjectEv() {} ; void _ZNK10QEventLoop9isRunningEv() {} ; void _ZNK10QSemaphore9availableEv() {} ; void _ZNK10QTextCodec11fromUnicodeERK7QString() {} ; void _ZNK10QTextCodec11fromUnicodeERK7QStringRi() {} ; void _ZNK10QTextCodec11makeDecoderEv() {} ; void _ZNK10QTextCodec11makeEncoderEv() {} ; void _ZNK10QTextCodec7aliasesEv() {} ; void _ZNK10QTextCodec9canEncodeE5QChar() {} ; void _ZNK10QTextCodec9canEncodeERK7QString() {} ; void _ZNK10QTextCodec9toUnicodeEPKc() {} ; void _ZNK10QTextCodec9toUnicodeERK10QByteArray() {} ; void _ZNK10QTextCodec9toUnicodeERK10QByteArrayi() {} ; void _ZNK11QDataStream5atEndEv() {} ; void _ZNK11QDataStream6statusEv() {} ; void _ZNK11QMetaMethod10attributesEv() {} ; void _ZNK11QMetaMethod10methodTypeEv() {} ; void _ZNK11QMetaMethod14parameterNamesEv() {} ; void _ZNK11QMetaMethod14parameterTypesEv() {} ; void _ZNK11QMetaMethod3tagEv() {} ; void _ZNK11QMetaMethod6accessEv() {} ; void _ZNK11QMetaMethod8typeNameEv() {} ; void _ZNK11QMetaMethod9signatureEv() {} ; void _ZNK11QMetaObject10enumeratorEi() {} ; void _ZNK11QMetaObject11indexOfSlotEPKc() {} ; void _ZNK11QMetaObject11methodCountEv() {} ; void _ZNK11QMetaObject12methodOffsetEv() {} ; void _ZNK11QMetaObject12userPropertyEv() {} ; void _ZNK11QMetaObject13indexOfMethodEPKc() {} ; void _ZNK11QMetaObject13indexOfSignalEPKc() {} ; void _ZNK11QMetaObject13propertyCountEv() {} ; void _ZNK11QMetaObject14classInfoCountEv() {} ; void _ZNK11QMetaObject14propertyOffsetEv() {} ; void _ZNK11QMetaObject15classInfoOffsetEv() {} ; void _ZNK11QMetaObject15enumeratorCountEv() {} ; void _ZNK11QMetaObject15indexOfPropertyEPKc() {} ; void _ZNK11QMetaObject16enumeratorOffsetEv() {} ; void _ZNK11QMetaObject16indexOfClassInfoEPKc() {} ; void _ZNK11QMetaObject17indexOfEnumeratorEPKc() {} ; void _ZNK11QMetaObject2trEPKcS1_() {} ; void _ZNK11QMetaObject2trEPKcS1_i() {} ; void _ZNK11QMetaObject4castEP7QObject() {} ; void _ZNK11QMetaObject6methodEi() {} ; void _ZNK11QMetaObject6trUtf8EPKcS1_() {} ; void _ZNK11QMetaObject6trUtf8EPKcS1_i() {} ; void _ZNK11QMetaObject8propertyEi() {} ; void _ZNK11QMetaObject9classInfoEi() {} ; void _ZNK11QTextStream10fieldWidthEv() {} ; void _ZNK11QTextStream11integerBaseEv() {} ; void _ZNK11QTextStream11numberFlagsEv() {} ; void _ZNK11QTextStream14fieldAlignmentEv() {} ; void _ZNK11QTextStream17autoDetectUnicodeEv() {} ; void _ZNK11QTextStream18realNumberNotationEv() {} ; void _ZNK11QTextStream19realNumberPrecisionEv() {} ; void _ZNK11QTextStream21generateByteOrderMarkEv() {} ; void _ZNK11QTextStream3posEv() {} ; void _ZNK11QTextStream5atEndEv() {} ; void _ZNK11QTextStream5codecEv() {} ; void _ZNK11QTextStream6deviceEv() {} ; void _ZNK11QTextStream6statusEv() {} ; void _ZNK11QTextStream6stringEv() {} ; void _ZNK11QTextStream7padCharEv() {} ; void _ZNK11QTranslator10metaObjectEv() {} ; void _ZNK11QTranslator7isEmptyEv() {} ; void _ZNK11QTranslator9translateEPKcS1_S1_() {} ; void _ZNK11QTranslator9translateEPKcS1_S1_i() {} ; void _ZNK13QFSFileEngine12isSequentialEv() {} ; void _ZNK13QFSFileEngine13caseSensitiveEv() {} ; void _ZNK13QFSFileEngine14isRelativePathEv() {} ; void _ZNK13QFSFileEngine17supportsExtensionEN19QAbstractFileEngine9ExtensionE() {} ; void _ZNK13QFSFileEngine3posEv() {} ; void _ZNK13QFSFileEngine4sizeEv() {} ; void _ZNK13QFSFileEngine5mkdirERK7QStringb() {} ; void _ZNK13QFSFileEngine5ownerEN19QAbstractFileEngine9FileOwnerE() {} ; void _ZNK13QFSFileEngine5rmdirERK7QStringb() {} ; void _ZNK13QFSFileEngine6handleEv() {} ; void _ZNK13QFSFileEngine7ownerIdEN19QAbstractFileEngine9FileOwnerE() {} ; void _ZNK13QFSFileEngine8fileNameEN19QAbstractFileEngine8FileNameE() {} ; void _ZNK13QFSFileEngine8fileTimeEN19QAbstractFileEngine8FileTimeE() {} ; void _ZNK13QFSFileEngine9entryListE6QFlagsIN4QDir6FilterEERK11QStringList() {} ; void _ZNK13QFSFileEngine9fileFlagsE6QFlagsIN19QAbstractFileEngine8FileFlagEE() {} ; void _ZNK13QMetaProperty10enumeratorEv() {} ; void _ZNK13QMetaProperty10isEditableEPK7QObject() {} ; void _ZNK13QMetaProperty10isEnumTypeEv() {} ; void _ZNK13QMetaProperty10isFlagTypeEv() {} ; void _ZNK13QMetaProperty10isReadableEv() {} ; void _ZNK13QMetaProperty10isWritableEv() {} ; void _ZNK13QMetaProperty12hasStdCppSetEv() {} ; void _ZNK13QMetaProperty12isDesignableEPK7QObject() {} ; void _ZNK13QMetaProperty12isResettableEv() {} ; void _ZNK13QMetaProperty12isScriptableEPK7QObject() {} ; void _ZNK13QMetaProperty4nameEv() {} ; void _ZNK13QMetaProperty4readEPK7QObject() {} ; void _ZNK13QMetaProperty4typeEv() {} ; void _ZNK13QMetaProperty5resetEP7QObject() {} ; void _ZNK13QMetaProperty5writeEP7QObjectRK8QVariant() {} ; void _ZNK13QMetaProperty6isUserEPK7QObject() {} ; void _ZNK13QMetaProperty8isStoredEPK7QObject() {} ; void _ZNK13QMetaProperty8typeNameEv() {} ; void _ZNK13QMetaProperty8userTypeEv() {} ; void _ZNK13QPluginLoader10metaObjectEv() {} ; void _ZNK13QPluginLoader11errorStringEv() {} ; void _ZNK13QPluginLoader8fileNameEv() {} ; void _ZNK13QPluginLoader8isLoadedEv() {} ; void _ZNK13QSignalMapper10metaObjectEv() {} ; void _ZNK13QSignalMapper7mappingEP7QObject() {} ; void _ZNK13QSignalMapper7mappingEP7QWidget() {} ; void _ZNK13QSignalMapper7mappingERK7QString() {} ; void _ZNK13QSignalMapper7mappingEi() {} ; void _ZNK13QSystemLocale14fallbackLocaleEv() {} ; void _ZNK13QSystemLocale5queryENS_9QueryTypeE8QVariant() {} ; void _ZNK14QMetaClassInfo4nameEv() {} ; void _ZNK14QMetaClassInfo5valueEv() {} ; void _ZNK14QStringMatcher7indexInERK7QStringi() {} ; void _ZNK14QTemporaryFile10autoRemoveEv() {} ; void _ZNK14QTemporaryFile10fileEngineEv() {} ; void _ZNK14QTemporaryFile10metaObjectEv() {} ; void _ZNK14QTemporaryFile12fileTemplateEv() {} ; void _ZNK14QTemporaryFile8fileNameEv() {} ; void _ZNK15QSocketNotifier10metaObjectEv() {} ; void _ZNK16QCoreApplication10metaObjectEv() {} ; void _ZNK16QTextCodecPlugin10metaObjectEv() {} ; void _ZNK16QTextCodecPlugin4keysEv() {} ; void _ZNK17QByteArrayMatcher7indexInERK10QByteArrayi() {} ; void _ZNK18QAbstractItemModel10encodeDataERK5QListI11QModelIndexER11QDataStream() {} ; void _ZNK18QAbstractItemModel10headerDataEiN2Qt11OrientationEi() {} ; void _ZNK18QAbstractItemModel10metaObjectEv() {} ; void _ZNK18QAbstractItemModel11hasChildrenERK11QModelIndex() {} ; void _ZNK18QAbstractItemModel12canFetchMoreERK11QModelIndex() {} ; void _ZNK18QAbstractItemModel19persistentIndexListEv() {} ; void _ZNK18QAbstractItemModel20supportedDragActionsEv() {} ; void _ZNK18QAbstractItemModel20supportedDropActionsEv() {} ; void _ZNK18QAbstractItemModel4spanERK11QModelIndex() {} ; void _ZNK18QAbstractItemModel5buddyERK11QModelIndex() {} ; void _ZNK18QAbstractItemModel5flagsERK11QModelIndex() {} ; void _ZNK18QAbstractItemModel5matchERK11QModelIndexiRK8QVarianti6QFlagsIN2Qt9MatchFlagEE() {} ; void _ZNK18QAbstractItemModel8hasIndexEiiRK11QModelIndex() {} ; void _ZNK18QAbstractItemModel8itemDataERK11QModelIndex() {} ; void _ZNK18QAbstractItemModel8mimeDataERK5QListI11QModelIndexE() {} ; void _ZNK18QAbstractItemModel9mimeTypesEv() {} ; void _ZNK18QAbstractListModel10metaObjectEv() {} ; void _ZNK18QAbstractListModel11columnCountERK11QModelIndex() {} ; void _ZNK18QAbstractListModel11hasChildrenERK11QModelIndex() {} ; void _ZNK18QAbstractListModel5indexEiiRK11QModelIndex() {} ; void _ZNK18QAbstractListModel6parentERK11QModelIndex() {} ; void _ZNK18QFileSystemWatcher10metaObjectEv() {} ; void _ZNK18QFileSystemWatcher11directoriesEv() {} ; void _ZNK18QFileSystemWatcher5filesEv() {} ; void _ZNK18QThreadStorageData3getEv() {} ; void _ZNK19QAbstractFileEngine11errorStringEv() {} ; void _ZNK19QAbstractFileEngine12isSequentialEv() {} ; void _ZNK19QAbstractFileEngine13caseSensitiveEv() {} ; void _ZNK19QAbstractFileEngine14isRelativePathEv() {} ; void _ZNK19QAbstractFileEngine17supportsExtensionENS_9ExtensionE() {} ; void _ZNK19QAbstractFileEngine3posEv() {} ; void _ZNK19QAbstractFileEngine4sizeEv() {} ; void _ZNK19QAbstractFileEngine5errorEv() {} ; void _ZNK19QAbstractFileEngine5mkdirERK7QStringb() {} ; void _ZNK19QAbstractFileEngine5ownerENS_9FileOwnerE() {} ; void _ZNK19QAbstractFileEngine5rmdirERK7QStringb() {} ; void _ZNK19QAbstractFileEngine6handleEv() {} ; void _ZNK19QAbstractFileEngine7ownerIdENS_9FileOwnerE() {} ; void _ZNK19QAbstractFileEngine8fileNameENS_8FileNameE() {} ; void _ZNK19QAbstractFileEngine8fileTimeENS_8FileTimeE() {} ; void _ZNK19QAbstractFileEngine9entryListE6QFlagsIN4QDir6FilterEERK11QStringList() {} ; void _ZNK19QAbstractFileEngine9fileFlagsE6QFlagsINS_8FileFlagEE() {} ; void _ZNK19QAbstractTableModel10metaObjectEv() {} ; void _ZNK19QAbstractTableModel11hasChildrenERK11QModelIndex() {} ; void _ZNK19QAbstractTableModel5indexEiiRK11QModelIndex() {} ; void _ZNK19QAbstractTableModel6parentERK11QModelIndex() {} ; void _ZNK21QObjectCleanupHandler10metaObjectEv() {} ; void _ZNK21QObjectCleanupHandler7isEmptyEv() {} ; void _ZNK21QPersistentModelIndex10internalIdEv() {} ; void _ZNK21QPersistentModelIndex15internalPointerEv() {} ; void _ZNK21QPersistentModelIndex3rowEv() {} ; void _ZNK21QPersistentModelIndex4dataEi() {} ; void _ZNK21QPersistentModelIndex5childEii() {} ; void _ZNK21QPersistentModelIndex5flagsEv() {} ; void _ZNK21QPersistentModelIndex5modelEv() {} ; void _ZNK21QPersistentModelIndex6columnEv() {} ; void _ZNK21QPersistentModelIndex6parentEv() {} ; void _ZNK21QPersistentModelIndex7isValidEv() {} ; void _ZNK21QPersistentModelIndex7siblingEii() {} ; void _ZNK21QPersistentModelIndexcvRK11QModelIndexEv() {} ; void _ZNK21QPersistentModelIndexeqERK11QModelIndex() {} ; void _ZNK21QPersistentModelIndexeqERKS_() {} ; void _ZNK21QPersistentModelIndexltERKS_() {} ; void _ZNK21QPersistentModelIndexneERK11QModelIndex() {} ; void _ZNK24QAbstractEventDispatcher10metaObjectEv() {} ; void _ZNK4QDir10isReadableEv() {} ; void _ZNK4QDir10isRelativeEv() {} ; void _ZNK4QDir10nameFilterEv() {} ; void _ZNK4QDir11nameFiltersEv() {} ; void _ZNK4QDir12absolutePathEv() {} ; void _ZNK4QDir12matchAllDirsEv() {} ; void _ZNK4QDir13canonicalPathEv() {} ; void _ZNK4QDir13entryInfoListE6QFlagsINS_6FilterEES0_INS_8SortFlagEE() {} ; void _ZNK4QDir13entryInfoListERK11QStringList6QFlagsINS_6FilterEES3_INS_8SortFlagEE() {} ; void _ZNK4QDir16absoluteFilePathERK7QString() {} ; void _ZNK4QDir16relativeFilePathERK7QString() {} ; void _ZNK4QDir4pathEv() {} ; void _ZNK4QDir5countEv() {} ; void _ZNK4QDir5mkdirERK7QString() {} ; void _ZNK4QDir5rmdirERK7QString() {} ; void _ZNK4QDir6existsERK7QString() {} ; void _ZNK4QDir6existsEv() {} ; void _ZNK4QDir6filterEv() {} ; void _ZNK4QDir6isRootEv() {} ; void _ZNK4QDir6mkpathERK7QString() {} ; void _ZNK4QDir6rmpathERK7QString() {} ; void _ZNK4QDir7dirNameEv() {} ; void _ZNK4QDir7refreshEv() {} ; void _ZNK4QDir7sortingEv() {} ; void _ZNK4QDir8filePathERK7QString() {} ; void _ZNK4QDir9entryListE6QFlagsINS_6FilterEES0_INS_8SortFlagEE() {} ; void _ZNK4QDir9entryListERK11QStringList6QFlagsINS_6FilterEES3_INS_8SortFlagEE() {} ; void _ZNK4QDireqERKS_() {} ; void _ZNK4QDirixEi() {} ; void _ZNK4QUrl10isDetachedEv() {} ; void _ZNK4QUrl10isParentOfERKS_() {} ; void _ZNK4QUrl10isRelativeEv() {} ; void _ZNK4QUrl10queryItemsEv() {} ; void _ZNK4QUrl11errorStringEv() {} ; void _ZNK4QUrl11hasFragmentEv() {} ; void _ZNK4QUrl11toLocalFileEv() {} ; void _ZNK4QUrl12encodedQueryEv() {} ; void _ZNK4QUrl12hasQueryItemERK7QString() {} ; void _ZNK4QUrl14queryItemValueERK7QString() {} ; void _ZNK4QUrl18allQueryItemValuesERK7QString() {} ; void _ZNK4QUrl18queryPairDelimiterEv() {} ; void _ZNK4QUrl19queryValueDelimiterEv() {} ; void _ZNK4QUrl4hostEv() {} ; void _ZNK4QUrl4pathEv() {} ; void _ZNK4QUrl4portEi() {} ; void _ZNK4QUrl4portEv() {} ; void _ZNK4QUrl6schemeEv() {} ; void _ZNK4QUrl7dirPathEv() {} ; void _ZNK4QUrl7isEmptyEv() {} ; void _ZNK4QUrl7isValidEv() {} ; void _ZNK4QUrl8fileNameEv() {} ; void _ZNK4QUrl8fragmentEv() {} ; void _ZNK4QUrl8hasQueryEv() {} ; void _ZNK4QUrl8passwordEv() {} ; void _ZNK4QUrl8resolvedERKS_() {} ; void _ZNK4QUrl8toStringE6QFlagsINS_16FormattingOptionEE() {} ; void _ZNK4QUrl8userInfoEv() {} ; void _ZNK4QUrl8userNameEv() {} ; void _ZNK4QUrl9authorityEv() {} ; void _ZNK4QUrl9toEncodedE6QFlagsINS_16FormattingOptionEE() {} ; void _ZNK4QUrleqERKS_() {} ; void _ZNK4QUrlltERKS_() {} ; void _ZNK4QUrlneERKS_() {} ; void _ZNK5QChar10digitValueEv() {} ; void _ZNK5QChar11hasMirroredEv() {} ; void _ZNK5QChar12mirroredCharEv() {} ; void _ZNK5QChar13decompositionEv() {} ; void _ZNK5QChar14combiningClassEv() {} ; void _ZNK5QChar14unicodeVersionEv() {} ; void _ZNK5QChar16decompositionTagEv() {} ; void _ZNK5QChar16isLetterOrNumberEv() {} ; void _ZNK5QChar6isMarkEv() {} ; void _ZNK5QChar7isDigitEv() {} ; void _ZNK5QChar7isPrintEv() {} ; void _ZNK5QChar7isPunctEv() {} ; void _ZNK5QChar7isSpaceEv() {} ; void _ZNK5QChar7joiningEv() {} ; void _ZNK5QChar7toAsciiEv() {} ; void _ZNK5QChar7toLowerEv() {} ; void _ZNK5QChar7toUpperEv() {} ; void _ZNK5QChar8categoryEv() {} ; void _ZNK5QChar8isLetterEv() {} ; void _ZNK5QChar8isNumberEv() {} ; void _ZNK5QChar8isSymbolEv() {} ; void _ZNK5QChar9directionEv() {} ; void _ZNK5QDate10daysInYearEv() {} ; void _ZNK5QDate10weekNumberEPi() {} ; void _ZNK5QDate11daysInMonthEv() {} ; void _ZNK5QDate3dayEv() {} ; void _ZNK5QDate4yearEv() {} ; void _ZNK5QDate5monthEv() {} ; void _ZNK5QDate6daysToERKS_() {} ; void _ZNK5QDate7addDaysEi() {} ; void _ZNK5QDate7isValidEv() {} ; void _ZNK5QDate8addYearsEi() {} ; void _ZNK5QDate8toStringEN2Qt10DateFormatE() {} ; void _ZNK5QDate8toStringERK7QString() {} ; void _ZNK5QDate9addMonthsEi() {} ; void _ZNK5QDate9dayOfWeekEv() {} ; void _ZNK5QDate9dayOfYearEv() {} ; void _ZNK5QFile10fileEngineEv() {} ; void _ZNK5QFile10metaObjectEv() {} ; void _ZNK5QFile11permissionsEv() {} ; void _ZNK5QFile12isSequentialEv() {} ; void _ZNK5QFile3posEv() {} ; void _ZNK5QFile4sizeEv() {} ; void _ZNK5QFile5atEndEv() {} ; void _ZNK5QFile5errorEv() {} ; void _ZNK5QFile6existsEv() {} ; void _ZNK5QFile6handleEv() {} ; void _ZNK5QFile8fileNameEv() {} ; void _ZNK5QFile8readLinkEv() {} ; void _ZNK5QRect10intersectsERKS_() {} ; void _ZNK5QRect10normalizedEv() {} ; void _ZNK5QRect8containsERK6QPointb() {} ; void _ZNK5QRect8containsERKS_b() {} ; void _ZNK5QRectanERKS_() {} ; void _ZNK5QRectorERKS_() {} ; void _ZNK5QTime4hourEv() {} ; void _ZNK5QTime4msecEv() {} ; void _ZNK5QTime6minuteEv() {} ; void _ZNK5QTime6secondEv() {} ; void _ZNK5QTime6secsToERKS_() {} ; void _ZNK5QTime7addSecsEi() {} ; void _ZNK5QTime7elapsedEv() {} ; void _ZNK5QTime7isValidEv() {} ; void _ZNK5QTime7msecsToERKS_() {} ; void _ZNK5QTime8addMSecsEi() {} ; void _ZNK5QTime8toStringEN2Qt10DateFormatE() {} ; void _ZNK5QTime8toStringERK7QString() {} ; void _ZNK5QUuid6isNullEv() {} ; void _ZNK5QUuid7variantEv() {} ; void _ZNK5QUuid7versionEv() {} ; void _ZNK5QUuid8toStringEv() {} ; void _ZNK5QUuidgtERKS_() {} ; void _ZNK5QUuidltERKS_() {} ; void _ZNK6QLineF10unitVectorEv() {} ; void _ZNK6QLineF5angleERKS_() {} ; void _ZNK6QLineF6isNullEv() {} ; void _ZNK6QLineF6lengthEv() {} ; void _ZNK6QLineF9intersectERKS_P7QPointF() {} ; void _ZNK6QPoint15manhattanLengthEv() {} ; void _ZNK6QRectF10intersectsERKS_() {} ; void _ZNK6QRectF10normalizedEv() {} ; void _ZNK6QRectF8containsERK7QPointF() {} ; void _ZNK6QRectF8containsERKS_() {} ; void _ZNK6QRectFanERKS_() {} ; void _ZNK6QRectForERKS_() {} ; void _ZNK6QTimer10metaObjectEv() {} ; void _ZNK7QBuffer10metaObjectEv() {} ; void _ZNK7QBuffer11canReadLineEv() {} ; void _ZNK7QBuffer3posEv() {} ; void _ZNK7QBuffer4dataEv() {} ; void _ZNK7QBuffer4sizeEv() {} ; void _ZNK7QBuffer5atEndEv() {} ; void _ZNK7QBuffer6bufferEv() {} ; void _ZNK7QLocale10dateFormatENS_10FormatTypeE() {} ; void _ZNK7QLocale10timeFormatENS_10FormatTypeE() {} ; void _ZNK7QLocale10toLongLongERK7QStringPbi() {} ; void _ZNK7QLocale11exponentialEv() {} ; void _ZNK7QLocale11toULongLongERK7QStringPbi() {} ; void _ZNK7QLocale12decimalPointEv() {} ; void _ZNK7QLocale12negativeSignEv() {} ; void _ZNK7QLocale13numberOptionsEv() {} ; void _ZNK7QLocale14groupSeparatorEv() {} ; void _ZNK7QLocale4nameEv() {} ; void _ZNK7QLocale5toIntERK7QStringPbi() {} ; void _ZNK7QLocale6toUIntERK7QStringPbi() {} ; void _ZNK7QLocale7countryEv() {} ; void _ZNK7QLocale7dayNameEiNS_10FormatTypeE() {} ; void _ZNK7QLocale7percentEv() {} ; void _ZNK7QLocale7toFloatERK7QStringPb() {} ; void _ZNK7QLocale7toShortERK7QStringPbi() {} ; void _ZNK7QLocale8languageEv() {} ; void _ZNK7QLocale8toDoubleERK7QStringPb() {} ; void _ZNK7QLocale8toStringERK5QDateNS_10FormatTypeE() {} ; void _ZNK7QLocale8toStringERK5QDateRK7QString() {} ; void _ZNK7QLocale8toStringERK5QTimeNS_10FormatTypeE() {} ; void _ZNK7QLocale8toStringERK5QTimeRK7QString() {} ; void _ZNK7QLocale8toStringEdci() {} ; void _ZNK7QLocale8toStringEx() {} ; void _ZNK7QLocale8toStringEy() {} ; void _ZNK7QLocale8toUShortERK7QStringPbi() {} ; void _ZNK7QLocale9monthNameEiNS_10FormatTypeE() {} ; void _ZNK7QLocale9zeroDigitEv() {} ; void _ZNK7QObject10metaObjectEv() {} ; void _ZNK7QObject10objectNameEv() {} ; void _ZNK7QObject20dynamicPropertyNamesEv() {} ; void _ZNK7QObject5childEPKcS1_b() {} ; void _ZNK7QObject6senderEv() {} ; void _ZNK7QObject6threadEv() {} ; void _ZNK7QObject8propertyEPKc() {} ; void _ZNK7QObject8userDataEj() {} ; void _ZNK7QObject9queryListEPKcS1_bb() {} ; void _ZNK7QObject9receiversEPKc() {} ; void _ZNK7QRegExp10exactMatchERK7QString() {} ; void _ZNK7QRegExp11lastIndexInERK7QStringiNS_9CaretModeE() {} ; void _ZNK7QRegExp11numCapturesEv() {} ; void _ZNK7QRegExp13matchedLengthEv() {} ; void _ZNK7QRegExp13patternSyntaxEv() {} ; void _ZNK7QRegExp15caseSensitivityEv() {} ; void _ZNK7QRegExp7indexInERK7QStringiNS_9CaretModeE() {} ; void _ZNK7QRegExp7isEmptyEv() {} ; void _ZNK7QRegExp7isValidEv() {} ; void _ZNK7QRegExp7patternEv() {} ; void _ZNK7QRegExp9isMinimalEv() {} ; void _ZNK7QRegExpeqERKS_() {} ; void _ZNK7QString10normalizedENS_17NormalizationFormE() {} ; void _ZNK7QString10normalizedENS_17NormalizationFormEN5QChar14UnicodeVersionE() {} ; void _ZNK7QString10simplifiedEv() {} ; void _ZNK7QString10startsWithERK13QLatin1StringN2Qt15CaseSensitivityE() {} ; void _ZNK7QString10startsWithERK5QCharN2Qt15CaseSensitivityE() {} ; void _ZNK7QString10startsWithERKS_N2Qt15CaseSensitivityE() {} ; void _ZNK7QString10toLongLongEPbi() {} ; void _ZNK7QString11lastIndexOfE5QChariN2Qt15CaseSensitivityE() {} ; void _ZNK7QString11lastIndexOfERK7QRegExpi() {} ; void _ZNK7QString11lastIndexOfERKS_iN2Qt15CaseSensitivityE() {} ; void _ZNK7QString11toLocal8BitEv() {} ; void _ZNK7QString11toULongLongEPbi() {} ; void _ZNK7QString12ascii_helperEv() {} ; void _ZNK7QString12toWCharArrayEPw() {} ; void _ZNK7QString13latin1_helperEv() {} ; void _ZNK7QString13leftJustifiedEi5QCharb() {} ; void _ZNK7QString14rightJustifiedEi5QCharb() {} ; void _ZNK7QString18localeAwareCompareERKS_() {} ; void _ZNK7QString3argE5QChariRKS0_() {} ; void _ZNK7QString3argERKS_iRK5QChar() {} ; void _ZNK7QString3argEciRK5QChar() {} ; void _ZNK7QString3argEdiciRK5QChar() {} ; void _ZNK7QString3argExiiRK5QChar() {} ; void _ZNK7QString3argEyiiRK5QChar() {} ; void _ZNK7QString3midEii() {} ; void _ZNK7QString4leftEi() {} ; void _ZNK7QString5countE5QCharN2Qt15CaseSensitivityE() {} ; void _ZNK7QString5countERK7QRegExp() {} ; void _ZNK7QString5countERKS_N2Qt15CaseSensitivityE() {} ; void _ZNK7QString5rightEi() {} ; void _ZNK7QString5splitERK5QCharNS_13SplitBehaviorEN2Qt15CaseSensitivityE() {} ; void _ZNK7QString5splitERK7QRegExpNS_13SplitBehaviorE() {} ; void _ZNK7QString5splitERKS_NS_13SplitBehaviorEN2Qt15CaseSensitivityE() {} ; void _ZNK7QString5toIntEPbi() {} ; void _ZNK7QString5utf16Ev() {} ; void _ZNK7QString6toLongEPbi() {} ; void _ZNK7QString6toUIntEPbi() {} ; void _ZNK7QString6toUcs4Ev() {} ; void _ZNK7QString6toUtf8Ev() {} ; void _ZNK7QString7compareERK13QLatin1StringN2Qt15CaseSensitivityE() {} ; void _ZNK7QString7compareERKS_() {} ; void _ZNK7QString7compareERKS_N2Qt15CaseSensitivityE() {} ; void _ZNK7QString7indexOfE5QChariN2Qt15CaseSensitivityE() {} ; void _ZNK7QString7indexOfERK7QRegExpi() {} ; void _ZNK7QString7indexOfERKS_iN2Qt15CaseSensitivityE() {} ; void _ZNK7QString7sectionERK7QRegExpii6QFlagsINS_11SectionFlagEE() {} ; void _ZNK7QString7sectionERKS_ii6QFlagsINS_11SectionFlagEE() {} ; void _ZNK7QString7toAsciiEv() {} ; void _ZNK7QString7toFloatEPb() {} ; void _ZNK7QString7toLowerEv() {} ; void _ZNK7QString7toShortEPbi() {} ; void _ZNK7QString7toULongEPbi() {} ; void _ZNK7QString7toUpperEv() {} ; void _ZNK7QString7trimmedEv() {} ; void _ZNK7QString8endsWithERK13QLatin1StringN2Qt15CaseSensitivityE() {} ; void _ZNK7QString8endsWithERK5QCharN2Qt15CaseSensitivityE() {} ; void _ZNK7QString8endsWithERKS_N2Qt15CaseSensitivityE() {} ; void _ZNK7QString8multiArgEiPPKS_() {} ; void _ZNK7QString8toDoubleEPb() {} ; void _ZNK7QString8toLatin1Ev() {} ; void _ZNK7QString8toUShortEPbi() {} ; void _ZNK7QStringeqERK13QLatin1String() {} ; void _ZNK7QStringeqERKS_() {} ; void _ZNK7QStringgtERK13QLatin1String() {} ; void _ZNK7QStringltERK13QLatin1String() {} ; void _ZNK7QStringltERKS_() {} ; void _ZNK7QThread10isFinishedEv() {} ; void _ZNK7QThread10metaObjectEv() {} ; void _ZNK7QThread8priorityEv() {} ; void _ZNK7QThread9isRunningEv() {} ; void _ZNK7QThread9stackSizeEv() {} ; void _ZNK8QLibrary10metaObjectEv() {} ; void _ZNK8QLibrary11errorStringEv() {} ; void _ZNK8QLibrary8fileNameEv() {} ; void _ZNK8QLibrary8isLoadedEv() {} ; void _ZNK8QLibrary9loadHintsEv() {} ; void _ZNK8QProcess10exitStatusEv() {} ; void _ZNK8QProcess10metaObjectEv() {} ; void _ZNK8QProcess11canReadLineEv() {} ; void _ZNK8QProcess11environmentEv() {} ; void _ZNK8QProcess11readChannelEv() {} ; void _ZNK8QProcess12bytesToWriteEv() {} ; void _ZNK8QProcess12isSequentialEv() {} ; void _ZNK8QProcess14bytesAvailableEv() {} ; void _ZNK8QProcess15readChannelModeEv() {} ; void _ZNK8QProcess16workingDirectoryEv() {} ; void _ZNK8QProcess18processChannelModeEv() {} ; void _ZNK8QProcess3pidEv() {} ; void _ZNK8QProcess5atEndEv() {} ; void _ZNK8QProcess5errorEv() {} ; void _ZNK8QProcess5stateEv() {} ; void _ZNK8QProcess8exitCodeEv() {} ; void _ZNK8QVariant10canConvertENS_4TypeE() {} ; void _ZNK8QVariant10toBitArrayEv() {} ; void _ZNK8QVariant10toDateTimeEv() {} ; void _ZNK8QVariant10toLongLongEPb() {} ; void _ZNK8QVariant11toByteArrayEv() {} ; void _ZNK8QVariant11toULongLongEPb() {} ; void _ZNK8QVariant12toStringListEv() {} ; void _ZNK8QVariant3cmpERKS_() {} ; void _ZNK8QVariant4saveER11QDataStream() {} ; void _ZNK8QVariant4typeEv() {} ; void _ZNK8QVariant5toIntEPb() {} ; void _ZNK8QVariant5toMapEv() {} ; void _ZNK8QVariant5toUrlEv() {} ; void _ZNK8QVariant6isNullEv() {} ; void _ZNK8QVariant6toBoolEv() {} ; void _ZNK8QVariant6toCharEv() {} ; void _ZNK8QVariant6toDateEv() {} ; void _ZNK8QVariant6toLineEv() {} ; void _ZNK8QVariant6toListEv() {} ; void _ZNK8QVariant6toRectEv() {} ; void _ZNK8QVariant6toSizeEv() {} ; void _ZNK8QVariant6toTimeEv() {} ; void _ZNK8QVariant6toUIntEPb() {} ; void _ZNK8QVariant7toLineFEv() {} ; void _ZNK8QVariant7toPointEv() {} ; void _ZNK8QVariant7toRectFEv() {} ; void _ZNK8QVariant7toSizeFEv() {} ; void _ZNK8QVariant8toDoubleEPb() {} ; void _ZNK8QVariant8toLocaleEv() {} ; void _ZNK8QVariant8toPointFEv() {} ; void _ZNK8QVariant8toRegExpEv() {} ; void _ZNK8QVariant8toStringEv() {} ; void _ZNK8QVariant8typeNameEv() {} ; void _ZNK8QVariant8userTypeEv() {} ; void _ZNK8QVariant9constDataEv() {} ; void _ZNK9QBitArray5countEb() {} ; void _ZNK9QBitArraycoEv() {} ; void _ZNK9QDateTime10toTimeSpecEN2Qt8TimeSpecE() {} ; void _ZNK9QDateTime4dateEv() {} ; void _ZNK9QDateTime4timeEv() {} ; void _ZNK9QDateTime6daysToERKS_() {} ; void _ZNK9QDateTime6isNullEv() {} ; void _ZNK9QDateTime6secsToERKS_() {} ; void _ZNK9QDateTime7addDaysEi() {} ; void _ZNK9QDateTime7addSecsEi() {} ; void _ZNK9QDateTime7isValidEv() {} ; void _ZNK9QDateTime8addMSecsEx() {} ; void _ZNK9QDateTime8addYearsEi() {} ; void _ZNK9QDateTime8timeSpecEv() {} ; void _ZNK9QDateTime8toStringEN2Qt10DateFormatE() {} ; void _ZNK9QDateTime8toStringERK7QString() {} ; void _ZNK9QDateTime8toTime_tEv() {} ; void _ZNK9QDateTime9addMonthsEi() {} ; void _ZNK9QDateTimeeqERKS_() {} ; void _ZNK9QDateTimeltERKS_() {} ; void _ZNK9QFileInfo10isReadableEv() {} ; void _ZNK9QFileInfo10isRelativeEv() {} ; void _ZNK9QFileInfo10isWritableEv() {} ; void _ZNK9QFileInfo10permissionE6QFlagsIN5QFile10PermissionEE() {} ; void _ZNK9QFileInfo11absoluteDirEv() {} ; void _ZNK9QFileInfo11permissionsEv() {} ; void _ZNK9QFileInfo12absolutePathEv() {} ; void _ZNK9QFileInfo12isExecutableEv() {} ; void _ZNK9QFileInfo12lastModifiedEv() {} ; void _ZNK9QFileInfo13canonicalPathEv() {} ; void _ZNK9QFileInfo14completeSuffixEv() {} ; void _ZNK9QFileInfo16absoluteFilePathEv() {} ; void _ZNK9QFileInfo16completeBaseNameEv() {} ; void _ZNK9QFileInfo17canonicalFilePathEv() {} ; void _ZNK9QFileInfo3dirEb() {} ; void _ZNK9QFileInfo3dirEv() {} ; void _ZNK9QFileInfo4pathEv() {} ; void _ZNK9QFileInfo4sizeEv() {} ; void _ZNK9QFileInfo5groupEv() {} ; void _ZNK9QFileInfo5isDirEv() {} ; void _ZNK9QFileInfo5ownerEv() {} ; void _ZNK9QFileInfo6existsEv() {} ; void _ZNK9QFileInfo6isFileEv() {} ; void _ZNK9QFileInfo6isRootEv() {} ; void _ZNK9QFileInfo6suffixEv() {} ; void _ZNK9QFileInfo7cachingEv() {} ; void _ZNK9QFileInfo7createdEv() {} ; void _ZNK9QFileInfo7groupIdEv() {} ; void _ZNK9QFileInfo7ownerIdEv() {} ; void _ZNK9QFileInfo8baseNameEv() {} ; void _ZNK9QFileInfo8fileNameEv() {} ; void _ZNK9QFileInfo8filePathEv() {} ; void _ZNK9QFileInfo8isHiddenEv() {} ; void _ZNK9QFileInfo8lastReadEv() {} ; void _ZNK9QFileInfo8readLinkEv() {} ; void _ZNK9QFileInfo9isSymLinkEv() {} ; void _ZNK9QFileInfoeqERKS_() {} ; void _ZNK9QIODevice10isReadableEv() {} ; void _ZNK9QIODevice10isWritableEv() {} ; void _ZNK9QIODevice10metaObjectEv() {} ; void _ZNK9QIODevice11canReadLineEv() {} ; void _ZNK9QIODevice11errorStringEv() {} ; void _ZNK9QIODevice12bytesToWriteEv() {} ; void _ZNK9QIODevice12isSequentialEv() {} ; void _ZNK9QIODevice14bytesAvailableEv() {} ; void _ZNK9QIODevice17isTextModeEnabledEv() {} ; void _ZNK9QIODevice3posEv() {} ; void _ZNK9QIODevice4sizeEv() {} ; void _ZNK9QIODevice5atEndEv() {} ; void _ZNK9QIODevice6isOpenEv() {} ; void _ZNK9QIODevice6statusEv() {} ; void _ZNK9QIODevice8openModeEv() {} ; void _ZNK9QMetaEnum10keyToValueEPKc() {} ; void _ZNK9QMetaEnum10valueToKeyEi() {} ; void _ZNK9QMetaEnum11keysToValueEPKc() {} ; void _ZNK9QMetaEnum11valueToKeysEi() {} ; void _ZNK9QMetaEnum3keyEi() {} ; void _ZNK9QMetaEnum4nameEv() {} ; void _ZNK9QMetaEnum5scopeEv() {} ; void _ZNK9QMetaEnum5valueEi() {} ; void _ZNK9QMetaEnum6isFlagEv() {} ; void _ZNK9QMetaEnum8keyCountEv() {} ; void _ZNK9QMimeData10metaObjectEv() {} ; void _ZNK9QMimeData12retrieveDataERK7QStringN8QVariant4TypeE() {} ; void _ZNK9QMimeData4dataERK7QString() {} ; void _ZNK9QMimeData4htmlEv() {} ; void _ZNK9QMimeData4textEv() {} ; void _ZNK9QMimeData4urlsEv() {} ; void _ZNK9QMimeData7formatsEv() {} ; void _ZNK9QMimeData7hasHtmlEv() {} ; void _ZNK9QMimeData7hasTextEv() {} ; void _ZNK9QMimeData7hasUrlsEv() {} ; void _ZNK9QMimeData8hasColorEv() {} ; void _ZNK9QMimeData8hasImageEv() {} ; void _ZNK9QMimeData9colorDataEv() {} ; void _ZNK9QMimeData9hasFormatERK7QString() {} ; void _ZNK9QMimeData9imageDataEv() {} ; void _ZNK9QResource12isCompressedEv() {} ; void _ZNK9QResource16absoluteFilePathEv() {} ; void _ZNK9QResource4dataEv() {} ; void _ZNK9QResource4sizeEv() {} ; void _ZNK9QResource5isDirEv() {} ; void _ZNK9QResource6localeEv() {} ; void _ZNK9QResource7isValidEv() {} ; void _ZNK9QResource8childrenEv() {} ; void _ZNK9QResource8fileNameEv() {} ; void _ZNK9QSettings10isWritableEv() {} ; void _ZNK9QSettings10metaObjectEv() {} ; void _ZNK9QSettings11childGroupsEv() {} ; void _ZNK9QSettings16fallbacksEnabledEv() {} ; void _ZNK9QSettings5groupEv() {} ; void _ZNK9QSettings5valueERK7QStringRK8QVariant() {} ; void _ZNK9QSettings6statusEv() {} ; void _ZNK9QSettings7allKeysEv() {} ; void _ZNK9QSettings8containsERK7QString() {} ; void _ZNK9QSettings8fileNameEv() {} ; void _ZNK9QSettings9childKeysEv() {} ; void _ZNK9QTimeLine10curveShapeEv() {} ; void _ZNK9QTimeLine10metaObjectEv() {} ; void _ZNK9QTimeLine10startFrameEv() {} ; void _ZNK9QTimeLine11currentTimeEv() {} ; void _ZNK9QTimeLine12currentFrameEv() {} ; void _ZNK9QTimeLine12currentValueEv() {} ; void _ZNK9QTimeLine12frameForTimeEi() {} ; void _ZNK9QTimeLine12valueForTimeEi() {} ; void _ZNK9QTimeLine14updateIntervalEv() {} ; void _ZNK9QTimeLine5stateEv() {} ; void _ZNK9QTimeLine8durationEv() {} ; void _ZNK9QTimeLine8endFrameEv() {} ; void _ZNK9QTimeLine9directionEv() {} ; void _ZNK9QTimeLine9loopCountEv() {} ; void _ZThn16_N16QTextCodecPlugin6createERK7QString() {} ; void _ZThn16_N16QTextCodecPluginD0Ev() {} ; void _ZThn16_N16QTextCodecPluginD1Ev() {} ; void _ZThn16_NK16QTextCodecPlugin4keysEv() {} ; void _ZanRK9QBitArrayS1_() {} ; void _ZeoRK9QBitArrayS1_() {} ; void _Zls6QDebug6QFlagsIN9QIODevice12OpenModeFlagEE() {} ; void _Zls6QDebugN8QVariant4TypeE() {} ; void _Zls6QDebugPK7QObject() {} ; void _Zls6QDebugRK11QModelIndex() {} ; void _Zls6QDebugRK21QPersistentModelIndex() {} ; void _Zls6QDebugRK4QUrl() {} ; void _Zls6QDebugRK5QDate() {} ; void _Zls6QDebugRK5QLine() {} ; void _Zls6QDebugRK5QRect() {} ; void _Zls6QDebugRK5QSize() {} ; void _Zls6QDebugRK5QTime() {} ; void _Zls6QDebugRK6QLineF() {} ; void _Zls6QDebugRK6QPoint() {} ; void _Zls6QDebugRK6QRectF() {} ; void _Zls6QDebugRK6QSizeF() {} ; void _Zls6QDebugRK7QPointF() {} ; void _Zls6QDebugRK8QVariant() {} ; void _Zls6QDebugRK9QDateTime() {} ; void _ZlsR11QDataStreamN8QVariant4TypeE() {} ; void _ZlsR11QDataStreamRK10QByteArray() {} ; void _ZlsR11QDataStreamRK4QUrl() {} ; void _ZlsR11QDataStreamRK5QChar() {} ; void _ZlsR11QDataStreamRK5QDate() {} ; void _ZlsR11QDataStreamRK5QLine() {} ; void _ZlsR11QDataStreamRK5QRect() {} ; void _ZlsR11QDataStreamRK5QSize() {} ; void _ZlsR11QDataStreamRK5QTime() {} ; void _ZlsR11QDataStreamRK5QUuid() {} ; void _ZlsR11QDataStreamRK6QLineF() {} ; void _ZlsR11QDataStreamRK6QPoint() {} ; void _ZlsR11QDataStreamRK6QRectF() {} ; void _ZlsR11QDataStreamRK6QSizeF() {} ; void _ZlsR11QDataStreamRK7QLocale() {} ; void _ZlsR11QDataStreamRK7QPointF() {} ; void _ZlsR11QDataStreamRK7QRegExp() {} ; void _ZlsR11QDataStreamRK7QString() {} ; void _ZlsR11QDataStreamRK8QVariant() {} ; void _ZlsR11QDataStreamRK9QBitArray() {} ; void _ZlsR11QDataStreamRK9QDateTime() {} ; void _ZorRK9QBitArrayS1_() {} ; void _ZrsR11QDataStreamR10QByteArray() {} ; void _ZrsR11QDataStreamR4QUrl() {} ; void _ZrsR11QDataStreamR5QChar() {} ; void _ZrsR11QDataStreamR5QDate() {} ; void _ZrsR11QDataStreamR5QLine() {} ; void _ZrsR11QDataStreamR5QRect() {} ; void _ZrsR11QDataStreamR5QSize() {} ; void _ZrsR11QDataStreamR5QTime() {} ; void _ZrsR11QDataStreamR5QUuid() {} ; void _ZrsR11QDataStreamR6QLineF() {} ; void _ZrsR11QDataStreamR6QPoint() {} ; void _ZrsR11QDataStreamR6QRectF() {} ; void _ZrsR11QDataStreamR6QSizeF() {} ; void _ZrsR11QDataStreamR7QLocale() {} ; void _ZrsR11QDataStreamR7QPointF() {} ; void _ZrsR11QDataStreamR7QRegExp() {} ; void _ZrsR11QDataStreamR7QString() {} ; void _ZrsR11QDataStreamR8QVariant() {} ; void _ZrsR11QDataStreamR9QBitArray() {} ; void _ZrsR11QDataStreamR9QDateTime() {} ; void _ZrsR11QDataStreamRN8QVariant4TypeE() {} ; __asm__(".globl _ZN10QByteArray11shared_nullE; .pushsection .data; .type _ZN10QByteArray11shared_nullE,@object; .size _ZN10QByteArray11shared_nullE, 32; _ZN10QByteArray11shared_nullE: .long 0; .popsection"); __asm__(".globl _ZN10QEventLoop16staticMetaObjectE; .pushsection .data; .type _ZN10QEventLoop16staticMetaObjectE,@object; .size _ZN10QEventLoop16staticMetaObjectE, 32; _ZN10QEventLoop16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN11QTranslator16staticMetaObjectE; .pushsection .data; .type _ZN11QTranslator16staticMetaObjectE,@object; .size _ZN11QTranslator16staticMetaObjectE, 32; _ZN11QTranslator16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN11QVectorData11shared_nullE; .pushsection .data; .type _ZN11QVectorData11shared_nullE,@object; .size _ZN11QVectorData11shared_nullE, 16; _ZN11QVectorData11shared_nullE: .long 0; .popsection"); __asm__(".globl _ZN13QPluginLoader16staticMetaObjectE; .pushsection .data; .type _ZN13QPluginLoader16staticMetaObjectE,@object; .size _ZN13QPluginLoader16staticMetaObjectE, 32; _ZN13QPluginLoader16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN13QSignalMapper16staticMetaObjectE; .pushsection .data; .type _ZN13QSignalMapper16staticMetaObjectE,@object; .size _ZN13QSignalMapper16staticMetaObjectE, 32; _ZN13QSignalMapper16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN14QTemporaryFile16staticMetaObjectE; .pushsection .data; .type _ZN14QTemporaryFile16staticMetaObjectE,@object; .size _ZN14QTemporaryFile16staticMetaObjectE, 32; _ZN14QTemporaryFile16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN15QLinkedListData11shared_nullE; .pushsection .data; .type _ZN15QLinkedListData11shared_nullE,@object; .size _ZN15QLinkedListData11shared_nullE, 32; _ZN15QLinkedListData11shared_nullE: .long 0; .popsection"); __asm__(".globl _ZN15QSocketNotifier16staticMetaObjectE; .pushsection .data; .type _ZN15QSocketNotifier16staticMetaObjectE,@object; .size _ZN15QSocketNotifier16staticMetaObjectE, 32; _ZN15QSocketNotifier16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN16QCoreApplication16staticMetaObjectE; .pushsection .data; .type _ZN16QCoreApplication16staticMetaObjectE,@object; .size _ZN16QCoreApplication16staticMetaObjectE, 32; _ZN16QCoreApplication16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN16QCoreApplication4selfE; .pushsection .data; .type _ZN16QCoreApplication4selfE,@object; .size _ZN16QCoreApplication4selfE, 8; _ZN16QCoreApplication4selfE: .long 0; .popsection"); __asm__(".globl _ZN16QTextCodecPlugin16staticMetaObjectE; .pushsection .data; .type _ZN16QTextCodecPlugin16staticMetaObjectE,@object; .size _ZN16QTextCodecPlugin16staticMetaObjectE, 32; _ZN16QTextCodecPlugin16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN18QAbstractItemModel16staticMetaObjectE; .pushsection .data; .type _ZN18QAbstractItemModel16staticMetaObjectE,@object; .size _ZN18QAbstractItemModel16staticMetaObjectE, 32; _ZN18QAbstractItemModel16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN18QAbstractListModel16staticMetaObjectE; .pushsection .data; .type _ZN18QAbstractListModel16staticMetaObjectE,@object; .size _ZN18QAbstractListModel16staticMetaObjectE, 32; _ZN18QAbstractListModel16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN18QFileSystemWatcher16staticMetaObjectE; .pushsection .data; .type _ZN18QFileSystemWatcher16staticMetaObjectE,@object; .size _ZN18QFileSystemWatcher16staticMetaObjectE, 32; _ZN18QFileSystemWatcher16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN19QAbstractTableModel16staticMetaObjectE; .pushsection .data; .type _ZN19QAbstractTableModel16staticMetaObjectE,@object; .size _ZN19QAbstractTableModel16staticMetaObjectE, 32; _ZN19QAbstractTableModel16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN21QObjectCleanupHandler16staticMetaObjectE; .pushsection .data; .type _ZN21QObjectCleanupHandler16staticMetaObjectE,@object; .size _ZN21QObjectCleanupHandler16staticMetaObjectE, 32; _ZN21QObjectCleanupHandler16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN24QAbstractEventDispatcher16staticMetaObjectE; .pushsection .data; .type _ZN24QAbstractEventDispatcher16staticMetaObjectE,@object; .size _ZN24QAbstractEventDispatcher16staticMetaObjectE, 32; _ZN24QAbstractEventDispatcher16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN5QFile16staticMetaObjectE; .pushsection .data; .type _ZN5QFile16staticMetaObjectE,@object; .size _ZN5QFile16staticMetaObjectE, 32; _ZN5QFile16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN6QTimer16staticMetaObjectE; .pushsection .data; .type _ZN6QTimer16staticMetaObjectE,@object; .size _ZN6QTimer16staticMetaObjectE, 32; _ZN6QTimer16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN7QBuffer16staticMetaObjectE; .pushsection .data; .type _ZN7QBuffer16staticMetaObjectE,@object; .size _ZN7QBuffer16staticMetaObjectE, 32; _ZN7QBuffer16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN7QObject16staticMetaObjectE; .pushsection .data; .type _ZN7QObject16staticMetaObjectE,@object; .size _ZN7QObject16staticMetaObjectE, 32; _ZN7QObject16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN7QObject18staticQtMetaObjectE; .pushsection .data; .type _ZN7QObject18staticQtMetaObjectE,@object; .size _ZN7QObject18staticQtMetaObjectE, 32; _ZN7QObject18staticQtMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN7QString11shared_nullE; .pushsection .data; .type _ZN7QString11shared_nullE,@object; .size _ZN7QString11shared_nullE, 32; _ZN7QString11shared_nullE: .long 0; .popsection"); __asm__(".globl _ZN7QString16codecForCStringsE; .pushsection .data; .type _ZN7QString16codecForCStringsE,@object; .size _ZN7QString16codecForCStringsE, 8; _ZN7QString16codecForCStringsE: .long 0; .popsection"); __asm__(".globl _ZN7QString4nullE; .pushsection .data; .type _ZN7QString4nullE,@object; .size _ZN7QString4nullE, 1; _ZN7QString4nullE: .long 0; .popsection"); __asm__(".globl _ZN7QThread16staticMetaObjectE; .pushsection .data; .type _ZN7QThread16staticMetaObjectE,@object; .size _ZN7QThread16staticMetaObjectE, 32; _ZN7QThread16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN8QLibrary16staticMetaObjectE; .pushsection .data; .type _ZN8QLibrary16staticMetaObjectE,@object; .size _ZN8QLibrary16staticMetaObjectE, 32; _ZN8QLibrary16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN8QMapData11shared_nullE; .pushsection .data; .type _ZN8QMapData11shared_nullE,@object; .size _ZN8QMapData11shared_nullE, 128; _ZN8QMapData11shared_nullE: .long 0; .popsection"); __asm__(".globl _ZN8QProcess16staticMetaObjectE; .pushsection .data; .type _ZN8QProcess16staticMetaObjectE,@object; .size _ZN8QProcess16staticMetaObjectE, 32; _ZN8QProcess16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN8QVariant7handlerE; .pushsection .data; .type _ZN8QVariant7handlerE,@object; .size _ZN8QVariant7handlerE, 8; _ZN8QVariant7handlerE: .long 0; .popsection"); __asm__(".globl _ZN9QHashData11shared_nullE; .pushsection .data; .type _ZN9QHashData11shared_nullE,@object; .size _ZN9QHashData11shared_nullE, 40; _ZN9QHashData11shared_nullE: .long 0; .popsection"); __asm__(".globl _ZN9QIODevice16staticMetaObjectE; .pushsection .data; .type _ZN9QIODevice16staticMetaObjectE,@object; .size _ZN9QIODevice16staticMetaObjectE, 32; _ZN9QIODevice16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN9QListData11shared_nullE; .pushsection .data; .type _ZN9QListData11shared_nullE,@object; .size _ZN9QListData11shared_nullE, 32; _ZN9QListData11shared_nullE: .long 0; .popsection"); __asm__(".globl _ZN9QMimeData16staticMetaObjectE; .pushsection .data; .type _ZN9QMimeData16staticMetaObjectE,@object; .size _ZN9QMimeData16staticMetaObjectE, 32; _ZN9QMimeData16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN9QSettings16staticMetaObjectE; .pushsection .data; .type _ZN9QSettings16staticMetaObjectE,@object; .size _ZN9QSettings16staticMetaObjectE, 32; _ZN9QSettings16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZN9QTimeLine16staticMetaObjectE; .pushsection .data; .type _ZN9QTimeLine16staticMetaObjectE,@object; .size _ZN9QTimeLine16staticMetaObjectE, 32; _ZN9QTimeLine16staticMetaObjectE: .long 0; .popsection"); __asm__(".globl _ZTI10QEventLoop; .pushsection .data; .type _ZTI10QEventLoop,@object; .size _ZTI10QEventLoop, 24; _ZTI10QEventLoop: .long 0; .popsection"); __asm__(".globl _ZTI10QTextCodec; .pushsection .data; .type _ZTI10QTextCodec,@object; .size _ZTI10QTextCodec, 16; _ZTI10QTextCodec: .long 0; .popsection"); __asm__(".globl _ZTI11QChildEvent; .pushsection .data; .type _ZTI11QChildEvent,@object; .size _ZTI11QChildEvent, 24; _ZTI11QChildEvent: .long 0; .popsection"); __asm__(".globl _ZTI11QDataStream; .pushsection .data; .type _ZTI11QDataStream,@object; .size _ZTI11QDataStream, 16; _ZTI11QDataStream: .long 0; .popsection"); __asm__(".globl _ZTI11QTextStream; .pushsection .data; .type _ZTI11QTextStream,@object; .size _ZTI11QTextStream, 16; _ZTI11QTextStream: .long 0; .popsection"); __asm__(".globl _ZTI11QTimerEvent; .pushsection .data; .type _ZTI11QTimerEvent,@object; .size _ZTI11QTimerEvent, 24; _ZTI11QTimerEvent: .long 0; .popsection"); __asm__(".globl _ZTI11QTranslator; .pushsection .data; .type _ZTI11QTranslator,@object; .size _ZTI11QTranslator, 24; _ZTI11QTranslator: .long 0; .popsection"); __asm__(".globl _ZTI12QCustomEvent; .pushsection .data; .type _ZTI12QCustomEvent,@object; .size _ZTI12QCustomEvent, 24; _ZTI12QCustomEvent: .long 0; .popsection"); __asm__(".globl _ZTI13QFSFileEngine; .pushsection .data; .type _ZTI13QFSFileEngine,@object; .size _ZTI13QFSFileEngine, 24; _ZTI13QFSFileEngine: .long 0; .popsection"); __asm__(".globl _ZTI13QFontLaoCodec; .pushsection .data; .type _ZTI13QFontLaoCodec,@object; .size _ZTI13QFontLaoCodec, 24; _ZTI13QFontLaoCodec: .long 0; .popsection"); __asm__(".globl _ZTI13QPluginLoader; .pushsection .data; .type _ZTI13QPluginLoader,@object; .size _ZTI13QPluginLoader, 24; _ZTI13QPluginLoader: .long 0; .popsection"); __asm__(".globl _ZTI13QSignalMapper; .pushsection .data; .type _ZTI13QSignalMapper,@object; .size _ZTI13QSignalMapper, 24; _ZTI13QSignalMapper: .long 0; .popsection"); __asm__(".globl _ZTI13QSystemLocale; .pushsection .data; .type _ZTI13QSystemLocale,@object; .size _ZTI13QSystemLocale, 16; _ZTI13QSystemLocale: .long 0; .popsection"); __asm__(".globl _ZTI14QFactoryLoader; .pushsection .data; .type _ZTI14QFactoryLoader,@object; .size _ZTI14QFactoryLoader, 24; _ZTI14QFactoryLoader: .long 0; .popsection"); __asm__(".globl _ZTI14QMetaCallEvent; .pushsection .data; .type _ZTI14QMetaCallEvent,@object; .size _ZTI14QMetaCallEvent, 24; _ZTI14QMetaCallEvent: .long 0; .popsection"); __asm__(".globl _ZTI14QObjectPrivate; .pushsection .data; .type _ZTI14QObjectPrivate,@object; .size _ZTI14QObjectPrivate, 24; _ZTI14QObjectPrivate: .long 0; .popsection"); __asm__(".globl _ZTI14QTemporaryFile; .pushsection .data; .type _ZTI14QTemporaryFile,@object; .size _ZTI14QTemporaryFile, 24; _ZTI14QTemporaryFile: .long 0; .popsection"); __asm__(".globl _ZTI15QDateTimeParser; .pushsection .data; .type _ZTI15QDateTimeParser,@object; .size _ZTI15QDateTimeParser, 16; _ZTI15QDateTimeParser: .long 0; .popsection"); __asm__(".globl _ZTI15QObjectUserData; .pushsection .data; .type _ZTI15QObjectUserData,@object; .size _ZTI15QObjectUserData, 16; _ZTI15QObjectUserData: .long 0; .popsection"); __asm__(".globl _ZTI15QSocketNotifier; .pushsection .data; .type _ZTI15QSocketNotifier,@object; .size _ZTI15QSocketNotifier, 24; _ZTI15QSocketNotifier: .long 0; .popsection"); __asm__(".globl _ZTI16QCoreApplication; .pushsection .data; .type _ZTI16QCoreApplication,@object; .size _ZTI16QCoreApplication, 24; _ZTI16QCoreApplication: .long 0; .popsection"); __asm__(".globl _ZTI16QIODevicePrivate; .pushsection .data; .type _ZTI16QIODevicePrivate,@object; .size _ZTI16QIODevicePrivate, 24; _ZTI16QIODevicePrivate: .long 0; .popsection"); __asm__(".globl _ZTI16QTextCodecPlugin; .pushsection .data; .type _ZTI16QTextCodecPlugin,@object; .size _ZTI16QTextCodecPlugin, 56; _ZTI16QTextCodecPlugin: .long 0; .popsection"); __asm__(".globl _ZTI17QFactoryInterface; .pushsection .data; .type _ZTI17QFactoryInterface,@object; .size _ZTI17QFactoryInterface, 16; _ZTI17QFactoryInterface: .long 0; .popsection"); __asm__(".globl _ZTI18QAbstractItemModel; .pushsection .data; .type _ZTI18QAbstractItemModel,@object; .size _ZTI18QAbstractItemModel, 24; _ZTI18QAbstractItemModel: .long 0; .popsection"); __asm__(".globl _ZTI18QAbstractListModel; .pushsection .data; .type _ZTI18QAbstractListModel,@object; .size _ZTI18QAbstractListModel, 24; _ZTI18QAbstractListModel: .long 0; .popsection"); __asm__(".globl _ZTI18QFileSystemWatcher; .pushsection .data; .type _ZTI18QFileSystemWatcher,@object; .size _ZTI18QFileSystemWatcher, 24; _ZTI18QFileSystemWatcher: .long 0; .popsection"); __asm__(".globl _ZTI19QAbstractFileEngine; .pushsection .data; .type _ZTI19QAbstractFileEngine,@object; .size _ZTI19QAbstractFileEngine, 16; _ZTI19QAbstractFileEngine: .long 0; .popsection"); __asm__(".globl _ZTI19QAbstractTableModel; .pushsection .data; .type _ZTI19QAbstractTableModel,@object; .size _ZTI19QAbstractTableModel, 24; _ZTI19QAbstractTableModel: .long 0; .popsection"); __asm__(".globl _ZTI20QEventDispatcherUNIX; .pushsection .data; .type _ZTI20QEventDispatcherUNIX,@object; .size _ZTI20QEventDispatcherUNIX, 24; _ZTI20QEventDispatcherUNIX: .long 0; .popsection"); __asm__(".globl _ZTI21QObjectCleanupHandler; .pushsection .data; .type _ZTI21QObjectCleanupHandler,@object; .size _ZTI21QObjectCleanupHandler, 24; _ZTI21QObjectCleanupHandler: .long 0; .popsection"); __asm__(".globl _ZTI23QCoreApplicationPrivate; .pushsection .data; .type _ZTI23QCoreApplicationPrivate,@object; .size _ZTI23QCoreApplicationPrivate, 24; _ZTI23QCoreApplicationPrivate: .long 0; .popsection"); __asm__(".globl _ZTI24QAbstractEventDispatcher; .pushsection .data; .type _ZTI24QAbstractEventDispatcher,@object; .size _ZTI24QAbstractEventDispatcher, 24; _ZTI24QAbstractEventDispatcher: .long 0; .popsection"); __asm__(".globl _ZTI26QAbstractFileEngineHandler; .pushsection .data; .type _ZTI26QAbstractFileEngineHandler,@object; .size _ZTI26QAbstractFileEngineHandler, 16; _ZTI26QAbstractFileEngineHandler: .long 0; .popsection"); __asm__(".globl _ZTI26QTextCodecFactoryInterface; .pushsection .data; .type _ZTI26QTextCodecFactoryInterface,@object; .size _ZTI26QTextCodecFactoryInterface, 24; _ZTI26QTextCodecFactoryInterface: .long 0; .popsection"); __asm__(".globl _ZTI27QDynamicPropertyChangeEvent; .pushsection .data; .type _ZTI27QDynamicPropertyChangeEvent,@object; .size _ZTI27QDynamicPropertyChangeEvent, 24; _ZTI27QDynamicPropertyChangeEvent: .long 0; .popsection"); __asm__(".globl _ZTI27QEventDispatcherUNIXPrivate; .pushsection .data; .type _ZTI27QEventDispatcherUNIXPrivate,@object; .size _ZTI27QEventDispatcherUNIXPrivate, 24; _ZTI27QEventDispatcherUNIXPrivate: .long 0; .popsection"); __asm__(".globl _ZTI5QFile; .pushsection .data; .type _ZTI5QFile,@object; .size _ZTI5QFile, 24; _ZTI5QFile: .long 0; .popsection"); __asm__(".globl _ZTI6QEvent; .pushsection .data; .type _ZTI6QEvent,@object; .size _ZTI6QEvent, 16; _ZTI6QEvent: .long 0; .popsection"); __asm__(".globl _ZTI6QTimer; .pushsection .data; .type _ZTI6QTimer,@object; .size _ZTI6QTimer, 24; _ZTI6QTimer: .long 0; .popsection"); __asm__(".globl _ZTI7QBuffer; .pushsection .data; .type _ZTI7QBuffer,@object; .size _ZTI7QBuffer, 24; _ZTI7QBuffer: .long 0; .popsection"); __asm__(".globl _ZTI7QObject; .pushsection .data; .type _ZTI7QObject,@object; .size _ZTI7QObject, 16; _ZTI7QObject: .long 0; .popsection"); __asm__(".globl _ZTI7QThread; .pushsection .data; .type _ZTI7QThread,@object; .size _ZTI7QThread, 24; _ZTI7QThread: .long 0; .popsection"); __asm__(".globl _ZTI8QLibrary; .pushsection .data; .type _ZTI8QLibrary,@object; .size _ZTI8QLibrary, 24; _ZTI8QLibrary: .long 0; .popsection"); __asm__(".globl _ZTI8QProcess; .pushsection .data; .type _ZTI8QProcess,@object; .size _ZTI8QProcess, 24; _ZTI8QProcess: .long 0; .popsection"); __asm__(".globl _ZTI9QIODevice; .pushsection .data; .type _ZTI9QIODevice,@object; .size _ZTI9QIODevice, 24; _ZTI9QIODevice: .long 0; .popsection"); __asm__(".globl _ZTI9QMimeData; .pushsection .data; .type _ZTI9QMimeData,@object; .size _ZTI9QMimeData, 24; _ZTI9QMimeData: .long 0; .popsection"); __asm__(".globl _ZTI9QSettings; .pushsection .data; .type _ZTI9QSettings,@object; .size _ZTI9QSettings, 24; _ZTI9QSettings: .long 0; .popsection"); __asm__(".globl _ZTI9QTimeLine; .pushsection .data; .type _ZTI9QTimeLine,@object; .size _ZTI9QTimeLine, 24; _ZTI9QTimeLine: .long 0; .popsection"); __asm__(".globl _ZTV10QEventLoop; .pushsection .data; .type _ZTV10QEventLoop,@object; .size _ZTV10QEventLoop, 112; _ZTV10QEventLoop: .long 0; .popsection"); __asm__(".globl _ZTV10QTextCodec; .pushsection .data; .type _ZTV10QTextCodec,@object; .size _ZTV10QTextCodec, 72; _ZTV10QTextCodec: .long 0; .popsection"); __asm__(".globl _ZTV11QChildEvent; .pushsection .data; .type _ZTV11QChildEvent,@object; .size _ZTV11QChildEvent, 32; _ZTV11QChildEvent: .long 0; .popsection"); __asm__(".globl _ZTV11QDataStream; .pushsection .data; .type _ZTV11QDataStream,@object; .size _ZTV11QDataStream, 32; _ZTV11QDataStream: .long 0; .popsection"); __asm__(".globl _ZTV11QTextStream; .pushsection .data; .type _ZTV11QTextStream,@object; .size _ZTV11QTextStream, 32; _ZTV11QTextStream: .long 0; .popsection"); __asm__(".globl _ZTV11QTimerEvent; .pushsection .data; .type _ZTV11QTimerEvent,@object; .size _ZTV11QTimerEvent, 32; _ZTV11QTimerEvent: .long 0; .popsection"); __asm__(".globl _ZTV11QTranslator; .pushsection .data; .type _ZTV11QTranslator,@object; .size _ZTV11QTranslator, 128; _ZTV11QTranslator: .long 0; .popsection"); __asm__(".globl _ZTV12QCustomEvent; .pushsection .data; .type _ZTV12QCustomEvent,@object; .size _ZTV12QCustomEvent, 32; _ZTV12QCustomEvent: .long 0; .popsection"); __asm__(".globl _ZTV13QFSFileEngine; .pushsection .data; .type _ZTV13QFSFileEngine,@object; .size _ZTV13QFSFileEngine, 288; _ZTV13QFSFileEngine: .long 0; .popsection"); __asm__(".globl _ZTV13QFontLaoCodec; .pushsection .data; .type _ZTV13QFontLaoCodec,@object; .size _ZTV13QFontLaoCodec, 72; _ZTV13QFontLaoCodec: .long 0; .popsection"); __asm__(".globl _ZTV13QPluginLoader; .pushsection .data; .type _ZTV13QPluginLoader,@object; .size _ZTV13QPluginLoader, 112; _ZTV13QPluginLoader: .long 0; .popsection"); __asm__(".globl _ZTV13QSignalMapper; .pushsection .data; .type _ZTV13QSignalMapper,@object; .size _ZTV13QSignalMapper, 112; _ZTV13QSignalMapper: .long 0; .popsection"); __asm__(".globl _ZTV13QSystemLocale; .pushsection .data; .type _ZTV13QSystemLocale,@object; .size _ZTV13QSystemLocale, 48; _ZTV13QSystemLocale: .long 0; .popsection"); __asm__(".globl _ZTV14QFactoryLoader; .pushsection .data; .type _ZTV14QFactoryLoader,@object; .size _ZTV14QFactoryLoader, 112; _ZTV14QFactoryLoader: .long 0; .popsection"); __asm__(".globl _ZTV14QMetaCallEvent; .pushsection .data; .type _ZTV14QMetaCallEvent,@object; .size _ZTV14QMetaCallEvent, 40; _ZTV14QMetaCallEvent: .long 0; .popsection"); __asm__(".globl _ZTV14QObjectPrivate; .pushsection .data; .type _ZTV14QObjectPrivate,@object; .size _ZTV14QObjectPrivate, 40; _ZTV14QObjectPrivate: .long 0; .popsection"); __asm__(".globl _ZTV14QTemporaryFile; .pushsection .data; .type _ZTV14QTemporaryFile,@object; .size _ZTV14QTemporaryFile, 248; _ZTV14QTemporaryFile: .long 0; .popsection"); __asm__(".globl _ZTV15QDateTimeParser; .pushsection .data; .type _ZTV15QDateTimeParser,@object; .size _ZTV15QDateTimeParser, 80; _ZTV15QDateTimeParser: .long 0; .popsection"); __asm__(".globl _ZTV15QObjectUserData; .pushsection .data; .type _ZTV15QObjectUserData,@object; .size _ZTV15QObjectUserData, 32; _ZTV15QObjectUserData: .long 0; .popsection"); __asm__(".globl _ZTV15QSocketNotifier; .pushsection .data; .type _ZTV15QSocketNotifier,@object; .size _ZTV15QSocketNotifier, 112; _ZTV15QSocketNotifier: .long 0; .popsection"); __asm__(".globl _ZTV16QCoreApplication; .pushsection .data; .type _ZTV16QCoreApplication,@object; .size _ZTV16QCoreApplication, 128; _ZTV16QCoreApplication: .long 0; .popsection"); __asm__(".globl _ZTV16QIODevicePrivate; .pushsection .data; .type _ZTV16QIODevicePrivate,@object; .size _ZTV16QIODevicePrivate, 48; _ZTV16QIODevicePrivate: .long 0; .popsection"); __asm__(".globl _ZTV16QTextCodecPlugin; .pushsection .data; .type _ZTV16QTextCodecPlugin,@object; .size _ZTV16QTextCodecPlugin, 216; _ZTV16QTextCodecPlugin: .long 0; .popsection"); __asm__(".globl _ZTV17QFactoryInterface; .pushsection .data; .type _ZTV17QFactoryInterface,@object; .size _ZTV17QFactoryInterface, 40; _ZTV17QFactoryInterface: .long 0; .popsection"); __asm__(".globl _ZTV18QAbstractItemModel; .pushsection .data; .type _ZTV18QAbstractItemModel,@object; .size _ZTV18QAbstractItemModel, 336; _ZTV18QAbstractItemModel: .long 0; .popsection"); __asm__(".globl _ZTV18QAbstractListModel; .pushsection .data; .type _ZTV18QAbstractListModel,@object; .size _ZTV18QAbstractListModel, 336; _ZTV18QAbstractListModel: .long 0; .popsection"); __asm__(".globl _ZTV18QFileSystemWatcher; .pushsection .data; .type _ZTV18QFileSystemWatcher,@object; .size _ZTV18QFileSystemWatcher, 112; _ZTV18QFileSystemWatcher: .long 0; .popsection"); __asm__(".globl _ZTV19QAbstractFileEngine; .pushsection .data; .type _ZTV19QAbstractFileEngine,@object; .size _ZTV19QAbstractFileEngine, 288; _ZTV19QAbstractFileEngine: .long 0; .popsection"); __asm__(".globl _ZTV19QAbstractTableModel; .pushsection .data; .type _ZTV19QAbstractTableModel,@object; .size _ZTV19QAbstractTableModel, 336; _ZTV19QAbstractTableModel: .long 0; .popsection"); __asm__(".globl _ZTV20QEventDispatcherUNIX; .pushsection .data; .type _ZTV20QEventDispatcherUNIX,@object; .size _ZTV20QEventDispatcherUNIX, 224; _ZTV20QEventDispatcherUNIX: .long 0; .popsection"); __asm__(".globl _ZTV21QObjectCleanupHandler; .pushsection .data; .type _ZTV21QObjectCleanupHandler,@object; .size _ZTV21QObjectCleanupHandler, 112; _ZTV21QObjectCleanupHandler: .long 0; .popsection"); __asm__(".globl _ZTV23QCoreApplicationPrivate; .pushsection .data; .type _ZTV23QCoreApplicationPrivate,@object; .size _ZTV23QCoreApplicationPrivate, 56; _ZTV23QCoreApplicationPrivate: .long 0; .popsection"); __asm__(".globl _ZTV24QAbstractEventDispatcher; .pushsection .data; .type _ZTV24QAbstractEventDispatcher,@object; .size _ZTV24QAbstractEventDispatcher, 216; _ZTV24QAbstractEventDispatcher: .long 0; .popsection"); __asm__(".globl _ZTV26QAbstractFileEngineHandler; .pushsection .data; .type _ZTV26QAbstractFileEngineHandler,@object; .size _ZTV26QAbstractFileEngineHandler, 40; _ZTV26QAbstractFileEngineHandler: .long 0; .popsection"); __asm__(".globl _ZTV26QTextCodecFactoryInterface; .pushsection .data; .type _ZTV26QTextCodecFactoryInterface,@object; .size _ZTV26QTextCodecFactoryInterface, 48; _ZTV26QTextCodecFactoryInterface: .long 0; .popsection"); __asm__(".globl _ZTV27QDynamicPropertyChangeEvent; .pushsection .data; .type _ZTV27QDynamicPropertyChangeEvent,@object; .size _ZTV27QDynamicPropertyChangeEvent, 32; _ZTV27QDynamicPropertyChangeEvent: .long 0; .popsection"); __asm__(".globl _ZTV27QEventDispatcherUNIXPrivate; .pushsection .data; .type _ZTV27QEventDispatcherUNIXPrivate,@object; .size _ZTV27QEventDispatcherUNIXPrivate, 40; _ZTV27QEventDispatcherUNIXPrivate: .long 0; .popsection"); __asm__(".globl _ZTV5QFile; .pushsection .data; .type _ZTV5QFile,@object; .size _ZTV5QFile, 248; _ZTV5QFile: .long 0; .popsection"); __asm__(".globl _ZTV6QEvent; .pushsection .data; .type _ZTV6QEvent,@object; .size _ZTV6QEvent, 32; _ZTV6QEvent: .long 0; .popsection"); __asm__(".globl _ZTV6QTimer; .pushsection .data; .type _ZTV6QTimer,@object; .size _ZTV6QTimer, 112; _ZTV6QTimer: .long 0; .popsection"); __asm__(".globl _ZTV7QBuffer; .pushsection .data; .type _ZTV7QBuffer,@object; .size _ZTV7QBuffer, 240; _ZTV7QBuffer: .long 0; .popsection"); __asm__(".globl _ZTV7QObject; .pushsection .data; .type _ZTV7QObject,@object; .size _ZTV7QObject, 112; _ZTV7QObject: .long 0; .popsection"); __asm__(".globl _ZTV7QThread; .pushsection .data; .type _ZTV7QThread,@object; .size _ZTV7QThread, 120; _ZTV7QThread: .long 0; .popsection"); __asm__(".globl _ZTV8QLibrary; .pushsection .data; .type _ZTV8QLibrary,@object; .size _ZTV8QLibrary, 112; _ZTV8QLibrary: .long 0; .popsection"); __asm__(".globl _ZTV8QProcess; .pushsection .data; .type _ZTV8QProcess,@object; .size _ZTV8QProcess, 248; _ZTV8QProcess: .long 0; .popsection"); __asm__(".globl _ZTV9QIODevice; .pushsection .data; .type _ZTV9QIODevice,@object; .size _ZTV9QIODevice, 240; _ZTV9QIODevice: .long 0; .popsection"); __asm__(".globl _ZTV9QMimeData; .pushsection .data; .type _ZTV9QMimeData,@object; .size _ZTV9QMimeData, 136; _ZTV9QMimeData: .long 0; .popsection"); __asm__(".globl _ZTV9QSettings; .pushsection .data; .type _ZTV9QSettings,@object; .size _ZTV9QSettings, 112; _ZTV9QSettings: .long 0; .popsection"); __asm__(".globl _ZTV9QTimeLine; .pushsection .data; .type _ZTV9QTimeLine,@object; .size _ZTV9QTimeLine, 120; _ZTV9QTimeLine: .long 0; .popsection");
the_stack_data/98576022.c
#include <stdio.h> int main(void) { long num; long sum = 0L; int status; printf("Please enter an interger to be summed "); printf("(q to quit): "); status = scanf("%ld", &num); while (status = 1) { sum = sum + num; printf("Please enter next interger (q to quit): "); status = scanf("%ld", &num); } printf("Those intergers sum to %ld.\n", sum); return 0; }
the_stack_data/92823.c
#include <stdio.h> int main() { float naira; float dollar; printf("Enter the amount of Naira you want to convert:"); scanf("%f", &naira); dollar = naira / 148; printf("The dollar equivalent of N%.2f is $%.2f", naira, dollar); }
the_stack_data/112296.c
/* { dg-do run } */ #include <stdlib.h> #define THRESHOLD 20 #pragma omp declare target int fib (int n) { if (n <= 0) return 0; else if (n == 1) return 1; else return fib (n - 1) + fib (n - 2); } #pragma omp end declare target int fib_wrapper (int n) { int x = 0; #pragma omp target if(n > THRESHOLD) map(from:x) x = fib (n); return x; } int main () { if (fib (15) != fib_wrapper (15)) abort (); if (fib (25) != fib_wrapper (25)) abort (); return 0; }
the_stack_data/75138060.c
/* { dg-require-effective-target global_constructor } */ /* { dg-options "-O2 -fprofile-generate -fprofile-update=single -fdump-tree-optimized" } */ __attribute__ ((no_profile_instrument_function)) int foo() { return 0; } __attribute__ ((no_profile_instrument_function)) int bar() { return 1; } int main () { return foo (); } /* { dg-final { scan-tree-dump-times "__gcov0\\.main.* = PROF_edge_counter" 1 "optimized"} } */ /* { dg-final { scan-tree-dump-times "__gcov_indirect_call_profiler_v2" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "__gcov_time_profiler_counter = " 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "__gcov_init" 1 "optimized" } } */
the_stack_data/11075962.c
#include<stdio.h> #include<stdlib.h> //creation of a Circular linked list typedef struct node { int data; struct node *link; }node; node *head = NULL; node *last = NULL; node *add_at_end(node *last,int d) { node *temp=malloc(sizeof(node)); temp->data=d; temp->link=head; last->link=temp; last=temp; return temp; } void display() { node *ptr=head; printf("Our Circular linked list is : "); while(ptr!=last) { printf("%d -> ",ptr->data); ptr=ptr->link; } printf("%d -> %d",last->data,head->data); } void create(int n) { int d,i; head=malloc(sizeof(node)); last=malloc(sizeof(node)); printf("\nEnter data for node 1 : "); scanf("%d",&d); head->data=d; head->link=NULL; last=head; for(i=2;i<=n;i++) { printf("\nEnter data for node %d : ",i); scanf("%d",&d); last = add_at_end(last,d); } } int main() { int n; printf("Enter the number of nodes you want in your list : "); scanf("%d",&n); create(n); display(); return 0; }
the_stack_data/262533.c
/* Example of Menu Driven program using functions */ #include<stdio.h> #include<stdlib.h> /* Prototype */ int ShowMainMenu(); int ShowRhymeMenu(); int ShowRhymeSubMenu(); int ShowFairyMenu(); int ShowFairySubMenu(); void PrintZub(); void PrintBigFatGit(); void PrintAliens(); void PrintMary(); void PrintJack(); void PrintLittleBoPeep(); int main(void) { int nChoice = 0; do { nChoice = ShowMainMenu (); switch (nChoice) { case 1: { ShowRhymeMenu (); } break; case 2: { ShowFairyMenu (); } break; case 3: { printf ("Bye Bye\n\n"); } break; } } while (nChoice != 3); system ("Pause"); return 0; } /* ************************************************** ******************* */ int ShowMainMenu () { int nSelected = 0; do { printf ("This is a nursery rhyme and fairy stories program\n"); printf ("You can choose to display a number of different nursery rhymes and fairy stories\n\n"); printf ("(1) Nursery rhymes\n(2) Fairy stories\n(3) Quit\n\n"); printf ("Enter a number that corresponds to your choice > "); scanf ("%d", &nSelected); printf("\n"); if (( nSelected < 1 ) || ( nSelected > 3)) { printf("You have entered an invalid choice. Please try again\n\n\n"); } } while (( nSelected < 1) || ( nSelected > 3)); return nSelected; } /* ************************************************** ************************** */ int ShowRhymeMenu () { int nChoice = 0; do { nChoice = ShowRhymeSubMenu(); switch (nChoice) { case 1: { PrintMary (); } break; case 2: { PrintJack (); } break; case 3: { PrintLittleBoPeep (); } break; case 4: { printf ("Bye Bye\n\n"); } break; } } while (nChoice != 4); return nChoice; } /* ************************************************** ******************* */ int ShowRhymeSubMenu() { int nSelected = 0; do { printf ("(1) Mary had a little lamb\n(2) Jack and Jill\n(3) Little Bo Peep\n(4) Quit\n\n"); printf ("Enter a number that corresponds to your choice > "); scanf ("%d", &nSelected); printf("\n"); if (( nSelected < 1 ) || ( nSelected > 4)) { printf("You have entered an invalid choice. Please try again\n\n\n"); } } while (( nSelected < 1) || ( nSelected > 4)); return nSelected; } /* ************************************************** ************************** */ int ShowFairyMenu () { int nChoice = 0; do { nChoice = ShowFairySubMenu (); switch (nChoice) { case 1: { PrintZub (); } break; case 2: { PrintBigFatGit (); } break; case 3: { PrintAliens (); } break; case 4: { printf ("Bye Bye\n\n"); } break; } } while (nChoice != 4); return nChoice; } /* ************************************************** ******************* */ int ShowFairySubMenu () { int nSelected = 0; do { printf ("(1) The zub zubs\n(2) The BFG\n(3) PrintAliens\n(4) Quit\n\n"); printf ("Enter a number that corresponds to your choice > "); scanf ("%d", &nSelected); printf("\n"); if (( nSelected < 1 ) || ( nSelected > 4)) { printf("You have entered an invalid choice. Please try again\n\n\n"); } } while (( nSelected < 1) || ( nSelected > 4)); return nSelected; } /* ************************************************** ************************** */ void PrintMary () { printf("Mary had a little lamb\n fleese white as snow\n\n\n"); } /* ************************************************** ************************** */ void PrintJack () { printf("Jack and jill went up the hill to fetch water\nThen they fell down\n\n\n"); } /* ************************************************** ************************** */ void PrintLittleBoPeep() { printf("Little bo peep had sheep\nthen they came home\n\n\n"); } /* ************************************************** ************************** */ void PrintZub () { printf("zub zub zub zub zub zub zub zub\n\n\n"); } /* ************************************************** ************************** */ void PrintBigFatGit () { printf("im big and fat and a git\n\n\n"); } /* ************************************************** ************************** */ void PrintAliens () { printf("take us to your leader\n\n\n"); }
the_stack_data/182952711.c
#include <stdio.h> #include <string.h> #include <ctype.h> #include <stdlib.h> #include <time.h> #include <wait.h> #include <unistd.h> #include <errno.h> #include <fcntl.h> #include<sys/types.h> #include<sys/stat.h> #include <syslog.h> #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> #include <pthread.h> #include <limits.h> #define max 1000 pthread_t tid[500]; int flag=1; //char p_dir[] = "/home/sfayha/soal3/"; typedef struct arg_struct { char ndir[max]; char cwd[max]; }arg_struct; int regularf(const char *path); void fmove(char *argv, char *cwd); void fsmove(char *argv, char *cwd); void *perintahd(void* arg); void *perintahf(void* arg); void cek(char *ndir); //recursive sort function int main(int argc, char* argv[]) { arg_struct args; getcwd(args.cwd, sizeof(args.cwd)); if(strcmp(argv[1],"-f")==0) { int index = 0; for (int i = 2; i < argc; i++) { strcpy(args.ndir, argv[i]); pthread_create(&tid[index], NULL, perintahf, (void *)&args); sleep(1); index++; } for (int i = 0; i < index; i++) { pthread_join(tid[i], NULL); } } else if(strcmp(argv[1],"-d")==0){ char ndir[max]; strcpy(ndir, argv[2]); cek(ndir); } else if(strcmp(argv[1],"*")==0) { char ndir[] = "/home/sfayha/soal3/"; cek(ndir); } else { printf("Argumen Salah\n"); return 0; } return 0; } //cek file or folder int regularf(const char *path) { struct stat path_stat; if(stat(path, &path_stat) != 0) return 0; return S_ISREG(path_stat.st_mode); } void fmove(char *argv, char *cwd){ int isHidden=0; char string[max]; strcpy(string, argv); int isFile = regularf(string);// ngecek file/bukan char t = '.'; char* tipe = strrchr(string, t); char m = '/'; char* nama = strrchr(string, m); //yang pertama char typeLow[100]; if (nama[1]=='.'){ isHidden = 1; } if(tipe) { if((tipe[strlen(tipe)-1] >= 'a' && tipe[strlen(tipe)-1] <= 'z') || (tipe[strlen(tipe)-1] >= 'A' && tipe[strlen(tipe)-1] <= 'Z')) { strcpy(typeLow, tipe); for(int i = 0; typeLow[i]; i++){ typeLow[i] = tolower(typeLow[i]); } } } else { if(!isFile){ printf("ini adalah folder\n"); return; } else { strcpy(typeLow, " Unknown"); } } if (isHidden) { strcpy (typeLow, " Hidden"); } mkdir((typeLow+ 1), 0777); size_t len = 0 ; char a[max] ; strcpy(a, argv); char b[max] ; strcpy(b, cwd); strcat(b, "/"); strcat(b, typeLow+1); strcat(b, nama); if (!rename(a, b))printf("Berhasil Dikategorikan\n"); else printf("Sad, Gagal :(\n"); remove(a); } void fsmove(char *argv, char *cwd){ int isHidden=0; char string[max]; strcpy(string, argv); int isFile = regularf(string); char t = '.'; char* tipe = strrchr(string, t); char m = '/'; char* nama = strrchr(string, m); char typeLow[100]; if (nama[1]=='.'){ isHidden = 1; } if(tipe) { if((tipe[strlen(tipe)-1] >= 'a' && tipe[strlen(tipe)-1] <= 'z') || (tipe[strlen(tipe)-1] >= 'A' && tipe[strlen(tipe)-1] <= 'Z')) { strcpy(typeLow, tipe); for(int i = 0; typeLow[i]; i++){ typeLow[i] = tolower(typeLow[i]); } } } else { if(!isFile){ printf("ini adalah folder, argumen salah\n"); return; } else { strcpy(typeLow, " Unknown"); } } if (isHidden) { strcpy (typeLow, " Hidden"); } mkdir((typeLow+ 1), 0777); size_t len = 0 ; char a[max] ; strcpy(a, argv); char b[max] ; strcpy(b, cwd); strcat(b, "/"); strcat(b, typeLow+1); strcat(b, nama); if (rename(a,b)) flag=0; remove(a); } void *perintahd(void* arg){ arg_struct args = *(arg_struct*) arg; fsmove(args.ndir, args.cwd); pthread_exit(0); } void *perintahf(void* arg){ arg_struct args = *(arg_struct*) arg; fmove(args.ndir, args.cwd); pthread_exit(0); } void cek(char *ndir){ arg_struct args; flag =1; char namaProgramIni[260]; strcpy(namaProgramIni, "/home/sfayha/soal3"); strcat(namaProgramIni, "3.c"); strcpy(args.cwd,"/home/sfayha/soal3"); DIR *dirp; struct dirent *entry; dirp = opendir(ndir); int index = 0; while((entry = readdir(dirp)) != NULL) { if(entry->d_type == DT_REG) { char namaFile[305]; //strcat(namaFile, ndir); //strcat(namaFile, entry->d_name); sprintf(namaFile, "%s%s", ndir, entry->d_name); strcpy(args.ndir, namaFile); if(strcmp(namaFile, namaProgramIni) != 0) { pthread_create(&tid[index], NULL, perintahd, (void *)&args); printf("%s\n", namaFile); sleep(1); index++; } } } if (!flag) printf("Yah gagal disimpan\n"); else printf("Direktori sudah disimpan\n"); }
the_stack_data/1172383.c
#include <sys/time.h> #include <sys/resource.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> int main() { int fd[2]; pipe(fd); char buf[6]; if(!fork()) { close(fd[0]); write(fd[1],"Hello ",6); } else { close(fd[1]); read(fd[0],&buf,sizeof(buf)); printf("%s\n",buf); } }
the_stack_data/181393621.c
#include <stdio.h> /* While loops */ /* Write a C program that ask the user to enter two numbers and print their summation, this program should never ends until the user close the window */ void main(void) { /* initialize */ int a1, a2; while (1) { printf("Please enter first number "); scanf("%d", &a1); printf("Please enter second number "); scanf("%d", &a2); printf("The result is %d\n\n", a1 + a2); } }
the_stack_data/282075.c
#include <stdio.h> int main() { int a1, a2, a3, a4, soma, m=-10000; scanf("%d",&a1); scanf("%d",&a2); scanf("%d",&a3); scanf("%d",&a4); if(m<a1) m = a1; if(m<a2) m=a2; if(m<a3) m=a3; if(m<a4) m=a4; soma = a1 + a2 + a3 + a4 - m; printf("%d\n",soma); return 0; }
the_stack_data/182953499.c
/* $Id$ */ /* Copyright (c) 2004-2019 Pierre Pronchery <[email protected]> */ /* This file is part of DeforaOS System libc */ /* All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "stdlib.h" #include "stdio.h" #include "string.h" #include "errno.h" #ifndef max # define max(a, b) ((a) > (b) ? (a) : (b)) #endif /* memchr */ void * memchr(void const * s, int c, size_t n) { unsigned char const * ls; unsigned char lc = c; for(ls = s; n--; ls++) if(*ls == lc) return (void *)ls; return NULL; } /* memcmp */ int memcmp(void const * s1, void const * s2, size_t n) { unsigned char const * u1 = s1; unsigned char const * u2 = s2; if(n == 0) return 0; while(--n && *u1 == *u2) { u1++; u2++; } return *u1 - *u2; } /* memcpy */ void * memcpy(void * dest, void const * src, size_t n) { char * d = dest; char const * s = src; while(n--) *d++ = *s++; return dest; } /* memmove */ void * memmove(void * dest, void const * src, size_t n) { char * d = dest; char const * s = src; if(n == 0 || dest == src) return dest; if(d + n < s || d > s + n) return memcpy(dest, src, n); if(s < d) { d += n - 1; s += n - 1; while(n--) *d-- = *s--; return dest; } return memcpy(dest, src, n); } /* memset */ void * memset(void * dest, int c, size_t n) { unsigned char * d = dest; while(n--) *d++ = c; return dest; } /* strcat */ char * strcat(char * dest, char const * src) { char * ret = dest; for(; *dest; dest++); while(*src) *(dest++) = *(src++); *dest = '\0'; return ret; } /* strchr */ char * strchr(char const * s, int c) { unsigned char const * ls; unsigned char lc = c; for(ls = (unsigned char const *)s; *ls != '\0'; ls++) if(*ls == lc) return (char *)ls; return (lc == '\0') ? (char *)ls : NULL; } /* strcmp */ int strcmp(char const * s1, char const * s2) { unsigned char const * u1; unsigned char const * u2; u1 = (unsigned char const *)s1; u2 = (unsigned char const *)s2; while(*u1 && *u2 && *u1 == *u2) { u1++; u2++; } return *u1 - *u2; } /* strcoll */ int strcoll(char const * s1, char const * s2) { return strcmp(s1, s2); } /* strcpy */ char * strcpy(char * dest, char const * src) { char * ret = dest; while((*dest++ = *src++)); return ret; } /* strcspn */ size_t strcspn(char const * s1, char const * s2) { unsigned int ret = 0; unsigned int len = 0; unsigned int i; for(; *s1 != '\0'; s1++) { len++; for(i = 0; s2[i] != '\0'; i++) if(*s1 == s2[i]) { ret = max(ret, len); len = -1; break; } } return ret; } /* strdup */ char * strdup(char const * s) { size_t len; char * str; if((len = strlen(s) + 1) == 0) { errno = ENOMEM; return NULL; } if((str = malloc(sizeof(char) * len)) == NULL) return NULL; strcpy(str, s); return str; } /* strerror */ char * strerror(int errnum) { static char ret[256]; if(strerror_r(errnum, ret, sizeof(ret)) != 0) errno = EINVAL; return ret; } /* strerror_r */ int strerror_r(int errnum, char * strerrbuf, size_t buflen) { static const struct { const int errnum; const char * errmsg; } err[] = { { 0, "Success" }, { E2BIG, "Argument list too long" }, { EACCES, "Permission denied" }, { EAGAIN, "Resource temporarily unavailable" }, { EBADF, "Bad file descriptor" }, { EBUSY, "Device or resource busy" }, { ECHILD, "No child processes" }, { EEXIST, "File exists" }, { EFAULT, "Bad address" }, { EINTR, "Interrupted system call" }, { EINVAL, "Invalid argument" }, { EISDIR, "Is a directory" }, { ENOBUFS, "No buffer space available" }, { ENODEV, "No such device" }, { ENOENT, "No such file or directory" }, { ENOEXEC, "Exec format error" }, { ENOMEM, "Not enough memory" }, { ENOSYS, "Not implemented" }, { ENOTDIR, "Not a directory" }, { ENOTSUP, "Operation not supported" }, { ENOTTY, "Inappropriate ioctl for device" }, { ENXIO, "Device not configured" }, { EPERM, "Permission denied" }, { EPIPE, "Broken pipe" }, { ERANGE, "Result too large or too small" }, { EROFS, "Read-only filesystem" }, #ifdef ESRCH { ESRCH, "No such process" }, #endif { EXDEV, "Cross-device link" }, { -1, NULL } }; unsigned int i; int j; for(i = 0; err[i].errmsg != NULL; i++) if(err[i].errnum == errnum) { strncpy(strerrbuf, err[i].errmsg, buflen - 1); strerrbuf[buflen - 1] = '\0'; j = snprintf(strerrbuf, buflen, "%s", err[i].errmsg); if(j < 0 || (unsigned)j >= buflen) return ERANGE; return 0; } j = snprintf(strerrbuf, buflen, "%s%d", "Unknown error: ", errnum); if(j < 0 || (unsigned)j >= buflen) return ERANGE; return EINVAL; } /* strlen */ size_t strlen(char const * s) { size_t len = 0; while(*s++) len++; return len; } /* strncat */ char * strncat(char * dest, char const * src, size_t n) { char * ret = dest; for(; *dest; dest++); while(n-- && *src) *(dest)++ = *(src++); *dest = '\0'; return ret; } /* strncmp */ int strncmp(char const * s1, char const * s2, size_t n) { unsigned char const * u1; unsigned char const * u2; u1 = (unsigned char const *)s1; u2 = (unsigned char const *)s2; while(--n && *u1 && *u2 && *u1 == *u2) { u1++; u2++; } return *u1 - *u2; } /* strncpy */ char * strncpy(char * dest, char const * src, size_t n) { char * d; for(d = dest; n > 0; n--) if(*src != '\0') *(d++) = *(src++); else /* pad the remainder of dest */ *(d++) = '\0'; return dest; } /* strnlen */ size_t strnlen(char const * s, size_t max) { size_t len = 0; while(*(s++) && len < max) len++; return len; } /* strpbrk */ char * strpbrk(char const * s1, char const * s2) { char const * p; char const * q; for(p = s1; *p != '\0'; p++) for(q = s2; *q != '\0'; q++) if(*p == *q) return (char *)p; return NULL; } /* strrchr */ char * strrchr(char const * s, int c) { unsigned char const * ret = NULL; unsigned char const * ls; unsigned char lc = c; for(ls = (unsigned char const *)s; *ls != '\0'; ls++) if(*ls == lc) ret = ls; return (char *)((lc == '\0') ? ls : ret); } /* strspn */ size_t strspn(char const * s1, char const * s2) /* FIXME not tested */ { size_t i; char const * p; for(i = 0;; i++) { for(p = s2; *p != '\0' && s1[i] != *p; p++); if(*p == '\0') break; } return i; } /* strstr */ char * strstr(char const * s1, char const * s2) { size_t len1 = strlen(s1); size_t len2 = strlen(s2); size_t i; if(len2 == 0) return (char *)s1; /* XXX */ if(len1 < len2) return NULL; for(i = 0; i <= len1 - len2; i++) if(strncmp(&s1[i], s2, len2) == 0) return (char *)s1 + i; /* XXX */ return NULL; } /* strtok */ char * strtok(char * s1, char const * s2) { static char * s = NULL; unsigned int i; unsigned int j; if(s1 != NULL) s = s1; for(i = 0; s[i] != '\0'; i++) { for(j = 0; s2[j] != '\0'; j++) { if(s[i] == s2[j]) { s+=(i + 1); return s - i - 1; } } } return NULL; } /* strxfrm */ size_t strxfrm(char * s1, char const * s2, size_t n) { int res; /* XXX return a copy of the original string */ if((res = snprintf(s1, n, "%s", s2)) < 0) return n; return res; }
the_stack_data/93888172.c
#include <stdio.h> int main() { printf("This program prints a table of squares.\n"); printf("Enter number of entries in table:"); int num; scanf("%d", &num); int i = 1; getchar(); // while (i <= num) { // printf("%10d%10d\n", i, i * i); // // /** // * %10d to control width // * num, num * num is wrong // */ // i++; // // remember i++ // } for (i = 1; i <= num; i++) { printf("%10d%10d\n", i, i * i); if (i % 24 == 0) { printf("Press Enter to continue..."); while (getchar() != '\n') ; } } return 0; }
the_stack_data/327699.c
#include <stdbool.h> #include <stdlib.h> #include <stdio.h> unsigned int* alloc_big_natural_number(int blocks, unsigned long initial_value) { if (blocks <= 0) { printf("Panic! could not allocate big natuarl number with zero blocks of memory!"); exit(-1); } unsigned int* number = malloc(blocks * sizeof(unsigned int)); // Initializes number value for (int i = 0; i < blocks; i++) number[i] = 0; unsigned int block_offset = sizeof(unsigned int) * 8; unsigned int shifted_value = initial_value; shifted_value = (shifted_value << block_offset) >> block_offset; number[0] = shifted_value; if (blocks > 1) { number[1] = initial_value >> block_offset; } for (int i = 2; i < blocks; i++) { number[i] = 0; } return number; } unsigned int* alloc_big_natural_number_from_power(int blocks, int power) { if (blocks <= 0) { printf("Panic! could not allocate big natuarl number with zero blocks of memory!"); exit(-1); } unsigned int* number = malloc(blocks * sizeof(unsigned int)); int bits_per_block = sizeof(unsigned int) * 8; int i, power_blocks = power / bits_per_block; for (i = 0; i < power_blocks; i++) { number[i] = ~0; } if (i < blocks) { number[i] = ~0; number[i] = number[i] >> (bits_per_block - (power - (power_blocks * bits_per_block))); } for (i = i + 1; i < blocks; i++) { number[i] = 0; } return number; } unsigned int* alloc_big_natural_number_from ( const char* bitstring, const int length ) { printf("Panic! natural number cast from string is not implemented!"); exit(-1); } bool add_big_natural_numbers ( unsigned int* recepient, unsigned int recepient_length, unsigned int* donor, unsigned int donor_length ) { unsigned int add_level = recepient_length; if (add_level > donor_length) add_level = donor_length; unsigned int small_max = ~0; unsigned long max = small_max, recepient_value, donor_value, hot_value = 0; for (unsigned int block = 0; block < add_level; block++) { recepient_value = recepient[block]; donor_value = donor[block]; hot_value += recepient_value + donor_value; if (hot_value > max) { recepient[block] = 0; hot_value = 1; } else { recepient[block] = hot_value; hot_value = 0; } } return hot_value == 1; } bool add_value_to_big_natural_number ( unsigned int* number, unsigned int number_blocks, unsigned int value ) { unsigned int max = ~0; unsigned long block_value; for (unsigned int i = 0; i < number_blocks; i++) { block_value = number[i] + value; if (block_value > max) { number[i] = 0; value = 1; } else { number[i] = number[i] + value; return false; } } return true; } int subtract_big_natural_numbers ( unsigned int* recepient, unsigned int recepient_blocks, unsigned int* donor, unsigned int donor_blocks ) { unsigned int add_level = recepient_blocks; if (add_level > donor_blocks) add_level = donor_blocks; unsigned long donor_value, recepient_value, borrow = 0; unsigned int max = ~0; for (unsigned int block = 0; block < add_level; block++) { recepient_value = recepient[block]; donor_value = donor[block]; if (recepient_value >= donor_value + borrow) { recepient[block] -= donor_value + borrow; borrow = 0; } else { recepient[block] += (max - donor_value) + 1; borrow = 1; } } return borrow == 1; } int compare_big_natural_numbers ( const unsigned int* first, unsigned int first_length, const unsigned int* second, unsigned int second_length ) { int i = first_length - 1, j = second_length - 1; while(i > j) { if (first[i] > 0) return 1; i--; } while (j > i) { if (second[j] > 0) return -1; j--; } while (i >= 0) { if (first[i] > second[i]) return 1; else if (first[i] < second[i]) return -1; i--; } return 0; } void print_big_natural_number ( unsigned int* number, unsigned int blocks ) { for (int i = blocks - 1; i >= 0; i--) { for (unsigned int bit = 1 << ((sizeof(unsigned int) * 8) - 1); bit > 0; bit = bit >> 1) { if (number[i] & bit) printf("!"); else printf("."); } } }
the_stack_data/507529.c
// RUN: rm -rf %t* // RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checkedALL %s %S/unsafefptrargcalleemulti2.c -- // RUN: 3c -base-dir=%S -addcr -output-dir=%t.checkedNOALL %s %S/unsafefptrargcalleemulti2.c -- // RUN: %clang -working-directory=%t.checkedNOALL -c unsafefptrargcalleemulti1.c unsafefptrargcalleemulti2.c // RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %t.checkedNOALL/unsafefptrargcalleemulti1.c %s // RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %t.checkedALL/unsafefptrargcalleemulti1.c %s // RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %S/unsafefptrargcalleemulti2.c %s -- // RUN: 3c -base-dir=%t.checked -alltypes -output-dir=%t.convert_again %t.checked/unsafefptrargcalleemulti1.c %t.checked/unsafefptrargcalleemulti2.c -- // RUN: test ! -f %t.convert_again/unsafefptrargcalleemulti1.c // RUN: test ! -f %t.convert_again/unsafefptrargcalleemulti2.c /******************************************************************************/ /*This file tests three functions: two callers bar and foo, and a callee sus*/ /*In particular, this file tests: passing a function pointer as an argument to a function unsafely (by casting it unsafely)*/ /*For robustness, this test is identical to unsafefptrargprotocallee.c and unsafefptrargcallee.c except in that the callee and callers are split amongst two files to see how the tool performs conversions*/ /*In this test, foo and bar will treat their return values safely, but sus will not, through invalid pointer arithmetic, an unsafe cast, etc*/ /******************************************************************************/ #include <stddef.h> #include <stdlib.h> #include <stdio.h> #include <string.h> struct general { int data; struct general *next; //CHECK: _Ptr<struct general> next; }; struct warr { int data1[5]; //CHECK_NOALL: int data1[5]; //CHECK_ALL: int data1 _Checked[5]; char *name; //CHECK: _Ptr<char> name; }; struct fptrarr { int *values; //CHECK: _Ptr<int> values; char *name; //CHECK: _Ptr<char> name; int (*mapper)(int); //CHECK: _Ptr<int (int)> mapper; }; struct fptr { int *value; //CHECK: _Ptr<int> value; int (*func)(int); //CHECK: _Ptr<int (int)> func; }; struct arrfptr { int args[5]; //CHECK_NOALL: int args[5]; //CHECK_ALL: int args _Checked[5]; int (*funcs[5])(int); //CHECK_NOALL: int (*funcs[5])(int); //CHECK_ALL: _Ptr<int (int)> funcs _Checked[5]; }; static int add1(int x) { //CHECK: static int add1(int x) _Checked { return x + 1; } static int sub1(int x) { //CHECK: static int sub1(int x) _Checked { return x - 1; } static int fact(int n) { //CHECK: static int fact(int n) _Checked { if (n == 0) { return 1; } return n * fact(n - 1); } static int fib(int n) { //CHECK: static int fib(int n) _Checked { if (n == 0) { return 0; } if (n == 1) { return 1; } return fib(n - 1) + fib(n - 2); } static int zerohuh(int n) { //CHECK: static int zerohuh(int n) _Checked { return !n; } static int *mul2(int *x) { //CHECK: static int *mul2(int *x) { *x *= 2; return x; } int *sus(int (*)(int), int (*)(int)); //CHECK_NOALL: int *sus(int ((*x)(int)) : itype(_Ptr<int (int)>), _Ptr<int (int)> y) : itype(_Ptr<int>); //CHECK_ALL: _Array_ptr<int> sus(int ((*x)(int)) : itype(_Ptr<int (int)>), _Ptr<int (int)> y); int *foo() { //CHECK_NOALL: _Ptr<int> foo(void) { //CHECK_ALL: _Array_ptr<int> foo(void) { int (*x)(int) = add1; //CHECK: _Ptr<int (int)> x = add1; int (*y)(int) = mul2; //CHECK: int (*y)(int) = mul2; int *z = sus(x, y); //CHECK_NOALL: _Ptr<int> z = sus(x, _Assume_bounds_cast<_Ptr<int (int)>>(y)); //CHECK_ALL: _Array_ptr<int> z = sus(x, _Assume_bounds_cast<_Ptr<int (int)>>(y)); return z; } int *bar() { //CHECK_NOALL: _Ptr<int> bar(void) { //CHECK_ALL: _Array_ptr<int> bar(void) { int (*x)(int) = add1; //CHECK: _Ptr<int (int)> x = add1; int (*y)(int) = mul2; //CHECK: int (*y)(int) = mul2; int *z = sus(x, y); //CHECK_NOALL: _Ptr<int> z = sus(x, _Assume_bounds_cast<_Ptr<int (int)>>(y)); //CHECK_ALL: _Array_ptr<int> z = sus(x, _Assume_bounds_cast<_Ptr<int (int)>>(y)); return z; }
the_stack_data/141005.c
#include <stdio.h> int main(void) { int X; scanf("%d", &X); if(X==0) X=1; if(X<0){ while (X!=0){ X=X-1; printf("%d",X); } } if(X>0){ while (X!=0){ X=X+1; printf("%d",X); } } return 0; }
the_stack_data/200141854.c
#include <curses.h> #include <stdbool.h> #include <stdlib.h> #include <time.h> #include <string.h> #define KEY_SPACE ' ' #define KEY_RETURN '\r' #define SQ_FLAGGED_CHAR '@' #define SQ_UNCLICKED_CHAR ' ' #define BEGINNER_NUM_MINES 10 #define BEGINNER_BOARD_SIZE 9 #define INTERMEDIATE_NUM_MINES 40 #define INTERMEDIATE_BOARD_SIZE 16 #define EXPERT_NUM_MINES 100 #define EXPERT_BOARD_SIZE 22 /* COLOR MACROS */ #define SET_RED (attron(COLOR_PAIR(1))) #define SET_NORED (attroff(COLOR_PAIR(1))) #define SET_BLUE (attron(COLOR_PAIR(2))) #define SET_NOBLUE (attroff(COLOR_PAIR(2))) #define SET_NORMAL (attron(COLOR_PAIR(3))) #define SET_NONORMAL (attroff(COLOR_PAIR(3))) #define SET_GREEN (attron(COLOR_PAIR(4))) #define SET_NOGREEN (attroff(COLOR_PAIR(4))) /* GLOBALS */ FILE *errlog; typedef enum { FLAGGED, CLICKED, UNCLICKED } SquareState; typedef enum { BEGINNER, INTERMEDIATE, EXPERT } Difficulty; typedef struct square_t { struct square_t **touching; bool alreadyChecked; SquareState state; int numTouching; int surroundingMines; bool hasMine; } Square; typedef struct { Square *squares; char *horizLine; int x, y; int boardSize; int numMines; bool gameOver; } Game; typedef struct { int *positions; int numSurrounding; } SurroundingSquaresResult; void setUp(void); void quitWithError(const char *msg); void drawGame(Game*); int moveLeft(Game*); int moveRight(Game*); int moveUp(Game*); int moveDown(Game*); void pollInput(Game*); void clickSquare(Game*); void flagSquare(Game*); void recursivelyClick(Square*); char *makeHorizLine(int); void logSquareInfo(Game*); SurroundingSquaresResult *getSurroundingSquares(int, int); Game *newGame(Difficulty); int main(int argc, char *argv[]) { errlog = fopen("errlog.txt", "a"); Difficulty d; /* check command line args */ if (argc != 3) exit(1); if (strcmp(argv[1], "-d")) exit(1); switch (argv[2][0]) { case '1': d = BEGINNER; break; case '2': d = INTERMEDIATE; break; case '3': d = EXPERT; break; default: exit(1); } setUp(); Game *g = newGame(d); while (!(g->gameOver)) { drawGame(g); pollInput(g); } free(g); quitWithError("Game over"); return 0; } Game *newGame(Difficulty d) { int numMines; int boardSize; Game *g = malloc(sizeof(Game)); g->gameOver = false; g->x = 0; g->y = 0; switch (d) { case BEGINNER: numMines = BEGINNER_NUM_MINES; boardSize = BEGINNER_BOARD_SIZE; break; case INTERMEDIATE: numMines = INTERMEDIATE_NUM_MINES; boardSize = INTERMEDIATE_BOARD_SIZE; break; case EXPERT: numMines = EXPERT_NUM_MINES; boardSize = EXPERT_BOARD_SIZE; break; default: quitWithError("Invalid difficulty specified"); } /* calculate the number of total squares using the side length of the board */ int numSquares = boardSize * boardSize; g->boardSize = boardSize; g->numMines = numMines; g->horizLine = makeHorizLine(boardSize); g->squares = malloc(sizeof(Square) * numSquares); for (int i = 0; i < numSquares; ++i) { g->squares[i].state = UNCLICKED; g->squares[i].surroundingMines = 0; g->squares[i].hasMine = false; g->squares[i].alreadyChecked = false; } /* create the links between touching squares */ for (int i = 0; i < numSquares; ++i) { SurroundingSquaresResult *r = getSurroundingSquares(i, boardSize); g->squares[i].numTouching = r->numSurrounding; g->squares[i].touching = malloc(sizeof(Square*) * r->numSurrounding); for (int j = 0; j < r->numSurrounding; ++j) { g->squares[i].touching[j] = (g->squares + r->positions[j]); } } int minesAdded = 0; while (minesAdded < numMines) { int pos = rand() % numSquares; if (!(g->squares[pos].hasMine)) { g->squares[pos].hasMine = true; /* update the surrounding squares' minesSurrounding counts */ for (int i = 0; i < g->squares[pos].numTouching; ++i) { Square *adjSq = g->squares[pos].touching[i]; adjSq->surroundingMines++; } ++minesAdded; } } return g; } void drawGame(Game *g) { SET_BLUE; mvaddstr(0, 0, g->horizLine); SET_NOBLUE; for (int r = 0; r < g->boardSize; ++r) { SET_BLUE; mvaddch(r + 1, 0, '|'); SET_NOBLUE; for (int c = 0; c < g->boardSize; ++c) { char sqChar; int sqPos = g->boardSize * r + c; switch (g->squares[sqPos].state) { case FLAGGED: sqChar = SQ_FLAGGED_CHAR; SET_NORMAL; break; case CLICKED: SET_GREEN; sqChar = (g->squares[sqPos].surroundingMines == 0) ? ' ' : (g->squares[sqPos].surroundingMines + '0'); break; case UNCLICKED: sqChar = SQ_UNCLICKED_CHAR; SET_NORMAL; break; } mvaddch(r + 1, c + 1, sqChar); } SET_BLUE; addch('|'); addch('\n'); } addstr(g->horizLine); SET_NOBLUE; /* debug stuff */ printw("\nx: %d\ny: %d\n", g->x, g->y); move(g->y + 1, g->x + 1); } void quitWithError(const char *msg) { clear(); endwin(); fputs(msg, stderr); exit(EXIT_FAILURE); } void setUp(void) { srand(time(NULL)); initscr(); noecho(); raw(); cbreak(); keypad(stdscr, true); start_color(); /* initialize the color pairs */ init_pair(1, COLOR_BLACK, COLOR_RED); init_pair(2, COLOR_CYAN, COLOR_BLACK); init_pair(3, COLOR_RED, COLOR_BLUE); init_pair(4, COLOR_GREEN, COLOR_BLACK); clear(); } int moveLeft(Game *g) { if (g->x > 0) { g->x -= 1; return 1; } else { return 0; } } int moveRight(Game *g) { if (g->x + 1 < g->boardSize) { g->x += 1; return 1; } else { return 0; } } int moveUp(Game *g) { if (g->y > 0) { g->y -= 1; return 1; } else { return 0; } } int moveDown(Game *g) { if (g->y + 1 < (int) g->boardSize) { g->y += 1; return 1; } else { return 0; } } void pollInput(Game *g) { int pressed = getch(); switch (pressed) { case KEY_UP: moveUp(g); break; case KEY_DOWN: moveDown(g); break; case KEY_RIGHT: moveRight(g); break; case KEY_LEFT: moveLeft(g); break; case KEY_RETURN: clickSquare(g); break; case KEY_SPACE: flagSquare(g); break; case 'l': logSquareInfo(g); break; case 27: quitWithError("game over"); break; } flushinp(); } void clickSquare(Game *g) { Square *sq = g->squares + (g->y * g->boardSize + g->x); if (sq->state == UNCLICKED) { if (sq->hasMine) g->gameOver = true; else { sq->state = CLICKED; recursivelyClick(sq); for (int i = 0; i < g->boardSize * g->boardSize; ++i) g->squares[i].alreadyChecked = false; } } else if (sq->state == CLICKED && sq->surroundingMines > 0) { int surroundingFlags = 0; for (int i = 0; i < sq->numTouching; ++i) { if (sq->touching[i]->state == FLAGGED) ++surroundingFlags; } if (surroundingFlags == sq->surroundingMines) for (int i = 0; i < sq->numTouching; ++i) { if (sq->touching[i]->hasMine && sq->touching[i]->state != FLAGGED) g->gameOver = true; else if (sq->touching[i]->state == UNCLICKED) recursivelyClick(sq->touching[i]); } } } void flagSquare(Game *g) { Square *sq = g->squares + (g->y * g->boardSize + g->x); if (sq->state == FLAGGED) sq->state = UNCLICKED; else if (sq->state == UNCLICKED) sq->state = FLAGGED; } void recursivelyClick(Square *sq) { if (sq->state != FLAGGED) sq->state = CLICKED; if (sq->surroundingMines > 0 || sq->alreadyChecked) { return; } else { sq->alreadyChecked = true; for (int i = 0; i < sq->numTouching; ++i) { if (!(sq->touching[i]->alreadyChecked)) { if (sq->touching[i]->state != FLAGGED) sq->touching[i]->state = CLICKED; recursivelyClick(sq->touching[i]); sq->touching[i]->alreadyChecked = true; } } } } SurroundingSquaresResult *getSurroundingSquares(int pos, int boardSize) { SurroundingSquaresResult *res = malloc(sizeof(SurroundingSquaresResult)); if (pos == 0) { /* top left corner */ res->numSurrounding = 3; res->positions = malloc(sizeof(int) * 3); res->positions[0] = pos + 1; res->positions[1] = pos + boardSize; res->positions[2] = pos + boardSize + 1; } else if (pos == boardSize * boardSize - 1) { /* bottom right corner */ res->numSurrounding = 3; res->positions = malloc(sizeof(int) * 3); res->positions[0] = pos - 1; res->positions[1] = pos - boardSize; res->positions[2] = pos - boardSize - 1; } else if (pos % boardSize == 0) { /* left edge */ if (pos + boardSize == boardSize * boardSize) { /* bottom left corner */ res->numSurrounding = 3; res->positions = malloc(sizeof(int) * 3); res->positions[0] = pos + 1; res->positions[1] = pos - boardSize; res->positions[2] = pos - boardSize + 1; } else { /* left side */ res->numSurrounding = 5; res->positions = malloc(sizeof(int) * 5); res->positions[0] = pos + 1; res->positions[1] = pos + boardSize; res->positions[2] = pos + boardSize + 1; res->positions[3] = pos - boardSize; res->positions[4] = pos - boardSize + 1; } } else if (pos % boardSize == boardSize - 1) { /* right edge */ if (pos - boardSize == -1) { /* top right corner */ res->numSurrounding = 3; res->positions = malloc(sizeof(int) * 3); res->positions[0] = pos - 1; res->positions[1] = pos + boardSize; res->positions[2] = pos + boardSize - 1; } else { /* right side */ res->numSurrounding = 5; res->positions = malloc(sizeof(int) * 5); res->positions[0] = pos - 1; res->positions[1] = pos + boardSize; res->positions[2] = pos + boardSize - 1; res->positions[3] = pos - boardSize; res->positions[4] = pos - boardSize - 1; } } else if (pos + boardSize > boardSize * boardSize) { /* bottom edge */ res->numSurrounding = 5; res->positions = malloc(sizeof(int) * 5); res->positions[0] = pos - 1; res->positions[1] = pos + 1; res->positions[2] = pos - boardSize; res->positions[3] = pos - boardSize - 1; res->positions[4] = pos - boardSize + 1; } else if (pos - boardSize < 0) { /* top edge */ res->numSurrounding = 5; res->positions = malloc(sizeof(int) * 5); res->positions[0] = pos - 1; res->positions[1] = pos + 1; res->positions[2] = pos + boardSize; res->positions[3] = pos + boardSize - 1; res->positions[4] = pos + boardSize + 1; } else { /* not an edge square */ res->numSurrounding = 8; res->positions = malloc(sizeof(int) * 8); res->positions[0] = pos + 1; res->positions[1] = pos - 1; res->positions[2] = pos + boardSize; res->positions[3] = pos - boardSize; res->positions[4] = pos + boardSize + 1; res->positions[5] = pos - boardSize + 1; res->positions[6] = pos + boardSize - 1; res->positions[7] = pos - boardSize - 1; } return res; } char *makeHorizLine(int n) { char *result = malloc(n + 3); result[0] = '+'; for (int i = 1; i <= n; ++i) result[i] = '-'; result[n + 1] = '+'; result[n + 2] = '\0'; return result; } void logSquareInfo(Game *g) { Square *sq = g->squares + g->y * g->boardSize + g->x; fprintf(errlog, "Square at (%d, %d):\n\tSurrounding Mines: %d\n\tTouching: %d squares\n\tState: %d\n\tHas mine: %d\n", g->x, g->y, sq->surroundingMines, sq->numTouching, sq->state), sq->hasMine; fflush(errlog); }
the_stack_data/57770.c
/* * Copyright (c) 1985, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include <signal.h> #include <stdlib.h> #include <stddef.h> #include <unistd.h> void abort() { #ifdef _STANDALONE exit(1); #else sigset_t mask; sigfillset(&mask); /* * don't block SIGABRT to give any handler a chance; we ignore * any errors -- X311J doesn't allow abort to return anyway. */ sigdelset(&mask, SIGABRT); (void)sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL); (void)kill(getpid(), SIGABRT); /* * if SIGABRT ignored, or caught and the handler returns, do * it again, only harder. */ (void)signal(SIGABRT, SIG_DFL); (void)sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL); (void)kill(getpid(), SIGABRT); exit(1); #endif }
the_stack_data/170454095.c
#include <stdio.h> #include <stdlib.h> int main() { char a = 'F'; int f = 123; char *pa = &a; int *pf = &f; printf("a = %c\n", *pa); printf("f = %d\n", *pf); *pa = 'C'; *pf += 1; printf("new a = %c\n", a); printf("new f = %d\n", f); printf("size of *pa = %d\n", sizeof(pa)); printf("size of *pf = %d\n", sizeof(pf)); printf("address of *pa = %p\n", pa); printf("address of *pf = %p\n", pf); return 0; }
the_stack_data/70036.c
#include <stdio.h> #include <limits.h> /* char map[10][10]={ {1,1,6,3,7,5,1,7,4,2}, {1,3,8,1,3,7,3,6,7,2}, {2,1,3,6,5,1,1,3,2,8}, {3,6,9,4,9,3,1,5,6,9}, {7,4,6,3,4,1,7,1,1,1}, {1,3,1,9,1,2,8,1,3,7}, {1,3,5,9,9,1,2,4,2,1}, {3,1,2,5,4,2,1,6,3,9}, {1,2,9,3,1,3,8,5,2,1}, {2,3,1,1,9,4,4,5,8,1}}; */ char map[500][500]; char protomap[100][100]={ {8,2,7,8,5,7,2,1,1,4,7,9,3,7,5,6,1,9,1,8,3,3,5,6,1,1,2,7,4,5,2,8,5,3,4,2,6,9,2,9,6,1,5,8,9,9,1,1,6,9,5,8,9,6,9,4,8,1,4,2,7,5,9,3,9,4,4,1,9,1,3,8,9,1,2,1,4,1,1,1,9,2,1,2,7,8,9,9,5,1,2,2,1,1,6,3,9,5,5,5}, {2,4,9,5,1,7,1,5,8,5,1,2,2,4,2,6,5,1,9,2,8,1,9,1,9,6,8,5,6,1,3,2,7,1,9,9,1,9,2,4,1,2,1,5,4,3,1,9,2,9,3,7,5,5,8,1,3,8,3,9,5,9,6,4,7,8,3,2,5,5,3,7,5,5,2,8,7,1,8,2,4,5,4,7,5,1,2,5,4,3,6,9,1,7,1,8,8,3,7,9}, {7,9,6,1,8,2,1,9,9,9,8,8,3,9,6,5,6,4,2,9,7,4,1,3,1,2,2,3,4,1,5,9,5,2,2,2,6,1,2,2,1,4,9,1,3,5,7,5,7,4,6,9,1,5,1,3,7,8,2,7,1,2,6,1,9,4,2,1,4,2,9,1,4,1,2,6,9,9,9,2,8,6,2,9,6,9,1,2,6,2,6,3,2,4,3,8,5,1,2,6}, {6,4,4,1,1,7,9,4,1,8,1,6,6,1,1,9,4,8,5,3,3,8,9,1,1,9,5,4,3,1,1,7,3,5,4,1,2,1,3,4,2,1,9,5,1,7,6,5,1,9,9,8,8,2,4,4,6,9,7,2,1,1,2,4,6,9,5,1,1,3,9,2,2,3,7,6,5,9,1,2,2,8,2,7,8,1,1,1,5,3,4,3,9,8,7,4,8,5,7,9}, {8,4,2,4,5,1,6,6,6,6,8,6,9,1,9,1,8,1,5,9,1,9,9,1,5,1,1,4,5,9,2,8,4,1,1,9,4,4,9,2,3,2,5,9,4,1,3,5,7,6,1,3,4,5,6,9,1,1,1,9,6,2,9,2,4,8,6,8,3,5,5,1,1,8,3,5,2,1,9,1,2,9,6,2,2,8,7,1,1,1,9,5,7,8,5,8,9,9,7,1}, {4,9,3,4,2,8,2,6,1,1,6,3,8,3,1,7,5,2,4,3,6,6,8,6,5,1,9,7,7,9,1,6,3,7,7,8,5,1,3,8,3,8,3,9,2,9,2,8,5,1,7,4,2,8,9,7,2,3,9,8,4,2,2,8,1,5,1,9,5,1,1,1,1,9,8,3,2,1,1,6,2,6,9,1,3,5,5,6,6,1,1,9,1,1,8,2,9,9,3,7}, {1,1,5,1,6,2,1,4,9,9,3,3,1,2,2,9,2,1,1,1,2,6,3,7,1,6,8,1,3,8,9,4,3,2,1,4,6,1,1,3,1,1,1,1,9,1,1,8,2,9,4,9,4,4,9,5,9,8,7,9,2,1,7,9,9,1,9,3,6,1,1,7,6,2,1,4,1,9,1,9,9,9,4,5,9,1,1,3,1,1,2,7,1,3,9,7,6,7,2,8}, {3,5,4,3,1,6,8,6,5,2,9,1,7,4,9,6,1,2,2,8,1,1,7,1,1,4,1,4,9,9,4,8,8,6,2,3,3,2,4,3,1,7,8,4,8,1,1,8,1,7,1,8,7,3,9,8,8,4,1,5,2,1,2,8,1,6,5,1,8,1,4,9,7,8,1,6,9,1,3,2,4,3,5,9,2,2,2,5,1,8,9,2,8,1,9,1,3,2,4,3}, {8,1,1,9,8,7,4,9,5,6,9,1,8,5,2,9,2,9,9,8,8,6,1,1,7,1,9,8,4,1,9,8,6,6,9,9,6,4,6,9,9,7,9,6,7,8,7,2,1,1,6,8,1,1,1,5,4,6,8,1,1,4,2,5,1,6,2,1,9,2,1,4,2,9,2,8,4,2,9,4,1,9,2,1,3,1,8,2,3,4,3,1,4,4,6,9,5,2,3,2}, {3,7,1,5,3,5,8,4,5,8,1,8,4,9,8,1,8,2,9,3,1,4,8,6,9,1,1,5,9,2,9,1,9,3,3,5,3,9,1,3,7,2,9,2,5,1,9,3,8,1,2,3,3,1,4,8,1,4,8,9,9,9,6,1,5,9,6,5,4,2,2,8,3,5,9,6,8,1,4,8,8,4,7,1,8,2,1,3,2,5,6,6,9,9,6,8,2,7,9,5}, {1,4,5,7,7,4,9,1,1,9,7,8,4,3,9,1,7,3,3,1,3,9,5,8,4,8,2,6,1,1,9,6,5,8,8,7,4,9,1,2,6,2,2,9,3,8,3,5,2,1,3,6,9,9,1,9,2,2,1,5,3,2,4,7,2,8,3,1,1,7,2,1,1,4,5,3,9,8,1,3,2,1,8,6,9,2,1,8,1,5,1,7,7,2,1,1,9,2,4,1}, {7,1,7,9,1,7,6,9,5,8,8,9,2,6,5,3,7,3,1,2,9,9,1,9,8,5,2,3,1,3,1,2,3,1,8,4,4,9,5,7,9,1,9,5,9,3,2,4,8,7,7,5,1,7,8,1,2,1,1,9,1,5,7,9,2,5,8,7,3,1,4,9,7,8,4,1,2,4,1,3,6,7,1,3,7,1,7,1,1,9,9,5,9,1,2,1,3,1,1,3}, {4,4,7,1,1,6,1,4,2,1,3,3,9,1,1,1,9,3,3,3,6,9,5,8,7,9,7,3,9,3,7,2,9,2,8,9,4,1,8,8,3,7,1,9,1,5,1,8,4,6,1,9,2,2,3,6,3,9,7,4,3,9,7,5,3,3,6,1,3,7,6,8,1,1,9,1,4,2,9,2,9,8,9,1,6,7,9,9,1,4,6,1,4,3,1,1,5,2,5,2}, {1,9,3,1,2,1,5,1,4,1,4,7,3,3,4,4,5,3,2,6,8,1,1,6,3,4,9,5,3,8,7,8,5,2,7,5,3,7,6,9,9,1,1,1,1,9,1,1,1,4,9,6,1,1,7,8,9,1,6,5,5,5,1,3,1,8,1,5,1,6,4,1,1,5,2,1,4,5,1,3,2,8,2,2,5,7,9,4,4,3,1,1,2,6,3,3,5,7,4,9}, {9,1,5,1,6,8,9,7,5,6,8,4,9,2,3,4,3,8,7,4,4,3,4,2,5,9,2,2,9,3,3,3,7,7,3,3,2,9,9,1,8,5,8,4,7,9,1,4,7,5,1,7,2,2,4,8,1,8,9,1,4,9,1,4,4,2,5,7,3,2,1,2,7,2,5,1,9,6,5,4,9,6,1,2,1,9,4,2,2,9,5,5,9,1,1,8,3,1,7,2}, {2,5,6,6,1,1,3,5,4,7,9,1,4,1,6,2,6,4,1,5,9,9,2,9,8,8,4,3,2,2,9,7,3,9,3,8,3,8,2,8,6,4,2,8,4,8,1,4,4,9,4,4,8,5,2,2,8,2,8,9,3,9,1,2,7,7,9,2,8,8,7,1,5,9,3,2,7,8,8,6,4,2,8,9,9,8,9,1,2,9,7,3,2,9,2,9,7,3,3,5}, {9,9,2,2,8,7,6,6,9,6,8,9,6,9,9,4,2,1,7,5,6,1,7,9,3,1,8,2,3,6,9,4,1,1,1,9,8,6,9,9,1,7,9,8,7,1,2,5,9,9,5,4,4,6,3,8,7,1,9,1,3,1,1,5,1,8,4,7,3,4,2,2,1,7,9,9,9,1,1,7,1,1,3,2,6,9,2,3,2,1,9,2,2,3,2,7,6,1,3,9}, {2,4,1,1,3,3,9,8,6,3,3,1,5,6,1,2,9,1,9,7,1,8,3,1,2,1,9,4,9,4,3,9,4,9,3,4,1,2,2,8,2,8,1,6,5,1,7,8,4,5,2,5,9,1,9,1,3,2,8,2,8,7,8,2,3,7,5,9,6,5,3,2,6,7,1,2,7,8,1,7,8,1,4,4,2,9,8,9,9,4,5,1,2,5,5,9,2,1,8,5}, {1,4,1,8,8,4,1,1,1,8,8,1,9,7,1,9,4,1,9,1,3,6,3,4,2,6,9,2,2,5,3,3,2,2,9,1,1,2,4,3,2,1,4,9,8,5,1,5,4,9,9,9,6,2,7,1,9,2,3,8,9,8,1,6,9,2,1,6,1,2,6,1,9,5,4,9,4,8,1,1,3,4,9,2,1,2,1,5,6,2,9,6,8,2,1,1,1,9,3,9}, {2,9,9,1,1,1,2,4,7,1,1,6,4,4,9,8,2,3,7,1,1,9,5,1,2,8,3,6,1,2,6,1,4,8,8,9,1,2,8,8,3,9,5,5,6,1,3,7,7,8,8,3,3,9,2,3,1,2,7,4,3,9,1,9,9,4,2,9,3,7,8,2,5,8,1,6,8,4,1,4,4,1,1,1,8,3,2,2,2,4,1,6,5,9,3,8,9,2,7,7}, {2,3,6,9,1,5,5,5,3,6,6,5,8,2,4,8,2,4,2,4,4,6,1,9,6,7,1,4,2,1,4,1,7,9,7,8,4,9,1,8,8,4,4,1,8,1,1,9,9,9,9,1,9,3,9,1,1,9,2,6,8,1,5,9,1,9,7,4,1,8,7,3,9,1,1,6,3,9,2,1,3,8,9,3,1,1,8,9,9,9,2,1,8,8,8,4,6,9,7,1}, {3,1,3,9,7,3,7,6,1,5,5,6,6,9,2,9,8,2,8,5,9,2,3,2,1,5,1,9,6,1,1,9,2,1,7,3,2,9,5,3,9,9,1,3,9,6,5,2,1,1,4,1,1,6,5,8,1,1,8,8,1,2,9,3,3,9,1,1,9,9,7,3,7,5,8,7,5,3,6,1,1,1,3,3,1,3,3,1,1,9,6,4,1,9,1,5,6,7,9,8}, {2,4,7,3,1,9,2,9,8,1,9,4,8,2,2,7,9,8,7,1,1,1,6,8,7,4,8,6,5,3,2,1,1,9,9,9,4,8,9,7,3,4,1,1,1,4,5,7,4,6,2,9,3,3,9,1,2,4,2,1,9,1,6,4,5,3,6,8,2,4,7,3,4,7,9,9,4,7,8,8,3,2,6,1,3,1,1,1,8,1,6,5,8,8,1,9,1,1,4,8}, {4,3,1,1,1,5,2,7,7,9,4,9,5,1,7,6,9,2,6,5,2,7,1,7,2,1,1,6,9,7,9,9,3,7,3,5,6,8,9,1,1,7,1,3,3,2,2,4,3,3,6,1,9,1,2,4,2,7,5,7,4,9,3,3,9,9,9,7,5,9,5,9,1,5,3,3,2,5,8,4,5,4,2,2,8,3,1,9,7,9,7,4,3,6,2,9,5,1,3,9}, {4,2,9,6,7,9,4,5,9,7,6,4,2,2,9,7,9,1,1,7,6,2,6,1,2,5,9,2,2,4,7,7,5,9,5,1,9,8,6,9,4,4,3,1,9,8,1,1,8,2,9,1,8,7,5,9,8,8,3,9,9,9,3,7,9,6,1,1,6,2,2,1,2,1,4,7,5,2,3,6,1,1,4,2,5,2,8,4,1,1,2,2,6,2,7,4,5,7,1,1}, {2,9,1,9,4,2,6,1,2,1,3,1,1,1,3,5,2,6,3,3,2,4,9,3,9,7,2,6,8,3,2,9,3,1,1,3,7,9,7,3,6,1,1,1,9,9,9,2,1,3,2,1,5,2,3,7,9,1,6,2,1,1,4,1,5,1,3,2,2,2,8,6,3,5,6,7,6,5,4,9,6,2,6,1,8,1,3,7,1,1,1,3,9,2,8,9,4,4,2,2}, {4,6,3,4,9,1,5,1,8,1,6,9,9,1,8,1,5,7,2,1,5,3,3,9,5,2,1,1,6,6,1,9,8,7,5,6,2,1,3,1,2,1,1,4,8,1,1,2,9,1,1,7,4,7,8,1,3,1,4,2,4,1,1,4,2,4,1,1,7,8,9,2,1,2,2,7,5,1,7,2,8,8,6,7,9,7,2,2,3,2,8,9,8,6,8,2,3,9,2,2}, {6,2,9,7,7,1,9,1,2,1,1,1,3,6,6,9,9,8,1,5,9,2,3,2,6,1,9,1,3,9,4,8,3,4,4,1,4,4,8,5,9,8,8,8,1,9,7,6,1,1,6,6,8,1,2,1,9,7,4,2,9,1,1,9,9,2,1,3,1,5,7,4,7,3,1,8,1,1,1,2,1,8,1,8,1,9,9,2,5,8,6,1,2,6,9,9,3,9,1,9}, {3,3,1,8,6,1,4,2,4,1,1,3,9,1,1,3,1,5,9,1,1,6,7,1,9,4,1,1,2,3,6,5,9,3,7,7,2,7,1,5,9,4,6,2,9,3,5,3,1,8,2,5,2,1,3,6,4,9,3,2,5,4,2,7,7,1,7,6,3,3,1,6,2,1,4,4,9,7,4,4,8,2,9,5,9,8,9,9,8,2,6,7,1,6,5,9,7,5,2,1}, {2,3,8,3,4,1,9,1,5,7,2,4,2,9,1,9,6,3,7,2,1,1,1,2,9,8,1,1,1,1,8,5,1,5,6,3,3,2,1,5,6,9,2,3,9,7,3,1,5,1,1,5,1,9,5,9,9,1,9,8,9,1,2,4,8,7,6,1,9,3,3,1,5,4,5,9,9,1,8,9,7,1,9,7,3,4,8,9,4,9,4,9,1,1,2,8,3,2,1,7}, {9,5,2,1,5,2,9,1,9,4,9,8,1,5,1,7,9,8,1,2,3,2,9,7,9,6,6,9,7,9,2,4,8,7,4,4,2,1,2,9,5,9,7,9,7,9,2,2,6,3,1,1,9,3,8,4,8,8,1,9,5,9,2,4,4,3,6,9,2,8,5,4,1,1,2,1,2,1,4,6,3,9,1,1,9,3,3,7,9,3,5,1,9,9,9,9,1,1,1,7}, {2,1,9,2,1,8,9,9,7,1,2,9,9,1,7,5,7,7,1,1,1,7,8,6,8,5,6,3,4,7,8,5,3,3,2,3,7,9,3,8,9,9,4,9,6,2,1,3,3,1,9,9,3,6,6,9,5,1,1,2,2,7,3,4,1,8,6,7,1,1,5,2,7,3,9,9,9,3,1,7,9,4,7,6,3,6,8,6,9,9,1,5,1,4,8,1,4,6,6,2}, {7,8,8,1,9,1,3,1,3,8,1,1,4,9,5,5,4,6,1,1,3,5,9,2,4,1,4,9,2,2,2,7,3,8,3,8,1,1,7,9,3,9,6,8,4,3,2,9,1,2,4,4,7,6,7,3,1,2,2,9,1,2,6,7,2,4,7,6,4,2,3,1,7,6,7,1,9,1,1,9,8,6,2,5,6,9,9,5,9,6,1,4,2,2,1,6,1,9,5,9}, {3,8,4,3,3,6,2,1,4,1,4,4,3,2,2,2,6,4,4,2,1,2,3,7,9,3,1,4,2,3,2,8,4,7,2,4,7,9,7,2,1,1,8,2,2,4,5,4,4,2,2,4,9,1,9,8,1,9,4,5,1,9,1,1,8,3,3,6,1,9,8,2,6,7,1,9,7,7,9,5,2,7,5,7,1,9,2,9,7,1,8,1,9,6,8,5,8,1,4,5}, {8,3,8,5,1,6,2,5,3,7,3,1,8,6,3,3,3,6,1,1,3,7,1,9,3,8,9,7,8,3,2,9,6,2,2,9,7,6,7,6,4,6,4,9,1,2,2,6,4,1,2,3,1,1,7,3,9,4,3,9,1,8,2,9,1,9,6,2,6,1,3,1,8,8,4,1,9,5,9,9,9,8,8,3,7,8,1,4,9,1,9,9,2,4,9,2,2,9,5,3}, {8,2,2,1,2,1,2,1,1,9,3,3,4,7,2,9,1,4,1,9,8,4,3,8,9,1,9,1,1,1,4,4,8,3,5,1,7,8,9,8,9,2,7,1,1,2,5,4,5,1,6,6,1,9,2,7,1,1,2,9,3,8,2,3,9,1,2,5,5,3,3,2,2,5,5,3,1,9,7,8,1,9,1,5,7,7,7,6,6,4,7,5,1,6,9,3,9,1,4,1}, {3,2,5,5,6,1,9,5,7,2,2,3,1,8,7,4,7,7,1,1,8,1,6,1,9,6,2,8,2,7,8,5,4,2,9,5,7,2,8,4,2,7,8,9,8,5,7,1,5,1,2,7,3,1,9,5,2,1,4,4,5,7,1,1,2,1,3,4,8,3,7,8,1,6,8,3,7,9,1,8,7,5,8,2,3,1,1,5,1,1,2,1,7,1,1,6,1,5,9,3}, {5,1,2,8,1,2,2,9,8,3,9,4,5,2,7,5,8,8,2,6,9,4,9,5,3,9,3,4,1,1,1,5,8,5,5,1,1,2,8,2,9,3,9,9,2,5,8,6,6,9,7,3,6,6,2,6,7,7,1,2,1,8,2,1,9,2,3,9,6,5,9,4,5,7,9,6,2,8,5,4,3,1,7,1,9,5,4,2,6,1,6,1,3,8,1,5,8,1,8,8}, {1,1,1,4,7,1,4,1,8,7,8,5,2,1,7,9,7,9,1,9,2,5,9,4,4,8,2,9,2,7,7,9,2,8,3,6,5,3,9,1,6,2,5,8,9,6,3,7,1,2,9,7,2,2,9,2,7,9,8,5,6,6,9,7,2,7,3,9,1,1,1,1,8,4,8,4,7,1,1,3,8,1,5,1,1,7,5,7,9,3,1,8,6,7,2,1,5,6,4,9}, {2,1,3,6,9,9,5,1,1,2,3,9,3,9,6,9,4,1,1,1,1,5,1,1,7,8,1,1,3,9,2,5,7,8,5,9,7,2,9,6,8,2,4,1,8,6,3,5,1,3,9,3,1,4,8,8,2,7,9,1,3,3,1,7,2,1,4,1,7,7,9,2,9,2,6,8,2,2,7,3,4,3,3,1,3,3,5,3,8,9,3,9,2,3,5,1,1,6,3,2}, {4,4,2,5,4,7,9,8,8,7,7,6,6,4,9,3,3,9,1,8,9,8,6,2,7,1,8,6,1,4,2,9,5,1,1,9,3,9,7,2,6,9,8,4,5,1,2,1,5,5,1,9,1,1,4,9,8,3,9,1,1,2,2,7,1,7,9,6,2,2,1,4,6,9,5,4,1,7,2,4,1,8,9,9,2,3,4,1,8,2,6,1,1,2,1,6,7,8,6,6}, {5,1,1,1,3,8,7,1,9,6,8,1,1,2,5,3,3,9,5,6,3,1,3,1,4,4,5,9,1,3,2,2,1,7,4,1,6,2,3,4,8,2,8,7,4,3,9,3,1,5,9,6,1,3,4,1,2,8,1,4,1,9,6,9,1,4,1,1,5,8,6,8,6,8,1,1,3,5,3,1,5,2,1,2,1,6,1,6,9,3,1,9,6,4,7,9,7,8,9,1}, {1,2,8,1,9,8,1,8,5,3,8,8,4,1,4,1,4,9,1,1,2,9,1,9,2,2,1,1,4,6,6,2,2,2,9,1,2,3,8,4,3,9,7,7,8,1,3,1,8,3,7,6,5,1,8,3,1,8,1,5,1,5,6,9,5,1,6,7,3,8,2,9,6,5,9,9,9,2,2,3,7,4,6,8,7,1,9,3,9,2,4,8,1,1,5,7,5,1,5,1}, {4,2,1,4,1,6,8,9,4,5,7,2,2,2,1,1,5,5,1,5,8,9,8,1,4,1,7,3,1,6,7,4,2,6,1,1,1,9,7,9,8,9,5,6,1,5,3,3,5,4,7,9,3,5,3,7,4,1,9,8,9,7,1,9,8,9,9,3,2,1,8,2,8,3,1,1,8,9,2,8,9,8,1,3,1,9,9,8,1,1,9,3,7,9,7,7,8,9,7,1}, {1,6,9,8,1,2,6,5,1,4,4,8,9,3,9,9,1,1,2,9,2,9,1,7,5,9,9,4,1,3,1,9,1,4,4,3,1,6,1,1,3,4,2,7,7,2,1,2,1,9,3,4,9,2,5,4,3,2,3,4,4,5,4,4,4,2,3,9,1,3,8,3,9,9,1,5,8,3,2,9,9,2,3,7,1,3,6,1,4,2,6,2,5,4,6,8,8,9,7,1}, {2,6,1,1,7,4,1,2,2,3,5,1,1,6,9,7,9,5,7,2,5,6,7,1,2,6,7,7,1,5,7,9,9,4,4,7,1,2,2,9,1,1,9,9,1,2,4,7,9,1,1,6,2,3,8,3,2,9,2,1,8,1,5,9,1,1,8,3,1,9,4,1,7,1,1,2,7,1,1,2,5,1,1,1,5,7,4,1,4,3,2,2,9,8,9,9,1,6,7,5}, {1,9,8,6,1,9,9,3,2,2,4,1,9,2,6,9,9,4,8,1,2,3,9,9,7,1,1,9,1,4,1,4,1,7,2,7,6,1,8,1,1,2,2,3,8,6,5,8,7,5,7,3,9,9,9,4,4,8,6,2,5,9,9,8,9,7,9,1,3,7,4,4,4,1,3,9,1,1,8,6,6,1,2,3,1,9,1,6,2,9,9,2,1,6,2,3,7,8,1,6}, {1,1,9,2,6,9,2,2,9,9,3,2,5,5,4,7,9,8,3,9,5,3,1,5,7,2,7,3,5,9,4,1,9,1,6,8,7,1,1,1,7,7,3,5,7,4,1,1,1,8,3,1,1,3,9,9,1,9,1,7,9,1,1,7,1,8,2,2,1,1,5,3,7,3,1,7,1,9,1,4,9,2,6,1,2,9,9,6,4,8,2,1,2,5,7,1,9,1,3,5}, {2,6,1,8,1,3,7,3,6,9,1,9,1,5,5,6,7,7,3,5,7,1,9,4,9,5,2,9,4,5,1,5,5,1,8,1,1,1,8,7,9,3,9,8,5,5,1,2,1,3,9,2,2,6,2,9,8,1,1,1,6,1,9,4,3,1,6,1,3,1,9,5,9,1,5,5,4,9,1,5,6,2,1,8,2,4,1,1,3,5,1,2,5,9,9,6,3,1,9,7}, {8,2,9,1,2,2,7,8,3,2,7,7,1,2,4,4,6,3,1,1,8,3,2,8,9,5,1,2,1,1,5,1,4,5,4,3,1,9,2,1,1,7,9,3,5,1,5,9,9,2,3,9,9,9,1,8,8,9,7,2,1,7,4,9,5,1,9,2,7,7,2,2,7,8,1,9,1,9,6,2,8,4,5,7,8,3,1,2,7,1,1,1,1,4,7,7,1,9,3,3}, {8,9,8,1,9,6,2,1,7,9,7,3,8,4,6,3,5,7,9,2,4,2,1,9,2,1,8,1,5,6,3,5,2,3,7,4,4,9,3,8,9,3,2,3,3,8,6,2,9,4,1,8,1,2,3,1,1,8,1,6,5,3,8,3,6,2,9,8,3,3,2,1,4,1,9,9,6,1,9,6,5,5,9,7,3,4,1,1,2,5,8,2,8,7,2,9,4,1,1,1}, {8,6,1,9,9,1,5,7,4,3,6,1,7,9,3,9,5,1,3,9,2,9,2,1,9,2,1,4,9,6,9,2,8,1,9,2,9,9,9,1,5,6,1,3,9,1,4,3,1,1,2,8,9,1,3,8,8,3,5,7,1,1,9,9,7,9,4,3,2,9,2,7,4,2,2,7,2,9,7,7,7,1,4,8,1,9,6,4,1,9,1,9,5,9,3,1,9,8,5,4}, {9,6,6,1,9,2,1,8,9,6,1,4,8,8,1,6,2,7,4,3,2,9,4,1,3,1,9,1,2,1,3,2,4,7,7,2,1,6,4,2,9,7,3,3,6,5,7,2,1,8,3,3,2,1,9,2,8,4,8,6,4,5,5,8,1,4,4,5,1,3,3,6,3,3,9,3,8,1,3,6,1,9,9,7,8,3,2,1,4,8,3,5,4,9,6,9,2,1,1,3}, {1,2,2,1,8,2,2,3,7,9,3,4,7,9,9,9,1,3,6,2,1,1,1,3,6,2,1,8,6,7,1,7,1,9,1,9,1,1,6,1,2,8,7,5,3,9,7,4,3,5,3,3,3,8,9,1,1,1,5,7,1,9,2,1,7,2,9,9,8,1,9,9,6,9,5,1,1,7,1,9,1,7,5,1,1,8,9,4,9,1,9,2,2,2,4,5,8,3,3,8}, {9,1,7,9,8,1,4,4,3,9,1,2,8,8,8,2,3,3,3,1,6,9,1,7,5,9,2,6,6,3,5,7,4,6,9,7,1,1,2,3,3,4,9,5,9,8,1,6,4,1,8,5,7,3,6,1,2,9,1,6,1,4,2,6,3,2,3,6,4,4,5,4,3,7,8,3,6,9,6,3,9,1,9,7,7,8,8,8,4,4,6,2,8,2,1,5,8,1,9,3}, {8,9,1,9,9,4,1,1,1,5,1,6,2,1,9,7,8,1,4,1,1,2,6,8,9,5,8,9,2,4,9,9,3,9,9,1,3,1,2,2,1,4,8,3,8,7,9,5,8,4,8,4,3,9,6,6,6,7,7,2,1,4,1,9,1,9,9,7,8,8,1,6,1,1,9,1,4,9,4,1,4,7,9,5,4,3,2,9,3,1,9,4,5,1,3,6,8,2,2,7}, {1,2,8,3,3,8,3,9,3,9,1,8,9,5,1,1,8,8,3,9,9,8,6,5,4,6,2,9,1,7,2,4,4,8,1,5,1,1,2,8,7,6,2,1,8,4,6,3,6,3,1,4,9,3,7,1,7,2,6,1,8,5,8,9,3,1,3,1,2,3,8,4,8,7,7,6,9,3,9,1,3,5,3,8,3,6,8,1,8,1,1,6,5,4,4,7,1,5,2,2}, {4,7,1,5,6,1,9,1,8,9,1,1,9,7,3,9,1,9,2,6,3,4,9,9,1,9,2,1,9,9,8,8,4,4,7,1,4,3,9,6,9,3,9,5,8,3,5,1,9,2,9,9,4,9,2,3,3,7,9,1,1,1,3,6,3,9,8,4,7,4,1,4,9,8,1,1,1,5,1,1,4,5,4,6,1,9,3,3,1,3,4,8,7,4,1,4,2,8,2,8}, {1,1,1,7,4,8,1,5,7,3,8,9,5,9,4,1,9,3,9,4,2,4,5,1,8,3,4,9,3,9,2,9,9,7,4,7,3,4,4,9,6,7,1,4,6,1,9,3,5,9,4,6,8,8,1,1,8,1,3,1,2,6,5,2,5,9,1,6,8,2,5,3,9,1,9,7,6,8,5,8,3,4,6,2,1,1,6,2,2,6,3,2,1,8,6,8,3,1,9,8}, {9,3,9,4,5,6,2,8,9,9,9,1,1,6,5,2,7,2,7,3,8,8,3,9,8,5,6,8,1,2,3,2,4,1,8,2,7,1,4,1,7,3,8,3,5,7,1,4,3,2,7,7,7,2,2,1,2,4,5,9,4,3,6,6,3,9,2,6,8,2,4,6,6,1,9,1,1,1,9,9,8,8,9,1,1,9,9,2,6,6,3,2,3,8,7,6,4,7,7,1}, {2,5,8,5,9,6,6,9,9,6,8,1,8,1,4,4,1,2,2,9,5,9,3,4,1,1,1,2,6,9,3,7,1,8,1,7,5,5,1,1,9,1,2,6,7,8,9,1,9,1,9,5,9,5,8,8,9,9,2,8,2,3,1,2,7,7,9,8,2,3,3,1,1,9,4,5,8,1,1,9,1,7,4,1,2,1,8,9,1,6,9,1,9,1,9,1,4,6,1,9}, {1,8,4,8,4,9,5,4,4,3,4,1,7,2,6,6,1,2,1,1,1,2,6,3,4,4,2,4,2,7,1,5,5,5,6,7,6,3,9,6,4,4,3,3,7,3,3,2,4,8,3,8,2,1,4,4,9,7,8,3,2,6,1,4,3,9,6,1,8,7,4,1,8,1,9,2,1,8,8,9,1,8,1,4,6,2,8,4,1,7,1,1,7,3,4,2,1,7,4,9}, {6,2,1,9,8,9,5,8,9,7,8,3,1,8,2,9,3,7,9,7,1,4,1,1,3,9,7,2,3,1,7,8,1,8,9,2,9,6,9,7,6,1,2,5,3,5,3,5,8,2,5,1,8,9,6,3,2,4,9,1,7,7,7,2,6,9,1,8,9,8,2,7,9,8,9,6,6,6,9,6,1,2,5,3,9,5,9,1,1,4,7,1,5,2,4,8,9,3,3,8}, {6,1,1,5,6,1,2,9,1,2,1,1,2,1,1,3,3,2,4,2,4,2,1,6,7,9,9,4,4,3,5,1,4,8,6,4,5,9,1,1,8,6,7,7,8,7,1,3,6,2,6,7,2,1,1,7,8,1,2,1,3,9,1,7,1,1,1,5,4,6,1,5,7,2,1,2,1,4,9,2,8,7,3,3,1,1,2,9,9,9,2,3,1,7,8,8,7,1,5,1}, {6,1,1,8,1,6,9,1,2,8,9,2,7,8,9,2,4,8,4,3,1,1,5,1,2,1,3,1,6,2,1,9,6,7,6,4,2,9,1,9,3,2,4,3,4,1,5,2,9,2,6,3,8,9,1,3,3,7,9,1,1,4,1,1,1,2,9,4,9,2,1,6,2,6,1,2,7,7,6,8,9,9,1,2,1,9,3,1,2,4,8,8,8,2,1,3,9,6,4,4}, {6,8,8,4,8,3,8,2,9,6,7,8,2,6,9,2,2,8,1,1,5,8,8,2,2,3,2,6,8,1,4,1,3,1,7,2,5,1,8,4,9,1,6,1,8,7,1,9,4,5,4,6,9,9,1,9,1,2,8,9,9,8,2,4,4,3,4,8,1,2,7,1,8,7,3,5,6,3,1,8,1,9,6,5,3,7,9,1,9,9,8,1,9,3,8,4,1,2,6,4}, {3,4,8,5,2,2,7,7,5,9,1,4,2,9,9,1,9,5,6,2,2,1,8,1,3,2,8,1,6,6,4,2,8,9,3,3,5,7,3,1,6,2,1,1,2,3,1,8,8,2,9,1,1,3,4,9,9,5,5,6,2,6,3,9,5,3,1,8,6,3,8,8,8,2,1,1,7,5,1,9,5,1,1,2,2,5,5,2,2,3,6,9,9,7,3,3,4,8,5,2}, {4,8,4,5,1,4,1,1,1,1,2,4,1,1,9,2,1,6,1,5,3,7,8,7,6,5,1,6,1,9,8,7,8,2,1,6,7,2,6,9,1,3,2,5,8,1,5,2,2,2,1,1,1,7,9,7,1,2,9,1,5,3,8,7,2,5,7,1,8,1,1,3,3,4,9,1,2,6,7,1,9,9,4,5,1,1,2,2,2,6,5,4,9,9,9,2,2,6,5,9}, {2,4,7,7,8,4,8,4,8,8,6,3,4,9,6,8,2,5,7,4,9,1,1,7,1,2,9,1,5,1,9,2,2,4,4,1,2,5,8,1,9,9,6,4,1,7,3,7,1,4,1,1,9,3,1,3,9,4,3,7,2,2,1,9,3,3,8,5,4,5,6,1,1,1,8,1,5,2,3,9,3,1,2,9,3,4,2,4,1,9,6,3,8,1,1,1,5,9,3,6}, {8,9,1,1,3,1,9,7,1,2,2,3,8,9,2,1,2,3,9,9,4,8,8,8,3,4,1,9,9,9,1,9,3,8,2,5,4,3,1,9,8,2,1,2,2,1,1,6,3,7,4,6,1,2,1,1,9,4,3,4,9,6,4,1,7,3,9,8,3,1,8,2,9,9,6,6,8,2,1,8,9,7,7,5,2,7,2,2,9,8,1,5,3,7,5,6,2,2,9,1}, {8,2,9,2,4,7,8,5,7,3,1,6,8,6,7,7,9,9,9,8,1,2,3,9,1,2,8,6,9,9,3,6,6,6,1,9,2,9,1,4,5,1,1,3,9,9,3,1,9,1,3,8,9,4,5,5,5,4,9,9,9,3,9,2,8,9,4,8,1,9,4,2,3,1,8,1,9,6,6,1,6,6,4,8,8,1,8,1,8,9,1,9,6,9,1,3,1,7,4,9}, {3,2,6,4,1,7,3,3,1,1,1,7,9,5,1,7,3,7,5,1,9,3,2,1,9,4,9,1,8,3,2,9,1,4,3,9,2,2,1,8,3,8,9,9,3,1,4,9,2,9,4,1,4,2,6,1,3,2,2,4,8,4,6,7,5,8,6,9,1,9,9,9,7,5,2,9,1,3,8,8,3,8,8,2,6,1,4,1,8,9,2,4,3,7,9,7,7,5,6,3}, {8,3,1,9,9,3,6,9,9,3,8,8,2,4,5,7,3,2,7,1,2,5,9,9,1,9,5,6,2,7,8,8,1,4,8,2,9,1,1,8,4,2,1,3,2,1,9,2,2,3,7,5,7,6,9,7,7,6,4,3,6,6,8,3,2,1,1,3,1,3,7,5,6,2,1,1,5,3,4,9,6,8,7,2,9,6,1,8,5,2,1,8,8,2,2,2,6,1,2,7}, {8,6,3,8,5,9,9,9,9,4,1,3,1,4,6,1,5,5,7,1,1,3,5,7,8,4,4,9,4,2,3,4,7,2,6,3,8,3,3,4,1,1,1,7,4,5,9,3,4,2,1,4,2,3,9,2,3,4,9,2,9,9,2,5,2,2,9,7,1,2,1,2,7,8,9,7,9,8,9,7,3,2,9,2,3,4,8,3,2,7,1,1,9,1,4,1,1,5,9,6}, {1,5,2,3,4,1,9,9,6,8,1,9,4,1,4,9,8,1,5,2,1,2,1,7,4,3,3,3,8,5,3,1,5,1,9,1,9,1,2,8,5,9,9,1,1,6,1,1,6,5,1,8,4,1,3,3,1,5,1,5,8,6,8,9,1,8,1,1,1,9,6,4,3,8,4,2,3,7,1,9,2,2,3,5,2,5,9,8,2,1,4,1,1,2,7,2,9,1,1,1}, {1,2,2,4,1,8,9,1,6,1,1,9,5,9,9,3,4,3,9,4,2,1,6,1,1,6,3,1,9,1,2,8,6,7,1,6,3,9,9,9,2,2,2,3,3,5,5,1,9,8,7,9,6,3,6,7,2,3,2,8,4,4,1,9,4,9,6,8,6,5,2,9,2,8,7,1,2,5,1,2,6,1,6,3,4,3,6,9,9,8,1,2,7,6,4,3,1,2,1,6}, {7,9,1,7,8,3,2,7,1,5,8,6,4,3,4,3,1,7,9,9,4,4,3,1,7,9,5,4,4,9,4,7,4,8,1,8,1,7,4,7,4,4,9,1,1,9,1,2,9,4,2,1,1,9,9,1,3,4,1,9,3,9,8,5,1,6,8,1,4,3,6,9,3,1,4,2,1,3,1,1,2,1,1,8,9,2,2,4,2,1,4,1,1,6,1,2,9,7,8,9}, {1,9,9,5,2,7,4,6,1,4,7,8,4,2,1,4,5,5,9,8,4,9,8,4,1,1,8,8,1,5,1,3,8,1,8,9,2,3,1,2,1,3,7,2,3,1,5,5,5,8,8,1,2,3,4,7,1,2,1,4,3,5,9,2,5,3,1,7,8,1,6,9,4,1,5,9,1,9,7,1,4,3,2,9,8,1,1,9,3,4,9,5,7,6,3,1,3,2,8,8}, {6,8,7,2,6,7,6,8,6,9,6,2,1,9,8,7,2,6,3,2,5,7,6,7,7,4,9,3,1,5,8,6,9,6,2,1,6,2,3,2,1,4,1,8,8,9,1,3,7,1,4,4,8,9,2,1,4,9,2,1,2,2,5,2,6,4,3,4,2,9,6,9,1,4,5,9,1,2,7,5,2,5,3,9,6,6,1,8,7,2,2,2,2,8,2,1,1,3,5,5}, {9,5,2,9,1,3,1,3,1,2,1,9,8,1,2,7,1,9,5,1,4,6,6,1,1,1,3,9,9,5,7,1,6,9,3,7,5,9,4,5,8,1,7,1,9,9,8,8,6,3,8,5,7,3,4,4,2,4,1,2,5,6,6,8,9,5,5,2,5,4,3,9,1,7,4,9,1,7,2,2,8,7,4,9,5,2,2,1,4,3,3,9,3,9,3,4,6,2,7,1}, {1,3,1,7,5,9,7,2,2,1,3,2,4,6,3,9,2,6,8,8,2,1,9,5,6,3,1,6,8,3,1,7,1,8,9,2,3,8,1,8,7,3,1,1,9,3,9,2,4,3,4,1,1,4,8,8,9,5,3,1,9,2,2,3,5,2,8,1,3,9,9,1,1,9,8,1,1,1,8,6,1,8,3,9,2,2,8,1,2,9,9,8,1,5,4,1,5,4,8,4}, {6,3,1,1,4,9,1,1,3,6,9,2,9,6,2,5,4,2,2,2,6,4,1,2,2,9,3,4,9,5,9,5,3,7,4,4,1,3,1,1,7,2,9,1,1,9,9,2,1,6,1,9,1,3,3,2,1,9,1,2,7,3,9,1,9,1,1,5,9,1,1,7,3,7,7,5,1,8,8,9,8,8,2,2,1,1,4,5,4,7,5,2,8,6,4,7,9,2,4,7}, {2,2,1,4,6,6,9,4,7,6,1,2,2,9,5,9,7,1,8,4,5,1,9,2,9,7,4,6,2,1,1,3,9,2,8,6,1,5,4,1,9,1,7,9,1,7,1,1,1,3,5,5,1,4,9,6,7,2,9,1,9,1,8,2,9,9,8,4,8,6,7,5,1,5,9,1,4,2,4,8,7,5,2,6,2,8,9,9,7,4,1,9,1,1,9,9,1,9,6,6}, {5,4,8,7,7,1,7,2,9,6,1,1,9,8,9,4,1,4,1,5,6,8,1,9,8,1,4,1,7,9,4,9,2,9,2,3,3,5,5,4,1,1,8,1,3,4,8,1,5,4,1,9,5,8,1,7,5,2,3,4,8,1,8,8,1,6,9,4,9,8,4,2,1,9,1,2,9,1,1,8,6,3,8,1,1,1,9,9,8,1,2,5,7,7,4,1,9,2,2,8}, {3,2,8,7,3,4,7,1,8,9,8,9,9,1,1,6,7,6,4,1,3,9,9,9,6,1,7,2,2,1,1,7,1,8,2,2,1,4,6,1,1,5,6,3,4,8,1,9,6,2,7,8,8,8,2,2,9,3,3,1,9,4,5,8,1,2,6,3,2,6,2,7,5,1,8,2,6,1,8,4,2,9,1,7,6,6,1,9,4,7,8,6,2,2,5,6,7,1,3,8}, {1,2,1,7,3,3,9,8,2,7,4,5,3,2,2,2,1,9,4,1,7,8,2,9,4,7,1,3,3,5,1,1,3,7,2,1,5,1,1,9,1,5,3,3,2,3,8,9,7,9,7,6,2,1,1,8,4,4,1,9,1,3,1,1,5,8,8,7,5,3,9,4,2,2,2,1,1,9,2,9,1,5,1,2,7,5,9,1,6,6,4,6,1,8,6,3,4,5,6,6}, {8,3,9,1,2,2,9,7,2,1,6,2,1,9,1,4,8,3,8,8,9,7,7,6,1,1,4,1,8,9,1,4,9,2,9,7,5,2,1,2,1,2,6,1,1,3,8,7,6,5,2,3,9,3,2,9,7,1,4,1,1,1,8,2,6,3,1,2,9,2,1,7,7,2,1,9,1,9,2,7,4,1,1,2,9,9,6,2,2,2,3,7,6,3,5,8,8,1,8,1}, {9,2,8,1,3,9,5,9,8,1,7,8,3,7,1,5,4,1,4,9,6,7,5,9,4,9,5,6,4,3,2,8,4,9,9,4,2,2,7,8,1,9,3,9,2,5,4,7,1,4,9,1,2,8,9,5,2,3,6,1,6,2,2,2,4,9,5,1,6,9,7,8,5,2,3,2,9,1,1,4,1,4,5,1,6,3,2,8,9,6,2,9,9,9,9,7,4,9,7,8}, {7,5,3,6,5,6,8,1,3,7,2,8,4,6,9,1,7,7,8,2,7,1,6,4,1,2,3,8,2,2,9,7,1,1,1,4,1,6,2,1,8,2,6,1,8,1,9,8,7,9,1,2,3,5,7,9,8,3,1,1,9,9,2,9,8,6,9,9,1,1,5,8,2,2,9,6,2,1,9,1,7,1,1,8,9,7,2,5,6,1,5,2,1,2,1,2,4,4,6,5}, {9,5,9,5,5,8,3,2,6,1,8,9,6,8,1,8,1,3,9,5,8,3,6,1,3,9,2,2,1,6,2,7,1,6,2,4,3,3,1,7,1,5,7,9,2,1,5,9,3,9,2,1,8,1,8,2,1,3,9,1,3,9,9,3,1,3,5,8,1,1,1,3,9,5,1,1,6,4,6,1,3,8,1,8,3,2,7,3,7,3,1,1,7,7,2,9,9,7,4,4}, {1,4,7,8,3,3,5,2,4,3,3,7,6,9,7,5,2,9,3,5,2,1,9,9,5,9,9,4,2,3,4,1,6,6,5,1,8,1,1,2,9,4,5,2,8,9,2,8,2,9,1,5,4,7,6,5,4,7,3,9,8,2,3,1,5,7,1,8,8,5,9,2,9,4,5,1,2,3,8,1,6,1,2,6,5,9,1,8,2,8,6,3,9,6,5,2,7,1,4,3}, {3,5,8,9,6,5,9,2,3,1,8,3,8,8,7,1,7,5,8,5,3,3,9,2,1,8,2,1,8,2,6,4,1,1,1,2,8,7,7,8,2,1,4,8,7,5,1,9,5,4,9,3,6,1,3,8,9,7,8,8,7,8,1,8,9,9,4,1,8,6,8,6,2,4,5,2,9,1,1,9,2,1,2,1,9,7,5,2,4,3,4,7,2,8,1,5,9,1,7,8}, {1,5,1,9,8,2,2,3,1,8,6,1,5,1,1,8,9,3,9,4,9,2,5,8,1,1,4,8,9,1,9,7,1,7,2,2,6,1,9,5,1,1,4,2,9,2,3,8,3,8,7,4,8,9,9,6,6,9,2,9,1,8,5,2,3,3,3,9,9,1,7,4,2,1,9,8,3,6,2,7,2,5,9,9,5,2,5,9,7,9,1,9,4,3,3,3,3,2,1,1}, {9,7,9,5,9,1,4,5,9,6,6,3,9,9,2,2,7,2,6,2,7,4,1,9,1,9,2,3,2,2,9,2,4,3,2,9,3,2,9,1,8,6,3,1,2,5,9,3,9,2,1,1,6,1,6,9,6,9,5,2,1,5,4,9,3,4,1,9,4,2,5,4,4,7,8,2,4,8,2,7,1,1,2,1,8,4,6,7,8,7,2,8,5,2,3,1,8,2,1,7}, {5,6,1,3,2,8,9,5,1,9,1,4,1,1,2,1,7,3,9,8,3,9,2,9,3,8,7,8,9,5,9,2,8,2,2,3,1,3,1,6,1,9,2,1,3,3,2,1,1,4,9,6,9,3,9,3,4,7,1,4,4,7,9,1,9,5,9,9,1,5,1,7,9,7,4,6,6,7,1,9,5,7,9,1,9,6,2,1,3,1,3,5,9,5,2,8,4,1,4,2}, {9,1,8,1,1,3,1,7,3,1,2,8,8,7,4,4,1,8,2,3,6,7,1,9,8,1,3,8,9,7,1,9,2,3,9,2,1,1,7,9,6,1,8,8,6,2,2,1,9,4,1,2,3,1,8,2,1,7,7,9,7,1,4,2,4,8,1,3,8,9,3,2,5,9,2,3,5,2,5,3,1,3,2,7,1,6,2,9,9,3,8,1,8,5,8,8,2,4,7,2}, {5,5,5,1,5,1,1,3,6,8,1,1,8,7,4,1,1,2,1,3,6,7,4,1,7,3,6,9,9,4,9,8,1,4,3,1,4,2,6,1,3,9,6,1,1,2,7,9,1,2,5,8,1,2,9,7,5,3,2,7,1,6,2,1,3,1,2,2,7,2,6,4,9,2,7,5,2,8,9,1,8,4,5,6,8,1,9,9,4,8,1,9,4,8,3,1,3,9,3,5}, {2,2,4,1,3,7,9,9,1,6,1,1,3,9,9,9,6,1,1,1,1,6,3,8,4,2,6,1,1,5,3,7,9,1,2,5,1,1,9,6,4,4,1,7,1,1,9,7,8,7,2,1,7,1,9,8,5,3,1,2,1,2,6,1,1,6,1,2,4,9,5,1,1,3,3,5,2,9,5,4,3,4,2,3,9,1,9,2,1,2,2,4,7,5,3,4,1,4,3,9}, {2,9,5,3,3,9,1,9,2,3,2,4,5,4,6,9,3,7,1,8,8,9,4,2,7,1,1,3,8,3,8,3,1,4,1,9,7,8,6,2,3,6,3,1,9,7,7,6,9,4,1,8,6,4,1,7,1,4,1,4,9,4,3,9,1,2,3,1,1,9,2,7,1,2,9,9,7,6,5,9,9,9,9,8,1,5,5,4,9,2,1,2,1,2,2,4,2,2,3,2}, {2,4,2,9,1,9,6,1,1,7,6,6,8,7,3,1,2,3,9,9,8,3,1,2,9,2,6,1,4,2,1,9,1,3,3,9,4,8,1,1,2,6,2,3,3,8,2,2,2,1,7,7,4,2,5,2,2,5,5,8,7,6,1,2,7,1,6,8,2,8,9,5,2,1,9,3,5,1,1,2,5,5,1,5,6,7,9,2,9,6,8,1,3,3,9,2,4,5,1,1}}; char path[500][500]; int cost[500][500]; int minimum; int step(int x, int y, int score, int depth) { path[x][y]=1; // printf("Testing cost [%d][%d] = %d\n",x,y,cost[x][y]); if(cost[x][y]) { if (minimum>score+cost[x][y]) { minimum=score+cost[x][y]; // printf("%d=%d+%d\n",minimum,score,cost[x][y]); // printf("Score: %d\n", score+map[x][y]); } } else if(depth<9){ //Right if (x<499 && !path[x+1][y]) step(x+1, y, score+map[x][y], depth+1); //Down if (y<499 && !path[x][y+1]) step(x, y+1, score+map[x][y], depth+1); //Up if (y && !path[x][y-1]) step(x, y-1, score+map[x][y], depth+1); //Left if (x && !path[x-1][y]) step(x-1, y, score+map[x][y], depth+1); } path[x][y]=0; } int main() { int i,j,x,y,jmax; for(x=0;x<5;x++) for(i=0; i<100; i++) for(j=0; j<100; j++) { map[x*100+i][j]=protomap[i][j]+x; if(map[x*100+i][j]>9) map[x*100+i][j]=map[x*100+i][j]-9; } for(y=1;y<5;y++) for(i=0; i<500; i++) for(j=0; j<100; j++) { map[i][j+100*y]=map[i][j]+y; if(map[i][j+100*y]>9) map[i][j+100*y]=map[i][j+100*y]-9; } for(x=0;x<5;x++) { for(y=0;y<5;y++) printf("%d",map[x*100+99][y*100+97]); printf("\n"); } for(i=0; i<500; i++) for(j=0; j<500; j++) { path[i][j]=0; cost[i][j]=0; } cost[499][499]=map[499][499]; x=498;y=499; for(i=997; i>=0; i--) { while (x<500 && y>=0) { printf("[%d,%d] (%d) ",x,y,map[x][y]); minimum=INT_MAX; step(x,y,0,0); cost[x][y]=minimum; printf("%d\n", minimum); x++; y--; } if(i>499) { x=i-500; y=499; } else { x=0; y=i-1; } } printf("Cost: %d\n",cost[0][0]-map[0][0]); return 0; }
the_stack_data/140.c
#include <stdio.h> int main() { int a,b, divisao, resto; scanf("%d %d", &a, &b); printf("%d %d\n", (a/b), (a%b)); return 0; }
the_stack_data/206392736.c
// succeeds int main() { typedef void v; }
the_stack_data/176706086.c
#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <pwd.h> int exists(char* fname); int cmd_exists(char* cmd); char* which(char* cmd); char* get_username(uid_t uid); int iseq(char* str1, char* str2); char* get_shell(); char* arg2cmd(int argc, char** argv); int main(int argc, char argv[]){ char* username = get_username(1000); if (getuid() == 0){ if (!exists("/run/debian")){ if (cmd_exists("systemd-tmpfiles") && exists("/run/systemd")){ system("systemd-tmpfiles --create"); }else if (cmd_exists("tmpfiles")){ system("tmpfiles --create"); } system("touch /run/debian"); } if (!exists("/run/dbus")){ system("mkdir -p /run/dbus"); } if (!exists("/run/dbus/system_bus_socket") && cmd_exists("dbus-daemon")){ system("dbus-daemon --system &>/dev/null"); } } setenv("PULSE_SERVER","127.0.0.1",1); char home[1024]; char runtime[1024]; if (iseq(getenv("ROOTMODE"),"1")){ setenv("USER","root",1); setenv("HOME","/root",1); strcpy(home,"/root"); }else{ setenv("USER",username,1); strcpy(home,"/home/"); strcat(home,username); setenv("HOME",home,1); char cmd[1024]; strcpy(cmd,"mkdir -p "); strcat(cmd,home); system(cmd); } chdir(home); strcpy(runtime,"/tmp/runtime-"); strcat(runtime,username); setenv("XDG_RUNTIME_DIR",runtime,1); if(!exists(runtime)){ char cmd[1024]; strcpy(cmd,"mkdir -p "); strcat(cmd,runtime); system(cmd); } if (iseq(getenv("ROOTMODE"),"1")){ chown(runtime,0,0); chown(home,0,0); }else{ chown(runtime,1000,1000); chown(home,1000,1000); } char line[1024]; strcpy(line,"/usr/share:"); if (getenv("XDG_DATA_DIRS")!= NULL){ strcat(line,getenv("XDG_DATA_DIRS")); } strcat(line,":/system/usr/lib/sulin/dsl/share"); setenv("XDG_DATA_DIRS",line,1); char cmd[1024]; strcpy(cmd,get_shell()); if(cmd_exists("dbus-launch") && !iseq(getenv("ROOTMODE"),"1")){ strcat(cmd," 'exec dbus-launch -- "); }else{ strcat(cmd," 'exec "); } strcat(cmd,arg2cmd(argc,(char**)argv)); strcat(cmd,"'"); char *args[] = { "bash", "-c", cmd, NULL }; execvp("bash", args); } char* arg2cmd(int argc, char** argv){ char* ret = malloc(1024*sizeof(char)); strcpy(ret,""); for(int i=1;i<argc;i++){ strcat(ret,argv[i]); strcat(ret," "); } return ret; } char* get_shell(){ if(getuid() == 0 && !iseq(getenv("ROOTMODE"),"1")){ char *ret = malloc(1024*sizeof(char)); strcpy(ret,"exec su -p "); strcat(ret,get_username(1000)); strcat(ret," -c"); return ret; } return "exec sh -c"; } char* get_username(uid_t uid){ char line[1024]; char *item; char *user = malloc(1024*sizeof(char)); FILE *f = fopen("/etc/passwd","r"); while (fscanf(f,"%[^\n] ",line) != EOF) { item = strtok(line,":"); strcpy(user,item); item = strtok(NULL,":"); item = strtok(NULL,":"); if (item != NULL){ if(uid == atoi(item)){ return user; } } strcpy(line,""); } return ""; } int exists(char* fname){ return access( fname, F_OK ) == 0 ; } int cmd_exists(char* cmd){ int i = strcmp(which(cmd),cmd); setenv("PATH","/sbin:/bin:/usr/sbin:/usr/bin",1); return i != 0; } int iseq(char* str1, char* str2){ if( str1 == NULL || str2 == NULL) return 0; return 0 == strcmp(str1,str2); } char* which(char* cmd){ char* fullPath = getenv("PATH"); struct stat buffer; int exists; char* fileOrDirectory = cmd; char *fullfilename = malloc(1024*sizeof(char)); char *token = strtok(fullPath, ":"); /* walk through other tokens */ while( token != NULL ){ sprintf(fullfilename, "%s/%s", token, fileOrDirectory); exists = stat( fullfilename, &buffer ); if ( exists == 0 && ( S_IFREG & buffer.st_mode ) ) { char ret[strlen(fullfilename)]; strcpy(ret,fullfilename); return (char*)fullfilename; } token = strtok(NULL, ":"); /* next token */ } return cmd; }
the_stack_data/23573938.c
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ! Bad coding example 1 ! ! ! Shamefully written by Ross Walker (SDSC, 2006) ! ! This code reads a series of coordinates and charges from the file ! specified as argument $1 on the command line. ! ! This file should have the format: ! I9 ! 4F10.4 (repeated I9 times representing x,y,z,q) ! ! It then calculates the following fictional function: ! ! exp(rij*qi)*exp(rij*qj) 1 ! E = Sum( ----------------------- - - ) (rij <= cut) ! j<i r(ij) a ! ! where cut is a cut off value specified on the command line ($2), ! r(ij) is a function of the coordinates read in for each atom and ! a is a constant. ! ! The code prints out the number of atoms, the cut off, total number of ! atom pairs which were less than or equal to the distance cutoff, the ! value of E, the time take to generate the coordinates and the time ! taken to perform the calculation of E. ! ! All calculations are done in double precision. !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> double **alloc_2D_double(int nrows, int ncolumns); void double_2D_array_free(double **array); int main(int argc, char *argv[]) { long natom, i, j; long cut_count; /* Timer variables */ clock_t time0, time1, time2; double cut; /* Cut off for Rij in distance units */ double **coords; double *q; double total_e, current_e, vec2, rij; double a; FILE *fptr; char *cptr; a = 3.2; time0 = clock(); /*Start Time*/ printf("Value of system clock at start = %ld\n",time0); /* Step 1 - obtain the filename of the coord file and the value of cut from the command line. Argument 1 should be the filename of the coord file (char). Argument 2 should be the cut off (float). */ /* Quit therefore if iarg does not equal 3 = executable name, filename, cut off */ if (argc != 3) { printf("ERROR: only %d command line options detected", argc-1); printf (" - need 2 options, filename and cutoff.\n"); exit(1); } printf("Coordinates will be read from file: %s\n",argv[1]); /* Step 2 - Open the coordinate file and read the first line to obtain the number of atoms */ if ((fptr=fopen(argv[1],"r"))==NULL) { printf("ERROR: Could not open file called %s\n",argv[1]); exit(1); } else { fscanf(fptr, "%ld", &natom); } printf("Natom = %ld\n", natom); cut = strtod(argv[2],&cptr); printf("cut = %10.4f\n", cut); /* Step 3 - Allocate the arrays to store the coordinate and charge data */ coords=alloc_2D_double(3,natom); if ( coords==NULL ) { printf("Allocation error coords"); exit(1); } q=(double *)malloc(natom*sizeof(double)); if ( q == NULL ) { printf("Allocation error q"); exit(1); } /* Step 4 - read the coordinates and charges. */ for (i = 0; i<natom; ++i) { fscanf(fptr, "%lf %lf %lf %lf",&coords[0][i], &coords[1][i],&coords[2][i],&q[i]); } time1 = clock(); /*time after file read*/ printf("Value of system clock after coord read = %ld\n",time1); /* Step 5 - calculate the number of pairs and E. - this is the majority of the work. */ total_e = 0.0; cut_count = 0; for (i=1; i<=natom; ++i) { for (j=1; j<=natom; ++j) { if ( j < i ) /* Avoid double counting. */ { vec2 = (coords[0][i-1]-coords[0][j-1])*(coords[0][i-1]-coords[0][j-1]) + (coords[1][i-1]-coords[1][j-1])*(coords[1][i-1]-coords[1][j-1]) + (coords[2][i-1]-coords[2][j-1])*(coords[2][i-1]-coords[2][j-1]); /* X^2 + Y^2 + Z^2 */ rij = sqrt(vec2); /* Check if this is below the cut off */ if ( rij <= cut ) { /* Increment the counter of pairs below cutoff */ ++cut_count; current_e = (exp(rij*q[i-1])*exp(rij*q[j-1]))/rij; total_e = total_e + current_e - 1.0/a; } } /* if (j<i) */ } /* for j=1 j<=natom */ } /* for i=1 i<=natom */ time2 = clock(); /* time after reading of file and calculation */ printf("Value of system clock after coord read and E calc = %ld\n", time2); /* Step 6 - write out the results */ printf(" Final Results\n"); printf(" -------------\n"); printf(" Num Pairs = %ld\n",cut_count); printf(" Total E = %14.10f\n",total_e); printf(" Time to read coord file = %14.4f Seconds\n", ((double )(time1-time0))/(double )CLOCKS_PER_SEC); printf(" Time to calculate E = %14.4f Seconds\n", ((double )(time2-time1))/(double )CLOCKS_PER_SEC); printf(" Total Execution Time = %14.4f Seconds\n", ((double )(time2-time0))/(double )CLOCKS_PER_SEC); /* Step 7 - Deallocate the arrays - we should strictly check the return values here but for the purposes of this tutorial we can ignore this. */ free(q); double_2D_array_free(coords); fclose(fptr); exit(0); } double **alloc_2D_double(int nrows, int ncolumns) { /* Allocates a 2d_double_array consisting of a series of pointers pointing to each row that are then allocated to be ncolumns long each. */ /* Try's to keep contents contiguous - thus reallocation is difficult! */ /* Returns the pointer **array. Returns NULL on error */ int i; double **array = (double **)malloc(nrows*sizeof(double *)); if (array==NULL) return NULL; array[0] = (double *)malloc(nrows*ncolumns*sizeof(double)); if (array[0]==NULL) return NULL; for (i = 1; i < nrows; ++i) array[i] = array[0] + i * ncolumns; return array; } void double_2D_array_free(double **array) { /* Frees the memory previously allocated by alloc_2D_double */ free(array[0]); free(array); }
the_stack_data/137883.c
#include <stdio.h> #include <string.h> #define CR_PASSWD "Tristan" int main() { char passwd[10]; int i = 1; while (i <= 3) { printf("Please enter the Password: "); scanf("%s", passwd); if (strcmp(passwd, CR_PASSWD) == 0) { printf("Log-on Successfull!\n"); return 0; } i++; } printf("Access Denied!\n"); return 0; }
the_stack_data/215767187.c
#include <stdio.h> #include <stdlib.h> #include <malloc.h> void combsort(int* massiv , int n){ const float step = 1.247330950103979f; int buff = 0; for(int i = n ;i >= 1 ;i = i/step) for(int j = 0 ; j+i < n; ++j){ if(massiv[j] < massiv[j+i]) buff = massiv[j+i] , massiv[j+i] = massiv[j] , massiv[j] = buff; } } int main(){ int n; scanf("%d" , &n); int *a = malloc(sizeof(int)*n); for(int i = 0; i < n; ++i) scanf("%d" , &a[i]); combsort(a , n); for(int i = 0; i < n; i++) printf("%d " , a[i]); free(a); printf("\n"); }
the_stack_data/90570.c
// Test the that the driver produces reasonable linker invocations with // -fopenmp or -fopenmp|libgomp. // // FIXME: Replace DEFAULT_OPENMP_LIB below with the value chosen at configure time. // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp -target i386-unknown-linux -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-LD-32 %s // CHECK-LD-32: "{{.*}}ld{{(.exe)?}}" // CHECK-LD-32: "-l[[DEFAULT_OPENMP_LIB:[^"]*]]" "-lgcc" // CHECK-LD-32: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp -target x86_64-unknown-linux -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-LD-64 %s // CHECK-LD-64: "{{.*}}ld{{(.exe)?}}" // CHECK-LD-64: "-l[[DEFAULT_OPENMP_LIB:[^"]*]]" "-lgcc" // CHECK-LD-64: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp=libgomp -target i386-unknown-linux -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-GOMP-LD-32 %s // CHECK-GOMP-LD-32: "{{.*}}ld{{(.exe)?}}" // CHECK-GOMP-LD-32: "-lgomp" "-lrt" "-lgcc" // CHECK-GOMP-LD-32: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp=libgomp -target x86_64-unknown-linux -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-GOMP-LD-64 %s // CHECK-GOMP-LD-64: "{{.*}}ld{{(.exe)?}}" // CHECK-GOMP-LD-64: "-lgomp" "-lrt" "-lgcc" // CHECK-GOMP-LD-64: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp -target i386-unknown-linux -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-IOMP5-LD-32 %s // CHECK-IOMP5-LD-32: "{{.*}}ld{{(.exe)?}}" // CHECK-IOMP5-LD-32: "-l[[DEFAULT_OPENMP_LIB:[^"]*]]" "-lgcc" // CHECK-IOMP5-LD-32: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp -target x86_64-unknown-linux -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-IOMP5-LD-64 %s // CHECK-IOMP5-LD-64: "{{.*}}ld{{(.exe)?}}" // CHECK-IOMP5-LD-64: "-l[[DEFAULT_OPENMP_LIB:[^"]*]]" "-lgcc" // CHECK-IOMP5-LD-64: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp=lib -target i386-unknown-linux \ // RUN: | FileCheck --check-prefix=CHECK-LIB-LD-32 %s // CHECK-LIB-LD-32: error: unsupported argument 'lib' to option 'fopenmp=' // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp=lib -target x86_64-unknown-linux \ // RUN: | FileCheck --check-prefix=CHECK-LIB-LD-64 %s // CHECK-LIB-LD-64: error: unsupported argument 'lib' to option 'fopenmp=' // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp -fopenmp=libgomp -target i386-unknown-linux \ // RUN: -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-LD-OVERRIDE-32 %s // CHECK-LD-OVERRIDE-32: "{{.*}}ld{{(.exe)?}}" // CHECK-LD-OVERRIDE-32: "-lgomp" "-lrt" "-lgcc" // CHECK-LD-OVERRIDE-32: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp -fopenmp=libgomp -target x86_64-unknown-linux \ // RUN: -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-LD-OVERRIDE-64 %s // CHECK-LD-OVERRIDE-64: "{{.*}}ld{{(.exe)?}}" // CHECK-LD-OVERRIDE-64: "-lgomp" "-lrt" "-lgcc" // CHECK-LD-OVERRIDE-64: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp=libomp -target x86_64-msvc-win32 -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-MSVC-LINK-64 %s // CHECK-MSVC-LINK-64: link.exe // CHECK-MSVC-LINK-64-SAME: -nodefaultlib:vcomp.lib // CHECK-MSVC-LINK-64-SAME: -nodefaultlib:vcompd.lib // CHECK-MSVC-LINK-64-SAME: -libpath:{{.+}}/../lib // CHECK-MSVC-LINK-64-SAME: -defaultlib:libomp.lib // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp=libiomp5 -target x86_64-msvc-win32 -rtlib=platform \ // RUN: | FileCheck --check-prefix=CHECK-MSVC-ILINK-64 %s // CHECK-MSVC-ILINK-64: link.exe // CHECK-MSVC-ILINK-64-SAME: -nodefaultlib:vcomp.lib // CHECK-MSVC-ILINK-64-SAME: -nodefaultlib:vcompd.lib // CHECK-MSVC-ILINK-64-SAME: -libpath:{{.+}}/../lib // CHECK-MSVC-ILINK-64-SAME: -defaultlib:libiomp5md.lib //
the_stack_data/107953544.c
/* GIMP RGBA C-Source image dump (icon32.png.c) */ static const struct { unsigned int width; unsigned int height; unsigned int bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */ unsigned char pixel_data[32 * 31 * 4 + 1]; } icon = { 32, 31, 4, "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\362\365\371,\270\310\340Z\375\376" "\376\3\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\376\377\377\13g\214\273\3477g\245\374\345" "\356\366\205\342\354\365\233\372\374\374,\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\262\304\335\3044e\244\377Cp\253\354" "r\237\317\377z\244\322\377x\243\321\377\233\273\335\304\373\374\375\10\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\360\364\371OAo\252\377>l\250\371]\204\266\314r\237" "\317\377\342\353\365\377\305\330\353\377\200\251\324\376z\244\322\373\251" "\305\342\316\346\356\366>\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\376\377\377\10i\215\274\370Q{\261\377Pz\261\340\200\237\306\240" "r\237\317\377~\247\323\362s\240\317\377r\237\317\377r\237\317\377r\237\317" "\377r\237\317\377\367\371\375\16\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\261\303\334\2769i\246\377\306\324\345\367<k\250\365\262\304\335ar" "\237\317\377\251\305\342\233\367\371\375\16\377\377\377\0\371\373\375\12" "\323\340\360P\326\343\361J\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\360\364\371H@n\252\377\205\242\310\377\342\351\361\3324e\244\377\353\360" "\366*u\241\320\377\337\352\3648\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\6" "i\215\274\367Mx\257\377\334\344\357\377\274\314\341\3167h\246\373\377\377" "\377\23r\237\317\377\210\256\327\327\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\263\305" "\335\2709i\246\377\300\320\343\377\332\343\357\377\233\263\322\316Cq\253" "\354\377\377\377\23r\237\317\377s\240\317\376\335\350\364>\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\361\365\371AA" "o\252\377\202\240\307\377\331\342\356\377\330\341\355\377\211\246\312\314" "Kv\256\343\377\377\377\23r\237\317\377\227\270\333\363\207\255\326\331\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\4h\214" "\273\366Lw\257\377\330\341\355\377\327\340\355\377\325\337\354\377x\230\302" "\315V\177\263\325\377\377\377\23r\237\317\377\346\356\365\377s\240\317\376" "\334\347\363?\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\262\304\335\263" "9h\246\377\273\313\341\377\325\340\355\377\324\337\354\377\323\336\353\377" "g\215\273\323d\211\271\303\377\377\377\23r\237\317\377\363\366\371\377\230" "\270\333\362\206\255\326\333\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\362\365\3719@" "n\251\377|\234\304\377\324\337\354\377\323\336\353\377\322\335\353\377\321" "\334\353\377[\203\266\333s\225\300\260\376\377\377\23r\237\317\377\361\364" "\371\377\343\352\364\377s\240\317\376\332\345\362C\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\2h\214" "\273\364Iu\256\377\323\336\353\377\322\335\353\377\321\334\353\377\317\333" "\352\377\317\332\351\377Pz\261\344\204\242\310\233\376\377\377\23r\237\317" "\377\357\363\370\377\356\362\367\377\226\270\333\363\205\254\326\334\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\264\306\336\2538h\246\377\267\311\336\377\321\335\353\377\320\333\352\377" "\317\333\351\377\315\331\351\377\314\330\350\377Er\254\355\232\262\322\177" "\376\376\377\23r\237\317\377\355\361\367\377\354\361\367\377\337\350\362" "\377s\240\317\376\330\345\362F\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\364\367\3732@n\251\377z\232\304\377\320\334\352\377\317\333\352\377" "\316\332\351\377\315\331\350\377\313\330\350\377\312\327\347\377@n\251\362" "\253\277\332j\376\376\377\23r\237\317\377\353\360\366\377\352\357\366\377" "\351\356\365\377\226\266\332\363\204\253\325\337\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\1g\213\273\362Ht\255\377\317\333\352\377\316\332\351" "\377\315\331\351\377\313\330\350\377\312\327\347\377\311\326\347\377\310" "\325\347\377@m\251\363\253\277\332j\376\376\377\23r\237\317\377\352\357\365" "\377\351\356\365\377\347\355\364\377\333\344\360\377s\240\317\376\325\343" "\361K\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\264\306\335\2468h\246\377\262\304\334\377\315" "\331\351\377\314\330\350\377\313\327\347\377\311\327\347\377\310\325\347" "\377\307\325\346\377\305\323\345\377?m\251\363\253\277\332j\376\376\377\23" "r\237\317\377\350\355\365\377\347\354\364\377\345\354\364\377\344\353\363" "\377\226\267\332\363\203\252\325\341\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\364\367\373-?n\251\377u\227" "\301\377\314\331\350\377\313\330\350\377\312\327\347\377\310\326\347\377" "\307\325\346\377\306\323\345\377\305\323\345\377\303\322\344\377@n\251\362" "\247\274\330n\376\376\377\23r\237\317\377\346\354\364\377\345\353\363\377" "\343\352\363\377\342\351\362\377\330\343\357\377s\240\317\375\323\342\360" "O\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0g\214\273" "\360Fs\254\377\312\327\350\377\312\327\347\377\311\326\347\377\307\325\346" "\377\306\324\346\377\305\323\345\377\304\322\344\377\303\321\344\377\301" "\320\343\377Ht\255\355\223\255\316\210\375\376\376\23r\237\317\377\344\352" "\363\377\343\351\362\377\342\351\362\377\341\350\361\377\337\347\361\377" "\225\265\331\364\202\252\324\342\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\266\307\336\2378h\246\377\256\301\332\377\311\326\347\377" "\310\325\347\377\307\324\346\377\305\323\345\377\304\322\345\377\303\321" "\344\377\301\321\344\377\300\317\343\377\277\316\342\377R|\262\347{\233\304" "\246\375\376\376\23r\237\317\377\342\351\362\377\341\350\362\377\340\347" "\361\377\337\346\360\377\336\346\360\377\324\337\355\377s\240\317\375\322" "\340\360R\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\366\367\373&?n\251\377r\225\300\377\310" "\325\347\377\307\325\346\377\306\323\345\377\304\323\345\377\303\322\344" "\377\302\321\344\377\301\320\343\377\277\317\343\377\276\316\342\377\275" "\315\341\377`\207\270\340g\214\273\277\375\376\376\23r\237\317\377\340\350" "\361\377\337\347\361\377\336\346\360\377\335\345\360\377\334\344\357\377" "\333\343\357\377\223\265\330\364\201\252\324\343\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "g\214\273\357Dr\253\377\306\324\346\377\306\324\345\377\305\323\345\377\303" "\322\344\377\302\321\344\377\301\320\343\377\277\317\343\377\276\316\342" "\377\275\315\341\377\274\314\341\377\273\313\340\377u\226\301\334Q{\261\333" "\375\376\376\23r\237\317\377\336\346\360\377\335\345\360\377\334\344\357" "\377\333\344\357\377\332\343\356\377\331\342\356\377\321\335\353\377s\240" "\317\376\317\336\357W\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\265\307\336\2327g\245\377\250\275\330\377\305\323\345\377" "\304\322\345\377\303\321\344\377\301\320\343\377\300\317\343\377\277\316" "\342\377\275\315\342\377\274\314\341\377\273\313\340\377\272\312\340\377" "\270\311\337\377\226\260\320\337:j\247\367\375\375\376\23r\237\317\377\334" "\345\360\377\333\344\357\377\332\343\356\377\331\342\356\377\330\341\356" "\377\327\340\355\377\326\340\355\377\223\263\330\364\200\250\324\347\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\367\370\373!?m\251\376" "m\221\276\377\304\322\345\377\303\321\344\377\302\321\344\377\300\320\343" "\377\277\317\343\377\276\315\342\377\275\315\341\377\273\313\341\377\272" "\313\340\377\271\312\340\377\267\311\337\377\266\310\336\377\263\305\336" "\3664e\244\377\357\363\370\"r\237\317\377\332\343\357\377\331\343\356\377" "\330\342\356\377\327\341\355\377\326\340\355\377\325\337\354\377\324\336" "\354\377\314\331\351\377s\240\317\375\315\335\356Z\377\377\377\0\377\377" "\377\0\377\377\377\0h\214\273\354Cp\253\377\302\321\344\377\302\321\344\377" "\301\320\343\377\277\317\343\377\276\316\342\377\275\315\341\377\273\314" "\341\377\272\313\340\377\271\312\340\377\270\311\337\377\267\310\337\377" "\265\307\336\377\264\306\335\377\263\305\335\377Ao\252\363\225\256\320\215" "r\237\317\377\331\342\356\377\330\341\355\377\326\340\355\377\325\337\354" "\377\324\337\354\377\323\336\353\377\322\335\353\377\321\334\352\377\222" "\263\327\364\177\250\323\350\377\377\377\0\377\377\377\0\270\311\340\221" "7g\245\377\245\273\326\377\301\320\343\377\300\317\343\377\277\316\342\377" "\275\315\341\377\274\314\341\377\273\313\340\377\271\312\340\377\270\311" "\337\377\267\310\337\377\265\307\336\377\264\306\335\377\263\305\335\377" "\262\304\335\377\260\303\334\377l\220\275\344Kv\256\345r\237\317\377\327" "\340\355\377\326\337\354\377\325\337\354\377\323\336\354\377\322\335\353" "\377\321\334\353\377\320\334\352\377\317\333\351\377\311\326\347\377s\240" "\317\375\313\333\355]\377\377\377\0\221\254\316\2174e\244\3774e\244\3774" "e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244" "\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\377" "Ht\255\347u\241\320\371r\237\317\377r\237\317\377r\237\317\377r\237\317\377" "r\237\317\377r\237\317\377r\237\317\377r\237\317\377r\237\317\377r\237\317" "\377\264\314\346\210\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0" "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0\224\255\317\2074e\244\3774e\244\3774e\244\3774e" "\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244" "\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\377" "4e\244\3774e\244\3774e\244\377X\200\264\322\377\377\377\0\377\377\377\0\377" "\377\377\0\377\377\377\0", };
the_stack_data/858250.c
#include<stdio.h> struct Array { int A[10]; int size; int length; }; void display(struct Array arr){ int i; printf("\nElements are:\n"); for(i=0;i<arr.length;i++){ printf("%d ", arr.A[i]); } } // call by address void swap(int *x, int *y){ int temp; temp= *x; *x =*y; *y=temp; } // Time : O(n) int linearsearch(struct Array arr, int key){ int i; for(i=0;i<arr.length;i++){ if(key == arr.A[i]){ return i; } } return -1; } // Improved version of linear search : using tranposition int transp_linearsearch(struct Array *arr, int key){ int i; for(i=0;i<arr->length;i++){ if(key == arr->A[i]){ swap(&arr->A[i], &arr->A[i-1]); return i; } } return -1; } // Improved version of linear search : using Front int front_linearsearch(struct Array *arr, int key){ int i; for(i=0;i<arr->length;i++){ if(key == arr->A[i]){ swap(&arr->A[i], &arr->A[0]); return 0; } } return -1; } int main(){ struct Array arr = {{3,4,5,56,7,}, 10,5}; display(arr); printf("\nlinearsearch() found key %d at %d index\n\n",5, linearsearch(arr, 5)); display(arr); // printf("\ntransp_linearsearch() found key %d at %d index\n",5, transp_linearsearch(&arr, 5)); printf("\nfront_linearsearch() found key %d at %d index\n",5, front_linearsearch(&arr, 5)); display(arr); }
the_stack_data/115764295.c
/*this program filters the output of compactor.c and only passes packets with clean bits*/ #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct line_s{ char bits[64]; int line; struct line_s *prev; struct line_s *next; }line_t; line_t *append_line(line_t *p, const int lineno, const char bits[]) { line_t *l=malloc(sizeof(line_t)); if (l==NULL) return p; memset(l, 0, sizeof(line_t)); strcpy(l->bits, bits); l->line=lineno; l->prev=p; if (p!=NULL) { p->next=l; } return l; } void print_lines(line_t *l, int print) { if (l==NULL) return; line_t *n=l->next; if (print!=0) printf("%03d %s\n", l->line, l->bits); memset(l, 0, sizeof(line_t)); free(l); return print_lines(n, print); } line_t *find_first(line_t *l) { if (l==NULL) return NULL; if (l->prev==NULL) return l; return find_first(l->prev); } int count_errors(const line_t *l) { if (l==NULL) return 0; if (strchr(l->bits, 'X')!=NULL) return 1; return count_errors(l->next); } int main(int argc, char *argv[]) { int lastline=0; int lineno=0; char bits[64]; //24 would be enough line_t *l=NULL; while (scanf("%d%s", &lineno, bits)==2) { if (lastline>lineno) { //New field l=find_first(l); if (count_errors(l)==0) print_lines(l, 1); else print_lines(l, 0); l=NULL; } //only append lines in the relevant region Change this if image is not at this position if ( (lineno>=45) && (lineno<=225) ) l=append_line(l, lineno, bits); lastline=lineno; } return 0; }
the_stack_data/2776.c
#include <stdio.h> int main() { printf("Hello World\n"); return 0; }
the_stack_data/792536.c
#include <unistd.h> void ft_print_numbers(void); void ft_print_numbers(void) { int number; int counter; number = '0'; counter = 10; while (counter > 0) { write(1, &number, 1); number++; counter--; } }
the_stack_data/29825223.c
/* ------------------------------------------------------------------------------------ Tutorial: This tutorial shows the working of arithmetic operators. The variable x is first used to store the sum of the two numbers, then their difference, product, and so on. ------------------------------------------------------------------------------------ */ #include <stdio.h> int main() { int n1, n2, x, y, z; printf("Enter the first number: "); scanf("%d", &n1); printf("Enter the second number: "); scanf("%d", &n2); x = n1+n2; // Addition printf("n1 + n2 = %d \n", x); x = n1-n2; // Subtraction printf("n1 - n2 = %d \n", x); x = n1*n2; // Multiplication printf("n1 * n2 = %d \n", x); x = n1/n2; // Division printf("n1 / n2 = %d \n", x); x = n1%n2; // Finding remainder printf("n1 %% n2 = %d \n", x); y = n1; // Copying value of n1 to y z = n2; // Copying value of n2 to z printf("Incremented value of n1 = %d \n", ++n1); printf("Incremented value of n2 = %d \n", ++n2); printf("Decremented value of n1 = %d \n", --y); printf("Decremented value of n2 = %d \n", --z); } /* ------------------------------------------------------------------------------------ Challenge: Take 2 numbers as user inputs. Do the above operations on the inputs and check if the results are odd or even. ------------------------------------------------------------------------------------ */
the_stack_data/57950659.c
#include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> int main(){ char s[100][100],c[100]={0}; FILE *fp; char l[100]={0}; fp=fopen("data.txt","r"); int i=0,j,k; if(fp==NULL) { exit(1); } while(fgets(c,sizeof(c),fp)!= NULL&& strcpy(s[i],c)!=NULL ) { for(k=i;k>0;k--) { for(j = k-1;j>=0;j--) if(strcmp(s[j],s[k])>0) { strcpy(l,s[j]); strcpy(s[j],s[k]); strcpy(s[k],l); } } i++; } for(j=0;j<i;j++) { printf("%s",s[j]); } fclose(fp); return 0; }
the_stack_data/34513848.c
extern void __VERIFIER_error() __attribute__ ((__noreturn__)); void __VERIFIER_assert(int expression) { if (!expression) { ERROR: __VERIFIER_error(); }; return; } int __global_lock; void __VERIFIER_atomic_begin() { __VERIFIER_assume(__global_lock==0); __global_lock=1; return; } void __VERIFIER_atomic_end() { __VERIFIER_assume(__global_lock==1); __global_lock=0; return; } #include <assert.h> #include <pthread.h> #ifndef TRUE #define TRUE (_Bool)1 #endif #ifndef FALSE #define FALSE (_Bool)0 #endif #ifndef NULL #define NULL ((void*)0) #endif #ifndef FENCE #define FENCE(x) ((void)0) #endif #ifndef IEEE_FLOAT_EQUAL #define IEEE_FLOAT_EQUAL(x,y) (x==y) #endif #ifndef IEEE_FLOAT_NOTEQUAL #define IEEE_FLOAT_NOTEQUAL(x,y) (x!=y) #endif void * P0(void *arg); void * P1(void *arg); void * P2(void *arg); void * P3(void *arg); void fence(); void isync(); void lwfence(); int __unbuffered_cnt; int __unbuffered_cnt = 0; int __unbuffered_p3_EAX; int __unbuffered_p3_EAX = 0; int a; int a = 0; _Bool a$flush_delayed; int a$mem_tmp; _Bool a$r_buff0_thd0; _Bool a$r_buff0_thd1; _Bool a$r_buff0_thd2; _Bool a$r_buff0_thd3; _Bool a$r_buff0_thd4; _Bool a$r_buff1_thd0; _Bool a$r_buff1_thd1; _Bool a$r_buff1_thd2; _Bool a$r_buff1_thd3; _Bool a$r_buff1_thd4; _Bool a$read_delayed; int *a$read_delayed_var; int a$w_buff0; _Bool a$w_buff0_used; int a$w_buff1; _Bool a$w_buff1_used; _Bool main$tmp_guard0; _Bool main$tmp_guard1; int x; int x = 0; int y; int y = 0; int z; int z = 0; _Bool weak$$choice0; _Bool weak$$choice2; void * P0(void *arg) { __VERIFIER_atomic_begin(); a$w_buff1 = a$w_buff0; a$w_buff0 = 1; a$w_buff1_used = a$w_buff0_used; a$w_buff0_used = TRUE; __VERIFIER_assert(!(a$w_buff1_used && a$w_buff0_used)); a$r_buff1_thd0 = a$r_buff0_thd0; a$r_buff1_thd1 = a$r_buff0_thd1; a$r_buff1_thd2 = a$r_buff0_thd2; a$r_buff1_thd3 = a$r_buff0_thd3; a$r_buff1_thd4 = a$r_buff0_thd4; a$r_buff0_thd1 = TRUE; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); x = 1; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); a = a$w_buff0_used && a$r_buff0_thd1 ? a$w_buff0 : (a$w_buff1_used && a$r_buff1_thd1 ? a$w_buff1 : a); a$w_buff0_used = a$w_buff0_used && a$r_buff0_thd1 ? FALSE : a$w_buff0_used; a$w_buff1_used = a$w_buff0_used && a$r_buff0_thd1 || a$w_buff1_used && a$r_buff1_thd1 ? FALSE : a$w_buff1_used; a$r_buff0_thd1 = a$w_buff0_used && a$r_buff0_thd1 ? FALSE : a$r_buff0_thd1; a$r_buff1_thd1 = a$w_buff0_used && a$r_buff0_thd1 || a$w_buff1_used && a$r_buff1_thd1 ? FALSE : a$r_buff1_thd1; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); __unbuffered_cnt = __unbuffered_cnt + 1; __VERIFIER_atomic_end(); return nondet_0(); } void * P1(void *arg) { __VERIFIER_atomic_begin(); x = 2; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); y = 1; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); a = a$w_buff0_used && a$r_buff0_thd2 ? a$w_buff0 : (a$w_buff1_used && a$r_buff1_thd2 ? a$w_buff1 : a); a$w_buff0_used = a$w_buff0_used && a$r_buff0_thd2 ? FALSE : a$w_buff0_used; a$w_buff1_used = a$w_buff0_used && a$r_buff0_thd2 || a$w_buff1_used && a$r_buff1_thd2 ? FALSE : a$w_buff1_used; a$r_buff0_thd2 = a$w_buff0_used && a$r_buff0_thd2 ? FALSE : a$r_buff0_thd2; a$r_buff1_thd2 = a$w_buff0_used && a$r_buff0_thd2 || a$w_buff1_used && a$r_buff1_thd2 ? FALSE : a$r_buff1_thd2; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); __unbuffered_cnt = __unbuffered_cnt + 1; __VERIFIER_atomic_end(); return nondet_0(); } void * P2(void *arg) { __VERIFIER_atomic_begin(); y = 2; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); z = 1; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); a = a$w_buff0_used && a$r_buff0_thd3 ? a$w_buff0 : (a$w_buff1_used && a$r_buff1_thd3 ? a$w_buff1 : a); a$w_buff0_used = a$w_buff0_used && a$r_buff0_thd3 ? FALSE : a$w_buff0_used; a$w_buff1_used = a$w_buff0_used && a$r_buff0_thd3 || a$w_buff1_used && a$r_buff1_thd3 ? FALSE : a$w_buff1_used; a$r_buff0_thd3 = a$w_buff0_used && a$r_buff0_thd3 ? FALSE : a$r_buff0_thd3; a$r_buff1_thd3 = a$w_buff0_used && a$r_buff0_thd3 || a$w_buff1_used && a$r_buff1_thd3 ? FALSE : a$r_buff1_thd3; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); __unbuffered_cnt = __unbuffered_cnt + 1; __VERIFIER_atomic_end(); return nondet_0(); } void * P3(void *arg) { __VERIFIER_atomic_begin(); z = 2; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); weak$$choice0 = nondet_1(); weak$$choice2 = nondet_1(); a$flush_delayed = weak$$choice2; a$mem_tmp = a; a = !a$w_buff0_used || !a$r_buff0_thd4 && !a$w_buff1_used || !a$r_buff0_thd4 && !a$r_buff1_thd4 ? a : (a$w_buff0_used && a$r_buff0_thd4 ? a$w_buff0 : a$w_buff1); a$w_buff0 = weak$$choice2 ? a$w_buff0 : (!a$w_buff0_used || !a$r_buff0_thd4 && !a$w_buff1_used || !a$r_buff0_thd4 && !a$r_buff1_thd4 ? a$w_buff0 : (a$w_buff0_used && a$r_buff0_thd4 ? a$w_buff0 : a$w_buff0)); a$w_buff1 = weak$$choice2 ? a$w_buff1 : (!a$w_buff0_used || !a$r_buff0_thd4 && !a$w_buff1_used || !a$r_buff0_thd4 && !a$r_buff1_thd4 ? a$w_buff1 : (a$w_buff0_used && a$r_buff0_thd4 ? a$w_buff1 : a$w_buff1)); a$w_buff0_used = weak$$choice2 ? a$w_buff0_used : (!a$w_buff0_used || !a$r_buff0_thd4 && !a$w_buff1_used || !a$r_buff0_thd4 && !a$r_buff1_thd4 ? a$w_buff0_used : (a$w_buff0_used && a$r_buff0_thd4 ? FALSE : a$w_buff0_used)); a$w_buff1_used = weak$$choice2 ? a$w_buff1_used : (!a$w_buff0_used || !a$r_buff0_thd4 && !a$w_buff1_used || !a$r_buff0_thd4 && !a$r_buff1_thd4 ? a$w_buff1_used : (a$w_buff0_used && a$r_buff0_thd4 ? FALSE : FALSE)); a$r_buff0_thd4 = weak$$choice2 ? a$r_buff0_thd4 : (!a$w_buff0_used || !a$r_buff0_thd4 && !a$w_buff1_used || !a$r_buff0_thd4 && !a$r_buff1_thd4 ? a$r_buff0_thd4 : (a$w_buff0_used && a$r_buff0_thd4 ? FALSE : a$r_buff0_thd4)); a$r_buff1_thd4 = weak$$choice2 ? a$r_buff1_thd4 : (!a$w_buff0_used || !a$r_buff0_thd4 && !a$w_buff1_used || !a$r_buff0_thd4 && !a$r_buff1_thd4 ? a$r_buff1_thd4 : (a$w_buff0_used && a$r_buff0_thd4 ? FALSE : FALSE)); __unbuffered_p3_EAX = a; a = a$flush_delayed ? a$mem_tmp : a; a$flush_delayed = FALSE; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); a = a$w_buff0_used && a$r_buff0_thd4 ? a$w_buff0 : (a$w_buff1_used && a$r_buff1_thd4 ? a$w_buff1 : a); a$w_buff0_used = a$w_buff0_used && a$r_buff0_thd4 ? FALSE : a$w_buff0_used; a$w_buff1_used = a$w_buff0_used && a$r_buff0_thd4 || a$w_buff1_used && a$r_buff1_thd4 ? FALSE : a$w_buff1_used; a$r_buff0_thd4 = a$w_buff0_used && a$r_buff0_thd4 ? FALSE : a$r_buff0_thd4; a$r_buff1_thd4 = a$w_buff0_used && a$r_buff0_thd4 || a$w_buff1_used && a$r_buff1_thd4 ? FALSE : a$r_buff1_thd4; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); __unbuffered_cnt = __unbuffered_cnt + 1; __VERIFIER_atomic_end(); return nondet_0(); } void fence() { } void isync() { } void lwfence() { } int main() { pthread_create(NULL, NULL, P0, NULL); pthread_create(NULL, NULL, P1, NULL); pthread_create(NULL, NULL, P2, NULL); pthread_create(NULL, NULL, P3, NULL); __VERIFIER_atomic_begin(); main$tmp_guard0 = __unbuffered_cnt == 4; __VERIFIER_atomic_end(); __VERIFIER_assume(main$tmp_guard0); __VERIFIER_atomic_begin(); a = a$w_buff0_used && a$r_buff0_thd0 ? a$w_buff0 : (a$w_buff1_used && a$r_buff1_thd0 ? a$w_buff1 : a); a$w_buff0_used = a$w_buff0_used && a$r_buff0_thd0 ? FALSE : a$w_buff0_used; a$w_buff1_used = a$w_buff0_used && a$r_buff0_thd0 || a$w_buff1_used && a$r_buff1_thd0 ? FALSE : a$w_buff1_used; a$r_buff0_thd0 = a$w_buff0_used && a$r_buff0_thd0 ? FALSE : a$r_buff0_thd0; a$r_buff1_thd0 = a$w_buff0_used && a$r_buff0_thd0 || a$w_buff1_used && a$r_buff1_thd0 ? FALSE : a$r_buff1_thd0; __VERIFIER_atomic_end(); __VERIFIER_atomic_begin(); /* Program proven to be relaxed for X86, model checker says YES. */ main$tmp_guard1 = !(x == 2 && y == 2 && z == 2 && __unbuffered_p3_EAX == 0); __VERIFIER_atomic_end(); /* Program proven to be relaxed for X86, model checker says YES. */ __VERIFIER_assert(main$tmp_guard1); return 0; }
the_stack_data/153048.c
#include <stdlib.h> #include <stdio.h> #include <string.h> int comp(char*, char*, int, int); void Permut(int* Q, int m, int p); int compare[10][10];//Сравним каждую строку с каждой на количество совпад элементов справа и слева int n, alllen;//Сумма всех длин,а потом и со сдвигом char **strs; int main(){ int i, j; alllen = 0; scanf("%d\n", &n); strs = (char**) calloc(n, sizeof(char*)); i = 0; while (i < n){ strs[i] = (char*) malloc(25); gets(strs[i]); alllen += strlen(strs[i]); ++i; } for (i = 0; i < 10; i++)for (j = 0; j < 10; j++)compare[i][j] = 0; for (i = 0; i < n; i++){ for (j = 0; j < n; j++) if (i == j) compare[i][j] = 0; else compare[i][j] = comp(strs[i], strs[j], strlen(strs[i]) - 1, strlen(strs[j]) - 1); } int Q[10]; for (i = 0; i < n; i++)Q[i] = i; Permut(Q, n, alllen); printf("%d", alllen); return 0; } void Permut(int* Q, int m, int p){ int i; if ((m == 0)&&(p < alllen)) alllen = p; else for (i = 0; i < n; i++){ if (Q[i] != 10){ Q[i] = 10; Permut(Q, m - 1, p - compare[n - m][i]); Q[i] = i; } } } int comp(char* str1, char* str2,int len1,int len2){ int i; for (i = 0; (str1[len1 - i] == str2[i])&&(i < len1)&&(i < len2); i++); return i;//Возвращает кол-во совпадающих букв }
the_stack_data/12638141.c
/* ** shmdemo.c -- read and write to a shared memory segment */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h> #define SHM_SIZE 1024 /* make it a 1K shared memory segment */ int main(int argc, char *argv[]) { key_t key; int shmid; int *data; if (argc > 2) { fprintf(stderr, "usage: shmtesm [data_to_write]\n"); exit(1); } /* make the key: */ if ((key = ftok("shmtest.c", 'R')) == -1) { perror("ftok"); exit(1); } /* connect to (and possibly create) the segment: */ if ((shmid = shmget(key, SHM_SIZE, 0644 | IPC_CREAT)) == -1) { perror("shmget"); exit(1); } /* attach to the segment to get a pointer to it: */ data = (int *)shmat(shmid, (void *)0, 0); if (data == (int *)(-1)) { perror("shmat"); exit(1); } /* read or modify the segment, based on the command line: */ if (argc == 2) { printf("writing to segment: \"%s\"\n", argv[1]); data[0] = atoi(argv[1]); // strncpy(data, argv[1], SHM_SIZE); } else printf("segment contains: \"%d\"\n", data[0]); /* detach from the segment: */ if (shmdt(data) == -1) { perror("shmdt"); exit(1); } return 0; }
the_stack_data/54825329.c
/* This testcase is part of GDB, the GNU debugger. Copyright 1998-2020 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* * Test program for trace collection */ /* * Typedefs */ typedef struct TEST_STRUCT { char memberc; int memberi; float memberf; double memberd; } test_struct; typedef int test_array [4]; /* * Global variables to be collected */ char globalc; int globali; float globalf; double globald; test_struct globalstruct; test_struct *globalp; int globalarr[16]; int globalarr2[4]; int globalarr3[4]; struct global_pieces { unsigned int a; unsigned int b; } global_pieces = { 0x12345678, 0x87654321 }; /* * Additional globals used in arithmetic tests */ signed char c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, cminus; signed short s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, sminus; signed long l0, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, lminus; /* * Test functions */ static void begin () /* called before anything else */ { } static void end () /* called after everything else */ { } /* Test collecting args. */ int args_test_func (argc, argi, argf, argd, argstruct, argarray) char argc; int argi; float argf; double argd; test_struct argstruct; int argarray[4]; { int i; i = (int) argc + argi + argf + argd + argstruct.memberi + argarray[1]; return i; } /* Test collecting struct args. */ int argstruct_test_func (argstruct) test_struct argstruct; { return (int) argstruct.memberc + argstruct.memberi + argstruct.memberf + argstruct.memberd; } /* Test collecting array args. */ int argarray_test_func (argarray) int argarray[4]; { return (int) argarray[0] + argarray[1] + argarray[2] + argarray[3]; } int local_test_func () /* test collecting locals */ { char locc = 11; int loci = 12; float locf = 13.3; double locd = 14.4; test_struct locst; int locar[4]; int i; struct localstruct {} locdefst; locst.memberc = 15; locst.memberi = 16; locst.memberf = 17.7; locst.memberd = 18.8; locar[0] = 121; locar[1] = 122; locar[2] = 123; locar[3] = 124; i = /* Set_Tracepoint_Here */ (int) locc + loci + locf + locd + locst.memberi + locar[1]; return i; } int reglocal_test_func () /* test collecting register locals */ { register char locc = 11; register int loci = 12; register float locf = 13.3; register double locd = 14.4; register test_struct locst; register int locar[4]; int i; locst.memberc = 15; locst.memberi = 16; locst.memberf = 17.7; locst.memberd = 18.8; locar[0] = 121; locar[1] = 122; locar[2] = 123; locar[3] = 124; i = /* Set_Tracepoint_Here */ (int) locc + loci + locf + locd + locst.memberi + locar[1]; return i; } int statlocal_test_func () /* test collecting static locals */ { static char locc; static int loci; static float locf; static double locd; static test_struct locst; static int locar[4]; int i; locc = 11; loci = 12; locf = 13.3; locd = 14.4; locst.memberc = 15; locst.memberi = 16; locst.memberf = 17.7; locst.memberd = 18.8; locar[0] = 121; locar[1] = 122; locar[2] = 123; locar[3] = 124; i = /* Set_Tracepoint_Here */ (int) locc + loci + locf + locd + locst.memberi + locar[1]; /* Set static locals back to zero so collected values are clearly special. */ locc = 0; loci = 0; locf = 0; locd = 0; locst.memberc = 0; locst.memberi = 0; locst.memberf = 0; locst.memberd = 0; locar[0] = 0; locar[1] = 0; locar[2] = 0; locar[3] = 0; return i; } int globals_test_func () { int i = 0; i += globalc + globali + globalf + globald; i += globalstruct.memberc + globalstruct.memberi; i += globalstruct.memberf + globalstruct.memberd; i += globalarr[1]; return i; /* Set_Tracepoint_Here */ } int strings_test_func () { int i = 0; char *locstr, *longloc; locstr = "abcdef"; longloc = malloc(500); strcpy(longloc, "how now brown cow spam spam spam wonderful wonderful spam"); i += strlen (locstr); i += strlen (longloc); return i; /* Set_Tracepoint_Here */ } int main (argc, argv, envp) int argc; char *argv[], **envp; { int i = 0; test_struct mystruct; int myarray[4]; begin (); /* Assign collectable values to global variables. */ l0 = s0 = c0 = 0; l1 = s1 = c1 = 1; l2 = s2 = c2 = 2; l3 = s3 = c3 = 3; l4 = s4 = c4 = 4; l5 = s5 = c5 = 5; l6 = s6 = c6 = 6; l7 = s7 = c7 = 7; l8 = s8 = c8 = 8; l9 = s9 = c9 = 9; l10 = s10 = c10 = 10; l11 = s11 = c11 = 11; l12 = s12 = c12 = 12; l13 = s13 = c13 = 13; l14 = s14 = c14 = 14; l15 = s15 = c15 = 15; lminus = sminus = cminus = -2; globalc = 71; globali = 72; globalf = 73.3; globald = 74.4; globalstruct.memberc = 81; globalstruct.memberi = 82; globalstruct.memberf = 83.3; globalstruct.memberd = 84.4; globalp = &globalstruct; for (i = 0; i < 15; i++) globalarr[i] = i; for (i = 0; i < 4; i++) globalarr2[i] = i; for (i = 0; i < 4; i++) globalarr3[3 - i] = i; mystruct.memberc = 101; mystruct.memberi = 102; mystruct.memberf = 103.3; mystruct.memberd = 104.4; myarray[0] = 111; myarray[1] = 112; myarray[2] = 113; myarray[3] = 114; /* Call test functions, so they can be traced and data collected. */ i = 0; i += args_test_func (1, 2, 3.3, 4.4, mystruct, myarray); i += argstruct_test_func (mystruct); i += argarray_test_func (myarray); i += local_test_func (); i += reglocal_test_func (); i += statlocal_test_func (); i += globals_test_func (); i += strings_test_func (); /* Values of globals at end of test should be different from values that they had when trace data was captured. */ l0 = s0 = c0 = 0; l1 = s1 = c1 = 0; l2 = s2 = c2 = 0; l3 = s3 = c3 = 0; l4 = s4 = c4 = 0; l5 = s5 = c5 = 0; l6 = s6 = c6 = 0; l7 = s7 = c7 = 0; l8 = s8 = c8 = 0; l9 = s9 = c9 = 0; l10 = s10 = c10 = 0; l11 = s11 = c11 = 0; l12 = s12 = c12 = 0; l13 = s13 = c13 = 0; l14 = s14 = c14 = 0; l15 = s15 = c15 = 0; lminus = sminus = cminus = 0; /* Set 'em back to zero, so that the collected values will be distinctly different from the "realtime" (end of test) values. */ globalc = 0; globali = 0; globalf = 0; globald = 0; globalstruct.memberc = 0; globalstruct.memberi = 0; globalstruct.memberf = 0; globalstruct.memberd = 0; globalp = 0; for (i = 0; i < 15; i++) globalarr[i] = 0; for (i = 0; i < 4; i++) globalarr2[i] = 0; for (i = 0; i < 4; i++) globalarr3[i] = 0; end (); return 0; }
the_stack_data/862909.c
#include <stdio.h> #include <stdlib.h> #include <string.h> /* Entrega de trabalho - Simulador de AFnD Nós, Daniel T. Rodrigues 31839010 Cassia A. Barbosa 31808204 declaramos que todas as respostas são fruto de nosso próprio trabalho, não copiamos respostas de colegas externos à equipe, não disponibilizamos nossas respostas para colegas externos à equipe e não realizamos quaisquer outras atividades desonestas para nos beneficiar ou prejudicar outros. */ // OBS: Estamos usando o formatador de código em C padrão do VSCode void printPalavra(char *p); int main(void) { // Leitura do arquivo de entrada FILE *fp; fp = fopen("input.txt", "r"); if (fp == NULL) { printf("ERRO: Arquivo 'input.txt' não encontrado.\n"); return 1; } fseek(fp, 0, SEEK_END); int tamanho = ftell(fp); rewind(fp); char *entradas = malloc(sizeof(char) * (tamanho + 1)); size_t tamanhoLido = fread(entradas, sizeof(char), tamanho, fp); if ((int)tamanhoLido != tamanho) { printf("ERRO: Arquivo não lido corretamente.\n"); return 1; } entradas[tamanho] = '\0'; fclose(fp); // // Linha 1: Definir alfabeto // int i = 0; char simboloEsperado = 'a'; char alfabeto[10] = {'0', '0', '0', '0', '0', '0', '0', '0', '0', '0'}; while (entradas[i] != '\n') { if (i == 10) { printf("\nERRO: São permitidos no máximo 10 símbolos no alfabeto.\n"); return 1; } if (entradas[i] != simboloEsperado) { printf("\nERRO: São aceitas somente letras minúsculas e em ordem alfabética para o alfabeto.\n"); return 1; } alfabeto[i] = entradas[i]; i++; simboloEsperado++; } int tamanhoAlfabeto = i; // // Linha 2: Definir número de estados // i++; char entradaEstados[2] = {' ', ' '}; int contador = 0; while (entradas[i] != '\n') { if (contador > 1) { printf("\nERRO: Número máximo de estados: 20.\n"); return 1; } entradaEstados[contador] = entradas[i]; i++; contador++; } int nEstados = atoi(entradaEstados); if (nEstados > 20) { printf("\nERRO: Número máximo de estados: 20.\n"); return 1; } // // Linha 3: Número de estados finais // i++; contador = 0; char entradaFinais[2] = {' ', ' '}; while (entradas[i] != '\n') { entradaFinais[contador] = entradas[i]; i++; contador++; } int nFinais = atoi(entradaFinais); if (nFinais > nEstados) { printf("\nERRO: Número de estados finais deve ser menor ou igual ao de estados.\n"); return 1; } // // Linha 4: Estados finais // i++; int estadosFinais[nFinais]; contador = 0; int contadorEstadosFinais = 0; char estadoFinal[2] = {' ', ' '}; while (1) { if (entradas[i] == ' ') { int e = atoi(estadoFinal); if (e > nEstados) { printf("\nERRO: Estado final %d inválido.\n", e); return 1; } estadosFinais[contadorEstadosFinais] = e; contadorEstadosFinais++; contador = 0; estadoFinal[1] = ' '; } else if (entradas[i] == '\n') { int e = atoi(estadoFinal); if (e > nEstados) { printf("\nERRO: Estado final %d inválido.\n", e); return 1; } estadosFinais[contadorEstadosFinais] = e; break; } else { estadoFinal[contador] = entradas[i]; contador++; } i++; } // // Linha 5: Número de transições // i++; contador = 0; char entradaTransicoes[4] = {' ', ' ', ' ', ' '}; while (entradas[i] != '\n') { entradaTransicoes[contador] = entradas[i]; i++; contador++; } int nTransicoes = atoi(entradaTransicoes); if (nTransicoes > nEstados * tamanhoAlfabeto * nEstados) { printf("\nERRO: Número de transações deve ser menor ou igual ao número de estados ao quadrado vezes o tamanho do alfabeto.\n"); return 1; } // // Linhas 6 até (5 + nTransicoes): Definições das transições // i++; // Inicializar matriz de transições com valores -1 para marcar fim de estados possíveis int matrizTransicoes[nEstados][tamanhoAlfabeto][nEstados]; for (int lin = 0; lin < nEstados; lin++) { for (int col = 0; col < tamanhoAlfabeto; col++) { for (int alt = 0; alt < nEstados; alt++) { matrizTransicoes[lin][col][alt] = -1; } } } // Entrar com valores de transição na matriz char entradaTransicao[2] = {' ', ' '}; contador = 0; char *tipo = "INT"; // Essa flag irá avaliar se o tipo de entrada // será um número ou símbolo (forma de tratar é diferente) int estadoPrevio, simbolo, estadoFuturo, contadorMatriz, t = 0; // Estado prévio e símbolo são as chaves i e j da matriz de transição // Estado futuro entra como valor da matriz[i][j][k] e contador matriz é a chave k // t é o contador do número de transições while (t < nTransicoes) { if (entradas[i] == '\n') { contador = 0; estadoFuturo = atoi(entradaTransicao); if (estadoFuturo > nEstados) { printf("\nERRO: Estado %d inválido.\n", estadoFuturo); return 1; } contadorMatriz = 0; while (matrizTransicoes[estadoPrevio][simbolo][contadorMatriz] != -1) contadorMatriz++; matrizTransicoes[estadoPrevio][simbolo][contadorMatriz] = estadoFuturo; t++; } else if (entradas[i] == ' ') { contador = 0; if (strncmp(tipo, "INT", 3) == 0) { estadoPrevio = atoi(entradaTransicao); if (estadoPrevio > nEstados) { printf("\nERRO: Estado %d inválido.\n", estadoPrevio); return 1; } tipo = "CHAR"; } else if (strncmp(tipo, "CHAR", 3) == 0) { simbolo = entradaTransicao[0] - 'a'; tipo = "INT"; } } else { if (strncmp(tipo, "INT", 3) == 0) { entradaTransicao[contador] = entradas[i]; contador++; } else { entradaTransicao[0] = entradas[i]; } } i++; } // Printar matriz de transições para verificação // Descomente o comentário abaixo (linha 265-289) para ver a matriz de transição na tela de saída. // printf("\nMatriz de transições:\n[\n\t"); // for (int lin = 0; lin < nEstados; lin++) // { // for (int col = 0; col < tamanhoAlfabeto; col++) // { // for (int alt = 0; alt < nEstados; alt++) // { // if (alt == 0) // { // printf("[%d, ", matrizTransicoes[lin][col][alt]); // } // else if (alt == nEstados - 1) // { // printf("%d]", matrizTransicoes[lin][col][alt]); // } // else // { // printf("%d, ", matrizTransicoes[lin][col][alt]); // } // } // printf("\t"); // } // printf("\n\t"); // } // printf("\n]\n"); // // Linha (6 + nTransicoes): Número de palavras a serem testadas // contador = 0; char entradaPalavras[3] = {' ', ' ', ' '}; while (entradas[i] != '\n') { entradaPalavras[contador] = entradas[i]; i++; contador++; } int nPalavras = atoi(entradaPalavras); // // Linhas (7 + nTransicoes) até (7 + nTransicoes + nPalavras): Testes // i++; char palavra[100]; int q[nEstados]; // Armazenará os possíveis estados do AFnD, com 1 está ativo e 0 quando não está. int qFuturo[nEstados]; // Armazenará os próximos estados; char *res; // Armazenará o resultado do AFnD na palavra for (int p = 1; p <= nPalavras; p++) { q[0] = 1; // Começará no estado q0. for (int e = 1; e < nEstados; e++) q[e] = 0; // Outros estados começam inativos. contador = 0; for (int l = 0; l < 100; l++) { // Reinicializar a palavra palavra[l] = ' '; } while (entradas[i] != '\n' && entradas[i] != '\0') { if (contador >= 100) { printf("\nERRO: Número máximo de caracteres permitido para uma palavra é 100.\n"); return 1; } palavra[contador] = entradas[i]; i++; contador++; } // Temos a palavra, agora executar o AFnD nela contador = 0; while (contador < 100 && palavra[contador] != ' ') { for (int e = 0; e < nEstados; e++) { // Reinicializar estados futuros qFuturo[e] = 0; } for (int e = 0; e < nEstados; e++) { // Achar estados ativos e aplicar AFnD neles if (q[e]) { contadorMatriz = 0; while (contadorMatriz < nEstados && matrizTransicoes[e][palavra[contador] - 'a'][contadorMatriz] != -1) { qFuturo[matrizTransicoes[e][palavra[contador] - 'a'][contadorMatriz]] = 1; contadorMatriz++; } } } for (int e = 0; e < nEstados; e++) { // Tornar qFuturo o q atual q[e] = qFuturo[e]; } contador++; } res = "not OK"; // Avaliar se algum dos estados é estado final for (int k = 0; k < nFinais; k++) { if (q[estadosFinais[k]]) { res = "OK"; } } printf("%d: ", p); printPalavra(palavra); printf(" %s\n", res); i++; } return 0; } void printPalavra(char *p) { int i = 0; while (p[i] != ' ') printf("%c", p[i++]); }
the_stack_data/82949596.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_any.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: esupatae <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/04/09 04:03:49 by esupatae #+# #+# */ /* Updated: 2019/04/09 04:03:51 by esupatae ### ########.fr */ /* */ /* ************************************************************************** */ int ft_any(char **tab, int (*f)(char*)) { while (*tab != 0) if (f(*tab++) == 1) return (1); return (0); }
the_stack_data/95450751.c
//1184 - Abaixo da Diagonal Principal #include <stdio.h> int main(){ double vetor[12][12], num, resultado = 0; int col, lin, i; char op; //operação scanf("%c", &op); //op //prenchimento do vetor for(lin = 0; lin < 12; lin++){ for(col = 0; col < 12; col++){ scanf("%lf", &num); vetor[lin][col] = num; } } //acima da diagonal principal i = 0; for(lin = 1; lin <= 11; lin++){ for(col = 0; col <= i; col++){ resultado += vetor[lin][col]; } i++; } //op switch(op){ case 'S': printf("%.1lf\n", resultado); break; case 'M': printf("%.1lf\n", resultado/66); break; } return 0; }
the_stack_data/139759.c
// // This code was created by Jeff Molofee '99 (ported to Linux/GLUT by Richard Campbell '99) // // If you've found this code useful, please let me know. // // Visit me at www.demonews.com/hosted/nehe // (email Richard Campbell at [email protected]) // // It was modified heavily by Daniel Davis to get rid of Glut (Blah!) and the Tab characters (double Blah!) // Daniel ([email protected]) // I should note that this was completed on a custom Linux (see www.linuxfromscratch.org) // using XFree86 4.0.1 with DRI cvs code and a 3dfx Voodoo3 card. #include <X11/Xlib.h> // Standard X header for X libraries #include <X11/Xatom.h> // Header to provide X's Atom functionality #include <X11/keysym.h> // Header to provide keyboard functionality under X #include <GL/gl.h> // Header File For The OpenGL32 Library #include <GL/glx.h> // Header File For The X library for OpenGL #include <GL/glu.h> // Header File For The GLu32 Library #include <stdio.h> // Standard I/O routines #include <stdlib.h> // Standard Library routines #include <unistd.h> // Header file for sleeping. /* Buffer parameters for Double Buffering */ static int dblBuf[] = {GLX_RGBA, GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, GLX_DEPTH_SIZE, 12, GLX_DOUBLEBUFFER, None}; /* Global variables */ Atom wmDeleteWindow; // Custom message to Delete Window Display *dpDisplay; // Display variable Window win; // Current Window variable Bool masking; // Masking On/Off Bool scene; // Which Scene To Draw GLuint iTexture[5]; // Storage For Our Five Textures GLuint loop; // Generic Loop Variable GLfloat roll; // Rolling Texture /* Image type - contains height, width, and data */ struct Texture { unsigned long ulDimensionX; unsigned long ulDimensionY; char *pcData; }; typedef struct Texture Texture; // quick and dirty bitmap loader...for 24 bit bitmaps with 1 plane only. // See http://www.dcs.ed.ac.uk/~mxr/gfx/2d/BMP.txt for more info. int LoadBMP(char *szFilename, Texture *pTexture) { // Texture *pTexture; FILE *filePointer; unsigned long ulSize; // size of the image in bytes. unsigned long iCount; // standard counter. unsigned short int usiPlanes; // number of planes in image (must be 1) unsigned short int usiBpp; // number of bits per pixel (must be 24) char cTempColor; // temporary color storage for bgr-rgb conversion. // make sure the file is there. if ((filePointer = fopen(szFilename, "rb"))==NULL) { printf("File Not Found : %s\n",szFilename); exit(0); } // seek through the bmp header, up to the width/height: fseek(filePointer, 18, SEEK_CUR); // read the width if ((iCount = fread(&pTexture->ulDimensionX, 4, 1, filePointer)) != 1) { printf("Error reading width from %s.\n", szFilename); exit(0); } printf("Width of %s: %lu\n", szFilename, pTexture->ulDimensionX); // read the height if ((iCount = fread(&pTexture->ulDimensionY, 4, 1, filePointer)) != 1) { printf("Error reading height from %s.\n", szFilename); exit(0); } printf("Height of %s: %lu\n", szFilename, pTexture->ulDimensionY); // calculate the size (assuming 24 bits or 3 bytes per pixel). ulSize = pTexture->ulDimensionX * pTexture->ulDimensionY * 3; // printf("zz%dyy%dxx%d\n\r", ulSize, pTexture->ulDimensionX, pTexture->ulDimensionY); // read the planes if ((fread(&usiPlanes, 2, 1, filePointer)) != 1) { printf("Error reading planes from %s.\n", szFilename); exit(0); } if (usiPlanes != 1) { printf("Planes from %s is not 1: %u\n", szFilename, usiPlanes); exit(0); } // read the bpp if ((iCount = fread(&usiBpp, 2, 1, filePointer)) != 1) { printf("Error reading bpp from %s.\n", szFilename); exit(0); } if (usiBpp != 24) { printf("Bpp from %s is not 24: %u\n", szFilename, usiBpp); exit(0); } // seek past the rest of the bitmap header. fseek(filePointer, 24, SEEK_CUR); // read the data. pTexture->pcData = (char *) malloc(ulSize); if (pTexture->pcData == NULL) { printf("Error allocating memory for color-corrected image data"); exit(0); } if ((iCount = fread(pTexture->pcData, ulSize, 1, filePointer)) != 1) { printf("Error reading image data from %s.\n", szFilename); exit(0); } for (iCount=0;iCount<ulSize;iCount+=3) // reverse all of the colors. (bgr -> rgb) { cTempColor = pTexture->pcData[iCount]; pTexture->pcData[iCount] = pTexture->pcData[iCount+2]; pTexture->pcData[iCount+2] = cTempColor; } // we're done. // return pTexture; return 1; } // Load Bitmaps And Convert To Textures int LoadGLTextures() { // Load Texture Texture *TextureImage; // allocate space for texture TextureImage = (Texture *) malloc(sizeof(Texture)); glGenTextures(5, &iTexture[0]); // Create Five Textures for(loop=0;loop<5;loop++) { switch(loop) { case 0: LoadBMP("Data/lesson20/logo.bmp", TextureImage); break; case 1: LoadBMP("Data/lesson20/image1.bmp", TextureImage); break; case 2: LoadBMP("Data/lesson20/mask1.bmp", TextureImage); break; case 3: LoadBMP("Data/lesson20/image2.bmp", TextureImage); break; case 4: LoadBMP("Data/lesson20/mask2.bmp", TextureImage); break; } glBindTexture(GL_TEXTURE_2D, iTexture[loop]); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR); glTexImage2D(GL_TEXTURE_2D, 0, 3, TextureImage->ulDimensionX, TextureImage->ulDimensionY, 0, GL_RGB, GL_UNSIGNED_BYTE, TextureImage->pcData); } if (TextureImage) // If Texture Exists { if (TextureImage->pcData) // If Texture Image Exists { free(TextureImage->pcData); // Free The Texture Image Memory } free(TextureImage); // Free The Image Structure } return True; // Return The Status } /* Function to construct and initialize X-windows Window */ void xInitWindow(int *argv, char **argc) { XVisualInfo *xvVisualInfo; Colormap cmColorMap; XSetWindowAttributes winAttributes; GLXContext glXContext; /* Open the Display */ dpDisplay = XOpenDisplay(NULL); if(dpDisplay == NULL) { printf("Could not open display!\n\r"); exit(0); } /* Check for GLX extension to X-Windows */ if(!glXQueryExtension(dpDisplay, NULL, NULL)) { printf("X server has no GLX extension.\n\r"); exit(0); } /* Grab a doublebuffering RGBA visual as defined in dblBuf */ xvVisualInfo = glXChooseVisual(dpDisplay, DefaultScreen(dpDisplay), dblBuf); if(xvVisualInfo == NULL) { printf("No double buffering RGB visual with depth buffer available.\n\r"); exit(0); } /* Create a window context */ glXContext = glXCreateContext(dpDisplay, xvVisualInfo, None, True); if(glXContext == NULL) { printf("Could not create rendering context.\n\r"); exit(0); } /* Create the color map for the new window */ cmColorMap = XCreateColormap(dpDisplay, RootWindow(dpDisplay, xvVisualInfo->screen), xvVisualInfo->visual, AllocNone); winAttributes.colormap = cmColorMap; winAttributes.border_pixel = 0; winAttributes.event_mask = ExposureMask | ButtonPressMask | StructureNotifyMask | KeyPressMask; /* Create the actual window object */ win = XCreateWindow(dpDisplay, RootWindow(dpDisplay, xvVisualInfo->screen), 0, 0, 640, // Horizontal Size 480, // Veritical Size 0, xvVisualInfo->depth, InputOutput, xvVisualInfo->visual, CWBorderPixel | CWColormap | CWEventMask, &winAttributes); /* Set the standard properties for the window. */ XSetStandardProperties(dpDisplay, win, "Daniel Davis's Fog Tutorial ... NeHe '99", "lesson20", None, (char **) argv, (int) argc, NULL); /* Establish new event */ wmDeleteWindow = XInternAtom(dpDisplay, "WM_DELETE_WINDOW", False); XSetWMProtocols(dpDisplay, win, &wmDeleteWindow, 1); /* Bind the OpenGL context to the newly created window. */ glXMakeCurrent(dpDisplay, win, glXContext); /* Make the new window the active window. */ XMapWindow(dpDisplay, win); } /* A general OpenGL initialization function. Sets all of the initial parameters. */ int InitGL(int Width, int Height) // We call this right after our OpenGL window is created. { if (!LoadGLTextures()) // Jump To Texture Loading Routine { return False; // If Texture Didn't Load Return FALSE } glClearColor(0.0f, 0.0f, 0.0f, 0.0f); // Clear The Background Color To Black glClearDepth(1.0); // Enables Clearing Of The Depth Buffer glEnable(GL_DEPTH_TEST); // Enable Depth Testing glShadeModel(GL_SMOOTH); // Enables Smooth Color Shading glEnable(GL_TEXTURE_2D); // Enable 2D Texture Mapping return True; } /* The function called when our window is resized (which shouldn't happen, because we're fullscreen) */ void ReSizeGLScene(int Width, int Height) { if (Height==0) // Prevent A Divide By Zero If The Window Is Too Small Height=1; glViewport(0, 0, Width, Height); // Reset The Current Viewport And Perspective Transformation glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluPerspective(45.0f,(GLfloat)Width/(GLfloat)Height,0.1f,100.0f); glMatrixMode(GL_MODELVIEW); } /* The function to draw the screendrawing function. */ void DrawGLScene() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); // Clear The Screen And The Depth Buffer glLoadIdentity(); // Reset The Modelview Matrix glTranslatef(0.0f,0.0f,-2.0f); // Move Into The Screen 5 Units glBindTexture(GL_TEXTURE_2D, iTexture[0]); // Select Our Logo Texture glBegin(GL_QUADS); // Start Drawing A Textured Quad glTexCoord2f(0.0f, -roll+0.0f); glVertex3f(-1.1f, -1.1f, 0.0f); // Bottom Left glTexCoord2f(3.0f, -roll+0.0f); glVertex3f( 1.1f, -1.1f, 0.0f); // Bottom Right glTexCoord2f(3.0f, -roll+3.0f); glVertex3f( 1.1f, 1.1f, 0.0f); // Top Right glTexCoord2f(0.0f, -roll+3.0f); glVertex3f(-1.1f, 1.1f, 0.0f); // Top Left glEnd(); // Done Drawing The Quad glEnable(GL_BLEND); // Enable Blending glDisable(GL_DEPTH_TEST); // Disable Depth Testing if (masking) // Is Masking Enabled? { glBlendFunc(GL_DST_COLOR,GL_ZERO); // Blend Screen Color With Zero (Black) } if (scene) // Are We Drawing The Second Scene? { glTranslatef(0.0f,0.0f,-1.0f); // Translate Into The Screen One Unit glRotatef(roll*360,0.0f,0.0f,1.0f); // Rotate On The Z Axis 360 Degrees. if (masking) // Is Masking On? { glBindTexture(GL_TEXTURE_2D, iTexture[3]); // Select The Second Mask Texture glBegin(GL_QUADS); // Start Drawing A Textured Quad glTexCoord2f(0.0f, 0.0f); glVertex3f(-1.1f, -1.1f, 0.0f); // Bottom Left glTexCoord2f(1.0f, 0.0f); glVertex3f( 1.1f, -1.1f, 0.0f); // Bottom Right glTexCoord2f(1.0f, 1.0f); glVertex3f( 1.1f, 1.1f, 0.0f); // Top Right glTexCoord2f(0.0f, 1.0f); glVertex3f(-1.1f, 1.1f, 0.0f); // Top Left glEnd(); // Done Drawing The Quad } glBlendFunc(GL_ONE, GL_ONE); // Copy Image 2 Color To The Screen glBindTexture(GL_TEXTURE_2D, iTexture[4]); // Select The Second Image Texture glBegin(GL_QUADS); // Start Drawing A Textured Quad glTexCoord2f(0.0f, 0.0f); glVertex3f(-1.1f, -1.1f, 0.0f); // Bottom Left glTexCoord2f(1.0f, 0.0f); glVertex3f( 1.1f, -1.1f, 0.0f); // Bottom Right glTexCoord2f(1.0f, 1.0f); glVertex3f( 1.1f, 1.1f, 0.0f); // Top Right glTexCoord2f(0.0f, 1.0f); glVertex3f(-1.1f, 1.1f, 0.0f); // Top Left glEnd(); // Done Drawing The Quad } else // Otherwise { if (masking) // Is Masking On? { glBindTexture(GL_TEXTURE_2D, iTexture[1]); // Select The First Mask Texture glBegin(GL_QUADS); // Start Drawing A Textured Quad glTexCoord2f(roll+0.0f, 0.0f); glVertex3f(-1.1f, -1.1f, 0.0f); // Bottom Left glTexCoord2f(roll+4.0f, 0.0f); glVertex3f( 1.1f, -1.1f, 0.0f); // Bottom Right glTexCoord2f(roll+4.0f, 4.0f); glVertex3f( 1.1f, 1.1f, 0.0f); // Top Right glTexCoord2f(roll+0.0f, 4.0f); glVertex3f(-1.1f, 1.1f, 0.0f); // Top Left glEnd(); // Done Drawing The Quad } glBlendFunc(GL_ONE, GL_ONE); // Copy Image 1 Color To The Screen glBindTexture(GL_TEXTURE_2D, iTexture[2]); // Select The First Image Texture glBegin(GL_QUADS); // Start Drawing A Textured Quad glTexCoord2f(roll+0.0f, 0.0f); glVertex3f(-1.1f, -1.1f, 0.0f); // Bottom Left glTexCoord2f(roll+4.0f, 0.0f); glVertex3f( 1.1f, -1.1f, 0.0f); // Bottom Right glTexCoord2f(roll+4.0f, 4.0f); glVertex3f( 1.1f, 1.1f, 0.0f); // Top Right glTexCoord2f(roll+0.0f, 4.0f); glVertex3f(-1.1f, 1.1f, 0.0f); // Top Left glEnd(); // Done Drawing The Quad } glEnable(GL_DEPTH_TEST); // Enable Depth Testing glDisable(GL_BLEND); // Disable Blending roll+=0.002f; // Increase Our Texture Roll Variable if (roll>1.0f) // Is Roll Greater Than One { roll-=1.0f; // Subtract 1 From Roll } // since this is double buffered, swap the buffers to display what just got drawn. glXSwapBuffers(dpDisplay, win); } /* The function called whenever a key is pressed. */ void keyPressed(KeySym key) { /* avoid thrashing this procedure */ // usleep(100); /* If escape is pressed, kill everything. */ switch(key) { case XK_Escape: XCloseDisplay(dpDisplay); /* exit the program...normal termination. */ exit(0); break; case XK_space: scene=!scene; break; case XK_M: case XK_m: masking=!masking; break; } } void xMainLoop() { XEvent event; KeySym ks; Bool needRedraw = False; while(1) { if(XPending(dpDisplay)) // While more events are pending, continue processing. { /* Get the current event from the system queue. */ XNextEvent(dpDisplay, &event); /* Process the incoming event. */ switch(event.type) { case Expose: needRedraw = True; break; /* If window moves, redraw it. */ case MotionNotify: needRedraw = True; break; /* If a key was pressed, get keystroke and called the processing function. */ case KeyPress: ks = XLookupKeysym((XKeyEvent *) &event, 0); keyPressed(ks); break; /* If the screen was resized, call the appropriate function. */ case ConfigureNotify: ReSizeGLScene(event.xconfigure.width, event.xconfigure.height); break; case ButtonPress: break; /* Process any custom messages. */ case ClientMessage: if(event.xclient.data.l[0] == wmDeleteWindow) { XCloseDisplay(dpDisplay); exit(0); } break; } } /* If redraw flag is set, redraw the window. */ // if(needRedraw) { DrawGLScene(); } } } int main(int argc, char **argv) { /* Initialize our window. */ xInitWindow(&argc, argv); /* Initialize OpenGL routines */ if(!InitGL(640, 480)) { printf("Error initializing OpenGL. \n\r"); exit(0); } /* Start Event Processing Engine */ xMainLoop(); return(1); }
the_stack_data/1180688.c
#include <math.h> double fmod(double x, double y) { unsigned short fpsr; // fprem does not introduce excess precision into x do __asm__ ("fprem; fnstsw %%ax" : "+t"(x), "=a"(fpsr) : "u"(y)); while (fpsr & 0x400); return x; }
the_stack_data/476200.c
#include <stdio.h> #include <stdlib.h> int main() { int i; printf("Type a number: "); scanf("%d", &i); int z[i]; printf("Size of \'z\' is %llu\n", sizeof(z)); int m,f; printf("Type a number: "); scanf("%d", &m); int* x = (int*)malloc(i * sizeof(int)); x[0] = 1; printf("x[0] = %d\n", x[0]); int** l = (int**)malloc(sizeof(int**) * i); printf("Number of columns: "); scanf("%d", &f); for (int j =0; j < i; j++) { l[j] = (int*)malloc(sizeof(int*)* f); } l[0][0] = 3; printf("l[0][0] = %d\n", l[0][0]); free(x); return 0; }
the_stack_data/32951122.c
int main() { int a = 65; a = a/5; return a; }
the_stack_data/247019057.c
float buzz(amp,si,hn,f,phs) float amp,si,hn,*f,*phs; { int j,k; float q,d,h2n,h2np1; j = *phs; k = (j+1) % 1024; h2n = 2. * hn; h2np1 = h2n + 1.; q = (int)((*phs - (float)j) * h2np1)/h2np1; d = *(f+j); d += (*(f+k)-d)*q; if(!d) q = amp; else { k = (long)(h2np1 * *phs) % 1024; q = amp * (*(f+k)/d - 1.)/h2n; } *phs += si; while(*phs >= 1024.) *phs -= 1024.; return(q); } float * bbuzz(amp,si,hn,f,phs,a,alen) float amp,si,hn,*f,*phs,*a; long alen; { register i,j,k; float q,d,h2n,h2np1; float *fp= a; h2n = hn+hn; h2np1 = h2n+1.; for(i=0; i<alen; i++) { j = *phs; k = (j+1) % 1024; q = (int)((*phs - (float)j) * h2np1)/h2np1; d = *(f+j); d += (*(f+k)-d)*q; if(!d) *fp++ = amp; else { k = (long)(h2np1 * *phs) % 1024; *fp++ = amp * (*(f+k)/d - 1.)/h2n; } *phs += si; while(*phs >= 1024.) *phs -= 1024.; } return(a); }
the_stack_data/17626.c
#include <stdlib.h> // FIXME: check for overflow ??? double strtod(const char *restrict str, char **restrict endptr) { return strtold(str, endptr); }
the_stack_data/30160.c
#include <stdio.h> #include <stdlib.h> //Programa que faca a somatoria dos valores entrados //pelo usuario (somente os que estão na faixa de 10 a 20 inclusive) //Ate que soma seja maior que 100 int main() { int num, soma=0; do{ do{ printf("Digite um valor [entre 10 e 20] \n"); scanf("%d", &num); }while(num < 10 || num > 20); soma += num; }while(soma <= 100); printf("Somatoria: %d \n", soma); return 0; }
the_stack_data/107951817.c
typedef int a; typedef a b; int main() { b c; return 0 ; }
the_stack_data/101153.c
/* |4.2| * 1. Dados dois números inteiros, mostre o maior deles. */ #include <stdio.h> int main(void) { int a, b; puts("Entre com dois números inteiros distintos separados por um espaço:"); scanf("%d %d", &a, &b); if (a > b) printf("%d é o maior número.\n", a); else if (b > a) printf("%d é o maior número.\n", b); else { puts("Os números são idênticos."); return 1; } return 0; }
the_stack_data/126615.c
//求模运算符 #include <stdio.h> int main(void) { int a = 25, b = 5, c = 10, d = 7; printf("a = %i, b = %i, c = %i, and d = %i\n", a, b, c, d); printf("a %% b = %i\n", a % b); printf("a %% c = %i\n", a % c); printf("a %% d = %i\n", a % d); printf("a / d * d + a %% d = %i\n", a / d * d + a % d); return 0; }
the_stack_data/387289.c
#include <stdio.h> #include <stdlib.h> int sum_of_even_numbers(int, int); int main() { int n, a, b, k, num; do { k = scanf("%d", &a); while(getchar() != '\n'); } while (k != 1); do { k = scanf("%d", &b); while(getchar() != '\n'); } while (k != 1); int sum = 0 , i; do { do { k = scanf("%d", &num); while(getchar() != '\n'); } while (k == 0); if(ferror(stdin)) { printf("Error"); exit(1); } if(k == -1) { break; } if(num > a && num < b && num > 0 && num % 2 == 0) { sum += num; } } while(1); printf("Sum = %d", sum); return 0; }
the_stack_data/242329785.c
#include <stdlib.h> struct k { int p; struct { int m : 31; } q; }; int main () { volatile struct k *l = malloc (sizeof (int)); /* make it only big enough for k.p */ /* Confirm that we instrument this nested construct BIT_FIELD_REF(COMPONENT_REF(INDIRECT_REF)). */ l->q.m = 5; return 0; } /* { dg-output "mudflap violation 1.*" } */ /* { dg-output "Nearby object.*" } */ /* { dg-output "mudflap object.*" } */ /* { dg-do run { xfail *-*-* } } */
the_stack_data/366447.c
/* Autogenerated: 'src/ExtractionOCaml/bedrock2_word_by_word_montgomery' --lang bedrock2 --static --no-wide-int --widen-carry --widen-bytes --split-multiret --no-select p256 64 '2^256 - 2^224 + 2^192 + 2^96 - 1' mul square add sub opp from_montgomery to_montgomery nonzero selectznz to_bytes from_bytes one msat divstep divstep_precomp */ /* curve description: p256 */ /* machine_wordsize = 64 (from "64") */ /* requested operations: mul, square, add, sub, opp, from_montgomery, to_montgomery, nonzero, selectznz, to_bytes, from_bytes, one, msat, divstep, divstep_precomp */ /* m = 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff (from "2^256 - 2^224 + 2^192 + 2^96 - 1") */ /* */ /* NOTE: In addition to the bounds specified above each function, all */ /* functions synthesized for this Montgomery arithmetic require the */ /* input to be strictly less than the prime modulus (m), and also */ /* require the input to be in the unique saturated representation. */ /* All functions also ensure that these two properties are true of */ /* return values. */ /* */ /* Computed values: */ /* eval z = z[0] + (z[1] << 64) + (z[2] << 128) + (z[3] << 192) */ /* bytes_eval z = z[0] + (z[1] << 8) + (z[2] << 16) + (z[3] << 24) + (z[4] << 32) + (z[5] << 40) + (z[6] << 48) + (z[7] << 56) + (z[8] << 64) + (z[9] << 72) + (z[10] << 80) + (z[11] << 88) + (z[12] << 96) + (z[13] << 104) + (z[14] << 112) + (z[15] << 120) + (z[16] << 128) + (z[17] << 136) + (z[18] << 144) + (z[19] << 152) + (z[20] << 160) + (z[21] << 168) + (z[22] << 176) + (z[23] << 184) + (z[24] << 192) + (z[25] << 200) + (z[26] << 208) + (z[27] << 216) + (z[28] << 224) + (z[29] << 232) + (z[30] << 240) + (z[31] << 248) */ /* twos_complement_eval z = let x1 := z[0] + (z[1] << 64) + (z[2] << 128) + (z[3] << 192) in */ /* if x1 & (2^256-1) < 2^255 then x1 & (2^256-1) else (x1 & (2^256-1)) - 2^256 */ #include <stdint.h> #include <memory.h> // LITTLE-ENDIAN memory access is REQUIRED // the following two functions are required to work around -fstrict-aliasing static inline uintptr_t _br2_load(uintptr_t a, size_t sz) { uintptr_t r = 0; memcpy(&r, (void*)a, sz); return r; } static inline void _br2_store(uintptr_t a, uintptr_t v, size_t sz) { memcpy((void*)a, &v, sz); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * in1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_mul(uintptr_t out0, uintptr_t in0, uintptr_t in1) { uintptr_t x1, x2, x3, x0, x11, x16, x19, x21, x17, x22, x14, x23, x25, x26, x15, x27, x12, x28, x30, x31, x13, x35, x38, x40, x36, x37, x42, x18, x43, x20, x44, x39, x45, x47, x48, x24, x49, x41, x50, x52, x53, x29, x54, x33, x55, x57, x58, x32, x59, x34, x60, x62, x8, x68, x71, x73, x69, x74, x66, x75, x77, x78, x67, x79, x64, x80, x82, x83, x65, x70, x46, x86, x51, x87, x72, x88, x90, x91, x56, x92, x76, x93, x95, x96, x61, x97, x81, x98, x100, x101, x63, x102, x84, x103, x105, x109, x112, x114, x110, x111, x116, x85, x117, x89, x118, x113, x119, x121, x122, x94, x123, x115, x124, x126, x127, x99, x128, x107, x129, x131, x132, x104, x133, x108, x134, x136, x137, x106, x9, x143, x146, x148, x144, x149, x141, x150, x152, x153, x142, x154, x139, x155, x157, x158, x140, x145, x120, x161, x125, x162, x147, x163, x165, x166, x130, x167, x151, x168, x170, x171, x135, x172, x156, x173, x175, x176, x138, x177, x159, x178, x180, x184, x187, x189, x185, x186, x191, x160, x192, x164, x193, x188, x194, x196, x197, x169, x198, x190, x199, x201, x202, x174, x203, x182, x204, x206, x207, x179, x208, x183, x209, x211, x212, x181, x7, x6, x5, x10, x4, x218, x221, x223, x219, x224, x216, x225, x227, x228, x217, x229, x214, x230, x232, x233, x215, x220, x195, x236, x200, x237, x222, x238, x240, x241, x205, x242, x226, x243, x245, x246, x210, x247, x231, x248, x250, x251, x213, x252, x234, x253, x255, x259, x262, x264, x260, x261, x266, x235, x267, x239, x268, x263, x269, x271, x272, x244, x273, x265, x274, x276, x277, x249, x278, x257, x279, x281, x282, x254, x283, x258, x284, x286, x287, x256, x290, x291, x292, x294, x295, x297, x298, x299, x301, x302, x288, x303, x270, x305, x289, x306, x275, x308, x293, x309, x280, x311, x296, x312, x304, x285, x314, x300, x315, x307, x310, x313, x316, x317, x318, x319, x320; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ x4 = _br2_load((in1)+((uintptr_t)0ULL), sizeof(uintptr_t)); x5 = _br2_load((in1)+((uintptr_t)8ULL), sizeof(uintptr_t)); x6 = _br2_load((in1)+((uintptr_t)16ULL), sizeof(uintptr_t)); x7 = _br2_load((in1)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x8 = x1; x9 = x2; x10 = x3; x11 = x0; x12 = (x11)*(x7); x13 = sizeof(intptr_t) == 4 ? ((uint64_t)(x11)*(x7))>>32 : ((__uint128_t)(x11)*(x7))>>64; x14 = (x11)*(x6); x15 = sizeof(intptr_t) == 4 ? ((uint64_t)(x11)*(x6))>>32 : ((__uint128_t)(x11)*(x6))>>64; x16 = (x11)*(x5); x17 = sizeof(intptr_t) == 4 ? ((uint64_t)(x11)*(x5))>>32 : ((__uint128_t)(x11)*(x5))>>64; x18 = (x11)*(x4); x19 = sizeof(intptr_t) == 4 ? ((uint64_t)(x11)*(x4))>>32 : ((__uint128_t)(x11)*(x4))>>64; x20 = (x19)+(x16); x21 = (x20)<(x19); x22 = (x21)+(x17); x23 = (x22)<(x17); x24 = (x22)+(x14); x25 = (x24)<(x14); x26 = (x23)+(x25); x27 = (x26)+(x15); x28 = (x27)<(x15); x29 = (x27)+(x12); x30 = (x29)<(x12); x31 = (x28)+(x30); x32 = (x31)+(x13); x33 = (x18)*((uintptr_t)18446744069414584321ULL); x34 = sizeof(intptr_t) == 4 ? ((uint64_t)(x18)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x18)*((uintptr_t)18446744069414584321ULL))>>64; x35 = (x18)*((uintptr_t)4294967295ULL); x36 = sizeof(intptr_t) == 4 ? ((uint64_t)(x18)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x18)*((uintptr_t)4294967295ULL))>>64; x37 = (x18)*((uintptr_t)18446744073709551615ULL); x38 = sizeof(intptr_t) == 4 ? ((uint64_t)(x18)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x18)*((uintptr_t)18446744073709551615ULL))>>64; x39 = (x38)+(x35); x40 = (x39)<(x38); x41 = (x40)+(x36); x42 = (x18)+(x37); x43 = (x42)<(x18); x44 = (x43)+(x20); x45 = (x44)<(x20); x46 = (x44)+(x39); x47 = (x46)<(x39); x48 = (x45)+(x47); x49 = (x48)+(x24); x50 = (x49)<(x24); x51 = (x49)+(x41); x52 = (x51)<(x41); x53 = (x50)+(x52); x54 = (x53)+(x29); x55 = (x54)<(x29); x56 = (x54)+(x33); x57 = (x56)<(x33); x58 = (x55)+(x57); x59 = (x58)+(x32); x60 = (x59)<(x32); x61 = (x59)+(x34); x62 = (x61)<(x34); x63 = (x60)+(x62); x64 = (x8)*(x7); x65 = sizeof(intptr_t) == 4 ? ((uint64_t)(x8)*(x7))>>32 : ((__uint128_t)(x8)*(x7))>>64; x66 = (x8)*(x6); x67 = sizeof(intptr_t) == 4 ? ((uint64_t)(x8)*(x6))>>32 : ((__uint128_t)(x8)*(x6))>>64; x68 = (x8)*(x5); x69 = sizeof(intptr_t) == 4 ? ((uint64_t)(x8)*(x5))>>32 : ((__uint128_t)(x8)*(x5))>>64; x70 = (x8)*(x4); x71 = sizeof(intptr_t) == 4 ? ((uint64_t)(x8)*(x4))>>32 : ((__uint128_t)(x8)*(x4))>>64; x72 = (x71)+(x68); x73 = (x72)<(x71); x74 = (x73)+(x69); x75 = (x74)<(x69); x76 = (x74)+(x66); x77 = (x76)<(x66); x78 = (x75)+(x77); x79 = (x78)+(x67); x80 = (x79)<(x67); x81 = (x79)+(x64); x82 = (x81)<(x64); x83 = (x80)+(x82); x84 = (x83)+(x65); x85 = (x46)+(x70); x86 = (x85)<(x46); x87 = (x86)+(x51); x88 = (x87)<(x51); x89 = (x87)+(x72); x90 = (x89)<(x72); x91 = (x88)+(x90); x92 = (x91)+(x56); x93 = (x92)<(x56); x94 = (x92)+(x76); x95 = (x94)<(x76); x96 = (x93)+(x95); x97 = (x96)+(x61); x98 = (x97)<(x61); x99 = (x97)+(x81); x100 = (x99)<(x81); x101 = (x98)+(x100); x102 = (x101)+(x63); x103 = (x102)<(x63); x104 = (x102)+(x84); x105 = (x104)<(x84); x106 = (x103)+(x105); x107 = (x85)*((uintptr_t)18446744069414584321ULL); x108 = sizeof(intptr_t) == 4 ? ((uint64_t)(x85)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x85)*((uintptr_t)18446744069414584321ULL))>>64; x109 = (x85)*((uintptr_t)4294967295ULL); x110 = sizeof(intptr_t) == 4 ? ((uint64_t)(x85)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x85)*((uintptr_t)4294967295ULL))>>64; x111 = (x85)*((uintptr_t)18446744073709551615ULL); x112 = sizeof(intptr_t) == 4 ? ((uint64_t)(x85)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x85)*((uintptr_t)18446744073709551615ULL))>>64; x113 = (x112)+(x109); x114 = (x113)<(x112); x115 = (x114)+(x110); x116 = (x85)+(x111); x117 = (x116)<(x85); x118 = (x117)+(x89); x119 = (x118)<(x89); x120 = (x118)+(x113); x121 = (x120)<(x113); x122 = (x119)+(x121); x123 = (x122)+(x94); x124 = (x123)<(x94); x125 = (x123)+(x115); x126 = (x125)<(x115); x127 = (x124)+(x126); x128 = (x127)+(x99); x129 = (x128)<(x99); x130 = (x128)+(x107); x131 = (x130)<(x107); x132 = (x129)+(x131); x133 = (x132)+(x104); x134 = (x133)<(x104); x135 = (x133)+(x108); x136 = (x135)<(x108); x137 = (x134)+(x136); x138 = (x137)+(x106); x139 = (x9)*(x7); x140 = sizeof(intptr_t) == 4 ? ((uint64_t)(x9)*(x7))>>32 : ((__uint128_t)(x9)*(x7))>>64; x141 = (x9)*(x6); x142 = sizeof(intptr_t) == 4 ? ((uint64_t)(x9)*(x6))>>32 : ((__uint128_t)(x9)*(x6))>>64; x143 = (x9)*(x5); x144 = sizeof(intptr_t) == 4 ? ((uint64_t)(x9)*(x5))>>32 : ((__uint128_t)(x9)*(x5))>>64; x145 = (x9)*(x4); x146 = sizeof(intptr_t) == 4 ? ((uint64_t)(x9)*(x4))>>32 : ((__uint128_t)(x9)*(x4))>>64; x147 = (x146)+(x143); x148 = (x147)<(x146); x149 = (x148)+(x144); x150 = (x149)<(x144); x151 = (x149)+(x141); x152 = (x151)<(x141); x153 = (x150)+(x152); x154 = (x153)+(x142); x155 = (x154)<(x142); x156 = (x154)+(x139); x157 = (x156)<(x139); x158 = (x155)+(x157); x159 = (x158)+(x140); x160 = (x120)+(x145); x161 = (x160)<(x120); x162 = (x161)+(x125); x163 = (x162)<(x125); x164 = (x162)+(x147); x165 = (x164)<(x147); x166 = (x163)+(x165); x167 = (x166)+(x130); x168 = (x167)<(x130); x169 = (x167)+(x151); x170 = (x169)<(x151); x171 = (x168)+(x170); x172 = (x171)+(x135); x173 = (x172)<(x135); x174 = (x172)+(x156); x175 = (x174)<(x156); x176 = (x173)+(x175); x177 = (x176)+(x138); x178 = (x177)<(x138); x179 = (x177)+(x159); x180 = (x179)<(x159); x181 = (x178)+(x180); x182 = (x160)*((uintptr_t)18446744069414584321ULL); x183 = sizeof(intptr_t) == 4 ? ((uint64_t)(x160)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x160)*((uintptr_t)18446744069414584321ULL))>>64; x184 = (x160)*((uintptr_t)4294967295ULL); x185 = sizeof(intptr_t) == 4 ? ((uint64_t)(x160)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x160)*((uintptr_t)4294967295ULL))>>64; x186 = (x160)*((uintptr_t)18446744073709551615ULL); x187 = sizeof(intptr_t) == 4 ? ((uint64_t)(x160)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x160)*((uintptr_t)18446744073709551615ULL))>>64; x188 = (x187)+(x184); x189 = (x188)<(x187); x190 = (x189)+(x185); x191 = (x160)+(x186); x192 = (x191)<(x160); x193 = (x192)+(x164); x194 = (x193)<(x164); x195 = (x193)+(x188); x196 = (x195)<(x188); x197 = (x194)+(x196); x198 = (x197)+(x169); x199 = (x198)<(x169); x200 = (x198)+(x190); x201 = (x200)<(x190); x202 = (x199)+(x201); x203 = (x202)+(x174); x204 = (x203)<(x174); x205 = (x203)+(x182); x206 = (x205)<(x182); x207 = (x204)+(x206); x208 = (x207)+(x179); x209 = (x208)<(x179); x210 = (x208)+(x183); x211 = (x210)<(x183); x212 = (x209)+(x211); x213 = (x212)+(x181); x214 = (x10)*(x7); x215 = sizeof(intptr_t) == 4 ? ((uint64_t)(x10)*(x7))>>32 : ((__uint128_t)(x10)*(x7))>>64; x216 = (x10)*(x6); x217 = sizeof(intptr_t) == 4 ? ((uint64_t)(x10)*(x6))>>32 : ((__uint128_t)(x10)*(x6))>>64; x218 = (x10)*(x5); x219 = sizeof(intptr_t) == 4 ? ((uint64_t)(x10)*(x5))>>32 : ((__uint128_t)(x10)*(x5))>>64; x220 = (x10)*(x4); x221 = sizeof(intptr_t) == 4 ? ((uint64_t)(x10)*(x4))>>32 : ((__uint128_t)(x10)*(x4))>>64; x222 = (x221)+(x218); x223 = (x222)<(x221); x224 = (x223)+(x219); x225 = (x224)<(x219); x226 = (x224)+(x216); x227 = (x226)<(x216); x228 = (x225)+(x227); x229 = (x228)+(x217); x230 = (x229)<(x217); x231 = (x229)+(x214); x232 = (x231)<(x214); x233 = (x230)+(x232); x234 = (x233)+(x215); x235 = (x195)+(x220); x236 = (x235)<(x195); x237 = (x236)+(x200); x238 = (x237)<(x200); x239 = (x237)+(x222); x240 = (x239)<(x222); x241 = (x238)+(x240); x242 = (x241)+(x205); x243 = (x242)<(x205); x244 = (x242)+(x226); x245 = (x244)<(x226); x246 = (x243)+(x245); x247 = (x246)+(x210); x248 = (x247)<(x210); x249 = (x247)+(x231); x250 = (x249)<(x231); x251 = (x248)+(x250); x252 = (x251)+(x213); x253 = (x252)<(x213); x254 = (x252)+(x234); x255 = (x254)<(x234); x256 = (x253)+(x255); x257 = (x235)*((uintptr_t)18446744069414584321ULL); x258 = sizeof(intptr_t) == 4 ? ((uint64_t)(x235)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x235)*((uintptr_t)18446744069414584321ULL))>>64; x259 = (x235)*((uintptr_t)4294967295ULL); x260 = sizeof(intptr_t) == 4 ? ((uint64_t)(x235)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x235)*((uintptr_t)4294967295ULL))>>64; x261 = (x235)*((uintptr_t)18446744073709551615ULL); x262 = sizeof(intptr_t) == 4 ? ((uint64_t)(x235)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x235)*((uintptr_t)18446744073709551615ULL))>>64; x263 = (x262)+(x259); x264 = (x263)<(x262); x265 = (x264)+(x260); x266 = (x235)+(x261); x267 = (x266)<(x235); x268 = (x267)+(x239); x269 = (x268)<(x239); x270 = (x268)+(x263); x271 = (x270)<(x263); x272 = (x269)+(x271); x273 = (x272)+(x244); x274 = (x273)<(x244); x275 = (x273)+(x265); x276 = (x275)<(x265); x277 = (x274)+(x276); x278 = (x277)+(x249); x279 = (x278)<(x249); x280 = (x278)+(x257); x281 = (x280)<(x257); x282 = (x279)+(x281); x283 = (x282)+(x254); x284 = (x283)<(x254); x285 = (x283)+(x258); x286 = (x285)<(x258); x287 = (x284)+(x286); x288 = (x287)+(x256); x289 = (x270)-((uintptr_t)18446744073709551615ULL); x290 = (x270)<(x289); x291 = (x275)-((uintptr_t)4294967295ULL); x292 = (x275)<(x291); x293 = (x291)-(x290); x294 = (x291)<(x293); x295 = (x292)+(x294); x296 = (x280)-(x295); x297 = (x280)<(x296); x298 = (x285)-((uintptr_t)18446744069414584321ULL); x299 = (x285)<(x298); x300 = (x298)-(x297); x301 = (x298)<(x300); x302 = (x299)+(x301); x303 = (x288)-(x302); x304 = (x288)<(x303); x305 = ((uintptr_t)-1ULL)+((x304)==((uintptr_t)0ULL)); x306 = (x305)^((uintptr_t)18446744073709551615ULL); x307 = ((x270)&(x305))|((x289)&(x306)); x308 = ((uintptr_t)-1ULL)+((x304)==((uintptr_t)0ULL)); x309 = (x308)^((uintptr_t)18446744073709551615ULL); x310 = ((x275)&(x308))|((x293)&(x309)); x311 = ((uintptr_t)-1ULL)+((x304)==((uintptr_t)0ULL)); x312 = (x311)^((uintptr_t)18446744073709551615ULL); x313 = ((x280)&(x311))|((x296)&(x312)); x314 = ((uintptr_t)-1ULL)+((x304)==((uintptr_t)0ULL)); x315 = (x314)^((uintptr_t)18446744073709551615ULL); x316 = ((x285)&(x314))|((x300)&(x315)); x317 = x307; x318 = x310; x319 = x313; x320 = x316; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x317, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x318, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x319, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x320, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_mul(uint64_t out1[4], const uint64_t arg1[4], const uint64_t arg2[4]) { internal_fiat_p256_mul((uintptr_t)out1, (uintptr_t)arg1, (uintptr_t)arg2); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_square(uintptr_t out0, uintptr_t in0) { uintptr_t x7, x12, x15, x17, x13, x18, x10, x19, x21, x22, x11, x23, x8, x24, x26, x27, x9, x31, x34, x36, x32, x33, x38, x14, x39, x16, x40, x35, x41, x43, x44, x20, x45, x37, x46, x48, x49, x25, x50, x29, x51, x53, x54, x28, x55, x30, x56, x58, x4, x64, x67, x69, x65, x70, x62, x71, x73, x74, x63, x75, x60, x76, x78, x79, x61, x66, x42, x82, x47, x83, x68, x84, x86, x87, x52, x88, x72, x89, x91, x92, x57, x93, x77, x94, x96, x97, x59, x98, x80, x99, x101, x105, x108, x110, x106, x107, x112, x81, x113, x85, x114, x109, x115, x117, x118, x90, x119, x111, x120, x122, x123, x95, x124, x103, x125, x127, x128, x100, x129, x104, x130, x132, x133, x102, x5, x139, x142, x144, x140, x145, x137, x146, x148, x149, x138, x150, x135, x151, x153, x154, x136, x141, x116, x157, x121, x158, x143, x159, x161, x162, x126, x163, x147, x164, x166, x167, x131, x168, x152, x169, x171, x172, x134, x173, x155, x174, x176, x180, x183, x185, x181, x182, x187, x156, x188, x160, x189, x184, x190, x192, x193, x165, x194, x186, x195, x197, x198, x170, x199, x178, x200, x202, x203, x175, x204, x179, x205, x207, x208, x177, x3, x2, x1, x6, x0, x214, x217, x219, x215, x220, x212, x221, x223, x224, x213, x225, x210, x226, x228, x229, x211, x216, x191, x232, x196, x233, x218, x234, x236, x237, x201, x238, x222, x239, x241, x242, x206, x243, x227, x244, x246, x247, x209, x248, x230, x249, x251, x255, x258, x260, x256, x257, x262, x231, x263, x235, x264, x259, x265, x267, x268, x240, x269, x261, x270, x272, x273, x245, x274, x253, x275, x277, x278, x250, x279, x254, x280, x282, x283, x252, x286, x287, x288, x290, x291, x293, x294, x295, x297, x298, x284, x299, x266, x301, x285, x302, x271, x304, x289, x305, x276, x307, x292, x308, x300, x281, x310, x296, x311, x303, x306, x309, x312, x313, x314, x315, x316; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x4 = x1; x5 = x2; x6 = x3; x7 = x0; x8 = (x7)*(x3); x9 = sizeof(intptr_t) == 4 ? ((uint64_t)(x7)*(x3))>>32 : ((__uint128_t)(x7)*(x3))>>64; x10 = (x7)*(x2); x11 = sizeof(intptr_t) == 4 ? ((uint64_t)(x7)*(x2))>>32 : ((__uint128_t)(x7)*(x2))>>64; x12 = (x7)*(x1); x13 = sizeof(intptr_t) == 4 ? ((uint64_t)(x7)*(x1))>>32 : ((__uint128_t)(x7)*(x1))>>64; x14 = (x7)*(x0); x15 = sizeof(intptr_t) == 4 ? ((uint64_t)(x7)*(x0))>>32 : ((__uint128_t)(x7)*(x0))>>64; x16 = (x15)+(x12); x17 = (x16)<(x15); x18 = (x17)+(x13); x19 = (x18)<(x13); x20 = (x18)+(x10); x21 = (x20)<(x10); x22 = (x19)+(x21); x23 = (x22)+(x11); x24 = (x23)<(x11); x25 = (x23)+(x8); x26 = (x25)<(x8); x27 = (x24)+(x26); x28 = (x27)+(x9); x29 = (x14)*((uintptr_t)18446744069414584321ULL); x30 = sizeof(intptr_t) == 4 ? ((uint64_t)(x14)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x14)*((uintptr_t)18446744069414584321ULL))>>64; x31 = (x14)*((uintptr_t)4294967295ULL); x32 = sizeof(intptr_t) == 4 ? ((uint64_t)(x14)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x14)*((uintptr_t)4294967295ULL))>>64; x33 = (x14)*((uintptr_t)18446744073709551615ULL); x34 = sizeof(intptr_t) == 4 ? ((uint64_t)(x14)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x14)*((uintptr_t)18446744073709551615ULL))>>64; x35 = (x34)+(x31); x36 = (x35)<(x34); x37 = (x36)+(x32); x38 = (x14)+(x33); x39 = (x38)<(x14); x40 = (x39)+(x16); x41 = (x40)<(x16); x42 = (x40)+(x35); x43 = (x42)<(x35); x44 = (x41)+(x43); x45 = (x44)+(x20); x46 = (x45)<(x20); x47 = (x45)+(x37); x48 = (x47)<(x37); x49 = (x46)+(x48); x50 = (x49)+(x25); x51 = (x50)<(x25); x52 = (x50)+(x29); x53 = (x52)<(x29); x54 = (x51)+(x53); x55 = (x54)+(x28); x56 = (x55)<(x28); x57 = (x55)+(x30); x58 = (x57)<(x30); x59 = (x56)+(x58); x60 = (x4)*(x3); x61 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*(x3))>>32 : ((__uint128_t)(x4)*(x3))>>64; x62 = (x4)*(x2); x63 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*(x2))>>32 : ((__uint128_t)(x4)*(x2))>>64; x64 = (x4)*(x1); x65 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*(x1))>>32 : ((__uint128_t)(x4)*(x1))>>64; x66 = (x4)*(x0); x67 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*(x0))>>32 : ((__uint128_t)(x4)*(x0))>>64; x68 = (x67)+(x64); x69 = (x68)<(x67); x70 = (x69)+(x65); x71 = (x70)<(x65); x72 = (x70)+(x62); x73 = (x72)<(x62); x74 = (x71)+(x73); x75 = (x74)+(x63); x76 = (x75)<(x63); x77 = (x75)+(x60); x78 = (x77)<(x60); x79 = (x76)+(x78); x80 = (x79)+(x61); x81 = (x42)+(x66); x82 = (x81)<(x42); x83 = (x82)+(x47); x84 = (x83)<(x47); x85 = (x83)+(x68); x86 = (x85)<(x68); x87 = (x84)+(x86); x88 = (x87)+(x52); x89 = (x88)<(x52); x90 = (x88)+(x72); x91 = (x90)<(x72); x92 = (x89)+(x91); x93 = (x92)+(x57); x94 = (x93)<(x57); x95 = (x93)+(x77); x96 = (x95)<(x77); x97 = (x94)+(x96); x98 = (x97)+(x59); x99 = (x98)<(x59); x100 = (x98)+(x80); x101 = (x100)<(x80); x102 = (x99)+(x101); x103 = (x81)*((uintptr_t)18446744069414584321ULL); x104 = sizeof(intptr_t) == 4 ? ((uint64_t)(x81)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x81)*((uintptr_t)18446744069414584321ULL))>>64; x105 = (x81)*((uintptr_t)4294967295ULL); x106 = sizeof(intptr_t) == 4 ? ((uint64_t)(x81)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x81)*((uintptr_t)4294967295ULL))>>64; x107 = (x81)*((uintptr_t)18446744073709551615ULL); x108 = sizeof(intptr_t) == 4 ? ((uint64_t)(x81)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x81)*((uintptr_t)18446744073709551615ULL))>>64; x109 = (x108)+(x105); x110 = (x109)<(x108); x111 = (x110)+(x106); x112 = (x81)+(x107); x113 = (x112)<(x81); x114 = (x113)+(x85); x115 = (x114)<(x85); x116 = (x114)+(x109); x117 = (x116)<(x109); x118 = (x115)+(x117); x119 = (x118)+(x90); x120 = (x119)<(x90); x121 = (x119)+(x111); x122 = (x121)<(x111); x123 = (x120)+(x122); x124 = (x123)+(x95); x125 = (x124)<(x95); x126 = (x124)+(x103); x127 = (x126)<(x103); x128 = (x125)+(x127); x129 = (x128)+(x100); x130 = (x129)<(x100); x131 = (x129)+(x104); x132 = (x131)<(x104); x133 = (x130)+(x132); x134 = (x133)+(x102); x135 = (x5)*(x3); x136 = sizeof(intptr_t) == 4 ? ((uint64_t)(x5)*(x3))>>32 : ((__uint128_t)(x5)*(x3))>>64; x137 = (x5)*(x2); x138 = sizeof(intptr_t) == 4 ? ((uint64_t)(x5)*(x2))>>32 : ((__uint128_t)(x5)*(x2))>>64; x139 = (x5)*(x1); x140 = sizeof(intptr_t) == 4 ? ((uint64_t)(x5)*(x1))>>32 : ((__uint128_t)(x5)*(x1))>>64; x141 = (x5)*(x0); x142 = sizeof(intptr_t) == 4 ? ((uint64_t)(x5)*(x0))>>32 : ((__uint128_t)(x5)*(x0))>>64; x143 = (x142)+(x139); x144 = (x143)<(x142); x145 = (x144)+(x140); x146 = (x145)<(x140); x147 = (x145)+(x137); x148 = (x147)<(x137); x149 = (x146)+(x148); x150 = (x149)+(x138); x151 = (x150)<(x138); x152 = (x150)+(x135); x153 = (x152)<(x135); x154 = (x151)+(x153); x155 = (x154)+(x136); x156 = (x116)+(x141); x157 = (x156)<(x116); x158 = (x157)+(x121); x159 = (x158)<(x121); x160 = (x158)+(x143); x161 = (x160)<(x143); x162 = (x159)+(x161); x163 = (x162)+(x126); x164 = (x163)<(x126); x165 = (x163)+(x147); x166 = (x165)<(x147); x167 = (x164)+(x166); x168 = (x167)+(x131); x169 = (x168)<(x131); x170 = (x168)+(x152); x171 = (x170)<(x152); x172 = (x169)+(x171); x173 = (x172)+(x134); x174 = (x173)<(x134); x175 = (x173)+(x155); x176 = (x175)<(x155); x177 = (x174)+(x176); x178 = (x156)*((uintptr_t)18446744069414584321ULL); x179 = sizeof(intptr_t) == 4 ? ((uint64_t)(x156)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x156)*((uintptr_t)18446744069414584321ULL))>>64; x180 = (x156)*((uintptr_t)4294967295ULL); x181 = sizeof(intptr_t) == 4 ? ((uint64_t)(x156)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x156)*((uintptr_t)4294967295ULL))>>64; x182 = (x156)*((uintptr_t)18446744073709551615ULL); x183 = sizeof(intptr_t) == 4 ? ((uint64_t)(x156)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x156)*((uintptr_t)18446744073709551615ULL))>>64; x184 = (x183)+(x180); x185 = (x184)<(x183); x186 = (x185)+(x181); x187 = (x156)+(x182); x188 = (x187)<(x156); x189 = (x188)+(x160); x190 = (x189)<(x160); x191 = (x189)+(x184); x192 = (x191)<(x184); x193 = (x190)+(x192); x194 = (x193)+(x165); x195 = (x194)<(x165); x196 = (x194)+(x186); x197 = (x196)<(x186); x198 = (x195)+(x197); x199 = (x198)+(x170); x200 = (x199)<(x170); x201 = (x199)+(x178); x202 = (x201)<(x178); x203 = (x200)+(x202); x204 = (x203)+(x175); x205 = (x204)<(x175); x206 = (x204)+(x179); x207 = (x206)<(x179); x208 = (x205)+(x207); x209 = (x208)+(x177); x210 = (x6)*(x3); x211 = sizeof(intptr_t) == 4 ? ((uint64_t)(x6)*(x3))>>32 : ((__uint128_t)(x6)*(x3))>>64; x212 = (x6)*(x2); x213 = sizeof(intptr_t) == 4 ? ((uint64_t)(x6)*(x2))>>32 : ((__uint128_t)(x6)*(x2))>>64; x214 = (x6)*(x1); x215 = sizeof(intptr_t) == 4 ? ((uint64_t)(x6)*(x1))>>32 : ((__uint128_t)(x6)*(x1))>>64; x216 = (x6)*(x0); x217 = sizeof(intptr_t) == 4 ? ((uint64_t)(x6)*(x0))>>32 : ((__uint128_t)(x6)*(x0))>>64; x218 = (x217)+(x214); x219 = (x218)<(x217); x220 = (x219)+(x215); x221 = (x220)<(x215); x222 = (x220)+(x212); x223 = (x222)<(x212); x224 = (x221)+(x223); x225 = (x224)+(x213); x226 = (x225)<(x213); x227 = (x225)+(x210); x228 = (x227)<(x210); x229 = (x226)+(x228); x230 = (x229)+(x211); x231 = (x191)+(x216); x232 = (x231)<(x191); x233 = (x232)+(x196); x234 = (x233)<(x196); x235 = (x233)+(x218); x236 = (x235)<(x218); x237 = (x234)+(x236); x238 = (x237)+(x201); x239 = (x238)<(x201); x240 = (x238)+(x222); x241 = (x240)<(x222); x242 = (x239)+(x241); x243 = (x242)+(x206); x244 = (x243)<(x206); x245 = (x243)+(x227); x246 = (x245)<(x227); x247 = (x244)+(x246); x248 = (x247)+(x209); x249 = (x248)<(x209); x250 = (x248)+(x230); x251 = (x250)<(x230); x252 = (x249)+(x251); x253 = (x231)*((uintptr_t)18446744069414584321ULL); x254 = sizeof(intptr_t) == 4 ? ((uint64_t)(x231)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x231)*((uintptr_t)18446744069414584321ULL))>>64; x255 = (x231)*((uintptr_t)4294967295ULL); x256 = sizeof(intptr_t) == 4 ? ((uint64_t)(x231)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x231)*((uintptr_t)4294967295ULL))>>64; x257 = (x231)*((uintptr_t)18446744073709551615ULL); x258 = sizeof(intptr_t) == 4 ? ((uint64_t)(x231)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x231)*((uintptr_t)18446744073709551615ULL))>>64; x259 = (x258)+(x255); x260 = (x259)<(x258); x261 = (x260)+(x256); x262 = (x231)+(x257); x263 = (x262)<(x231); x264 = (x263)+(x235); x265 = (x264)<(x235); x266 = (x264)+(x259); x267 = (x266)<(x259); x268 = (x265)+(x267); x269 = (x268)+(x240); x270 = (x269)<(x240); x271 = (x269)+(x261); x272 = (x271)<(x261); x273 = (x270)+(x272); x274 = (x273)+(x245); x275 = (x274)<(x245); x276 = (x274)+(x253); x277 = (x276)<(x253); x278 = (x275)+(x277); x279 = (x278)+(x250); x280 = (x279)<(x250); x281 = (x279)+(x254); x282 = (x281)<(x254); x283 = (x280)+(x282); x284 = (x283)+(x252); x285 = (x266)-((uintptr_t)18446744073709551615ULL); x286 = (x266)<(x285); x287 = (x271)-((uintptr_t)4294967295ULL); x288 = (x271)<(x287); x289 = (x287)-(x286); x290 = (x287)<(x289); x291 = (x288)+(x290); x292 = (x276)-(x291); x293 = (x276)<(x292); x294 = (x281)-((uintptr_t)18446744069414584321ULL); x295 = (x281)<(x294); x296 = (x294)-(x293); x297 = (x294)<(x296); x298 = (x295)+(x297); x299 = (x284)-(x298); x300 = (x284)<(x299); x301 = ((uintptr_t)-1ULL)+((x300)==((uintptr_t)0ULL)); x302 = (x301)^((uintptr_t)18446744073709551615ULL); x303 = ((x266)&(x301))|((x285)&(x302)); x304 = ((uintptr_t)-1ULL)+((x300)==((uintptr_t)0ULL)); x305 = (x304)^((uintptr_t)18446744073709551615ULL); x306 = ((x271)&(x304))|((x289)&(x305)); x307 = ((uintptr_t)-1ULL)+((x300)==((uintptr_t)0ULL)); x308 = (x307)^((uintptr_t)18446744073709551615ULL); x309 = ((x276)&(x307))|((x292)&(x308)); x310 = ((uintptr_t)-1ULL)+((x300)==((uintptr_t)0ULL)); x311 = (x310)^((uintptr_t)18446744073709551615ULL); x312 = ((x281)&(x310))|((x296)&(x311)); x313 = x303; x314 = x306; x315 = x309; x316 = x312; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x313, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x314, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x315, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x316, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_square(uint64_t out1[4], const uint64_t arg1[4]) { internal_fiat_p256_square((uintptr_t)out1, (uintptr_t)arg1); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * in1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_add(uintptr_t out0, uintptr_t in0, uintptr_t in1) { uintptr_t x4, x0, x9, x1, x5, x11, x2, x6, x13, x3, x7, x17, x15, x20, x8, x23, x16, x24, x10, x26, x18, x27, x12, x29, x19, x30, x22, x14, x32, x21, x33, x25, x28, x31, x34, x35, x36, x37, x38; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ x4 = _br2_load((in1)+((uintptr_t)0ULL), sizeof(uintptr_t)); x5 = _br2_load((in1)+((uintptr_t)8ULL), sizeof(uintptr_t)); x6 = _br2_load((in1)+((uintptr_t)16ULL), sizeof(uintptr_t)); x7 = _br2_load((in1)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x8 = (x0)+(x4); x9 = ((x8)<(x0))+(x1); x10 = (x9)+(x5); x11 = (((x9)<(x1))+((x10)<(x5)))+(x2); x12 = (x11)+(x6); x13 = (((x11)<(x2))+((x12)<(x6)))+(x3); x14 = (x13)+(x7); x15 = ((x13)<(x3))+((x14)<(x7)); x16 = (x8)-((uintptr_t)18446744073709551615ULL); x17 = (x10)-((uintptr_t)4294967295ULL); x18 = (x17)-((x8)<(x16)); x19 = (x12)-(((x10)<(x17))+((x17)<(x18))); x20 = (x14)-((uintptr_t)18446744069414584321ULL); x21 = (x20)-((x12)<(x19)); x22 = (x15)<((x15)-(((x14)<(x20))+((x20)<(x21)))); x23 = ((uintptr_t)-1ULL)+((x22)==((uintptr_t)0ULL)); x24 = (x23)^((uintptr_t)18446744073709551615ULL); x25 = ((x8)&(x23))|((x16)&(x24)); x26 = ((uintptr_t)-1ULL)+((x22)==((uintptr_t)0ULL)); x27 = (x26)^((uintptr_t)18446744073709551615ULL); x28 = ((x10)&(x26))|((x18)&(x27)); x29 = ((uintptr_t)-1ULL)+((x22)==((uintptr_t)0ULL)); x30 = (x29)^((uintptr_t)18446744073709551615ULL); x31 = ((x12)&(x29))|((x19)&(x30)); x32 = ((uintptr_t)-1ULL)+((x22)==((uintptr_t)0ULL)); x33 = (x32)^((uintptr_t)18446744073709551615ULL); x34 = ((x14)&(x32))|((x21)&(x33)); x35 = x25; x36 = x28; x37 = x31; x38 = x34; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x35, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x36, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x37, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x38, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_add(uint64_t out1[4], const uint64_t arg1[4], const uint64_t arg2[4]) { internal_fiat_p256_add((uintptr_t)out1, (uintptr_t)arg1, (uintptr_t)arg2); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * in1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_sub(uintptr_t out0, uintptr_t in0, uintptr_t in1) { uintptr_t x4, x5, x0, x6, x1, x9, x7, x2, x11, x3, x13, x8, x17, x10, x12, x14, x15, x16, x18, x19, x20, x21, x22, x23, x24; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ x4 = _br2_load((in1)+((uintptr_t)0ULL), sizeof(uintptr_t)); x5 = _br2_load((in1)+((uintptr_t)8ULL), sizeof(uintptr_t)); x6 = _br2_load((in1)+((uintptr_t)16ULL), sizeof(uintptr_t)); x7 = _br2_load((in1)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x8 = (x0)-(x4); x9 = (x1)-(x5); x10 = (x9)-((x0)<(x8)); x11 = (x2)-(x6); x12 = (x11)-(((x1)<(x9))+((x9)<(x10))); x13 = (x3)-(x7); x14 = (x13)-(((x2)<(x11))+((x11)<(x12))); x15 = ((uintptr_t)-1ULL)+((((x3)<(x13))+((x13)<(x14)))==((uintptr_t)0ULL)); x16 = (x8)+(x15); x17 = ((x16)<(x8))+(x10); x18 = (x17)+((x15)&((uintptr_t)4294967295ULL)); x19 = (((x17)<(x10))+((x18)<((x15)&((uintptr_t)4294967295ULL))))+(x12); x20 = (((x19)<(x12))+(x14))+((x15)&((uintptr_t)18446744069414584321ULL)); x21 = x16; x22 = x18; x23 = x19; x24 = x20; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x21, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x22, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x23, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x24, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_sub(uint64_t out1[4], const uint64_t arg1[4], const uint64_t arg2[4]) { internal_fiat_p256_sub((uintptr_t)out1, (uintptr_t)arg1, (uintptr_t)arg2); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_opp(uintptr_t out0, uintptr_t in0) { uintptr_t x0, x1, x2, x5, x3, x7, x9, x4, x13, x6, x8, x10, x11, x12, x14, x15, x16, x17, x18, x19, x20; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x4 = ((uintptr_t)0ULL)-(x0); x5 = ((uintptr_t)0ULL)-(x1); x6 = (x5)-(((uintptr_t)0ULL)<(x4)); x7 = ((uintptr_t)0ULL)-(x2); x8 = (x7)-((((uintptr_t)0ULL)<(x5))+((x5)<(x6))); x9 = ((uintptr_t)0ULL)-(x3); x10 = (x9)-((((uintptr_t)0ULL)<(x7))+((x7)<(x8))); x11 = ((uintptr_t)-1ULL)+(((((uintptr_t)0ULL)<(x9))+((x9)<(x10)))==((uintptr_t)0ULL)); x12 = (x4)+(x11); x13 = ((x12)<(x4))+(x6); x14 = (x13)+((x11)&((uintptr_t)4294967295ULL)); x15 = (((x13)<(x6))+((x14)<((x11)&((uintptr_t)4294967295ULL))))+(x8); x16 = (((x15)<(x8))+(x10))+((x11)&((uintptr_t)18446744069414584321ULL)); x17 = x12; x18 = x14; x19 = x15; x20 = x16; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x17, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x18, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x19, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x20, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_opp(uint64_t out1[4], const uint64_t arg1[4]) { internal_fiat_p256_opp((uintptr_t)out1, (uintptr_t)arg1); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_from_montgomery(uintptr_t out0, uintptr_t in0) { uintptr_t x0, x8, x4, x9, x1, x11, x18, x13, x21, x14, x12, x10, x7, x19, x23, x5, x20, x17, x25, x6, x15, x2, x22, x24, x26, x35, x28, x38, x29, x36, x40, x30, x37, x34, x42, x31, x27, x16, x32, x3, x39, x41, x43, x51, x54, x46, x52, x56, x47, x53, x50, x58, x48, x44, x33, x49, x45, x62, x65, x55, x68, x61, x69, x57, x71, x63, x72, x59, x74, x64, x75, x67, x60, x77, x66, x78, x70, x73, x76, x79, x80, x81, x82, x83; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x4 = x0; x5 = (x4)*((uintptr_t)18446744069414584321ULL); x6 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x4)*((uintptr_t)18446744069414584321ULL))>>64; x7 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x4)*((uintptr_t)4294967295ULL))>>64; x8 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x4)*((uintptr_t)18446744073709551615ULL))>>64; x9 = (x8)+((x4)*((uintptr_t)4294967295ULL)); x10 = (x9)<(x8); x11 = (((x4)+((x4)*((uintptr_t)18446744073709551615ULL)))<(x4))+(x9); x12 = (x11)<(x9); x13 = (x11)+(x1); x14 = (x13)<(x11); x15 = (x13)*((uintptr_t)18446744069414584321ULL); x16 = sizeof(intptr_t) == 4 ? ((uint64_t)(x13)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x13)*((uintptr_t)18446744069414584321ULL))>>64; x17 = sizeof(intptr_t) == 4 ? ((uint64_t)(x13)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x13)*((uintptr_t)4294967295ULL))>>64; x18 = sizeof(intptr_t) == 4 ? ((uint64_t)(x13)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x13)*((uintptr_t)18446744073709551615ULL))>>64; x19 = (x18)+((x13)*((uintptr_t)4294967295ULL)); x20 = (x19)<(x18); x21 = (((x13)+((x13)*((uintptr_t)18446744073709551615ULL)))<(x13))+((x14)+((x12)+((x10)+(x7)))); x22 = (x21)+(x19); x23 = (((x21)<((x14)+((x12)+((x10)+(x7)))))+((x22)<(x19)))+(x5); x24 = (x23)+((x20)+(x17)); x25 = (((x23)<(x5))+((x24)<((x20)+(x17))))+(x6); x26 = (x25)+(x15); x27 = ((x25)<(x6))+((x26)<(x15)); x28 = (x22)+(x2); x29 = ((x28)<(x22))+(x24); x30 = ((x29)<(x24))+(x26); x31 = (x30)<(x26); x32 = (x28)*((uintptr_t)18446744069414584321ULL); x33 = sizeof(intptr_t) == 4 ? ((uint64_t)(x28)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x28)*((uintptr_t)18446744069414584321ULL))>>64; x34 = sizeof(intptr_t) == 4 ? ((uint64_t)(x28)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x28)*((uintptr_t)4294967295ULL))>>64; x35 = sizeof(intptr_t) == 4 ? ((uint64_t)(x28)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x28)*((uintptr_t)18446744073709551615ULL))>>64; x36 = (x35)+((x28)*((uintptr_t)4294967295ULL)); x37 = (x36)<(x35); x38 = (((x28)+((x28)*((uintptr_t)18446744073709551615ULL)))<(x28))+(x29); x39 = (x38)+(x36); x40 = (((x38)<(x29))+((x39)<(x36)))+(x30); x41 = (x40)+((x37)+(x34)); x42 = (((x40)<(x30))+((x41)<((x37)+(x34))))+((x31)+((x27)+(x16))); x43 = (x42)+(x32); x44 = ((x42)<((x31)+((x27)+(x16))))+((x43)<(x32)); x45 = (x39)+(x3); x46 = ((x45)<(x39))+(x41); x47 = ((x46)<(x41))+(x43); x48 = (x47)<(x43); x49 = (x45)*((uintptr_t)18446744069414584321ULL); x50 = sizeof(intptr_t) == 4 ? ((uint64_t)(x45)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x45)*((uintptr_t)4294967295ULL))>>64; x51 = sizeof(intptr_t) == 4 ? ((uint64_t)(x45)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x45)*((uintptr_t)18446744073709551615ULL))>>64; x52 = (x51)+((x45)*((uintptr_t)4294967295ULL)); x53 = (x52)<(x51); x54 = (((x45)+((x45)*((uintptr_t)18446744073709551615ULL)))<(x45))+(x46); x55 = (x54)+(x52); x56 = (((x54)<(x46))+((x55)<(x52)))+(x47); x57 = (x56)+((x53)+(x50)); x58 = (((x56)<(x47))+((x57)<((x53)+(x50))))+((x48)+((x44)+(x33))); x59 = (x58)+(x49); x60 = (((x58)<((x48)+((x44)+(x33))))+((x59)<(x49)))+(sizeof(intptr_t) == 4 ? ((uint64_t)(x45)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x45)*((uintptr_t)18446744069414584321ULL))>>64); x61 = (x55)-((uintptr_t)18446744073709551615ULL); x62 = (x57)-((uintptr_t)4294967295ULL); x63 = (x62)-((x55)<(x61)); x64 = (x59)-(((x57)<(x62))+((x62)<(x63))); x65 = (x60)-((uintptr_t)18446744069414584321ULL); x66 = (x65)-((x59)<(x64)); x67 = ((uintptr_t)0ULL)<(((uintptr_t)0ULL)-(((x60)<(x65))+((x65)<(x66)))); x68 = ((uintptr_t)-1ULL)+((x67)==((uintptr_t)0ULL)); x69 = (x68)^((uintptr_t)18446744073709551615ULL); x70 = ((x55)&(x68))|((x61)&(x69)); x71 = ((uintptr_t)-1ULL)+((x67)==((uintptr_t)0ULL)); x72 = (x71)^((uintptr_t)18446744073709551615ULL); x73 = ((x57)&(x71))|((x63)&(x72)); x74 = ((uintptr_t)-1ULL)+((x67)==((uintptr_t)0ULL)); x75 = (x74)^((uintptr_t)18446744073709551615ULL); x76 = ((x59)&(x74))|((x64)&(x75)); x77 = ((uintptr_t)-1ULL)+((x67)==((uintptr_t)0ULL)); x78 = (x77)^((uintptr_t)18446744073709551615ULL); x79 = ((x60)&(x77))|((x66)&(x78)); x80 = x70; x81 = x73; x82 = x76; x83 = x79; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x80, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x81, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x82, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x83, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_from_montgomery(uint64_t out1[4], const uint64_t arg1[4]) { internal_fiat_p256_from_montgomery((uintptr_t)out1, (uintptr_t)arg1); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_to_montgomery(uintptr_t out0, uintptr_t in0) { uintptr_t x1, x2, x3, x0, x7, x14, x16, x12, x10, x18, x11, x8, x24, x13, x27, x15, x25, x29, x17, x26, x23, x31, x19, x21, x33, x20, x9, x22, x41, x43, x40, x38, x45, x39, x36, x4, x28, x49, x30, x42, x51, x32, x44, x53, x34, x46, x59, x48, x62, x50, x60, x64, x52, x61, x58, x66, x54, x56, x68, x55, x35, x47, x37, x57, x76, x78, x75, x73, x80, x74, x71, x5, x63, x84, x65, x77, x86, x67, x79, x88, x69, x81, x94, x83, x97, x85, x95, x99, x87, x96, x93, x101, x89, x91, x103, x90, x70, x82, x72, x92, x111, x113, x110, x108, x115, x109, x106, x6, x98, x119, x100, x112, x121, x102, x114, x123, x104, x116, x129, x118, x132, x120, x130, x134, x122, x131, x128, x136, x124, x126, x138, x125, x105, x117, x107, x127, x142, x140, x145, x133, x148, x141, x149, x135, x151, x143, x152, x137, x154, x144, x155, x147, x139, x157, x146, x158, x150, x153, x156, x159, x160, x161, x162, x163; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x4 = x1; x5 = x2; x6 = x3; x7 = x0; x8 = (x7)*((uintptr_t)21474836477ULL); x9 = sizeof(intptr_t) == 4 ? ((uint64_t)(x7)*((uintptr_t)21474836477ULL))>>32 : ((__uint128_t)(x7)*((uintptr_t)21474836477ULL))>>64; x10 = (x7)*((uintptr_t)18446744073709551614ULL); x11 = sizeof(intptr_t) == 4 ? ((uint64_t)(x7)*((uintptr_t)18446744073709551614ULL))>>32 : ((__uint128_t)(x7)*((uintptr_t)18446744073709551614ULL))>>64; x12 = sizeof(intptr_t) == 4 ? ((uint64_t)(x7)*((uintptr_t)18446744056529682431ULL))>>32 : ((__uint128_t)(x7)*((uintptr_t)18446744056529682431ULL))>>64; x13 = (x7)*((uintptr_t)3ULL); x14 = sizeof(intptr_t) == 4 ? ((uint64_t)(x7)*((uintptr_t)3ULL))>>32 : ((__uint128_t)(x7)*((uintptr_t)3ULL))>>64; x15 = (x14)+((x7)*((uintptr_t)18446744056529682431ULL)); x16 = ((x15)<(x14))+(x12); x17 = (x16)+(x10); x18 = (((x16)<(x12))+((x17)<(x10)))+(x11); x19 = (x18)+(x8); x20 = ((x18)<(x11))+((x19)<(x8)); x21 = (x13)*((uintptr_t)18446744069414584321ULL); x22 = sizeof(intptr_t) == 4 ? ((uint64_t)(x13)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x13)*((uintptr_t)18446744069414584321ULL))>>64; x23 = sizeof(intptr_t) == 4 ? ((uint64_t)(x13)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x13)*((uintptr_t)4294967295ULL))>>64; x24 = sizeof(intptr_t) == 4 ? ((uint64_t)(x13)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x13)*((uintptr_t)18446744073709551615ULL))>>64; x25 = (x24)+((x13)*((uintptr_t)4294967295ULL)); x26 = (x25)<(x24); x27 = (((x13)+((x13)*((uintptr_t)18446744073709551615ULL)))<(x13))+(x15); x28 = (x27)+(x25); x29 = (((x27)<(x15))+((x28)<(x25)))+(x17); x30 = (x29)+((x26)+(x23)); x31 = (((x29)<(x17))+((x30)<((x26)+(x23))))+(x19); x32 = (x31)+(x21); x33 = (((x31)<(x19))+((x32)<(x21)))+((x20)+(x9)); x34 = (x33)+(x22); x35 = ((x33)<((x20)+(x9)))+((x34)<(x22)); x36 = (x4)*((uintptr_t)21474836477ULL); x37 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*((uintptr_t)21474836477ULL))>>32 : ((__uint128_t)(x4)*((uintptr_t)21474836477ULL))>>64; x38 = (x4)*((uintptr_t)18446744073709551614ULL); x39 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*((uintptr_t)18446744073709551614ULL))>>32 : ((__uint128_t)(x4)*((uintptr_t)18446744073709551614ULL))>>64; x40 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*((uintptr_t)18446744056529682431ULL))>>32 : ((__uint128_t)(x4)*((uintptr_t)18446744056529682431ULL))>>64; x41 = sizeof(intptr_t) == 4 ? ((uint64_t)(x4)*((uintptr_t)3ULL))>>32 : ((__uint128_t)(x4)*((uintptr_t)3ULL))>>64; x42 = (x41)+((x4)*((uintptr_t)18446744056529682431ULL)); x43 = ((x42)<(x41))+(x40); x44 = (x43)+(x38); x45 = (((x43)<(x40))+((x44)<(x38)))+(x39); x46 = (x45)+(x36); x47 = ((x45)<(x39))+((x46)<(x36)); x48 = (x28)+((x4)*((uintptr_t)3ULL)); x49 = ((x48)<(x28))+(x30); x50 = (x49)+(x42); x51 = (((x49)<(x30))+((x50)<(x42)))+(x32); x52 = (x51)+(x44); x53 = (((x51)<(x32))+((x52)<(x44)))+(x34); x54 = (x53)+(x46); x55 = ((x53)<(x34))+((x54)<(x46)); x56 = (x48)*((uintptr_t)18446744069414584321ULL); x57 = sizeof(intptr_t) == 4 ? ((uint64_t)(x48)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x48)*((uintptr_t)18446744069414584321ULL))>>64; x58 = sizeof(intptr_t) == 4 ? ((uint64_t)(x48)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x48)*((uintptr_t)4294967295ULL))>>64; x59 = sizeof(intptr_t) == 4 ? ((uint64_t)(x48)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x48)*((uintptr_t)18446744073709551615ULL))>>64; x60 = (x59)+((x48)*((uintptr_t)4294967295ULL)); x61 = (x60)<(x59); x62 = (((x48)+((x48)*((uintptr_t)18446744073709551615ULL)))<(x48))+(x50); x63 = (x62)+(x60); x64 = (((x62)<(x50))+((x63)<(x60)))+(x52); x65 = (x64)+((x61)+(x58)); x66 = (((x64)<(x52))+((x65)<((x61)+(x58))))+(x54); x67 = (x66)+(x56); x68 = (((x66)<(x54))+((x67)<(x56)))+(((x55)+(x35))+((x47)+(x37))); x69 = (x68)+(x57); x70 = ((x68)<(((x55)+(x35))+((x47)+(x37))))+((x69)<(x57)); x71 = (x5)*((uintptr_t)21474836477ULL); x72 = sizeof(intptr_t) == 4 ? ((uint64_t)(x5)*((uintptr_t)21474836477ULL))>>32 : ((__uint128_t)(x5)*((uintptr_t)21474836477ULL))>>64; x73 = (x5)*((uintptr_t)18446744073709551614ULL); x74 = sizeof(intptr_t) == 4 ? ((uint64_t)(x5)*((uintptr_t)18446744073709551614ULL))>>32 : ((__uint128_t)(x5)*((uintptr_t)18446744073709551614ULL))>>64; x75 = sizeof(intptr_t) == 4 ? ((uint64_t)(x5)*((uintptr_t)18446744056529682431ULL))>>32 : ((__uint128_t)(x5)*((uintptr_t)18446744056529682431ULL))>>64; x76 = sizeof(intptr_t) == 4 ? ((uint64_t)(x5)*((uintptr_t)3ULL))>>32 : ((__uint128_t)(x5)*((uintptr_t)3ULL))>>64; x77 = (x76)+((x5)*((uintptr_t)18446744056529682431ULL)); x78 = ((x77)<(x76))+(x75); x79 = (x78)+(x73); x80 = (((x78)<(x75))+((x79)<(x73)))+(x74); x81 = (x80)+(x71); x82 = ((x80)<(x74))+((x81)<(x71)); x83 = (x63)+((x5)*((uintptr_t)3ULL)); x84 = ((x83)<(x63))+(x65); x85 = (x84)+(x77); x86 = (((x84)<(x65))+((x85)<(x77)))+(x67); x87 = (x86)+(x79); x88 = (((x86)<(x67))+((x87)<(x79)))+(x69); x89 = (x88)+(x81); x90 = ((x88)<(x69))+((x89)<(x81)); x91 = (x83)*((uintptr_t)18446744069414584321ULL); x92 = sizeof(intptr_t) == 4 ? ((uint64_t)(x83)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x83)*((uintptr_t)18446744069414584321ULL))>>64; x93 = sizeof(intptr_t) == 4 ? ((uint64_t)(x83)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x83)*((uintptr_t)4294967295ULL))>>64; x94 = sizeof(intptr_t) == 4 ? ((uint64_t)(x83)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x83)*((uintptr_t)18446744073709551615ULL))>>64; x95 = (x94)+((x83)*((uintptr_t)4294967295ULL)); x96 = (x95)<(x94); x97 = (((x83)+((x83)*((uintptr_t)18446744073709551615ULL)))<(x83))+(x85); x98 = (x97)+(x95); x99 = (((x97)<(x85))+((x98)<(x95)))+(x87); x100 = (x99)+((x96)+(x93)); x101 = (((x99)<(x87))+((x100)<((x96)+(x93))))+(x89); x102 = (x101)+(x91); x103 = (((x101)<(x89))+((x102)<(x91)))+(((x90)+(x70))+((x82)+(x72))); x104 = (x103)+(x92); x105 = ((x103)<(((x90)+(x70))+((x82)+(x72))))+((x104)<(x92)); x106 = (x6)*((uintptr_t)21474836477ULL); x107 = sizeof(intptr_t) == 4 ? ((uint64_t)(x6)*((uintptr_t)21474836477ULL))>>32 : ((__uint128_t)(x6)*((uintptr_t)21474836477ULL))>>64; x108 = (x6)*((uintptr_t)18446744073709551614ULL); x109 = sizeof(intptr_t) == 4 ? ((uint64_t)(x6)*((uintptr_t)18446744073709551614ULL))>>32 : ((__uint128_t)(x6)*((uintptr_t)18446744073709551614ULL))>>64; x110 = sizeof(intptr_t) == 4 ? ((uint64_t)(x6)*((uintptr_t)18446744056529682431ULL))>>32 : ((__uint128_t)(x6)*((uintptr_t)18446744056529682431ULL))>>64; x111 = sizeof(intptr_t) == 4 ? ((uint64_t)(x6)*((uintptr_t)3ULL))>>32 : ((__uint128_t)(x6)*((uintptr_t)3ULL))>>64; x112 = (x111)+((x6)*((uintptr_t)18446744056529682431ULL)); x113 = ((x112)<(x111))+(x110); x114 = (x113)+(x108); x115 = (((x113)<(x110))+((x114)<(x108)))+(x109); x116 = (x115)+(x106); x117 = ((x115)<(x109))+((x116)<(x106)); x118 = (x98)+((x6)*((uintptr_t)3ULL)); x119 = ((x118)<(x98))+(x100); x120 = (x119)+(x112); x121 = (((x119)<(x100))+((x120)<(x112)))+(x102); x122 = (x121)+(x114); x123 = (((x121)<(x102))+((x122)<(x114)))+(x104); x124 = (x123)+(x116); x125 = ((x123)<(x104))+((x124)<(x116)); x126 = (x118)*((uintptr_t)18446744069414584321ULL); x127 = sizeof(intptr_t) == 4 ? ((uint64_t)(x118)*((uintptr_t)18446744069414584321ULL))>>32 : ((__uint128_t)(x118)*((uintptr_t)18446744069414584321ULL))>>64; x128 = sizeof(intptr_t) == 4 ? ((uint64_t)(x118)*((uintptr_t)4294967295ULL))>>32 : ((__uint128_t)(x118)*((uintptr_t)4294967295ULL))>>64; x129 = sizeof(intptr_t) == 4 ? ((uint64_t)(x118)*((uintptr_t)18446744073709551615ULL))>>32 : ((__uint128_t)(x118)*((uintptr_t)18446744073709551615ULL))>>64; x130 = (x129)+((x118)*((uintptr_t)4294967295ULL)); x131 = (x130)<(x129); x132 = (((x118)+((x118)*((uintptr_t)18446744073709551615ULL)))<(x118))+(x120); x133 = (x132)+(x130); x134 = (((x132)<(x120))+((x133)<(x130)))+(x122); x135 = (x134)+((x131)+(x128)); x136 = (((x134)<(x122))+((x135)<((x131)+(x128))))+(x124); x137 = (x136)+(x126); x138 = (((x136)<(x124))+((x137)<(x126)))+(((x125)+(x105))+((x117)+(x107))); x139 = (x138)+(x127); x140 = ((x138)<(((x125)+(x105))+((x117)+(x107))))+((x139)<(x127)); x141 = (x133)-((uintptr_t)18446744073709551615ULL); x142 = (x135)-((uintptr_t)4294967295ULL); x143 = (x142)-((x133)<(x141)); x144 = (x137)-(((x135)<(x142))+((x142)<(x143))); x145 = (x139)-((uintptr_t)18446744069414584321ULL); x146 = (x145)-((x137)<(x144)); x147 = (x140)<((x140)-(((x139)<(x145))+((x145)<(x146)))); x148 = ((uintptr_t)-1ULL)+((x147)==((uintptr_t)0ULL)); x149 = (x148)^((uintptr_t)18446744073709551615ULL); x150 = ((x133)&(x148))|((x141)&(x149)); x151 = ((uintptr_t)-1ULL)+((x147)==((uintptr_t)0ULL)); x152 = (x151)^((uintptr_t)18446744073709551615ULL); x153 = ((x135)&(x151))|((x143)&(x152)); x154 = ((uintptr_t)-1ULL)+((x147)==((uintptr_t)0ULL)); x155 = (x154)^((uintptr_t)18446744073709551615ULL); x156 = ((x137)&(x154))|((x144)&(x155)); x157 = ((uintptr_t)-1ULL)+((x147)==((uintptr_t)0ULL)); x158 = (x157)^((uintptr_t)18446744073709551615ULL); x159 = ((x139)&(x157))|((x146)&(x158)); x160 = x150; x161 = x153; x162 = x156; x163 = x159; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x160, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x161, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x162, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x163, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_to_montgomery(uint64_t out1[4], const uint64_t arg1[4]) { internal_fiat_p256_to_montgomery((uintptr_t)out1, (uintptr_t)arg1); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [0x0 ~> 0xffffffffffffffff] */ static uintptr_t internal_fiat_p256_nonzero(uintptr_t in0) { uintptr_t x0, x1, x2, x3, x4, out0, x5; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x4 = (x0)|((x1)|((x2)|(x3))); x5 = x4; out0 = x5; return out0; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_nonzero(uint64_t* out1, const uint64_t arg1[4]) { *out1 = (uint64_t)internal_fiat_p256_nonzero((uintptr_t)arg1); } /* * Input Bounds: * in0: [0x0 ~> 0x1] * in1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * in2: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_selectznz(uintptr_t out0, uintptr_t in0, uintptr_t in1, uintptr_t in2) { uintptr_t x4, x8, x0, x9, x5, x11, x1, x12, x6, x14, x2, x15, x7, x17, x3, x18, x10, x13, x16, x19, x20, x21, x22, x23; /*skip*/ x0 = _br2_load((in1)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in1)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in1)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in1)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ x4 = _br2_load((in2)+((uintptr_t)0ULL), sizeof(uintptr_t)); x5 = _br2_load((in2)+((uintptr_t)8ULL), sizeof(uintptr_t)); x6 = _br2_load((in2)+((uintptr_t)16ULL), sizeof(uintptr_t)); x7 = _br2_load((in2)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x8 = ((uintptr_t)-1ULL)+((in0)==((uintptr_t)0ULL)); x9 = (x8)^((uintptr_t)18446744073709551615ULL); x10 = ((x4)&(x8))|((x0)&(x9)); x11 = ((uintptr_t)-1ULL)+((in0)==((uintptr_t)0ULL)); x12 = (x11)^((uintptr_t)18446744073709551615ULL); x13 = ((x5)&(x11))|((x1)&(x12)); x14 = ((uintptr_t)-1ULL)+((in0)==((uintptr_t)0ULL)); x15 = (x14)^((uintptr_t)18446744073709551615ULL); x16 = ((x6)&(x14))|((x2)&(x15)); x17 = ((uintptr_t)-1ULL)+((in0)==((uintptr_t)0ULL)); x18 = (x17)^((uintptr_t)18446744073709551615ULL); x19 = ((x7)&(x17))|((x3)&(x18)); x20 = x10; x21 = x13; x22 = x16; x23 = x19; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x20, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x21, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x22, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x23, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_selectznz(uint64_t out1[4], uint8_t arg1, const uint64_t arg2[4], const uint64_t arg3[4]) { internal_fiat_p256_selectznz((uintptr_t)out1, (uintptr_t)arg1, (uintptr_t)arg2, (uintptr_t)arg3); } /* * Input Bounds: * in0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [[0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff]] */ static void internal_fiat_p256_to_bytes(uintptr_t out0, uintptr_t in0) { uintptr_t x3, x2, x1, x0, x7, x9, x11, x13, x15, x17, x19, x6, x23, x25, x27, x29, x31, x33, x5, x37, x39, x41, x43, x45, x47, x4, x51, x53, x55, x57, x59, x61, x8, x10, x12, x14, x16, x18, x20, x21, x22, x24, x26, x28, x30, x32, x34, x35, x36, x38, x40, x42, x44, x46, x48, x49, x50, x52, x54, x56, x58, x60, x62, x63, x64, x65, x66, x67, x68, x69, x70, x71, x72, x73, x74, x75, x76, x77, x78, x79, x80, x81, x82, x83, x84, x85, x86, x87, x88, x89, x90, x91, x92, x93, x94, x95; x0 = _br2_load((in0)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in0)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in0)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in0)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x4 = x3; x5 = x2; x6 = x1; x7 = x0; x8 = (x7)&((uintptr_t)255ULL); x9 = (x7)>>((uintptr_t)8ULL); x10 = (x9)&((uintptr_t)255ULL); x11 = (x9)>>((uintptr_t)8ULL); x12 = (x11)&((uintptr_t)255ULL); x13 = (x11)>>((uintptr_t)8ULL); x14 = (x13)&((uintptr_t)255ULL); x15 = (x13)>>((uintptr_t)8ULL); x16 = (x15)&((uintptr_t)255ULL); x17 = (x15)>>((uintptr_t)8ULL); x18 = (x17)&((uintptr_t)255ULL); x19 = (x17)>>((uintptr_t)8ULL); x20 = (x19)&((uintptr_t)255ULL); x21 = (x19)>>((uintptr_t)8ULL); x22 = (x6)&((uintptr_t)255ULL); x23 = (x6)>>((uintptr_t)8ULL); x24 = (x23)&((uintptr_t)255ULL); x25 = (x23)>>((uintptr_t)8ULL); x26 = (x25)&((uintptr_t)255ULL); x27 = (x25)>>((uintptr_t)8ULL); x28 = (x27)&((uintptr_t)255ULL); x29 = (x27)>>((uintptr_t)8ULL); x30 = (x29)&((uintptr_t)255ULL); x31 = (x29)>>((uintptr_t)8ULL); x32 = (x31)&((uintptr_t)255ULL); x33 = (x31)>>((uintptr_t)8ULL); x34 = (x33)&((uintptr_t)255ULL); x35 = (x33)>>((uintptr_t)8ULL); x36 = (x5)&((uintptr_t)255ULL); x37 = (x5)>>((uintptr_t)8ULL); x38 = (x37)&((uintptr_t)255ULL); x39 = (x37)>>((uintptr_t)8ULL); x40 = (x39)&((uintptr_t)255ULL); x41 = (x39)>>((uintptr_t)8ULL); x42 = (x41)&((uintptr_t)255ULL); x43 = (x41)>>((uintptr_t)8ULL); x44 = (x43)&((uintptr_t)255ULL); x45 = (x43)>>((uintptr_t)8ULL); x46 = (x45)&((uintptr_t)255ULL); x47 = (x45)>>((uintptr_t)8ULL); x48 = (x47)&((uintptr_t)255ULL); x49 = (x47)>>((uintptr_t)8ULL); x50 = (x4)&((uintptr_t)255ULL); x51 = (x4)>>((uintptr_t)8ULL); x52 = (x51)&((uintptr_t)255ULL); x53 = (x51)>>((uintptr_t)8ULL); x54 = (x53)&((uintptr_t)255ULL); x55 = (x53)>>((uintptr_t)8ULL); x56 = (x55)&((uintptr_t)255ULL); x57 = (x55)>>((uintptr_t)8ULL); x58 = (x57)&((uintptr_t)255ULL); x59 = (x57)>>((uintptr_t)8ULL); x60 = (x59)&((uintptr_t)255ULL); x61 = (x59)>>((uintptr_t)8ULL); x62 = (x61)&((uintptr_t)255ULL); x63 = (x61)>>((uintptr_t)8ULL); x64 = x8; x65 = x10; x66 = x12; x67 = x14; x68 = x16; x69 = x18; x70 = x20; x71 = x21; x72 = x22; x73 = x24; x74 = x26; x75 = x28; x76 = x30; x77 = x32; x78 = x34; x79 = x35; x80 = x36; x81 = x38; x82 = x40; x83 = x42; x84 = x44; x85 = x46; x86 = x48; x87 = x49; x88 = x50; x89 = x52; x90 = x54; x91 = x56; x92 = x58; x93 = x60; x94 = x62; x95 = x63; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x64, 1); _br2_store((out0)+((uintptr_t)1ULL), x65, 1); _br2_store((out0)+((uintptr_t)2ULL), x66, 1); _br2_store((out0)+((uintptr_t)3ULL), x67, 1); _br2_store((out0)+((uintptr_t)4ULL), x68, 1); _br2_store((out0)+((uintptr_t)5ULL), x69, 1); _br2_store((out0)+((uintptr_t)6ULL), x70, 1); _br2_store((out0)+((uintptr_t)7ULL), x71, 1); _br2_store((out0)+((uintptr_t)8ULL), x72, 1); _br2_store((out0)+((uintptr_t)9ULL), x73, 1); _br2_store((out0)+((uintptr_t)10ULL), x74, 1); _br2_store((out0)+((uintptr_t)11ULL), x75, 1); _br2_store((out0)+((uintptr_t)12ULL), x76, 1); _br2_store((out0)+((uintptr_t)13ULL), x77, 1); _br2_store((out0)+((uintptr_t)14ULL), x78, 1); _br2_store((out0)+((uintptr_t)15ULL), x79, 1); _br2_store((out0)+((uintptr_t)16ULL), x80, 1); _br2_store((out0)+((uintptr_t)17ULL), x81, 1); _br2_store((out0)+((uintptr_t)18ULL), x82, 1); _br2_store((out0)+((uintptr_t)19ULL), x83, 1); _br2_store((out0)+((uintptr_t)20ULL), x84, 1); _br2_store((out0)+((uintptr_t)21ULL), x85, 1); _br2_store((out0)+((uintptr_t)22ULL), x86, 1); _br2_store((out0)+((uintptr_t)23ULL), x87, 1); _br2_store((out0)+((uintptr_t)24ULL), x88, 1); _br2_store((out0)+((uintptr_t)25ULL), x89, 1); _br2_store((out0)+((uintptr_t)26ULL), x90, 1); _br2_store((out0)+((uintptr_t)27ULL), x91, 1); _br2_store((out0)+((uintptr_t)28ULL), x92, 1); _br2_store((out0)+((uintptr_t)29ULL), x93, 1); _br2_store((out0)+((uintptr_t)30ULL), x94, 1); _br2_store((out0)+((uintptr_t)31ULL), x95, 1); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_to_bytes(uint8_t out1[32], const uint64_t arg1[4]) { internal_fiat_p256_to_bytes((uintptr_t)out1, (uintptr_t)arg1); } /* * Input Bounds: * in0: [[0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff]] * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_from_bytes(uintptr_t out0, uintptr_t in0) { uintptr_t x31, x30, x29, x28, x27, x26, x25, x24, x23, x22, x21, x20, x19, x18, x17, x16, x15, x14, x13, x12, x11, x10, x9, x8, x7, x6, x5, x4, x3, x2, x1, x0, x62, x63, x61, x64, x60, x65, x59, x66, x58, x67, x57, x68, x56, x69, x54, x55, x53, x71, x52, x72, x51, x73, x50, x74, x49, x75, x48, x76, x46, x47, x45, x78, x44, x79, x43, x80, x42, x81, x41, x82, x40, x83, x38, x39, x37, x85, x36, x86, x35, x87, x34, x88, x33, x89, x32, x90, x70, x77, x84, x91, x92, x93, x94, x95; x0 = _br2_load((in0)+((uintptr_t)0ULL), 1); x1 = _br2_load((in0)+((uintptr_t)1ULL), 1); x2 = _br2_load((in0)+((uintptr_t)2ULL), 1); x3 = _br2_load((in0)+((uintptr_t)3ULL), 1); x4 = _br2_load((in0)+((uintptr_t)4ULL), 1); x5 = _br2_load((in0)+((uintptr_t)5ULL), 1); x6 = _br2_load((in0)+((uintptr_t)6ULL), 1); x7 = _br2_load((in0)+((uintptr_t)7ULL), 1); x8 = _br2_load((in0)+((uintptr_t)8ULL), 1); x9 = _br2_load((in0)+((uintptr_t)9ULL), 1); x10 = _br2_load((in0)+((uintptr_t)10ULL), 1); x11 = _br2_load((in0)+((uintptr_t)11ULL), 1); x12 = _br2_load((in0)+((uintptr_t)12ULL), 1); x13 = _br2_load((in0)+((uintptr_t)13ULL), 1); x14 = _br2_load((in0)+((uintptr_t)14ULL), 1); x15 = _br2_load((in0)+((uintptr_t)15ULL), 1); x16 = _br2_load((in0)+((uintptr_t)16ULL), 1); x17 = _br2_load((in0)+((uintptr_t)17ULL), 1); x18 = _br2_load((in0)+((uintptr_t)18ULL), 1); x19 = _br2_load((in0)+((uintptr_t)19ULL), 1); x20 = _br2_load((in0)+((uintptr_t)20ULL), 1); x21 = _br2_load((in0)+((uintptr_t)21ULL), 1); x22 = _br2_load((in0)+((uintptr_t)22ULL), 1); x23 = _br2_load((in0)+((uintptr_t)23ULL), 1); x24 = _br2_load((in0)+((uintptr_t)24ULL), 1); x25 = _br2_load((in0)+((uintptr_t)25ULL), 1); x26 = _br2_load((in0)+((uintptr_t)26ULL), 1); x27 = _br2_load((in0)+((uintptr_t)27ULL), 1); x28 = _br2_load((in0)+((uintptr_t)28ULL), 1); x29 = _br2_load((in0)+((uintptr_t)29ULL), 1); x30 = _br2_load((in0)+((uintptr_t)30ULL), 1); x31 = _br2_load((in0)+((uintptr_t)31ULL), 1); /*skip*/ /*skip*/ x32 = (x31)<<((uintptr_t)56ULL); x33 = (x30)<<((uintptr_t)48ULL); x34 = (x29)<<((uintptr_t)40ULL); x35 = (x28)<<((uintptr_t)32ULL); x36 = (x27)<<((uintptr_t)24ULL); x37 = (x26)<<((uintptr_t)16ULL); x38 = (x25)<<((uintptr_t)8ULL); x39 = x24; x40 = (x23)<<((uintptr_t)56ULL); x41 = (x22)<<((uintptr_t)48ULL); x42 = (x21)<<((uintptr_t)40ULL); x43 = (x20)<<((uintptr_t)32ULL); x44 = (x19)<<((uintptr_t)24ULL); x45 = (x18)<<((uintptr_t)16ULL); x46 = (x17)<<((uintptr_t)8ULL); x47 = x16; x48 = (x15)<<((uintptr_t)56ULL); x49 = (x14)<<((uintptr_t)48ULL); x50 = (x13)<<((uintptr_t)40ULL); x51 = (x12)<<((uintptr_t)32ULL); x52 = (x11)<<((uintptr_t)24ULL); x53 = (x10)<<((uintptr_t)16ULL); x54 = (x9)<<((uintptr_t)8ULL); x55 = x8; x56 = (x7)<<((uintptr_t)56ULL); x57 = (x6)<<((uintptr_t)48ULL); x58 = (x5)<<((uintptr_t)40ULL); x59 = (x4)<<((uintptr_t)32ULL); x60 = (x3)<<((uintptr_t)24ULL); x61 = (x2)<<((uintptr_t)16ULL); x62 = (x1)<<((uintptr_t)8ULL); x63 = x0; x64 = (x62)+(x63); x65 = (x61)+(x64); x66 = (x60)+(x65); x67 = (x59)+(x66); x68 = (x58)+(x67); x69 = (x57)+(x68); x70 = (x56)+(x69); x71 = (x54)+(x55); x72 = (x53)+(x71); x73 = (x52)+(x72); x74 = (x51)+(x73); x75 = (x50)+(x74); x76 = (x49)+(x75); x77 = (x48)+(x76); x78 = (x46)+(x47); x79 = (x45)+(x78); x80 = (x44)+(x79); x81 = (x43)+(x80); x82 = (x42)+(x81); x83 = (x41)+(x82); x84 = (x40)+(x83); x85 = (x38)+(x39); x86 = (x37)+(x85); x87 = (x36)+(x86); x88 = (x35)+(x87); x89 = (x34)+(x88); x90 = (x33)+(x89); x91 = (x32)+(x90); x92 = x70; x93 = x77; x94 = x84; x95 = x91; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x92, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x93, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x94, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x95, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_from_bytes(uint64_t out1[4], const uint8_t arg1[32]) { internal_fiat_p256_from_bytes((uintptr_t)out1, (uintptr_t)arg1); } /* * Input Bounds: * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_set_one(uintptr_t out0) { uintptr_t x0, x1, x2, x3; /*skip*/ x0 = (uintptr_t)1ULL; x1 = (uintptr_t)18446744069414584320ULL; x2 = (uintptr_t)18446744073709551615ULL; x3 = (uintptr_t)4294967294ULL; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x0, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x1, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x2, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x3, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_set_one(uint64_t out1[4]) { internal_fiat_p256_set_one((uintptr_t)out1); } /* * Input Bounds: * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_msat(uintptr_t out0) { uintptr_t x0, x1, x2, x3, x4; /*skip*/ x0 = (uintptr_t)18446744073709551615ULL; x1 = (uintptr_t)4294967295ULL; x2 = (uintptr_t)0ULL; x3 = (uintptr_t)18446744069414584321ULL; x4 = (uintptr_t)0ULL; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x0, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x1, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x2, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x3, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)32ULL), x4, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_msat(uint64_t out1[5]) { internal_fiat_p256_msat((uintptr_t)out1); } /* * Input Bounds: * in0: [0x0 ~> 0xffffffffffffffff] * in1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * in2: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * in3: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * in4: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * Output Bounds: * out0: [0x0 ~> 0xffffffffffffffff] * out1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * out2: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * out3: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] * out4: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static uintptr_t internal_fiat_p256_divstep(uintptr_t out1, uintptr_t out2, uintptr_t out3, uintptr_t out4, uintptr_t in0, uintptr_t in1, uintptr_t in2, uintptr_t in3, uintptr_t in4) { uintptr_t x18, x20, x21, x22, x24, x25, x27, x28, x30, x31, x33, x34, x36, x37, x0, x40, x1, x42, x2, x44, x3, x46, x4, x39, x48, x5, x49, x41, x51, x6, x52, x43, x54, x7, x55, x45, x57, x8, x58, x47, x60, x9, x61, x63, x64, x66, x67, x69, x70, x72, x73, x76, x77, x78, x80, x81, x82, x83, x85, x86, x87, x88, x90, x93, x94, x95, x97, x98, x100, x101, x102, x104, x105, x91, x106, x13, x12, x11, x10, x112, x110, x113, x115, x116, x109, x117, x119, x120, x108, x121, x123, x124, x111, x127, x114, x128, x129, x131, x132, x118, x134, x122, x135, x125, x126, x137, x14, x138, x130, x140, x15, x141, x133, x143, x16, x144, x19, x136, x146, x17, x147, x150, x151, x153, x154, x156, x157, x159, x160, x162, x163, x152, x50, x166, x53, x167, x155, x168, x170, x171, x56, x172, x158, x173, x175, x176, x59, x177, x161, x178, x180, x181, x62, x182, x164, x65, x184, x185, x68, x187, x188, x71, x190, x191, x149, x74, x193, x194, x186, x139, x197, x142, x198, x189, x199, x201, x202, x145, x203, x192, x204, x206, x207, x148, x208, x195, x209, x211, x214, x215, x216, x218, x219, x221, x222, x223, x225, x226, x212, x227, x23, x165, x169, x174, x179, x183, x75, x235, x92, x236, x79, x238, x96, x239, x84, x241, x99, x242, x107, x89, x244, x103, x245, x196, x247, x213, x248, x200, x250, x217, x251, x205, x253, x220, x254, x228, x210, x256, x224, x257, x229, x26, x29, x32, x35, x38, x230, x231, x232, x233, x234, x237, x240, x243, x246, x249, x252, x255, x258, out0, x259, x260, x261, x262, x263, x264, x265, x266, x267, x268, x269, x270, x271, x272, x273, x274, x275, x276, x277; /*skip*/ x0 = _br2_load((in1)+((uintptr_t)0ULL), sizeof(uintptr_t)); x1 = _br2_load((in1)+((uintptr_t)8ULL), sizeof(uintptr_t)); x2 = _br2_load((in1)+((uintptr_t)16ULL), sizeof(uintptr_t)); x3 = _br2_load((in1)+((uintptr_t)24ULL), sizeof(uintptr_t)); x4 = _br2_load((in1)+((uintptr_t)32ULL), sizeof(uintptr_t)); /*skip*/ x5 = _br2_load((in2)+((uintptr_t)0ULL), sizeof(uintptr_t)); x6 = _br2_load((in2)+((uintptr_t)8ULL), sizeof(uintptr_t)); x7 = _br2_load((in2)+((uintptr_t)16ULL), sizeof(uintptr_t)); x8 = _br2_load((in2)+((uintptr_t)24ULL), sizeof(uintptr_t)); x9 = _br2_load((in2)+((uintptr_t)32ULL), sizeof(uintptr_t)); /*skip*/ x10 = _br2_load((in3)+((uintptr_t)0ULL), sizeof(uintptr_t)); x11 = _br2_load((in3)+((uintptr_t)8ULL), sizeof(uintptr_t)); x12 = _br2_load((in3)+((uintptr_t)16ULL), sizeof(uintptr_t)); x13 = _br2_load((in3)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ x14 = _br2_load((in4)+((uintptr_t)0ULL), sizeof(uintptr_t)); x15 = _br2_load((in4)+((uintptr_t)8ULL), sizeof(uintptr_t)); x16 = _br2_load((in4)+((uintptr_t)16ULL), sizeof(uintptr_t)); x17 = _br2_load((in4)+((uintptr_t)24ULL), sizeof(uintptr_t)); /*skip*/ /*skip*/ x18 = ((in0)^((uintptr_t)18446744073709551615ULL))+((uintptr_t)1ULL); x19 = ((x18)>>((uintptr_t)63ULL))&((x5)&((uintptr_t)1ULL)); x20 = ((in0)^((uintptr_t)18446744073709551615ULL))+((uintptr_t)1ULL); x21 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x22 = (x21)^((uintptr_t)18446744073709551615ULL); x23 = ((x20)&(x21))|((in0)&(x22)); x24 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x25 = (x24)^((uintptr_t)18446744073709551615ULL); x26 = ((x5)&(x24))|((x0)&(x25)); x27 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x28 = (x27)^((uintptr_t)18446744073709551615ULL); x29 = ((x6)&(x27))|((x1)&(x28)); x30 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x31 = (x30)^((uintptr_t)18446744073709551615ULL); x32 = ((x7)&(x30))|((x2)&(x31)); x33 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x34 = (x33)^((uintptr_t)18446744073709551615ULL); x35 = ((x8)&(x33))|((x3)&(x34)); x36 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x37 = (x36)^((uintptr_t)18446744073709551615ULL); x38 = ((x9)&(x36))|((x4)&(x37)); x39 = ((uintptr_t)1ULL)+((x0)^((uintptr_t)18446744073709551615ULL)); x40 = (x39)<((uintptr_t)1ULL); x41 = (x40)+((x1)^((uintptr_t)18446744073709551615ULL)); x42 = (x41)<((x1)^((uintptr_t)18446744073709551615ULL)); x43 = (x42)+((x2)^((uintptr_t)18446744073709551615ULL)); x44 = (x43)<((x2)^((uintptr_t)18446744073709551615ULL)); x45 = (x44)+((x3)^((uintptr_t)18446744073709551615ULL)); x46 = (x45)<((x3)^((uintptr_t)18446744073709551615ULL)); x47 = (x46)+((x4)^((uintptr_t)18446744073709551615ULL)); x48 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x49 = (x48)^((uintptr_t)18446744073709551615ULL); x50 = ((x39)&(x48))|((x5)&(x49)); x51 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x52 = (x51)^((uintptr_t)18446744073709551615ULL); x53 = ((x41)&(x51))|((x6)&(x52)); x54 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x55 = (x54)^((uintptr_t)18446744073709551615ULL); x56 = ((x43)&(x54))|((x7)&(x55)); x57 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x58 = (x57)^((uintptr_t)18446744073709551615ULL); x59 = ((x45)&(x57))|((x8)&(x58)); x60 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x61 = (x60)^((uintptr_t)18446744073709551615ULL); x62 = ((x47)&(x60))|((x9)&(x61)); x63 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x64 = (x63)^((uintptr_t)18446744073709551615ULL); x65 = ((x14)&(x63))|((x10)&(x64)); x66 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x67 = (x66)^((uintptr_t)18446744073709551615ULL); x68 = ((x15)&(x66))|((x11)&(x67)); x69 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x70 = (x69)^((uintptr_t)18446744073709551615ULL); x71 = ((x16)&(x69))|((x12)&(x70)); x72 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x73 = (x72)^((uintptr_t)18446744073709551615ULL); x74 = ((x17)&(x72))|((x13)&(x73)); x75 = (x65)+(x65); x76 = (x75)<(x65); x77 = (x76)+(x68); x78 = (x77)<(x68); x79 = (x77)+(x68); x80 = (x79)<(x68); x81 = (x78)+(x80); x82 = (x81)+(x71); x83 = (x82)<(x71); x84 = (x82)+(x71); x85 = (x84)<(x71); x86 = (x83)+(x85); x87 = (x86)+(x74); x88 = (x87)<(x74); x89 = (x87)+(x74); x90 = (x89)<(x74); x91 = (x88)+(x90); x92 = (x75)-((uintptr_t)18446744073709551615ULL); x93 = (x75)<(x92); x94 = (x79)-((uintptr_t)4294967295ULL); x95 = (x79)<(x94); x96 = (x94)-(x93); x97 = (x94)<(x96); x98 = (x95)+(x97); x99 = (x84)-(x98); x100 = (x84)<(x99); x101 = (x89)-((uintptr_t)18446744069414584321ULL); x102 = (x89)<(x101); x103 = (x101)-(x100); x104 = (x101)<(x103); x105 = (x102)+(x104); x106 = (x91)-(x105); x107 = (x91)<(x106); x108 = x13; x109 = x12; x110 = x11; x111 = x10; x112 = ((uintptr_t)0ULL)<(((uintptr_t)0ULL)-(x111)); x113 = ((uintptr_t)0ULL)<(((uintptr_t)0ULL)-(x110)); x114 = (((uintptr_t)0ULL)-(x110))-(x112); x115 = (((uintptr_t)0ULL)-(x110))<(x114); x116 = (x113)+(x115); x117 = ((uintptr_t)0ULL)<(((uintptr_t)0ULL)-(x109)); x118 = (((uintptr_t)0ULL)-(x109))-(x116); x119 = (((uintptr_t)0ULL)-(x109))<(x118); x120 = (x117)+(x119); x121 = ((uintptr_t)0ULL)<(((uintptr_t)0ULL)-(x108)); x122 = (((uintptr_t)0ULL)-(x108))-(x120); x123 = (((uintptr_t)0ULL)-(x108))<(x122); x124 = (x121)+(x123); x125 = ((uintptr_t)-1ULL)+((x124)==((uintptr_t)0ULL)); x126 = (((uintptr_t)0ULL)-(x111))+(x125); x127 = (x126)<(((uintptr_t)0ULL)-(x111)); x128 = (x127)+(x114); x129 = (x128)<(x114); x130 = (x128)+((x125)&((uintptr_t)4294967295ULL)); x131 = (x130)<((x125)&((uintptr_t)4294967295ULL)); x132 = (x129)+(x131); x133 = (x132)+(x118); x134 = (x133)<(x118); x135 = (x134)+(x122); x136 = (x135)+((x125)&((uintptr_t)18446744069414584321ULL)); x137 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x138 = (x137)^((uintptr_t)18446744073709551615ULL); x139 = ((x126)&(x137))|((x14)&(x138)); x140 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x141 = (x140)^((uintptr_t)18446744073709551615ULL); x142 = ((x130)&(x140))|((x15)&(x141)); x143 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x144 = (x143)^((uintptr_t)18446744073709551615ULL); x145 = ((x133)&(x143))|((x16)&(x144)); x146 = ((uintptr_t)-1ULL)+((x19)==((uintptr_t)0ULL)); x147 = (x146)^((uintptr_t)18446744073709551615ULL); x148 = ((x136)&(x146))|((x17)&(x147)); x149 = (x50)&((uintptr_t)1ULL); x150 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x151 = (x150)^((uintptr_t)18446744073709551615ULL); x152 = ((x26)&(x150))|(((uintptr_t)0ULL)&(x151)); x153 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x154 = (x153)^((uintptr_t)18446744073709551615ULL); x155 = ((x29)&(x153))|(((uintptr_t)0ULL)&(x154)); x156 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x157 = (x156)^((uintptr_t)18446744073709551615ULL); x158 = ((x32)&(x156))|(((uintptr_t)0ULL)&(x157)); x159 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x160 = (x159)^((uintptr_t)18446744073709551615ULL); x161 = ((x35)&(x159))|(((uintptr_t)0ULL)&(x160)); x162 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x163 = (x162)^((uintptr_t)18446744073709551615ULL); x164 = ((x38)&(x162))|(((uintptr_t)0ULL)&(x163)); x165 = (x50)+(x152); x166 = (x165)<(x50); x167 = (x166)+(x53); x168 = (x167)<(x53); x169 = (x167)+(x155); x170 = (x169)<(x155); x171 = (x168)+(x170); x172 = (x171)+(x56); x173 = (x172)<(x56); x174 = (x172)+(x158); x175 = (x174)<(x158); x176 = (x173)+(x175); x177 = (x176)+(x59); x178 = (x177)<(x59); x179 = (x177)+(x161); x180 = (x179)<(x161); x181 = (x178)+(x180); x182 = (x181)+(x62); x183 = (x182)+(x164); x184 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x185 = (x184)^((uintptr_t)18446744073709551615ULL); x186 = ((x65)&(x184))|(((uintptr_t)0ULL)&(x185)); x187 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x188 = (x187)^((uintptr_t)18446744073709551615ULL); x189 = ((x68)&(x187))|(((uintptr_t)0ULL)&(x188)); x190 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x191 = (x190)^((uintptr_t)18446744073709551615ULL); x192 = ((x71)&(x190))|(((uintptr_t)0ULL)&(x191)); x193 = ((uintptr_t)-1ULL)+((x149)==((uintptr_t)0ULL)); x194 = (x193)^((uintptr_t)18446744073709551615ULL); x195 = ((x74)&(x193))|(((uintptr_t)0ULL)&(x194)); x196 = (x139)+(x186); x197 = (x196)<(x139); x198 = (x197)+(x142); x199 = (x198)<(x142); x200 = (x198)+(x189); x201 = (x200)<(x189); x202 = (x199)+(x201); x203 = (x202)+(x145); x204 = (x203)<(x145); x205 = (x203)+(x192); x206 = (x205)<(x192); x207 = (x204)+(x206); x208 = (x207)+(x148); x209 = (x208)<(x148); x210 = (x208)+(x195); x211 = (x210)<(x195); x212 = (x209)+(x211); x213 = (x196)-((uintptr_t)18446744073709551615ULL); x214 = (x196)<(x213); x215 = (x200)-((uintptr_t)4294967295ULL); x216 = (x200)<(x215); x217 = (x215)-(x214); x218 = (x215)<(x217); x219 = (x216)+(x218); x220 = (x205)-(x219); x221 = (x205)<(x220); x222 = (x210)-((uintptr_t)18446744069414584321ULL); x223 = (x210)<(x222); x224 = (x222)-(x221); x225 = (x222)<(x224); x226 = (x223)+(x225); x227 = (x212)-(x226); x228 = (x212)<(x227); x229 = (x23)+((uintptr_t)1ULL); x230 = ((x165)>>((uintptr_t)1ULL))|((x169)<<((uintptr_t)63ULL)); x231 = ((x169)>>((uintptr_t)1ULL))|((x174)<<((uintptr_t)63ULL)); x232 = ((x174)>>((uintptr_t)1ULL))|((x179)<<((uintptr_t)63ULL)); x233 = ((x179)>>((uintptr_t)1ULL))|((x183)<<((uintptr_t)63ULL)); x234 = ((x183)&((uintptr_t)9223372036854775808ULL))|((x183)>>((uintptr_t)1ULL)); x235 = ((uintptr_t)-1ULL)+((x107)==((uintptr_t)0ULL)); x236 = (x235)^((uintptr_t)18446744073709551615ULL); x237 = ((x75)&(x235))|((x92)&(x236)); x238 = ((uintptr_t)-1ULL)+((x107)==((uintptr_t)0ULL)); x239 = (x238)^((uintptr_t)18446744073709551615ULL); x240 = ((x79)&(x238))|((x96)&(x239)); x241 = ((uintptr_t)-1ULL)+((x107)==((uintptr_t)0ULL)); x242 = (x241)^((uintptr_t)18446744073709551615ULL); x243 = ((x84)&(x241))|((x99)&(x242)); x244 = ((uintptr_t)-1ULL)+((x107)==((uintptr_t)0ULL)); x245 = (x244)^((uintptr_t)18446744073709551615ULL); x246 = ((x89)&(x244))|((x103)&(x245)); x247 = ((uintptr_t)-1ULL)+((x228)==((uintptr_t)0ULL)); x248 = (x247)^((uintptr_t)18446744073709551615ULL); x249 = ((x196)&(x247))|((x213)&(x248)); x250 = ((uintptr_t)-1ULL)+((x228)==((uintptr_t)0ULL)); x251 = (x250)^((uintptr_t)18446744073709551615ULL); x252 = ((x200)&(x250))|((x217)&(x251)); x253 = ((uintptr_t)-1ULL)+((x228)==((uintptr_t)0ULL)); x254 = (x253)^((uintptr_t)18446744073709551615ULL); x255 = ((x205)&(x253))|((x220)&(x254)); x256 = ((uintptr_t)-1ULL)+((x228)==((uintptr_t)0ULL)); x257 = (x256)^((uintptr_t)18446744073709551615ULL); x258 = ((x210)&(x256))|((x224)&(x257)); x259 = x229; x260 = x26; x261 = x29; x262 = x32; x263 = x35; x264 = x38; /*skip*/ x265 = x230; x266 = x231; x267 = x232; x268 = x233; x269 = x234; /*skip*/ x270 = x237; x271 = x240; x272 = x243; x273 = x246; /*skip*/ x274 = x249; x275 = x252; x276 = x255; x277 = x258; /*skip*/ out0 = x259; _br2_store((out1)+((uintptr_t)0ULL), x260, sizeof(uintptr_t)); _br2_store((out1)+((uintptr_t)8ULL), x261, sizeof(uintptr_t)); _br2_store((out1)+((uintptr_t)16ULL), x262, sizeof(uintptr_t)); _br2_store((out1)+((uintptr_t)24ULL), x263, sizeof(uintptr_t)); _br2_store((out1)+((uintptr_t)32ULL), x264, sizeof(uintptr_t)); /*skip*/ _br2_store((out2)+((uintptr_t)0ULL), x265, sizeof(uintptr_t)); _br2_store((out2)+((uintptr_t)8ULL), x266, sizeof(uintptr_t)); _br2_store((out2)+((uintptr_t)16ULL), x267, sizeof(uintptr_t)); _br2_store((out2)+((uintptr_t)24ULL), x268, sizeof(uintptr_t)); _br2_store((out2)+((uintptr_t)32ULL), x269, sizeof(uintptr_t)); /*skip*/ _br2_store((out3)+((uintptr_t)0ULL), x270, sizeof(uintptr_t)); _br2_store((out3)+((uintptr_t)8ULL), x271, sizeof(uintptr_t)); _br2_store((out3)+((uintptr_t)16ULL), x272, sizeof(uintptr_t)); _br2_store((out3)+((uintptr_t)24ULL), x273, sizeof(uintptr_t)); /*skip*/ _br2_store((out4)+((uintptr_t)0ULL), x274, sizeof(uintptr_t)); _br2_store((out4)+((uintptr_t)8ULL), x275, sizeof(uintptr_t)); _br2_store((out4)+((uintptr_t)16ULL), x276, sizeof(uintptr_t)); _br2_store((out4)+((uintptr_t)24ULL), x277, sizeof(uintptr_t)); /*skip*/ return out0; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_divstep(uint64_t* out1, uint64_t out2[5], uint64_t out3[5], uint64_t out4[4], uint64_t out5[4], uint64_t arg1, const uint64_t arg2[5], const uint64_t arg3[5], const uint64_t arg4[4], const uint64_t arg5[4]) { *out1 = (uint64_t)internal_fiat_p256_divstep((uintptr_t)out2, (uintptr_t)out3, (uintptr_t)out4, (uintptr_t)out5, (uintptr_t)arg1, (uintptr_t)arg2, (uintptr_t)arg3, (uintptr_t)arg4, (uintptr_t)arg5); } /* * Input Bounds: * Output Bounds: * out0: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] */ static void internal_fiat_p256_divstep_precomp(uintptr_t out0) { uintptr_t x0, x1, x2, x3; /*skip*/ x0 = (uintptr_t)7493989778736545792ULL; x1 = (uintptr_t)13835058056221687808ULL; x2 = (uintptr_t)15564440314339917823ULL; x3 = (uintptr_t)3458764513820540927ULL; /*skip*/ _br2_store((out0)+((uintptr_t)0ULL), x0, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)8ULL), x1, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)16ULL), x2, sizeof(uintptr_t)); _br2_store((out0)+((uintptr_t)24ULL), x3, sizeof(uintptr_t)); /*skip*/ return; } /* NOTE: The following wrapper function is not covered by Coq proofs */ static void fiat_p256_divstep_precomp(uint64_t out1[4]) { internal_fiat_p256_divstep_precomp((uintptr_t)out1); }
the_stack_data/145452738.c
#include<stdio.h> int main ( ){ int num1, num2, num3, num4 , qnum1, qnum2, qnum3, qnum4 ; printf("digite um numero : "); scanf("%d",&num1); printf("digite um numero : "); scanf("%d",&num2); printf("digite um numero : "); scanf("%d",&num3); printf("digite um numero : "); scanf("%d",&num4); qnum1 = num1 * num1 ; qnum2 = num2 * num2 ; qnum3 = num3 * num3 ; qnum4 = num4 * num4 ; if(num3 >= 1000 ){ printf("%d",num3); }else{ printf("\n %d ao quadrado e %d\n %d ao quadrado e %d\n %d ao quadrado e %d\n %d ao quadrado e %d\n ",num1,qnum1,num2,qnum2,num3,qnum3,num4,qnum4); } return 0 ; }
the_stack_data/100140615.c
int f1() { return 0; } #define MACRO +x void f2() { int x; f1() MACRO; }
the_stack_data/190769249.c
// from https://gist.github.com/superwills/5815344 // Put this in a separate .h file (called "getopt.h"). // The prototype for the header file is: /* #ifndef GETOPT_H #define GETOPT_H int getopt(int nargc, char * const nargv[], const char *ostr) ; #endif */ #include "getopt.h" // make sure you construct the header file as dictated above /* * Copyright (c) 1987, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include <string.h> #include <stdio.h> int opterr = 1, /* if error message should be printed */ optind = 1, /* index into parent argv vector */ optopt, /* character checked for validity */ optreset; /* reset getopt */ char *optarg; /* argument associated with option */ #define BADCH (int)'?' #define BADARG (int)':' #define EMSG "" /* * getopt -- * Parse argc/argv argument vector. */ int getopt(int nargc, char * const nargv[], const char *ostr) { static char *place = EMSG; /* option letter processing */ const char *oli; /* option letter list index */ if (optreset || !*place) { /* update scanning pointer */ optreset = 0; if (optind >= nargc || *(place = nargv[optind]) != '-') { place = EMSG; return (-1); } if (place[1] && *++place == '-') { /* found "--" */ ++optind; place = EMSG; return (-1); } } /* option letter okay? */ if ((optopt = (int)*place++) == (int)':' || !(oli = strchr(ostr, optopt))) { /* * if the user didn't specify '-' as an option, * assume it means -1. */ if (optopt == (int)'-') return (-1); if (!*place) ++optind; if (opterr && *ostr != ':') (void)printf("illegal option -- %c\n", optopt); return (BADCH); } if (*++oli != ':') { /* don't need argument */ optarg = NULL; if (!*place) ++optind; } else { /* need an argument */ if (*place) /* no white space */ optarg = place; else if (nargc <= ++optind) { /* no arg */ place = EMSG; if (*ostr == ':') return (BADARG); if (opterr) (void)printf("option requires an argument -- %c\n", optopt); return (BADCH); } else /* white space */ optarg = nargv[optind]; place = EMSG; ++optind; } return (optopt); /* dump back option letter */ }
the_stack_data/92324677.c
#include <stdio.h> int main() { printf("Hello, world.\n"); return 0; }
the_stack_data/1250979.c
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ // To compile: gcc -o c_api_client c_api_client.c -ldl // To run, make sure c_api.so and c_api_client in the same directory, and then // sudo ./c_api_client #include <dlfcn.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char** argv) { void* handle; handle = dlopen("./c_api.so", RTLD_NOW); if (!handle) { fprintf(stderr, "Error: %s\n", dlerror()); exit(EXIT_FAILURE); } const char* (*TpuDriver_Version)(void); void (*TpuDriver_Initialize)(void); void (*TpuDriver_Open)(const char* worker); fprintf(stdout, "------ Going to Find Out Version ------\n"); *(void**)(&TpuDriver_Version) = dlsym(handle, "TpuDriver_Version"); fprintf(stdout, "TPU Driver Version: %s\n", TpuDriver_Version()); fprintf(stdout, "------ Going to Initialize ------\n"); *(void**)(&TpuDriver_Initialize) = dlsym(handle, "TpuDriver_Initialize"); TpuDriver_Initialize(); fprintf(stdout, "------ Going to Open a TPU Driver ------\n"); *(void**)(&TpuDriver_Open) = dlsym(handle, "TpuDriver_Open"); TpuDriver_Open("local://"); dlclose(handle); exit(EXIT_SUCCESS); }
the_stack_data/22013938.c
/* { dg-do compile } */ /* { dg-skip-if "incompatible options" { arm_thumb1 } { "*" } { "" } } */ /* { dg-options "-march=armv7-a -mfloat-abi=hard -mfpu=neon -marm -O2" } */ /* { dg-skip-if "need hardfp ABI" { *-*-* } { "-mfloat-abi=soft" } { "" } } */ typedef struct __attribute__ ((__packed__)) { char valueField[2]; } ptp_tlv_t; typedef struct __attribute__ ((__packed__)) { char stepsRemoved; ptp_tlv_t tlv[1]; } ptp_message_announce_t; extern void f (ptp_message_announce_t *); int ptplib_send_announce(int sequenceId, int i) { ptp_message_announce_t tx_packet; ((long long *)tx_packet.tlv[0].valueField)[sequenceId] = i; f(&tx_packet); }
the_stack_data/129603.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strchr.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mchemakh <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/11/14 21:15:54 by mchemakh #+# #+# */ /* Updated: 2017/01/12 18:17:37 by mchemakh ### ########.fr */ /* */ /* ************************************************************************** */ #include <string.h> char *ft_strchr(char const *str, int c) { unsigned char chr; char *strtmp; chr = (unsigned char)c; strtmp = NULL; if (str) { strtmp = (char *)str; while (*strtmp != '\0' && *strtmp != chr) strtmp++; if (*strtmp != (char)chr) return (0); else return ((char *)strtmp); } return (strtmp); }
the_stack_data/90934.c
#include <stdio.h> /* //paeudo-code ptr linkedListReverse(ptr head, int k) { count = 1; new = head->next; old = new->next; while(count < k) { tmp = old->next; old->next = new; new = old; old = tmp; count++; } head->next->next = old; return new; } */ int main() { printf("Hello World!\n"); return 0; }
the_stack_data/110381.c
#include <stdio.h> int main() { //! A = showArray2D(A, rowCursors=[i], colCursors=[k], width=.33) //! B = showArray2D(B, rowCursors=[k], colCursors=[j], width=.33) //! C = showArray2D(C, rowCursors=[i], colCursors=[j], width=.33) double A[2][2] = {{0.866, -0.500}, {0.500, 0.866}}; double B[2][2] = {{0.500, -0.866}, {0.866, 0.500}}; double C[2][2]; for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { C[i][j] = 0; for (int k = 0; k < 2; k++) { C[i][j] += A[i][k] * B[k][j]; } } } for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { printf("%.3f ", C[i][j]); } printf("\n"); } return 0; }
the_stack_data/18630.c
#include <stdio.h> typedef enum { TYPE_INT, TYPE_FLOAT, TYPE_STRING } VariantType; struct Variant { VariantType type; union { int as_integer; float as_float; char* as_string; } data; }; typedef struct Variant Variant; void Variant_print(Variant* var) { switch(var->type) { case TYPE_INT: printf("INT: %d\n", var->data.as_integer); break; case TYPE_FLOAT: printf("FLOAT: %f\n", var->data.as_float); break; case TYPE_STRING: printf("STRING: %s\n", var->data.as_string); break; default: printf("UNKNOWN TYPE: %d\n", var->type); } } int main(int argc, char* argv[]) { Variant a_int = { .type = TYPE_INT, .data.as_integer = 100 }; Variant a_float = { .type = TYPE_FLOAT, .data.as_float = 100.34 }; Variant a_string = { .type = TYPE_STRING, .data.as_string = "YO DUDE!" }; Variant_print(&a_int); Variant_print(&a_float); Variant_print(&a_string); // Here's how you access them. a_int.data.as_integer = 200; a_float.data.as_float = 2.345; a_string.data.as_string = "Hi there."; Variant_print(&a_int); Variant_print(&a_float); Variant_print(&a_string); return 0; }
the_stack_data/28262102.c
/* # VERSION :0.9.1 # SOURCE :https://github.com/mlsorensen/seekmark # LOCATION :/root/hdd-bench/seekmark-0.9.1.c # COMPILE :gcc -o seekmark -lpthread -O3 seekmark-*.c Written by Marcus Sorensen Copyright (C) 2010-2011 learnitwithme.com SeekMark - a threaded random I/O tester, designed to test the number of seeks and hence get a rough idea of the access time of a disk and the number of iops it can perform . It was loosely inspired by the 'seeker' program (http://www.linuxinsight.com/how_fast_is_your_disk.html), when it was noticed that the results from seeker were very much the same for a RAID array as for a single disk, and a look at the code showed that it was doing one random read at a time, basically only triggering access to one drive and waiting for that to complete before continuing. What we want to see is not only the performance of a single spindle, but how much benefit we get on random reads as we add spindles. This code has been successfully compiled and run on Linux. The source for this program (SeekMark) is distributed under the Clarified Artistic License. This is unsupported software, but please make an effort to report any bugs to me at <[email protected]> compile example: gcc -o seekmark seekmark.c -lpthread -O3 Versions: 0.1 - Release Candidate 1 0.3 - Changed various reporting items 0.7 - Added write benchmark (USE AT YOUR OWN RISK), optional specification of I/O size, quiet flag. 0.8 - Added ability to disable random data writing, uses char '234' for all bytes written. 0.8.1 - Changed block != bytes in seekthenreadwrite to warn 0.8.2 - Threads each open their own fd now 0.9 - Add option to insert a delay between random read or write, to provide a load generating functionality. With this, you can for example load your disks to 50% of their capability or some such live load simulation. Include endless mode. 0.9.1 - Add 'aligned' option (submitted by Stefan Seidel http://stefanseidel.info/) */ #define _FILE_OFFSET_BITS 64 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <unistd.h> #include <sys/timeb.h> #include <pthread.h> char version[] = "SeekMark 0.9.2 (8/27/2013) by Marcus Sorensen"; char *file[255] = {""};//output file name int fd; off_t size; /* defaults */ int seeks = 5000; int numthreads = 1; off_t sizelimit = 0; int writetest = 0; int block = 512; int quiet = 0; int writerandomdata = 1; int delay = 0; int endless = 0; int align = 0; /* prototypes */ void seekthenreadwrite(int fd, off_t offset); void * threadseek(void * ptr); void usage(); void datafill(char * buffer, int makerandom); void getargs(int argc, char *argv[]); int main(int argc, char *argv[]) { //don't buffer what we print setvbuf(stdout, NULL, _IONBF, 0); setvbuf(stderr, NULL, _IONBF, 0); //get arguments, set things up getargs(argc,argv); if(writetest == 1 && writerandomdata == 0) { fprintf(stderr,"warning: -R flag (write non-random data) has no effect on read test\n"); } //convert our delay to microseconds for the usleep function delay = delay * 1000; //warn if endless mode is enabled if(endless == 1){ printf("***WARNING: Endless mode enabled, we will simply run until killed!***\n"); } pthread_t threads[numthreads];//create an array of threads errno=0; int i; struct timeb starttm,endtm; //keep track of timing on things long long int startsec,endsec,position,printsize; double startms,endms,totaltime,totalseekspersec; char unit[3] = "B"; char mode[6] = "READ"; //test file if(writetest == 1) { fd=open(*file,O_RDWR|O_SYNC); strcpy(mode,"WRITE"); } else { fd=open(*file, O_RDONLY); } if(fd == -1) { usage(); fprintf(stderr,"\nfile %s is not readable: %s\n\n", *file,strerror(errno)); exit(1); } size = lseek(fd,0,SEEK_END); if (sizelimit > 0) { fprintf(stderr,"\nsetting size limit to %lld\n",sizelimit); size = sizelimit; } close(fd); if(size == -1) { fprintf(stderr,"\nfile %s is not readable: %s\n\n", *file,strerror(errno)); exit(1); } //format display of file size printsize = size; if(size > 1048576) { printsize = printsize>>20; strcpy(unit,"MB"); } else if (size > 1024) { printsize = printsize>>10; strcpy(unit,"KB"); } printf("\n%s benchmarking against %s %lld %s\n\n", mode, *file, printsize, unit); if(quiet == 0) { printf("threads to spawn: %d\n",numthreads); printf("seeks per thread: %d\n",seeks); printf("io size in bytes: %d\n",block); printf("io aligned bytes: %d\n",1 << align); if(sizelimit > 0) { printf("size limit in bytes: %lld\n",sizelimit); } if(writetest == 1) { if(writerandomdata == 1) { printf("write data is randomly generated\n"); } else { printf("write data is single character repeated\n"); } } printf("\n"); } //seed random srand((long int)time(NULL)); //get start time ftime(&starttm); startsec = starttm.time; startms = starttm.millitm; //go to work for(i = 0; i < numthreads; i++) { if(quiet == 0) { if(endless == 1){ printf("Spawning worker %d to do endless seeks\n",i); } else{ printf("Spawning worker %d to do %d seeks\n",i,seeks); } } pthread_create(&threads[i], NULL, threadseek, (void*)(long)i); } //wait for the threads to complete for(i = 0; i < numthreads; i++) { pthread_join( threads[i], NULL); } //get end time ftime(&endtm); endsec = endtm.time; endms = endtm.millitm; totaltime = (double)(endsec-startsec)+((endms-startms)/1000); totalseekspersec = ((double)seeks*numthreads)/totaltime; printf("\ntotal time: %.2lf, time per %s request(ms): %.3f\n%.2f total seeks per sec, %.2f %s seeks per sec per thread\n\n", totaltime, mode, (1/totalseekspersec)*1000, totalseekspersec, totalseekspersec/numthreads, mode); } void * threadseek(void * ptr) { int i; int threadnum = (long)ptr; int tfd; //open fd just for me if(writetest == 1) { tfd=open(*file,O_RDWR|O_SYNC); } else { tfd=open(*file, O_RDONLY); } //keep track of timing on things struct timeb starttm,endtm; long long int startsec,endsec; double startms,endms,totaltime,seekspersec; //get start time ftime(&starttm); startsec = starttm.time; startms = starttm.millitm; //do work off_t position; for(i=0;i<(seeks);i+=endless^1) { position = size * ((float)rand()/RAND_MAX); if(position > (size - block)) { position = (size - block); } seekthenreadwrite(tfd,position&~0<<align); } //get end time ftime(&endtm); endsec = endtm.time; endms = endtm.millitm; totaltime = (double)(endsec-startsec)+((endms-startms)/1000); seekspersec = ((double)seeks)/totaltime; close(tfd); if(quiet == 0) { printf("thread %d completed, time: %.2lf, %.2f seeks/sec, %.1fms per request\n",threadnum,totaltime,seekspersec,(1/seekspersec)*1000); } } void seekthenreadwrite(int tfd, off_t offset) { off_t seekpos = lseek(tfd,offset,SEEK_SET); char buf[block]; if(delay > 0 ) { usleep(delay); } if( seekpos == -1) { printf("failed to seek to %lld/%lld: %s\n",(long long int)seekpos,(long long int)offset,strerror(errno)); } if(writetest == 1) { datafill(buf,writerandomdata); int bytes = write(tfd, buf, block); if(bytes <= 0) { fprintf(stderr, "Error: unable to write at current position of %lld: %s\n",(long long int)seekpos,strerror(errno)); } else if(bytes != block) { fprintf(stderr, "Error: unable to write full io of %d to position %lld in file of size %lld\n",block,(long long int)offset,(long long int)size); } } else { int bytes = read(tfd, buf, block); if(bytes <= 0) { fprintf(stderr, "Error: unable to read at current position of %lld: %s\n",(long long int)seekpos,strerror(errno)); } else if(bytes != block) { fprintf(stderr, "Warning: unable to read full io of %d bytes (got %d bytes) from position %lld in file of size %lld\n",block,bytes,(long long int)offset,(long long int)size); } } } void datafill(char * buffer,int makerandom) { int i; unsigned int rand_state; /*tested this several different ways, there didn't seem to be any performance difference between filling a block one random character at a time, vs filling with identical characters one at a time, vs memsetting the entire block at once. There was no noticeable difference. Will leave in the option of using semi-random vs non-random data for compressible data vs non-compressible data tests*/ if(makerandom = 1) { for(i = 0; i < block; i++) { int randchar; randchar = 255 * ((float)rand_r(&rand_state)/RAND_MAX); buffer[i] = randchar; } } else { memset(buffer,234,block); } } void getargs(int argc, char *argv[]) { int c; int gotrequired = 0; while ((c = getopt (argc, argv, "S:f:t:a:s:hw:Ri:qd:e")) != -1){ switch(c) { case 'f': if(strlen(optarg) > (sizeof(file)/sizeof(*file))){ fprintf(stderr,"\nfile name too long, size should be <= %lu chars\n\n",(long)sizeof(file)/sizeof(*file)); exit(1); } *file = optarg; gotrequired = 1; break; case 'S': if(atoll(optarg) < 0) { fprintf(stderr, "\nsize limit should be a positive integer\n\n"); exit(1); } sizelimit = atoll(optarg); fprintf(stderr,"size limit is %lld\n",sizelimit); break; case 't': if(atoi(optarg) < 1) { fprintf(stderr,"\nthreads should be a positive integer\n\n"); exit(1); } numthreads = atoi(optarg); break; case 'a': if(atoi(optarg) < 1) { fprintf(stderr,"\nalignment should be a positive integer\n\n"); exit(1); } align = atoi(optarg); break; case 's': if(atoi(optarg) < 1) { fprintf(stderr,"\nseeks should be a positive integer\n\n"); exit(1); } seeks = atoi(optarg); break; case 'h': usage(); exit(1); case 'w': if(strcmp(optarg,"destroy-data") != 0) { fprintf(stderr,"\n'w' flag was used without argument 'destroy-data', please add this if you really want to do a write test\n\n"); exit(1); } writetest = 1; break; case 'R': writerandomdata = 0; break; case 'i': block = atoi(optarg); if(block < 1 || block > 1048577) { fprintf(stderr,"\nio size should be greater than zero, less than 1048577\n\n"); exit(1); } break; case 'q': quiet = 1; break; case 'd' : delay = atoi(optarg); if(delay < 1 || delay > 10000) { fprintf(stderr,"\ndelay should be a positive integer between 1 and 10000\n\n"); exit(1); } break; case 'e': endless = 1; break; } } if(gotrequired == 0) { usage(); fprintf(stderr,"\nPlease provide a filename with the -f flag\n\n"); exit(1); } } void usage(){ fprintf(stderr,"\n%s\n\n",version); fprintf(stderr,"Usage: seekmark -f FILENAME [OPTIONS]...\n\n"); fprintf(stderr,"Defaults used are:\n"); fprintf(stderr," read-only test\n"); fprintf(stderr," verbose reporting\n"); fprintf(stderr," threads: 1\n"); fprintf(stderr," seeks/thread: 5000\n"); fprintf(stderr," io size: 512"); fprintf(stderr,"\n\n"); fprintf(stderr,"OPTIONS:\n"); fprintf(stderr," -f FILENAME File to random read, device or filesystem file\n"); fprintf(stderr," -t INTEGER Number of worker threads to spawn\n"); fprintf(stderr," -s INTEGER Number of seeks to execute per thread\n"); fprintf(stderr," -a INTEGER Align seeks to 2^INTEGER byte boundaries, ex.: 9=>512, 12=>4096\n"); fprintf(stderr," -w destroy-data Do a write iops test (destructive to file specified)\n"); fprintf(stderr," -R Disable use of random data for write test\n"); fprintf(stderr," -i INTEGER io size (in bytes) to use for iops\n"); fprintf(stderr," -q turn off per-thread reporting\n"); fprintf(stderr," -d INTEGER add milliseconds of delay between IOs (to generate partial loads)\n"); fprintf(stderr," -e run in endless mode (good for load generator); run until killed\n"); fprintf(stderr," -S limit disk/file seek size (for example if size of disk is not detected)\n"); fprintf(stderr," -h Print this help dialog and exit\n"); } /* The Clarified Artistic License Preamble The intent of this document is to state the conditions under which a Package may be copied, such that the Copyright Holder maintains some semblance of artistic control over the development of the package, while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, plus the right to make reasonable modifications. Definitions: "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through textual modification. "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright Holder as specified below. "Copyright Holder" is whoever is named in the copyright or copyrights for the package. "You" is you, if you're thinking about copying or distributing this Package. "Distribution fee" is a fee you charge for providing a copy of this Package to another party. "Freely Available" means that no fee is charged for the right to use the item, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain, or those made Freely Available, or from the Copyright Holder. A Package modified in such a way shall still be considered the Standard Version. 3. You may otherwise modify your copy of this Package in any way, provided that you insert a prominent notice in each changed file stating how and when you changed that file, and provided that you do at least ONE of the following: a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or placing the modifications on a major network archive site allowing unrestricted access to them, or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. b) use the modified Package only within your corporation or organization. c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided, and provide a separate manual page for each non-standard executable that clearly documents how it differs from the Standard Version. d) make other distribution arrangements with the Copyright Holder. e) permit and encourge anyone who receives a copy of the modified Package permission to make your modifications Freely Available in some specific way. 4. You may distribute the programs of this Package in object code or executable form, provided that you do at least ONE of the following: a) distribute a Standard Version of the executables and library files, together with instructions (in the manual page or equivalent) on where to get the Standard Version. b) accompany the distribution with the machine-readable source of the Package with your modifications. c) give non-standard executables non-standard names, and clearly document the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version. d) make other distribution arrangements with the Copyright Holder. e) offer the machine-readable source of the Package, with your modifications, by mail order. 5. You may charge a distribution fee for any distribution of this Package. If you offer support for this Package, you may charge any fee you choose for that support. You may not charge a license fee for the right to use this Package itself. You may distribute this Package in aggregate with other (possibly commercial and possibly nonfree) programs as part of a larger (possibly commercial and possibly nonfree) software distribution, and charge license fees for other parts of that software distribution, provided that you do not advertise this Package as a product of your own. If the Package includes an interpreter, You may embed this Package's interpreter within an executable of yours (by linking); this shall be construed as a mere form of aggregation, provided that the complete Standard Version of the interpreter is so embedded. 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically fall under the copyright of this Package, but belong to whoever generated them, and may be sold commercially, and may be aggregated with this Package. If such scripts or library files are aggregated with this Package via the so-called "undump" or "unexec" methods of producing a binary executable image, then distribution of such an image shall neither be construed as a distribution of this Package nor shall it fall under the restrictions of Paragraphs 3 and 4, provided that you do not represent such an executable image as a Standard Version of this Package. 7. C subroutines (or comparably compiled subroutines in other languages) supplied by you and linked into this Package in order to emulate subroutines and variables of the language defined by this Package shall not be considered part of this Package, but are the equivalent of input as in Paragraph 6, provided these subroutines do not change the language in any way that would cause it to fail the regression tests for the language. 8. Aggregation of the Standard Version of the Package with a commercial distribution is always permitted provided that the use of this Package is embedded; that is, when no overt attempt is made to make this Package's interfaces visible to the end user of the commercial distribution. Such use shall not be construed as a distribution of this Package. 9. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End */
the_stack_data/98574135.c
/* Exercise 1 - Calculations Write a C program to input marks of two subjects. Calculate and print the average of the two marks. */ #include <stdio.h> int main() { float mark1, mark2; float sum = 0; float avg = 0; printf("Enter mark 1 :"); scanf("%f", &mark1); printf("Enter mark 2 :"); scanf("%f", &mark2); sum = mark1 + mark2; avg = sum/2.0; printf("Average mark is : %.2f", avg); return 0; }
the_stack_data/40764236.c
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-ccp1 -Wno-psabi -w" } */ /* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */ /* { dg-additional-options "-maltivec" { target powerpc_altivec_ok } } */ typedef int v4si __attribute__((vector_size (4 * sizeof (int)))); v4si test1 (v4si v, int i) { ((int *)&v)[0] = i; return v; } v4si test2 (v4si v, int i) { int *p = (int *)&v; *p = i; return v; } v4si test3 (v4si v, int i) { ((int *)&v)[3] = i; return v; } v4si test4 (v4si v, int i) { int *p = (int *)&v; p += 3; *p = i; return v; } /* { dg-final { scan-tree-dump-times "Now a gimple register: v" 4 "ccp1" { target { { i?86-*-* x86_64-*-* aarch64*-*-* spu*-*-* } || { powerpc_altivec_ok } } } } } */
the_stack_data/36075742.c
/* compress.c -- compress a memory buffer * Copyright (C) 1995-1998 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) Id */ #include "zlib.h" /* =========================================================================== Compresses the source buffer into the destination buffer. The level parameter has the same meaning as in deflateInit. sourceLen is the byte length of the source buffer. Upon entry, destLen is the total size of the destination buffer, which must be at least 0.1% larger than sourceLen plus 12 bytes. Upon exit, destLen is the actual size of the compressed buffer. compress2 returns Z_OK if success, Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR if there was not enough room in the output buffer, Z_STREAM_ERROR if the level parameter is invalid. */ int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) Bytef *dest; uLongf *destLen; const Bytef *source; uLong sourceLen; int level; { z_stream stream; int err; stream.next_in = (Bytef*)source; stream.avail_in = (uInt)sourceLen; #ifdef MAXSEG_64K /* Check for source > 64K on 16-bit machine: */ if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; #endif stream.next_out = dest; stream.avail_out = (uInt)*destLen; if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; stream.zalloc = (alloc_func)0; stream.zfree = (free_func)0; stream.opaque = (voidpf)0; err = deflateInit(&stream, level); if (err != Z_OK) return err; err = deflate(&stream, Z_FINISH); if (err != Z_STREAM_END) { deflateEnd(&stream); return err == Z_OK ? Z_BUF_ERROR : err; } *destLen = stream.total_out; err = deflateEnd(&stream); return err; } /* =========================================================================== */ int ZEXPORT compress (dest, destLen, source, sourceLen) Bytef *dest; uLongf *destLen; const Bytef *source; uLong sourceLen; { return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); }
the_stack_data/557525.c
#include<stdio.h> #include <stdlib.h> #include<string.h> #define MAX 3 void main(){ float M[MAX][MAX], soma = 0, media; int i, j, contador = 0; char O; scanf("%c", &O); for(i = 0; i < MAX; i++){ for(j = 0; j < MAX; j++){ printf("linha %d coluna %d: ", i, j); scanf("%f", &M[i][j]); if(j < i){ soma += M[i][j]; contador += 1; } } } media = soma/contador; if(O == 'S'){ printf("%.1f\n", soma); } if(O == 'M'){ printf("%.1f\n", media); } }
the_stack_data/696806.c
#define min(a, b) (((a) < (b)) ? (a) : (b)) int gap(int n, long lower, long upper) { int res = 0; while (lower <= n) { res += min(n + 1, upper) - lower; upper *= 10; lower *= 10; } return res; } int findKthNumber(int n, int k) { int res = 1; while (k > 1) { int diff = gap(n, res, res + 1); if (diff < k) { ++res; k -= diff; } else { res *= 10; --k; } } return res; }
the_stack_data/111009.c
struct s { int a; int b; int c; }; struct s Mp = {1,2,3};
the_stack_data/12637157.c
/**/ #include <stdio.h> int main() { float a, b, c, d, p; printf("Enter thresholds for A, B, C, D\nin that order, decreasing percentages > "); scanf("%f %f %f %f", &a, &b, &c, &d); printf("Thank you. Now enter student score (percent) > "); scanf("%f", &p); if (p>=a) printf("Student has an A grade"); if (p<a && p>=b) printf("Student has an B grade"); if (p<b && p>=c) printf("Student has an C grade"); if (p<c && p>=d) printf("Student has an D grade"); if (p<d) printf("Student has an F grade"); printf("\n"); return 0; }
the_stack_data/92467.c
/* Push-down stack implemented using two auxiliary nodes 'head' and 'z' to avoid special cases when inserting and deleting. Also, declares 't' as a temporary node for new nodes and deleted nodes. Author: Alek Frohlich, Date: 14/07/2019. */ #include <stdlib.h> #include <stdio.h> #include <assert.h> struct node { int key; struct node *next; }; struct node *head, *z, *t; void stackinit() { head = (struct node *) malloc(sizeof *head); z = (struct node *) malloc(sizeof *z); head->next = z; head->key = 0; z->next = z; } void push(int v) { t = (struct node *) malloc(sizeof *t); t->key = v; t->next = head->next; head->next = t; } int pop() { int x; t = head->next; head->next = t->next; x = t->key; free(t); return x; } int stackempty() { return head->next == z; } int main() { const int MAX_SIZE = 10; stackinit(); for (int i = 0; i < MAX_SIZE; ++i) push(i); for (int i = MAX_SIZE-1; i >= 0; --i) assert(pop() == i); }
the_stack_data/135994.c
#include <ncurses.h> int main(void) { char ch; initscr(); addstr("Type a few lines of text\n"); addstr("Press ~ to quit\n"); refresh(); while( (ch = getch()) != '~') ; endwin(); return 0; }
the_stack_data/434241.c
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> const int N = 8; void initialize_board(int a[N][N]); void print_board(int a[N][N]); bool walk_board(int x, int y, int m, int a[N][N], int xm[], int ym[]); bool can_move(int x, int y, int a[N][N]); typedef struct { int x; int y; } knight_move; int main() { int ar[N][N]; initialize_board(ar); ar[0][0] = 0; knight_move moves[] = { 2,1, 1,2, -1,2, -2,1, -2,-1, -1,-2, 1,-2, 2,-1 }; int xm[N]; int ym[N]; for (int i=0; i<N; i++) { xm[i] = moves[i].x; ym[i] = moves[i].y; } if (walk_board(0, 0, 1, ar, xm, ym) == false) { printf("no solution.\n"); exit(-1); } else { print_board(ar); exit(42); } return 0; } bool walk_board(int x, int y, int m, int a[N][N], int xm[], int ym[]) { int next_x; int next_y; if (m == N*N) { return true; } for (int i=0; i<N; i++) { next_x = x + xm[i]; next_y = y + ym[i]; if (can_move(next_x, next_y, a)) { a[next_x][next_y] = m; if (walk_board(next_x, next_y, m+1, a, xm, ym) == true) { return true; } else { a[next_x][next_y] = -1; } } } return false; } bool can_move(int x, int y, int a[N][N]) { return(x>=0 && x<N && y>=0 && y<N && a[x][y] == -1); } void initialize_board(int a[N][N]) { for (int i=0; i<N; i++) { for (int j=0; j<N; j++) { a[i][j] = -1; } } } void print_board(int a[N][N]) { int width = 3; for (int i=0; i<N; i++) { for (int j=0; j<N; j++) { printf("%*d", width, a[i][j]); } printf("\n"); } printf("\n\n"); }
the_stack_data/218893335.c
#include <stdio.h> #include <stdlib.h> #include <math.h> struct element { int i; struct element * next; }; struct element * utworz() { return NULL; }; void zeruj(struct element * lista) { while (lista!=NULL) { lista->i=0; lista=lista->next; } } int main() { struct element * lista = utworz(); printf("Przed wykananiem funkcji zeruj: %i\n",&lista); printf("Adres przed: %p\n",&lista); zeruj(lista); printf("Po wykananiem funkcji zeruj: %i\n",lista); printf("Adres po: %p\n",lista); return 0; }
the_stack_data/72121.c
// Unsupported on AIX because we don't support the requisite "__clangast" // section in XCOFF yet. // UNSUPPORTED: aix // Check that when depending on a precompiled module, we depend on the // **top-level** module. Submodules don't have some information present (for // example the path to the modulemap file) and depending on them might cause // problems in the dependency scanner (e.g. generating empty `-fmodule-map-file=` // arguments). // RUN: rm -rf %t && mkdir %t // RUN: cp %S/Inputs/modules-pch-common-submodule/* %t // Scan dependencies of the PCH: // // RUN: sed "s|DIR|%/t|g" %S/Inputs/modules-pch-common-submodule/cdb_pch.json > %t/cdb.json // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full \ // RUN: -generate-modules-path-args -module-files-dir %t/build > %t/result_pch.json // RUN: cat %t/result_pch.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%/t -check-prefix=CHECK-PCH // // CHECK-PCH: { // CHECK-PCH-NEXT: "modules": [ // CHECK-PCH-NEXT: { // CHECK-PCH-NEXT: "clang-module-deps": [], // CHECK-PCH-NEXT: "clang-modulemap-file": "[[PREFIX]]/module.modulemap", // CHECK-PCH-NEXT: "command-line": [ // CHECK-PCH-NEXT: "-cc1" // CHECK-PCH: "-emit-module" // CHECK-PCH: "-fmodules" // CHECK-PCH: "-fmodule-name=ModCommon" // CHECK-PCH: "-fno-implicit-modules" // CHECK-PCH: ], // CHECK-PCH-NEXT: "context-hash": "[[HASH_MOD_COMMON:.*]]", // CHECK-PCH-NEXT: "file-deps": [ // CHECK-PCH-NEXT: "[[PREFIX]]/mod_common.h", // CHECK-PCH-NEXT: "[[PREFIX]]/mod_common_sub.h", // CHECK-PCH-NEXT: "[[PREFIX]]/module.modulemap" // CHECK-PCH-NEXT: ], // CHECK-PCH-NEXT: "name": "ModCommon" // CHECK-PCH-NEXT: } // CHECK-PCH-NEXT: ], // CHECK-PCH-NEXT: "translation-units": [ // CHECK-PCH-NEXT: { // CHECK-PCH-NEXT: "clang-context-hash": "[[HASH_PCH:.*]]", // CHECK-PCH-NEXT: "clang-module-deps": [ // CHECK-PCH-NEXT: { // CHECK-PCH-NEXT: "context-hash": "[[HASH_MOD_COMMON]]", // CHECK-PCH-NEXT: "module-name": "ModCommon" // CHECK-PCH-NEXT: } // CHECK-PCH-NEXT: ], // CHECK-PCH-NEXT: "command-line": [ // CHECK-PCH: "-fno-implicit-modules" // CHECK-PCH-NEXT: "-fno-implicit-module-maps" // CHECK-PCH-NEXT: "-fmodule-file=[[PREFIX]]/build/[[HASH_MOD_COMMON]]/ModCommon-{{.*}}.pcm" // CHECK-PCH-NEXT: ], // CHECK-PCH-NEXT: "file-deps": [ // CHECK-PCH-NEXT: "[[PREFIX]]/pch.h" // CHECK-PCH-NEXT: ], // CHECK-PCH-NEXT: "input-file": "[[PREFIX]]/pch.h" // CHECK-PCH-NEXT: } // CHECK-PCH-NEXT: ] // CHECK-PCH-NEXT: } // Explicitly build the PCH: // // RUN: %python %S/../../utils/module-deps-to-rsp.py %t/result_pch.json \ // RUN: --module-name=ModCommon > %t/mod_common.cc1.rsp // RUN: %python %S/../../utils/module-deps-to-rsp.py %t/result_pch.json \ // RUN: --tu-index=0 > %t/pch.rsp // // RUN: %clang @%t/mod_common.cc1.rsp // RUN: %clang @%t/pch.rsp // Scan dependencies of the TU: // // RUN: sed "s|DIR|%/t|g" %S/Inputs/modules-pch-common-submodule/cdb_tu.json > %t/cdb.json // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full \ // RUN: -generate-modules-path-args -module-files-dir %t/build > %t/result_tu.json // RUN: cat %t/result_tu.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%/t -check-prefix=CHECK-TU // // CHECK-TU: { // CHECK-TU-NEXT: "modules": [ // CHECK-TU-NEXT: { // CHECK-TU-NEXT: "clang-module-deps": [], // CHECK-TU-NEXT: "clang-modulemap-file": "[[PREFIX]]/module.modulemap", // CHECK-TU-NEXT: "command-line": [ // CHECK-TU-NEXT: "-cc1" // CHECK-TU: "-emit-module" // CHECK-TU: "-fmodule-file=[[PREFIX]]/build/[[HASH_MOD_COMMON:.*]]/ModCommon-{{.*}}.pcm" // CHECK-TU: "-fmodules" // CHECK-TU: "-fmodule-name=ModTU" // CHECK-TU: "-fno-implicit-modules" // CHECK-TU: ], // CHECK-TU-NEXT: "context-hash": "[[HASH_MOD_TU:.*]]", // CHECK-TU-NEXT: "file-deps": [ // CHECK-TU-NEXT: "[[PREFIX]]/mod_tu.h", // CHECK-TU-NEXT: "[[PREFIX]]/module.modulemap" // CHECK-TU-NEXT: ], // CHECK-TU-NEXT: "name": "ModTU" // CHECK-TU-NEXT: } // CHECK-TU-NEXT: ], // CHECK-TU-NEXT: "translation-units": [ // CHECK-TU-NEXT: { // CHECK-TU-NEXT: "clang-context-hash": "[[HASH_TU:.*]]", // CHECK-TU-NEXT: "clang-module-deps": [ // CHECK-TU-NEXT: { // CHECK-TU-NEXT: "context-hash": "[[HASH_MOD_TU]]" // CHECK-TU-NEXT: "module-name": "ModTU" // CHECK-TU-NEXT: } // CHECK-TU-NEXT: ], // CHECK-TU-NEXT: "command-line": [ // CHECK-TU: "-fno-implicit-modules", // CHECK-TU-NEXT: "-fno-implicit-module-maps", // CHECK-TU-NEXT: "-fmodule-file=[[PREFIX]]/build/[[HASH_MOD_TU:.*]]/ModTU-{{.*}}.pcm" // CHECK-TU-NEXT: ], // CHECK-TU-NEXT: "file-deps": [ // CHECK-TU-NEXT: "[[PREFIX]]/tu.c", // CHECK-TU-NEXT: "[[PREFIX]]/pch.h.gch" // CHECK-TU-NEXT: ], // CHECK-TU-NEXT: "input-file": "[[PREFIX]]/tu.c" // CHECK-TU-NEXT: } // CHECK-TU-NEXT: ] // CHECK-TU-NEXT: } // Explicitly build the TU: // // RUN: %python %S/../../utils/module-deps-to-rsp.py %t/result_tu.json \ // RUN: --module-name=ModTU > %t/mod_tu.cc1.rsp // RUN: %python %S/../../utils/module-deps-to-rsp.py %t/result_tu.json \ // RUN: --tu-index=0 > %t/tu.rsp // // RUN: %clang @%t/mod_tu.cc1.rsp // RUN: %clang @%t/tu.rsp
the_stack_data/55667.c
#include <sys/types.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> void sig_usr1(int sig) { printf("SIGUSR1 started.\n"); kill(getpid(), SIGUSR2); printf("SIGUSR1 ended.\n"); } void sig_usr2(int sig) { printf("SIGUSR2 started.\n"); printf("SIGUSR2 ended.\n"); } int main() { signal(SIGUSR1, sig_usr1); signal(SIGUSR2, sig_usr2); kill(getpid(), SIGUSR1); return 0; }
the_stack_data/176705219.c
// this source is derived from CHILL AST originally from file 'peel9101112.c' as parsed by frontend compiler rose // example from the CHiLL manual page 13 void mm(float **A, float **B, float **C, int ambn, int an, int bm) { int t4; int t6; int t2; if (1 <= bm) if (1 <= ambn) if (4 <= bm) for (t2 = 0; t2 <= an - 1; t2 += 1) { C[t2][0] = 0.0f; C[t2][0] += A[t2][0] * B[0][0]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][0] += A[t2][t6] * B[t6][0]; C[t2][1] = 0.0f; C[t2][1] += A[t2][0] * B[0][1]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][1] += A[t2][t6] * B[t6][1]; C[t2][2] = 0.0f; C[t2][2] += A[t2][0] * B[0][2]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][2] += A[t2][t6] * B[t6][2]; C[t2][3] = 0.0f; C[t2][3] += A[t2][0] * B[0][3]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][3] += A[t2][t6] * B[t6][3]; for (t4 = 4; t4 <= bm - 1; t4 += 1) { C[t2][t4] = 0.0f; C[t2][t4] += A[t2][0] * B[0][t4]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][t4] += A[t2][t6] * B[t6][t4]; } } else if (3 <= bm) for (t2 = 0; t2 <= an - 1; t2 += 1) { C[t2][0] = 0.0f; C[t2][0] += A[t2][0] * B[0][0]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][0] += A[t2][t6] * B[t6][0]; C[t2][1] = 0.0f; C[t2][1] += A[t2][0] * B[0][1]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][1] += A[t2][t6] * B[t6][1]; C[t2][2] = 0.0f; C[t2][2] += A[t2][0] * B[0][2]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][2] += A[t2][t6] * B[t6][2]; } else if (2 <= bm) for (t2 = 0; t2 <= an - 1; t2 += 1) { C[t2][0] = 0.0f; C[t2][0] += A[t2][0] * B[0][0]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][0] += A[t2][t6] * B[t6][0]; C[t2][1] = 0.0f; C[t2][1] += A[t2][0] * B[0][1]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][1] += A[t2][t6] * B[t6][1]; } else for (t2 = 0; t2 <= an - 1; t2 += 1) { C[t2][0] = 0.0f; C[t2][0] += A[t2][0] * B[0][0]; for (t6 = 1; t6 <= ambn - 1; t6 += 1) C[t2][0] += A[t2][t6] * B[t6][0]; } else if (4 <= bm) for (t2 = 0; t2 <= an - 1; t2 += 1) { C[t2][0] = 0.0f; C[t2][1] = 0.0f; C[t2][2] = 0.0f; C[t2][3] = 0.0f; for (t4 = 4; t4 <= bm - 1; t4 += 1) C[t2][t4] = 0.0f; } else if (3 <= bm) for (t2 = 0; t2 <= an - 1; t2 += 1) { C[t2][0] = 0.0f; C[t2][1] = 0.0f; C[t2][2] = 0.0f; } else if (2 <= bm) for (t2 = 0; t2 <= an - 1; t2 += 1) { C[t2][0] = 0.0f; C[t2][1] = 0.0f; } else for (t2 = 0; t2 <= an - 1; t2 += 1) C[t2][0] = 0.0f; }
the_stack_data/200143943.c
#include <stdio.h> #include <string.h> /* Este exercício tem como objetivo desenvolver algoritmos genéricos de ordenação e pesquisa em vetores. Os algoritmos deverão ser genéricos tanto no tipo de dados que ordenam tal como na ordem que aplicam aos dados (ex., ordem ascendente, descendente, etc..). Estes algoritmo irão, de certa forma, replicar o comportamento das funções "qsort", "lsearch" e "bsearch" da stdlib (man 3 qsort lsearch bsearch). Para atingir este fim, iremos declarar um tipo "comp" que representa um apontador para uma função de comparação. Uma função que implemente esta assinatura deverá retornar: - -1 se a < b - 0 se a == b - 1 se a > b */ typedef int (*comp)(const void *a, const void *b); /* A função de comparação que se segue exemplifica a comparação de ints de forma ascendente: */ int comp_int_asc(const void *a, const void *b) { int a_tmp = *((int *) a); int b_tmp = *((int *) b); if (b_tmp > a_tmp) return -1; if (a_tmp > b_tmp) return 1; return 0; } /* Note que o primeiro passo nesta função é fazer a conversão de apontadores genéricos (void *) para o tipo de apontador pretendido (neste caso, int *). De seguida, é feita a comparação entre os valores de forma a atingir a ordenação pretendida. Note também que os argumentos "a" e "b", tem o tipo "const void *", o que significa que estes não podem ser alterados dentro da função de comparação. Em geral, sempre que um argumento de uma função é declarado como "const", significa que é um argumento só de leitura (ver por exemplo "man 3 strcpy"). */ /* A função de ordenação genérica deverá receber com argumentos as seguintes variáveis: - ptr: apontador para o inicio do vetor - size: numero de elementos no vetor - elem_size: espaço de memoria ocupado por cada elemento do vetor - order: apontador para uma função de ordenação */ void sort(void *ptr, int size, int elem_size, comp order); /* Para utilizar esta função para ordenar um vetor de ints de forma ascendente poderia-se utilizar a seguinte instrução: int vec [] = {3,2,4,5,9,1}; int size = 6; sort(vec, size, sizeof(int), comp_int_asc); Relembre que os apontadores genéricos não tem a noção do tamanho do tipo para o qual apontam. Para facilitar o processo de aceder aos elementos do vetor, deverá utilizar as seguintes funções: */ void *get_elem(const void *ptr, int n, int elem_size) { return ((char *) ptr) + n * elem_size; } void swap(void *ptr_a, void *ptr_b, int elem_size) { int i; for (i = 0; i < elem_size; i++) { char tmp = ((char *) ptr_a)[i]; ((char *) ptr_a)[i] = ((char *) ptr_b)[i]; ((char *) ptr_b)[i] = tmp; } } /* Para aceder à posição "n" de um vetor deverá utilizar a seguinte instrução: void * elem = get_elem(ptr, n, elem_size); Para trocar dois elementos de posição deverá utilizar a seguinte instrução: void * elem1 = get_elem(ptr, n, elem_size); void * elem2 = get_elem(ptr, n+1, elem_size); swap(elem1, elem2, elem_size); */ /* A função que se segue exemplifica um possível algoritmo de ordenação: */ void sort(void *ptr, int size, int elem_size, comp order) { int j, i; for (i = 0; i < size; i++) { void *cur_ptr = get_elem(ptr, i, elem_size); void *swap_ptr = cur_ptr; for (j = i + 1; j < size; j++) { void *tmp_ptr = get_elem(ptr, j, elem_size); if (order(tmp_ptr, swap_ptr) < 0) swap_ptr = tmp_ptr; } swap(swap_ptr, cur_ptr, elem_size); } } /* Ex 1: Implemente um algoritmo de pesquisa linear. Esta função deverá retornar um apontador para o elemento no vetor caso esteja presente, ou NULL caso contrário. */ void *linear_search(const void *elem, const void *ptr, int size, int elem_size, comp order) { int i; for (i = 0; i < size; i++) if (order(get_elem(ptr, i, size), elem) == 0) return get_elem(ptr, i, elem_size); return 0; } /* Ex 2: Implemente um algoritmo de pesquisa binária. Esta função deverá retornar um apontador para o elemento no vetor caso esteja presente, ou NULL caso contrário. */ void *binary_search(const void *elem, const void *ptr, int size, int elem_size, comp order) { int left = 0, right = size - 1; while (left <= right) { int mid = (left + right) / 2; if (order(elem, get_elem(ptr, mid, elem_size))) return get_elem(ptr, mid, elem_size); else if (order(elem, get_elem(ptr, mid, elem_size)) == -1) right = mid - 1; else left = mid + 1; } return 0; } /* Ex 3: Implemente o algoritmo de ordenação por inserção. */ void insertion_sort(void *ptr, int size, int elem_size, comp order) { int i, j; for (i = 1; i < size; i++) { for (j = i; j > 0 && order(get_elem(ptr, j, elem_size), get_elem(ptr, j - 1, elem_size)) == -1; j--) swap(get_elem(ptr, j, elem_size), get_elem(ptr, j - 1, elem_size), elem_size); } } /* Ex 4: Implemente uma função de comparação para "char" que ordene os elementos de forma descendente e posicione letras minúsculas antes das maiúsculas (eg: "AzbB" -> "zbBA"). Assuma que só existem caracteres alfabéticos (A->Z e a->z). */ int comp_char_desc(const void *a, const void *b) { char a_tmp = *((char *) a); char b_tmp = *((char *) b); if ((int) a_tmp < (int) b_tmp) return 1; if ((int) a_tmp > (int) b_tmp) return -1; return 0; } #define SIZE 6 int main() { int vec[SIZE] = {3, -2, 4, 5, 9, 1}; int tmp[SIZE]; int i; memcpy(tmp, vec, SIZE * sizeof(int)); puts("-- Exemplo --"); printf("Antes:"); for (i = 0; i < SIZE; i++) printf(" %d", tmp[i]); puts(""); sort(tmp, SIZE, sizeof(int), comp_int_asc); printf("Depois:"); for (i = 0; i < SIZE; i++) printf(" %d", tmp[i]); puts(""); memcpy(tmp, vec, SIZE * sizeof(int)); puts("-- Ex1 --"); int num = 4; void *elem = linear_search(&num, tmp, SIZE, sizeof(int), comp_int_asc); if (elem) { printf("Elemento %d contido na posicao %ld do vetor\n", num, ((int *) elem) - tmp); } else { printf("Elemento %d nao contido no vetor\n", num); } memcpy(tmp, vec, SIZE * sizeof(int)); sort(tmp, SIZE, sizeof(int), comp_int_asc); puts("-- Ex2 --"); elem = binary_search(&num, tmp, SIZE, sizeof(int), comp_int_asc); if (elem) { printf("Elemento %d contido na posicao %ld do vetor\n", num, ((int *) elem) - tmp); } else { printf("Elemento %d nao contido no vetor\n", num); } memcpy(tmp, vec, SIZE * sizeof(int)); puts("-- Ex3 --"); printf("Antes:"); for (i = 0; i < SIZE; i++) printf(" %d", tmp[i]); puts(""); insertion_sort(tmp, SIZE, sizeof(int), comp_int_asc); printf("Depois:"); for (i = 0; i < SIZE; i++) printf(" %d", tmp[i]); puts(""); puts("-- Ex4 --"); char str[] = "AbZa"; printf("Antes:"); puts(str); sort(str, strlen(str), sizeof(char), comp_char_desc); printf("Depois:"); puts(str); return 0; }
the_stack_data/104829022.c
#include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> int main() { int soc; char buf[256]; struct sockaddr_un self = {AF_UNIX, "clientsoc"}; struct sockaddr_un peer = {AF_UNIX, "serversoc"}; soc = socket(AF_UNIX, SOCK_STREAM, 0); bind(soc, &self, sizeof(self)); /* request connection to serversoc */ if (connect(soc, &peer, sizeof(peer)) == -1) { perror("client:connect"); close(soc); unlink(self.sun_path); exit(1); } write(soc, "hello from client", 18); read(soc, buf, sizeof(buf)); printf("SERVER ECHOED: %s\n", buf); close(soc); unlink(self.sun_path); return(0); }
the_stack_data/143112.c
/* $Id$ */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> int main (int argc, char *argv[]) { int error; unsigned int maxsleepsecs; unsigned int sleepsecs; /* Input check to make sure we are dealing with an integer */ if ( argc != 2 ) { printf( "usage: %s maxsleepsecs\n", argv[0] ); exit(1); } /* input check */ if ( (maxsleepsecs = atoi(argv[1])) ) { if ( maxsleepsecs > 315532800 ) { printf("I refuse to sleep for a year.\n"); exit(2); } } else { printf("Error. Not a number.\n"); exit(3); } /* Initialize random number generator */ /* this ties random number to time... for that second all randoms numbers the same */ /* srandom(time(&t)); */ /* initializes a state array, using the random(4) random number device which returns good random numbers, suitable for cryptographic use. */ srandomdev(); /* BSD random() returned ranges from 0 to 2147483647 */ /* picking a random integer up to maximum */ sleepsecs = ( random() % maxsleepsecs ) + 1; /* sleepsecs = ( random() ); */ /*printf("Sleep for %d secs\n", sleepsecs);*/ sleep(sleepsecs); } /* Local Variables: */ /* mode: c */ /* indent-tabs-mode: nil */ /* c-basic-style: bsd */ /* c-basic-offset: 4 */ /* fill-column: 78 */ /* comment-column: 0 */ /* End: */
the_stack_data/602895.c
#include <stdio.h> int cnt = 0; int chk(int n) { int sum = 0, tmp; tmp = n; while(n > 0) { sum = sum * 10; sum += n % 10; n /= 10; } if(tmp == sum) return 1; return 0; } int rev(int n) { int sum = 0, tmp = n; while(n > 0) { sum = sum * 10; sum += n % 10; n /= 10; } cnt++; return tmp + sum; } int main() { int t, n; scanf("%d", &t); for(int i = 0; i < t; ++i) { scanf("%d", &n); cnt = 0; n = rev(n); while(!chk(n)) n = rev(n); printf("%d %d\n", cnt, n); } return 0; }