file
stringlengths 18
26
| data
stringlengths 3
1.04M
|
---|---|
the_stack_data/63913.c | //
// main.c
// TwoFloats
//
// Created by Miguel Rentes on 08/02/15.
// Copyright (c) 2015 Miguel Rentes. All rights reserved.
//
#include <stdio.h>
int main(int argc, const char * argv[]) {
float number1 = 3.14;
float number2 = 42.0;
double number3 = number1 + number2;
printf("%f\n", number3);
return 0;
}
|
the_stack_data/115764875.c | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define MAX_NUM 100
char symbol[4] = {'+', '-', 'x', '/'};
char **generator_data(int);
void write_file(char *, char **, int);
int main()
{
int num_of_test = 100;
char dst[32] = "paper.txt";
char **data = generator_data(num_of_test);
write_file(dst, data, num_of_test);
printf("[SUCCESS]. generator %d test paper in %s\n", num_of_test, dst);
system("pause");
return 0;
}
char **generator_data(int size)
{
int x;
int y;
char **data = (char **)malloc(sizeof(char[size][MAX_NUM]));
srand((unsigned)time(NULL));
for (int i = 0; i < size; i++)
{
char *content = (char *)malloc(MAX_NUM);
x = rand() % MAX_NUM + 1;
y = rand() % MAX_NUM + 1;
sprintf(content, "%d%c%d=\n", x, symbol[rand() % 4], y);
data[i] = content;
}
return data;
}
void write_file(char *dst, char **data, int size)
{
FILE *f = fopen(dst, "w");
if (NULL == f)
{
perror("open file failed");
exit(-1);
}
while (0 != *data)
{
fputs(*data, f);
data++;
}
fclose(f);
} |
the_stack_data/73575086.c | // %%cpp terminator.c
// %run gcc -g terminator.c -o terminator.exe
// %run timeout -s SIGKILL 3 ./terminator.exe
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <sys/types.h>
int inside_sigsuspend = 0;
static void handler(int signum) {
// Сейчас у нас есть некоторая гарантия, что обработчик будет вызван только внутри sigprocmask
// (ну или раньше изначального sigprocmask)
// поэтому в случае однопоточного приложения можно использовать асинхронно-небезопасные функции
fprintf(stderr, "Get signal %d, inside_sigsuspend = %d ( == 1 ?), do nothing\n",
signum, inside_sigsuspend);
}
int main() {
sigset_t mask;
sigfillset(&mask);
sigprocmask(SIG_BLOCK, &mask, NULL); // try comment out
for (int signal = 0; signal < 100; ++signal) {
sigaction(signal,
&(struct sigaction) {
.sa_handler=handler,
.sa_flags=SA_RESTART,
// этот параметр говорит, что во время вызова обработчика сигнала
// будут заблокированы сигналы указанные в маске (то есть все)
.sa_mask=mask
},
NULL);
}
sigemptyset(&mask);
printf("pid = %d\n", getpid());
int res = 0;
raise(SIGINT);
raise(SIGCHLD);
raise(SIGCHLD);
while (1) {
inside_sigsuspend = 1;
sigsuspend(&mask); // try comment out
inside_sigsuspend = 0;
for (int i = 0; i < 10000000; ++i) {
res ^= i;
}
}
return res;
}
|
the_stack_data/232954648.c | #include <stdio.h>
#include <stdlib.h>
int factorial (int n) {
if (n == 0) {
return 1;
}
return n * factorial (n-1);
}
int main (int argc, char *argv[]) {
int num= atoi(argv[1]);
printf("Factorial of %d is %d\n", num, factorial(num));
return 0;
}
|
the_stack_data/51701512.c | // Tool to extract unigram counts
//
// GloVe: Global Vectors for Word Representation
// Copyright (c) 2014 The Board of Trustees of
// The Leland Stanford Junior University. 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.
//
//
// For more information, bug reports, fixes, contact:
// Jeffrey Pennington ([email protected])
// Christopher Manning ([email protected])
// https://github.com/stanfordnlp/GloVe/
// [email protected]
// http://nlp.stanford.edu/projects/glove/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_STRING_LENGTH 1000
#define TSIZE 1048576
#define SEED 1159241
#define HASHFN bitwisehash
typedef struct vocabulary {
char *word;
long long count;
} VOCAB;
typedef struct hashrec {
char *word;
long long count;
struct hashrec *next;
} HASHREC;
int verbose = 2; // 0, 1, or 2
long long min_count = 1; // min occurrences for inclusion in vocab
long long max_vocab = 0; // max_vocab = 0 for no limit
/* Efficient string comparison */
int scmp( char *s1, char *s2 ) {
while (*s1 != '\0' && *s1 == *s2) {s1++; s2++;}
return *s1 - *s2;
}
/* Vocab frequency comparison; break ties alphabetically */
int CompareVocabTie(const void *a, const void *b) {
long long c;
if ( (c = ((VOCAB *) b)->count - ((VOCAB *) a)->count) != 0) return ( c > 0 ? 1 : -1 );
else return (scmp(((VOCAB *) a)->word,((VOCAB *) b)->word));
}
/* Vocab frequency comparison; no tie-breaker */
int CompareVocab(const void *a, const void *b) {
long long c;
if ( (c = ((VOCAB *) b)->count - ((VOCAB *) a)->count) != 0) return ( c > 0 ? 1 : -1 );
else return 0;
}
/* Move-to-front hashing and hash function from Hugh Williams, http://www.seg.rmit.edu.au/code/zwh-ipl/ */
/* Simple bitwise hash function */
unsigned int bitwisehash(char *word, int tsize, unsigned int seed) {
char c;
unsigned int h;
h = seed;
for ( ; (c = *word) != '\0'; word++) h ^= ((h << 5) + c + (h >> 2));
return (unsigned int)((h & 0x7fffffff) % tsize);
}
/* Create hash table, initialise pointers to NULL */
HASHREC ** inithashtable() {
int i;
HASHREC **ht;
ht = (HASHREC **) malloc( sizeof(HASHREC *) * TSIZE );
for (i = 0; i < TSIZE; i++) ht[i] = (HASHREC *) NULL;
return ht;
}
/* Search hash table for given string, insert if not found */
void hashinsert(HASHREC **ht, char *w) {
HASHREC *htmp, *hprv;
unsigned int hval = HASHFN(w, TSIZE, SEED);
for (hprv = NULL, htmp = ht[hval]; htmp != NULL && scmp(htmp->word, w) != 0; hprv = htmp, htmp = htmp->next);
if (htmp == NULL) {
htmp = (HASHREC *) malloc( sizeof(HASHREC) );
htmp->word = (char *) malloc( strlen(w) + 1 );
strcpy(htmp->word, w);
htmp->count = 1;
htmp->next = NULL;
if ( hprv==NULL )
ht[hval] = htmp;
else
hprv->next = htmp;
}
else {
/* new records are not moved to front */
htmp->count++;
if (hprv != NULL) {
/* move to front on access */
hprv->next = htmp->next;
htmp->next = ht[hval];
ht[hval] = htmp;
}
}
return;
}
/* Read word from input stream. Return 1 when encounter '\n' or EOF (but separate from word), 0 otherwise.
Words can be separated by space(s), tab(s), or newline(s). Carriage return characters are just ignored.
(Okay for Windows, but not for Mac OS 9-. Ignored even if by themselves or in words.)
A newline is taken as indicating a new document (contexts won't cross newline).
Argument word array is assumed to be of size MAX_STRING_LENGTH.
words will be truncated if too long. They are truncated with some care so that they
cannot truncate in the middle of a utf-8 character, but
still little to no harm will be done for other encodings like iso-8859-1.
(This function appears identically copied in vocab_count.c and cooccur.c.)
*/
int get_word(char *word, FILE *fin) {
int i = 0, ch;
for ( ; ; ) {
ch = fgetc(fin);
if (ch == '\r') continue;
if (i == 0 && ((ch == '\n') || (ch == EOF))) {
word[i] = 0;
return 1;
}
if (i == 0 && ((ch == ' ') || (ch == '\t'))) continue; // skip leading space
if ((ch == EOF) || (ch == ' ') || (ch == '\t') || (ch == '\n')) {
if (ch == '\n') ungetc(ch, fin); // return the newline next time as document ender
break;
}
if (i < MAX_STRING_LENGTH - 1)
word[i++] = ch; // don't allow words to exceed MAX_STRING_LENGTH
}
word[i] = 0; //null terminate
// avoid truncation destroying a multibyte UTF-8 char except if only thing on line (so the i > x tests won't overwrite word[0])
// see https://en.wikipedia.org/wiki/UTF-8#Description
if (i == MAX_STRING_LENGTH - 1 && (word[i-1] & 0x80) == 0x80) {
if ((word[i-1] & 0xC0) == 0xC0) {
word[i-1] = '\0';
} else if (i > 2 && (word[i-2] & 0xE0) == 0xE0) {
word[i-2] = '\0';
} else if (i > 3 && (word[i-3] & 0xF8) == 0xF0) {
word[i-3] = '\0';
}
}
return 0;
}
int get_counts() {
long long i = 0, j = 0, vocab_size = 12500;
// char format[20];
char str[MAX_STRING_LENGTH + 1];
HASHREC **vocab_hash = inithashtable();
HASHREC *htmp;
VOCAB *vocab;
FILE *fid = stdin;
fprintf(stderr, "BUILDING VOCABULARY\n");
if (verbose > 1) fprintf(stderr, "Processed %lld tokens.", i);
// sprintf(format,"%%%ds",MAX_STRING_LENGTH);
while ( ! feof(fid)) {
// Insert all tokens into hashtable
int nl = get_word(str, fid);
if (nl) continue; // just a newline marker or feof
if (strcmp(str, "<unk>") == 0) {
fprintf(stderr, "\nError, <unk> vector found in corpus.\nPlease remove <unk>s from your corpus (e.g. cat text8 | sed -e 's/<unk>/<raw_unk>/g' > text8.new)");
return 1;
}
hashinsert(vocab_hash, str);
if (((++i)%100000) == 0) if (verbose > 1) fprintf(stderr,"\033[11G%lld tokens.", i);
}
if (verbose > 1) fprintf(stderr, "\033[0GProcessed %lld tokens.\n", i);
vocab = malloc(sizeof(VOCAB) * vocab_size);
for (i = 0; i < TSIZE; i++) { // Migrate vocab to array
htmp = vocab_hash[i];
while (htmp != NULL) {
vocab[j].word = htmp->word;
vocab[j].count = htmp->count;
j++;
if (j>=vocab_size) {
vocab_size += 2500;
vocab = (VOCAB *)realloc(vocab, sizeof(VOCAB) * vocab_size);
}
htmp = htmp->next;
}
}
if (verbose > 1) fprintf(stderr, "Counted %lld unique words.\n", j);
if (max_vocab > 0 && max_vocab < j)
// If the vocabulary exceeds limit, first sort full vocab by frequency without alphabetical tie-breaks.
// This results in pseudo-random ordering for words with same frequency, so that when truncated, the words span whole alphabet
qsort(vocab, j, sizeof(VOCAB), CompareVocab);
else max_vocab = j;
qsort(vocab, max_vocab, sizeof(VOCAB), CompareVocabTie); //After (possibly) truncating, sort (possibly again), breaking ties alphabetically
for (i = 0; i < max_vocab; i++) {
if (vocab[i].count < min_count) { // If a minimum frequency cutoff exists, truncate vocabulary
if (verbose > 0) fprintf(stderr, "Truncating vocabulary at min count %lld.\n",min_count);
break;
}
printf("%s %lld\n",vocab[i].word,vocab[i].count);
}
if (i == max_vocab && max_vocab < j) if (verbose > 0) fprintf(stderr, "Truncating vocabulary at size %lld.\n", max_vocab);
fprintf(stderr, "Using vocabulary of size %lld.\n\n", i);
return 0;
}
int find_arg(char *str, int argc, char **argv) {
int i;
for (i = 1; i < argc; i++) {
if (!scmp(str, argv[i])) {
if (i == argc - 1) {
printf("No argument given for %s\n", str);
exit(1);
}
return i;
}
}
return -1;
}
int main(int argc, char **argv) {
int i;
if (argc == 1) {
printf("Simple tool to extract unigram counts\n");
printf("Author: Jeffrey Pennington ([email protected])\n\n");
printf("Usage options:\n");
printf("\t-verbose <int>\n");
printf("\t\tSet verbosity: 0, 1, or 2 (default)\n");
printf("\t-max-vocab <int>\n");
printf("\t\tUpper bound on vocabulary size, i.e. keep the <int> most frequent words. The minimum frequency words are randomly sampled so as to obtain an even distribution over the alphabet.\n");
printf("\t-min-count <int>\n");
printf("\t\tLower limit such that words which occur fewer than <int> times are discarded.\n");
printf("\nExample usage:\n");
printf("./vocab_count -verbose 2 -max-vocab 100000 -min-count 10 < corpus.txt > vocab.txt\n");
return 0;
}
if ((i = find_arg((char *)"-verbose", argc, argv)) > 0) verbose = atoi(argv[i + 1]);
if ((i = find_arg((char *)"-max-vocab", argc, argv)) > 0) max_vocab = atoll(argv[i + 1]);
if ((i = find_arg((char *)"-min-count", argc, argv)) > 0) min_count = atoll(argv[i + 1]);
return get_counts();
}
|
the_stack_data/763842.c | #include <stdio.h> /* printf */
#include <stdlib.h> /* strtod */
int main(int argc, char const *argv[])
{
if(3.1416 != strtod("3.1416", NULL)) {
printf("NOT EQUAL!\n");
} else {
printf("EQUAL.\n");
}
return 0;
}
|
the_stack_data/23401.c | /*
* Copyright (c) 2020 theB@STI0N
*
* SPDX-License-Identifier: MIT
*/
#ifdef CONFIG_BME280
#include <zephyr.h>
#include <device.h>
#include <devicetree.h>
#include <drivers/sensor.h>
#include "bme280_handler.h"
#include <logging/log.h>
LOG_MODULE_REGISTER(bme280_handler, CONFIG_RUUVITAG_LOG_LEVEL);
#define BME280 DT_INST(0, bosch_bme280)
#if DT_NODE_HAS_STATUS(BME280, okay)
#define BME280_LABEL DT_LABEL(BME280)
#else
#error Your devicetree has no enabled nodes with compatible "bosch,bme280"
#define BME280_LABEL "<none>"
#endif
// Required to access raw data without needing another driver.
struct bme280_data {
/* Compensation parameters. */
uint16_t dig_t1;
int16_t dig_t2;
int16_t dig_t3;
uint16_t dig_p1;
int16_t dig_p2;
int16_t dig_p3;
int16_t dig_p4;
int16_t dig_p5;
int16_t dig_p6;
int16_t dig_p7;
int16_t dig_p8;
int16_t dig_p9;
uint8_t dig_h1;
int16_t dig_h2;
uint8_t dig_h3;
int16_t dig_h4;
int16_t dig_h5;
int8_t dig_h6;
/* Compensated values. */
int32_t comp_temp;
uint32_t comp_press;
uint32_t comp_humidity;
/* Carryover between temperature and pressure/humidity compensation. */
int32_t t_fine;
uint8_t chip_id;
#ifdef CONFIG_PM_DEVICE
enum pm_device_state pm_state; /* Current power state */
#endif
};
const struct device *bme280;
void bme280_fetch(void)
{
sensor_sample_fetch(bme280);
return;
}
int32_t bme280_get_temp(void){
struct bme280_data *data = bme280->data;
return data->comp_temp;
}
uint16_t bme280_get_press(void){
struct bme280_data *data = bme280->data;
return (uint16_t)(data->comp_press + 50000);
}
uint32_t bme280_get_humidity(void){
struct bme280_data *data = bme280->data;
return data->comp_humidity;
}
bool init_bme280(void){
bme280 = device_get_binding(DT_LABEL(DT_INST(0, bosch_bme280)));
if (bme280 == NULL) {
return false;
} else {
return true;
}
}
#endif |
the_stack_data/15763921.c | //Dijkstra's Algorithm : O(ElogV)
//Min-priority Queue implemented using min-heap.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define inf ((int)(1e9))
#define N 1000
typedef struct graph_adj_list
{
int node;
int weight;
struct graph_adj_list *next;
}node;
typedef struct pair
{
int weight;
int node;
}pair;
node *adj[N] = {NULL};
pair min_heap[N];
int edges, nodes, pos;
int visited[N], dis[N];
void swap(int i, int j)
{
int t1, t2;
t1 = min_heap[i].weight;
t2 = min_heap[i].node;
min_heap[i].weight = min_heap[j].weight;
min_heap[i].node = min_heap[j].node;
min_heap[j].weight = t1;
min_heap[j].node = t2;
}
void priority_enqueue(int w, int node)
{
int temp;
min_heap[++pos].weight = w;
min_heap[pos].node = node;
temp = pos;
while(temp>1)
{
if(min_heap[temp].weight < min_heap[temp/2].weight)
swap(temp, temp/2);
temp/=2;
}
}
void min_heapify()
{
int t1, t2;
t1 = 1;
while(t1<=pos)
{
if(min_heap[t1*2].weight < min_heap[t1*2 +1].weight)
t2 = t1*2;
else
t2 = t1*2 +1;
if(min_heap[t1].weight > min_heap[t2].weight)
{
swap(t1, t2);
t1 = t2;
}
else
break;
}
}
pair priority_dequeue()
{
min_heap[0].weight = min_heap[1].weight;
min_heap[0].node = min_heap[1].node;
min_heap[1].weight = min_heap[pos].weight;
min_heap[1].node = min_heap[pos].node;
min_heap[pos].weight = inf;
min_heap[pos].node = inf;
pos--;
min_heapify();
return min_heap[0];
}
int isempty()
{
if(pos == 0)
return 1;
return 0;
}
void clear()
{
int i;
for(i=0; i<N; i++)
{
min_heap[i].weight = inf;
min_heap[i].node = inf;
visited[i] = 0;
dis[i] = inf;
}
pos = 0;
}
void dijkstra()
{
int i, x, w;
pair p;
node *temp;
clear();
dis[0] = 0;
priority_enqueue(0, 0); //arbitraray weight -> 0, Source vertex - 0
while(!isempty())
{
p = priority_dequeue();
x = p.node;
w = p.weight;
if(visited[x])
continue;
visited[x] = 1;
temp = adj[x];
while(temp != NULL)
{
if(dis[temp->node] > dis[x] + temp->weight)
{
dis[temp->node] = dis[x] + temp->weight;
priority_enqueue(dis[temp->node], temp->node);
}
temp = temp->next;
}
}
}
int main()
{
int i, min_cost, x, y, w;
node *temp;
printf("Enter number of nodes and edges : ");
scanf("%d%d", &nodes, &edges);
printf("\nEnter the pair of edges(undirected) with thier weights (i, j, w) where 0<=i,j<n\n");
for(i=0; i<edges; i++)
{
scanf("%d%d%d", &x, &y, &w);
temp = (node *)malloc(sizeof(node));
temp->node = y;
temp->weight = w;
temp->next = adj[x];
adj[x] = temp;
temp = (node *)malloc(sizeof(node));
temp->node = x;
temp->weight = w;
temp->next = adj[y];
adj[y] = temp;
}
dijkstra();
printf("\nMinimum distance from sorce vertex(0) for node 0 to %d are\n", nodes-1);
for(i=0; i<nodes; i++)
printf("%d ", dis[i]);
printf("\n\n");
}
/*
Test Case 1:
5 5
0 1 5
0 2 2
2 3 1
0 3 6
2 4 5
Output:
0 5 2 3 7
x-------------x
Test Case 2:
7 7
0 1 1
0 2 4
1 3 6
2 4 5
3 5 1
4 5 1
5 6 1
Output:
0 1 4 7 9 8 9
*/ |
the_stack_data/198580046.c | #include <stdio.h>
#include <stdlib.h>
void function(char *t, int n);
void function(char *t, int n)
{
char a = getchar();
for (int i = 1; i <= n + 1; i++)
{
t[i] = a;
while (a != ' ')
{
a = getchar();
break;
}
}
}
int main()
{
printf("\nEnter a number of characters: ");
int dim;
scanf("%d", &dim);
printf("Write any text here: ");
char *text = malloc(dim - 1);
function(text, dim);
printf("Your text: %s", text);
return 0;
} |
the_stack_data/22789.c |
#include <stdio.h>
void scilab_rt_contour_i2i2i2d0d0d0s0d2d2d0_(int in00, int in01, int matrixin0[in00][in01],
int in10, int in11, int matrixin1[in10][in11],
int in20, int in21, int matrixin2[in20][in21],
double scalarin0,
double scalarin1,
double scalarin2,
char* scalarin3,
int in30, int in31, double matrixin3[in30][in31],
int in40, int in41, double matrixin4[in40][in41],
double scalarin4)
{
int i;
int j;
int val0 = 0;
int val1 = 0;
int val2 = 0;
double val3 = 0;
double val4 = 0;
for (i = 0; i < in00; ++i) {
for (j = 0; j < in01; ++j) {
val0 += matrixin0[i][j];
}
}
printf("%d", val0);
for (i = 0; i < in10; ++i) {
for (j = 0; j < in11; ++j) {
val1 += matrixin1[i][j];
}
}
printf("%d", val1);
for (i = 0; i < in20; ++i) {
for (j = 0; j < in21; ++j) {
val2 += matrixin2[i][j];
}
}
printf("%d", val2);
printf("%f", scalarin0);
printf("%f", scalarin1);
printf("%f", scalarin2);
printf("%s", scalarin3);
for (i = 0; i < in30; ++i) {
for (j = 0; j < in31; ++j) {
val3 += matrixin3[i][j];
}
}
printf("%f", val3);
for (i = 0; i < in40; ++i) {
for (j = 0; j < in41; ++j) {
val4 += matrixin4[i][j];
}
}
printf("%f", val4);
printf("%f", scalarin4);
}
|
the_stack_data/151706446.c | //
// wordutility.c
// C-MapReduce
//
// Created by jeffrey on 1/12/15.
// Copyright © 2015 jeffrey. All rights reserved.
//
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
char* getCombinedFilename(char *fName) {
char *sortedName = "sorted_";
char *combinedName = "combined_";
int chopLength = strlen(sortedName);
char *choppedName = (char *) malloc(strlen(fName) - strlen(sortedName));
int j = chopLength;
int i = 0;
for (i=0; i<=strlen(choppedName); i++) {
choppedName [i] = fName[j];
j++;
}
//printf("chopped name: [%s]\n", choppedName);
char *newName = (char *) malloc(strlen(combinedName) + strlen(choppedName));
//printf("%lu\n", strlen(newName));
strcpy(newName, combinedName);
strcat(newName, choppedName);
//printf("%lu\n", strlen(newName));
//printf("--> %s\n", newName);
return newName;
}
char* getSortedFilename(char *fName) {
char *sortedName = "sorted_";
//printf("%lu\n", strlen(sortedName));
char *newName = (char *) malloc(strlen(sortedName) + strlen(fName));
//printf("%lu\n", strlen(newName));
strcpy(newName, sortedName);
strcat(newName, fName);
//printf("%lu\n", strlen(newName));
//printf("--> %s\n", newName);
newName[strlen(newName)] = '\0'; //add the null-termination character '\0'
return newName;
}
char* getOutputFilename(char *fName) {
char *outputName = "output_";
//printf("%lu\n", strlen(outputName));
char *newName = (char *) malloc(strlen(outputName) + strlen(fName));
//printf("%lu\n", strlen(newName));
strcpy(newName, outputName);
strcat(newName, fName);
//printf("%lu\n", strlen(newName));
//printf("--> %s\n", newName);
newName[strlen(newName)] = '\0'; //add the null-termination character '\0'
return newName;
}
int compareString(char *string1, char *string2) {
int result;
result = strcmp(string1, string2);
//printf("compare result: [%s] [%s] -> %d \n", string1, string2, result);
return result;
}
char* copyString(char *inputString) {
//printf("input: [%s] ", inputString);
//printf("size %lu \n", strlen(inputString));
// initialize the size of the output same as input
char *outputString;
outputString = calloc(0, strlen(inputString));
// copy the characters from input to output
int i = 0;
for (i=0; i<strlen(inputString); i++) {
outputString[i] = inputString[i];
}
//printf("output: [%s] ", outputString);
//printf("size %lu \n", strlen(outputString));
outputString[strlen(outputString)] = '\0'; //add the null-termination character '\0'
return outputString;
}
void analyzeWordsCount(char *fName) {
//printf("%s\n", fName);
FILE *fpIn;
fpIn = fopen(fName, "r");
char temp;
int charCount = 0;
char *string = calloc(0, sizeof(char));
char *prevString = calloc(0, sizeof(char));
//if (strlen(prevString) <= 0) {
// printf("prev String size: %lu \n", strlen(prevString));
//}
int matchCount = 1; //initialize the matchCount to 1 cause this is basic count value for each word exist in the input file
FILE *fpOut;
char *fNameCombinedOutput = getCombinedFilename(fName);
fpOut = fopen(fNameCombinedOutput, "w+");
while ((temp = fgetc(fpIn)) != EOF) {
//printf("[%c]\n", temp);
if (temp == '\n') {
if (charCount > 0) {
//printf("[%s]-->\n",string);
charCount = 0;
// do the comparision here
if (strlen(prevString) <= 0) { // the first record, prevString is empty
string[strlen(string)] = '\0'; //add the null-termination character '\0'
printf("the first record [%s]-->\n",string);
/* copy the current string to the previous string
* destroy current sting
*/
prevString = copyString(string);
prevString[strlen(prevString)] = '\0'; //add the null-termination character '\0'
} else {
/* compare the current string with previous string
* if matches, increment the match count by 1, then proceed next iteration
* if not matches, write the output associated match count to output file, then reset match count to 1
*/
if (compareString(prevString, string) != 0) { // No match is found
prevString[strlen(prevString)] = '\0'; //add the null-termination character '\0'
printf("no more match found for [%s] --> %d\n", prevString, matchCount);
fprintf(fpOut, "%s,%d\n", prevString, matchCount);
matchCount = 1;
string[strlen(string)] = '\0'; //add the null-termination character '\0'
prevString = copyString(string);
prevString[strlen(prevString)] = '\0'; //add the null-termination character '\0'
} else {
matchCount++;
printf("a previous match is found for [%s]-->\n",string);
}
}
free(string);
string = calloc(0, sizeof(char));
}
} else {
if (charCount == 0) {
free(string);
string = calloc(0, sizeof(char));
}
string[charCount] = temp;
charCount ++;
}
}
/* Avoid the last record being omitted, just use the matchCount to determine a matching or not
*/
if (matchCount <= 1) { // No match is found
printf("no more match found for [%s] --> %d\n", prevString, matchCount);
fprintf(fpOut, "%s,%d\n", prevString, matchCount);
} else {
printf("a previous match is found for [%s]-->\n",string);
fprintf(fpOut, "%s,%d\n", string, matchCount);
}
free(string);
free(prevString);
free(fNameCombinedOutput);
fclose(fpIn);
fclose(fpOut);
}
char* sortWords(char *fName, int wordCount) {
//printf("%s\n", fName);
FILE *fpIn;
fpIn = fopen(fName, "r");
char temp;
char *string = malloc(sizeof(char));
int count = 0;
// instantiate the array of Strings
int nRows = wordCount;
int recordCount = 0;
char **arrayOfString = malloc(nRows * sizeof(char *)); // Allocate row pointers
int i = 0;
for(i = 0; i < nRows; i++)
arrayOfString[i] = malloc(sizeof(char)); // Allocate each row separately
while ((temp = fgetc(fpIn)) != EOF) {
if (temp == '\n' || temp == ' ') {
if (count > 0) {
//string[strlen(string)] = '\0'; //add the null-termination character '\0'
arrayOfString[recordCount] = calloc(0, sizeof(char));
memcpy(arrayOfString [recordCount], string, strlen(string)); // use memcpy to copy pointer value
arrayOfString[recordCount][strlen(arrayOfString[recordCount])] = '\0'; //add the null-termination character '\0'
//printf("%d --> %s\n", recordCount, arrayOfString[recordCount]);
recordCount ++;
count = 0;
free(string);
string = calloc(0, sizeof(char));
}
} else {
if (count == 0) {
free(string);
string = calloc(0, sizeof(char));
}
string[count] = temp;
count ++;
}
}
free(string);
fclose(fpIn);
// competed fetching the file into memory, here is where the sorting happens
char *tempString = malloc(sizeof(char));
i = 0;
for(i = 0; i < nRows; i++) {
int j = 0;
for (j = 1; j< nRows; j++) {
if (strcmp(arrayOfString[j-1], arrayOfString[j]) > 0) {
free(tempString);
tempString = calloc(0, sizeof(char));
memcpy(tempString, arrayOfString[j-1], strlen(arrayOfString[j-1]));
//strcpy(tempString, arrayOfString[j-1]);
free(arrayOfString[j-1]);
arrayOfString[j-1] = calloc(0, sizeof(char));
memcpy(arrayOfString[j-1], arrayOfString[j], strlen(arrayOfString[j]));
//strcpy(arrayOfString[j-1], arrayOfString[j]);
free(arrayOfString[j]);
arrayOfString[j] = calloc(0, sizeof(char));
memcpy(arrayOfString[j], tempString, strlen(tempString));
//strcpy(arrayOfString[j], tempString);
}
}
}
free(tempString);
FILE *fpOut;
char *fNameOutput = getSortedFilename(fName);
fpOut = fopen(fNameOutput, "w+");
i = 0;
for(i = 0; i < nRows; i++) {
arrayOfString[i][strlen(arrayOfString[i])] = '\0'; //add the null-termination character '\0'
fprintf(fpOut, "%s\n", arrayOfString[i]);
}
fclose(fpOut);
free(fName);
i = 0;
for(i = 0; i < nRows; i++) {
free(arrayOfString[i]); // clear each char array in the array
}
free(arrayOfString);
return fNameOutput;
}
int parseWords(char *fName) {
char *fNameOutput = getOutputFilename(fName);
FILE *fpIn;
FILE *fpOut;
fpIn = fopen(fName, "r");
fpOut = fopen(fNameOutput, "w+");
// debugger
//fpIn = fopen("input01.txt", "r");
//fpOut = fopen("output01.txt", "w+");
char temp;
int charCount = 0;
int wordCount = 0;
char *string = malloc(sizeof(char));
while ((temp = fgetc(fpIn)) != EOF) {
//printf("[%c]\n", temp);
if (temp == '\n' || temp == ' ' || temp == '?' || temp == ',' || temp == '.' || temp == '\"' ||
temp == '!' || temp == '@' || temp == '~' || temp == '#' || temp == '$' || temp == '%' ||
temp == '%' || temp == '^' || temp == '&' || temp == '*' || temp == '(' || temp == ')' ||
temp == '-' || temp == '_' || temp == '{' || temp == '}' || temp == '[' || temp == ']' ||
temp == '<' || temp == '>' || temp == '\r' || temp == '/' || temp == '\'' || temp == '`'
){
if (charCount > 0) {
string[strlen(string)] = '\0'; //add the null-termination character '\0'
//printf("[%s]-->\n",string);
fprintf(fpOut, "%s\n", string);
wordCount ++;
charCount = 0;
free(string);
string = calloc(0, sizeof(char));
}
} else {
if (charCount == 0) {
free(string);
string = calloc(0, sizeof(char));
}
string[charCount] = temp;
string[strlen(string)] = '\0'; //add the null-termination character '\0'
charCount ++;
}
}
free(string);
fclose(fpIn);
fclose(fpOut);
char *fNameSortedOutput = sortWords(fNameOutput, wordCount);
free(fNameSortedOutput);
int count;
//count = analyzeWordsCount(fNameOutput); // skip the combination of wordcounts, push it to later stage
return count;
}
// === for Debug only!!! ===
//int main() {
// parseWords("input.txt");
// exit(0);
//}
|
the_stack_data/37637758.c | // KASAN: slab-out-of-bounds Read in hci_extended_inquiry_result_evt
// https://syzkaller.appspot.com/bug?id=96761b8d6446f0a881b0
// status:6
// autogenerated by syzkaller (https://github.com/google/syzkaller)
#define _GNU_SOURCE
#include <endian.h>
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <sched.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/epoll.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/prctl.h>
#include <sys/resource.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/wait.h>
#include <unistd.h>
#include <linux/capability.h>
static bool write_file(const char* file, const char* what, ...)
{
char buf[1024];
va_list args;
va_start(args, what);
vsnprintf(buf, sizeof(buf), what, args);
va_end(args);
buf[sizeof(buf) - 1] = 0;
int len = strlen(buf);
int fd = open(file, O_WRONLY | O_CLOEXEC);
if (fd == -1)
return false;
if (write(fd, buf, len) != len) {
int err = errno;
close(fd);
errno = err;
return false;
}
close(fd);
return true;
}
const int kInitNetNsFd = 239;
static long syz_init_net_socket(volatile long domain, volatile long type,
volatile long proto)
{
int netns = open("/proc/self/ns/net", O_RDONLY);
if (netns == -1)
return netns;
if (setns(kInitNetNsFd, 0))
return -1;
int sock = syscall(__NR_socket, domain, type, proto);
int err = errno;
if (setns(netns, 0))
exit(1);
close(netns);
errno = err;
return sock;
}
#define BTPROTO_HCI 1
#define ACL_LINK 1
#define SCAN_PAGE 2
typedef struct {
uint8_t b[6];
} __attribute__((packed)) bdaddr_t;
#define HCI_COMMAND_PKT 1
#define HCI_EVENT_PKT 4
#define HCI_VENDOR_PKT 0xff
struct hci_command_hdr {
uint16_t opcode;
uint8_t plen;
} __attribute__((packed));
struct hci_event_hdr {
uint8_t evt;
uint8_t plen;
} __attribute__((packed));
#define HCI_EV_CONN_COMPLETE 0x03
struct hci_ev_conn_complete {
uint8_t status;
uint16_t handle;
bdaddr_t bdaddr;
uint8_t link_type;
uint8_t encr_mode;
} __attribute__((packed));
#define HCI_EV_CONN_REQUEST 0x04
struct hci_ev_conn_request {
bdaddr_t bdaddr;
uint8_t dev_class[3];
uint8_t link_type;
} __attribute__((packed));
#define HCI_EV_REMOTE_FEATURES 0x0b
struct hci_ev_remote_features {
uint8_t status;
uint16_t handle;
uint8_t features[8];
} __attribute__((packed));
#define HCI_EV_CMD_COMPLETE 0x0e
struct hci_ev_cmd_complete {
uint8_t ncmd;
uint16_t opcode;
} __attribute__((packed));
#define HCI_OP_WRITE_SCAN_ENABLE 0x0c1a
#define HCI_OP_READ_BUFFER_SIZE 0x1005
struct hci_rp_read_buffer_size {
uint8_t status;
uint16_t acl_mtu;
uint8_t sco_mtu;
uint16_t acl_max_pkt;
uint16_t sco_max_pkt;
} __attribute__((packed));
#define HCI_OP_READ_BD_ADDR 0x1009
struct hci_rp_read_bd_addr {
uint8_t status;
bdaddr_t bdaddr;
} __attribute__((packed));
struct hci_dev_req {
uint16_t dev_id;
uint32_t dev_opt;
};
struct vhci_vendor_pkt {
uint8_t type;
uint8_t opcode;
uint16_t id;
};
#define HCIDEVUP _IOW('H', 201, int)
#define HCISETSCAN _IOW('H', 221, int)
static int vhci_fd = -1;
static void hci_send_event_packet(int fd, uint8_t evt, void* data,
size_t data_len)
{
struct iovec iv[3];
struct hci_event_hdr hdr;
hdr.evt = evt;
hdr.plen = data_len;
uint8_t type = HCI_EVENT_PKT;
iv[0].iov_base = &type;
iv[0].iov_len = sizeof(type);
iv[1].iov_base = &hdr;
iv[1].iov_len = sizeof(hdr);
iv[2].iov_base = data;
iv[2].iov_len = data_len;
if (writev(fd, iv, sizeof(iv) / sizeof(struct iovec)) < 0)
exit(1);
}
static void hci_send_event_cmd_complete(int fd, uint16_t opcode, void* data,
size_t data_len)
{
struct iovec iv[4];
struct hci_event_hdr hdr;
hdr.evt = HCI_EV_CMD_COMPLETE;
hdr.plen = sizeof(struct hci_ev_cmd_complete) + data_len;
struct hci_ev_cmd_complete evt_hdr;
evt_hdr.ncmd = 1;
evt_hdr.opcode = opcode;
uint8_t type = HCI_EVENT_PKT;
iv[0].iov_base = &type;
iv[0].iov_len = sizeof(type);
iv[1].iov_base = &hdr;
iv[1].iov_len = sizeof(hdr);
iv[2].iov_base = &evt_hdr;
iv[2].iov_len = sizeof(evt_hdr);
iv[3].iov_base = data;
iv[3].iov_len = data_len;
if (writev(fd, iv, sizeof(iv) / sizeof(struct iovec)) < 0)
exit(1);
}
static bool process_command_pkt(int fd, char* buf, ssize_t buf_size)
{
struct hci_command_hdr* hdr = (struct hci_command_hdr*)buf;
if (buf_size < (ssize_t)sizeof(struct hci_command_hdr) ||
hdr->plen != buf_size - sizeof(struct hci_command_hdr)) {
exit(1);
}
switch (hdr->opcode) {
case HCI_OP_WRITE_SCAN_ENABLE: {
uint8_t status = 0;
hci_send_event_cmd_complete(fd, hdr->opcode, &status, sizeof(status));
return true;
}
case HCI_OP_READ_BD_ADDR: {
struct hci_rp_read_bd_addr rp = {0};
rp.status = 0;
memset(&rp.bdaddr, 0xaa, 6);
hci_send_event_cmd_complete(fd, hdr->opcode, &rp, sizeof(rp));
return false;
}
case HCI_OP_READ_BUFFER_SIZE: {
struct hci_rp_read_buffer_size rp = {0};
rp.status = 0;
rp.acl_mtu = 1021;
rp.sco_mtu = 96;
rp.acl_max_pkt = 4;
rp.sco_max_pkt = 6;
hci_send_event_cmd_complete(fd, hdr->opcode, &rp, sizeof(rp));
return false;
}
}
char dummy[0xf9] = {0};
hci_send_event_cmd_complete(fd, hdr->opcode, dummy, sizeof(dummy));
return false;
}
static void* event_thread(void* arg)
{
while (1) {
char buf[1024] = {0};
ssize_t buf_size = read(vhci_fd, buf, sizeof(buf));
if (buf_size < 0)
exit(1);
if (buf_size > 0 && buf[0] == HCI_COMMAND_PKT) {
if (process_command_pkt(vhci_fd, buf + 1, buf_size - 1))
break;
}
}
return NULL;
}
#define HCI_HANDLE 200
static void initialize_vhci()
{
int hci_sock = syz_init_net_socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
if (hci_sock < 0)
exit(1);
vhci_fd = open("/dev/vhci", O_RDWR);
if (vhci_fd == -1)
exit(1);
const int kVhciFd = 241;
if (dup2(vhci_fd, kVhciFd) < 0)
exit(1);
close(vhci_fd);
vhci_fd = kVhciFd;
struct vhci_vendor_pkt vendor_pkt;
if (read(vhci_fd, &vendor_pkt, sizeof(vendor_pkt)) != sizeof(vendor_pkt))
exit(1);
if (vendor_pkt.type != HCI_VENDOR_PKT)
exit(1);
pthread_t th;
if (pthread_create(&th, NULL, event_thread, NULL))
exit(1);
if (ioctl(hci_sock, HCIDEVUP, vendor_pkt.id) && errno != EALREADY)
exit(1);
struct hci_dev_req dr = {0};
dr.dev_id = vendor_pkt.id;
dr.dev_opt = SCAN_PAGE;
if (ioctl(hci_sock, HCISETSCAN, &dr))
exit(1);
struct hci_ev_conn_request request;
memset(&request, 0, sizeof(request));
memset(&request.bdaddr, 0xaa, 6);
request.link_type = ACL_LINK;
hci_send_event_packet(vhci_fd, HCI_EV_CONN_REQUEST, &request,
sizeof(request));
struct hci_ev_conn_complete complete;
memset(&complete, 0, sizeof(complete));
complete.status = 0;
complete.handle = HCI_HANDLE;
memset(&complete.bdaddr, 0xaa, 6);
complete.link_type = ACL_LINK;
complete.encr_mode = 0;
hci_send_event_packet(vhci_fd, HCI_EV_CONN_COMPLETE, &complete,
sizeof(complete));
struct hci_ev_remote_features features;
memset(&features, 0, sizeof(features));
features.status = 0;
features.handle = HCI_HANDLE;
hci_send_event_packet(vhci_fd, HCI_EV_REMOTE_FEATURES, &features,
sizeof(features));
pthread_join(th, NULL);
close(hci_sock);
}
static long syz_emit_vhci(volatile long a0, volatile long a1)
{
if (vhci_fd < 0)
return (uintptr_t)-1;
char* data = (char*)a0;
uint32_t length = a1;
return write(vhci_fd, data, length);
}
static void setup_common()
{
if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) {
}
}
static void loop();
static void sandbox_common()
{
prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0);
setpgrp();
setsid();
int netns = open("/proc/self/ns/net", O_RDONLY);
if (netns == -1)
exit(1);
if (dup2(netns, kInitNetNsFd) < 0)
exit(1);
close(netns);
struct rlimit rlim;
rlim.rlim_cur = rlim.rlim_max = (200 << 20);
setrlimit(RLIMIT_AS, &rlim);
rlim.rlim_cur = rlim.rlim_max = 32 << 20;
setrlimit(RLIMIT_MEMLOCK, &rlim);
rlim.rlim_cur = rlim.rlim_max = 136 << 20;
setrlimit(RLIMIT_FSIZE, &rlim);
rlim.rlim_cur = rlim.rlim_max = 1 << 20;
setrlimit(RLIMIT_STACK, &rlim);
rlim.rlim_cur = rlim.rlim_max = 0;
setrlimit(RLIMIT_CORE, &rlim);
rlim.rlim_cur = rlim.rlim_max = 256;
setrlimit(RLIMIT_NOFILE, &rlim);
if (unshare(CLONE_NEWNS)) {
}
if (unshare(CLONE_NEWIPC)) {
}
if (unshare(0x02000000)) {
}
if (unshare(CLONE_NEWUTS)) {
}
if (unshare(CLONE_SYSVSEM)) {
}
typedef struct {
const char* name;
const char* value;
} sysctl_t;
static const sysctl_t sysctls[] = {
{"/proc/sys/kernel/shmmax", "16777216"},
{"/proc/sys/kernel/shmall", "536870912"},
{"/proc/sys/kernel/shmmni", "1024"},
{"/proc/sys/kernel/msgmax", "8192"},
{"/proc/sys/kernel/msgmni", "1024"},
{"/proc/sys/kernel/msgmnb", "1024"},
{"/proc/sys/kernel/sem", "1024 1048576 500 1024"},
};
unsigned i;
for (i = 0; i < sizeof(sysctls) / sizeof(sysctls[0]); i++)
write_file(sysctls[i].name, sysctls[i].value);
}
static int wait_for_loop(int pid)
{
if (pid < 0)
exit(1);
int status = 0;
while (waitpid(-1, &status, __WALL) != pid) {
}
return WEXITSTATUS(status);
}
static void drop_caps(void)
{
struct __user_cap_header_struct cap_hdr = {};
struct __user_cap_data_struct cap_data[2] = {};
cap_hdr.version = _LINUX_CAPABILITY_VERSION_3;
cap_hdr.pid = getpid();
if (syscall(SYS_capget, &cap_hdr, &cap_data))
exit(1);
const int drop = (1 << CAP_SYS_PTRACE) | (1 << CAP_SYS_NICE);
cap_data[0].effective &= ~drop;
cap_data[0].permitted &= ~drop;
cap_data[0].inheritable &= ~drop;
if (syscall(SYS_capset, &cap_hdr, &cap_data))
exit(1);
}
static int do_sandbox_none(void)
{
if (unshare(CLONE_NEWPID)) {
}
int pid = fork();
if (pid != 0)
return wait_for_loop(pid);
setup_common();
sandbox_common();
drop_caps();
if (unshare(CLONE_NEWNET)) {
}
initialize_vhci();
loop();
exit(1);
}
void loop(void)
{
memcpy((void*)0x20000080, "\x04\x2f\x4c\x20", 4);
syz_emit_vhci(0x20000080, 7);
}
int main(void)
{
syscall(__NR_mmap, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul);
syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul);
syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul);
do_sandbox_none();
return 0;
}
|
the_stack_data/181393085.c | /********************************************************************
* Pushbutton - Interrupt Service Routine
*
* This routine checks which KEY has been pressed. It writes to HEX0
*******************************************************************/
void pushbutton_ISR(void) {
/* KEY base address */
volatile int * KEY_ptr = (int *) 0xFF200050;
/* HEX display base address */
volatile int * HEX3_HEX0_ptr = (int *) 0xFF200020;
int press, HEX_bits;
press = *(KEY_ptr + 3); // read the pushbutton interrupt register
*(KEY_ptr + 3) = press; // Clear the interrupt
if (press & 0x1) // KEY0
HEX_bits = 0b00111111;
else if (press & 0x2) // KEY1
HEX_bits = 0b00000110;
else if (press & 0x4) // KEY2
HEX_bits = 0b01011011;
else // press & 0x8, which is KEY3
HEX_bits = 0b01001111;
*HEX3_HEX0_ptr = HEX_bits;
return;
}
|
the_stack_data/98576686.c | #include<stdio.h>
#include<unistd.h>
#include<signal.h>
void sig_alrm(int signo)
{
}
unsigned int sleep1(unsigned int nsecs)
{
if (signal(SIGALRM, sig_alrm) == SIG_ERR)
return (nsecs);
alarm(nsecs);
printf("%d\n",pause());
return (alarm(0));
}
int main()
{
sleep1(3);
pause();
return 0;
}
|
the_stack_data/36076379.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct canvas {
int max_x, max_y;
int *data;
};
struct point {
int x, y;
};
struct stack {
size_t top, capacity;
struct point *data;
};
struct queue {
size_t front, back, capacity;
struct point *data;
};
int inbounds(struct point p, struct canvas c) {
return (p.x < 0 || p.y < 0 || p.y >= c.max_y || p.x >= c.max_x) ? 0 : 1;
}
int find_neighbors(struct canvas c, struct point p, int old_val,
struct point *neighbors) {
int cnt = 0;
struct point points[4] = {
{p.x, p.y + 1},
{p.x + 1, p.y},
{p.x, p.y - 1},
{p.x - 1, p.y}
};
for (int i = 0; i < 4; ++i) {
if (inbounds(points[i], c) &&
c.data[points[i].x + c.max_x * points[i].y] == old_val) {
neighbors[cnt++] = points[i];
}
}
return cnt;
}
struct stack get_stack() {
struct stack stk;
stk.data = malloc(4 * sizeof(struct point));
stk.capacity = 4;
stk.top = 0;
return stk;
}
int stack_empty(struct stack stk) {
return stk.top == 0;
}
void stack_push(struct stack *stk, struct point element) {
if (stk->top == stk->capacity) {
stk->capacity *= 2;
stk->data = realloc(stk->data, stk->capacity * sizeof(stk->data[0]));
}
stk->data[stk->top++] = element;
}
struct point stack_pop(struct stack *stk) {
return stk->data[--stk->top];
}
void free_stack(struct stack stk) {
free(stk.data);
}
void stack_fill(struct canvas c, struct point p, int old_val, int new_val) {
if (old_val == new_val) {
return;
}
struct stack stk = get_stack();
stack_push(&stk, p);
while (!stack_empty(stk)) {
struct point cur_loc = stack_pop(&stk);
if (c.data[cur_loc.x + c.max_x * cur_loc.y] == old_val) {
c.data[cur_loc.x + c.max_x * cur_loc.y] = new_val;
struct point neighbors[4];
int cnt = find_neighbors(c, cur_loc, old_val, neighbors);
for (int i = 0; i < cnt; ++i) {
stack_push(&stk, neighbors[i]);
}
}
}
free_stack(stk);
}
struct queue get_queue() {
struct queue q;
q.data = calloc(4, sizeof(struct point));
q.front = 0;
q.back = 0;
q.capacity = 4;
return q;
}
int queue_empty(struct queue q) {
return q.front == q.back;
}
void enqueue(struct queue *q, struct point element) {
if (q->front == (q->back + 1) % q->capacity) {
size_t size = sizeof(q->data[0]);
struct point *tmp = calloc((q->capacity * 2), size);
memcpy(tmp, q->data + q->front, (q->capacity - q->front) * size);
memcpy(tmp + q->capacity - q->front, q->data, (q->front - 1) * size);
free(q->data);
q->data = tmp;
q->back = q->capacity - 1;
q->front = 0;
q->capacity *= 2;
}
q->data[q->back] = element;
q->back = (q->back + 1) % q->capacity;
}
struct point dequeue(struct queue *q) {
struct point ret = q->data[q->front];
q->front = (q->front + 1) % q->capacity;
return ret;
}
void free_queue(struct queue q) {
free(q.data);
}
void queue_fill(struct canvas c, struct point p, int old_val, int new_val) {
if (old_val == new_val) {
return;
}
struct queue q = get_queue(sizeof(struct point *));
enqueue(&q, p);
while (!queue_empty(q)) {
struct point cur_loc = dequeue(&q);
if (c.data[cur_loc.x + c.max_x * cur_loc.y] == old_val) {
c.data[cur_loc.x + c.max_x * cur_loc.y] = new_val;
struct point neighbors[4];
int cnt = find_neighbors(c, cur_loc, old_val, neighbors);
for (int i = 0; i < cnt; ++i) {
enqueue(&q, neighbors[i]);
}
}
}
free_queue(q);
}
void recursive_fill(struct canvas c, struct point p, int old_val,
int new_val) {
if (old_val == new_val) {
return;
}
c.data[p.x + c.max_x * p.y] = new_val;
struct point neighbors[4];
int cnt = find_neighbors(c, p, old_val, neighbors);
for (int i = 0; i < cnt; ++i) {
recursive_fill(c, neighbors[i], old_val, new_val);
}
}
int grid_cmp(int *a, int *b, int size) {
for (int i = 0; i < size; ++i) {
if (a[i] != b[i]) {
return 0;
}
}
return 1;
}
int main() {
int grid[25] = {
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
1, 1, 1, 1, 1,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0
};
int grid1[25] = {
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
1, 1, 1, 1, 1,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0
};
int grid2[25] = {
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
1, 1, 1, 1, 1,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0
};
int answer_grid[25] = {
1, 1, 1, 1, 1,
1, 1, 1, 1, 1,
1, 1, 1, 1, 1,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0
};
struct canvas c = {5, 5, grid};
struct canvas c1 = {5, 5, grid1};
struct canvas c2 = {5, 5, grid2};
struct point start_loc = {0, 0};
int pass_cnt = 0;
recursive_fill(c, start_loc, 0, 1);
pass_cnt += grid_cmp(grid, answer_grid, 25);
stack_fill(c1, start_loc, 0, 1);
pass_cnt += grid_cmp(grid1, answer_grid, 25);
queue_fill(c2, start_loc, 0, 1);
pass_cnt += grid_cmp(grid2, answer_grid, 25);
printf("Test Summary: | Pass\tTotal\n");
printf("Fill Methods |\t%d\t3\n", pass_cnt);
return 0;
}
|
the_stack_data/28261539.c | #include <float.h>
#include <math.h>
#include <stdint.h>
#if FLT_EVAL_METHOD==0
#define EPS FLT_EPSILON
#elif FLT_EVAL_METHOD==1
#define EPS DBL_EPSILON
#elif FLT_EVAL_METHOD==2
#define EPS LDBL_EPSILON
#endif
static const float_t toint = 1/EPS;
float rintf(float x)
{
// XXX EMSCRIPTEN: on wasm backend, use the wasm instruction via clang builtin
// See https://github.com/emscripten-core/emscripten/issues/9236
#if __wasm__
return __builtin_rintf(x);
#else
union {float f; uint32_t i;} u = {x};
int e = u.i>>23 & 0xff;
int s = u.i>>31;
float_t y;
if (e >= 0x7f+23)
return x;
if (s)
y = x - toint + toint;
else
y = x + toint - toint;
if (y == 0)
return s ? -0.0f : 0.0f;
return y;
#endif
}
|
the_stack_data/26699651.c | #include <stdio.h>
#include <stdint.h>
typedef struct _Instr {
unsigned short isC:1, :2, a:1, c:6, d:3, j:3;
} Instr;
int main() {
Instr iA; // = (Instr) 0x000F;
Instr iC; // = (Instr) 0x8010;
printf("sizeof(iA)=%d\n", sizeof(iA));
printf("sizeof(Instr)=%d\n", sizeof(Instr));
printf("sizeof(iC)=%d\n", sizeof(iC));
iC.a = 1;
iC.c = 0x03;
}
|
the_stack_data/103266456.c | #include <limits.h>
#include <stdio.h>
#include <stdlib.h>
enum { root = 1, n = 13 };
void print_heap(size_t n, int A[n]) {
char tails[3] = ",\n";
int f = 2;
for (size_t i = root; i < n; i += 1) {
printf("%d%c", A[i], tails[i == f - 1 || i == n - 1]);
if (i == f - 1) {
f *= 2;
}
}
}
void exchange(int *a, int *b) {
int t = *b;
*b = *a;
*a = t;
}
int heap_maximum(size_t n, int A[n]) { return A[root]; }
void max_heapify(size_t n, int A[n], size_t heap_size, size_t i) {
size_t l, r, largest;
l = 2 * i;
r = 2 * i + 1;
if (l <= heap_size && A[l] > A[i]) {
largest = l;
} else {
largest = i;
}
if (r <= heap_size && A[r] > A[largest]) {
largest = r;
}
if (largest != i) {
exchange(&A[i], &A[largest]);
max_heapify(n, A, heap_size, largest);
}
}
int heap_extract_max(size_t n, int A[n], size_t heap_size) {
if (heap_size < 1) {
exit(EXIT_FAILURE);
}
int max = A[root];
A[root] = A[heap_size];
heap_size -= 1;
max_heapify(n, A, heap_size, root);
return max;
}
void heap_increase_key(size_t n, int A[n], size_t i, int key) {
if (key < A[i]) {
exit(EXIT_FAILURE);
}
A[i] = key;
while (i > root && A[i / 2] < A[i]) {
exchange(&A[i], &A[i / 2]);
i = i / 2;
}
}
void max_heap_insert(size_t n, int A[n], size_t heap_size, int key) {
heap_size += 1;
A[heap_size] = INT_MIN;
heap_increase_key(n, A, heap_size, key);
}
int main(int argc, char *argv[argc + 1]) {
int A[n] = {0, 15, 13, 9, 5, 12, 8, 7, 4, 0, 6, 2, 1};
print_heap(n, A);
max_heap_insert(n - 1, A, n - 1, 10);
print_heap(n, A);
return EXIT_SUCCESS;
}
|
the_stack_data/73849.c | #include <stdio.h>
//2의 배수의 합
int multi_two(void)
{
int i;
int sum_2;
for(i=1; i<=100; i++)
{
if(!(i%2))
{
sum_2 += i;
}
}
return sum_2;
}
//3의 배수의 합
int multi_three(void)
{
int i;
int sum_3;
for(i=1; i<=100; i++)
{
if(!(i%3))
{
sum_3 += i;
}
}
return sum_3;
}
int main(void)
{
int res_2, res_3;
res_2 = multi_two();
res_3 = multi_three();
printf("1 ~ 100 까지의 숫자 중 2의 배수의 합은 %d 입니다. \n", res_2);
printf("1 ~ 100 까지의 숫자 중 3의 배수의 합은 %d 입니다. \n", res_3);
return 0;
}
|
the_stack_data/112432.c | /*
Assignment 2, Program 1: Subtraction Nim Game.
Name: Subrat Prasad Panda
Roll: CS1913
*/
#include <stdio.h>
int main(){
int n, m; //n-total balls; m-max limit
int u, c; //u-user; c-computer
printf("#balls and max-limit: ");
scanf("%d %d", &n, &m);
printf("n: %d, m: %d\n", n, m);
while( n > 0){
printf("user: ");
scanf("%d", &u);
n = n - u;
if (n == 0){
printf("computer: FAIL >>>>>>>>BALLS LEFT: %d\n", n);
printf("\n>>>>>>>>NO<<<<<<<<<\n");
break;
}
c = n%(m+1);
if (c == 0) c = 1;
n = n - c;
printf("computer: %d >>>>>>>BALLS LEFT: %d\n", c, n);
if (n == 0)
{
printf("\n>>>>>>>>YES<<<<<<<<<\n");
break;
}
}
return 0;
} |
the_stack_data/135374.c | /* File: D:\WACKER\emu\vidstate.c (Created: 08-Dec-1993)
*
* Copyright 1993 by Hilgraeve Inc. -- Monroe, MI
* All rights reserved
*
* $Revision: 1 $
* $Date: 10/05/98 12:29p $
*/
/* This file is no longer used! --jcm */
|
the_stack_data/70692.c | #include <stdio.h>
int main() {
int n = 5, i = 1;
while (i <= 10) {
printf("%d x %d = %d\n", n, i, n*i);
i++;
}
return 0;
}
|
the_stack_data/247017929.c | // RUN: test.sh -s "call void @fastlscheck_debug" -p -t %t %s
//
// TEST: byval-001
//
// Description:
// Test that a function with a byval argument works well.
//
// #include "stdio.h"
struct bvt {
int i;
int j;
char str[10];
};
void byval_test(struct bvt t)
{
t.i += 2;
t.j += 4;
t.str[0] = 'H';
// printf("t = {%d, %d, %s}.\n", t.i, t.j, t.str);
return;
}
int main(int argc, char ** argv)
{
struct bvt t = {0, 1, "hello"};
// printf("t = {%d, %d, %s}.\n", t.i, t.j, t.str);
byval_test(t);
// printf("t = {%d, %d, %s}.\n", t.i, t.j, t.str);
return(0);
}
|
the_stack_data/110961.c | #include <string.h>
#include <ctype.h>
#include <stdio.h>
unsigned int contalettere(const char* nomefile) {
unsigned int nlettere = 0;
char c;
FILE *f = fopen(nomefile, "r");
while ((c = fgetc(f)) != EOF) {
if (isalpha(c) != 0)
nlettere++;
}
fclose(f);
return nlettere;
}
|
the_stack_data/100139465.c | /***********************************************************************
* Code listing from "Advanced Linux Programming," by CodeSourcery LLC *
* Copyright (C) 2001 by New Riders Publishing *
* See COPYRIGHT for license information. *
***********************************************************************/
#include <pthread.h>
extern void do_work ();
int thread_flag;
pthread_mutex_t thread_flag_mutex;
void initialize_flag ()
{
pthread_mutex_init (&thread_flag_mutex, NULL);
thread_flag = 0;
}
/* Calls do_work repeatedly while the thread flag is set; otherwise
spins. */
void* thread_function (void* thread_arg)
{
while (1) {
int flag_is_set;
/* Protect the flag with a mutex lock. */
pthread_mutex_lock (&thread_flag_mutex);
flag_is_set = thread_flag;
pthread_mutex_unlock (&thread_flag_mutex);
if (flag_is_set)
do_work ();
/* Else don't do anything. Just loop again. */
}
return NULL;
}
/* Sets the value of the thread flag to FLAG_VALUE. */
void set_thread_flag (int flag_value)
{
/* Protect the flag with a mutex lock. */
pthread_mutex_lock (&thread_flag_mutex);
thread_flag = flag_value;
pthread_mutex_unlock (&thread_flag_mutex);
}
|
the_stack_data/215767723.c |
#include <unistd.h>
int main(int ac, char **av)
{
if (ac > 1)
while(*av[ac - 1])
write(1, av[ac - 1]++, 1);
write(1, "\n", 1);
return (0);
} |
the_stack_data/103264905.c | /*
@file: aula7_atividade1
@author: Deivid da Silva Galvao
@date: 20 out 2021
@brief: 1) Crie um programa que forneça um menu com duas
opções. Caso o usuário digite 1, o programa solicitará um
número e verificará se o valor é par ou impar. Caso o
usuário digite 2, o programa solicitará uma idade e
verificará se pessoa é maior ou menor de idade.
Veja o exemplo de menu abaixo:
*/
#include <stdio.h>
#include <stdlib.h>
int main (){
//declarando as variaveis
int opcoes_do_usuario;
int idade;
//mostrando o menu de opsoes para o usuario e em seguida coletando a opsao digitada por ele.
printf("Ola bem vindo ao programa\n");
printf("1- verifica par/impar \n");
printf("2- verifica se maior ou menor de idade\n");
printf("digite 1 ou 2 para processeguir\n");
scanf("%i", &opcoes_do_usuario);
// abrindo um switch para atribuir varios caminhos que o codigo deve seguir depedendo da opscao escolhida pelo usuario.
switch (opcoes_do_usuario) {
case 1 :
printf("voce escolheu a opcao 1\n");
int numero;
int confirmacao;
//solicitar para que o usuario digite um numero e em seguida armazenar o numero na memoria.
printf("Digite um numero inteiro:");
scanf("%i", &numero );
// declarar a formula para confirmacao se o numero é ou não par e em seguida mostrar o resultado obtido para o usuario
confirmacao = numero % 2;
if (confirmacao == 0 ) {
// imprimindo o resultado para o usuario
printf("O numero digitado e par:\n");
} else {
// imprimindo o resultado para o usuario
printf("O numero digitado e impar\n");
break; //fechando o caso 1
case 2 :
// dando as novas instrucoes para o usuario caso ele escolha essa opcao.
printf("Voce escolheu a opcao 2\n");
printf("digite sua idade:");
scanf("%i", &idade);
//abrindo um if else dentro do case 2 para verificar se o usuario é ou não maior de idade.
if (idade >= 18) {
printf("voce e maior de idade\n");
} else{
if (idade < 18 && idade > 0) {
printf("voce e menor de idade\n");
} else{
if (idade < 0){
printf("idade invalida\n");
break;//fecha o caso 2
default://o codigo seguira para cá caso o usuario faça algum comando incorreto
printf ("comando invalido, erro497\n");
break;// fecha o default
}//fecha if 1
}//fecha if 2
return 0;
}//fecha else 1
}//fecha else 2
}//fecha switch
}//fecha main
|
the_stack_data/206392192.c | /* Character table font4x8 (c) [email protected]
* Generated by chartbl.py from font4x8.pnm
* Changes to this file will be lost
*/
#ifndef SECTION_ATTRIBUTE
#define SECTION_ATTRIBUTE
#endif
SECTION_ATTRIBUTE const unsigned short g_font4x8[] = {
0x0000,0x0000,0x0000,0x0000,0x001f,0xfc26,0x345f,0xf820,
0x151f,0xfeff,0xfeff,0xfcc5,0x151f,0xffbc,0xe7ff,0xfce5,
0x0037,0xbffd,0xeff5,0xa840,0x0802,0x14ff,0xfd01,0x0800,
0x0000,0x00ac,0x6080,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0002,0x15b6,0xb040,0x0000,0x0004,0x2555,0xa840,0x0000,
0x2806,0x34d8,0xc040,0x0000,0x2806,0x349f,0xff3f,0xffff,
0x0004,0x24bf,0xff3f,0xffff,0x0002,0x1559,0xc840,0x0000,
0x0001,0x0dd5,0xa840,0x0000,0x0001,0x0e16,0xb040,0x0000,
0x0000,0x0000,0x0055,0xad45,0x0000,0x0000,0x0055,0xad26,
0x0000,0x0000,0x0073,0x9de4,0x0800,0x0000,0x0052,0x9de4,
0x0800,0x0000,0x0052,0x9de4,0x0000,0x0000,0x0053,0x9de4,
0x0000,0x0000,0x0056,0xb5c1,0x0000,0x0000,0x0056,0xb601,
0x2805,0x2d55,0xa840,0x0000,0x3006,0x3535,0xa840,0x0000,
0x2004,0x25d2,0x9080,0x0000,0xef1f,0xffef,0x7920,0x0000,
0xef3c,0xe7f0,0x8100,0x0000,0x0800,0x0000,0x0000,0x0000,
0x0800,0x0000,0x0000,0x0000,0x0800,0x0000,0x0000,0x0000,
0x0001,0x0df6,0xb040,0x0000,0x0001,0x0dd6,0xb040,0x0000,
0x0001,0x0e93,0x9860,0x0000,0x87fd,0xefef,0x7920,0x0000,
0x87fd,0xefef,0x7920,0x0000,0x0001,0x0e93,0x9860,0x0000,
0x0001,0x0dd6,0xb040,0x0000,0x0001,0x0dd6,0xb040,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xff1b,0xdff3,0x9840,0x0000,
0xfedc,0xe7f2,0x9060,0x0000,0x0001,0x0e71,0x88c0,0x0001,
0x0001,0x0db3,0x78c0,0x0000,0x0001,0x0db2,0x70c0,0x0000,
0x0000,0x0000,0x0071,0x8fff,0x0000,0x0000,0x05ff,0xffff,
0x0000,0x0032,0x97f2,0x9020,0x0001,0x0d3f,0xfce2,0x1000,
0x0032,0x97f2,0x9020,0x0000,0x0cdf,0xfd01,0x0800,0x0000,
0x5e8f,0x9020,0x0000,0x0000,0x8e42,0x1000,0x0000,0x0000,
0xfce2,0x1000,0x0000,0x0000,0xfff6,0xb020,0x0000,0x0000,
0x053f,0xfd01,0x0800,0x0000,0x0051,0x8ff2,0x9020,0x0000,
0x0001,0x0d1f,0xfd01,0x0800,0x0000,0x0032,0x97f1,0x8860,
0x0000,0x0001,0x0d1f,0xfba5,0x0000,0x0000,0x0054,0xa7ff,
0x0000,0x0000,0x0005,0x2b44,0x0000,0x0000,0x001f,0xfc62,
0x0000,0x0001,0x0c9f,0xfbc3,0x0000,0x0034,0xa71f,0xfbe3,
0x0000,0x063f,0xfeff,0xfc84,0x0075,0xaffc,0xe75f,0xfcc4,
0x2c9f,0xffbc,0xe77f,0xfcc4,0xfe1f,0xfffd,0xef3f,0xfcc3,
0x2000,0x0000,0x0000,0x00ca,0x1000,0x0000,0x0000,0x006f,
0x1800,0x0000,0x0000,0x008c,0x1800,0x0000,0x0000,0x008e,
0x2000,0x00b1,0x8ffa,0xd7fd,0x2000,0x00d1,0x8ffd,0xef9f,
0x2000,0x00d1,0x8ffc,0xe79f,0x1800,0x00b1,0x8ffb,0xdfbf,
0x50e0,0x0000,0x0000,0x0000,0x7fe0,0x0000,0x0000,0x0000,
0x67ef,0x7840,0x0000,0x0000,0x77fd,0xeda1,0x0800,0x0000,
0xeffd,0xeff7,0xb820,0x0000,0xffdf,0xff7f,0xfe00,0x0000,
0xffdf,0xffdd,0xeff7,0xb820,0xffbf,0xffff,0xff1f,0xfd41,
0x0000,0x0072,0x97fb,0xdfff,0x0000,0x0054,0xa7fc,0xe7fe,
0x0000,0x0054,0xa7fc,0xe7fe,0x0000,0x0053,0x9ffb,0xdfff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0800,0x0000,0x0000,0x0000,
0xff1f,0xfcc3,0x1800,0x00b1,0xf75f,0xfcc4,0x2000,0x00b1,
0xf75f,0xfd42,0x1000,0x0000,0xff1f,0xfd41,0x0800,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x8ffb,0xdfff,0xff1f,0xfd22,0x8ffb,0xdfff,0xff1f,0xfd41,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0053,0x0000,0x0000,0x0000,0x0053,
0x1000,0x0000,0x0000,0x0000,0x0800,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x006f,0x0000,0x0000,0x0000,0x008f,
0x9ffb,0xdfbf,0xfffd,0xeffc,0x9ffb,0xdfbf,0xffbf,0xfffe,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0002,
0x7fff,0xfc62,0x1000,0x0002,0x7fff,0xfc22,0x1000,0x0000,
0xe73f,0xfd02,0x1000,0x0000,0xf71f,0xfd41,0x0800,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0002,0x13df,0xfbc2,0x1000,
0x0004,0x233f,0xfb24,0x2000,0x139f,0xfa2e,0x725f,0xfb26,
0x13df,0xfb09,0x4b1f,0xfb66,0x0000,0x008d,0x6880,0x0000,
0x0001,0x0cdf,0xfcc1,0x0800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x3005,0x2cbf,0xff3d,0xeffe,
0x3006,0x347f,0xff9c,0xe7fe,0x0002,0x1539,0xc840,0x0000,
0x0001,0x0df5,0xa840,0x0000,0x0001,0x0e16,0xb040,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xf7ff,0xffff,0xffff,0xffdf,
0xf7ff,0xffff,0xffff,0xffdf,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0001,0x0df6,0xb040,0x0000,0x0001,0x0dd6,0xb040,0x0000,
0x0001,0x0df6,0xb040,0x0000,0xff7f,0xfffc,0xe77f,0xfbe7,
0xff7f,0xfffc,0xe75f,0xfb89,0x0001,0x0df4,0xa080,0x0004,
0x0001,0x0dd5,0xa860,0x0000,0x0001,0x0e17,0xb840,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0052,0x97ff,0xfd01,0x0800,0x3c1f,0xff3c,0xe7f3,0x9860,
0x4bdf,0xff1b,0xdfec,0x618b,0x24ff,0xff3c,0xe7ec,0x616d,
0x0052,0x97ff,0xfda0,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0056,0x0000,0x0000,0x0000,0x0056,
0x0000,0x0000,0x0000,0x0056,0x0000,0x0000,0x0000,0x0059,
0x5ffb,0xdf7f,0xfffc,0x0056,0x6ffd,0xef7f,0xfffe,0x0056,
0x8ffc,0xe79f,0xfffe,0x0056,0x9ffb,0xdfbf,0xfffe,0x0056,
0xb5e1,0x0800,0x0000,0x0000,0xb5c1,0x0800,0x0000,0x0000,
0xb5c1,0x0800,0x0000,0x0000,0xcd42,0x1000,0x0000,0x0053,
0xfd21,0x0800,0x0000,0x0053,0xfd61,0x0800,0x0000,0x0000,
0xfd61,0x0800,0x0000,0x0000,0xfd41,0x0800,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x9ffb,0xdfbf,0xffbf,0xffdf,
0x9ffd,0xef7e,0xf7fd,0xefff,0x0001,0x0df6,0xb040,0x0000,
0x0001,0x0dd6,0xb040,0x0000,0x0001,0x0e16,0xb040,0x0000,
0x0001,0x0dd3,0x98e0,0x012d,0x0001,0x0d93,0x9900,0x016c,
0x0001,0x0db3,0x98e0,0x012d,0xff7f,0xff9e,0xf7fc,0xe7fc,
0xffff,0xffff,0xfffd,0xeffc,0x0000,0x0000,0x0000,0x008f,
0x0000,0x0000,0x0000,0x008e,0x0000,0x0000,0x0000,0x006f,
0x6fff,0xfc42,0x1000,0x0000,0x67ff,0xfc22,0x1000,0x0000,
0x6fff,0xfc22,0x1000,0x0000,0xe73f,0xfd02,0x1000,0x0000,
0xe73f,0xfd02,0x1000,0x0000,0x7fff,0xfc22,0x1000,0x0000,
0x77ff,0xfc22,0x1000,0x0000,0x7fff,0xfc62,0x1000,0x0000,
0x0001,0x0dd4,0xa080,0x0004,0x0001,0x0dd3,0x98a0,0x0004,
0x0002,0x1556,0xb080,0x0006,0x0001,0x0d5f,0xff3f,0xffff,
0x0001,0x0d7f,0xfedf,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x245f,0xffef,0x7860,0x0000,0x2499,0xc8a0,0x0040,0x0000,
0x33ff,0xffee,0x7060,0x0000,0x535f,0xf880,0x0060,0x0002,
0x52df,0xfe73,0x9fee,0x7080,0x0002,0x1556,0xb0a0,0x0060,
0x0002,0x149f,0xffee,0x70a0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0678,0xc020,0x0000,
0x0034,0xa7ff,0xfd61,0x0800,0x14df,0xfe78,0xc7f1,0x8860,
0x0003,0x1d53,0x98a0,0x0002,0x0003,0x1d55,0xa860,0x0000,
0x0003,0x1d96,0xb040,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0x0e16,0xb040,0x0000,
0x0002,0x15b5,0xa860,0x0000,0x0003,0x1d53,0x98a0,0x0001,
0x14df,0xfe79,0xcff0,0x80a0,0x0034,0xa7ff,0xfd61,0x0800,
0x0000,0x0678,0xc020,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0x0ddb,0xd820,0x0000,
0x001f,0xfd61,0x0800,0x0000,0x0d3f,0xfd9f,0xfff2,0x9021,
0x007c,0xe541,0x0800,0x0000,0x0001,0x0ddc,0xe020,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0735,0xa820,0x0000,
0x0000,0x0054,0xa7e0,0x0000,0x0d1f,0xfff4,0xa7f4,0xa020,
0x0000,0x0054,0xa7e0,0x0000,0x0000,0x0715,0xa840,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0020,0x0000,0x0001,0x0df4,0xa080,0x0003,
0x0001,0x0dd3,0x98a0,0x0003,0x0001,0x0dd3,0x98a0,0x0003,
0x0001,0x0e16,0xb040,0x0000,0x0000,0x0000,0x0020,0x0000,
0x0001,0x0e37,0xb820,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x1d5a,0xd020,0x0694,0xa060,
0x1d19,0xc820,0x07ed,0x694b,0x1d5a,0xd020,0x0695,0xa840,
0x0000,0x0000,0x0000,0x0001,0x0000,0x0000,0x0000,0x0033,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x07f7,0xb800,0x0677,0xb860,
0x5ff5,0xafff,0xfd9f,0xfc24,0x0737,0xb820,0x0635,0xa880,
0x0e18,0xc020,0x0656,0xb060,0x9ff5,0xafff,0xfdbf,0xfbe7,
0x0679,0xc800,0x0697,0xb820,0x0000,0x0000,0x0000,0x0000,
0x0001,0x0e74,0xa060,0x0000,0x008f,0x7ff0,0x87f0,0x8021,
0x25b2,0x90a0,0x0001,0x0803,0x00ce,0x77ff,0xfc43,0x1801,
0x0020,0x0004,0x249f,0xf860,0x3b5f,0xfcbf,0xfc64,0x2004,
0x0003,0x1d97,0xb840,0x0007,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0020,0x0040,0x0e54,0xa040,0x0676,0xb080,
0x1dd0,0x810e,0x77e1,0x0800,0x0801,0x0f74,0xa040,0x0000,
0x0096,0xb5a2,0x1000,0x0002,0x24df,0xf802,0x1599,0xc820,
0x3ae7,0x3804,0x2573,0x98c0,0x0000,0x0000,0x0000,0x0000,
0x0004,0x235f,0xfba2,0x1000,0x007f,0xfb4a,0x537f,0xf820,
0x0002,0x141f,0xfc02,0x1000,0x008d,0x6fec,0x6080,0x0000,
0x17ec,0x61a9,0x4fff,0xfd02,0x07f1,0x88a0,0x07f3,0x9820,
0x00eb,0x5fe9,0x494e,0x77e0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0002,0x1596,0xb040,0x0000,
0x0002,0x15b5,0xa840,0x0000,0x0002,0x15d6,0xb040,0x0000,
0x1000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0020,0x0020,0x0001,0x0000,0x0050,0x87f0,0x8021,
0x0002,0x147f,0xfcc2,0x1000,0x0002,0x153f,0xf820,0x0000,
0x0002,0x153f,0xf820,0x0000,0x0002,0x147f,0xfcc2,0x1000,
0x0000,0x0050,0x87f0,0x8021,0x0000,0x0000,0x0000,0x0000,
0x0800,0x0000,0x0000,0x0000,0x0cdf,0xfc81,0x0800,0x0001,
0x0051,0x8fee,0x70a0,0x0040,0x0001,0x0f30,0x8100,0x010c,
0x0001,0x0f51,0x88c0,0x0040,0x0071,0x8fee,0x7080,0x0001,
0x0cbf,0xfc81,0x0800,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0ef5,0xa820,0x05d8,0xc040,
0x00af,0x7fff,0xfc63,0x1802,0x67f2,0x97ff,0xfcff,0xfb0a,
0x00af,0x7fff,0xfc63,0x1802,0x0e55,0xa820,0x05d8,0xc040,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0002,0x1596,0xb040,0x0000,
0x1003,0x1d75,0xa860,0x0000,0x531f,0xfdb4,0xa7ed,0x6860,
0x1003,0x1d75,0xa860,0x0000,0x0002,0x1596,0xb040,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0002,
0x0000,0x0000,0x0000,0x0000,0x0001,0x0e16,0xb040,0x0000,
0x0001,0x0d9a,0xd020,0x0000,0x003c,0xe5c1,0x0800,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x149f,0xfe17,0xbff0,0x8040,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0x0df4,0xa080,0x0003,
0x0001,0x0e14,0xa080,0x0006,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0db8,0xc080,
0x0000,0x0038,0xc5c3,0x1803,0x0000,0x0676,0xb040,0x0004,
0x0038,0xc660,0x0000,0x0003,0x1cff,0xf820,0x0000,0x0001,
0x3324,0x2000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x00ce,0x77ff,0xfc62,0x1000,
0x1e52,0x9080,0x07f3,0x98a0,0x2532,0x90ec,0x67eb,0x58e0,
0x1bff,0xfba5,0x2d13,0x98a0,0x0ddf,0xf802,0x1518,0xc060,
0x006f,0x7fff,0xfc44,0x2004,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0020,0x0000,0x0000,0x07f3,0x9860,0x0000,
0x00af,0x7fec,0x60e0,0x0001,0x0002,0x1692,0x9060,0x0000,
0x0003,0x1d36,0xb040,0x0000,0x0003,0x1d75,0xa860,0x0000,
0x241f,0xfdf5,0xafef,0x7840,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0070,0x87ff,0xfc24,0x2004,
0x0ed3,0x9840,0x057f,0xf820,0x0000,0x0074,0xa6a0,0x0000,
0x0001,0x0e57,0xb840,0x0000,0x001f,0xfd42,0x1000,0x0001,
0x053f,0xfddf,0xffef,0x78c0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0020,0x0000,0x247f,0xfff5,0xaff1,0x8840,
0x0000,0x0053,0x9fe0,0x0000,0x0000,0x07f3,0x9840,0x0000,
0x0000,0x0074,0xa603,0x1803,0x0f73,0x9840,0x055f,0xf802,
0x00ce,0x77ff,0xfc82,0x1000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x003f,0xfce5,0x2806,
0x0002,0x147f,0xfb67,0x3806,0x006f,0x7fff,0xfbc7,0x3806,
0x1f0e,0x712f,0x7ea2,0x1002,0x14ff,0xfff2,0x97f5,0xa800,
0x0000,0x0056,0xb641,0x0800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0020,0x343f,0xfff4,0xa7ef,0x78c0,
0x349a,0xd060,0x0001,0x0802,0x343f,0xfd9f,0xfc25,0x2806,
0x1001,0x0803,0x1cff,0xf801,0x07f5,0xa801,0x0d5f,0xf800,
0x008e,0x77ff,0xfc43,0x1800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x00ce,0x77ff,0xfc65,0x2805,
0x15f3,0x9880,0x0001,0x0800,0x341f,0xfe1f,0xfca2,0x1000,
0x0d9c,0xe001,0x0d96,0xb080,0x07f3,0x9821,0x0d95,0xa8c0,
0x008e,0x77ff,0xfc43,0x1800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0020,0x0000,0x2c3f,0xfd9f,0xffee,0x70e0,
0x0000,0x0001,0x0dd9,0xc820,0x0000,0x0038,0xc5e2,0x1000,
0x0001,0x0e17,0xb840,0x0002,0x00d6,0xb561,0x0800,0x0001,
0x0094,0xa5e1,0x0800,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x00ee,0x77ff,0xfc43,0x1800,
0x07f1,0x8841,0x0cdf,0xf800,0x008e,0x77ff,0xfc43,0x1800,
0x15f5,0xa821,0x0db8,0xc040,0x0e95,0xa821,0x0db9,0xc840,
0x006f,0x7fff,0xfc43,0x1800,0x0000,0x0000,0x0000,0x0000,
0x0020,0x0000,0x0000,0x0000,0x008f,0x7fff,0xfc82,0x1000,
0x07f1,0x8840,0x0655,0xa860,0x00af,0x7ff7,0xbfee,0x70c0,
0x0000,0x0001,0x0df5,0xa860,0x0020,0x0055,0xaea0,0x0000,
0x00cb,0x5fec,0x6060,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0003,0x1d96,0xb040,0x0000,0x0003,0x1d96,0xb040,0x0000,
0x0001,0x0800,0x0020,0x0000,0x0001,0x0df6,0xb040,0x0000,
0x0001,0x0e16,0xb040,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0001,0x0e16,0xb040,0x0000,0x0001,0x0e17,0xb840,0x0000,
0x0000,0x0000,0x0020,0x0000,0x0001,0x0e16,0xb040,0x0000,
0x0001,0x0d9a,0xd020,0x0000,0x003b,0xddc1,0x0800,0x0000,
0x0000,0x0001,0x0ddc,0xe020,0x0000,0x0038,0xc601,0x0800,
0x0001,0x0e76,0xb040,0x0003,0x001f,0xfd41,0x0800,0x0000,
0x0000,0x0678,0xc020,0x0000,0x0000,0x0038,0xc5e2,0x1004,
0x0000,0x0001,0x0dbd,0xe820,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x1c5f,0xfe17,0xbfee,0x70a0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x245f,0xfe37,0xbfee,0x70c0,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0735,0xa840,0x0000,0x0000,0x0057,0xbe41,0x0800,0x0000,
0x0001,0x0e17,0xb840,0x0002,0x0000,0x0053,0x9fe0,0x0000,
0x0001,0x0e58,0xc020,0x0000,0x0096,0xb641,0x0800,0x0000,
0x0775,0xa840,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x006f,0x7fff,0xfc82,0x1000,
0x16b3,0x9840,0x057f,0xf800,0x0000,0x0074,0xa6a0,0x0000,
0x0000,0x0735,0xa820,0x0000,0x0000,0x0000,0x0020,0x0000,
0x0001,0x0e37,0xb820,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0070,0x87ff,0xfc62,0x1000,
0x15d3,0x9860,0x0794,0xa0a0,0x1dad,0x69a7,0x3fec,0x6080,
0x1dad,0x69e6,0x37ed,0x6821,0x15f1,0x88e0,0x0080,0x0004,
0x006f,0x7ff1,0x8ff1,0x8821,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0676,0xb040,0x0004,
0x00d0,0x87ff,0xfc84,0x2005,0x07f4,0xa021,0x0d7f,0xf802,
0x0d5f,0xf800,0x07f4,0xa021,0x243f,0xfeb9,0xcff0,0x8040,
0x0d9f,0xf800,0x07f5,0xa821,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x245f,0xfd7f,0xfc43,0x1800,
0x2c9f,0xf801,0x0cff,0xf801,0x14bf,0xfdbf,0xfc24,0x2004,
0x0dbb,0xd801,0x0d9f,0xf801,0x05bc,0xe001,0x0d7f,0xf800,
0x0cbf,0xfd7f,0xfc43,0x1800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x008e,0x77ff,0xfc25,0x2805,
0x0ff3,0x9840,0x05bf,0xf802,0x2575,0xa860,0x0000,0x0002,
0x0e34,0xa060,0x0000,0x0002,0x07f3,0x9840,0x05bf,0xf802,
0x008e,0x77ff,0xfc25,0x2805,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2c7f,0xffed,0x6880,0x0004,
0x164e,0x714d,0x6fe3,0x1805,0x15b5,0xa860,0x063f,0xf802,
0x15b5,0xa860,0x063f,0xf801,0x164e,0x714d,0x6fe3,0x1805,
0x2c7f,0xffed,0x6880,0x0004,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x243f,0xfff4,0xa7f1,0x8822,
0x2c9c,0xe060,0x0001,0x0804,0x14bf,0xff1f,0xfc65,0x2806,
0x0db7,0xb840,0x0000,0x0002,0x2cf8,0xc040,0x0000,0x0002,
0x243f,0xfff4,0xa7f1,0x8821,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x149f,0xffd4,0xa7ee,0x70c0,
0x24bc,0xe060,0x0001,0x0802,0x341f,0xff3f,0xfc65,0x2805,
0x1558,0xc040,0x0000,0x0002,0x15d5,0xa840,0x0000,0x0001,
0x0e75,0xa840,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x00cd,0x6ff1,0x8ff1,0x8821,
0x1692,0x9060,0x0000,0x0002,0x2d33,0x9880,0x0000,0x0002,
0x166d,0x6988,0x47ee,0x7021,0x0ef2,0x9080,0x07f2,0x9020,
0x006f,0x7ff3,0x9ff1,0x8840,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0e18,0xc020,0x0656,0xb021,
0x153f,0xf800,0x07f1,0x88a0,0x147f,0xfe79,0xcfed,0x68c0,
0x0d5f,0xf800,0x07f0,0x80a0,0x0617,0xb820,0x0672,0x9080,
0x0658,0xc020,0x0676,0xb021,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0c9f,0xfdd5,0xafef,0x7860,
0x0003,0x1d55,0xa860,0x0000,0x0003,0x1d55,0xa840,0x0000,
0x0003,0x1d55,0xa860,0x0000,0x0003,0x1d53,0x98a0,0x0001,
0x0c9f,0xfdd6,0xb7ed,0x68c0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x004f,0x7fee,0x7040,
0x0000,0x0001,0x0ed5,0xa820,0x0000,0x0001,0x0d99,0xc802,
0x0000,0x0002,0x1598,0xc002,0x0e96,0xb001,0x0d5f,0xf801,
0x00ce,0x77ff,0xfc25,0x2804,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0694,0xa060,0x065f,0xf801,
0x070f,0x792d,0x6fe3,0x1805,0x149f,0xffec,0x60c0,0x0004,
0x149f,0xffec,0x60c0,0x0004,0x0eae,0x714d,0x6fe3,0x1805,
0x2575,0xa860,0x065f,0xf802,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0e75,0xa840,0x0000,0x0001,
0x2d55,0xa840,0x0000,0x0003,0x2555,0xa840,0x0000,0x0002,
0x2555,0xa840,0x0000,0x0001,0x2cf8,0xc040,0x0000,0x0002,
0x149f,0xfff4,0xa7f1,0x8821,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0d5b,0xd860,0x007f,0xfba8,
0x1bbf,0xfb47,0x3b5f,0xfa4e,0x143f,0xfef7,0xbeff,0xfaac,
0x0e2d,0x6a41,0x0a4f,0x7baa,0x15d0,0x8160,0x0174,0xa38b,
0x0e33,0x98e0,0x00d8,0xc3e8,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x439f,0xf802,0x15d4,0xa0c0,
0x725f,0xfb07,0x3c79,0xc840,0x637f,0xfe7f,0xfff3,0x9840,
0x539f,0xfff8,0xc7f2,0x9040,0x5bb3,0x9948,0x47ec,0x6080,
0x43ff,0xf860,0x07f1,0x88c0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x00ee,0x77ff,0xfc25,0x2805,
0x07f4,0xa021,0x0d7f,0xf801,0x0617,0xb820,0x0636,0xb021,
0x0617,0xb820,0x0636,0xb021,0x07f4,0xa021,0x0d7f,0xf801,
0x00ee,0x77ff,0xfc25,0x2804,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2c3f,0xfd7f,0xfc43,0x1800,
0x0d9b,0xd801,0x0d7f,0xf800,0x0dbb,0xd801,0x0d9f,0xf801,
0x0cbf,0xfe3f,0xfc45,0x2805,0x0db7,0xb840,0x0000,0x0001,
0x2596,0xb040,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x008e,0x77ff,0xfc25,0x2805,
0x07f3,0x9821,0x0d7f,0xf801,0x0df7,0xb820,0x0636,0xb020,
0x2d34,0xa060,0x063f,0xf802,0x0fee,0x70f2,0x9563,0x1804,
0x0056,0xb525,0x2c3f,0xf801,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2c3f,0xfd7f,0xfc43,0x1800,
0x0d9b,0xd801,0x0d7f,0xf820,0x05bc,0xe001,0x0d97,0xb8a0,
0x14df,0xffff,0xfc82,0x1000,0x25cf,0x7910,0x8601,0x0800,
0x0e74,0xa060,0x0696,0xb080,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x008e,0x77ff,0xfc64,0x2005,
0x07ef,0x78a0,0x0001,0x0800,0x00ee,0x77ff,0xfc82,0x1000,
0x0000,0x0002,0x1538,0xc060,0x0000,0x0002,0x1538,0xc060,
0x00ef,0x7fff,0xfc62,0x1000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2bff,0xfdd5,0xaff0,0x8021,
0x0002,0x15d3,0x98a0,0x0003,0x0002,0x15b3,0x98a0,0x0003,
0x0003,0x1d33,0x98a0,0x0003,0x0003,0x1d53,0x98a0,0x0004,
0x0001,0x0dd4,0xa080,0x0004,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0e18,0xc020,0x0658,0xc020,
0x1d38,0xc020,0x0637,0xb820,0x1d18,0xc020,0x0637,0xb820,
0x1d18,0xc020,0x0616,0xb040,0x24bf,0xf800,0x07f1,0x88e0,
0x243f,0xfe58,0xc7ee,0x70c0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0658,0xc020,0x0658,0xc000,
0x0637,0xb820,0x0617,0xb821,0x0617,0xb820,0x0637,0xb821,
0x07f4,0xa021,0x0d7f,0xf802,0x00d0,0x87ff,0xfc84,0x2006,
0x0001,0x0e17,0xb840,0x0003,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0672,0x90e0,0x00d8,0xc3e8,
0x0e6f,0x7960,0x0173,0x9bc8,0x0f2c,0x6241,0x0a4d,0x6e02,
0x145f,0xfef8,0xc6ff,0xfc03,0x337f,0xfb67,0x3b5f,0xfa8a,
0x1cfa,0xd060,0x007f,0xfba8,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x43df,0xf800,0x0678,0xc020,
0x43ff,0xf820,0x057f,0xf800,0x1030,0x87ff,0xfc04,0x2000,
0x182f,0x7fff,0xfc03,0x1800,0x53fc,0xe020,0x05b6,0xb060,
0x43df,0xf800,0x06f3,0x9880,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0658,0xc020,0x0676,0xb020,
0x07f3,0x9821,0x0d98,0xc040,0x0090,0x87ff,0xfcc2,0x1000,
0x0002,0x15d6,0xb060,0x0000,0x0003,0x1d53,0x98a0,0x0002,
0x0003,0x1d94,0xa080,0x0004,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x051f,0xff95,0xaff0,0x8060,
0x0000,0x0053,0x9fe0,0x0000,0x0001,0x0e18,0xc020,0x0000,
0x0057,0xbe41,0x0800,0x0000,0x1597,0xb840,0x0000,0x0000,
0x243f,0xfff4,0xa7ee,0x7080,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0004,0x245f,0xfff1,0x8804,
0x0002,0x1535,0xa8a0,0x0002,0x0001,0x0dd5,0xa860,0x0000,
0x0001,0x0dd6,0xb040,0x0000,0x0002,0x1558,0xc040,0x0000,
0x0004,0x245f,0xffef,0x7860,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2363,0x1800,0x0000,0x0002,
0x151f,0xf820,0x0000,0x0000,0x0038,0xc660,0x0000,0x0000,
0x0001,0x0e58,0xc020,0x0000,0x0000,0x0038,0xc661,0x0800,
0x0000,0x0001,0x0d9f,0xf802,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x147f,0xfff0,0x8060,0x0000,
0x0001,0x0e73,0x9840,0x0000,0x0001,0x0dd5,0xa860,0x0000,
0x0001,0x0dd3,0x98a0,0x0001,0x0001,0x0e53,0x9860,0x0000,
0x149f,0xfff0,0x8060,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x008c,0x6080,0x0000,
0x0002,0x145f,0xfc42,0x1000,0x001f,0xfc26,0x343f,0xf820,
0x0e54,0xa080,0x0094,0xa700,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0050,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x87f5,0xafff,0xfdff,0xfc81,0x0001,0x0801,0x0800,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0801,0x0e38,0xc020,0x0000,
0x0034,0xa7ff,0xfd21,0x0800,0x151f,0xff5c,0xe7f2,0x90a0,
0x151f,0xff5c,0xe7f2,0x90a0,0x0034,0xa7ff,0xfd03,0x1802,
0x0801,0x0e38,0xc020,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0002,
0x00b0,0x87ff,0xfc05,0x2805,0x0080,0x0002,0x155f,0xf802,
0x00cf,0x7ff7,0xbff0,0x8040,0x17f2,0x9040,0x07f3,0x9821,
0x006f,0x7ff3,0x9ff0,0x8041,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x15f6,0xb040,0x0000,0x0000,
0x2cf8,0xc040,0x0000,0x0000,0x14bf,0xfe3f,0xfc44,0x2003,
0x05bc,0xe001,0x0d7f,0xf801,0x0dbc,0xe001,0x0d7f,0xf800,
0x0cbf,0xfd5f,0xfc43,0x1800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x006f,0x7fff,0xfcc2,0x1000,0x1e72,0x9060,0x0000,0x0000,
0x0e54,0xa040,0x0000,0x0001,0x07f2,0x9060,0x0000,0x0001,
0x008e,0x77ff,0xfc63,0x1800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0df6,0xb040,
0x0000,0x0001,0x0e51,0x88e0,0x008f,0x7ff7,0xbff0,0x8060,
0x0e95,0xa820,0x0735,0xa822,0x0e55,0xa820,0x0714,0xa040,
0x008e,0x77f4,0xa7ee,0x70e0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x00ee,0x77ff,0xfc62,0x1000,0x0757,0xb800,0x0634,0xa0c0,
0x149f,0xfff6,0xb7ee,0x70c0,0x07f3,0x9880,0x0000,0x0000,
0x00ed,0x6fff,0xfcc1,0x0800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x006d,0x6fec,0x6080,
0x0000,0x07f1,0x88c0,0x0080,0x00b2,0x97f2,0x97ef,0x7840,
0x0002,0x15f3,0x98a0,0x0002,0x0002,0x15b5,0xa860,0x0000,
0x0001,0x0e16,0xb040,0x0000,0x0000,0x0000,0x0000,0x0002,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,
0x00ae,0x77f3,0x9ff1,0x8821,0x0734,0xa020,0x0755,0xa821,
0x1635,0xa820,0x0755,0xa821,0x0050,0x87f6,0xb7f0,0x8040,
0x0000,0x0003,0x1d5f,0xf800,0x149f,0xfcdf,0xfc42,0x1000,
0x0000,0x0000,0x0000,0x0000,0x0e16,0xb040,0x0000,0x0000,
0x0db7,0xb840,0x0000,0x0000,0x0cbf,0xfe1f,0xfc62,0x1000,
0x0dbd,0xe801,0x0db6,0xb080,0x0617,0xb820,0x0672,0x90c0,
0x0638,0xc000,0x0692,0x90c0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0x0e38,0xc020,0x0000,
0x0000,0x0020,0x0020,0x0000,0x008e,0x77ed,0x6860,0x0000,
0x0001,0x0eb3,0x9840,0x0000,0x0002,0x15b7,0xb820,0x0000,
0x00d0,0x87ff,0xfce1,0x0800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0dff,0xf801,
0x0000,0x0000,0x0000,0x0003,0x0000,0x0001,0x0dbc,0xe001,
0x0000,0x0001,0x0d99,0xc801,0x0000,0x0001,0x0d99,0xc820,
0x0000,0x0002,0x14ff,0xf800,0x0070,0x87ff,0xfc62,0x1000,
0x0000,0x0000,0x0000,0x0000,0x0e75,0xa840,0x0000,0x0000,
0x1dd3,0x9880,0x0000,0x0000,0x0eae,0x714c,0x67e0,0x0000,
0x0d17,0xbfec,0x6080,0x0000,0x070f,0x792d,0x6fe0,0x0000,
0x0694,0xa040,0x0696,0xb080,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x004f,0x7fed,0x6880,0x0000,
0x0001,0x0ff1,0x88a0,0x0003,0x0001,0x0dd3,0x98a0,0x0004,
0x0001,0x0dd3,0x98a0,0x0004,0x0001,0x0e35,0xa860,0x0004,
0x00d0,0x87ff,0xfc84,0x2004,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x1cff,0xf800,0x063f,0xf803,0x24bf,0xff5d,0xef3f,0xfbe8,
0x24bf,0xfff9,0xcfff,0xfb8a,0x258c,0x6261,0x0a4f,0x7bca,
0x2551,0x8940,0x0134,0xa408,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x1c7f,0xfd7f,0xfc43,0x1800,0x439f,0xf801,0x0d9f,0xf800,
0x537f,0xf820,0x0657,0xb820,0x537f,0xf820,0x0636,0xb040,
0x43df,0xf800,0x06b3,0x98a0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x008e,0x77ff,0xfc25,0x2805,0x07f3,0x9821,0x0d7f,0xf801,
0x0617,0xb820,0x0636,0xb020,0x07f4,0xa021,0x0d7f,0xf802,
0x00ee,0x77ff,0xfc25,0x2805,0x0000,0x0000,0x0000,0x0002,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x2c3f,0xfd7f,0xfc43,0x1800,0x0d9b,0xd801,0x0d7f,0xf800,
0x05bb,0xd801,0x0d7f,0xf800,0x14bf,0xfe1f,0xfc63,0x1800,
0x2cf8,0xc040,0x0000,0x0000,0x15f6,0xb040,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x008e,0x77f3,0x9ff0,0x8041,0x07f4,0xa020,0x0735,0xa821,
0x07f4,0xa020,0x0735,0xa820,0x008f,0x7ff7,0xbff0,0x8040,
0x0000,0x0001,0x0e35,0xa840,0x0000,0x0001,0x0df7,0xb840,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0cbf,0xfd5f,0xfc43,0x1800,0x0dba,0xd020,0x05df,0xf800,
0x0674,0xa040,0x0000,0x0000,0x0694,0xa040,0x0000,0x0000,
0x0775,0xa840,0x0000,0x0001,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x008e,0x77f1,0x8ff1,0x8821,0x07ef,0x78a0,0x0000,0x0000,
0x006f,0x7fff,0xfc82,0x1000,0x0000,0x0004,0x249f,0xf820,
0x0c9f,0xfcdf,0xfc42,0x1000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0x0df6,0xb040,0x0000,
0x0c3f,0xfd94,0xa7ee,0x7041,0x0002,0x15d3,0x98a0,0x0003,
0x0002,0x15b3,0x98a0,0x0004,0x0002,0x1651,0x88c0,0x0002,
0x0000,0x006d,0x6feb,0x58c0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0e18,0xc020,0x0658,0xc020,0x1d38,0xc020,0x0637,0xb820,
0x2519,0xc820,0x0616,0xb040,0x1615,0xa820,0x07f1,0x88e0,
0x00ce,0x77f4,0xa7ee,0x70c0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0658,0xc020,0x0658,0xc000,0x0617,0xb820,0x0637,0xb821,
0x07f4,0xa021,0x0d7f,0xf801,0x00d0,0x87ff,0xfca2,0x1000,
0x0001,0x0e19,0xc820,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x06d0,0x8120,0x0134,0xa446,0x0f0c,0x6241,0x0a4d,0x6da3,
0x0d9f,0xfff8,0xc7ff,0xfce3,0x0093,0x9fff,0xfff3,0x98a0,
0x0057,0xbca5,0x2c9b,0xd840,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0755,0xa820,0x05dc,0xe020,0x0051,0x8fff,0xfce1,0x0800,
0x0000,0x06b9,0xc800,0x0000,0x0051,0x8fff,0xfce1,0x0800,
0x0735,0xa820,0x05dc,0xe020,0x0000,0x0000,0x0000,0x0002,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0e18,0xc020,0x0657,0xb820,0x2d18,0xc020,0x0653,0x9880,
0x1df5,0xa820,0x07f1,0x88c0,0x00ad,0x6ff3,0x9ff0,0x80c0,
0x0040,0x00b1,0x8fe2,0x1003,0x14df,0xffef,0x7860,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x051f,0xff95,0xaff0,0x80a0,0x0000,0x0053,0x9f02,0x1004,
0x0001,0x0e17,0xb840,0x0004,0x007c,0xe542,0x1000,0x0000,
0x1cbf,0xfddf,0xffee,0x70e0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0658,0xc020,0x0000,
0x0092,0x97ff,0xfd61,0x0800,0x251f,0xff5c,0xe7f2,0x9080,
0x24bf,0xfeda,0xd7f0,0x80a0,0x0002,0x15f6,0xb060,0x0000,
0x00d0,0x87ff,0xfd01,0x0800,0x0000,0x0000,0x0000,0x0000,
0x0001,0x0df6,0xb040,0x0000,0x0001,0x0dd3,0x98a0,0x0004,
0x0002,0x15b3,0x98a0,0x0005,0x0003,0x1d33,0x98a0,0x0004,
0x0004,0x2533,0x98a0,0x0003,0x0002,0x15b3,0x98a0,0x0003,
0x0001,0x0dd5,0xa860,0x0000,0x0001,0x0e16,0xb040,0x0000,
0x0000,0x0000,0x0000,0x0000,0x241f,0xff13,0x9fed,0x68a0,
0x2bff,0xfff1,0x8880,0x0020,0x241f,0xfffa,0xd5a3,0x1803,
0x1d6f,0x794a,0x57ee,0x70c0,0x1d57,0xb840,0x07f0,0x80c0,
0x0000,0x0001,0x0df6,0xb040,0x0000,0x0000,0x0000,0x0000,
0x0000,0x00ab,0x58a0,0x0000,0x0000,0x07ef,0x7860,0x0000,
0x006f,0x7fec,0x6080,0x0000,0x1d96,0xb7ec,0x6080,0x0000,
0x00ae,0x77ec,0x6080,0x0000,0x0000,0x07ef,0x7860,0x0000,
0x0000,0x00ab,0x58a0,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0003,0x1b84,0x2000,0x0000,0x0002,0x147f,0xf800,0x0000,
0x0003,0x1bdf,0xfc81,0x0800,0x0003,0x1bff,0xfdf6,0xb020,
0x0003,0x1bdf,0xfc81,0x0800,0x0002,0x147f,0xf800,0x0000,
0x0003,0x1b84,0x2000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffe0,0x03d9,0xcba0,0x07df,
0xeae0,0x0100,0x0100,0x033a,0xeae0,0x0043,0x1800,0x031a,
0xffc8,0x4002,0x100a,0x57bf,0xf7fd,0xeb00,0x02fe,0xf7ff,
0xffff,0xff53,0x9f7f,0xffff,0xffff,0xffff,0xffff,0xffff,
0xfffd,0xea49,0x4fbf,0xffff,0xfffb,0xea49,0x57bf,0xffff,
0xd7f9,0xea49,0x3fbf,0xffff,0xd7f9,0xea49,0x00c0,0x0000,
0xfffb,0xea49,0x00c0,0x0000,0xfffd,0xea49,0x37bf,0xffff,
0xfffe,0xea49,0x57bf,0xffff,0xfffe,0xf1e9,0x4fbf,0xffff,
0xffff,0xffff,0xffaa,0x52ba,0xffff,0xffff,0xffaa,0x52d9,
0xffff,0xffff,0xff8c,0x621b,0xf7ff,0xffff,0xffad,0x621b,
0xf7ff,0xffff,0xffad,0x621b,0xffff,0xffff,0xffac,0x621b,
0xffff,0xffff,0xffa9,0x4a3e,0xffff,0xffff,0xffa9,0x49fe,
0xd7fa,0xd2aa,0x4fbf,0xffff,0xcff9,0xcaca,0x4fbf,0xffff,
0xdffb,0xda2d,0x4fbf,0xffff,0x10e0,0x0010,0x4fbf,0xffff,
0x10c3,0x180f,0x4fbf,0xffff,0xf7ff,0xffff,0xffff,0xffff,
0xf7ff,0xffff,0xffff,0xffff,0xf7ff,0xffff,0xffff,0xffff,
0xfffe,0xf209,0x4fbf,0xffff,0xfffe,0xf229,0x4fbf,0xffff,
0xfffe,0xf16c,0x4fbf,0xffff,0x7802,0x1010,0x4fbf,0xffff,
0x7802,0x1010,0x4fbf,0xffff,0xfffe,0xf16c,0x4fbf,0xffff,
0xfffe,0xf229,0x4fbf,0xffff,0xfffe,0xf229,0x4fbf,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x00e4,0x200c,0x67bf,0xffff,
0x0123,0x180d,0x6f9f,0xffff,0xfffe,0xf18e,0x773f,0xfffe,
0xfffe,0xf24c,0x66ff,0xfef2,0xfffe,0xf24d,0x6eff,0xff0e,
0xffff,0xffff,0xff8e,0x7000,0xffff,0xffff,0xfa00,0x0000,
0xffff,0xffcd,0x680d,0x6fdf,0xfffe,0xf2c0,0x031d,0xefff,
0xffcd,0x680d,0x6fdf,0xffff,0xf300,0x02fe,0xf7ff,0xffff,
0x900d,0x6fdf,0xffff,0xffff,0x71bd,0xefff,0xffff,0xffff,
0x031d,0xefff,0xffff,0xffff,0x0009,0x4fdf,0xffff,0xffff,
0xfac0,0x02fe,0xf7ff,0xffff,0xffae,0x700d,0x6fdf,0xffff,
0xfffe,0xf2e0,0x02fe,0xf7ff,0xffff,0xffcd,0x680e,0x779f,
0xffff,0xfffe,0xf2e0,0x045a,0xffff,0xffff,0xffab,0x5800,
0xffff,0xffff,0xfffa,0xd4bb,0xffff,0xffff,0xffe0,0x039d,
0xffff,0xfffe,0xf360,0x043c,0xffff,0xffcb,0x58e0,0x041c,
0xffff,0xf9c0,0x0100,0x037b,0xff8a,0x5003,0x18a0,0x033b,
0xd360,0x0043,0x1880,0x033b,0x01e0,0x0002,0x10c0,0x033c,
0xdfff,0xffff,0xffff,0xff35,0xefff,0xffff,0xffff,0xff90,
0xe7ff,0xffff,0xffff,0xff73,0xe7ff,0xffff,0xffff,0xff71,
0xdfff,0xff4e,0x7005,0x2802,0xdfff,0xff2e,0x7002,0x1060,
0xdfff,0xff2e,0x7003,0x1860,0xe7ff,0xff4e,0x7004,0x2040,
0xaf1f,0xffff,0xffff,0xffff,0x801f,0xffff,0xffff,0xffff,
0x9810,0x87bf,0xffff,0xffff,0x8802,0x125e,0xf7ff,0xffff,
0x1002,0x1008,0x47df,0xffff,0x0020,0x0080,0x01ff,0xffff,
0x0020,0x0022,0x1008,0x47df,0x0040,0x0000,0x00e0,0x02be,
0xffff,0xff8d,0x6804,0x2000,0xffff,0xffab,0x5803,0x1801,
0xffff,0xffab,0x5803,0x1801,0xffff,0xffac,0x6004,0x2000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf7ff,0xffff,0xffff,0xffff,
0x00e0,0x033c,0xe7ff,0xff4e,0x08a0,0x033b,0xdfff,0xff4e,
0x08a0,0x02bd,0xefff,0xffff,0x00e0,0x02be,0xf7ff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x7004,0x2000,0x00e0,0x02dd,0x7004,0x2000,0x00e0,0x02be,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffac,0xffff,0xffff,0xffff,0xffac,
0xefff,0xffff,0xffff,0xffff,0xf7ff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xff90,0xffff,0xffff,0xffff,0xff70,
0x6004,0x2040,0x0002,0x1003,0x6004,0x2040,0x0040,0x0001,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfffd,
0x8000,0x039d,0xefff,0xfffd,0x8000,0x03dd,0xefff,0xffff,
0x18c0,0x02fd,0xefff,0xffff,0x08e0,0x02be,0xf7ff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffd,0xec20,0x043d,0xefff,
0xfffb,0xdcc0,0x04db,0xdfff,0xec60,0x05d1,0x8da0,0x04d9,
0xec20,0x04f6,0xb4e0,0x0499,0xffff,0xff72,0x977f,0xffff,
0xfffe,0xf320,0x033e,0xf7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xcffa,0xd340,0x00c2,0x1001,
0xcff9,0xcb80,0x0063,0x1801,0xfffd,0xeac6,0x37bf,0xffff,
0xfffe,0xf20a,0x57bf,0xffff,0xfffe,0xf1e9,0x4fbf,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0800,0x0000,0x0000,0x0020,
0x0800,0x0000,0x0000,0x0020,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xfffe,0xf209,0x4fbf,0xffff,0xfffe,0xf229,0x4fbf,0xffff,
0xfffe,0xf209,0x4fbf,0xffff,0x0080,0x0003,0x1880,0x0418,
0x0080,0x0003,0x18a0,0x0476,0xfffe,0xf20b,0x5f7f,0xfffb,
0xfffe,0xf22a,0x579f,0xffff,0xfffe,0xf1e8,0x47bf,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffad,0x6800,0x02fe,0xf7ff,0xc3e0,0x00c3,0x180c,0x679f,
0xb420,0x00e4,0x2013,0x9e74,0xdb00,0x00c3,0x1813,0x9e92,
0xffad,0x6800,0x025f,0xff4e,0xffff,0xffff,0xffff,0xffac,
0xffff,0xffff,0xffff,0xffa9,0xffff,0xffff,0xffff,0xffa9,
0xffff,0xffff,0xffff,0xffa9,0xffff,0xffff,0xffff,0xffa6,
0xa004,0x2080,0x0003,0xffa9,0x9002,0x1080,0x0001,0xffa9,
0x7003,0x1860,0x0001,0xffa9,0x6004,0x2040,0x0001,0xffa9,
0x4a1e,0xf7ff,0xffff,0xffff,0x4a3e,0xf7ff,0xffff,0xffff,
0x4a3e,0xf7ff,0xffff,0xffff,0x32bd,0xefff,0xffff,0xffac,
0x02de,0xf7ff,0xffff,0xffac,0x029e,0xf7ff,0xffff,0xffff,
0x029e,0xf7ff,0xffff,0xffff,0x02be,0xf7ff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x6004,0x2040,0x0040,0x0020,
0x6002,0x1081,0x0802,0x1000,0xfffe,0xf209,0x4fbf,0xffff,
0xfffe,0xf229,0x4fbf,0xffff,0xfffe,0xf1e9,0x4fbf,0xffff,
0xfffe,0xf22c,0x671f,0xfed2,0xfffe,0xf26c,0x671f,0xfed2,
0xfffe,0xf24c,0x671f,0xfed2,0x0080,0x0061,0x0803,0x1803,
0x0000,0x0000,0x0002,0x1003,0xffff,0xffff,0xffff,0xfed2,
0xffff,0xffff,0xffff,0xfed2,0xffff,0xffff,0xffff,0xfed2,
0x9000,0x03bd,0xefff,0xffff,0x9800,0x03dd,0xefff,0xffff,
0x9000,0x03dd,0xefff,0xffff,0x18c0,0x02fd,0xefff,0xffff,
0x18c0,0x02fd,0xefff,0xffff,0x8000,0x03dd,0xefff,0xffff,
0x8800,0x03dd,0xefff,0xffff,0x8000,0x039d,0xefff,0xffff,
0xfffe,0xf22b,0x5f7f,0xfffb,0xfffe,0xf22c,0x675f,0xfffb,
0xfffd,0xeaa9,0x4f7f,0xfff9,0xfffe,0xf2a0,0x00c0,0x0000,
0xfffe,0xf280,0x0120,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xdba0,0x0010,0x879f,0xffff,0xdb66,0x375f,0xffbf,0xffff,
0xcc00,0x0011,0x8f9f,0xffff,0xaca0,0x077f,0xff9f,0xfffd,
0xad20,0x018c,0x6011,0x8f7f,0xfffd,0xeaa9,0x4f5f,0xff9f,
0xfffd,0xeb60,0x0011,0x8f5f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xf987,0x3fdf,0xffff,
0xffcb,0x5800,0x029e,0xf7ff,0xeb20,0x0187,0x380e,0x779f,
0xfffc,0xe2ac,0x675f,0xfffd,0xfffc,0xe2aa,0x579f,0xffff,
0xfffc,0xe269,0x4fbf,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffe,0xf1e9,0x4fbf,0xffff,
0xfffd,0xea4a,0x579f,0xffff,0xfffc,0xe2ac,0x675f,0xfffe,
0xeb20,0x0186,0x300f,0x7f5f,0xffcb,0x5800,0x029e,0xf7ff,
0xffff,0xf987,0x3fdf,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffe,0xf224,0x27df,0xffff,
0xffe0,0x029e,0xf7ff,0xffff,0xf2c0,0x0260,0x000d,0x6fde,
0xff83,0x1abe,0xf7ff,0xffff,0xfffe,0xf223,0x1fdf,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xf8ca,0x57df,0xffff,
0xffff,0xffab,0x581f,0xffff,0xf2e0,0x000b,0x580b,0x5fdf,
0xffff,0xffab,0x581f,0xffff,0xffff,0xf8ea,0x57bf,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffdf,0xffff,0xfffe,0xf20b,0x5f7f,0xfffc,
0xfffe,0xf22c,0x675f,0xfffc,0xfffe,0xf22c,0x675f,0xfffc,
0xfffe,0xf1e9,0x4fbf,0xffff,0xffff,0xffff,0xffdf,0xffff,
0xfffe,0xf1c8,0x47df,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xe2a5,0x2fdf,0xf96b,0x5f9f,
0xe2e6,0x37df,0xf812,0x96b4,0xe2a5,0x2fdf,0xf96a,0x57bf,
0xffff,0xffff,0xffff,0xfffe,0xffff,0xffff,0xffff,0xffcc,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf808,0x47ff,0xf988,0x479f,
0xa00a,0x5000,0x0260,0x03db,0xf8c8,0x47df,0xf9ca,0x577f,
0xf1e7,0x3fdf,0xf9a9,0x4f9f,0x600a,0x5000,0x0240,0x0418,
0xf986,0x37ff,0xf968,0x47df,0xffff,0xffff,0xffff,0xffff,
0xfffe,0xf18b,0x5f9f,0xffff,0xff70,0x800f,0x780f,0x7fde,
0xda4d,0x6f5f,0xfffe,0xf7fc,0xff31,0x8800,0x03bc,0xe7fe,
0xffdf,0xfffb,0xdb60,0x079f,0xc4a0,0x0340,0x039b,0xdffb,
0xfffc,0xe268,0x47bf,0xfff8,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffdf,0xffbf,0xf1ab,0x5fbf,0xf989,0x4f7f,
0xe22f,0x7ef1,0x881e,0xf7ff,0xf7fe,0xf08b,0x5fbf,0xffff,
0xff69,0x4a5d,0xefff,0xfffd,0xdb20,0x07fd,0xea66,0x37df,
0xc518,0xc7fb,0xda8c,0x673f,0xffff,0xffff,0xffff,0xffff,
0xfffb,0xdca0,0x045d,0xefff,0xff80,0x04b5,0xac80,0x07df,
0xfffd,0xebe0,0x03fd,0xefff,0xff72,0x9013,0x9f7f,0xffff,
0xe813,0x9e56,0xb000,0x02fd,0xf80e,0x775f,0xf80c,0x67df,
0xff14,0xa016,0xb6b1,0x881f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffd,0xea69,0x4fbf,0xffff,
0xfffd,0xea4a,0x57bf,0xffff,0xfffd,0xea29,0x4fbf,0xffff,
0xefff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffdf,0xffdf,0xfffe,0xffff,0xffaf,0x780f,0x7fde,
0xfffd,0xeb80,0x033d,0xefff,0xfffd,0xeac0,0x07df,0xffff,
0xfffd,0xeac0,0x07df,0xffff,0xfffd,0xeb80,0x033d,0xefff,
0xffff,0xffaf,0x780f,0x7fde,0xffff,0xffff,0xffff,0xffff,
0xf7ff,0xffff,0xffff,0xffff,0xf320,0x037e,0xf7ff,0xfffe,
0xffae,0x7011,0x8f5f,0xffbf,0xfffe,0xf0cf,0x7eff,0xfef3,
0xfffe,0xf0ae,0x773f,0xffbf,0xff8e,0x7011,0x8f7f,0xfffe,
0xf340,0x037e,0xf7ff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf10a,0x57df,0xfa27,0x3fbf,
0xff50,0x8000,0x039c,0xe7fd,0x980d,0x6800,0x0300,0x04f5,
0xff50,0x8000,0x039c,0xe7fd,0xf1aa,0x57df,0xfa27,0x3fbf,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffd,0xea69,0x4fbf,0xffff,
0xeffc,0xe28a,0x579f,0xffff,0xace0,0x024b,0x5812,0x979f,
0xeffc,0xe28a,0x579f,0xffff,0xfffd,0xea69,0x4fbf,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfffd,
0xffff,0xffff,0xffff,0xffff,0xfffe,0xf1e9,0x4fbf,0xffff,
0xfffe,0xf265,0x2fdf,0xffff,0xffc3,0x1a3e,0xf7ff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xeb60,0x01e8,0x400f,0x7fbf,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffe,0xf20b,0x5f7f,0xfffc,
0xfffe,0xf1eb,0x5f7f,0xfff9,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xfffe,0xf247,0x3f7f,
0xffff,0xffc7,0x3a3c,0xe7fc,0xffff,0xf989,0x4fbf,0xfffb,
0xffc7,0x399f,0xffff,0xfffc,0xe300,0x07df,0xffff,0xfffe,
0xccdb,0xdfff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff31,0x8800,0x039d,0xefff,
0xe1ad,0x6f7f,0xf80c,0x675f,0xdacd,0x6f13,0x9814,0xa71f,
0xe400,0x045a,0xd2ec,0x675f,0xf220,0x07fd,0xeae7,0x3f9f,
0xff90,0x8000,0x03bb,0xdffb,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffdf,0xffff,0xffff,0xf80c,0x679f,0xffff,
0xff50,0x8013,0x9f1f,0xfffe,0xfffd,0xe96d,0x6f9f,0xffff,
0xfffc,0xe2c9,0x4fbf,0xffff,0xfffc,0xe28a,0x579f,0xffff,
0xdbe0,0x020a,0x5010,0x87bf,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff8f,0x7800,0x03db,0xdffb,
0xf12c,0x67bf,0xfa80,0x07df,0xffff,0xff8b,0x595f,0xffff,
0xfffe,0xf1a8,0x47bf,0xffff,0xffe0,0x02bd,0xefff,0xfffe,
0xfac0,0x0220,0x0010,0x873f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffdf,0xffff,0xdb80,0x000a,0x500e,0x77bf,
0xffff,0xffac,0x601f,0xffff,0xffff,0xf80c,0x67bf,0xffff,
0xffff,0xff8b,0x59fc,0xe7fc,0xf08c,0x67bf,0xfaa0,0x07fd,
0xff31,0x8800,0x037d,0xefff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffc0,0x031a,0xd7f9,
0xfffd,0xeb80,0x0498,0xc7f9,0xff90,0x8000,0x0438,0xc7f9,
0xe0f1,0x8ed0,0x815d,0xeffd,0xeb00,0x000d,0x680a,0x57ff,
0xffff,0xffa9,0x49be,0xf7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffdf,0xcbc0,0x000b,0x5810,0x873f,
0xcb65,0x2f9f,0xfffe,0xf7fd,0xcbc0,0x0260,0x03da,0xd7f9,
0xeffe,0xf7fc,0xe300,0x07fe,0xf80a,0x57fe,0xf2a0,0x07ff,
0xff71,0x8800,0x03bc,0xe7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff31,0x8800,0x039a,0xd7fa,
0xea0c,0x677f,0xfffe,0xf7ff,0xcbe0,0x01e0,0x035d,0xefff,
0xf263,0x1ffe,0xf269,0x4f7f,0xf80c,0x67de,0xf26a,0x573f,
0xff71,0x8800,0x03bc,0xe7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffdf,0xffff,0xd3c0,0x0260,0x0011,0x8f1f,
0xffff,0xfffe,0xf226,0x37df,0xffff,0xffc7,0x3a1d,0xefff,
0xfffe,0xf1e8,0x47bf,0xfffd,0xff29,0x4a9e,0xf7ff,0xfffe,
0xff6b,0x5a1e,0xf7ff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff11,0x8800,0x03bc,0xe7ff,
0xf80e,0x77be,0xf320,0x07ff,0xff71,0x8800,0x03bc,0xe7ff,
0xea0a,0x57de,0xf247,0x3fbf,0xf16a,0x57de,0xf246,0x37bf,
0xff90,0x8000,0x03bc,0xe7ff,0xffff,0xffff,0xffff,0xffff,
0xffdf,0xffff,0xffff,0xffff,0xff70,0x8000,0x037d,0xefff,
0xf80e,0x77bf,0xf9aa,0x579f,0xff50,0x8008,0x4011,0x8f3f,
0xffff,0xfffe,0xf20a,0x579f,0xffdf,0xffaa,0x515f,0xffff,
0xff34,0xa013,0x9f9f,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xfffc,0xe269,0x4fbf,0xffff,0xfffc,0xe269,0x4fbf,0xffff,
0xfffe,0xf7ff,0xffdf,0xffff,0xfffe,0xf209,0x4fbf,0xffff,
0xfffe,0xf1e9,0x4fbf,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xfffe,0xf1e9,0x4fbf,0xffff,0xfffe,0xf1e8,0x47bf,0xffff,
0xffff,0xffff,0xffdf,0xffff,0xfffe,0xf1e9,0x4fbf,0xffff,
0xfffe,0xf265,0x2fdf,0xffff,0xffc4,0x223e,0xf7ff,0xffff,
0xffff,0xfffe,0xf223,0x1fdf,0xffff,0xffc7,0x39fe,0xf7ff,
0xfffe,0xf189,0x4fbf,0xfffc,0xffe0,0x02be,0xf7ff,0xffff,
0xffff,0xf987,0x3fdf,0xffff,0xffff,0xffc7,0x3a1d,0xeffb,
0xffff,0xfffe,0xf242,0x17df,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xe3a0,0x01e8,0x4011,0x8f5f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xdba0,0x01c8,0x4011,0x8f3f,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xf8ca,0x57bf,0xffff,0xffff,0xffa8,0x41be,0xf7ff,0xffff,
0xfffe,0xf1e8,0x47bf,0xfffd,0xffff,0xffac,0x601f,0xffff,
0xfffe,0xf1a7,0x3fdf,0xffff,0xff69,0x49be,0xf7ff,0xffff,
0xf88a,0x57bf,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff90,0x8000,0x037d,0xefff,
0xe94c,0x67bf,0xfa80,0x07ff,0xffff,0xff8b,0x595f,0xffff,
0xffff,0xf8ca,0x57df,0xffff,0xffff,0xffff,0xffdf,0xffff,
0xfffe,0xf1c8,0x47df,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff8f,0x7800,0x039d,0xefff,
0xea2c,0x679f,0xf86b,0x5f5f,0xe252,0x9658,0xc013,0x9f7f,
0xe252,0x9619,0xc812,0x97de,0xea0e,0x771f,0xff7f,0xfffb,
0xff90,0x800e,0x700e,0x77de,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xf989,0x4fbf,0xfffb,
0xff2f,0x7800,0x037b,0xdffa,0xf80b,0x5fde,0xf280,0x07fd,
0xf2a0,0x07ff,0xf80b,0x5fde,0xdbc0,0x0146,0x300f,0x7fbf,
0xf260,0x07ff,0xf80a,0x57de,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xdba0,0x0280,0x03bc,0xe7ff,
0xd360,0x07fe,0xf300,0x07fe,0xeb40,0x0240,0x03db,0xdffb,
0xf244,0x27fe,0xf260,0x07fe,0xfa43,0x1ffe,0xf280,0x07ff,
0xf340,0x0280,0x03bc,0xe7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff71,0x8800,0x03da,0xd7fa,
0xf00c,0x67bf,0xfa40,0x07fd,0xda8a,0x579f,0xffff,0xfffd,
0xf1cb,0x5f9f,0xffff,0xfffd,0xf80c,0x67bf,0xfa40,0x07fd,
0xff71,0x8800,0x03da,0xd7fa,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xd380,0x0012,0x977f,0xfffb,
0xe9b1,0x8eb2,0x901c,0xe7fa,0xea4a,0x579f,0xf9c0,0x07fd,
0xea4a,0x579f,0xf9c0,0x07fe,0xe9b1,0x8eb2,0x901c,0xe7fa,
0xd380,0x0012,0x977f,0xfffb,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xdbc0,0x000b,0x580e,0x77dd,
0xd363,0x1f9f,0xfffe,0xf7fb,0xeb40,0x00e0,0x039a,0xd7f9,
0xf248,0x47bf,0xffff,0xfffd,0xd307,0x3fbf,0xffff,0xfffd,
0xdbc0,0x000b,0x580e,0x77de,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xeb60,0x002b,0x5811,0x8f3f,
0xdb43,0x1f9f,0xfffe,0xf7fd,0xcbe0,0x00c0,0x039a,0xd7fa,
0xeaa7,0x3fbf,0xffff,0xfffd,0xea2a,0x57bf,0xffff,0xfffe,
0xf18a,0x57bf,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff32,0x900e,0x700e,0x77de,
0xe96d,0x6f9f,0xffff,0xfffd,0xd2cc,0x677f,0xffff,0xfffd,
0xe992,0x9677,0xb811,0x8fde,0xf10d,0x6f7f,0xf80d,0x6fdf,
0xff90,0x800c,0x600e,0x77bf,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf1e7,0x3fdf,0xf9a9,0x4fde,
0xeac0,0x07ff,0xf80e,0x775f,0xeb80,0x0186,0x3012,0x973f,
0xf2a0,0x07ff,0xf80f,0x7f5f,0xf9e8,0x47df,0xf98d,0x6f7f,
0xf9a7,0x3fdf,0xf989,0x4fde,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf360,0x022a,0x5010,0x879f,
0xfffc,0xe2aa,0x579f,0xffff,0xfffc,0xe2aa,0x57bf,0xffff,
0xfffc,0xe2aa,0x579f,0xffff,0xfffc,0xe2ac,0x675f,0xfffe,
0xf360,0x0229,0x4812,0x973f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffb0,0x8011,0x8fbf,
0xffff,0xfffe,0xf12a,0x57df,0xffff,0xfffe,0xf266,0x37fd,
0xffff,0xfffd,0xea67,0x3ffd,0xf169,0x4ffe,0xf2a0,0x07fe,
0xff31,0x8800,0x03da,0xd7fb,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf96b,0x5f9f,0xf9a0,0x07fe,
0xf8f0,0x86d2,0x901c,0xe7fa,0xeb60,0x0013,0x9f3f,0xfffb,
0xeb60,0x0013,0x9f3f,0xfffb,0xf151,0x8eb2,0x901c,0xe7fa,
0xda8a,0x579f,0xf9a0,0x07fd,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf18a,0x57bf,0xffff,0xfffe,
0xd2aa,0x57bf,0xffff,0xfffc,0xdaaa,0x57bf,0xffff,0xfffd,
0xdaaa,0x57bf,0xffff,0xfffe,0xd307,0x3fbf,0xffff,0xfffd,
0xeb60,0x000b,0x580e,0x77de,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf2a4,0x279f,0xff80,0x0457,
0xe440,0x04b8,0xc4a0,0x05b1,0xebc0,0x0108,0x4100,0x0553,
0xf1d2,0x95be,0xf5b0,0x8455,0xea2f,0x7e9f,0xfe8b,0x5c74,
0xf1cc,0x671f,0xff27,0x3c17,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xbc60,0x07fd,0xea2b,0x5f3f,
0x8da0,0x04f8,0xc386,0x37bf,0x9c80,0x0180,0x000c,0x67bf,
0xac60,0x0007,0x380d,0x6fbf,0xa44c,0x66b7,0xb813,0x9f7f,
0xbc00,0x079f,0xf80e,0x773f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff11,0x8800,0x03da,0xd7fa,
0xf80b,0x5fde,0xf280,0x07fe,0xf9e8,0x47df,0xf9c9,0x4fde,
0xf9e8,0x47df,0xf9c9,0x4fde,0xf80b,0x5fde,0xf280,0x07fe,
0xff11,0x8800,0x03da,0xd7fb,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xd3c0,0x0280,0x03bc,0xe7ff,
0xf264,0x27fe,0xf280,0x07ff,0xf244,0x27fe,0xf260,0x07fe,
0xf340,0x01c0,0x03ba,0xd7fa,0xf248,0x47bf,0xffff,0xfffe,
0xda69,0x4fbf,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff71,0x8800,0x03da,0xd7fa,
0xf80c,0x67de,0xf280,0x07fe,0xf208,0x47df,0xf9c9,0x4fdf,
0xd2cb,0x5f9f,0xf9c0,0x07fd,0xf011,0x8f0d,0x6a9c,0xe7fb,
0xffa9,0x4ada,0xd3c0,0x07fe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xd3c0,0x0280,0x03bc,0xe7ff,
0xf264,0x27fe,0xf280,0x07df,0xfa43,0x1ffe,0xf268,0x475f,
0xeb20,0x0000,0x037d,0xefff,0xda30,0x86ef,0x79fe,0xf7ff,
0xf18b,0x5f9f,0xf969,0x4f7f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xff71,0x8800,0x039b,0xdffa,
0xf810,0x875f,0xfffe,0xf7ff,0xff11,0x8800,0x037d,0xefff,
0xffff,0xfffd,0xeac7,0x3f9f,0xffff,0xfffd,0xeac7,0x3f9f,
0xff10,0x8000,0x039d,0xefff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xd400,0x022a,0x500f,0x7fde,
0xfffd,0xea2c,0x675f,0xfffc,0xfffd,0xea4c,0x675f,0xfffc,
0xfffc,0xe2cc,0x675f,0xfffc,0xfffc,0xe2ac,0x675f,0xfffb,
0xfffe,0xf22b,0x5f7f,0xfffb,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf1e7,0x3fdf,0xf9a7,0x3fdf,
0xe2c7,0x3fdf,0xf9c8,0x47df,0xe2e7,0x3fdf,0xf9c8,0x47df,
0xe2e7,0x3fdf,0xf9e9,0x4fbf,0xdb40,0x07ff,0xf80e,0x771f,
0xdbc0,0x01a7,0x3811,0x8f3f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf9a7,0x3fdf,0xf9a7,0x3fff,
0xf9c8,0x47df,0xf9e8,0x47de,0xf9e8,0x47df,0xf9c8,0x47de,
0xf80b,0x5fde,0xf280,0x07fd,0xff2f,0x7800,0x037b,0xdff9,
0xfffe,0xf1e8,0x47bf,0xfffc,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf98d,0x6f1f,0xff27,0x3c17,
0xf190,0x869f,0xfe8c,0x6437,0xf0d3,0x9dbe,0xf5b2,0x91fd,
0xeba0,0x0107,0x3900,0x03fc,0xcc80,0x0498,0xc4a0,0x0575,
0xe305,0x2f9f,0xff80,0x0457,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xbc20,0x07ff,0xf987,0x3fdf,
0xbc00,0x07df,0xfa80,0x07ff,0xefcf,0x7800,0x03fb,0xdfff,
0xe7d0,0x8000,0x03fc,0xe7ff,0xac03,0x1fdf,0xfa49,0x4f9f,
0xbc20,0x07ff,0xf90c,0x677f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf9a7,0x3fdf,0xf989,0x4fdf,
0xf80c,0x67de,0xf267,0x3fbf,0xff6f,0x7800,0x033d,0xefff,
0xfffd,0xea29,0x4f9f,0xffff,0xfffc,0xe2ac,0x675f,0xfffd,
0xfffc,0xe26b,0x5f7f,0xfffb,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfae0,0x006a,0x500f,0x7f9f,
0xffff,0xffac,0x601f,0xffff,0xfffe,0xf1e7,0x3fdf,0xffff,
0xffa8,0x41be,0xf7ff,0xffff,0xea68,0x47bf,0xffff,0xffff,
0xdbc0,0x000b,0x5811,0x8f7f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffb,0xdba0,0x000e,0x77fb,
0xfffd,0xeaca,0x575f,0xfffd,0xfffe,0xf22a,0x579f,0xffff,
0xfffe,0xf229,0x4fbf,0xffff,0xfffd,0xeaa7,0x3fbf,0xffff,
0xfffb,0xdba0,0x0010,0x879f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xdc9c,0xe7ff,0xffff,0xfffd,
0xeae0,0x07df,0xffff,0xffff,0xffc7,0x399f,0xffff,0xffff,
0xfffe,0xf1a7,0x3fdf,0xffff,0xffff,0xffc7,0x399e,0xf7ff,
0xffff,0xfffe,0xf260,0x07fd,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xeb80,0x000f,0x7f9f,0xffff,
0xfffe,0xf18c,0x67bf,0xffff,0xfffe,0xf22a,0x579f,0xffff,
0xfffe,0xf22c,0x675f,0xfffe,0xfffe,0xf1ac,0x679f,0xffff,
0xeb60,0x000f,0x7f9f,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xff73,0x9f7f,0xffff,
0xfffd,0xeba0,0x03bd,0xefff,0xffe0,0x03d9,0xcbc0,0x07df,
0xf1ab,0x5f7f,0xff6b,0x58ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffaf,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x780a,0x5000,0x0200,0x037e,0xfffe,0xf7fe,0xf7ff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf7fe,0xf1c7,0x3fdf,0xffff,
0xffcb,0x5800,0x02de,0xf7ff,0xeae0,0x00a3,0x180d,0x6f5f,
0xeae0,0x00a3,0x180d,0x6f5f,0xffcb,0x5800,0x02fc,0xe7fd,
0xf7fe,0xf1c7,0x3fdf,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfffd,
0xff4f,0x7800,0x03fa,0xd7fa,0xff7f,0xfffd,0xeaa0,0x07fd,
0xff30,0x8008,0x400f,0x7fbf,0xe80d,0x6fbf,0xf80c,0x67de,
0xff90,0x800c,0x600f,0x7fbe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xea09,0x4fbf,0xffff,0xffff,
0xd307,0x3fbf,0xffff,0xffff,0xeb40,0x01c0,0x03bb,0xdffc,
0xfa43,0x1ffe,0xf280,0x07fe,0xf243,0x1ffe,0xf280,0x07ff,
0xf340,0x02a0,0x03bc,0xe7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xff90,0x8000,0x033d,0xefff,0xe18d,0x6f9f,0xffff,0xffff,
0xf1ab,0x5fbf,0xffff,0xfffe,0xf80d,0x6f9f,0xffff,0xfffe,
0xff71,0x8800,0x039c,0xe7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xfffe,0xf209,0x4fbf,
0xffff,0xfffe,0xf1ae,0x771f,0xff70,0x8008,0x400f,0x7f9f,
0xf16a,0x57df,0xf8ca,0x57dd,0xf1aa,0x57df,0xf8eb,0x5fbf,
0xff71,0x880b,0x5811,0x8f1f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xff11,0x8800,0x039d,0xefff,0xf8a8,0x47ff,0xf9cb,0x5f3f,
0xeb60,0x0009,0x4811,0x8f3f,0xf80c,0x677f,0xffff,0xffff,
0xff12,0x9000,0x033e,0xf7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xff92,0x9013,0x9f7f,
0xffff,0xf80e,0x773f,0xff7f,0xff4d,0x680d,0x6810,0x87bf,
0xfffd,0xea0c,0x675f,0xfffd,0xfffd,0xea4a,0x579f,0xffff,
0xfffe,0xf1e9,0x4fbf,0xffff,0xffff,0xffff,0xffff,0xfffd,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfffe,
0xff51,0x880c,0x600e,0x77de,0xf8cb,0x5fdf,0xf8aa,0x57de,
0xe9ca,0x57df,0xf8aa,0x57de,0xffaf,0x7809,0x480f,0x7fbf,
0xffff,0xfffc,0xe2a0,0x07ff,0xeb60,0x0320,0x03bd,0xefff,
0xffff,0xffff,0xffff,0xffff,0xf1e9,0x4fbf,0xffff,0xffff,
0xf248,0x47bf,0xffff,0xffff,0xf340,0x01e0,0x039d,0xefff,
0xf242,0x17fe,0xf249,0x4f7f,0xf9e8,0x47df,0xf98d,0x6f3f,
0xf9c7,0x3fff,0xf96d,0x6f3f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffe,0xf1c7,0x3fdf,0xffff,
0xffff,0xffdf,0xffdf,0xffff,0xff71,0x8812,0x979f,0xffff,
0xfffe,0xf14c,0x67bf,0xffff,0xfffd,0xea48,0x47df,0xffff,
0xff2f,0x7800,0x031e,0xf7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xfffe,0xf200,0x07fe,
0xffff,0xffff,0xffff,0xfffc,0xffff,0xfffe,0xf243,0x1ffe,
0xffff,0xfffe,0xf266,0x37fe,0xffff,0xfffe,0xf266,0x37df,
0xffff,0xfffd,0xeb00,0x07ff,0xff8f,0x7800,0x039d,0xefff,
0xffff,0xffff,0xffff,0xffff,0xf18a,0x57bf,0xffff,0xffff,
0xe22c,0x677f,0xffff,0xffff,0xf151,0x8eb3,0x981f,0xffff,
0xf2e8,0x4013,0x9f7f,0xffff,0xf8f0,0x86d2,0x901f,0xffff,
0xf96b,0x5fbf,0xf969,0x4f7f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffb0,0x8012,0x977f,0xffff,
0xfffe,0xf00e,0x775f,0xfffc,0xfffe,0xf22c,0x675f,0xfffb,
0xfffe,0xf22c,0x675f,0xfffb,0xfffe,0xf1ca,0x579f,0xfffb,
0xff2f,0x7800,0x037b,0xdffb,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xe300,0x07ff,0xf9c0,0x07fc,0xdb40,0x00a2,0x10c0,0x0417,
0xdb40,0x0006,0x3000,0x0475,0xda73,0x9d9e,0xf5b0,0x8435,
0xdaae,0x76bf,0xfecb,0x5bf7,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xe380,0x0280,0x03bc,0xe7ff,0xbc60,0x07fe,0xf260,0x07ff,
0xac80,0x07df,0xf9a8,0x47df,0xac80,0x07df,0xf9c9,0x4fbf,
0xbc20,0x07ff,0xf94c,0x675f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xff71,0x8800,0x03da,0xd7fa,0xf80c,0x67de,0xf280,0x07fe,
0xf9e8,0x47df,0xf9c9,0x4fdf,0xf80b,0x5fde,0xf280,0x07fd,
0xff11,0x8800,0x03da,0xd7fa,0xffff,0xffff,0xffff,0xfffd,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xd3c0,0x0280,0x03bc,0xe7ff,0xf264,0x27fe,0xf280,0x07ff,
0xfa44,0x27fe,0xf280,0x07ff,0xeb40,0x01e0,0x039c,0xe7ff,
0xd307,0x3fbf,0xffff,0xffff,0xea09,0x4fbf,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xff71,0x880c,0x600f,0x7fbe,0xf80b,0x5fdf,0xf8ca,0x57de,
0xf80b,0x5fdf,0xf8ca,0x57df,0xff70,0x8008,0x400f,0x7fbf,
0xffff,0xfffe,0xf1ca,0x57bf,0xffff,0xfffe,0xf208,0x47bf,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xf340,0x02a0,0x03bc,0xe7ff,0xf245,0x2fdf,0xfa20,0x07ff,
0xf98b,0x5fbf,0xffff,0xffff,0xf96b,0x5fbf,0xffff,0xffff,
0xf88a,0x57bf,0xffff,0xfffe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xff71,0x880e,0x700e,0x77de,0xf810,0x875f,0xffff,0xffff,
0xff90,0x8000,0x037d,0xefff,0xffff,0xfffb,0xdb60,0x07df,
0xf360,0x0320,0x03bd,0xefff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffe,0xf209,0x4fbf,0xffff,
0xf3c0,0x026b,0x5811,0x8fbe,0xfffd,0xea2c,0x675f,0xfffc,
0xfffd,0xea4c,0x675f,0xfffb,0xfffd,0xe9ae,0x773f,0xfffd,
0xffff,0xff92,0x9014,0xa73f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xf1e7,0x3fdf,0xf9a7,0x3fdf,0xe2c7,0x3fdf,0xf9c8,0x47df,
0xdae6,0x37df,0xf9e9,0x4fbf,0xe9ea,0x57df,0xf80e,0x771f,
0xff31,0x880b,0x5811,0x8f3f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xf9a7,0x3fdf,0xf9a7,0x3fff,0xf9e8,0x47df,0xf9c8,0x47de,
0xf80b,0x5fde,0xf280,0x07fe,0xff2f,0x7800,0x035d,0xefff,
0xfffe,0xf1e6,0x37df,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xf92f,0x7edf,0xfecb,0x5bb9,0xf0f3,0x9dbe,0xf5b2,0x925c,
0xf260,0x0007,0x3800,0x031c,0xff6c,0x6000,0x000c,0x675f,
0xffa8,0x435a,0xd364,0x27bf,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xf8aa,0x57df,0xfa23,0x1fdf,0xffae,0x7000,0x031e,0xf7ff,
0xffff,0xf946,0x37ff,0xffff,0xffae,0x7000,0x031e,0xf7ff,
0xf8ca,0x57df,0xfa23,0x1fdf,0xffff,0xffff,0xffff,0xfffd,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xf1e7,0x3fdf,0xf9a8,0x47df,0xd2e7,0x3fdf,0xf9ac,0x677f,
0xe20a,0x57df,0xf80e,0x773f,0xff52,0x900c,0x600f,0x7f3f,
0xffbf,0xff4e,0x701d,0xeffc,0xeb20,0x0010,0x879f,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xfae0,0x006a,0x500f,0x7f5f,0xffff,0xffac,0x60fd,0xeffb,
0xfffe,0xf1e8,0x47bf,0xfffb,0xff83,0x1abd,0xefff,0xffff,
0xe340,0x0220,0x0011,0x8f1f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xf9a7,0x3fdf,0xffff,
0xff6d,0x6800,0x029e,0xf7ff,0xdae0,0x00a3,0x180d,0x6f7f,
0xdb40,0x0125,0x280f,0x7f5f,0xfffd,0xea09,0x4f9f,0xffff,
0xff2f,0x7800,0x02fe,0xf7ff,0xffff,0xffff,0xffff,0xffff,
0xfffe,0xf209,0x4fbf,0xffff,0xfffe,0xf22c,0x675f,0xfffb,
0xfffd,0xea4c,0x675f,0xfffa,0xfffc,0xe2cc,0x675f,0xfffb,
0xfffb,0xdacc,0x675f,0xfffc,0xfffd,0xea4c,0x675f,0xfffc,
0xfffe,0xf22a,0x579f,0xffff,0xfffe,0xf1e9,0x4fbf,0xffff,
0xffff,0xffff,0xffff,0xffff,0xdbe0,0x00ec,0x6012,0x975f,
0xd400,0x000e,0x777f,0xffdf,0xdbe0,0x0005,0x2a5c,0xe7fc,
0xe290,0x86b5,0xa811,0x8f3f,0xe2a8,0x47bf,0xf80f,0x7f3f,
0xffff,0xfffe,0xf209,0x4fbf,0xffff,0xffff,0xffff,0xffff,
0xffff,0xff54,0xa75f,0xffff,0xffff,0xf810,0x879f,0xffff,
0xff90,0x8013,0x9f7f,0xffff,0xe269,0x4813,0x9f7f,0xffff,
0xff51,0x8813,0x9f7f,0xffff,0xffff,0xf810,0x879f,0xffff,
0xffff,0xff54,0xa75f,0xffff,0xffff,0xffff,0xffff,0xffff,
0xfffc,0xe47b,0xdfff,0xffff,0xfffd,0xeb80,0x07ff,0xffff,
0xfffc,0xe420,0x037e,0xf7ff,0xfffc,0xe400,0x0209,0x4fdf,
0xfffc,0xe420,0x037e,0xf7ff,0xfffd,0xeb80,0x07ff,0xffff,
0xfffc,0xe47b,0xdfff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x77e0,0x710e,0x0fee,
0xa040,0xd7f4,0xdffa,0x8ffb,0xa820,0xf7f5,0xff5e,0x8fff,
0x0000,0xfe00,0xff7f,0x0ddf,0x0000,0x9020,0x97f2,0x0032,
0x0000,0x1800,0x1be3,0x0003,0x0000,0x0000,0x0000,0x0000,
0x0000,0xb040,0x0df6,0x0001,0x0001,0xb040,0x0db3,0x0001,
0x00f1,0xb040,0x0e51,0x0001,0x00f1,0xb040,0xe7ef,0xa7fc,
0x0001,0xb040,0xdff0,0xa7fb,0x0000,0xb040,0x0e93,0x0001,
0x0000,0xb040,0x0dd6,0x0001,0x0000,0xb040,0x0e16,0x0001,
0x0000,0x0000,0x0800,0xffff,0x0000,0x0000,0x0800,0xffff,
0x0000,0x0000,0x1000,0xffff,0x0000,0x0000,0x0800,0xffff,
0x0000,0x0000,0x0800,0xffff,0x0000,0x0000,0x1000,0xffff,
0x0000,0x0000,0x0800,0xffff,0x0000,0x0000,0x0800,0xffff,
0x0000,0x98e0,0x0df3,0x0001,0x0000,0x9100,0x0db2,0x0001,
0x0000,0xa8e0,0x1515,0x0002,0xdf9f,0xfffb,0x347f,0x3006,
0xe77f,0xff5c,0x2c9f,0x2805,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xb040,0x0e16,0x0001,0x0000,0xa840,0x0dd5,0x0001,
0x0000,0xc840,0x1539,0x0002,0xff3f,0xff5f,0x349f,0x3006,
0xff3f,0xff5f,0x349f,0x3006,0x0000,0xc840,0x1539,0x0002,
0x0000,0xa840,0x0dd5,0x0001,0x0000,0xa840,0x0dd5,0x0001,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xff3f,0xff3f,0x0d5f,0x0001,
0xff3f,0xff3f,0x151f,0x0002,0x0000,0xc040,0x24f8,0x0004,
0x0000,0xa840,0x2d35,0x3005,0x0000,0xb040,0x2576,0x2804,
0x0000,0x0000,0x0800,0xfd01,0x0000,0x0000,0xb020,0xfff6,
0x0000,0x0800,0xfd01,0x053f,0x0000,0x9020,0x8ff2,0x0051,
0x0800,0xfd21,0x0d1f,0x0001,0x8840,0x97f1,0x0032,0x0000,
0xfc06,0x0d1f,0x0001,0x0000,0xc4e5,0x0078,0x0000,0x0000,
0x97ff,0x0052,0x0000,0x0000,0xffff,0x05ff,0x0000,0x0000,
0x9020,0x97f2,0x0032,0x0000,0x1000,0xfce2,0x0d3f,0x0001,
0x0000,0x9020,0x97f2,0x0032,0x0000,0x0800,0xfd21,0x14ff,
0x0000,0x0000,0x9020,0x5ff2,0x0000,0x0000,0x0800,0xfd61,
0x0000,0x0000,0x0000,0x58a0,0x0000,0x0000,0x0000,0x7fe0,
0x0000,0x0000,0x7840,0x67ef,0x0000,0x0800,0xdd81,0x6ffb,
0x0000,0xb820,0xdff7,0x87fb,0x1002,0xfda2,0xef3f,0x8ffd,
0x810b,0xf7f0,0xef5e,0x8ffd,0xb7ff,0xfff6,0xe77f,0x8ffc,
0x00ab,0x0000,0x0000,0x1800,0x006f,0x0000,0x0000,0x1000,
0x008c,0x0000,0x0000,0x1800,0x008d,0x0000,0x0000,0x1000,
0x00d0,0x1800,0xfcc3,0xfeff,0x00d1,0x2000,0xfcc4,0xef5f,
0x00d1,0x2000,0xfcc4,0xef5f,0x00b1,0x1800,0xfcc3,0xf71f,
0x2383,0x0004,0x0000,0x0000,0xfc62,0x001f,0x0000,0x0000,
0xfbc3,0x0c9f,0x0001,0x0000,0xfc42,0xaf7f,0x0035,0x0000,
0xff7f,0xff7f,0x061f,0x0000,0xf7fd,0xefde,0xbffd,0x0037,
0xf7fd,0xf7fe,0xff9e,0x061f,0xf7fe,0xfffe,0xdfdf,0x9ffb,
0x0000,0x0800,0xfd41,0xff1f,0x0000,0x0800,0xfd61,0xff3f,
0x0000,0x0800,0xfd61,0xff3f,0x0000,0x0800,0xfd41,0xff1f,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0053,0x0000,0x0000,0x0000,
0xdfff,0x8ffb,0x00b1,0x1800,0xe7bf,0x8ffc,0x00d1,0x1800,
0xe7df,0x9ffc,0x0073,0x0000,0xdfff,0x9ffb,0x0053,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xfcc3,0xff1f,0xdfff,0x9ffb,0xfcc3,0xff1f,0xdfff,0x9ffb,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0800,0x0000,0x0000,0x0000,0x0800,
0x0053,0x0000,0x0000,0x0000,0x0053,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x1000,0x0000,0x0000,0x0000,0x1000,
0xfd41,0xf71f,0xfffe,0xff7f,0xfd41,0xf71f,0xf7fe,0xffde,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xfc62,0x7fff,0x006f,0x0000,0xfc62,0x77ff,0x008e,0x0000,
0xe73f,0x97fc,0x0052,0x0000,0xdfbf,0x9ffb,0x0053,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x6060,0x67ec,0x006c,
0x0000,0x48c0,0x4fe9,0x00c9,0x5880,0x2feb,0x2a45,0x4fe5,
0x6060,0x47ec,0x4988,0x5fe9,0x0000,0x1800,0x1c03,0x0003,
0x0000,0x8840,0x8ff1,0x0051,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x80e0,0xe7f0,0xff9c,
0x0000,0x7920,0xefef,0xff5d,0x0000,0x9860,0x0e73,0x0001,
0x0000,0xb040,0x0dd6,0x0001,0x0000,0xb040,0x0e16,0x0001,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffbf,0xffff,0xffff,0xffff,
0xffbf,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xb040,0x0e16,0x0001,0x0000,0xb040,0x0dd6,0x0001,
0x0000,0xb040,0x0df6,0x0001,0xefff,0xfffd,0xef5f,0x6ffd,
0xefff,0xfffd,0xef5f,0x5ffd,0x0000,0xb040,0x1d76,0x0003,
0x0000,0xa840,0x15b5,0x0002,0x0000,0xb040,0x0e16,0x0001,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0800,0xfd01,0x97ff,0x0052,0x694d,0xe7ed,0xff3c,0x155f,
0x618b,0xdfec,0xff1b,0x4bdf,0x88a0,0xe7f1,0xff3c,0x43df,
0x0800,0xfd01,0xafff,0x1815,0x0000,0x0000,0x0000,0x1000,
0x0000,0x0000,0x0000,0x0800,0x0000,0x0000,0x0000,0x0800,
0x0000,0x0000,0x0000,0x0800,0x0002,0x0000,0x0000,0x0800,
0xfb89,0xef1f,0xfffd,0xe75f,0xfbe8,0xef5f,0xfffd,0xe7bf,
0xfce3,0xef5f,0xfffd,0xe79f,0xfd22,0xf71f,0xfffe,0xdfdf,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0800,
0xffff,0x0000,0x0000,0x0800,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xf7fe,0xfffe,
0xffff,0xffff,0xffdd,0xff7f,0x0000,0xb040,0x0df6,0x0001,
0x0000,0xb040,0x0dd6,0x0001,0x0000,0xb040,0x0e16,0x0001,
0x0000,0xb040,0x2d76,0x3005,0x0000,0xa040,0x3534,0x4006,
0x0000,0xa840,0x2d75,0x3005,0xefff,0xeffd,0xff9d,0xff3f,
0xffdf,0xffff,0xffff,0xff7f,0x0000,0x0000,0x0000,0x1000,
0x0000,0x0000,0x0000,0x1000,0x0000,0x0000,0x0000,0x1000,
0xfbe6,0x7fff,0x008e,0x0000,0xfba8,0x77ff,0x008e,0x0000,
0xfc06,0x77ff,0x008e,0x0000,0xdf3f,0x97fb,0x008e,0x0000,
0xe73f,0x97fc,0x008e,0x0000,0xfc62,0x77ff,0x008e,0x0000,
0xfc22,0x77ff,0x008e,0x0000,0xfc62,0x7fff,0x008e,0x0000,
0x0000,0xb040,0x1d96,0x0003,0x0000,0xb040,0x2555,0x0004,
0x0000,0xb040,0x1613,0x0002,0x0000,0xb040,0xe7f3,0x67fc,
0x0000,0xb040,0xd7f3,0x67fa,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x70a0,0xffee,0x147f,0x0002,0x80c0,0x1e90,0x0803,0x0001,
0x6900,0xffed,0x143f,0x0002,0x51ac,0x17ea,0x1002,0x0002,
0x41ac,0xc7e8,0xfd58,0x1c3f,0x0000,0x9860,0x1df3,0x1003,
0x0000,0x8060,0xfff0,0x1c3f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xc020,0x0678,0x0000,
0x0800,0xfd61,0xa7ff,0x0034,0x8860,0xc7f1,0xfe78,0x14df,
0x0003,0x98a0,0x2553,0x0004,0x0002,0x98a0,0x15b3,0x0002,
0x0003,0xa080,0x0e14,0x0001,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xb040,0x0e16,0x0001,
0x0000,0xa860,0x15b5,0x0002,0x0002,0x98a0,0x1d53,0x0003,
0x8860,0xc7f1,0xfe78,0x1cbf,0x0800,0xfd61,0xa7ff,0x0034,
0x0000,0xc020,0x0678,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xa840,0x0715,0x0000,
0x0000,0x9fe0,0x0053,0x0000,0x9840,0xa7f3,0xfff4,0x0d1f,
0x1003,0x9f22,0x0053,0x0000,0x0000,0xa840,0x0735,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xd820,0x159b,0x0802,
0x0000,0x0800,0xfd61,0x001f,0x9021,0xfff2,0xfd9f,0x14ff,
0x0000,0x0800,0xfd61,0x001f,0x0000,0xd820,0x159b,0x0802,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0020,0x0000,0x0000,0x0000,0xb040,0x1d96,0x0003,
0x0000,0xa840,0x1d55,0x0003,0x0000,0xa840,0x1d55,0x0003,
0x0000,0xb040,0x0df6,0x0001,0x0000,0x0020,0x0000,0x0000,
0x0000,0xb820,0x0e37,0x0001,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x9880,0x06d3,0xc820,0x1599,
0x90a0,0x0692,0xf820,0x3c1f,0x9880,0x06d3,0xc820,0x0dd9,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0800,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xf802,0x065f,0xc000,0x1618,
0xfb87,0xfdbf,0xa7ff,0x77f4,0xe001,0x063c,0xb820,0x1dd7,
0xb040,0x0656,0xc020,0x15d8,0xfd41,0xfdbf,0xafff,0x6ff5,
0xc020,0x0698,0xc800,0x0e39,0x0000,0x0000,0x0000,0x0000,
0x0000,0xc020,0x1598,0x0002,0x1802,0xfc83,0xfcbf,0x0c9f,
0xa8ce,0x1cf5,0x0003,0x0020,0x2003,0xfc44,0x7fff,0x00af,
0x0002,0x0000,0x78a0,0x17ef,0x514d,0x87ea,0x7ff0,0x00af,
0x0001,0xa080,0x0e34,0x0001,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0800,0xc021,0x1598,0xc802,0x1df9,
0xa880,0x34b5,0xfc26,0x005f,0x0020,0xe820,0x0d9d,0x0001,
0x1802,0xade3,0x0075,0x0020,0x88c0,0x07f1,0xa060,0x06b4,
0x4120,0x0168,0xa0c0,0x2574,0x0000,0x0000,0x0000,0x0000,
0x0001,0x50c0,0x5fea,0x006b,0x1003,0x57e2,0x51aa,0x0fea,
0x0000,0x6860,0x6fed,0x006d,0x1000,0xfbe2,0x1bdf,0x0003,
0xf840,0x4bbf,0xfb29,0x97ff,0xf800,0x1cdf,0xf803,0x0d5f,
0x2804,0xfba5,0x3b1f,0xfc27,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0xa080,0x0e14,0x0001,
0x0000,0xa860,0x0dd5,0x0001,0x0000,0xb040,0x0e16,0x0001,
0x0072,0x0000,0x0000,0x0000,0x0001,0x0000,0x0000,0x0000,
0x003f,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0800,0x0001,0x0000,0x0800,0xfc81,0x0cdf,
0x0000,0x7860,0x8fef,0x0071,0x0000,0x9840,0x0ff3,0x0001,
0x0000,0x9840,0x0ff3,0x0001,0x0000,0x7860,0x8fef,0x0071,
0x0000,0x0800,0xfc81,0x0cbf,0x0000,0x0000,0x0000,0x0000,
0x0020,0x0000,0x0000,0x0000,0x8821,0x87f1,0x0050,0x0000,
0x1000,0xfcc2,0x1c5f,0x0803,0x0000,0xe020,0x2cbc,0x3005,
0x0000,0xe820,0x24dd,0x0804,0x1000,0xfcc2,0x1c3f,0x0003,
0x8021,0x87f0,0x0050,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xd020,0x05da,0xa820,0x0e55,
0x1801,0xfc63,0x7fff,0x00af,0xfbc6,0xfd1f,0x8fff,0x47f1,
0x1801,0xfc63,0x7fff,0x00af,0xc040,0x05d8,0xa820,0x0e55,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0xa080,0x0df4,0x0001,
0x0060,0xa0a0,0x15b4,0x0002,0x41a8,0xafe8,0xfd75,0x141f,
0x0060,0xa0a0,0x15b4,0x0002,0x0001,0xa080,0x0df4,0x0001,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xb040,0x0e16,0x0001,
0x0000,0xa040,0x0ed4,0x0001,0x0000,0xaf20,0x0055,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x8040,0xbff0,0xfe17,0x149f,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xb040,0x1d96,0x0003,
0x0000,0xb040,0x1d76,0x0003,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xa840,0x1675,
0x0000,0x0800,0xae41,0x0095,0x0000,0xc020,0x0df8,0x0001,
0x0800,0xc641,0x0038,0x0000,0x8880,0x07f1,0x0000,0x0000,
0x4920,0x00a9,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2002,0xfc24,0x7fff,0x006f,
0xc0a0,0x1518,0xf802,0x255f,0x98c0,0x2cf3,0xfbc5,0x2bbf,
0x6880,0x67ed,0x90ec,0x2532,0xb020,0x07f6,0x9080,0x1672,
0x1000,0xfc62,0x77ff,0x00ce,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0020,0x0000,0x0000,0x0000,0xf820,0x155f,0x0002,
0x2004,0xfc64,0x2bbf,0x0005,0x0005,0xc860,0x1519,0x0002,
0x0004,0x98a0,0x0dd3,0x0001,0x0002,0x98a0,0x15b3,0x0002,
0x68c0,0xb7ed,0xfdd6,0x0c7f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x1000,0xfc82,0x77ff,0x00ce,
0xd040,0x0d5a,0xa001,0x07f4,0x0000,0x1000,0xd582,0x003a,
0x0000,0xc020,0x0e38,0x0001,0x0000,0x9fe0,0x0053,0x0000,
0x9801,0xaff3,0xfff5,0x247f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0020,0x0000,0x0000,0x78c0,0xffef,0xfddf,0x0cff,
0x0000,0x0800,0xfd61,0x003f,0x0000,0xf820,0x0d5f,0x0001,
0x0000,0x1000,0xb582,0x0096,0xe840,0x0d5d,0x9801,0x07f3,
0x2004,0xfc24,0x7fff,0x006f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,0x8fe0,0x00f1,
0x0000,0x7840,0x57ef,0x016a,0x1000,0xfc62,0x67ff,0x014c,
0xd8a0,0x341b,0xcc46,0x0099,0x8880,0xfff1,0xfd1f,0x05bf,
0x0000,0x0800,0xc5e1,0x0058,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0800,0x7100,0xffee,0xfd9f,0x245f,
0x7920,0x16cf,0x0002,0x0020,0x7100,0xa7ee,0x77f4,0x00ee,
0x0060,0x0020,0x88a0,0x07f1,0xf800,0x05bf,0x9840,0x07f3,
0x1800,0xfc43,0x77ff,0x008e,0x0000,0x0000,0x0000,0x0000,
0x0001,0x0000,0x0000,0x0000,0x2004,0xfc04,0x7fff,0x00ef,
0xb080,0x1576,0x0002,0x0020,0x7100,0xbfee,0x87f7,0x0070,
0xa040,0x0754,0xa840,0x1615,0xf800,0x0d7f,0xa021,0x25d4,
0x1800,0xfc43,0x77ff,0x008e,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0020,0x0000,0x0000,0x70e0,0xa7ee,0xfff4,0x2c3f,
0x0000,0x0000,0xa840,0x0e95,0x0000,0x0800,0xb641,0x0076,
0x0002,0xb840,0x0e17,0x0001,0x2004,0xa5c4,0x0054,0x0000,
0x1800,0xb583,0x0056,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2805,0xfc25,0x77ff,0x008e,
0xf801,0x0cff,0x8841,0x07f1,0x1800,0xfc43,0x77ff,0x008e,
0xb080,0x0db6,0xa821,0x0e75,0xc840,0x0db9,0xa821,0x0e75,
0x1000,0xfc82,0x7fff,0x008f,0x0000,0x0000,0x0000,0x0000,
0x0800,0x0001,0x0020,0x0000,0x1800,0xfc43,0x7fff,0x006f,
0xf800,0x0cff,0xc001,0x15b8,0x1800,0xfc43,0xfe3f,0x241f,
0x0001,0x0000,0xb040,0x15b6,0x0001,0x0800,0xd5c1,0x003a,
0x2000,0xfb84,0x13df,0x0002,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0002,0xa080,0x0df4,0x0001,0x0004,0xa080,0x0df4,0x0001,
0x0002,0x0020,0x0000,0x0000,0x0000,0xb040,0x0e16,0x0001,
0x0000,0xb040,0x0e16,0x0001,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xb040,0x0e16,0x0001,0x0000,0xb040,0x0e16,0x0001,
0x0000,0x0020,0x0000,0x0000,0x0000,0xb040,0x0e16,0x0001,
0x0000,0xa040,0x0ed4,0x0001,0x0000,0xaf00,0x0035,0x0000,
0x0000,0x0000,0xa840,0x0735,0x0000,0x0800,0xbe41,0x0057,
0x0000,0xc020,0x0e18,0x0001,0x0000,0x9fe0,0x0053,0x0000,
0x0000,0xc020,0x0e58,0x0001,0x0000,0x0800,0xb641,0x0096,
0x0000,0x0000,0xa840,0x0775,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x70a0,0xbfee,0xfe17,0x1c5f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x70c0,0xbfee,0xfe37,0x245f,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xe020,0x0ddc,0x0001,0x0000,0x0800,0xc601,0x0038,0x0000,
0x0003,0xb040,0x0e36,0x0001,0x0000,0x0800,0xfd41,0x003f,
0x0000,0xc020,0x0678,0x0000,0x1004,0xc5e2,0x0038,0x0000,
0xe820,0x0dbd,0x0001,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x1000,0xfc82,0x87ff,0x0070,
0xd060,0x0d5a,0xa801,0x0ed5,0x0000,0x1000,0xd582,0x003a,
0x0000,0xd820,0x159b,0x0802,0x0000,0x0020,0x0800,0x0801,
0x0000,0xb820,0x15d7,0x0802,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x1000,0xfc82,0x7fff,0x006f,
0xd820,0x153b,0xe802,0x1d9d,0xd840,0x53fb,0xfaaa,0x1bbf,
0xd840,0x5bdb,0xfa6b,0x0bff,0xe820,0x2cbd,0x1005,0x0002,
0x1000,0xfc62,0xfcff,0x04ff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xc020,0x0e18,0x0001,
0x2003,0xfc84,0x87ff,0x00d0,0xf803,0x0d7f,0xa021,0x07f4,
0x9841,0x07f3,0xf800,0x0d9f,0x70c0,0xcfee,0xfe99,0x0cbf,
0xa040,0x07f4,0xf800,0x05bf,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x70c0,0xa7ee,0x77f4,0x008e,
0x80e0,0x07f0,0x8840,0x07f1,0x8060,0xaff0,0x77f5,0x00ce,
0xa821,0x0715,0xa020,0x07f4,0xa821,0x0735,0xa020,0x07f4,
0x8040,0x9ff0,0x77f3,0x008e,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x1800,0xfc43,0x77ff,0x00ee,
0xf820,0x0d3f,0xa801,0x07f5,0xa0c0,0x15b4,0x0002,0x0000,
0xb840,0x1597,0x0002,0x0000,0xf800,0x0d3f,0xa801,0x07f5,
0x1800,0xfc43,0x77ff,0x00ee,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x78e0,0xffef,0x1bff,0x0003,
0xc060,0x3c58,0xfbe7,0x009f,0xa840,0x15b5,0xb802,0x07f7,
0xa840,0x15b5,0xb802,0x07f7,0xc060,0x3c58,0xfbe7,0x009f,
0x78e0,0xffef,0x1bff,0x0003,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x70c0,0xffee,0xfd9f,0x04df,
0x8100,0x1730,0x0002,0x0020,0x8060,0xdff0,0x7ffb,0x00ef,
0xa840,0x0e15,0x0001,0x0000,0x88e0,0x0e51,0x0001,0x0000,
0x70c0,0xffee,0xfd9f,0x04df,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x8060,0xf7f0,0xfd9e,0x245f,
0x80c0,0x1730,0x0002,0x0020,0x6920,0xe7ed,0x7ffc,0x010f,
0x9860,0x0e73,0x0001,0x0000,0xb040,0x0db6,0x0001,0x0000,
0xc020,0x0dd8,0x0001,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2004,0xfc04,0xfcdf,0x04ff,
0xc860,0x1539,0x0002,0x0000,0x9100,0x1552,0x0002,0x0000,
0xc060,0x4c18,0xfae9,0x0c3f,0xd820,0x153b,0xf802,0x0d3f,
0x1000,0xfc82,0xfd7f,0x0cdf,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xb020,0x0656,0xc020,0x0e18,
0x9060,0x07f2,0xf800,0x1cdf,0x7880,0xcfef,0xfeb9,0x241f,
0x9841,0x07f3,0xf800,0x24bf,0xb821,0x0637,0xc020,0x1d38,
0xb801,0x0657,0xc020,0x0e18,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x8021,0xaff0,0xfdd5,0x145f,
0x0003,0x98a0,0x15b3,0x0002,0x0004,0x98a0,0x0dd3,0x0001,
0x0004,0x98a0,0x15b3,0x0002,0x0003,0x98a0,0x1d53,0x0003,
0x8021,0xaff0,0xfdf5,0x241f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0002,0x0800,0xfc61,0x0c3f,
0x0000,0x0000,0xd020,0x0dba,0x0000,0x0000,0xa040,0x0694,
0x0000,0x0000,0xa040,0x0654,0xc840,0x0619,0x9840,0x07f3,
0x2004,0xfc24,0x77ff,0x00ee,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xc801,0x1599,0xb802,0x07f7,
0xd821,0x3c5b,0xfbe7,0x009f,0x8060,0xfff0,0x23bf,0x0004,
0x8060,0xfff0,0x23bf,0x0004,0xd040,0x3c5a,0xfbe7,0x009f,
0xa0c0,0x15b4,0xc002,0x07f8,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xc040,0x0db8,0x0001,0x0000,
0x98e0,0x0db3,0x0001,0x0000,0x98c0,0x0db3,0x0001,0x0000,
0x98c0,0x0db3,0x0001,0x0000,0x88e0,0x0e51,0x0001,0x0000,
0x8060,0xfff0,0xfd9f,0x04ff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x9840,0x1713,0x1002,0x67e2,
0x6080,0x57ec,0x514a,0x2fea,0x7060,0xd7ee,0xd63a,0x3ffa,
0xb840,0x73f7,0x716e,0x5c8e,0xa860,0x44b5,0x4008,0x5d88,
0xb820,0x2d37,0x2005,0x6e44,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x596c,0x07eb,0xa860,0x2575,
0x2a45,0x4fe5,0x7949,0x0e8f,0x51e7,0xcfea,0xfff9,0x0d5f,
0x59cb,0xffeb,0xfe5f,0x0cff,0x59cb,0x3d4b,0xfb07,0x1bbf,
0x696d,0x17ed,0xf802,0x24df,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x2804,0xfc25,0x77ff,0x00ee,
0xf801,0x0d7f,0xa021,0x07f4,0xb801,0x0637,0xb820,0x0617,
0xb001,0x0636,0xb820,0x0617,0xf803,0x0d7f,0xa021,0x07f4,
0x2804,0xfc25,0x77ff,0x00ee,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x70e0,0xa7ee,0x77f4,0x008e,
0xa040,0x0714,0xa020,0x07f4,0xa820,0x0735,0xa020,0x07f4,
0x8040,0xbff0,0x77f7,0x00ee,0xa840,0x0e15,0x0001,0x0000,
0xa0a0,0x0dd4,0x0001,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x1800,0xfc43,0x77ff,0x00ee,
0xf800,0x0d7f,0xa021,0x07f4,0xb040,0x0636,0xb820,0x0617,
0x90e0,0x1592,0xb802,0x07f7,0xf840,0x2c3f,0xa525,0x00b4,
0x0800,0x9e01,0x70f3,0x07ee,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x70e0,0xa7ee,0x77f4,0x008e,
0xa040,0x0714,0xa020,0x0ff4,0xa820,0x0755,0xa040,0x1e14,
0x8860,0xfff1,0x87ff,0x0070,0xa8c0,0x3475,0xbca6,0x0057,
0xc040,0x1598,0xc802,0x1df9,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x1800,0xfc23,0x7fff,0x00ef,
0xf801,0x1c7f,0x0003,0x0020,0x2803,0xfc25,0x87ff,0x0070,
0x0000,0x0000,0x9860,0x1653,0x0000,0x0000,0x9860,0x1653,
0x2803,0xfc65,0x7fff,0x006f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x68e0,0xb7ed,0xfdd6,0x0c9f,
0x0000,0xa860,0x1d55,0x0003,0x0000,0xa860,0x1d55,0x0003,
0x0002,0x98a0,0x1d33,0x0003,0x0002,0x98a0,0x2533,0x0004,
0x0000,0xb040,0x1d76,0x0003,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xb021,0x0676,0xc020,0x0658,
0x9080,0x0672,0xb820,0x0637,0x90a0,0x0672,0xb820,0x0637,
0x90a0,0x0672,0xb820,0x0df7,0x80a0,0x07f0,0xf800,0x2cdf,
0x70a0,0xc7ee,0xfe58,0x243f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xc020,0x0658,0xc020,0x0658,
0xb820,0x0637,0xb820,0x0637,0xb820,0x0637,0xb820,0x0617,
0xf801,0x0d7f,0xa021,0x07f4,0x2005,0xfc84,0x87ff,0x00d0,
0x0004,0xb840,0x0e17,0x0001,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xc020,0x2d38,0x2005,0x6e44,
0xc020,0x4498,0x4008,0x6548,0xe020,0x73dc,0x716e,0xb3ee,
0x7880,0xd7ef,0xd67a,0x6ffa,0x5120,0x57ea,0x514a,0x37ea,
0x90a0,0x16d2,0x1002,0x5fe2,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x616d,0x07ec,0xc000,0x0658,
0x698c,0x0fed,0xa021,0x07f4,0x0876,0xfc81,0x6fff,0x00cd,
0x008d,0xfc80,0x77ff,0x00ae,0x69a6,0x0f2d,0xa821,0x15f5,
0x616b,0x07ec,0xd000,0x1d5a,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xc020,0x0658,0xc020,0x0e18,
0xf800,0x0d7f,0xa021,0x1674,0x1000,0xfca2,0x8fff,0x0071,
0x0000,0xb060,0x15d6,0x0002,0x0002,0x98a0,0x1d53,0x0003,
0x0003,0xa080,0x1d94,0x0003,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x9021,0xeff2,0xfddd,0x14bf,
0x0002,0x0800,0xfd61,0x001f,0x0000,0xb840,0x0e77,0x0001,
0x0800,0xc621,0x0038,0x0000,0xa080,0x0e14,0x0001,0x0000,
0x70a0,0xffee,0xfd9f,0x1c5f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0020,0x0000,0x0002,0x78a0,0xffef,0x04df,
0x0000,0x9860,0x1dd3,0x0003,0x0000,0xb040,0x15b6,0x0002,
0x0000,0xb040,0x0dd6,0x0001,0x0000,0x9860,0x0e53,0x0001,
0x0003,0x70a0,0xffee,0x147f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x50e0,0x00aa,0x0000,0x0000,
0x9080,0x07f2,0x0000,0x0000,0x0000,0xc660,0x0038,0x0000,
0x0000,0xc020,0x0e58,0x0001,0x0000,0x0000,0xc640,0x0038,
0x0002,0x0000,0xa040,0x07f4,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x7860,0xffef,0x149f,0x0002,
0x0000,0xc040,0x0d78,0x0001,0x0000,0xa840,0x15b5,0x0002,
0x0000,0xa840,0x1d55,0x0003,0x0000,0xc040,0x1558,0x0002,
0x7860,0xffef,0x149f,0x0002,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x1800,0x1be3,0x0003,
0x0000,0x7060,0x77ee,0x006e,0x0000,0x77e0,0x712e,0x07ee,
0xc040,0x1d78,0x1803,0xdd63,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0800,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x003b,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xfc81,0xfddf,0xbfff,0x8ff7,0x0000,0x0020,0x0040,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xc020,0x0678,0x0000,
0x0800,0xfd61,0x9fff,0x0053,0xa840,0xe7f5,0xff5c,0x251f,
0xa840,0xe7f5,0xff5c,0x251f,0x0800,0xfd61,0x97ff,0x0092,
0x0000,0xc020,0x0678,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x1800,0xfc83,0x6fff,0x00ed,0x1004,0x0002,0x9880,0x07f3,
0x2004,0xfc44,0xfe1f,0x0cbf,0xf860,0x0d1f,0xf801,0x0d5f,
0x1000,0xfc62,0xfd5f,0x0cdf,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xb040,0x0df6,0x0001,0x0000,
0x88e0,0x0e51,0x0001,0x0000,0x8060,0xbff0,0x77f7,0x00ce,
0xa821,0x0735,0xa020,0x07f4,0xa821,0x0735,0xa020,0x07f4,
0x8041,0x9ff0,0x77f3,0x008e,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x1000,0xfc62,0x87ff,0x0070,0xc0a0,0x1518,0x0002,0x0000,
0xb840,0x0d97,0x0001,0x0000,0xf800,0x14ff,0x0002,0x0000,
0x1800,0xfc23,0x7fff,0x00af,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xb040,0x15f6,
0x0000,0x0000,0xc040,0x2cf8,0x1000,0xfc62,0xfe1f,0x149f,
0xc820,0x0db9,0xe001,0x05bc,0xc040,0x0db8,0xd801,0x0d9b,
0x1000,0xfc42,0xfd7f,0x2c3f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,
0x2805,0xfc25,0x7fff,0x006f,0xe002,0x063c,0xb820,0x2577,
0x8040,0xfff0,0xfddf,0x243f,0xf801,0x155f,0x0002,0x0000,
0x2805,0xfc05,0x8fff,0x0051,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x1000,0xfbe2,0x13df,
0x0000,0xf800,0x24df,0x1804,0x1804,0xfd03,0xfd1f,0x0c7f,
0x0004,0xb060,0x1d36,0x0003,0x0000,0xa860,0x15b5,0x0002,
0x0000,0xb840,0x0df7,0x0001,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,
0x1803,0xfc43,0xfd7f,0x04ff,0xe001,0x0d9c,0xe001,0x05bc,
0xb860,0x0db7,0xe001,0x0dbc,0x1000,0xfca2,0xfdff,0x0cbf,
0x0000,0x0000,0x9880,0x07f3,0x7860,0x8fef,0x77f1,0x006e,
0x0000,0x0000,0x0000,0x0000,0xb840,0x0df7,0x0001,0x0000,
0xa840,0x0e35,0x0001,0x0000,0x8040,0xb7f0,0x7ff6,0x008f,
0xa821,0x0775,0xa840,0x15f5,0xb801,0x0637,0xc020,0x2518,
0xb820,0x0657,0xc820,0x2539,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xb820,0x0e57,0x0001,
0x0000,0x0000,0x0000,0x0000,0x1800,0xfc23,0x141f,0x0002,
0x0002,0xd040,0x153a,0x0002,0x0004,0xa860,0x0e35,0x0001,
0x2004,0xfca4,0x97ff,0x0052,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xb020,0x07f6,
0x0000,0x0000,0x0020,0x0020,0x0000,0x0000,0xa840,0x0755,
0x0000,0x0000,0xa040,0x0694,0x0000,0x0000,0xa040,0x0694,
0x0000,0x0000,0x9060,0x07f2,0x1000,0xfcc2,0x7fff,0x006f,
0x0000,0x0000,0x0000,0x0000,0xc020,0x0dd8,0x0001,0x0000,
0xa880,0x1535,0x0002,0x0000,0xc840,0x3c39,0xfba7,0x001f,
0x9040,0xfe32,0x1bbf,0x0003,0xd820,0x345b,0xfc06,0x003f,
0xc820,0x1599,0xc802,0x1df9,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0800,0xfc61,0x1bff,0x0003,
0x0000,0xf820,0x24df,0x0004,0x0000,0xa840,0x1d55,0x0003,
0x0000,0xa840,0x2555,0x0004,0x0000,0xb820,0x15d7,0x0002,
0x2003,0xfca4,0x87ff,0x00d0,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x8880,0x07f1,0xb800,0x07f7,0x80c0,0xe7f0,0xe75c,0x67fc,
0x80c0,0xfff0,0xfe9f,0x5fff,0xa0c0,0x73d4,0x716e,0x648e,
0x98e0,0x3cd3,0x3007,0x6d86,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x7880,0xa7ef,0x77f4,0x008e,0x598c,0x07eb,0xa020,0x07f4,
0x51cb,0x07ea,0xc000,0x0618,0x51cc,0x07ea,0xb820,0x0df7,
0x616d,0x07ec,0xc800,0x2559,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x1800,0xfc43,0x77ff,0x00ee,0xf800,0x0d7f,0xa021,0x07f4,
0xb020,0x0636,0xb820,0x0df7,0xf801,0x0d7f,0xa021,0x07f4,
0x2804,0xfc25,0x77ff,0x00ee,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x70e0,0xa7ee,0x77f4,0x008e,0xa040,0x0714,0xa020,0x07f4,
0xa821,0x0715,0xa020,0x07f4,0x8060,0xbff0,0x7ff7,0x008f,
0x88e0,0x0e51,0x0001,0x0000,0xb040,0x0df6,0x0001,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x1800,0xfc43,0xfd5f,0x0cbf,0xf800,0x0d7f,0xe001,0x0dbc,
0xf800,0x0d7f,0xe001,0x0dbc,0x1800,0xfc63,0xfe1f,0x0cbf,
0x0000,0x0000,0xb840,0x0db7,0x0000,0x0000,0xb040,0x0e16,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x8041,0x9ff0,0x77f3,0x008e,0xa821,0x06b5,0xa800,0x07f5,
0xc021,0x1598,0x0002,0x0000,0xc821,0x0d99,0x0001,0x0000,
0xe801,0x0dbd,0x0001,0x0000,0x0001,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x1800,0xfc23,0xfcdf,0x0cdf,0xf800,0x247f,0x0004,0x0000,
0x1000,0xfc82,0x87ff,0x0070,0x0000,0x0000,0x80a0,0x0ff0,
0x8040,0x8ff0,0x7ff1,0x006f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xb040,0x0df6,0x0001,
0x7041,0xa7ee,0xfd94,0x0c5f,0x0000,0xa860,0x1d55,0x0003,
0x0000,0xa860,0x1d55,0x0003,0x0001,0xc060,0x24d8,0x0004,
0x0000,0x1000,0xfbe2,0x23bf,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xb021,0x0676,0xc020,0x0658,0x90a0,0x0672,0xb820,0x0637,
0x90a0,0x0692,0xb820,0x0df7,0xb860,0x0db7,0xf801,0x2cdf,
0x2004,0xfc24,0xfd7f,0x245f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xc020,0x0658,0xc020,0x0658,0xb820,0x0637,0xb820,0x0637,
0xf801,0x0d7f,0x9821,0x07f3,0x2005,0xfc84,0x87ff,0x0070,
0x0004,0xb040,0x0696,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xd020,0x3cba,0x3007,0x7d66,0xd820,0x73db,0x716e,0xabee,
0xa020,0xfff4,0xfe5f,0x8fff,0x1000,0xfd22,0xffff,0x1d3f,
0x0800,0x8621,0x7910,0x0f0f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xe020,0x05dc,0xa820,0x0735,0x0800,0xfce1,0x8fff,0x0051,
0x0000,0xc800,0x06b9,0x0000,0x0800,0xfce1,0x8fff,0x0051,
0xe020,0x05dc,0xa820,0x0735,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xb840,0x0657,0xc020,0x0e18,0x90e0,0x0652,0xc020,0x1d58,
0xb080,0x0db6,0xf801,0x24df,0x1800,0xfc03,0xfd5f,0x249f,
0x0801,0x1801,0xfcc3,0x007f,0x8860,0xfff1,0x147f,0x0002,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x9021,0xeff2,0xfddd,0x1cbf,0x0003,0x0800,0xdd41,0x007b,
0x0004,0xb040,0x0e16,0x0001,0x1004,0x9f22,0x0053,0x0000,
0x80a0,0xaff0,0xfff5,0x245f,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xc020,0x0678,0x0000,
0x1803,0xfd03,0xa7ff,0x0034,0x90c0,0xe7f2,0xff5c,0x1d3f,
0x80a0,0xd7f0,0xfeda,0x1cbf,0x0000,0xb060,0x15f6,0x0002,
0x2004,0xfca4,0x97ff,0x0052,0x0000,0x0000,0x0000,0x0000,
0x0000,0xb040,0x0df6,0x0001,0x0000,0xb040,0x0df6,0x0003,
0x0000,0xb040,0x0df6,0x0004,0x0003,0xb040,0x0df6,0x0004,
0x0003,0xb040,0x0df6,0x0003,0x0000,0xb040,0x0df6,0x0003,
0x0000,0xb040,0x0df6,0x0002,0x0000,0xb040,0x0e16,0x0001,
0x0000,0x0000,0x0000,0x0000,0x68c0,0xdfed,0xfd7b,0x1c1f,
0x60e0,0xffec,0x1cdf,0x0803,0x70c0,0xffee,0xaebf,0x0095,
0xa0a0,0x3c94,0xfb47,0x241f,0x9880,0x0e13,0xf801,0x24bf,
0x0000,0x0000,0xb040,0x0df6,0x0000,0x0000,0x0000,0x0000,
0x0000,0x2000,0x1b84,0x0003,0x0003,0xf800,0x147f,0x0002,
0x1001,0xfc62,0x1bdf,0x0003,0xa080,0xfdf4,0x1bff,0x0003,
0x1804,0xfc43,0x1bdf,0x0003,0x0004,0xf800,0x147f,0x0002,
0x0001,0x2000,0x1b84,0x0003,0x0000,0x0000,0x0000,0x0000,
0x0000,0x50a0,0x00ca,0x0800,0x0000,0x7860,0x07ef,0x0800,
0x0000,0x6080,0x87ec,0x0030,0x0000,0x6080,0xbfec,0x1557,
0x0000,0x6080,0x87ec,0x0030,0x0000,0x7860,0x07ef,0x0800,
0x0000,0x50a0,0x00ca,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0x881f,0x8ef1,0xf011,
0x5fbf,0x280b,0x2005,0x7004,0x57df,0x080a,0x00a1,0x7000,
0xffff,0x01ff,0x0080,0xf220,0xffff,0x6fdf,0x680d,0xffcd,
0xffff,0xe7ff,0xe41c,0xfffc,0xffff,0xffff,0xffff,0xffff,
0xffff,0x4fbf,0xf209,0xfffe,0xfffe,0x4fbf,0xf24c,0xfffe,
0xff0e,0x4fbf,0xf1ae,0xfffe,0xff0e,0x4fbf,0x1810,0x5803,
0xfffe,0x4fbf,0x200f,0x5804,0xffff,0x4fbf,0xf16c,0xfffe,
0xffff,0x4fbf,0xf229,0xfffe,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0xffff,0xf7ff,0x0000,0xffff,0xffff,0xf7ff,0x0000,
0xffff,0xffff,0xefff,0x0000,0xffff,0xffff,0xf7ff,0x0000,
0xffff,0xffff,0xf7ff,0x0000,0xffff,0xffff,0xefff,0x0000,
0xffff,0xffff,0xf7ff,0x0000,0xffff,0xffff,0xf7ff,0x0000,
0xffff,0x671f,0xf20c,0xfffe,0xffff,0x6eff,0xf24d,0xfffe,
0xffff,0x571f,0xeaea,0xfffd,0x2060,0x0004,0xcb80,0xcff9,
0x1880,0x00a3,0xd360,0xd7fa,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x4fbf,0xf1e9,0xfffe,0xffff,0x57bf,0xf22a,0xfffe,
0xffff,0x37bf,0xeac6,0xfffd,0x00c0,0x00a0,0xcb60,0xcff9,
0x00c0,0x00a0,0xcb60,0xcff9,0xffff,0x37bf,0xeac6,0xfffd,
0xffff,0x57bf,0xf22a,0xfffe,0xffff,0x57bf,0xf22a,0xfffe,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x00c0,0x00c0,0xf2a0,0xfffe,
0x00c0,0x00c0,0xeae0,0xfffd,0xffff,0x3fbf,0xdb07,0xfffb,
0xffff,0x57bf,0xd2ca,0xcffa,0xffff,0x4fbf,0xda89,0xd7fb,
0xffff,0xffff,0xf7ff,0x02fe,0xffff,0xffff,0x4fdf,0x0009,
0xffff,0xf7ff,0x02fe,0xfac0,0xffff,0x6fdf,0x700d,0xffae,
0xf7ff,0x02de,0xf2e0,0xfffe,0x77bf,0x680e,0xffcd,0xffff,
0x03f9,0xf2e0,0xfffe,0xffff,0x3b1a,0xff87,0xffff,0xffff,
0x6800,0xffad,0xffff,0xffff,0x0000,0xfa00,0xffff,0xffff,
0x6fdf,0x680d,0xffcd,0xffff,0xefff,0x031d,0xf2c0,0xfffe,
0xffff,0x6fdf,0x680d,0xffcd,0xffff,0xf7ff,0x02de,0xeb00,
0xffff,0xffff,0x6fdf,0xa00d,0xffff,0xffff,0xf7ff,0x029e,
0xffff,0xffff,0xffff,0xa75f,0xffff,0xffff,0xffff,0x801f,
0xffff,0xffff,0x87bf,0x9810,0xffff,0xf7ff,0x227e,0x9004,
0xffff,0x47df,0x2008,0x7804,0xeffd,0x025d,0x10c0,0x7002,
0x7ef4,0x080f,0x10a1,0x7002,0x4800,0x0009,0x1880,0x7003,
0xff54,0xffff,0xffff,0xe7ff,0xff90,0xffff,0xffff,0xefff,
0xff73,0xffff,0xffff,0xe7ff,0xff72,0xffff,0xffff,0xefff,
0xff2f,0xe7ff,0x033c,0x0100,0xff2e,0xdfff,0x033b,0x10a0,
0xff2e,0xdfff,0x033b,0x10a0,0xff4e,0xe7ff,0x033c,0x08e0,
0xdc7c,0xfffb,0xffff,0xffff,0x039d,0xffe0,0xffff,0xffff,
0x043c,0xf360,0xfffe,0xffff,0x03bd,0x5080,0xffca,0xffff,
0x0080,0x0080,0xf9e0,0xffff,0x0802,0x1021,0x4002,0xffc8,
0x0802,0x0801,0x0061,0xf9e0,0x0801,0x0001,0x2020,0x6004,
0xffff,0xf7ff,0x02be,0x00e0,0xffff,0xf7ff,0x029e,0x00c0,
0xffff,0xf7ff,0x029e,0x00c0,0xffff,0xf7ff,0x02be,0x00e0,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffac,0xffff,0xffff,0xffff,
0x2000,0x7004,0xff4e,0xe7ff,0x1840,0x7003,0xff2e,0xe7ff,
0x1820,0x6003,0xff8c,0xffff,0x2000,0x6004,0xffac,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x033c,0x00e0,0x2000,0x6004,0x033c,0x00e0,0x2000,0x6004,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xf7ff,0xffff,0xffff,0xffff,0xf7ff,
0xffac,0xffff,0xffff,0xffff,0xffac,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xefff,0xffff,0xffff,0xffff,0xefff,
0x02be,0x08e0,0x0001,0x0080,0x02be,0x08e0,0x0801,0x0021,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x039d,0x8000,0xff90,0xffff,0x039d,0x8800,0xff71,0xffff,
0x18c0,0x6803,0xffad,0xffff,0x2040,0x6004,0xffac,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x9f9f,0x9813,0xff93,
0xffff,0xb73f,0xb016,0xff36,0xa77f,0xd014,0xd5ba,0xb01a,
0x9f9f,0xb813,0xb677,0xa016,0xffff,0xe7ff,0xe3fc,0xfffc,
0xffff,0x77bf,0x700e,0xffae,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x7f1f,0x180f,0x0063,
0xffff,0x86df,0x1010,0x00a2,0xffff,0x679f,0xf18c,0xfffe,
0xffff,0x4fbf,0xf229,0xfffe,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0040,0x0000,0x0000,0x0000,
0x0040,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x4fbf,0xf1e9,0xfffe,0xffff,0x4fbf,0xf229,0xfffe,
0xffff,0x4fbf,0xf209,0xfffe,0x1000,0x0002,0x10a0,0x9002,
0x1000,0x0002,0x10a0,0xa002,0xffff,0x4fbf,0xe289,0xfffc,
0xffff,0x57bf,0xea4a,0xfffd,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xf7ff,0x02fe,0x6800,0xffad,0x96b2,0x1812,0x00c3,0xeaa0,
0x9e74,0x2013,0x00e4,0xb420,0x775f,0x180e,0x00c3,0xbc20,
0xf7ff,0x02fe,0x5000,0xe7ea,0xffff,0xffff,0xffff,0xefff,
0xffff,0xffff,0xffff,0xf7ff,0xffff,0xffff,0xffff,0xf7ff,
0xffff,0xffff,0xffff,0xf7ff,0xfffd,0xffff,0xffff,0xf7ff,
0x0476,0x10e0,0x0002,0x18a0,0x0417,0x10a0,0x0002,0x1840,
0x031c,0x10a0,0x0002,0x1860,0x02dd,0x08e0,0x0001,0x2020,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xf7ff,
0x0000,0xffff,0xffff,0xf7ff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0801,0x0001,
0x0000,0x0000,0x0022,0x0080,0xffff,0x4fbf,0xf209,0xfffe,
0xffff,0x4fbf,0xf229,0xfffe,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0x4fbf,0xd289,0xcffa,0xffff,0x5fbf,0xcacb,0xbff9,
0xffff,0x57bf,0xd28a,0xcffa,0x1000,0x1002,0x0062,0x00c0,
0x0020,0x0000,0x0000,0x0080,0xffff,0xffff,0xffff,0xefff,
0xffff,0xffff,0xffff,0xefff,0xffff,0xffff,0xffff,0xefff,
0x0419,0x8000,0xff71,0xffff,0x0457,0x8800,0xff71,0xffff,
0x03f9,0x8800,0xff71,0xffff,0x20c0,0x6804,0xff71,0xffff,
0x18c0,0x6803,0xff71,0xffff,0x039d,0x8800,0xff71,0xffff,
0x03dd,0x8800,0xff71,0xffff,0x039d,0x8000,0xff71,0xffff,
0xffff,0x4fbf,0xe269,0xfffc,0xffff,0x4fbf,0xdaaa,0xfffb,
0xffff,0x4fbf,0xe9ec,0xfffd,0xffff,0x4fbf,0x180c,0x9803,
0xffff,0x4fbf,0x280c,0x9805,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x8f5f,0x0011,0xeb80,0xfffd,0x7f3f,0xe16f,0xf7fc,0xfffe,
0x96ff,0x0012,0xebc0,0xfffd,0xae53,0xe815,0xeffd,0xfffd,
0xbe53,0x3817,0x02a7,0xe3c0,0xffff,0x679f,0xe20c,0xeffc,
0xffff,0x7f9f,0x000f,0xe3c0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x3fdf,0xf987,0xffff,
0xf7ff,0x029e,0x5800,0xffcb,0x779f,0x380e,0x0187,0xeb20,
0xfffc,0x675f,0xdaac,0xfffb,0xfffd,0x675f,0xea4c,0xfffd,
0xfffc,0x5f7f,0xf1eb,0xfffe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0x579f,0xea4a,0xfffd,0xfffd,0x675f,0xe2ac,0xfffc,
0x779f,0x380e,0x0187,0xe340,0xf7ff,0x029e,0x5800,0xffcb,
0xffff,0x3fdf,0xf987,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x57bf,0xf8ea,0xffff,
0xffff,0x601f,0xffac,0xffff,0x67bf,0x580c,0x000b,0xf2e0,
0xeffc,0x60dd,0xffac,0xffff,0xffff,0x57bf,0xf8ca,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x27df,0xea64,0xf7fd,
0xffff,0xf7ff,0x029e,0xffe0,0x6fde,0x000d,0x0260,0xeb00,
0xffff,0xf7ff,0x029e,0xffe0,0xffff,0x27df,0xea64,0xf7fd,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffdf,0xffff,0xffff,0xffff,0x4fbf,0xe269,0xfffc,
0xffff,0x57bf,0xe2aa,0xfffc,0xffff,0x57bf,0xe2aa,0xfffc,
0xffff,0x4fbf,0xf209,0xfffe,0xffff,0xffdf,0xffff,0xffff,
0xffff,0x47df,0xf1c8,0xfffe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x677f,0xf92c,0x37df,0xea66,
0x6f5f,0xf96d,0x07df,0xc3e0,0x677f,0xf92c,0x37df,0xf226,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xf7ff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x07fd,0xf9a0,0x3fff,0xe9e7,
0x0478,0x0240,0x5800,0x880b,0x1ffe,0xf9c3,0x47df,0xe228,
0x4fbf,0xf9a9,0x3fdf,0xea27,0x02be,0x0240,0x5000,0x900a,
0x3fdf,0xf967,0x37ff,0xf1c6,0xffff,0xffff,0xffff,0xffff,
0xffff,0x3fdf,0xea67,0xfffd,0xe7fd,0x037c,0x0340,0xf360,
0x5731,0xe30a,0xfffc,0xffdf,0xdffc,0x03bb,0x8000,0xff50,
0xfffd,0xffff,0x875f,0xe810,0xaeb2,0x7815,0x800f,0xff50,
0xfffe,0x5f7f,0xf1cb,0xfffe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xf7ff,0x3fde,0xea67,0x37fd,0xe206,
0x577f,0xcb4a,0x03d9,0xffa0,0xffdf,0x17df,0xf262,0xfffe,
0xe7fd,0x521c,0xff8a,0xffdf,0x773f,0xf80e,0x5f9f,0xf94b,
0xbedf,0xfe97,0x5f3f,0xda8b,0xffff,0xffff,0xffff,0xffff,
0xfffe,0xaf3f,0xa015,0xff94,0xeffc,0xa81d,0xae55,0xf015,
0xffff,0x979f,0x9012,0xff92,0xefff,0x041d,0xe420,0xfffc,
0x07bf,0xb440,0x04d6,0x6800,0x07ff,0xe320,0x07fc,0xf2a0,
0xd7fb,0x045a,0xc4e0,0x03d8,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffe,0x5f7f,0xf1eb,0xfffe,
0xffff,0x579f,0xf22a,0xfffe,0xffff,0x4fbf,0xf1e9,0xfffe,
0xff8d,0xffff,0xffff,0xffff,0xfffe,0xffff,0xffff,0xffff,
0xffc0,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xf7ff,0xfffe,0xffff,0xf7ff,0x037e,0xf320,
0xffff,0x879f,0x7010,0xff8e,0xffff,0x67bf,0xf00c,0xfffe,
0xffff,0x67bf,0xf00c,0xfffe,0xffff,0x879f,0x7010,0xff8e,
0xffff,0xf7ff,0x037e,0xf340,0xffff,0xffff,0xffff,0xffff,
0xffdf,0xffff,0xffff,0xffff,0x77de,0x780e,0xffaf,0xffff,
0xefff,0x033d,0xe3a0,0xf7fc,0xffff,0x1fdf,0xd343,0xcffa,
0xffff,0x17df,0xdb22,0xf7fb,0xefff,0x033d,0xe3c0,0xfffc,
0x7fde,0x780f,0xffaf,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x2fdf,0xfa25,0x57df,0xf1aa,
0xe7fe,0x039c,0x8000,0xff50,0x0439,0x02e0,0x7000,0xb80e,
0xe7fe,0x039c,0x8000,0xff50,0x3fbf,0xfa27,0x57df,0xf1aa,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffe,0x5f7f,0xf20b,0xfffe,
0xff9f,0x5f5f,0xea4b,0xfffd,0xbe57,0x5017,0x028a,0xebe0,
0xff9f,0x5f5f,0xea4b,0xfffd,0xfffe,0x5f7f,0xf20b,0xfffe,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffd,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0x5fbf,0xf12b,0xfffe,0xffff,0x50df,0xffaa,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x7fbf,0x400f,0x01e8,0xeb60,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffd,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x4fbf,0xe269,0xfffc,
0xffff,0x4fbf,0xe289,0xfffc,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x57bf,0xe98a,
0xffff,0xf7ff,0x51be,0xff6a,0xffff,0x3fdf,0xf207,0xfffe,
0xf7ff,0x39be,0xffc7,0xffff,0x777f,0xf80e,0xffff,0xffff,
0xb6df,0xff56,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xdffd,0x03db,0x8000,0xff90,
0x3f5f,0xeae7,0x07fd,0xdaa0,0x673f,0xd30c,0x043a,0xd440,
0x977f,0x9812,0x6f13,0xdacd,0x4fdf,0xf809,0x6f7f,0xe98d,
0xefff,0x039d,0x8800,0xff31,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffdf,0xffff,0xffff,0xffff,0x07df,0xeaa0,0xfffd,
0xdffb,0x039b,0xd440,0xfffa,0xfffa,0x379f,0xeae6,0xfffd,
0xfffb,0x675f,0xf22c,0xfffe,0xfffd,0x675f,0xea4c,0xfffd,
0x973f,0x4812,0x0229,0xf380,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xefff,0x037d,0x8800,0xff31,
0x2fbf,0xf2a5,0x5ffe,0xf80b,0xffff,0xefff,0x2a7d,0xffc5,
0xffff,0x3fdf,0xf1c7,0xfffe,0xffff,0x601f,0xffac,0xffff,
0x67fe,0x500c,0x000a,0xdb80,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffdf,0xffff,0xffff,0x873f,0x0010,0x0220,0xf300,
0xffff,0xf7ff,0x029e,0xffc0,0xffff,0x07df,0xf2a0,0xfffe,
0xffff,0xefff,0x4a7d,0xff69,0x17bf,0xf2a2,0x67fe,0xf80c,
0xdffb,0x03db,0x8000,0xff90,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffe,0xffff,0x701f,0xff0e,
0xffff,0x87bf,0xa810,0xfe95,0xefff,0x039d,0x9800,0xfeb3,
0x275f,0xcbe4,0x33b9,0xff66,0x777f,0x000e,0x02e0,0xfa40,
0xffff,0xf7ff,0x3a1e,0xffa7,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xf7ff,0x8eff,0x0011,0x0260,0xdba0,
0x86df,0xe930,0xfffd,0xffdf,0x8eff,0x5811,0x880b,0xff11,
0xff9f,0xffdf,0x775f,0xf80e,0x07ff,0xfa40,0x67bf,0xf80c,
0xe7ff,0x03bc,0x8800,0xff71,0xffff,0xffff,0xffff,0xffff,
0xfffe,0xffff,0xffff,0xffff,0xdffb,0x03fb,0x8000,0xff10,
0x4f7f,0xea89,0xfffd,0xffdf,0x8eff,0x4011,0x7808,0xff8f,
0x5fbf,0xf8ab,0x57bf,0xe9ea,0x07ff,0xf280,0x5fde,0xda2b,
0xe7ff,0x03bc,0x8800,0xff71,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffdf,0xffff,0xffff,0x8f1f,0x5811,0x000b,0xd3c0,
0xffff,0xffff,0x57bf,0xf16a,0xffff,0xf7ff,0x49be,0xff89,
0xfffd,0x47bf,0xf1e8,0xfffe,0xdffb,0x5a3b,0xffab,0xffff,
0xe7ff,0x4a7c,0xffa9,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xd7fa,0x03da,0x8800,0xff71,
0x07fe,0xf300,0x77be,0xf80e,0xe7ff,0x03bc,0x8800,0xff71,
0x4f7f,0xf249,0x57de,0xf18a,0x37bf,0xf246,0x57de,0xf18a,
0xefff,0x037d,0x8000,0xff70,0xffff,0xffff,0xffff,0xffff,
0xf7ff,0xfffe,0xffdf,0xffff,0xe7ff,0x03bc,0x8000,0xff90,
0x07ff,0xf300,0x3ffe,0xea47,0xe7ff,0x03bc,0x01c0,0xdbe0,
0xfffe,0xffff,0x4fbf,0xea49,0xfffe,0xf7ff,0x2a3e,0xffc5,
0xdfff,0x047b,0xec20,0xfffd,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xfffd,0x5f7f,0xf20b,0xfffe,0xfffb,0x5f7f,0xf20b,0xfffe,
0xfffd,0xffdf,0xffff,0xffff,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0x4fbf,0xf1e9,0xfffe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x4fbf,0xf1e9,0xfffe,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0xffdf,0xffff,0xffff,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0x5fbf,0xf12b,0xfffe,0xffff,0x50ff,0xffca,0xffff,
0xffff,0xffff,0x57bf,0xf8ca,0xffff,0xf7ff,0x41be,0xffa8,
0xffff,0x3fdf,0xf1e7,0xfffe,0xffff,0x601f,0xffac,0xffff,
0xffff,0x3fdf,0xf1a7,0xfffe,0xffff,0xf7ff,0x49be,0xff69,
0xffff,0xffff,0x57bf,0xf88a,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x8f5f,0x4011,0x01e8,0xe3a0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x8f3f,0x4011,0x01c8,0xdba0,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x1fdf,0xf223,0xfffe,0xffff,0xf7ff,0x39fe,0xffc7,0xffff,
0xfffc,0x4fbf,0xf1c9,0xfffe,0xffff,0xf7ff,0x02be,0xffc0,
0xffff,0x3fdf,0xf987,0xffff,0xeffb,0x3a1d,0xffc7,0xffff,
0x17df,0xf242,0xfffe,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xefff,0x037d,0x7800,0xff8f,
0x2f9f,0xf2a5,0x57fe,0xf12a,0xffff,0xefff,0x2a7d,0xffc5,
0xffff,0x27df,0xea64,0xf7fd,0xffff,0xffdf,0xf7ff,0xf7fe,
0xffff,0x47df,0xea28,0xf7fd,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xefff,0x037d,0x8000,0xff90,
0x27df,0xeac4,0x17fd,0xe262,0x27bf,0xac04,0x0555,0xe440,
0x27bf,0xa424,0x0594,0xf400,0x17df,0xd342,0xeffa,0xfffd,
0xefff,0x039d,0x0300,0xfb00,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x3fdf,0xf1e7,0xfffe,
0xdffc,0x037b,0x7800,0xff2f,0x07fc,0xf280,0x5fde,0xf80b,
0x67be,0xf80c,0x07ff,0xf260,0x8f3f,0x3011,0x0166,0xf340,
0x5fbf,0xf80b,0x07ff,0xfa40,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x8f3f,0x5811,0x880b,0xff71,
0x7f1f,0xf80f,0x77bf,0xf80e,0x7f9f,0x500f,0x880a,0xff31,
0x57de,0xf8ea,0x5fdf,0xf80b,0x57de,0xf8ca,0x5fdf,0xf80b,
0x7fbf,0x600f,0x880c,0xff71,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xe7ff,0x03bc,0x8800,0xff11,
0x07df,0xf2c0,0x57fe,0xf80a,0x5f3f,0xea4b,0xfffd,0xffff,
0x47bf,0xea68,0xfffd,0xffff,0x07ff,0xf2c0,0x57fe,0xf80a,
0xe7ff,0x03bc,0x8800,0xff11,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x871f,0x0010,0xe400,0xfffc,
0x3f9f,0xc3a7,0x0418,0xff60,0x57bf,0xea4a,0x47fd,0xf808,
0x57bf,0xea4a,0x47fd,0xf808,0x3f9f,0xc3a7,0x0418,0xff60,
0x871f,0x0010,0xe400,0xfffc,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x8f3f,0x0011,0x0260,0xfb20,
0x7eff,0xe8cf,0xfffd,0xffdf,0x7f9f,0x200f,0x8004,0xff10,
0x57bf,0xf1ea,0xfffe,0xffff,0x771f,0xf1ae,0xfffe,0xffff,
0x8f3f,0x0011,0x0260,0xfb20,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x7f9f,0x080f,0x0261,0xdba0,
0x7f3f,0xe8cf,0xfffd,0xffdf,0x96df,0x1812,0x8003,0xfef0,
0x679f,0xf18c,0xfffe,0xffff,0x4fbf,0xf249,0xfffe,0xffff,
0x3fdf,0xf227,0xfffe,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xdffb,0x03fb,0x0320,0xfb00,
0x379f,0xeac6,0xfffd,0xffff,0x6eff,0xeaad,0xfffd,0xffff,
0x3f9f,0xb3e7,0x0516,0xf3c0,0x27df,0xeac4,0x07fd,0xf2c0,
0xefff,0x037d,0x0280,0xf320,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x4fdf,0xf9a9,0x3fdf,0xf1e7,
0x6f9f,0xf80d,0x07ff,0xe320,0x877f,0x3010,0x0146,0xdbe0,
0x67be,0xf80c,0x07ff,0xdb40,0x47de,0xf9c8,0x3fdf,0xe2c7,
0x47fe,0xf9a8,0x3fdf,0xf1e7,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x7fde,0x500f,0x022a,0xeba0,
0xfffc,0x675f,0xea4c,0xfffd,0xfffb,0x675f,0xf22c,0xfffe,
0xfffb,0x675f,0xea4c,0xfffd,0xfffc,0x675f,0xe2ac,0xfffc,
0x7fde,0x500f,0x020a,0xdbe0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffd,0xf7ff,0x039e,0xf3c0,
0xffff,0xffff,0x2fdf,0xf245,0xffff,0xffff,0x5fbf,0xf96b,
0xffff,0xffff,0x5fbf,0xf9ab,0x37bf,0xf9e6,0x67bf,0xf80c,
0xdffb,0x03db,0x8800,0xff11,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x37fe,0xea66,0x47fd,0xf808,
0x27de,0xc3a4,0x0418,0xff60,0x7f9f,0x000f,0xdc40,0xfffb,
0x7f9f,0x000f,0xdc40,0xfffb,0x2fbf,0xc3a5,0x0418,0xff60,
0x5f3f,0xea4b,0x3ffd,0xf807,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x3fbf,0xf247,0xfffe,0xffff,
0x671f,0xf24c,0xfffe,0xffff,0x673f,0xf24c,0xfffe,0xffff,
0x673f,0xf24c,0xfffe,0xffff,0x771f,0xf1ae,0xfffe,0xffff,
0x7f9f,0x000f,0x0260,0xfb00,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x67bf,0xe8ec,0xeffd,0x981d,
0x9f7f,0xa813,0xaeb5,0xd015,0x8f9f,0x2811,0x29c5,0xc005,
0x47bf,0x8c08,0x8e91,0xa371,0x579f,0xbb4a,0xbff7,0xa277,
0x47df,0xd2c8,0xdffa,0x91bb,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xa693,0xf814,0x579f,0xda8a,
0xd5ba,0xb01a,0x86b6,0xf170,0xae18,0x3015,0x0006,0xf2a0,
0xa634,0x0014,0x01a0,0xf300,0xa634,0xc2b4,0x04f8,0xe440,
0x9692,0xe812,0x07fd,0xdb20,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xd7fb,0x03da,0x8800,0xff11,
0x07fe,0xf280,0x5fde,0xf80b,0x47fe,0xf9c8,0x47df,0xf9e8,
0x4ffe,0xf9c9,0x47df,0xf9e8,0x07fc,0xf280,0x5fde,0xf80b,
0xd7fb,0x03da,0x8800,0xff11,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x8f1f,0x5811,0x880b,0xff71,
0x5fbf,0xf8eb,0x5fdf,0xf80b,0x57df,0xf8ca,0x5fdf,0xf80b,
0x7fbf,0x400f,0x8808,0xff11,0x57bf,0xf1ea,0xfffe,0xffff,
0x5f5f,0xf22b,0xfffe,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xe7ff,0x03bc,0x8800,0xff11,
0x07ff,0xf280,0x5fde,0xf80b,0x4fbf,0xf9c9,0x47df,0xf9e8,
0x6f1f,0xea6d,0x47fd,0xf808,0x07bf,0xd3c0,0x5ada,0xff4b,
0xf7ff,0x61fe,0x8f0c,0xf811,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x8f1f,0x5811,0x880b,0xff71,
0x5fbf,0xf8eb,0x5fdf,0xf00b,0x57df,0xf8aa,0x5fbf,0xe1eb,
0x779f,0x000e,0x7800,0xff8f,0x573f,0xcb8a,0x4359,0xffa8,
0x3fbf,0xea67,0x37fd,0xe206,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xe7ff,0x03dc,0x8000,0xff10,
0x07fe,0xe380,0xfffc,0xffdf,0xd7fc,0x03da,0x7800,0xff8f,
0xffff,0xffff,0x679f,0xe9ac,0xffff,0xffff,0x679f,0xe9ac,
0xd7fc,0x039a,0x8000,0xff90,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x971f,0x4812,0x0229,0xf360,
0xffff,0x579f,0xe2aa,0xfffc,0xffff,0x579f,0xe2aa,0xfffc,
0xfffd,0x675f,0xe2cc,0xfffc,0xfffd,0x675f,0xdacc,0xfffb,
0xffff,0x4fbf,0xe289,0xfffc,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x4fde,0xf989,0x3fdf,0xf9a7,
0x6f7f,0xf98d,0x47df,0xf9c8,0x6f5f,0xf98d,0x47df,0xf9c8,
0x6f5f,0xf98d,0x47df,0xf208,0x7f5f,0xf80f,0x07ff,0xd320,
0x8f5f,0x3811,0x01a7,0xdbc0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x3fdf,0xf9a7,0x3fdf,0xf9a7,
0x47df,0xf9c8,0x47df,0xf9c8,0x47df,0xf9c8,0x47df,0xf9e8,
0x07fe,0xf280,0x5fde,0xf80b,0xdffa,0x037b,0x7800,0xff2f,
0xfffb,0x47bf,0xf1e8,0xfffe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x3fdf,0xd2c7,0xdffa,0x91bb,
0x3fdf,0xbb67,0xbff7,0x9ab7,0x1fdf,0x8c23,0x8e91,0x4c11,
0x877f,0x2810,0x2985,0x9005,0xaedf,0xa815,0xaeb5,0xc815,
0x6f5f,0xe92d,0xeffd,0xa01d,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x9e92,0xf813,0x3fff,0xf9a7,
0x9673,0xf012,0x5fde,0xf80b,0xf789,0x037e,0x9000,0xff32,
0xff72,0x037f,0x8800,0xff51,0x9659,0xf0d2,0x57de,0xea0a,
0x9e94,0xf813,0x2fff,0xe2a5,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x3fdf,0xf9a7,0x3fdf,0xf1e7,
0x07ff,0xf280,0x5fde,0xe98b,0xefff,0x035d,0x7000,0xff8e,
0xffff,0x4f9f,0xea29,0xfffd,0xfffd,0x675f,0xe2ac,0xfffc,
0xfffc,0x5f7f,0xe26b,0xfffc,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x6fde,0x100d,0x0222,0xeb40,
0xfffd,0xf7ff,0x029e,0xffe0,0xffff,0x47bf,0xf188,0xfffe,
0xf7ff,0x39de,0xffc7,0xffff,0x5f7f,0xf1eb,0xfffe,0xffff,
0x8f5f,0x0011,0x0260,0xe3a0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffdf,0xffff,0xfffd,0x875f,0x0010,0xfb20,
0xffff,0x679f,0xe22c,0xfffc,0xffff,0x4fbf,0xea49,0xfffd,
0xffff,0x4fbf,0xf229,0xfffe,0xffff,0x679f,0xf1ac,0xfffe,
0xfffc,0x8f5f,0x0011,0xeb80,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xaf1f,0xff55,0xffff,0xffff,
0x6f7f,0xf80d,0xffff,0xffff,0xffff,0x399f,0xffc7,0xffff,
0xffff,0x3fdf,0xf1a7,0xfffe,0xffff,0xffff,0x39bf,0xffc7,
0xfffd,0xffff,0x5fbf,0xf80b,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x879f,0x0010,0xeb60,0xfffd,
0xffff,0x3fbf,0xf287,0xfffe,0xffff,0x57bf,0xea4a,0xfffd,
0xffff,0x57bf,0xe2aa,0xfffc,0xffff,0x3fbf,0xeaa7,0xfffd,
0x879f,0x0010,0xeb60,0xfffd,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xe7ff,0xe41c,0xfffc,
0xffff,0x8f9f,0x8811,0xff91,0xffff,0x881f,0x8ed1,0xf811,
0x3fbf,0xe287,0xe7fc,0x229c,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xf7ff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffc4,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x037e,0x0220,0x4000,0x7008,0xffff,0xffdf,0xffbf,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x3fdf,0xf987,0xffff,
0xf7ff,0x029e,0x6000,0xffac,0x57bf,0x180a,0x00a3,0xdae0,
0x57bf,0x180a,0x00a3,0xdae0,0xf7ff,0x029e,0x6800,0xff6d,
0xffff,0x3fdf,0xf987,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xe7ff,0x037c,0x9000,0xff12,0xeffb,0xfffd,0x677f,0xf80c,
0xdffb,0x03bb,0x01e0,0xf340,0x079f,0xf2e0,0x07fe,0xf2a0,
0xefff,0x039d,0x02a0,0xf320,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x4fbf,0xf209,0xfffe,0xffff,
0x771f,0xf1ae,0xfffe,0xffff,0x7f9f,0x400f,0x8808,0xff31,
0x57de,0xf8ca,0x5fdf,0xf80b,0x57de,0xf8ca,0x5fdf,0xf80b,
0x7fbe,0x600f,0x880c,0xff71,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xefff,0x039d,0x7800,0xff8f,0x3f5f,0xeae7,0xfffd,0xffff,
0x47bf,0xf268,0xfffe,0xffff,0x07ff,0xeb00,0xfffd,0xffff,
0xe7ff,0x03dc,0x8000,0xff50,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x4fbf,0xea09,
0xffff,0xffff,0x3fbf,0xd307,0xefff,0x039d,0x01e0,0xeb60,
0x37df,0xf246,0x1ffe,0xfa43,0x3fbf,0xf247,0x27fe,0xf264,
0xefff,0x03bd,0x0280,0xd3c0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffd,0xffff,0xffff,0xffff,
0xd7fa,0x03da,0x8000,0xff90,0x1ffd,0xf9c3,0x47df,0xda88,
0x7fbf,0x000f,0x0220,0xdbc0,0x07fe,0xeaa0,0xfffd,0xffff,
0xd7fa,0x03fa,0x7000,0xffae,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xefff,0x041d,0xec20,
0xffff,0x07ff,0xdb20,0xe7fb,0xe7fb,0x02fc,0x02e0,0xf380,
0xfffb,0x4f9f,0xe2c9,0xfffc,0xffff,0x579f,0xea4a,0xfffd,
0xffff,0x47bf,0xf208,0xfffe,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xfffd,0xffff,0xffff,0xffff,
0xe7fc,0x03bc,0x0280,0xfb00,0x1ffe,0xf263,0x1ffe,0xfa43,
0x479f,0xf248,0x1ffe,0xf243,0xefff,0x035d,0x0200,0xf340,
0xffff,0xffff,0x677f,0xf80c,0x879f,0x7010,0x880e,0xff91,
0xffff,0xffff,0xffff,0xffff,0x47bf,0xf208,0xfffe,0xffff,
0x57bf,0xf1ca,0xfffe,0xffff,0x7fbf,0x480f,0x8009,0xff70,
0x57de,0xf88a,0x57bf,0xea0a,0x47fe,0xf9c8,0x3fdf,0xdae7,
0x47df,0xf9a8,0x37df,0xdac6,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x47df,0xf1a8,0xfffe,
0xffff,0xffff,0xffff,0xffff,0xe7ff,0x03dc,0xebe0,0xfffd,
0xfffd,0x2fbf,0xeac5,0xfffd,0xfffb,0x579f,0xf1ca,0xfffe,
0xdffb,0x035b,0x6800,0xffad,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x4fdf,0xf809,
0xffff,0xffff,0xffdf,0xffdf,0xffff,0xffff,0x57bf,0xf8aa,
0xffff,0xffff,0x5fbf,0xf96b,0xffff,0xffff,0x5fbf,0xf96b,
0xffff,0xffff,0x6f9f,0xf80d,0xefff,0x033d,0x8000,0xff90,
0xffff,0xffff,0xffff,0xffff,0x3fdf,0xf227,0xfffe,0xffff,
0x577f,0xeaca,0xfffd,0xffff,0x37bf,0xc3c6,0x0458,0xffe0,
0x6fbf,0x01cd,0xe440,0xfffc,0x27df,0xcba4,0x03f9,0xffc0,
0x37df,0xea66,0x37fd,0xe206,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xf7ff,0x039e,0xe400,0xfffc,
0xffff,0x07df,0xdb20,0xfffb,0xffff,0x57bf,0xe2aa,0xfffc,
0xffff,0x57bf,0xdaaa,0xfffb,0xffff,0x47df,0xea28,0xfffd,
0xdffc,0x035b,0x7800,0xff2f,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x777f,0xf80e,0x47ff,0xf808,0x7f3f,0x180f,0x18a3,0x9803,
0x7f3f,0x000f,0x0160,0xa000,0x5f3f,0x8c2b,0x8e91,0x9b71,
0x671f,0xc32c,0xcff8,0x9279,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x877f,0x5810,0x880b,0xff71,0xa673,0xf814,0x5fdf,0xf80b,
0xae34,0xf815,0x3fff,0xf9e7,0xae33,0xf815,0x47df,0xf208,
0x9e92,0xf813,0x37ff,0xdaa6,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xe7ff,0x03bc,0x8800,0xff11,0x07ff,0xf280,0x5fde,0xf80b,
0x4fdf,0xf9c9,0x47df,0xf208,0x07fe,0xf280,0x5fde,0xf80b,
0xd7fb,0x03da,0x8800,0xff11,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x8f1f,0x5811,0x880b,0xff71,0x5fbf,0xf8eb,0x5fdf,0xf80b,
0x57de,0xf8ea,0x5fdf,0xf80b,0x7f9f,0x400f,0x8008,0xff70,
0x771f,0xf1ae,0xfffe,0xffff,0x4fbf,0xf209,0xfffe,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xe7ff,0x03bc,0x02a0,0xf340,0x07ff,0xf280,0x1ffe,0xf243,
0x07ff,0xf280,0x1ffe,0xf243,0xe7ff,0x039c,0x01e0,0xf340,
0xffff,0xffff,0x47bf,0xf248,0xffff,0xffff,0x4fbf,0xf1e9,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x7fbe,0x600f,0x880c,0xff71,0x57de,0xf94a,0x57ff,0xf80a,
0x3fde,0xea67,0xfffd,0xffff,0x37de,0xf266,0xfffe,0xffff,
0x17fe,0xf242,0xfffe,0xffff,0xfffe,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xe7ff,0x03dc,0x0320,0xf320,0x07ff,0xdb80,0xfffb,0xffff,
0xefff,0x037d,0x7800,0xff8f,0xffff,0xffff,0x7f5f,0xf00f,
0x7fbf,0x700f,0x800e,0xff90,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x4fbf,0xf209,0xfffe,
0x8fbe,0x5811,0x026b,0xf3a0,0xffff,0x579f,0xe2aa,0xfffc,
0xffff,0x579f,0xe2aa,0xfffc,0xfffe,0x3f9f,0xdb27,0xfffb,
0xffff,0xefff,0x041d,0xdc40,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x4fde,0xf989,0x3fdf,0xf9a7,0x6f5f,0xf98d,0x47df,0xf9c8,
0x6f5f,0xf96d,0x47df,0xf208,0x479f,0xf248,0x07fe,0xd320,
0xdffb,0x03db,0x0280,0xdba0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x3fdf,0xf9a7,0x3fdf,0xf9a7,0x47df,0xf9c8,0x47df,0xf9c8,
0x07fe,0xf280,0x67de,0xf80c,0xdffa,0x037b,0x7800,0xff8f,
0xfffb,0x4fbf,0xf969,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x2fdf,0xc345,0xcff8,0x8299,0x27df,0x8c24,0x8e91,0x5411,
0x5fdf,0x000b,0x01a0,0x7000,0xefff,0x02dd,0x0000,0xe2c0,
0xf7ff,0x79de,0x86ef,0xf0f0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x1fdf,0xfa23,0x57df,0xf8ca,0xf7ff,0x031e,0x7000,0xffae,
0xffff,0x37ff,0xf946,0xffff,0xf7ff,0x031e,0x7000,0xffae,
0x1fdf,0xfa23,0x57df,0xf8ca,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x47bf,0xf9a8,0x3fdf,0xf1e7,0x6f1f,0xf9ad,0x3fdf,0xe2a7,
0x4f7f,0xf249,0x07fe,0xdb20,0xe7ff,0x03fc,0x02a0,0xdb60,
0xf7fe,0xe7fe,0x033c,0xff80,0x779f,0x000e,0xeb80,0xfffd,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x6fde,0x100d,0x0222,0xe340,0xfffc,0xf7ff,0x22be,0xff84,
0xfffb,0x4fbf,0xf1e9,0xfffe,0xeffb,0x60dd,0xffac,0xffff,
0x7f5f,0x500f,0x000a,0xdba0,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x3fdf,0xf987,0xffff,
0xe7fc,0x02fc,0x5800,0xffcb,0x6f3f,0x180d,0x00a3,0xe2c0,
0x7f5f,0x280f,0x0125,0xe340,0xffff,0x4f9f,0xea09,0xfffd,
0xdffb,0x035b,0x6800,0xffad,0xffff,0xffff,0xffff,0xffff,
0xffff,0x4fbf,0xf209,0xfffe,0xffff,0x4fbf,0xf209,0xfffc,
0xffff,0x4fbf,0xf209,0xfffb,0xfffc,0x4fbf,0xf209,0xfffb,
0xfffc,0x4fbf,0xf209,0xfffc,0xffff,0x4fbf,0xf209,0xfffc,
0xffff,0x4fbf,0xf209,0xfffd,0xffff,0x4fbf,0xf1e9,0xfffe,
0xffff,0xffff,0xffff,0xffff,0x973f,0x2012,0x0284,0xe3e0,
0x9f1f,0x0013,0xe320,0xf7fc,0x8f3f,0x0011,0x5140,0xff6a,
0x5f5f,0xc36b,0x04b8,0xdbe0,0x677f,0xf1ec,0x07fe,0xdb40,
0xffff,0xffff,0x4fbf,0xf209,0xffff,0xffff,0xffff,0xffff,
0xffff,0xdfff,0xe47b,0xfffc,0xfffc,0x07ff,0xeb80,0xfffd,
0xeffe,0x039d,0xe420,0xfffc,0x5f7f,0x020b,0xe400,0xfffc,
0xe7fb,0x03bc,0xe420,0xfffc,0xfffb,0x07ff,0xeb80,0xfffd,
0xfffe,0xdfff,0xe47b,0xfffc,0xffff,0xffff,0xffff,0xffff,
0xffff,0xaf5f,0xff35,0xf7ff,0xffff,0x879f,0xf810,0xf7ff,
0xffff,0x9f7f,0x7813,0xffcf,0xffff,0x9f7f,0x4013,0xeaa8,
0xffff,0x9f7f,0x7813,0xffcf,0xffff,0x879f,0xf810,0xf7ff,
0xffff,0xaf5f,0xff35,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,
0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,
0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,
0xffff,0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0x0000,0x0000,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0x0000,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,0x0000,0xffff,
0x0000,0xffff,0x0000,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0x0000,0xffff,0x0000,0x0000,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0x0000,0x0000,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0xffff,0x0000,0xffff,
0xffff,0x0000,0xffff,0xffff,0xffff,0x0000,0xffff,0xffff,
0x0000,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x0000,0x0000,0xffff,0xffff,0xffff,0x0000,0x0000,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
};
|
the_stack_data/176706622.c | /**
******************************************************************************
* @file stm32l4xx_ll_adc.c
* @author MCD Application Team
* @brief ADC LL module driver
******************************************************************************
* @attention
*
* <h2><center>© COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
*
* 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 STMicroelectronics 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 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.
*
******************************************************************************
*/
#if defined(USE_FULL_LL_DRIVER)
/* Includes ------------------------------------------------------------------*/
#include "stm32l4xx_ll_adc.h"
#include "stm32l4xx_ll_bus.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0UL)
#endif
/** @addtogroup STM32L4xx_LL_Driver
* @{
*/
#if defined (ADC1) || defined (ADC2) || defined (ADC3)
/** @addtogroup ADC_LL ADC
* @{
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/** @addtogroup ADC_LL_Private_Constants
* @{
*/
/* Definitions of ADC hardware constraints delays */
/* Note: Only ADC IP HW delays are defined in ADC LL driver driver, */
/* not timeout values: */
/* Timeout values for ADC operations are dependent to device clock */
/* configuration (system clock versus ADC clock), */
/* and therefore must be defined in user application. */
/* Refer to @ref ADC_LL_EC_HW_DELAYS for description of ADC timeout */
/* values definition. */
/* Note: ADC timeout values are defined here in CPU cycles to be independent */
/* of device clock setting. */
/* In user application, ADC timeout values should be defined with */
/* temporal values, in function of device clock settings. */
/* Highest ratio CPU clock frequency vs ADC clock frequency: */
/* - ADC clock from synchronous clock with AHB prescaler 512, */
/* APB prescaler 16, ADC prescaler 4. */
/* - ADC clock from asynchronous clock (PLLSAI) with prescaler 1, */
/* with highest ratio CPU clock frequency vs HSI clock frequency: */
/* CPU clock frequency max 72MHz, PLLSAI freq min 26MHz: ratio 4. */
/* Unit: CPU cycles. */
#define ADC_CLOCK_RATIO_VS_CPU_HIGHEST (512UL * 16UL * 4UL)
#define ADC_TIMEOUT_DISABLE_CPU_CYCLES (ADC_CLOCK_RATIO_VS_CPU_HIGHEST * 1UL)
#define ADC_TIMEOUT_STOP_CONVERSION_CPU_CYCLES (ADC_CLOCK_RATIO_VS_CPU_HIGHEST * 1UL)
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @addtogroup ADC_LL_Private_Macros
* @{
*/
/* Check of parameters for configuration of ADC hierarchical scope: */
/* common to several ADC instances. */
#define IS_LL_ADC_COMMON_CLOCK(__CLOCK__) \
( ((__CLOCK__) == LL_ADC_CLOCK_SYNC_PCLK_DIV1) \
|| ((__CLOCK__) == LL_ADC_CLOCK_SYNC_PCLK_DIV2) \
|| ((__CLOCK__) == LL_ADC_CLOCK_SYNC_PCLK_DIV4) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV1) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV2) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV4) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV6) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV8) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV10) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV12) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV16) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV32) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV64) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV128) \
|| ((__CLOCK__) == LL_ADC_CLOCK_ASYNC_DIV256) \
)
/* Check of parameters for configuration of ADC hierarchical scope: */
/* ADC instance. */
#define IS_LL_ADC_RESOLUTION(__RESOLUTION__) \
( ((__RESOLUTION__) == LL_ADC_RESOLUTION_12B) \
|| ((__RESOLUTION__) == LL_ADC_RESOLUTION_10B) \
|| ((__RESOLUTION__) == LL_ADC_RESOLUTION_8B) \
|| ((__RESOLUTION__) == LL_ADC_RESOLUTION_6B) \
)
#define IS_LL_ADC_DATA_ALIGN(__DATA_ALIGN__) \
( ((__DATA_ALIGN__) == LL_ADC_DATA_ALIGN_RIGHT) \
|| ((__DATA_ALIGN__) == LL_ADC_DATA_ALIGN_LEFT) \
)
#define IS_LL_ADC_LOW_POWER(__LOW_POWER__) \
( ((__LOW_POWER__) == LL_ADC_LP_MODE_NONE) \
|| ((__LOW_POWER__) == LL_ADC_LP_AUTOWAIT) \
)
/* Check of parameters for configuration of ADC hierarchical scope: */
/* ADC group regular */
#define IS_LL_ADC_REG_TRIG_SOURCE(__REG_TRIG_SOURCE__) \
( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_TRGO) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_TRGO2) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH1) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH2) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_TRGO) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH2) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_TRGO) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_CH4) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM4_TRGO) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM4_CH4) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM6_TRGO) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_TRGO) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_TRGO2) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM15_TRGO) \
|| ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_EXTI_LINE11) \
)
#define IS_LL_ADC_REG_CONTINUOUS_MODE(__REG_CONTINUOUS_MODE__) \
( ((__REG_CONTINUOUS_MODE__) == LL_ADC_REG_CONV_SINGLE) \
|| ((__REG_CONTINUOUS_MODE__) == LL_ADC_REG_CONV_CONTINUOUS) \
)
#define IS_LL_ADC_REG_DMA_TRANSFER(__REG_DMA_TRANSFER__) \
( ((__REG_DMA_TRANSFER__) == LL_ADC_REG_DMA_TRANSFER_NONE) \
|| ((__REG_DMA_TRANSFER__) == LL_ADC_REG_DMA_TRANSFER_LIMITED) \
|| ((__REG_DMA_TRANSFER__) == LL_ADC_REG_DMA_TRANSFER_UNLIMITED) \
)
#define IS_LL_ADC_REG_OVR_DATA_BEHAVIOR(__REG_OVR_DATA_BEHAVIOR__) \
( ((__REG_OVR_DATA_BEHAVIOR__) == LL_ADC_REG_OVR_DATA_PRESERVED) \
|| ((__REG_OVR_DATA_BEHAVIOR__) == LL_ADC_REG_OVR_DATA_OVERWRITTEN) \
)
#define IS_LL_ADC_REG_SEQ_SCAN_LENGTH(__REG_SEQ_SCAN_LENGTH__) \
( ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_DISABLE) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS) \
|| ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS) \
)
#define IS_LL_ADC_REG_SEQ_SCAN_DISCONT_MODE(__REG_SEQ_DISCONT_MODE__) \
( ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_DISABLE) \
|| ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_1RANK) \
|| ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_2RANKS) \
|| ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_3RANKS) \
|| ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_4RANKS) \
|| ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_5RANKS) \
|| ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_6RANKS) \
|| ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_7RANKS) \
|| ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_8RANKS) \
)
/* Check of parameters for configuration of ADC hierarchical scope: */
/* ADC group injected */
#define IS_LL_ADC_INJ_TRIG_SOURCE(__INJ_TRIG_SOURCE__) \
( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO2) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_TRGO) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_CH1) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_TRGO) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH1) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH3) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH4) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_TRGO) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM6_TRGO) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH4) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_TRGO) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_TRGO2) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM15_TRGO) \
|| ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) \
)
#define IS_LL_ADC_INJ_TRIG_EXT_EDGE(__INJ_TRIG_EXT_EDGE__) \
( ((__INJ_TRIG_EXT_EDGE__) == LL_ADC_INJ_TRIG_EXT_RISING) \
|| ((__INJ_TRIG_EXT_EDGE__) == LL_ADC_INJ_TRIG_EXT_FALLING) \
|| ((__INJ_TRIG_EXT_EDGE__) == LL_ADC_INJ_TRIG_EXT_RISINGFALLING) \
)
#define IS_LL_ADC_INJ_TRIG_AUTO(__INJ_TRIG_AUTO__) \
( ((__INJ_TRIG_AUTO__) == LL_ADC_INJ_TRIG_INDEPENDENT) \
|| ((__INJ_TRIG_AUTO__) == LL_ADC_INJ_TRIG_FROM_GRP_REGULAR) \
)
#define IS_LL_ADC_INJ_SEQ_SCAN_LENGTH(__INJ_SEQ_SCAN_LENGTH__) \
( ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_DISABLE) \
|| ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS) \
|| ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS) \
|| ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS) \
)
#define IS_LL_ADC_INJ_SEQ_SCAN_DISCONT_MODE(__INJ_SEQ_DISCONT_MODE__) \
( ((__INJ_SEQ_DISCONT_MODE__) == LL_ADC_INJ_SEQ_DISCONT_DISABLE) \
|| ((__INJ_SEQ_DISCONT_MODE__) == LL_ADC_INJ_SEQ_DISCONT_1RANK) \
)
#if defined(ADC_MULTIMODE_SUPPORT)
/* Check of parameters for configuration of ADC hierarchical scope: */
/* multimode. */
#define IS_LL_ADC_MULTI_MODE(__MULTI_MODE__) \
( ((__MULTI_MODE__) == LL_ADC_MULTI_INDEPENDENT) \
|| ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIMULT) \
|| ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTERL) \
|| ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_INJ_SIMULT) \
|| ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_INJ_ALTERN) \
|| ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM) \
|| ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT) \
|| ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INT_INJ_SIM) \
)
#define IS_LL_ADC_MULTI_DMA_TRANSFER(__MULTI_DMA_TRANSFER__) \
( ((__MULTI_DMA_TRANSFER__) == LL_ADC_MULTI_REG_DMA_EACH_ADC) \
|| ((__MULTI_DMA_TRANSFER__) == LL_ADC_MULTI_REG_DMA_LIMIT_RES12_10B) \
|| ((__MULTI_DMA_TRANSFER__) == LL_ADC_MULTI_REG_DMA_LIMIT_RES8_6B) \
|| ((__MULTI_DMA_TRANSFER__) == LL_ADC_MULTI_REG_DMA_UNLMT_RES12_10B) \
|| ((__MULTI_DMA_TRANSFER__) == LL_ADC_MULTI_REG_DMA_UNLMT_RES8_6B) \
)
#define IS_LL_ADC_MULTI_TWOSMP_DELAY(__MULTI_TWOSMP_DELAY__) \
( ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_1CYCLE) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_2CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_3CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_7CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_8CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_9CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_10CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_11CYCLES) \
|| ((__MULTI_TWOSMP_DELAY__) == LL_ADC_MULTI_TWOSMP_DELAY_12CYCLES) \
)
#define IS_LL_ADC_MULTI_MASTER_SLAVE(__MULTI_MASTER_SLAVE__) \
( ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_MASTER) \
|| ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_SLAVE) \
|| ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_MASTER_SLAVE) \
)
#endif /* ADC_MULTIMODE_SUPPORT */
/**
* @}
*/
/* Private function prototypes -----------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup ADC_LL_Exported_Functions
* @{
*/
/** @addtogroup ADC_LL_EF_Init
* @{
*/
/**
* @brief De-initialize registers of all ADC instances belonging to
* the same ADC common instance to their default reset values.
* @note This function is performing a hard reset, using high level
* clock source RCC ADC reset.
* Caution: On this STM32 serie, if several ADC instances are available
* on the selected device, RCC ADC reset will reset
* all ADC instances belonging to the common ADC instance.
* To de-initialize only 1 ADC instance, use
* function @ref LL_ADC_DeInit().
* @param ADCxy_COMMON ADC common instance
* (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() )
* @retval An ErrorStatus enumeration value:
* - SUCCESS: ADC common registers are de-initialized
* - ERROR: not applicable
*/
ErrorStatus LL_ADC_CommonDeInit(ADC_Common_TypeDef *ADCxy_COMMON)
{
/* Check the parameters */
assert_param(IS_ADC_COMMON_INSTANCE(ADCxy_COMMON));
/* Force reset of ADC clock (core clock) */
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_ADC);
/* Release reset of ADC clock (core clock) */
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_ADC);
return SUCCESS;
}
/**
* @brief Initialize some features of ADC common parameters
* (all ADC instances belonging to the same ADC common instance)
* and multimode (for devices with several ADC instances available).
* @note The setting of ADC common parameters is conditioned to
* ADC instances state:
* All ADC instances belonging to the same ADC common instance
* must be disabled.
* @param ADCxy_COMMON ADC common instance
* (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() )
* @param ADC_CommonInitStruct Pointer to a @ref LL_ADC_CommonInitTypeDef structure
* @retval An ErrorStatus enumeration value:
* - SUCCESS: ADC common registers are initialized
* - ERROR: ADC common registers are not initialized
*/
ErrorStatus LL_ADC_CommonInit(ADC_Common_TypeDef *ADCxy_COMMON, LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct)
{
ErrorStatus status = SUCCESS;
/* Check the parameters */
assert_param(IS_ADC_COMMON_INSTANCE(ADCxy_COMMON));
assert_param(IS_LL_ADC_COMMON_CLOCK(ADC_CommonInitStruct->CommonClock));
#if defined(ADC_MULTIMODE_SUPPORT)
assert_param(IS_LL_ADC_MULTI_MODE(ADC_CommonInitStruct->Multimode));
if(ADC_CommonInitStruct->Multimode != LL_ADC_MULTI_INDEPENDENT)
{
assert_param(IS_LL_ADC_MULTI_DMA_TRANSFER(ADC_CommonInitStruct->MultiDMATransfer));
assert_param(IS_LL_ADC_MULTI_TWOSMP_DELAY(ADC_CommonInitStruct->MultiTwoSamplingDelay));
}
#endif /* ADC_MULTIMODE_SUPPORT */
/* Note: Hardware constraint (refer to description of functions */
/* "LL_ADC_SetCommonXXX()" and "LL_ADC_SetMultiXXX()"): */
/* On this STM32 serie, setting of these features is conditioned to */
/* ADC state: */
/* All ADC instances of the ADC common group must be disabled. */
if(__LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(ADCxy_COMMON) == 0UL)
{
/* Configuration of ADC hierarchical scope: */
/* - common to several ADC */
/* (all ADC instances belonging to the same ADC common instance) */
/* - Set ADC clock (conversion clock) */
/* - multimode (if several ADC instances available on the */
/* selected device) */
/* - Set ADC multimode configuration */
/* - Set ADC multimode DMA transfer */
/* - Set ADC multimode: delay between 2 sampling phases */
#if defined(ADC_MULTIMODE_SUPPORT)
if(ADC_CommonInitStruct->Multimode != LL_ADC_MULTI_INDEPENDENT)
{
MODIFY_REG(ADCxy_COMMON->CCR,
ADC_CCR_CKMODE
| ADC_CCR_PRESC
| ADC_CCR_DUAL
| ADC_CCR_MDMA
| ADC_CCR_DELAY
,
ADC_CommonInitStruct->CommonClock
| ADC_CommonInitStruct->Multimode
| ADC_CommonInitStruct->MultiDMATransfer
| ADC_CommonInitStruct->MultiTwoSamplingDelay
);
}
else
{
MODIFY_REG(ADCxy_COMMON->CCR,
ADC_CCR_CKMODE
| ADC_CCR_PRESC
| ADC_CCR_DUAL
| ADC_CCR_MDMA
| ADC_CCR_DELAY
,
ADC_CommonInitStruct->CommonClock
| LL_ADC_MULTI_INDEPENDENT
);
}
#else
LL_ADC_SetCommonClock(ADCxy_COMMON, ADC_CommonInitStruct->CommonClock);
#endif
}
else
{
/* Initialization error: One or several ADC instances belonging to */
/* the same ADC common instance are not disabled. */
status = ERROR;
}
return status;
}
/**
* @brief Set each @ref LL_ADC_CommonInitTypeDef field to default value.
* @param ADC_CommonInitStruct Pointer to a @ref LL_ADC_CommonInitTypeDef structure
* whose fields will be set to default values.
* @retval None
*/
void LL_ADC_CommonStructInit(LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct)
{
/* Set ADC_CommonInitStruct fields to default values */
/* Set fields of ADC common */
/* (all ADC instances belonging to the same ADC common instance) */
ADC_CommonInitStruct->CommonClock = LL_ADC_CLOCK_SYNC_PCLK_DIV2;
#if defined(ADC_MULTIMODE_SUPPORT)
/* Set fields of ADC multimode */
ADC_CommonInitStruct->Multimode = LL_ADC_MULTI_INDEPENDENT;
ADC_CommonInitStruct->MultiDMATransfer = LL_ADC_MULTI_REG_DMA_EACH_ADC;
ADC_CommonInitStruct->MultiTwoSamplingDelay = LL_ADC_MULTI_TWOSMP_DELAY_1CYCLE;
#endif /* ADC_MULTIMODE_SUPPORT */
}
/**
* @brief De-initialize registers of the selected ADC instance
* to their default reset values.
* @note To reset all ADC instances quickly (perform a hard reset),
* use function @ref LL_ADC_CommonDeInit().
* @note If this functions returns error status, it means that ADC instance
* is in an unknown state.
* In this case, perform a hard reset using high level
* clock source RCC ADC reset.
* Caution: On this STM32 serie, if several ADC instances are available
* on the selected device, RCC ADC reset will reset
* all ADC instances belonging to the common ADC instance.
* Refer to function @ref LL_ADC_CommonDeInit().
* @param ADCx ADC instance
* @retval An ErrorStatus enumeration value:
* - SUCCESS: ADC registers are de-initialized
* - ERROR: ADC registers are not de-initialized
*/
ErrorStatus LL_ADC_DeInit(ADC_TypeDef *ADCx)
{
ErrorStatus status = SUCCESS;
__IO uint32_t timeout_cpu_cycles = 0UL;
/* Check the parameters */
assert_param(IS_ADC_ALL_INSTANCE(ADCx));
/* Disable ADC instance if not already disabled. */
if(LL_ADC_IsEnabled(ADCx) == 1UL)
{
/* Set ADC group regular trigger source to SW start to ensure to not */
/* have an external trigger event occurring during the conversion stop */
/* ADC disable process. */
LL_ADC_REG_SetTriggerSource(ADCx, LL_ADC_REG_TRIG_SOFTWARE);
/* Stop potential ADC conversion on going on ADC group regular. */
if(LL_ADC_REG_IsConversionOngoing(ADCx) != 0UL)
{
if(LL_ADC_REG_IsStopConversionOngoing(ADCx) == 0UL)
{
LL_ADC_REG_StopConversion(ADCx);
}
}
/* Set ADC group injected trigger source to SW start to ensure to not */
/* have an external trigger event occurring during the conversion stop */
/* ADC disable process. */
LL_ADC_INJ_SetTriggerSource(ADCx, LL_ADC_INJ_TRIG_SOFTWARE);
/* Stop potential ADC conversion on going on ADC group injected. */
if(LL_ADC_INJ_IsConversionOngoing(ADCx) != 0UL)
{
if(LL_ADC_INJ_IsStopConversionOngoing(ADCx) == 0UL)
{
LL_ADC_INJ_StopConversion(ADCx);
}
}
/* Wait for ADC conversions are effectively stopped */
timeout_cpu_cycles = ADC_TIMEOUT_STOP_CONVERSION_CPU_CYCLES;
while (( LL_ADC_REG_IsStopConversionOngoing(ADCx)
| LL_ADC_INJ_IsStopConversionOngoing(ADCx)) == 1UL)
{
timeout_cpu_cycles--;
if(timeout_cpu_cycles == 0UL)
{
/* Time-out error */
status = ERROR;
}
}
/* Flush group injected contexts queue (register JSQR): */
/* Note: Bit JQM must be set to empty the contexts queue (otherwise */
/* contexts queue is maintained with the last active context). */
LL_ADC_INJ_SetQueueMode(ADCx, LL_ADC_INJ_QUEUE_2CONTEXTS_END_EMPTY);
/* Disable the ADC instance */
LL_ADC_Disable(ADCx);
/* Wait for ADC instance is effectively disabled */
timeout_cpu_cycles = ADC_TIMEOUT_DISABLE_CPU_CYCLES;
while (LL_ADC_IsDisableOngoing(ADCx) == 1UL)
{
timeout_cpu_cycles--;
if(timeout_cpu_cycles == 0UL)
{
/* Time-out error */
status = ERROR;
}
}
}
/* Check whether ADC state is compliant with expected state */
if(READ_BIT(ADCx->CR,
( ADC_CR_JADSTP | ADC_CR_ADSTP | ADC_CR_JADSTART | ADC_CR_ADSTART
| ADC_CR_ADDIS | ADC_CR_ADEN )
)
== 0UL)
{
/* ========== Reset ADC registers ========== */
/* Reset register IER */
CLEAR_BIT(ADCx->IER,
( LL_ADC_IT_ADRDY
| LL_ADC_IT_EOC
| LL_ADC_IT_EOS
| LL_ADC_IT_OVR
| LL_ADC_IT_EOSMP
| LL_ADC_IT_JEOC
| LL_ADC_IT_JEOS
| LL_ADC_IT_JQOVF
| LL_ADC_IT_AWD1
| LL_ADC_IT_AWD2
| LL_ADC_IT_AWD3
)
);
/* Reset register ISR */
SET_BIT(ADCx->ISR,
( LL_ADC_FLAG_ADRDY
| LL_ADC_FLAG_EOC
| LL_ADC_FLAG_EOS
| LL_ADC_FLAG_OVR
| LL_ADC_FLAG_EOSMP
| LL_ADC_FLAG_JEOC
| LL_ADC_FLAG_JEOS
| LL_ADC_FLAG_JQOVF
| LL_ADC_FLAG_AWD1
| LL_ADC_FLAG_AWD2
| LL_ADC_FLAG_AWD3
)
);
/* Reset register CR */
/* - Bits ADC_CR_JADSTP, ADC_CR_ADSTP, ADC_CR_JADSTART, ADC_CR_ADSTART, */
/* ADC_CR_ADCAL, ADC_CR_ADDIS, ADC_CR_ADEN are in */
/* access mode "read-set": no direct reset applicable. */
/* - Reset Calibration mode to default setting (single ended). */
/* - Disable ADC internal voltage regulator. */
/* - Enable ADC deep power down. */
/* Note: ADC internal voltage regulator disable and ADC deep power */
/* down enable are conditioned to ADC state disabled: */
/* already done above. */
CLEAR_BIT(ADCx->CR, ADC_CR_ADVREGEN | ADC_CR_ADCALDIF);
SET_BIT(ADCx->CR, ADC_CR_DEEPPWD);
/* Reset register CFGR */
MODIFY_REG(ADCx->CFGR,
( ADC_CFGR_AWD1CH | ADC_CFGR_JAUTO | ADC_CFGR_JAWD1EN
| ADC_CFGR_AWD1EN | ADC_CFGR_AWD1SGL | ADC_CFGR_JQM
| ADC_CFGR_JDISCEN | ADC_CFGR_DISCNUM | ADC_CFGR_DISCEN
| ADC_CFGR_AUTDLY | ADC_CFGR_CONT | ADC_CFGR_OVRMOD
| ADC_CFGR_EXTEN | ADC_CFGR_EXTSEL | ADC_CFGR_ALIGN
| ADC_CFGR_RES | ADC_CFGR_DMACFG | ADC_CFGR_DMAEN ),
ADC_CFGR_JQDIS
);
/* Reset register CFGR2 */
CLEAR_BIT(ADCx->CFGR2,
( ADC_CFGR2_ROVSM | ADC_CFGR2_TROVS | ADC_CFGR2_OVSS
| ADC_CFGR2_OVSR | ADC_CFGR2_JOVSE | ADC_CFGR2_ROVSE)
);
/* Reset register SMPR1 */
CLEAR_BIT(ADCx->SMPR1,
( ADC_SMPR1_SMP9 | ADC_SMPR1_SMP8 | ADC_SMPR1_SMP7
| ADC_SMPR1_SMP6 | ADC_SMPR1_SMP5 | ADC_SMPR1_SMP4
| ADC_SMPR1_SMP3 | ADC_SMPR1_SMP2 | ADC_SMPR1_SMP1)
);
/* Reset register SMPR2 */
CLEAR_BIT(ADCx->SMPR2,
( ADC_SMPR2_SMP18 | ADC_SMPR2_SMP17 | ADC_SMPR2_SMP16
| ADC_SMPR2_SMP15 | ADC_SMPR2_SMP14 | ADC_SMPR2_SMP13
| ADC_SMPR2_SMP12 | ADC_SMPR2_SMP11 | ADC_SMPR2_SMP10)
);
/* Reset register TR1 */
MODIFY_REG(ADCx->TR1, ADC_TR1_HT1 | ADC_TR1_LT1, ADC_TR1_HT1);
/* Reset register TR2 */
MODIFY_REG(ADCx->TR2, ADC_TR2_HT2 | ADC_TR2_LT2, ADC_TR2_HT2);
/* Reset register TR3 */
MODIFY_REG(ADCx->TR3, ADC_TR3_HT3 | ADC_TR3_LT3, ADC_TR3_HT3);
/* Reset register SQR1 */
CLEAR_BIT(ADCx->SQR1,
( ADC_SQR1_SQ4 | ADC_SQR1_SQ3 | ADC_SQR1_SQ2
| ADC_SQR1_SQ1 | ADC_SQR1_L)
);
/* Reset register SQR2 */
CLEAR_BIT(ADCx->SQR2,
( ADC_SQR2_SQ9 | ADC_SQR2_SQ8 | ADC_SQR2_SQ7
| ADC_SQR2_SQ6 | ADC_SQR2_SQ5)
);
/* Reset register SQR3 */
CLEAR_BIT(ADCx->SQR3,
( ADC_SQR3_SQ14 | ADC_SQR3_SQ13 | ADC_SQR3_SQ12
| ADC_SQR3_SQ11 | ADC_SQR3_SQ10)
);
/* Reset register SQR4 */
CLEAR_BIT(ADCx->SQR4, ADC_SQR4_SQ16 | ADC_SQR4_SQ15);
/* Reset register JSQR */
CLEAR_BIT(ADCx->JSQR,
( ADC_JSQR_JL
| ADC_JSQR_JEXTSEL | ADC_JSQR_JEXTEN
| ADC_JSQR_JSQ4 | ADC_JSQR_JSQ3
| ADC_JSQR_JSQ2 | ADC_JSQR_JSQ1 )
);
/* Reset register DR */
/* Note: bits in access mode read only, no direct reset applicable */
/* Reset register OFR1 */
CLEAR_BIT(ADCx->OFR1, ADC_OFR1_OFFSET1_EN | ADC_OFR1_OFFSET1_CH | ADC_OFR1_OFFSET1);
/* Reset register OFR2 */
CLEAR_BIT(ADCx->OFR2, ADC_OFR2_OFFSET2_EN | ADC_OFR2_OFFSET2_CH | ADC_OFR2_OFFSET2);
/* Reset register OFR3 */
CLEAR_BIT(ADCx->OFR3, ADC_OFR3_OFFSET3_EN | ADC_OFR3_OFFSET3_CH | ADC_OFR3_OFFSET3);
/* Reset register OFR4 */
CLEAR_BIT(ADCx->OFR4, ADC_OFR4_OFFSET4_EN | ADC_OFR4_OFFSET4_CH | ADC_OFR4_OFFSET4);
/* Reset registers JDR1, JDR2, JDR3, JDR4 */
/* Note: bits in access mode read only, no direct reset applicable */
/* Reset register AWD2CR */
CLEAR_BIT(ADCx->AWD2CR, ADC_AWD2CR_AWD2CH);
/* Reset register AWD3CR */
CLEAR_BIT(ADCx->AWD3CR, ADC_AWD3CR_AWD3CH);
/* Reset register DIFSEL */
CLEAR_BIT(ADCx->DIFSEL, ADC_DIFSEL_DIFSEL);
/* Reset register CALFACT */
CLEAR_BIT(ADCx->CALFACT, ADC_CALFACT_CALFACT_D | ADC_CALFACT_CALFACT_S);
}
else
{
/* ADC instance is in an unknown state */
/* Need to performing a hard reset of ADC instance, using high level */
/* clock source RCC ADC reset. */
/* Caution: On this STM32 serie, if several ADC instances are available */
/* on the selected device, RCC ADC reset will reset */
/* all ADC instances belonging to the common ADC instance. */
/* Caution: On this STM32 serie, if several ADC instances are available */
/* on the selected device, RCC ADC reset will reset */
/* all ADC instances belonging to the common ADC instance. */
status = ERROR;
}
return status;
}
/**
* @brief Initialize some features of ADC instance.
* @note These parameters have an impact on ADC scope: ADC instance.
* Affects both group regular and group injected (availability
* of ADC group injected depends on STM32 families).
* Refer to corresponding unitary functions into
* @ref ADC_LL_EF_Configuration_ADC_Instance .
* @note The setting of these parameters by function @ref LL_ADC_Init()
* is conditioned to ADC state:
* ADC instance must be disabled.
* This condition is applied to all ADC features, for efficiency
* and compatibility over all STM32 families. However, the different
* features can be set under different ADC state conditions
* (setting possible with ADC enabled without conversion on going,
* ADC enabled with conversion on going, ...)
* Each feature can be updated afterwards with a unitary function
* and potentially with ADC in a different state than disabled,
* refer to description of each function for setting
* conditioned to ADC state.
* @note After using this function, some other features must be configured
* using LL unitary functions.
* The minimum configuration remaining to be done is:
* - Set ADC group regular or group injected sequencer:
* map channel on the selected sequencer rank.
* Refer to function @ref LL_ADC_REG_SetSequencerRanks().
* - Set ADC channel sampling time
* Refer to function LL_ADC_SetChannelSamplingTime();
* @param ADCx ADC instance
* @param ADC_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure
* @retval An ErrorStatus enumeration value:
* - SUCCESS: ADC registers are initialized
* - ERROR: ADC registers are not initialized
*/
ErrorStatus LL_ADC_Init(ADC_TypeDef *ADCx, LL_ADC_InitTypeDef *ADC_InitStruct)
{
ErrorStatus status = SUCCESS;
/* Check the parameters */
assert_param(IS_ADC_ALL_INSTANCE(ADCx));
assert_param(IS_LL_ADC_RESOLUTION(ADC_InitStruct->Resolution));
assert_param(IS_LL_ADC_DATA_ALIGN(ADC_InitStruct->DataAlignment));
assert_param(IS_LL_ADC_LOW_POWER(ADC_InitStruct->LowPowerMode));
/* Note: Hardware constraint (refer to description of this function): */
/* ADC instance must be disabled. */
if(LL_ADC_IsEnabled(ADCx) == 0UL)
{
/* Configuration of ADC hierarchical scope: */
/* - ADC instance */
/* - Set ADC data resolution */
/* - Set ADC conversion data alignment */
/* - Set ADC low power mode */
MODIFY_REG(ADCx->CFGR,
ADC_CFGR_RES
| ADC_CFGR_ALIGN
| ADC_CFGR_AUTDLY
,
ADC_InitStruct->Resolution
| ADC_InitStruct->DataAlignment
| ADC_InitStruct->LowPowerMode
);
}
else
{
/* Initialization error: ADC instance is not disabled. */
status = ERROR;
}
return status;
}
/**
* @brief Set each @ref LL_ADC_InitTypeDef field to default value.
* @param ADC_InitStruct Pointer to a @ref LL_ADC_InitTypeDef structure
* whose fields will be set to default values.
* @retval None
*/
void LL_ADC_StructInit(LL_ADC_InitTypeDef *ADC_InitStruct)
{
/* Set ADC_InitStruct fields to default values */
/* Set fields of ADC instance */
ADC_InitStruct->Resolution = LL_ADC_RESOLUTION_12B;
ADC_InitStruct->DataAlignment = LL_ADC_DATA_ALIGN_RIGHT;
ADC_InitStruct->LowPowerMode = LL_ADC_LP_MODE_NONE;
}
/**
* @brief Initialize some features of ADC group regular.
* @note These parameters have an impact on ADC scope: ADC group regular.
* Refer to corresponding unitary functions into
* @ref ADC_LL_EF_Configuration_ADC_Group_Regular
* (functions with prefix "REG").
* @note The setting of these parameters by function @ref LL_ADC_Init()
* is conditioned to ADC state:
* ADC instance must be disabled.
* This condition is applied to all ADC features, for efficiency
* and compatibility over all STM32 families. However, the different
* features can be set under different ADC state conditions
* (setting possible with ADC enabled without conversion on going,
* ADC enabled with conversion on going, ...)
* Each feature can be updated afterwards with a unitary function
* and potentially with ADC in a different state than disabled,
* refer to description of each function for setting
* conditioned to ADC state.
* @note After using this function, other features must be configured
* using LL unitary functions.
* The minimum configuration remaining to be done is:
* - Set ADC group regular or group injected sequencer:
* map channel on the selected sequencer rank.
* Refer to function @ref LL_ADC_REG_SetSequencerRanks().
* - Set ADC channel sampling time
* Refer to function LL_ADC_SetChannelSamplingTime();
* @param ADCx ADC instance
* @param ADC_REG_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure
* @retval An ErrorStatus enumeration value:
* - SUCCESS: ADC registers are initialized
* - ERROR: ADC registers are not initialized
*/
ErrorStatus LL_ADC_REG_Init(ADC_TypeDef *ADCx, LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct)
{
ErrorStatus status = SUCCESS;
/* Check the parameters */
assert_param(IS_ADC_ALL_INSTANCE(ADCx));
assert_param(IS_LL_ADC_REG_TRIG_SOURCE(ADC_REG_InitStruct->TriggerSource));
assert_param(IS_LL_ADC_REG_SEQ_SCAN_LENGTH(ADC_REG_InitStruct->SequencerLength));
if(ADC_REG_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE)
{
assert_param(IS_LL_ADC_REG_SEQ_SCAN_DISCONT_MODE(ADC_REG_InitStruct->SequencerDiscont));
}
assert_param(IS_LL_ADC_REG_CONTINUOUS_MODE(ADC_REG_InitStruct->ContinuousMode));
assert_param(IS_LL_ADC_REG_DMA_TRANSFER(ADC_REG_InitStruct->DMATransfer));
assert_param(IS_LL_ADC_REG_OVR_DATA_BEHAVIOR(ADC_REG_InitStruct->Overrun));
/* Note: Hardware constraint (refer to description of this function): */
/* ADC instance must be disabled. */
if(LL_ADC_IsEnabled(ADCx) == 0UL)
{
/* Configuration of ADC hierarchical scope: */
/* - ADC group regular */
/* - Set ADC group regular trigger source */
/* - Set ADC group regular sequencer length */
/* - Set ADC group regular sequencer discontinuous mode */
/* - Set ADC group regular continuous mode */
/* - Set ADC group regular conversion data transfer: no transfer or */
/* transfer by DMA, and DMA requests mode */
/* - Set ADC group regular overrun behavior */
/* Note: On this STM32 serie, ADC trigger edge is set to value 0x0 by */
/* setting of trigger source to SW start. */
if(ADC_REG_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE)
{
MODIFY_REG(ADCx->CFGR,
ADC_CFGR_EXTSEL
| ADC_CFGR_EXTEN
| ADC_CFGR_DISCEN
| ADC_CFGR_DISCNUM
| ADC_CFGR_CONT
| ADC_CFGR_DMAEN
| ADC_CFGR_DMACFG
| ADC_CFGR_OVRMOD
,
ADC_REG_InitStruct->TriggerSource
| ADC_REG_InitStruct->SequencerDiscont
| ADC_REG_InitStruct->ContinuousMode
| ADC_REG_InitStruct->DMATransfer
| ADC_REG_InitStruct->Overrun
);
}
else
{
MODIFY_REG(ADCx->CFGR,
ADC_CFGR_EXTSEL
| ADC_CFGR_EXTEN
| ADC_CFGR_DISCEN
| ADC_CFGR_DISCNUM
| ADC_CFGR_CONT
| ADC_CFGR_DMAEN
| ADC_CFGR_DMACFG
| ADC_CFGR_OVRMOD
,
ADC_REG_InitStruct->TriggerSource
| LL_ADC_REG_SEQ_DISCONT_DISABLE
| ADC_REG_InitStruct->ContinuousMode
| ADC_REG_InitStruct->DMATransfer
| ADC_REG_InitStruct->Overrun
);
}
/* Set ADC group regular sequencer length and scan direction */
LL_ADC_REG_SetSequencerLength(ADCx, ADC_REG_InitStruct->SequencerLength);
}
else
{
/* Initialization error: ADC instance is not disabled. */
status = ERROR;
}
return status;
}
/**
* @brief Set each @ref LL_ADC_REG_InitTypeDef field to default value.
* @param ADC_REG_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure
* whose fields will be set to default values.
* @retval None
*/
void LL_ADC_REG_StructInit(LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct)
{
/* Set ADC_REG_InitStruct fields to default values */
/* Set fields of ADC group regular */
/* Note: On this STM32 serie, ADC trigger edge is set to value 0x0 by */
/* setting of trigger source to SW start. */
ADC_REG_InitStruct->TriggerSource = LL_ADC_REG_TRIG_SOFTWARE;
ADC_REG_InitStruct->SequencerLength = LL_ADC_REG_SEQ_SCAN_DISABLE;
ADC_REG_InitStruct->SequencerDiscont = LL_ADC_REG_SEQ_DISCONT_DISABLE;
ADC_REG_InitStruct->ContinuousMode = LL_ADC_REG_CONV_SINGLE;
ADC_REG_InitStruct->DMATransfer = LL_ADC_REG_DMA_TRANSFER_NONE;
ADC_REG_InitStruct->Overrun = LL_ADC_REG_OVR_DATA_OVERWRITTEN;
}
/**
* @brief Initialize some features of ADC group injected.
* @note These parameters have an impact on ADC scope: ADC group injected.
* Refer to corresponding unitary functions into
* @ref ADC_LL_EF_Configuration_ADC_Group_Regular
* (functions with prefix "INJ").
* @note The setting of these parameters by function @ref LL_ADC_Init()
* is conditioned to ADC state:
* ADC instance must be disabled.
* This condition is applied to all ADC features, for efficiency
* and compatibility over all STM32 families. However, the different
* features can be set under different ADC state conditions
* (setting possible with ADC enabled without conversion on going,
* ADC enabled with conversion on going, ...)
* Each feature can be updated afterwards with a unitary function
* and potentially with ADC in a different state than disabled,
* refer to description of each function for setting
* conditioned to ADC state.
* @note After using this function, other features must be configured
* using LL unitary functions.
* The minimum configuration remaining to be done is:
* - Set ADC group injected sequencer:
* map channel on the selected sequencer rank.
* Refer to function @ref LL_ADC_INJ_SetSequencerRanks().
* - Set ADC channel sampling time
* Refer to function LL_ADC_SetChannelSamplingTime();
* @param ADCx ADC instance
* @param ADC_INJ_InitStruct Pointer to a @ref LL_ADC_INJ_InitTypeDef structure
* @retval An ErrorStatus enumeration value:
* - SUCCESS: ADC registers are initialized
* - ERROR: ADC registers are not initialized
*/
ErrorStatus LL_ADC_INJ_Init(ADC_TypeDef *ADCx, LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct)
{
ErrorStatus status = SUCCESS;
/* Check the parameters */
assert_param(IS_ADC_ALL_INSTANCE(ADCx));
assert_param(IS_LL_ADC_INJ_TRIG_SOURCE(ADC_INJ_InitStruct->TriggerSource));
assert_param(IS_LL_ADC_INJ_SEQ_SCAN_LENGTH(ADC_INJ_InitStruct->SequencerLength));
if(ADC_INJ_InitStruct->SequencerLength != LL_ADC_INJ_SEQ_SCAN_DISABLE)
{
assert_param(IS_LL_ADC_INJ_SEQ_SCAN_DISCONT_MODE(ADC_INJ_InitStruct->SequencerDiscont));
}
assert_param(IS_LL_ADC_INJ_TRIG_AUTO(ADC_INJ_InitStruct->TrigAuto));
/* Note: Hardware constraint (refer to description of this function): */
/* ADC instance must be disabled. */
if(LL_ADC_IsEnabled(ADCx) == 0UL)
{
/* Configuration of ADC hierarchical scope: */
/* - ADC group injected */
/* - Set ADC group injected trigger source */
/* - Set ADC group injected sequencer length */
/* - Set ADC group injected sequencer discontinuous mode */
/* - Set ADC group injected conversion trigger: independent or */
/* from ADC group regular */
/* Note: On this STM32 serie, ADC trigger edge is set to value 0x0 by */
/* setting of trigger source to SW start. */
if(ADC_INJ_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE)
{
MODIFY_REG(ADCx->CFGR,
ADC_CFGR_JDISCEN
| ADC_CFGR_JAUTO
,
ADC_INJ_InitStruct->SequencerDiscont
| ADC_INJ_InitStruct->TrigAuto
);
}
else
{
MODIFY_REG(ADCx->CFGR,
ADC_CFGR_JDISCEN
| ADC_CFGR_JAUTO
,
LL_ADC_REG_SEQ_DISCONT_DISABLE
| ADC_INJ_InitStruct->TrigAuto
);
}
MODIFY_REG(ADCx->JSQR,
ADC_JSQR_JEXTSEL
| ADC_JSQR_JEXTEN
| ADC_JSQR_JL
,
ADC_INJ_InitStruct->TriggerSource
| ADC_INJ_InitStruct->SequencerLength
);
}
else
{
/* Initialization error: ADC instance is not disabled. */
status = ERROR;
}
return status;
}
/**
* @brief Set each @ref LL_ADC_INJ_InitTypeDef field to default value.
* @param ADC_INJ_InitStruct Pointer to a @ref LL_ADC_INJ_InitTypeDef structure
* whose fields will be set to default values.
* @retval None
*/
void LL_ADC_INJ_StructInit(LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct)
{
/* Set ADC_INJ_InitStruct fields to default values */
/* Set fields of ADC group injected */
ADC_INJ_InitStruct->TriggerSource = LL_ADC_INJ_TRIG_SOFTWARE;
ADC_INJ_InitStruct->SequencerLength = LL_ADC_INJ_SEQ_SCAN_DISABLE;
ADC_INJ_InitStruct->SequencerDiscont = LL_ADC_INJ_SEQ_DISCONT_DISABLE;
ADC_INJ_InitStruct->TrigAuto = LL_ADC_INJ_TRIG_INDEPENDENT;
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#endif /* ADC1 || ADC2 || ADC3 */
/**
* @}
*/
#endif /* USE_FULL_LL_DRIVER */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
the_stack_data/140529.c | // RUN: %clang --analyze %s -Xanalyzer -analyzer-output=text -Xclang -verify
// RUN: %clang --analyze %s -o %t
// RUN: FileCheck --input-file=%t %s
void testCondOp(int *p) {
int *x = p ? p : p;
// expected-note@-1 {{Assuming 'p' is null}}
// expected-note@-2 {{'?' condition is false}}
// expected-note@-3 {{Variable 'x' initialized to a null pointer value}}
*x = 1; // expected-warning{{Dereference of null pointer (loaded from variable 'x')}}
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'x')}}
}
void testCondProblem(int *p) {
if (p) return;
// expected-note@-1 {{Assuming 'p' is null}}
// expected-note@-2 {{Taking false branch}}
int x = *p ? 0 : 1; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}}
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'p')}}
(void)x;
}
void testLHSProblem(int *p) {
int x = !p ? *p : 1; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}}
// expected-note@-1 {{Assuming 'p' is null}}
// expected-note@-2 {{'?' condition is true}}
// expected-note@-3 {{Dereference of null pointer (loaded from variable 'p')}}
(void)x;
}
void testRHSProblem(int *p) {
int x = p ? 1 : *p; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}}
// expected-note@-1 {{Assuming 'p' is null}}
// expected-note@-2 {{'?' condition is false}}
// expected-note@-3 {{Dereference of null pointer (loaded from variable 'p')}}
(void)x;
}
void testBinaryCondOp(int *p) {
int *x = p ?: p;
// expected-note@-1 {{'?' condition is false}}
// expected-note@-2 {{Variable 'x' initialized to a null pointer value}}
*x = 1; // expected-warning{{Dereference of null pointer (loaded from variable 'x')}}
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'x')}}
}
void testBinaryLHSProblem(int *p) {
if (p) return;
// expected-note@-1 {{Assuming 'p' is null}}
// expected-note@-2 {{Taking false branch}}
int x = *p ?: 1; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}}
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'p')}}
(void)x;
}
// CHECK: <key>diagnostics</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>20</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>20</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>20</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>20</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>8</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Variable 'x' initialized to a null pointer value</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Variable 'x' initialized to a null pointer value</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>6</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>10</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>10</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>10</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>10</integer>
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>10</integer>
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'x')</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'x')</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'x')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>testCondOp</string>
// CHECK-NEXT: <key>issue_hash</key><integer>5</integer>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>10</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>15</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>19</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>19</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>19</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>19</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>19</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>testCondProblem</string>
// CHECK-NEXT: <key>issue_hash</key><integer>5</integer>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>19</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>16</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>16</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>16</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>17</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>17</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>testLHSProblem</string>
// CHECK-NEXT: <key>issue_hash</key><integer>1</integer>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>25</integer>
// CHECK-NEXT: <key>col</key><integer>16</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>19</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>19</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>19</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>20</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>20</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>testRHSProblem</string>
// CHECK-NEXT: <key>issue_hash</key><integer>1</integer>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>19</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>17</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>17</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>17</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>17</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>8</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Variable 'x' initialized to a null pointer value</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Variable 'x' initialized to a null pointer value</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>41</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>44</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>44</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>44</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>44</integer>
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>44</integer>
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'x')</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'x')</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'x')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>testBinaryCondOp</string>
// CHECK-NEXT: <key>issue_hash</key><integer>4</integer>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>44</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>49</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>53</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>53</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>53</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>53</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>53</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>testBinaryLHSProblem</string>
// CHECK-NEXT: <key>issue_hash</key><integer>5</integer>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>53</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
|
the_stack_data/48098.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ndeana <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/05/02 04:20:44 by ndeana #+# #+# */
/* Updated: 2020/05/12 09:51:30 by ndeana ### ########.fr */
/* */
/* ************************************************************************** */
int ft_tolower(int c)
{
if (c >= 65 && c <= 90)
return (c + 32);
else
return (c);
}
|
the_stack_data/21952.c | /*
Manul - test file for Windows
-------------------------------------
Maksim Shudrak <[email protected]> <[email protected]>
Copyright 2019 Salesforce.com, inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char** argv)
{
char *buf = NULL;
int size = 0;
if(argc < 2) {
printf("Usage: %s <input file>\n", argv[0]);
exit(-1);
}
FILE *fp = fopen(argv[1], "rb");
if (!fp) {
printf("Couldn't open file specified %s", argv[1]);
exit(-1);
}
printf("Opening %s\n", argv[1]);
// obtain file size:
fseek(fp , 0 , SEEK_END);
size = ftell(fp);
rewind(fp);
// allocate memory to contain the whole file:
buf = (char*) malloc (sizeof(char ) * size);
if (buf == NULL) {printf("Unable to read file"); exit (-1);}
// copy the file into the buffer:
fread(buf, 1, size, fp);
fclose(fp);
if (buf[0] == 'P') {
if (buf[1] == 'W') {
if (buf[2] == 'N') {
if (buf[3] == 'I') {
if (buf[4] == 'T') {
printf("Found it!\n");
((void(*)())0x0)();
}
}
}
}
}
printf("Parsed %d bytes\n", size);
free(buf);
}
|
the_stack_data/148577834.c | #include <stdio.h>
#include <unistd.h>
#include <sys/wait.h>
int main(){
pid_t pid;
int status;
int numProcessos = 10;
for (int i = 1; i <= numProcessos; i++){
if ((pid = fork()) == 0){
printf("[Processo %d] pid: %d / pai: %d\n\n", i, getpid(), getppid());
_exit(i); // o filho sai com o estado i
}
else {
pid_t terminated_pid = wait(&status);
printf("[Pai] o processo %d saiu com código de saída %d\n\n", terminated_pid, WEXITSTATUS(status));
}
}
return 0;
} |
the_stack_data/237644254.c | /*@@@sssss8]][[[[a#@@sss0['w}8|v}a<{av}a@{av}j>~{v}j8|c[sa?|{8[|#~}
[j#@ra>~}sa!{>}|#r0l}sao8}[a'f8|r'8[j?x[?@<[j?@[j?@[s?>|;[[[j!>b'8'a@<cb@>?
c$kg_@<b#0pf<#keab{_b0|c0#d#0#|'o{i<!8dr,f_{#rg{baiderh{er0}|'{0{ic.df?'o|j{lim
0'{i?#c0b|c#kg!}r!8lp1g!|i_ar<[#0g|h_}ieg>|_ah|sr<|i[[[}s#f@}[{@u~~~r@[|#|{ssss{a
}|0~{?}|<{?}|qj?}s@[_}j0]][[[[a_@@@sssss<[[?>=sln5+a[so#,g-0aw;#*a>*abwa.*+da9=n?<6
-'7%71>e_?>a[j;e=;scdet?>shd??a;5&6:=[ch@aw[sf;[#<[[j>k7__?>>d>==n'6+7*abcdnh3a_jhw
b6;73;b#<ww<7bcw7d+;&i=cn?c>=#d5;8w3;nawn#<;;77__ra?8hi1abcww#>==<[;k7[wn7[=,>ab[a@s[
='b,.[8.?>>fdjn(_2$a8c8[[j_8.=B6+b8]]]]]]]]]j1;7_sj<[[af;7sjd][j_<7!=a>d7_j8d.ab[hybm
?>=;ei7aws1d!ebn _,?>0aka[#;5+7
!?ac;7_wa7{;a3_ bjcna>a<;bs8;7
j-=cabh?97_sj[' -5*j[!;5+a7[1wb[!wBb7w?0wb
_?an+&e_|j'4a<7 0v;7d.kd8wa?.=:a-wwm=:;[e5
*-=fwn7rab[c.j# eaw#c>>>bml;mtdekssae
zqtd[39<u_char* p=$,w[13997],*h=w,
*q,*r_****_;#in clude_*ioccc*2
013*_<stdio.h>_ *--2013-ioc
cc-2013-ioccc-2 013-- *_#define
@n(d);c ((d)>
>8);c (
d
);*B= 32;B[ y=1]=22 .627400; B[2]=16;_*-i occc-2013 -ioccc
-2013-io ccc-201 *_int@a,b,d,e,s,t ,g,z,y;double@f, B[3],i,j,k,l;void
@m(int@z){f or(j=k= l=y=1;y<99;y+=2+0) l*=z*z* .038553 ,k*=-y*(y+1),j+=l_
k;i*=j;}int@c( int@d){ return@ putchar (d)_255; }intmain (){for( ;*p;p++
)*p<33?0:(*h++=*p -32);q= h;for(p =w;p<w +823;p++)for(d=*p-56 ,e=-1+ 0;++e<(
d<00?5:d<6?d>4?160:30 :d>35?2 7<<(d-3 6):d_9* 6);q++)*q=d<0?*p>>e& 1:d<6|| q[d>35?
-108:d%9*-12-12];for(q=h ;g++<61 56;q++)* q?*q=*p- 4?e=*p+ +,e-32?e:0:r&&*r?g
%108<2?2:*r++:(r=r?p++:w, 2):0;n( g=8*8187)n(g+8)n(1 6)n(19014)n(18758) ;for(;s<10;s++)c(
s<3?s:0)n(g+3)n (67)for (;t<65;)c(t++>0) n(g-24)n(11)c(8 )n(612)n(656)n(
257)n(4352)n(g+ 0-20)n( 5*42);; for(;y ++<207;)c( y<3 1?y<19?
y>6:30-y:y<47?y <32||y>36? 16:0:y< 48?2:y%1 6*16+13-
y_16)n(64*960)n (g+5)n(4)n( 1)n(g+2 )n(8)n(257)n(0)n(
2*8064)for(;b<4 04096;b++ ){e=32< a?63-a:a;for(f
=d=t=s=0;e>t;)e
-=++t;e=t%2?e:t -e;;;for(d=a>3
1?e=7-e,14-t-e: t-e;s<64;t=f-=
i*B[!d+!e])z=b_ 64%82*8+s_8-4,
y=b_5248*8+s%8+7 ,i=z<0||z>647||
y%11>9?1:q[h[z_6+y_11*108]*60+y%11*6+z%6]*2-1,m(s_8*2*d+d),m(s++%8*2*e+e);s=2+t*t;;fo
r(d=2;s>3;s_=4)d*=2;;s=8<<(a?12:9);s-=d*2<<!!a*4;s|=t>0?t:t-1+d;c(s_256)?c(0):0;c(s)?
c(0):0;if(a++>62){n(g-8+b_64%8)a=0;}}n(g+1)return@0+0;}*/ /*IOCCC*/#include<stdio.h>
char*p,w[13997],*h=w,*q,*r;int d,e,g;int main(){for(;e<3583;e++>15&&e<3582&&d>32?*h
++=d-95?d:47:0)d=getchar();q=h;for(p=w;p<w+823;p++)for(d=*p-88,e=-1;++e<(d<0?5:d<
6?d>4?160:30:d>35?27<<(d-36):d/9*6);q++)*q=d<0?*p>>e&1:d<6||q[d>35?-108:d%9*-12
-12];for(q=h+108;g++<5995;)putchar(g%109<1?10:*q++?*p-36?(e=*p++)-64?e:32:r
/*IOCCC2013*/&&*r?g%109%108<2?34:*r++:(r=r?p++:w,34):32);return 0;}
|
the_stack_data/247982.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: npineau <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2013/11/21 17:38:53 by npineau #+# #+# */
/* Updated: 2017/10/18 15:28:04 by npineau ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isascii(char c)
{
return (0 <= c && c <= 127);
}
|
the_stack_data/746257.c | /* ************************************************************************
* Filename: fork_4.c
* Description:
* Version: 1.0
* Created: 2013年09月24日 12时14分43秒
* Revision: none
* Compiler: gcc
* Author: YOUR NAME (),
* Company:
* ************************************************************************/
#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
pid_t pid;
pid = fork();
if (pid < 0)
{
perror("fork");
}
if (pid == 0)
{
int i = 0;
for (i=0;i<5;i++)
{
printf("in son process\n");
sleep(1);
}
exit(123);
}
else
{
int status;
waitpid( -1,&status,0 );
if(WIFEXITED(status))
{
printf("son ret val is %d\n",WEXITSTATUS(status));
}
printf("in father process\n");
}
return 0;
}
|
the_stack_data/175144253.c | /* This test program is part of GDB, the GNU debugger.
Copyright 2019-2021 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/>. */
union a
{
int l;
double m;
};
union b
{
char *n;
float o;
};
struct s
{
union a af;
union b bf;
};
struct s global;
int main ()
{
return 0;
}
|
the_stack_data/151704915.c | /* Copyright (C) 1992, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#include <stdlib.h>
#include <stdio.h>
int
main (void)
{
int i1, i2;
int j1, j2;
/* The C standard says that "If rand is called before any calls to
srand have been made, the same sequence shall be generated as
when srand is first called with a seed value of 1." */
i1 = rand();
i2 = rand();
srand (1);
j1 = rand();
j2 = rand();
if (i1 < 0 || i2 < 0 || j1 < 0 || j2 < 0) {
puts ("Test FAILED!");
}
if (j1 == i1 && j2 == i2)
{
puts ("Test succeeded.");
return 0;
}
else
{
if (j1 != i1)
printf ("%d != %d\n", j1, i1);
if (j2 != i2)
printf ("%d != %d\n", j2, i2);
puts ("Test FAILED!");
return 1;
}
}
|
the_stack_data/49310.c | /* ヘッダファイルのインクルード */
#include <stdio.h> /* C標準入出力 */
#include <string.h> /* C文字列処理 */
#include <unistd.h> /* UNIX標準 */
#include <X11/Xlib.h> /* Xlib */
#include <X11/Xutil.h> /* Xユーティリティ */
#include <X11/Xatom.h> /* アトム */
/* main関数 */
int main(int argc, char **argv){
/* 変数の宣言と初期化. */
Display *d; /* Display構造体へのポインタd. */
Window wr; /* ウィンドウ生成の結果を表す値wr.(Window == XID == unsigned long) */
int result; /* マップの結果result. */
unsigned long white; /* 白のRGB値white. */
XEvent event; /* XEvent構造体(共用体)のevent. */
int i; /* ループ用変数i. */
XTextProperty text_property; /* テキストプロパティtext_property. */
char title[] = "ABCDE"; /* タイトルtitleを"ABCDE"で初期化. */
Atom atom_wm_delete_window; /* WM_DELETE_WINDOWのアトムatom_wm_delete_window. */
Atom atom_wm_protocols; /* WM_PROTOCOLSのアトムatom_wm_protocols. */
int default_screen; /* デフォルトスクリーン番号default_screen. */
Colormap default_colormap; /* デフォルトカラーマップdefault_colormap. */
XColor screen; /* 近似値screen. */
XColor exact; /* 正確値exact. */
/* Xサーバとの接続. */
d = XOpenDisplay(NULL); /* XOpenDisplayでXサーバに接続し, 戻り値のアドレスをdに格納. */
/* dを出力. */
printf("d = %08x\n", d); /* dの値を16進数で出力. */
/* デフォルトスクリーン番号の取得. */
default_screen = DefaultScreen(d); /* DefaultScreenでデフォルトスクリーン番号を取得し, default_screenに格納. */
printf("default_screen = %d\n", default_screen); /* default_screenを出力. */
/* デフォルトカラーマップの取得. */
default_colormap = DefaultColormap(d, default_screen); /* DefaultColormapでdefault_screenのdefault_colormapを取得. */
printf("default_colormap = %08x\n", default_colormap); /* default_colormapを出力. */
/* 赤のピクセル値を取得. */
XAllocNamedColor(d, default_colormap, "red", &screen, &exact); /* XAllocNamedColorで"red"のピクセル値を取得.(screenは近似色情報, exactは正確色情報.) */
/* 白のピクセル値を取得. */
white = XWhitePixel(d, 0); /* XWhitePixelでスクリーン0における白のピクセル値を取得し, whiteに格納. */
/* ウィンドウの生成. */
wr = XCreateSimpleWindow(d, DefaultRootWindow(d), 100, 100, 640, 480, 1, white, screen.pixel); /* XCreateSimpleWindowでウィンドウ生成し, 結果はwrに格納.(screen.pixelにピクセル値が格納されている.) */
/* ウィンドウ生成の結果を出力. */
printf("wr = %08x\n", wr); /* wrを出力. */
/* ウィンドウのマッピング(表示要求) */
result = XMapWindow(d, wr); /* XMapWindowでマッピング. */
/* マッピング結果を出力. */
printf("result = %d\n", result); /* resultの値を出力. */
/* テキストプロパティのセット. */
text_property.value = (unsigned char *)title; /* タイトル文字列を指定. */
text_property.encoding = XA_STRING; /* XA_STRINGを指定. */
text_property.format = 8; /* 半角英数の場合8ビットなので8を指定. */
text_property.nitems = strlen(title); /* titleの文字数を指定. */
XSetWMProperties(d, wr, &text_property, NULL, argv, argc, NULL, NULL, NULL); /* XSetWMPropertiesでウィンドウマネージャにtext_propertyをセット. */
/* WM_PROTOCOLSにWM_DELETE_WINDOWをセット. */
atom_wm_delete_window = XInternAtom(d, "WM_DELETE_WINDOW", False); /* XInternAtomで"WM_DELETE_WINDOW"のアトムを取得. */
XSetWMProtocols(d, wr, &atom_wm_delete_window, 1); /* XSetWMProtocolsでatom_wm_delete_windowをセット. */
/* WM_PROTOCOLSのアトムを取得. */
atom_wm_protocols = XInternAtom(d, "WM_PROTOCOLS", False); /* XInternAtomでWM_PROTOCOLSのアトムを取得. */
/* イベントマスクのセット. */
XSelectInput(d, wr, ButtonPressMask | ButtonReleaseMask | StructureNotifyMask); /* XSelectInputでButtonPressMask, ButtonReleaseMask(マウスボタンを離された時のマスク.), StructureNotifyMask(通知マスク)をセット. */
/* 表示要求イベントをフラッシュ. */
XFlush(d); /* XFlushでフラッシュ. */
/* iの初期化. */
i = 0; /* iを0にしておく. */
/* イベントループ. */
while (1){
/* イベントの取得. */
XNextEvent(d, &event); /* XNextEventでeventを取得. */
/* イベントタイプごとに処理. */
switch (event.type){ /* event.typeの値で分岐. */
/* ButtonPress */
case ButtonPress: /* マウスボタンが押された時. */
/* ButtonPressブロック. */
{
/* マウス位置の出力. */
printf("(%d, %d)\n", event.xbutton.x, event.xbutton.y); /* event.xbutton.xとevent.xbutton.yを出力. */
i++; /* iをインクリメント. */
if (i == 10){ /* iが10の時. */
/* Xサーバとの接続を終了する. */
XCloseDisplay(d); /* XCloseDisplayで切断する. */
/* プログラムの終了 */
return 0; /* 0を返して正常終了. */
}
}
/* break. */
break; /* breakで終わる. */
/* ButtonRelease */
case ButtonRelease: /* マウスボタンが離された時. */
/* ButtonReleaseブロック. */
{
/* "ButtonRelease!!". */
printf("ButtonRelease!!\n"); /* "ButtonRelease!!"と出力. */
}
/* break. */
break; /* breakで終わる. */
/* ClientMessage */
case ClientMessage: /* クライアントメッセージ */
/* ClientMessageブロック. */
{
/* WM_PROTOCOLSの場合. */
if (event.xclient.message_type == atom_wm_protocols){ /* atom_wm_protocolsなら. */
/* "WM_PROTOCOLS!" */
printf("WM_PROTOCOLS!\n"); /* "WM_PROTOCOLS!"と出力. */
/* WM_DELETE_WINDOWなら終了. */
if (event.xclient.data.l[0] == atom_wm_delete_window){ /* atom_wm_delete_windowなら. */
/* "WM_DELETE_WINDOW!!" */
printf("WM_DELETE_WINDOW!!\n"); /* "WM_DELETE_WINDOW!!"と出力. */
/* ウィンドウを破棄. */
XDestroyWindow(d, wr); /* XDestroyWindowでウィンドウを破棄. */
}
}
}
/* break. */
break; /* breakで終わる. */
/* DestroyNotify */
case DestroyNotify: /* ウィンドウ破棄通知. */
/* DestroyNotifyブロック. */
{
/* "DestroyNotify!" */
printf("DestroyNotify!\n"); /* "DestroyNotify!"と出力. */
/* 切断したら全てのリソースを破棄. */
XSetCloseDownMode(d, DestroyAll); /* XSetCloseDownModeでDestroyAllをセット. */
/* Xサーバとの接続を終了する. */
XCloseDisplay(d); /* XCloseDisplayで切断する. */
/* プログラムの終了 */
return 0; /* 0を返して正常終了. */
}
/* break. */
break; /* breakで終わる. */
/* default */
default: /* それ以外. */
/* break. */
break; /* breakで終わる. */
}
}
}
|
the_stack_data/1170874.c | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
void mainQ(int flag, int u1, int u2) {
assert(u1 > 0 && u2 > 0);
int j = 1;
int i = 0;
if (flag != 0) {
i = 0;
} else {
i = 1;
}
int i1 = 0;
while (i1 < u1) {
i1++;
i += 2;
if (i % 2 == 0) {
j += 2;
} else
j++;
}
int a = 0;
int b = 0;
int i2 = 0;
while (i2 < u2) {
i2++;
a++;
b += (j - i);
}
//%%%traces: int a, int b, int i, int j if (flag != 0) assert(a ==
//b);
}
int main(int argc, char *argv[]) {
mainQ(atoi(argv[1]), atoi(argv[2]), atoi(argv[3]));
return 0;
}
|
the_stack_data/15761472.c | #include <stdio.h>
#include <stdlib.h>
void print_arr(int ar_size, int* ar) {
for(int i = 0;i < ar_size;i++) {
printf("%d ",ar[i]);
}
printf("\n");
}
void insertionStep(int ar_size, int * ar) {
int e = ar[ar_size - 1], i;
for(i = ar_size - 2;i >= 0;i--) {
if(ar[i] > e) {
ar[i + 1] = ar[i];
}
else {
break;
}
//print_arr(ar_size, ar);
}
ar[i + 1] = e;
//print_arr(ar_size, ar);
}
void insertionSort(int ar_size, int * ar) {
for(int i = 2;i <= ar_size;i++) {
insertionStep(i, ar);
print_arr(ar_size, ar);
}
}
int main(void) {
int _ar_size;
scanf("%d", &_ar_size);
int _ar[_ar_size], _ar_i;
for(_ar_i = 0; _ar_i < _ar_size; _ar_i++) {
scanf("%d", &_ar[_ar_i]);
}
insertionSort(_ar_size, _ar);
return 0;
}
|
the_stack_data/208486.c | #if 0
mini_free
mini_buf 128
globals_on_stack
mini_start
shrinkelf
INCLUDESRC
LDSCRIPT default
OPTFLAG -Os
return
#endif
int main(){
volatile int ret=42;
volatile void* a1=0;
free(a1);
return(ret);
}
|
the_stack_data/22012050.c | #include <stdio.h>
int main() {
int age;
printf("Type your age: ");
scanf("%d", &age);
if(age > 15)
printf("You can vote!");
printf("You can't vote... Sorry. :(");
return 0;
}
|
the_stack_data/149098.c | #include<stdio.h>
int main()
{
char * const str = "apple";
//str = "orange"; //Error!!!
printf(str);
}
|
the_stack_data/41529.c | /**
******************************************************************************
* @file stm32l4xx_ll_rtc.c
* @author MCD Application Team
* @brief RTC LL module driver.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
#if defined(USE_FULL_LL_DRIVER)
/* Includes ------------------------------------------------------------------*/
#include "stm32l4xx_ll_rtc.h"
#include "stm32l4xx_ll_cortex.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0U)
#endif
/** @addtogroup STM32L4xx_LL_Driver
* @{
*/
#if defined(RTC)
/** @addtogroup RTC_LL
* @{
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/** @addtogroup RTC_LL_Private_Constants
* @{
*/
/* Default values used for prescaler */
#define RTC_ASYNCH_PRESC_DEFAULT 0x0000007FU
#define RTC_SYNCH_PRESC_DEFAULT 0x000000FFU
/* Values used for timeout */
#define RTC_INITMODE_TIMEOUT 1000U /* 1s when tick set to 1ms */
#define RTC_SYNCHRO_TIMEOUT 1000U /* 1s when tick set to 1ms */
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @addtogroup RTC_LL_Private_Macros
* @{
*/
#define IS_LL_RTC_HOURFORMAT(__VALUE__) (((__VALUE__) == LL_RTC_HOURFORMAT_24HOUR) \
|| ((__VALUE__) == LL_RTC_HOURFORMAT_AMPM))
#define IS_LL_RTC_ASYNCH_PREDIV(__VALUE__) ((__VALUE__) <= 0x7FU)
#define IS_LL_RTC_SYNCH_PREDIV(__VALUE__) ((__VALUE__) <= 0x7FFFU)
#define IS_LL_RTC_FORMAT(__VALUE__) (((__VALUE__) == LL_RTC_FORMAT_BIN) \
|| ((__VALUE__) == LL_RTC_FORMAT_BCD))
#define IS_LL_RTC_TIME_FORMAT(__VALUE__) (((__VALUE__) == LL_RTC_TIME_FORMAT_AM_OR_24) \
|| ((__VALUE__) == LL_RTC_TIME_FORMAT_PM))
#define IS_LL_RTC_HOUR12(__HOUR__) (((__HOUR__) > 0U) && ((__HOUR__) <= 12U))
#define IS_LL_RTC_HOUR24(__HOUR__) ((__HOUR__) <= 23U)
#define IS_LL_RTC_MINUTES(__MINUTES__) ((__MINUTES__) <= 59U)
#define IS_LL_RTC_SECONDS(__SECONDS__) ((__SECONDS__) <= 59U)
#define IS_LL_RTC_WEEKDAY(__VALUE__) (((__VALUE__) == LL_RTC_WEEKDAY_MONDAY) \
|| ((__VALUE__) == LL_RTC_WEEKDAY_TUESDAY) \
|| ((__VALUE__) == LL_RTC_WEEKDAY_WEDNESDAY) \
|| ((__VALUE__) == LL_RTC_WEEKDAY_THURSDAY) \
|| ((__VALUE__) == LL_RTC_WEEKDAY_FRIDAY) \
|| ((__VALUE__) == LL_RTC_WEEKDAY_SATURDAY) \
|| ((__VALUE__) == LL_RTC_WEEKDAY_SUNDAY))
#define IS_LL_RTC_DAY(__DAY__) (((__DAY__) >= 1U) && ((__DAY__) <= 31U))
#define IS_LL_RTC_MONTH(__MONTH__) (((__MONTH__) >= 1U) && ((__MONTH__) <= 12U))
#define IS_LL_RTC_YEAR(__YEAR__) ((__YEAR__) <= 99U)
#define IS_LL_RTC_ALMA_MASK(__VALUE__) (((__VALUE__) == LL_RTC_ALMA_MASK_NONE) \
|| ((__VALUE__) == LL_RTC_ALMA_MASK_DATEWEEKDAY) \
|| ((__VALUE__) == LL_RTC_ALMA_MASK_HOURS) \
|| ((__VALUE__) == LL_RTC_ALMA_MASK_MINUTES) \
|| ((__VALUE__) == LL_RTC_ALMA_MASK_SECONDS) \
|| ((__VALUE__) == LL_RTC_ALMA_MASK_ALL))
#define IS_LL_RTC_ALMB_MASK(__VALUE__) (((__VALUE__) == LL_RTC_ALMB_MASK_NONE) \
|| ((__VALUE__) == LL_RTC_ALMB_MASK_DATEWEEKDAY) \
|| ((__VALUE__) == LL_RTC_ALMB_MASK_HOURS) \
|| ((__VALUE__) == LL_RTC_ALMB_MASK_MINUTES) \
|| ((__VALUE__) == LL_RTC_ALMB_MASK_SECONDS) \
|| ((__VALUE__) == LL_RTC_ALMB_MASK_ALL))
#define IS_LL_RTC_ALMA_DATE_WEEKDAY_SEL(__SEL__) (((__SEL__) == LL_RTC_ALMA_DATEWEEKDAYSEL_DATE) || \
((__SEL__) == LL_RTC_ALMA_DATEWEEKDAYSEL_WEEKDAY))
#define IS_LL_RTC_ALMB_DATE_WEEKDAY_SEL(__SEL__) (((__SEL__) == LL_RTC_ALMB_DATEWEEKDAYSEL_DATE) || \
((__SEL__) == LL_RTC_ALMB_DATEWEEKDAYSEL_WEEKDAY))
/**
* @}
*/
/* Private function prototypes -----------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup RTC_LL_Exported_Functions
* @{
*/
/** @addtogroup RTC_LL_EF_Init
* @{
*/
/**
* @brief De-Initializes the RTC registers to their default reset values.
* @note This function doesn't reset the RTC Clock source and RTC Backup Data
* registers.
* @param RTCx RTC Instance
* @retval An ErrorStatus enumeration value:
* - SUCCESS: RTC registers are de-initialized
* - ERROR: RTC registers are not de-initialized
*/
ErrorStatus LL_RTC_DeInit(RTC_TypeDef *RTCx)
{
ErrorStatus status = ERROR;
/* Check the parameter */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
/* Disable the write protection for RTC registers */
LL_RTC_DisableWriteProtection(RTCx);
/* Set Initialization mode */
if (LL_RTC_EnterInitMode(RTCx) != ERROR)
{
/* Reset TR, DR and CR registers */
LL_RTC_WriteReg(RTCx, TR, 0x00000000U);
LL_RTC_WriteReg(RTCx, WUTR, RTC_WUTR_WUT);
LL_RTC_WriteReg(RTCx, DR, (RTC_DR_WDU_0 | RTC_DR_MU_0 | RTC_DR_DU_0));
/* Reset All CR bits except CR[2:0] */
LL_RTC_WriteReg(RTCx, CR, (LL_RTC_ReadReg(RTCx, CR) & RTC_CR_WUCKSEL));
LL_RTC_WriteReg(RTCx, PRER, (RTC_PRER_PREDIV_A | RTC_SYNCH_PRESC_DEFAULT));
LL_RTC_WriteReg(RTCx, ALRMAR, 0x00000000U);
LL_RTC_WriteReg(RTCx, ALRMBR, 0x00000000U);
LL_RTC_WriteReg(RTCx, SHIFTR, 0x00000000U);
LL_RTC_WriteReg(RTCx, CALR, 0x00000000U);
LL_RTC_WriteReg(RTCx, ALRMASSR, 0x00000000U);
LL_RTC_WriteReg(RTCx, ALRMBSSR, 0x00000000U);
#if defined(STM32L412xx) || defined(STM32L422xx)
#else /* #if defined(STM32L412xx) || defined(STM32L422xx) */
/* Reset ISR register and exit initialization mode */
LL_RTC_WriteReg(RTCx, ISR, 0x00000000U);
/* Reset Tamper and alternate functions configuration register */
LL_RTC_WriteReg(RTCx, TAMPCR, 0x00000000U);
/* Reset Option register */
LL_RTC_WriteReg(RTCx, OR, 0x00000000U);
#endif /* #if defined(STM32L412xx) || defined(STM32L422xx) */
/* Wait till the RTC RSF flag is set */
status = LL_RTC_WaitForSynchro(RTCx);
}
/* Enable the write protection for RTC registers */
LL_RTC_EnableWriteProtection(RTCx);
return status;
}
/**
* @brief Initializes the RTC registers according to the specified parameters
* in RTC_InitStruct.
* @param RTCx RTC Instance
* @param RTC_InitStruct pointer to a @ref LL_RTC_InitTypeDef structure that contains
* the configuration information for the RTC peripheral.
* @note The RTC Prescaler register is write protected and can be written in
* initialization mode only.
* @retval An ErrorStatus enumeration value:
* - SUCCESS: RTC registers are initialized
* - ERROR: RTC registers are not initialized
*/
ErrorStatus LL_RTC_Init(RTC_TypeDef *RTCx, LL_RTC_InitTypeDef *RTC_InitStruct)
{
ErrorStatus status = ERROR;
/* Check the parameters */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
assert_param(IS_LL_RTC_HOURFORMAT(RTC_InitStruct->HourFormat));
assert_param(IS_LL_RTC_ASYNCH_PREDIV(RTC_InitStruct->AsynchPrescaler));
assert_param(IS_LL_RTC_SYNCH_PREDIV(RTC_InitStruct->SynchPrescaler));
/* Disable the write protection for RTC registers */
LL_RTC_DisableWriteProtection(RTCx);
/* Set Initialization mode */
if (LL_RTC_EnterInitMode(RTCx) != ERROR)
{
/* Set Hour Format */
LL_RTC_SetHourFormat(RTCx, RTC_InitStruct->HourFormat);
/* Configure Synchronous and Asynchronous prescaler factor */
LL_RTC_SetSynchPrescaler(RTCx, RTC_InitStruct->SynchPrescaler);
LL_RTC_SetAsynchPrescaler(RTCx, RTC_InitStruct->AsynchPrescaler);
/* Exit Initialization mode */
LL_RTC_DisableInitMode(RTCx);
status = SUCCESS;
}
/* Enable the write protection for RTC registers */
LL_RTC_EnableWriteProtection(RTCx);
return status;
}
/**
* @brief Set each @ref LL_RTC_InitTypeDef field to default value.
* @param RTC_InitStruct pointer to a @ref LL_RTC_InitTypeDef structure which will be initialized.
* @retval None
*/
void LL_RTC_StructInit(LL_RTC_InitTypeDef *RTC_InitStruct)
{
/* Set RTC_InitStruct fields to default values */
RTC_InitStruct->HourFormat = LL_RTC_HOURFORMAT_24HOUR;
RTC_InitStruct->AsynchPrescaler = RTC_ASYNCH_PRESC_DEFAULT;
RTC_InitStruct->SynchPrescaler = RTC_SYNCH_PRESC_DEFAULT;
}
/**
* @brief Set the RTC current time.
* @param RTCx RTC Instance
* @param RTC_Format This parameter can be one of the following values:
* @arg @ref LL_RTC_FORMAT_BIN
* @arg @ref LL_RTC_FORMAT_BCD
* @param RTC_TimeStruct pointer to a RTC_TimeTypeDef structure that contains
* the time configuration information for the RTC.
* @retval An ErrorStatus enumeration value:
* - SUCCESS: RTC Time register is configured
* - ERROR: RTC Time register is not configured
*/
ErrorStatus LL_RTC_TIME_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_TimeTypeDef *RTC_TimeStruct)
{
ErrorStatus status = ERROR;
/* Check the parameters */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
assert_param(IS_LL_RTC_FORMAT(RTC_Format));
if (RTC_Format == LL_RTC_FORMAT_BIN)
{
if (LL_RTC_GetHourFormat(RTCx) != LL_RTC_HOURFORMAT_24HOUR)
{
assert_param(IS_LL_RTC_HOUR12(RTC_TimeStruct->Hours));
assert_param(IS_LL_RTC_TIME_FORMAT(RTC_TimeStruct->TimeFormat));
}
else
{
RTC_TimeStruct->TimeFormat = 0x00U;
assert_param(IS_LL_RTC_HOUR24(RTC_TimeStruct->Hours));
}
assert_param(IS_LL_RTC_MINUTES(RTC_TimeStruct->Minutes));
assert_param(IS_LL_RTC_SECONDS(RTC_TimeStruct->Seconds));
}
else
{
if (LL_RTC_GetHourFormat(RTCx) != LL_RTC_HOURFORMAT_24HOUR)
{
assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Hours)));
assert_param(IS_LL_RTC_TIME_FORMAT(RTC_TimeStruct->TimeFormat));
}
else
{
RTC_TimeStruct->TimeFormat = 0x00U;
assert_param(IS_LL_RTC_HOUR24(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Hours)));
}
assert_param(IS_LL_RTC_MINUTES(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Minutes)));
assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Seconds)));
}
/* Disable the write protection for RTC registers */
LL_RTC_DisableWriteProtection(RTCx);
/* Set Initialization mode */
if (LL_RTC_EnterInitMode(RTCx) != ERROR)
{
/* Check the input parameters format */
if (RTC_Format != LL_RTC_FORMAT_BIN)
{
LL_RTC_TIME_Config(RTCx, RTC_TimeStruct->TimeFormat, RTC_TimeStruct->Hours,
RTC_TimeStruct->Minutes, RTC_TimeStruct->Seconds);
}
else
{
LL_RTC_TIME_Config(RTCx, RTC_TimeStruct->TimeFormat, __LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Hours),
__LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Minutes),
__LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Seconds));
}
/* Exit Initialization mode */
LL_RTC_DisableInitMode(RTC);
/* If RTC_CR_BYPSHAD bit = 0, wait for synchro else this check is not needed */
if (LL_RTC_IsShadowRegBypassEnabled(RTCx) == 0U)
{
status = LL_RTC_WaitForSynchro(RTCx);
}
else
{
status = SUCCESS;
}
}
/* Enable the write protection for RTC registers */
LL_RTC_EnableWriteProtection(RTCx);
return status;
}
/**
* @brief Set each @ref LL_RTC_TimeTypeDef field to default value (Time = 00h:00min:00sec).
* @param RTC_TimeStruct pointer to a @ref LL_RTC_TimeTypeDef structure which will be initialized.
* @retval None
*/
void LL_RTC_TIME_StructInit(LL_RTC_TimeTypeDef *RTC_TimeStruct)
{
/* Time = 00h:00min:00sec */
RTC_TimeStruct->TimeFormat = LL_RTC_TIME_FORMAT_AM_OR_24;
RTC_TimeStruct->Hours = 0U;
RTC_TimeStruct->Minutes = 0U;
RTC_TimeStruct->Seconds = 0U;
}
/**
* @brief Set the RTC current date.
* @param RTCx RTC Instance
* @param RTC_Format This parameter can be one of the following values:
* @arg @ref LL_RTC_FORMAT_BIN
* @arg @ref LL_RTC_FORMAT_BCD
* @param RTC_DateStruct: pointer to a RTC_DateTypeDef structure that contains
* the date configuration information for the RTC.
* @retval An ErrorStatus enumeration value:
* - SUCCESS: RTC Day register is configured
* - ERROR: RTC Day register is not configured
*/
ErrorStatus LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct)
{
ErrorStatus status = ERROR;
/* Check the parameters */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
assert_param(IS_LL_RTC_FORMAT(RTC_Format));
if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U))
{
RTC_DateStruct->Month = (uint8_t)((RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU);
}
if (RTC_Format == LL_RTC_FORMAT_BIN)
{
assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year));
assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month));
assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day));
}
else
{
assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year)));
assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month)));
assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day)));
}
assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay));
/* Disable the write protection for RTC registers */
LL_RTC_DisableWriteProtection(RTCx);
/* Set Initialization mode */
if (LL_RTC_EnterInitMode(RTCx) != ERROR)
{
/* Check the input parameters format */
if (RTC_Format != LL_RTC_FORMAT_BIN)
{
LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_DateStruct->Year);
}
else
{
LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Day),
__LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year));
}
/* Exit Initialization mode */
LL_RTC_DisableInitMode(RTC);
/* If RTC_CR_BYPSHAD bit = 0, wait for synchro else this check is not needed */
if (LL_RTC_IsShadowRegBypassEnabled(RTCx) == 0U)
{
status = LL_RTC_WaitForSynchro(RTCx);
}
else
{
status = SUCCESS;
}
}
/* Enable the write protection for RTC registers */
LL_RTC_EnableWriteProtection(RTCx);
return status;
}
/**
* @brief Set each @ref LL_RTC_DateTypeDef field to default value (date = Monday, January 01 xx00)
* @param RTC_DateStruct pointer to a @ref LL_RTC_DateTypeDef structure which will be initialized.
* @retval None
*/
void LL_RTC_DATE_StructInit(LL_RTC_DateTypeDef *RTC_DateStruct)
{
/* Monday, January 01 xx00 */
RTC_DateStruct->WeekDay = LL_RTC_WEEKDAY_MONDAY;
RTC_DateStruct->Day = 1U;
RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY;
RTC_DateStruct->Year = 0U;
}
/**
* @brief Set the RTC Alarm A.
* @note The Alarm register can only be written when the corresponding Alarm
* is disabled (Use @ref LL_RTC_ALMA_Disable function).
* @param RTCx RTC Instance
* @param RTC_Format This parameter can be one of the following values:
* @arg @ref LL_RTC_FORMAT_BIN
* @arg @ref LL_RTC_FORMAT_BCD
* @param RTC_AlarmStruct pointer to a @ref LL_RTC_AlarmTypeDef structure that
* contains the alarm configuration parameters.
* @retval An ErrorStatus enumeration value:
* - SUCCESS: ALARMA registers are configured
* - ERROR: ALARMA registers are not configured
*/
ErrorStatus LL_RTC_ALMA_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_AlarmTypeDef *RTC_AlarmStruct)
{
/* Check the parameters */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
assert_param(IS_LL_RTC_FORMAT(RTC_Format));
assert_param(IS_LL_RTC_ALMA_MASK(RTC_AlarmStruct->AlarmMask));
assert_param(IS_LL_RTC_ALMA_DATE_WEEKDAY_SEL(RTC_AlarmStruct->AlarmDateWeekDaySel));
if (RTC_Format == LL_RTC_FORMAT_BIN)
{
if (LL_RTC_GetHourFormat(RTCx) != LL_RTC_HOURFORMAT_24HOUR)
{
assert_param(IS_LL_RTC_HOUR12(RTC_AlarmStruct->AlarmTime.Hours));
assert_param(IS_LL_RTC_TIME_FORMAT(RTC_AlarmStruct->AlarmTime.TimeFormat));
}
else
{
RTC_AlarmStruct->AlarmTime.TimeFormat = 0x00U;
assert_param(IS_LL_RTC_HOUR24(RTC_AlarmStruct->AlarmTime.Hours));
}
assert_param(IS_LL_RTC_MINUTES(RTC_AlarmStruct->AlarmTime.Minutes));
assert_param(IS_LL_RTC_SECONDS(RTC_AlarmStruct->AlarmTime.Seconds));
if (RTC_AlarmStruct->AlarmDateWeekDaySel == LL_RTC_ALMA_DATEWEEKDAYSEL_DATE)
{
assert_param(IS_LL_RTC_DAY(RTC_AlarmStruct->AlarmDateWeekDay));
}
else
{
assert_param(IS_LL_RTC_WEEKDAY(RTC_AlarmStruct->AlarmDateWeekDay));
}
}
else
{
if (LL_RTC_GetHourFormat(RTCx) != LL_RTC_HOURFORMAT_24HOUR)
{
assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Hours)));
assert_param(IS_LL_RTC_TIME_FORMAT(RTC_AlarmStruct->AlarmTime.TimeFormat));
}
else
{
RTC_AlarmStruct->AlarmTime.TimeFormat = 0x00U;
assert_param(IS_LL_RTC_HOUR24(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Hours)));
}
assert_param(IS_LL_RTC_MINUTES(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Minutes)));
assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Seconds)));
if (RTC_AlarmStruct->AlarmDateWeekDaySel == LL_RTC_ALMA_DATEWEEKDAYSEL_DATE)
{
assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmDateWeekDay)));
}
else
{
assert_param(IS_LL_RTC_WEEKDAY(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmDateWeekDay)));
}
}
/* Disable the write protection for RTC registers */
LL_RTC_DisableWriteProtection(RTCx);
/* Select weekday selection */
if (RTC_AlarmStruct->AlarmDateWeekDaySel == LL_RTC_ALMA_DATEWEEKDAYSEL_DATE)
{
/* Set the date for ALARM */
LL_RTC_ALMA_DisableWeekday(RTCx);
if (RTC_Format != LL_RTC_FORMAT_BIN)
{
LL_RTC_ALMA_SetDay(RTCx, RTC_AlarmStruct->AlarmDateWeekDay);
}
else
{
LL_RTC_ALMA_SetDay(RTCx, __LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmDateWeekDay));
}
}
else
{
/* Set the week day for ALARM */
LL_RTC_ALMA_EnableWeekday(RTCx);
LL_RTC_ALMA_SetWeekDay(RTCx, RTC_AlarmStruct->AlarmDateWeekDay);
}
/* Configure the Alarm register */
if (RTC_Format != LL_RTC_FORMAT_BIN)
{
LL_RTC_ALMA_ConfigTime(RTCx, RTC_AlarmStruct->AlarmTime.TimeFormat, RTC_AlarmStruct->AlarmTime.Hours,
RTC_AlarmStruct->AlarmTime.Minutes, RTC_AlarmStruct->AlarmTime.Seconds);
}
else
{
LL_RTC_ALMA_ConfigTime(RTCx, RTC_AlarmStruct->AlarmTime.TimeFormat,
__LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Hours),
__LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Minutes),
__LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Seconds));
}
/* Set ALARM mask */
LL_RTC_ALMA_SetMask(RTCx, RTC_AlarmStruct->AlarmMask);
/* Enable the write protection for RTC registers */
LL_RTC_EnableWriteProtection(RTCx);
return SUCCESS;
}
/**
* @brief Set the RTC Alarm B.
* @note The Alarm register can only be written when the corresponding Alarm
* is disabled (@ref LL_RTC_ALMB_Disable function).
* @param RTCx RTC Instance
* @param RTC_Format This parameter can be one of the following values:
* @arg @ref LL_RTC_FORMAT_BIN
* @arg @ref LL_RTC_FORMAT_BCD
* @param RTC_AlarmStruct pointer to a @ref LL_RTC_AlarmTypeDef structure that
* contains the alarm configuration parameters.
* @retval An ErrorStatus enumeration value:
* - SUCCESS: ALARMB registers are configured
* - ERROR: ALARMB registers are not configured
*/
ErrorStatus LL_RTC_ALMB_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_AlarmTypeDef *RTC_AlarmStruct)
{
/* Check the parameters */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
assert_param(IS_LL_RTC_FORMAT(RTC_Format));
assert_param(IS_LL_RTC_ALMB_MASK(RTC_AlarmStruct->AlarmMask));
assert_param(IS_LL_RTC_ALMB_DATE_WEEKDAY_SEL(RTC_AlarmStruct->AlarmDateWeekDaySel));
if (RTC_Format == LL_RTC_FORMAT_BIN)
{
if (LL_RTC_GetHourFormat(RTCx) != LL_RTC_HOURFORMAT_24HOUR)
{
assert_param(IS_LL_RTC_HOUR12(RTC_AlarmStruct->AlarmTime.Hours));
assert_param(IS_LL_RTC_TIME_FORMAT(RTC_AlarmStruct->AlarmTime.TimeFormat));
}
else
{
RTC_AlarmStruct->AlarmTime.TimeFormat = 0x00U;
assert_param(IS_LL_RTC_HOUR24(RTC_AlarmStruct->AlarmTime.Hours));
}
assert_param(IS_LL_RTC_MINUTES(RTC_AlarmStruct->AlarmTime.Minutes));
assert_param(IS_LL_RTC_SECONDS(RTC_AlarmStruct->AlarmTime.Seconds));
if (RTC_AlarmStruct->AlarmDateWeekDaySel == LL_RTC_ALMB_DATEWEEKDAYSEL_DATE)
{
assert_param(IS_LL_RTC_DAY(RTC_AlarmStruct->AlarmDateWeekDay));
}
else
{
assert_param(IS_LL_RTC_WEEKDAY(RTC_AlarmStruct->AlarmDateWeekDay));
}
}
else
{
if (LL_RTC_GetHourFormat(RTCx) != LL_RTC_HOURFORMAT_24HOUR)
{
assert_param(IS_LL_RTC_HOUR12(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Hours)));
assert_param(IS_LL_RTC_TIME_FORMAT(RTC_AlarmStruct->AlarmTime.TimeFormat));
}
else
{
RTC_AlarmStruct->AlarmTime.TimeFormat = 0x00U;
assert_param(IS_LL_RTC_HOUR24(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Hours)));
}
assert_param(IS_LL_RTC_MINUTES(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Minutes)));
assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Seconds)));
if (RTC_AlarmStruct->AlarmDateWeekDaySel == LL_RTC_ALMB_DATEWEEKDAYSEL_DATE)
{
assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmDateWeekDay)));
}
else
{
assert_param(IS_LL_RTC_WEEKDAY(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmDateWeekDay)));
}
}
/* Disable the write protection for RTC registers */
LL_RTC_DisableWriteProtection(RTCx);
/* Select weekday selection */
if (RTC_AlarmStruct->AlarmDateWeekDaySel == LL_RTC_ALMB_DATEWEEKDAYSEL_DATE)
{
/* Set the date for ALARM */
LL_RTC_ALMB_DisableWeekday(RTCx);
if (RTC_Format != LL_RTC_FORMAT_BIN)
{
LL_RTC_ALMB_SetDay(RTCx, RTC_AlarmStruct->AlarmDateWeekDay);
}
else
{
LL_RTC_ALMB_SetDay(RTCx, __LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmDateWeekDay));
}
}
else
{
/* Set the week day for ALARM */
LL_RTC_ALMB_EnableWeekday(RTCx);
LL_RTC_ALMB_SetWeekDay(RTCx, RTC_AlarmStruct->AlarmDateWeekDay);
}
/* Configure the Alarm register */
if (RTC_Format != LL_RTC_FORMAT_BIN)
{
LL_RTC_ALMB_ConfigTime(RTCx, RTC_AlarmStruct->AlarmTime.TimeFormat, RTC_AlarmStruct->AlarmTime.Hours,
RTC_AlarmStruct->AlarmTime.Minutes, RTC_AlarmStruct->AlarmTime.Seconds);
}
else
{
LL_RTC_ALMB_ConfigTime(RTCx, RTC_AlarmStruct->AlarmTime.TimeFormat,
__LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Hours),
__LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Minutes),
__LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Seconds));
}
/* Set ALARM mask */
LL_RTC_ALMB_SetMask(RTCx, RTC_AlarmStruct->AlarmMask);
/* Enable the write protection for RTC registers */
LL_RTC_EnableWriteProtection(RTCx);
return SUCCESS;
}
/**
* @brief Set each @ref LL_RTC_AlarmTypeDef of ALARMA field to default value (Time = 00h:00mn:00sec /
* Day = 1st day of the month/Mask = all fields are masked).
* @param RTC_AlarmStruct pointer to a @ref LL_RTC_AlarmTypeDef structure which will be initialized.
* @retval None
*/
void LL_RTC_ALMA_StructInit(LL_RTC_AlarmTypeDef *RTC_AlarmStruct)
{
/* Alarm Time Settings : Time = 00h:00mn:00sec */
RTC_AlarmStruct->AlarmTime.TimeFormat = LL_RTC_ALMA_TIME_FORMAT_AM;
RTC_AlarmStruct->AlarmTime.Hours = 0U;
RTC_AlarmStruct->AlarmTime.Minutes = 0U;
RTC_AlarmStruct->AlarmTime.Seconds = 0U;
/* Alarm Day Settings : Day = 1st day of the month */
RTC_AlarmStruct->AlarmDateWeekDaySel = LL_RTC_ALMA_DATEWEEKDAYSEL_DATE;
RTC_AlarmStruct->AlarmDateWeekDay = 1U;
/* Alarm Masks Settings : Mask = all fields are not masked */
RTC_AlarmStruct->AlarmMask = LL_RTC_ALMA_MASK_NONE;
}
/**
* @brief Set each @ref LL_RTC_AlarmTypeDef of ALARMA field to default value (Time = 00h:00mn:00sec /
* Day = 1st day of the month/Mask = all fields are masked).
* @param RTC_AlarmStruct pointer to a @ref LL_RTC_AlarmTypeDef structure which will be initialized.
* @retval None
*/
void LL_RTC_ALMB_StructInit(LL_RTC_AlarmTypeDef *RTC_AlarmStruct)
{
/* Alarm Time Settings : Time = 00h:00mn:00sec */
RTC_AlarmStruct->AlarmTime.TimeFormat = LL_RTC_ALMB_TIME_FORMAT_AM;
RTC_AlarmStruct->AlarmTime.Hours = 0U;
RTC_AlarmStruct->AlarmTime.Minutes = 0U;
RTC_AlarmStruct->AlarmTime.Seconds = 0U;
/* Alarm Day Settings : Day = 1st day of the month */
RTC_AlarmStruct->AlarmDateWeekDaySel = LL_RTC_ALMB_DATEWEEKDAYSEL_DATE;
RTC_AlarmStruct->AlarmDateWeekDay = 1U;
/* Alarm Masks Settings : Mask = all fields are not masked */
RTC_AlarmStruct->AlarmMask = LL_RTC_ALMB_MASK_NONE;
}
/**
* @brief Enters the RTC Initialization mode.
* @note The RTC Initialization mode is write protected, use the
* @ref LL_RTC_DisableWriteProtection before calling this function.
* @param RTCx RTC Instance
* @retval An ErrorStatus enumeration value:
* - SUCCESS: RTC is in Init mode
* - ERROR: RTC is not in Init mode
*/
ErrorStatus LL_RTC_EnterInitMode(RTC_TypeDef *RTCx)
{
__IO uint32_t timeout = RTC_INITMODE_TIMEOUT;
ErrorStatus status = SUCCESS;
uint32_t tmp;
/* Check the parameter */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
/* Check if the Initialization mode is set */
if (LL_RTC_IsActiveFlag_INIT(RTCx) == 0U)
{
/* Set the Initialization mode */
LL_RTC_EnableInitMode(RTCx);
/* Wait till RTC is in INIT state and if Time out is reached exit */
tmp = LL_RTC_IsActiveFlag_INIT(RTCx);
while ((timeout != 0U) && (tmp != 1U))
{
if (LL_SYSTICK_IsActiveCounterFlag() == 1U)
{
timeout --;
}
tmp = LL_RTC_IsActiveFlag_INIT(RTCx);
if (timeout == 0U)
{
status = ERROR;
}
}
}
return status;
}
/**
* @brief Exit the RTC Initialization mode.
* @note When the initialization sequence is complete, the calendar restarts
* counting after 4 RTCCLK cycles.
* @note The RTC Initialization mode is write protected, use the
* @ref LL_RTC_DisableWriteProtection before calling this function.
* @param RTCx RTC Instance
* @retval An ErrorStatus enumeration value:
* - SUCCESS: RTC exited from in Init mode
* - ERROR: Not applicable
*/
ErrorStatus LL_RTC_ExitInitMode(RTC_TypeDef *RTCx)
{
/* Check the parameter */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
/* Disable initialization mode */
LL_RTC_DisableInitMode(RTCx);
return SUCCESS;
}
/**
* @brief Waits until the RTC Time and Day registers (RTC_TR and RTC_DR) are
* synchronized with RTC APB clock.
* @note The RTC Resynchronization mode is write protected, use the
* @ref LL_RTC_DisableWriteProtection before calling this function.
* @note To read the calendar through the shadow registers after Calendar
* initialization, calendar update or after wakeup from low power modes
* the software must first clear the RSF flag.
* The software must then wait until it is set again before reading
* the calendar, which means that the calendar registers have been
* correctly copied into the RTC_TR and RTC_DR shadow registers.
* @param RTCx RTC Instance
* @retval An ErrorStatus enumeration value:
* - SUCCESS: RTC registers are synchronised
* - ERROR: RTC registers are not synchronised
*/
ErrorStatus LL_RTC_WaitForSynchro(RTC_TypeDef *RTCx)
{
__IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT;
ErrorStatus status = SUCCESS;
uint32_t tmp;
/* Check the parameter */
assert_param(IS_RTC_ALL_INSTANCE(RTCx));
/* Clear RSF flag */
LL_RTC_ClearFlag_RS(RTCx);
/* Wait the registers to be synchronised */
tmp = LL_RTC_IsActiveFlag_RS(RTCx);
while ((timeout != 0U) && (tmp != 0U))
{
if (LL_SYSTICK_IsActiveCounterFlag() == 1U)
{
timeout--;
}
tmp = LL_RTC_IsActiveFlag_RS(RTCx);
if (timeout == 0U)
{
status = ERROR;
}
}
if (status != ERROR)
{
timeout = RTC_SYNCHRO_TIMEOUT;
tmp = LL_RTC_IsActiveFlag_RS(RTCx);
while ((timeout != 0U) && (tmp != 1U))
{
if (LL_SYSTICK_IsActiveCounterFlag() == 1U)
{
timeout--;
}
tmp = LL_RTC_IsActiveFlag_RS(RTCx);
if (timeout == 0U)
{
status = ERROR;
}
}
}
return (status);
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#endif /* defined(RTC) */
/**
* @}
*/
#endif /* USE_FULL_LL_DRIVER */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
the_stack_data/120952.c | /*
* banker.c: four threads simulate the concurrent bank transactions. We have
* some deposits and a number of transaction requests. Each thread tries to take
* a request from the request pool and to execute the transaction. Careful
* locking is certainly required for such concurrent transactions.
*
* Expected output: the thread which handles the last transaction request should
* print "11000".
*/
/*
* - 0x000 -- 0xBFF: program + stack
* + 0x000 -- 0x3FF: program
* + 0x400 -- 0x5FF: stack for the first thread
* + 0x600 -- 0x7FF: stack for the second thread
* + 0x800 -- 0x9FF: stack for the third thread
* + 0xA00 -- 0xBFF: stack for the fourth thread
* - 0xC00 -- : heap
*/
#define HEAP_STARTS_AT 0xC00
#define NUM_DEPOSITS 2
#define NUM_REQUESTS 10
#define NUM_THREADS 4
#define TID 3
int main()
{
volatile unsigned int* deposits = (unsigned int *)(HEAP_STARTS_AT); // 2 * 4
volatile unsigned int* deposit_locks = (unsigned int *)(HEAP_STARTS_AT + 0x8); // 2 * 4
volatile unsigned int* high_flags = (unsigned int *)(HEAP_STARTS_AT + 0x10); // 4 * 4
volatile unsigned int* low_flags = (unsigned int *)(HEAP_STARTS_AT + 0x20); // 4 * 4
volatile unsigned int* high_turns = (unsigned int *)(HEAP_STARTS_AT + 0x30); // 4 * 4
volatile unsigned int* low_turns = (unsigned int *)(HEAP_STARTS_AT + 0x40); // 4 * 4
volatile unsigned int* from_requests = (unsigned int *)(HEAP_STARTS_AT + 0x50); // 10 * 4 == 0x28
volatile unsigned int* to_requests = (unsigned int *)(HEAP_STARTS_AT + 0x78); // 10 * 4 == 0x28
volatile unsigned int* amt_requests = (unsigned int *)(HEAP_STARTS_AT + 0xA0); // 10 * 4 == 0x28
volatile unsigned int* cur_request = (unsigned int *)(HEAP_STARTS_AT + 0xC8); // 4
volatile unsigned int* request_flags = (unsigned int *)(HEAP_STARTS_AT + 0xCC); // 4 * 4
volatile unsigned int* request_turns = (unsigned int *)(HEAP_STARTS_AT + 0xDC); // 4 * 4
volatile unsigned int* init = (unsigned int *)(HEAP_STARTS_AT + 0xEC);
// initialization for anything
unsigned int i;
if (TID == 0) {
// For deposits
for (i = 0; i < NUM_DEPOSITS; i++) {
deposits[i] = 10000;
}
// For requests
for (i = 0; i < NUM_REQUESTS; i++) {
from_requests[i] = 0;
to_requests[i] = 1;
amt_requests[i] = 100;
}
*init = 1;
}
while (*init == 0) { }
if (*cur_request == NUM_REQUESTS)
while (1) { }
while (1) {
// 1) get the current request
unsigned int j, k, br;
for (j = 0; j < NUM_THREADS - 1; j++) {
request_flags[TID] = j + 1;
request_turns[j] = TID;
while (1) {
if (request_turns[j] != TID) break;
br = 1;
for (k = 0; k < NUM_THREADS; k++)
if (k != TID && request_flags[k] >= j + 1)
br = 0;
if (br == 1) break;
}
}
unsigned int my_request_from = from_requests[*cur_request];
unsigned int my_request_to = to_requests[*cur_request];
unsigned int my_request_amt = amt_requests[*cur_request];
unsigned int requests_done = (*cur_request == NUM_REQUESTS) ? 1 : 0;
if (requests_done == 0)
*cur_request = *cur_request + 1;
// CS for requests ends
request_flags[TID] = 0;
// If all requests are done, break the loop
if (requests_done == 1) break;
// 2) get the lock for the higher
for (j = 0; j < NUM_THREADS - 1; j++) {
high_flags[TID] = j + 1;
high_turns[j] = TID;
while (1) {
if (high_turns[j] != TID) break;
br = 1;
for (k = 0; k < NUM_THREADS; k++)
if (k != TID && high_flags[k] >= j + 1)
br = 0;
if (br == 1) break;
}
}
unsigned int higher = my_request_from > my_request_to
? my_request_from
: my_request_to;
while (deposit_locks[higher] == 1) { }
deposit_locks[higher] = 1;
high_flags[TID] = 0;
// 3) get the lock for the lower
for (j = 0; j < NUM_THREADS - 1; j++) {
low_flags[TID] = j + 1;
low_turns[j] = TID;
while (1) {
if (low_turns[j] != TID) break;
br = 1;
for (k = 0; k < NUM_THREADS; k++)
if (k != TID && low_flags[k] >= j + 1)
br = 0;
if (br == 1) break;
}
}
unsigned int lower = my_request_from > my_request_to
? my_request_to
: my_request_from;
while (deposit_locks[lower] == 1) { }
deposit_locks[lower] = 1;
low_flags[TID] = 0;
// 4) make a transaction
deposits[my_request_from] = deposits[my_request_from] - my_request_amt;
deposits[my_request_to] = deposits[my_request_to] + my_request_amt;
// 5) release deposit locks
deposit_locks[higher] = 0;
deposit_locks[lower] = 0;
}
return deposits[1];
}
|
the_stack_data/1111787.c | #ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/THVectorDefault.c"
#else
void THVector_(copy_DEFAULT)(real *x, const real *y, const ptrdiff_t n) {
ptrdiff_t i = 0;
for(; i <n-4; i+=4)
{
x[i] = y[i];
x[i+1] = y[i+1];
x[i+2] = y[i+2];
x[i+3] = y[i+3];
}
for(; i < n; i++)
x[i] = y[i];
}
void THVector_(fill_DEFAULT)(real *x, const real c, const ptrdiff_t n) {
ptrdiff_t i = 0;
for(; i <n-4; i+=4)
{
x[i] = c;
x[i+1] = c;
x[i+2] = c;
x[i+3] = c;
}
for(; i < n; i++)
x[i] = c;
}
void THVector_(cadd_DEFAULT)(real *z, const real *x, const real *y, const real c, const ptrdiff_t n)
{
ptrdiff_t i = 0;
for(; i<n-4; i+=4)
{
z[i] = x[i] + c * y[i];
z[i+1] = x[i+1] + c * y[i+1];
z[i+2] = x[i+2] + c * y[i+2];
z[i+3] = x[i+3] + c * y[i+3];
}
for(; i<n; i++)
z[i] = x[i] + c * y[i];
}
void THVector_(adds_DEFAULT)(real *y, const real *x, const real c, const ptrdiff_t n)
{
ptrdiff_t i = 0;
for(; i<n-4; i+=4)
{
y[i] = x[i] + c;
y[i+1] = x[i+1] + c;
y[i+2] = x[i+2] + c;
y[i+3] = x[i+3] + c;
}
for(; i<n; i++)
y[i] = x[i] + c;
}
void THVector_(cmul_DEFAULT)(real *z, const real *x, const real *y, const ptrdiff_t n)
{
ptrdiff_t i = 0;
for(; i <n-4; i+=4)
{
z[i] = x[i] * y[i];
z[i+1] = x[i+1] * y[i+1];
z[i+2] = x[i+2] * y[i+2];
z[i+3] = x[i+3] * y[i+3];
}
for(; i < n; i++)
z[i] = x[i] * y[i];
}
void THVector_(muls_DEFAULT)(real *y, const real *x, const real c, const ptrdiff_t n)
{
ptrdiff_t i = 0;
for(; i <n-4; i+=4)
{
y[i] = x[i] * c;
y[i+1] = x[i+1] * c;
y[i+2] = x[i+2] * c;
y[i+3] = x[i+3] * c;
}
for(; i < n; i++)
y[i] = x[i] * c;
}
void THVector_(cdiv_DEFAULT)(real *z, const real *x, const real *y, const ptrdiff_t n)
{
ptrdiff_t i = 0;
for(; i<n-4; i+=4)
{
z[i] = x[i] / y[i];
z[i+1] = x[i+1] / y[i+1];
z[i+2] = x[i+2] / y[i+2];
z[i+3] = x[i+3] / y[i+3];
}
for(; i < n; i++)
z[i] = x[i] / y[i];
}
void THVector_(divs_DEFAULT)(real *y, const real *x, const real c, const ptrdiff_t n)
{
ptrdiff_t i = 0;
for(; i<n-4; i+=4)
{
y[i] = x[i] / c;
y[i+1] = x[i+1] / c;
y[i+2] = x[i+2] / c;
y[i+3] = x[i+3] / c;
}
for(; i < n; i++)
y[i] = x[i] / c;
}
#define VECTOR_IMPLEMENT_FUNCTION(NAME, CFUNC) \
void THVector_(NAME)(real *y, const real *x, const ptrdiff_t n) \
{ \
ptrdiff_t i = 0; \
for(; i<n-4; i+=4) \
{ \
y[i] = CFUNC(x[i]); \
y[i+1] = CFUNC(x[i+1]); \
y[i+2] = CFUNC(x[i+2]); \
y[i+3] = CFUNC(x[i+3]); \
} \
for(; i < n; i++) \
y[i] = CFUNC(x[i]); \
} \
#define VECTOR_IMPLEMENT_FUNCTION_VALUE(NAME, CFUNC) \
void THVector_(NAME)(real *y, const real *x, const real c, const ptrdiff_t n) \
{ \
ptrdiff_t i = 0; \
for(; i<n-4; i+=4) \
{ \
y[i] = CFUNC(x[i], c); \
y[i+1] = CFUNC(x[i+1], c); \
y[i+2] = CFUNC(x[i+2], c); \
y[i+3] = CFUNC(x[i+3], c); \
} \
for(; i < n; i++) \
y[i] = CFUNC(x[i], c); \
} \
#if defined(TH_REAL_IS_LONG)
VECTOR_IMPLEMENT_FUNCTION(abs,labs)
#endif /* long only part */
#if defined(TH_REAL_IS_SHORT) || defined(TH_REAL_IS_INT)
VECTOR_IMPLEMENT_FUNCTION(abs,abs)
#endif /* int only part */
/* floating point only now */
#if defined(TH_REAL_IS_FLOAT) || defined(TH_REAL_IS_DOUBLE)
#if defined (TH_REAL_IS_FLOAT)
#define TH_MATH_NAME(fn) fn##f
#else
#define TH_MATH_NAME(fn) fn
#endif
VECTOR_IMPLEMENT_FUNCTION(log,TH_MATH_NAME(log))
VECTOR_IMPLEMENT_FUNCTION(lgamma,TH_MATH_NAME(lgamma))
VECTOR_IMPLEMENT_FUNCTION(log1p,TH_MATH_NAME(log1p))
VECTOR_IMPLEMENT_FUNCTION(sigmoid,TH_MATH_NAME(TH_sigmoid))
VECTOR_IMPLEMENT_FUNCTION(exp,TH_MATH_NAME(exp))
VECTOR_IMPLEMENT_FUNCTION(erf,TH_MATH_NAME(erf))
VECTOR_IMPLEMENT_FUNCTION(erfinv, TH_erfinv)
VECTOR_IMPLEMENT_FUNCTION(cos,TH_MATH_NAME(cos))
VECTOR_IMPLEMENT_FUNCTION(acos,TH_MATH_NAME(acos))
VECTOR_IMPLEMENT_FUNCTION(cosh,TH_MATH_NAME(cosh))
VECTOR_IMPLEMENT_FUNCTION(sin,TH_MATH_NAME(sin))
VECTOR_IMPLEMENT_FUNCTION(asin,TH_MATH_NAME(asin))
VECTOR_IMPLEMENT_FUNCTION(sinh,TH_MATH_NAME(sinh))
VECTOR_IMPLEMENT_FUNCTION(tan,TH_MATH_NAME(tan))
VECTOR_IMPLEMENT_FUNCTION(atan,TH_MATH_NAME(atan))
VECTOR_IMPLEMENT_FUNCTION(tanh,TH_MATH_NAME(tanh))
VECTOR_IMPLEMENT_FUNCTION_VALUE(pow,TH_MATH_NAME(pow))
VECTOR_IMPLEMENT_FUNCTION(sqrt,TH_MATH_NAME(sqrt))
VECTOR_IMPLEMENT_FUNCTION(rsqrt,TH_MATH_NAME(TH_rsqrt))
VECTOR_IMPLEMENT_FUNCTION(ceil,TH_MATH_NAME(ceil))
VECTOR_IMPLEMENT_FUNCTION(floor,TH_MATH_NAME(floor))
VECTOR_IMPLEMENT_FUNCTION(round,TH_MATH_NAME(round))
VECTOR_IMPLEMENT_FUNCTION(abs,TH_MATH_NAME(fabs))
VECTOR_IMPLEMENT_FUNCTION(trunc,TH_MATH_NAME(trunc))
VECTOR_IMPLEMENT_FUNCTION(frac,TH_MATH_NAME(TH_frac))
VECTOR_IMPLEMENT_FUNCTION(cinv, TH_MATH_NAME(1.0) / )
#undef TH_MATH_NAME
#endif /* floating point only part */
#ifndef TH_REAL_IS_BYTE
VECTOR_IMPLEMENT_FUNCTION(neg,-)
#endif
#endif
|
the_stack_data/165764342.c | // RUN: %clang %s -emit-llvm -S -o - | FileCheck %s
// Verify that clang version appears in the llvm.ident metadata.
// CHECK: !llvm.ident = !{!0}
// CHECK: !0 = metadata !{metadata !{{.*}}
|
the_stack_data/86729.c | extern void __VERIFIER_error() __attribute__ ((__noreturn__));
void __VERIFIER_assert(int cond) { if(!(cond)) { ERROR: __VERIFIER_error(); } }
int main() {
__VERIFIER_assert( 1 == 1);
}
|
the_stack_data/9513015.c | #include <stdio.h>
void Printer(int arr[],int *size)
{
for (int i = 0 ; i < *size ; i++)
{
printf("element %d = %d\n",i,arr[i]);
}
}
int main()
{
int arr[] = {9,4,8,6,5,4};
int size = sizeof(arr)/sizeof(arr[0]);
for (int i = 1; i < size; i++)
{
int value = arr[i];
int hole = i; // index
while (hole > 0 && arr[hole -1 ] > value)
{
arr[hole] = arr[hole - 1];
hole -= 1;
}
arr[hole] = value;
}
// printing the array
Printer(arr,&size);
return 0;
}
|
the_stack_data/361888.c | void ft_print_alphabet(void);
int main(void)
{
ft_print_alphabet();
return 0;
}
|
the_stack_data/148310.c | #include<stdio.h>
#include<stdlib.h>
struct node
{
int data;
struct node *next;
};
typedef struct
{
struct node * top;
}STACK;
int push(STACK *s,int v)
{
struct node *temp;
temp = (struct node *)malloc(sizeof(struct node));
if(temp==NULL)
{
//printf("Overflow");
return 1;
}
temp->data=v;
temp->next=s->top;
s->top=temp;
return 0;
}
int pop(STACK *s,struct node **v)
{
struct node *temp;
if(s->top==NULL)
{
//printf("Underflow");
return 1;
}
temp=s->top;
s->top=temp->next;
*v=temp;
return 0;
}
void traverse(STACK *s)
{
if(s->top==NULL)
{
printf("Stack is empty\n");
}
else
{
struct node *temp;
printf("Stack elements are:\n");
for(temp=s->top;temp!=NULL;temp=temp->next)
{
printf("%d",temp->data);
}
}
}
int main()
{
struct node *m;
STACK s1;
s1.top = NULL;
int ch,v,q,k;
while(1)
{
printf("\n1.Push\n");
printf("2.Pop\n");
printf("3.Traverse\n");
printf("4.Quit\n");
printf("\n");
printf("Enter your choice: ");
scanf("%d",&ch);
switch(ch)
{
case 1:
printf("Enter element: ");
scanf("%d",&v);
k=push(&s1,v);
if(k==1)
printf("Stack Overflow\n");
else
printf("%d pushed\n",v);
break;
case 2:
q=pop(&s1,&m);
if(q==1)
printf("Stack is underflow\n");
else
printf("Popped item is %d\n",m->data);
break;
case 3:
traverse(&s1);
break;
case 4:
exit(0);
break;
default:
printf("Invalid choice\n");
}
}
}
|
the_stack_data/79323.c | gluLookAt(eyex, eyey, eyez, centerx, centery, centerz, upx, upy, upz);
|
the_stack_data/6562.c | #include <stdio.h>
void bubblesort(int *a,int size) {
int i,j;
for(i=0;i<size-1;i++) {
for(j=0;j<size-i-1;j++) {
if(*(a+j)>*(a+j+1)) {
*(a+j)=*(a+j)+*(a+j+1);
*(a+j+1)=*(a+j)-*(a+j+1);
*(a+j)=*(a+j)-*(a+j+1);
}
}
}
}
int slen(char *p) {
int l;
for(l=0;*(p)!='\0';l++,p++);
return l;
}
int main() {
int i,len,idx=0;
char input[1000];
int a[1000]={0};
scanf("%s",input);
len=slen(input);
for(i=0;i<len;i++) {
if(input[i]!='+') a[idx++]=input[i]-'0';
}
bubblesort(a,idx);
for(i=0;i<idx;i++) {
if(i==idx-1) printf("%d\n",a[i]);
else printf("%d+",a[i]);
}
return 0;
}
|
the_stack_data/316386.c | #include <stdio.h>
main() {
int current_char;
while ((current_char = getchar()) != EOF) {
if (current_char == '\t') {
putchar('\\');
putchar('t');
} else if (current_char == '\b') {
putchar('\\');
putchar('b');
} else if (current_char == '\\') {
putchar('\\');
putchar('\\');
} else {
putchar(current_char);
}
}
} |
the_stack_data/3262072.c | #include <stdio.h>
int main()
{
FILE *fp = fopen("/dev/random", "r");
for(int i=0;i<20;i++)
{
printf("%c", fgetc(fp));
}
printf("\n");
fclose(fp);
}
|
the_stack_data/243892151.c | /*-
* Copyright (c) 2007 Eric Anderson <[email protected]>
* Copyright (c) 2007 Pawel Jakub Dawidek <[email protected]>
* 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 AUTHORS 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 AUTHORS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>
#include <stdint.h>
int
expand_number(const char *buf, uint64_t *num)
{
char *endptr;
uintmax_t umaxval;
uint64_t number;
unsigned shift;
int serrno;
serrno = errno;
errno = 0;
umaxval = strtoumax(buf, &endptr, 0);
if (umaxval > UINT64_MAX)
errno = ERANGE;
if (errno != 0)
return (-1);
errno = serrno;
number = umaxval;
switch (tolower((unsigned char)*endptr)) {
case 'e':
shift = 60;
break;
case 'p':
shift = 50;
break;
case 't':
shift = 40;
break;
case 'g':
shift = 30;
break;
case 'm':
shift = 20;
break;
case 'k':
shift = 10;
break;
case 'b':
case '\0': /* No unit. */
*num = number;
return (0);
default:
/* Unrecognized unit. */
errno = EINVAL;
return (-1);
}
if ((number << shift) >> shift != number) {
/* Overflow */
errno = ERANGE;
return (-1);
}
*num = number << shift;
return (0);
}
|
the_stack_data/99665.c | //#include <iostream>
//#include <glad/glad.h> // 要选于glfw引入
//#include <GLFW/glfw3.h>
//
//// 回调函数声明
//void framebuffer_size_callback(GLFWwindow* window, int width, int height);
//void processInput(GLFWwindow *window);
//
//// settings
//const unsigned int SCR_WIDTH = 300;
//const unsigned int SCR_HEIGHT = 300;
//
//int main(int argc, char * argv[]) {
// // 初始化GLFW
// glfwInit();
// glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
// glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
// glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
//#ifdef __APPLE__
// glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); // uncomment this statement to fix compilation on OS X
//#endif
// // 创建一个窗口对象
// GLFWwindow *window = glfwCreateWindow(SCR_WIDTH, SCR_HEIGHT, "opengl_190715", NULL, NULL);
// if (window == NULL)
// {
// glfwTerminate();
// return -1;
// }
// // 通知GLFW将我们窗口的上下文设置为当前线程的主上下文
// glfwMakeContextCurrent(window);
// // 对窗口注册一个回调函数,每当窗口改变大小,GLFW会调用这个函数并填充相应的参数供你处理
// glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);
// // 初始化GLAD用来管理OpenGL的函数指针
// if (!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress)) {
// return -1;
// }
//
// // 渲染循环
// while(!glfwWindowShouldClose(window)) {
// // 输入
// processInput(window);
//
// // 渲染指令
// glClearColor(0.0f, 1.0f, 1.0f, 1.0f);
// glClear(GL_COLOR_BUFFER_BIT);
//
// // 检查并调用事件,交换缓冲
// glfwPollEvents(); // 检查触发事件
// glfwSwapBuffers(window); // 交换颜色缓冲
// }
//
// // 释放/删除之前的分配的所有资源
// glfwTerminate();
// return EXIT_SUCCESS;
//}
//
//// 输入控制,检查用户是否按下了返回键(Esc)
//void processInput(GLFWwindow *window) {
// if(glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS)
// glfwSetWindowShouldClose(window, true);
//}
//
//// 当用户改变窗口的大小的时候,视口也应该被调整
//void framebuffer_size_callback(GLFWwindow *window, int width, int height) {
// // 注意:对于视网膜(Retina)显示屏,width和height都会明显比原输入值更高一点。
// glViewport(0, 0, width, height);
//}
|
the_stack_data/11961.c | /* { dg-additional-options "-O2" } */
/* { dg-additional-options "-fdump-tree-parloops1-all" } */
/* { dg-additional-options "-fdump-tree-optimized" } */
#include <stdlib.h>
#define N (1024 * 512)
#define COUNTERTYPE unsigned int
int
main (void)
{
unsigned int *__restrict a;
unsigned int *__restrict b;
unsigned int *__restrict c;
COUNTERTYPE i;
a = (unsigned int *)malloc (N * sizeof (unsigned int));
b = (unsigned int *)malloc (N * sizeof (unsigned int));
c = (unsigned int *)malloc (N * sizeof (unsigned int));
for (i = 0; i < N; i++)
a[i] = i * 2;
for (i = 0; i < N; i++)
b[i] = i * 4;
#pragma acc kernels copyin (a[0:N], b[0:N]) copyout (c[0:N])
{
for (i = 0; i < N; i++)
c[i] = a[i] + b[i];
}
for (i = 0; i < N; i++)
if (c[i] != a[i] + b[i])
abort ();
free (a);
free (b);
free (c);
return 0;
}
/* Check that only one loop is analyzed, and that it can be parallelized. */
/* { dg-final { scan-tree-dump-times "SUCCESS: may be parallelized" 1 "parloops1" } } */
/* { dg-final { scan-tree-dump-not "FAILED:" "parloops1" } } */
/* Check that the loop has been split off into a function. */
/* { dg-final { scan-tree-dump-times "(?n);; Function .*main._omp_fn.0" 1 "optimized" } } */
/* { dg-final { scan-tree-dump-times "(?n)oacc function \\(0," 1 "parloops1" } } */
|
the_stack_data/62638096.c | int MAIN_FUNCTION_op_lte_eq()
{
return -10 <= -10;
} |
the_stack_data/72011436.c | #include<stdio.h>
int main()
{
char *color[]={"red","green","blue","white","black","yellow"};
printf("%p\n",color);
printf("%p\n",color+2);
printf("%p\n",*color);
printf("%p\n",*color+2);
printf("%s\t%p\n",color[5],*(color+5));
return 0;
}
|
the_stack_data/658557.c | #ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/VolumetricFullDilatedConvolution.c"
#else
static void THNN_(vol2col)(
const real *data_vol, const int channels,
const int depth, const int height, const int width,
const int kT, const int kH, const int kW,
const int pT, const int pH, const int pW,
const int dT, const int dH, const int dW,
const int dilationT, const int dilationH, const int dilationW,
real *data_col)
{
int c, t, h, w;
int depth_col = (depth + 2 * pT - (dilationT * (kT - 1) + 1)) / dT + 1;
int height_col = (height + 2 * pH - (dilationH * (kH - 1) + 1)) / dH + 1;
int width_col = (width + 2 * pW - (dilationW * (kW - 1) + 1)) / dW + 1;
int channels_col = channels * kT * kH * kW;
for (c = 0; c < channels_col; ++c)
{
int w_offset = c % kW;
int h_offset = (c / kW) % kH;
int t_offset = (c / kW / kH) % kT;
int c_vol = c / kT / kH / kW;
for (t = 0; t < depth_col; ++t)
{
for (h = 0; h < height_col; ++h)
{
for (w = 0; w < width_col; ++w)
{
int t_pad = t * dT - pT + t_offset * dilationT;
int h_pad = h * dH - pH + h_offset * dilationH;
int w_pad = w * dW - pW + w_offset * dilationW;
if (t_pad >= 0 && t_pad < depth &&
h_pad >= 0 && h_pad < height &&
w_pad >= 0 && w_pad < width)
data_col[((c * depth_col + t) * height_col + h) * width_col + w] =
data_vol[((c_vol * depth + t_pad) * height + h_pad) * width + w_pad];
else
data_col[((c * depth_col + t) * height_col + h) * width_col + w] = 0;
}
}
}
}
}
static void THNN_(col2vol)(
const real* data_col, const int channels,
const int depth, const int height, const int width,
const int out_depth, const int out_height, const int out_width,
const int kT, const int kH, const int kW,
const int pT, const int pH, const int pW,
const int dT, const int dH, const int dW,
const int dilationT, const int dilationH, const int dilationW,
real* data_vol)
{
int c, t, h, w;
memset(data_vol, 0, sizeof(real) * depth * height * width * channels);
int depth_col = out_depth;
int height_col = out_height;
int width_col = out_width;
int channels_col = channels * kT * kH * kW;
for (c = 0; c < channels_col; ++c)
{
int w_offset = c % kW;
int h_offset = (c / kW) % kH;
int t_offset = (c / kW / kH) % kT;
int c_vol = c / kT / kH / kW;
for (t = 0; t < depth_col; ++t)
{
for (h = 0; h < height_col; ++h)
{
for (w = 0; w < width_col; ++w)
{
int t_pad = t * dT - pT + t_offset * dilationT;
int h_pad = h * dH - pH + h_offset * dilationH;
int w_pad = w * dW - pW + w_offset * dilationW;
if (t_pad >= 0 && t_pad < depth &&
h_pad >= 0 && h_pad < height &&
w_pad >= 0 && w_pad < width)
data_vol[((c_vol * depth + t_pad) * height + h_pad) * width + w_pad] +=
data_col[((c * depth_col + t) * height_col + h) * width_col + w];
}
}
}
}
}
static inline void THNN_(VolumetricFullDilatedConvolution_shapeCheck)(
THTensor *input, THTensor *gradOutput,
THTensor *weight, THTensor *bias,
int dT, int dW, int dH, int pT, int pW, int pH,
int dilationT, int dilationW, int dilationH,
int aT, int aW, int aH) {
THNN_ARGCHECK(input->nDimension == 4 || input->nDimension == 5, 2, input,
"4D or 5D (batch mode) tensor expected for input, but got: %s");
// number of input & output planes and kernel size is indirectly defined by the weight tensor
THNN_ARGCHECK(weight->nDimension == 5, 4, weight,
"5D (nOutputPlane x nInputPlane x kT x kH x kW) tensor "
"expected for weight, but got: %s");
THArgCheck(dT > 0 && dW > 0 && dH > 0, 11,
"stride should be greater than zero, but got dT: %d dH: %d dW: %d", dT, dH, dW);
THArgCheck(dilationT > 0 && dilationW > 0 && dilationH > 0, 15,
"dilation should be greater than zero, but got dilationT: %d, dilationH: %d, dilationW: %d",
dilationT, dilationH, dilationW);
THArgCheck((aT < dT || aT < dilationT)
&& (aW < dW || aW < dilationW)
&& (aH < dH || aH < dilationH), 15,
"output padding must be smaller than either stride or dilation,"
" but got aT: %d aH: %d aW: %d dT: %d dH: %d dW: %d "
"dilationT: %d dilationH: %d dilationW: %d",
aT, aH, aW, dT, dH, dW, dilationT, dilationH, dilationW);
int ndim = input->nDimension;
const int nInputPlane = (int)weight->size[0];
const int nOutputPlane = (int)weight->size[1];
const int kT = (int)weight->size[2];
const int kH = (int)weight->size[3];
const int kW = (int)weight->size[4];
if (bias != NULL) {
THNN_CHECK_DIM_SIZE(bias, 1, 0, weight->size[1]);
}
int dimf = 0;
int dimd = 1;
int dimh = 2;
int dimw = 3;
if (ndim == 5) {
dimf++;
dimd++;
dimh++;
dimw++;
}
const long inputWidth = input->size[dimw];
const long inputHeight = input->size[dimh];
const long inputDepth = input->size[dimd];
const long outputDepth = (inputDepth - 1) * dT - 2*pT + (dilationT * (kT - 1) + 1) + aT;
const long outputHeight = (inputHeight - 1) * dH - 2*pH + (dilationH * (kH - 1) + 1) + aH;
const long outputWidth = (inputWidth - 1) * dW - 2*pW + (dilationW * (kW - 1) + 1) + aW;
if (outputDepth < 1 || outputWidth < 1 || outputHeight < 1)
THError("Given input size: (%dx%dx%dx%d). Calculated output size: (%dx%dx%dx%d). Output size is too small",
nInputPlane,inputDepth,inputHeight,inputWidth,nOutputPlane,outputDepth,outputHeight,outputWidth);
THNN_CHECK_DIM_SIZE(input, ndim, dimf, nInputPlane);
if (gradOutput != NULL) {
THNN_CHECK_DIM_SIZE(gradOutput, ndim, dimf, nOutputPlane);
THNN_CHECK_DIM_SIZE(gradOutput, ndim, dimd, outputDepth);
THNN_CHECK_DIM_SIZE(gradOutput, ndim, dimh, outputHeight);
THNN_CHECK_DIM_SIZE(gradOutput, ndim, dimw, outputWidth);
}
}
void THNN_(VolumetricFullDilatedConvolution_updateOutput)(
THNNState *state,
THTensor *input, // 4D or 5D (batch) tensor
THTensor *output,
THTensor *weight, // weight tensor (nInputPlane x nOutputPlane x kT x kH x kW)
THTensor *bias,
THTensor *finput, // internal columns buffer
THTensor *fgradInput, // internal ones buffer
int dT, int dW, int dH, // stride of the convolution
int pT, int pW, int pH, // padding
int dilationT, int dilationW, int dilationH,
int aT, int aW, int aH) // extra output adjustment
{
THTensor *columns = finput;
THTensor *ones = fgradInput;
THNN_(VolumetricFullDilatedConvolution_shapeCheck)(
input, NULL, weight, bias,
dT, dW, dH, pT, pW, pH, dilationT, dilationW, dilationH, aT, aW, aH);
const int nInputPlane = (int)weight->size[0];
const int nOutputPlane = (int)weight->size[1];
const int kT = (int)weight->size[2];
const int kH = (int)weight->size[3];
const int kW = (int)weight->size[4];
input = THTensor_(newContiguous)(input);
weight = THTensor_(newContiguous)(weight);
bias = bias ? THTensor_(newContiguous)(bias) : bias;
int batch = 1;
if (input->nDimension == 4)
{
// Force batch
batch = 0;
THTensor_(resize5d)(input, 1, input->size[0], input->size[1], input->size[2], input->size[3]);
}
const long inputWidth = input->size[4];
const long inputHeight = input->size[3];
const long inputDepth = input->size[2];
const long outputDepth = (inputDepth - 1) * dT - 2*pT + (dilationT * (kT - 1) + 1) + aT;
const long outputHeight = (inputHeight - 1) * dH - 2*pH + (dilationH * (kH - 1) + 1) + aH;
const long outputWidth = (inputWidth - 1) * dW - 2*pW + (dilationW * (kW - 1) + 1) + aW;
// Batch size + input planes
const long batchSize = input->size[0];
// Resize output
THTensor_(resize5d)(output, batchSize, nOutputPlane, outputDepth, outputHeight, outputWidth);
// Resize temporary columns
THTensor_(resize2d)(columns, nOutputPlane*kW*kH*kT, inputDepth*inputHeight*inputWidth);
THTensor_(zero)(columns);
// Define a buffer of ones, for bias accumulation
// Note: this buffer can be shared with other modules, it only ever gets increased,
// and always contains ones.
if (ones->nDimension != 3 || ones->size[0]*ones->size[1]*ones->size[2] < outputDepth*outputHeight*outputWidth)
{
// Resize plane and fill with ones...
THTensor_(resize3d)(ones, outputDepth, outputHeight, outputWidth);
THTensor_(fill)(ones, 1);
}
// Helpers
THTensor *input_n = THTensor_(new)();
THTensor *output_n = THTensor_(new)();
int elt;
// For each elt in batch, do:
for (elt = 0; elt < batchSize; ++elt)
{
// Matrix mulitply per output:
THTensor_(select)(input_n, input, 0, elt);
THTensor_(select)(output_n, output, 0, elt);
// M,N,K are dims of matrix A and B
// (see http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-gemm)
const long m = weight->size[1] * weight->size[2] * weight->size[3] * weight->size[4];
const long n = columns->size[1];
const long k = weight->size[0];
// Do GEMM (note: this is a bit confusing because gemm assumes column-major matrices)
THBlas_(gemm)(
'n', 't',
n, m, k,
1,
THTensor_(data)(input_n), n,
THTensor_(data)(weight), m,
0,
THTensor_(data)(columns), n
);
// Unpack columns back into input:
THNN_(col2vol)(
THTensor_(data)(columns),
nOutputPlane, outputDepth, outputHeight, outputWidth,
inputDepth, inputHeight, inputWidth,
kT, kH, kW,
pT, pH, pW,
dT, dH, dW,
dilationT, dilationH, dilationW,
THTensor_(data)(output_n)
);
// Do Bias after:
// M,N,K are dims of matrix A and B
// (see http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-gemm)
const long m_ = nOutputPlane;
const long n_ = outputDepth * outputHeight * outputWidth;
const long k_ = 1;
// Do GEMM (note: this is a bit confusing because gemm assumes column-major matrices)
if (bias) {
THBlas_(gemm)(
't', 'n',
n_, m_, k_,
1,
THTensor_(data)(ones), k_,
THTensor_(data)(bias), k_,
1,
THTensor_(data)(output_n), n_
);
}
}
// Free
THTensor_(free)(input_n);
THTensor_(free)(output_n);
// Resize output
if (batch == 0)
{
THTensor_(resize4d)(output, nOutputPlane, outputDepth, outputHeight, outputWidth);
THTensor_(resize4d)(input, nInputPlane, inputDepth, inputHeight, inputWidth);
}
THTensor_(free)(input);
THTensor_(free)(weight);
if (bias) THTensor_(free)(bias);
}
void THNN_(VolumetricFullDilatedConvolution_updateGradInput)(
THNNState *state,
THTensor *input,
THTensor *gradOutput,
THTensor *gradInput,
THTensor *weight,
THTensor *finput,
THTensor *fgradInput, // only used by cuda impl
int dT, int dW, int dH, // stride
int pT, int pW, int pH, // padding
int dilationT, int dilationW, int dilationH,
int aT, int aW, int aH) // extra output adjustment
{
THTensor *gradColumns = finput;
// number of input & output planes and kernel size is indirectly defined by the weight tensor
THNN_(VolumetricFullDilatedConvolution_shapeCheck)(
input, gradOutput, weight, NULL,
dT, dW, dH, pT, pW, pH, dilationT, dilationW, dilationH, aT, aW, aH);
const int nInputPlane = (int)weight->size[0];
const int nOutputPlane = (int)weight->size[1];
const int kT = (int)weight->size[2];
const int kH = (int)weight->size[3];
const int kW = (int)weight->size[4];
input = THTensor_(newContiguous)(input);
weight = THTensor_(newContiguous)(weight);
gradOutput = THTensor_(newContiguous)(gradOutput);
int batch = 1;
if (input->nDimension == 4)
{
// Force batch
batch = 0;
THTensor_(resize5d)(input, 1, input->size[0], input->size[1], input->size[2], input->size[3]);
THTensor_(resize5d)(gradOutput, 1, gradOutput->size[0], gradOutput->size[1], gradOutput->size[2], gradOutput->size[3]);
}
const long inputWidth = input->size[4];
const long inputHeight = input->size[3];
const long inputDepth = input->size[2];
const long outputDepth = (inputDepth - 1) * dT - 2*pT + (dilationT * (kT - 1) + 1) + aT;
const long outputHeight = (inputHeight - 1) * dH - 2*pH + (dilationH * (kH - 1) + 1) + aH;
const long outputWidth = (inputWidth - 1) * dW - 2*pW + (dilationW * (kW - 1) + 1) + aW;
// Batch size + input planes
const long batchSize = input->size[0];
// Resize output
THTensor_(resize5d)(gradInput, batchSize, nInputPlane, inputDepth, inputHeight, inputWidth);
THTensor_(zero)(gradInput);
// Resize temporary columns
THTensor_(resize2d)(gradColumns, nOutputPlane*kW*kH*kT, inputDepth*inputHeight*inputWidth);
// Helpers
THTensor *gradInput_n = THTensor_(new)();
THTensor *gradOutput_n = THTensor_(new)();
int elt;
// For each elt in batch, do:
for (elt = 0; elt < batchSize; ++elt)
{
// Matrix mulitply per sample:
THTensor_(select)(gradInput_n, gradInput, 0, elt);
THTensor_(select)(gradOutput_n, gradOutput, 0, elt);
// Extract columns:
THNN_(vol2col)(
THTensor_(data)(gradOutput_n),
nOutputPlane, outputDepth, outputHeight, outputWidth,
kT, kH, kW,
pT, pH, pW,
dT, dH, dW,
dilationT, dilationH, dilationW,
THTensor_(data)(gradColumns)
);
// M,N,K are dims of matrix A and B
// (see http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-gemm)
const long m = weight->size[0];
const long n = gradColumns->size[1];
const long k = weight->size[1] * weight->size[2] * weight->size[3] * weight->size[4];
// Do GEMM (note: this is a bit confusing because gemm assumes column-major matrices)
THBlas_(gemm)(
'n', 'n',
n, m, k,
1,
THTensor_(data)(gradColumns), n,
THTensor_(data)(weight), k,
0,
THTensor_(data)(gradInput_n), n
);
}
// Free
THTensor_(free)(gradInput_n);
THTensor_(free)(gradOutput_n);
// Resize output
if (batch == 0)
{
THTensor_(resize4d)(gradOutput, nOutputPlane, outputDepth, outputHeight, outputWidth);
THTensor_(resize4d)(input, nInputPlane, inputDepth, inputHeight, inputWidth);
THTensor_(resize4d)(gradInput, nInputPlane, inputDepth, inputHeight, inputWidth);
}
THTensor_(free)(input);
THTensor_(free)(gradOutput);
THTensor_(free)(weight);
}
void THNN_(VolumetricFullDilatedConvolution_accGradParameters)(
THNNState *state,
THTensor *input,
THTensor *gradOutput,
THTensor *gradWeight,
THTensor *gradBias,
THTensor *finput,
THTensor *fgradInput,
int dT, int dW, int dH, // stride
int pT, int pW, int pH, // padding
int dilationT, int dilationW, int dilationH,
int aT, int aW, int aH, // extra output adjustment
accreal scale_)
{
real scale = TH_CONVERT_ACCREAL_TO_REAL(scale_);
// number of input & output planes and kernel size is indirectly defined by the gradWeight tensor
THNN_(VolumetricFullDilatedConvolution_shapeCheck)(
input, gradOutput, gradWeight, gradBias,
dT, dW, dH, pT, pW, pH, dilationT, dilationW, dilationH, aT, aW, aH);
int nInputPlane = (int)gradWeight->size[0];
int nOutputPlane = (int)gradWeight->size[1];
int kT = (int)gradWeight->size[2];
int kH = (int)gradWeight->size[3];
int kW = (int)gradWeight->size[4];
THTensor *columns = finput;
THTensor *ones = fgradInput;
input = THTensor_(newContiguous)(input);
gradOutput = THTensor_(newContiguous)(gradOutput);
THArgCheck(THTensor_(isContiguous)(gradWeight), 4, "gradWeight needs to be contiguous");
if (gradBias)
THArgCheck(THTensor_(isContiguous)(gradBias), 5, "gradBias needs to be contiguous");
int batch = 1;
if (input->nDimension == 4)
{
// Force batch
batch = 0;
THTensor_(resize5d)(input, 1, input->size[0], input->size[1], input->size[2], input->size[3]);
THTensor_(resize5d)(gradOutput, 1, gradOutput->size[0], gradOutput->size[1], gradOutput->size[2], gradOutput->size[3]);
}
const long inputWidth = input->size[4];
const long inputHeight = input->size[3];
const long inputDepth = input->size[2];
const long outputDepth = (inputDepth - 1) * dT - 2*pT + (dilationT * (kT - 1) + 1) + aT;
const long outputHeight = (inputHeight - 1) * dH - 2*pH + (dilationH * (kH - 1) + 1) + aH;
const long outputWidth = (inputWidth - 1) * dW - 2*pW + (dilationW * (kW - 1) + 1) + aW;
// Batch size + input planes
const long batchSize = input->size[0];
// Define a buffer of ones, for bias accumulation
if (ones->nDimension != 3 || ones->size[0]*ones->size[1]*ones->size[2] < outputDepth*outputHeight*outputWidth)
{
// Resize plane and fill with ones...
THTensor_(resize3d)(ones, outputDepth, outputHeight, outputWidth);
THTensor_(fill)(ones, 1);
}
// Resize temporary columns
THTensor_(resize2d)(columns, nOutputPlane*kW*kH*kT, inputDepth*inputHeight*inputWidth);
// Helpers
THTensor *input_n = THTensor_(new)();
THTensor *gradOutput_n = THTensor_(new)();
int elt;
// For each elt in batch, do:
for (elt = 0; elt < batchSize; ++elt)
{
// Matrix mulitply per output:
THTensor_(select)(input_n, input, 0, elt);
THTensor_(select)(gradOutput_n, gradOutput, 0, elt);
// Extract columns:
THNN_(vol2col)(
THTensor_(data)(gradOutput_n), nOutputPlane,
outputDepth, outputHeight, outputWidth,
kT, kH, kW,
pT, pH, pW,
dT, dH, dW,
dilationT, dilationH, dilationW,
THTensor_(data)(columns)
);
// M,N,K are dims of matrix A and B
// (see http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-gemm)
const long n = columns->size[0]; // nOutputPlane * kt * kh * kw
const long m = input_n->size[0]; // nInputPlane
const long k = columns->size[1]; // inputHeight * inputWidth
// Do GEMM (note: this is a bit confusing because gemm assumes column-major matrices)
THBlas_(gemm)(
't', 'n',
n, m, k,
scale,
THTensor_(data)(columns), k,
THTensor_(data)(input_n), k,
1,
THTensor_(data)(gradWeight), n
);
// Do Bias:
// M,N,K are dims of matrix A and B
// (see http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-gemm)
const long m_ = nOutputPlane;
const long k_ = outputDepth * outputHeight * outputWidth;
// Do GEMV (note: this is a bit confusing because gemv assumes column-major matrices)
if (gradBias) {
THBlas_(gemv)(
't',
k_, m_,
scale,
THTensor_(data)(gradOutput_n), k_,
THTensor_(data)(ones), 1,
1,
THTensor_(data)(gradBias), 1
);
}
}
// Free
THTensor_(free)(input_n);
THTensor_(free)(gradOutput_n);
// Resize
if (batch == 0)
{
THTensor_(resize4d)(gradOutput, nOutputPlane, outputDepth, outputHeight, outputWidth);
THTensor_(resize4d)(input, nInputPlane, inputDepth, inputHeight, inputWidth);
}
THTensor_(free)(input);
THTensor_(free)(gradOutput);
}
#endif
|
the_stack_data/632246.c | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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.
*/
#ifdef ENABLE_SSE
#include "nnacl/intrinsics/ms_simd_instructions.h"
#include "nnacl/fp32/common_func_fp32.h"
#include "nnacl/intrinsics/sse/sse_common.h"
void PostFuncBiasReluC4(float *dst, const float *src, const float *bias, size_t oc4div, size_t oc4mod,
size_t plane_size, size_t plane_stride, size_t relu_type) {
size_t stride = oc4div + oc4mod;
plane_stride /= sizeof(float);
for (size_t loop_c4 = 0; loop_c4 < oc4div; loop_c4 += C4NUM) {
size_t plane_size_tmp = plane_size;
float *dst_c4 = dst + loop_c4;
__m128 bias1 = _mm_setzero_ps();
if (bias != NULL) {
bias1 = _mm_loadu_ps(bias);
bias += 4;
}
for (; plane_size_tmp >= C4NUM; plane_size_tmp -= C4NUM) {
__m128 src1 = _mm_loadu_ps(src);
__m128 src2 = _mm_loadu_ps(src + 4);
__m128 src3 = _mm_loadu_ps(src + 8);
__m128 src4 = _mm_loadu_ps(src + 12);
src += 16;
src1 = _mm_add_ps(src1, bias1);
src2 = _mm_add_ps(src2, bias1);
src3 = _mm_add_ps(src3, bias1);
src4 = _mm_add_ps(src4, bias1);
ActBlock4(&src1, &src2, &src3, &src4, relu_type == 1, relu_type == 3);
_mm_storeu_ps(dst_c4, src1);
dst_c4 += stride;
_mm_storeu_ps(dst_c4, src2);
dst_c4 += stride;
_mm_storeu_ps(dst_c4, src3);
dst_c4 += stride;
_mm_storeu_ps(dst_c4, src4);
dst_c4 += stride;
}
for (; plane_size_tmp > 0; plane_size_tmp -= 1) {
__m128 src1 = _mm_loadu_ps(src);
src1 = _mm_add_ps(src1, bias1);
ActBlock1(&src1, relu_type == 1, relu_type == 3);
_mm_storeu_ps(dst_c4, src1);
dst_c4 += stride;
src += 4;
}
src += plane_stride;
}
if (oc4mod == 0) {
return;
}
__m128 bias1 = _mm_setzero_ps();
if (bias != NULL) {
bias1 = _mm_loadu_ps(bias);
bias += 4;
}
float *dst_c1 = dst + oc4div;
for (size_t plane_size_tmp = plane_size; plane_size_tmp > 0; plane_size_tmp -= 1) {
__m128 src1 = _mm_loadu_ps(src);
src += 4;
src1 = _mm_add_ps(src1, bias1);
ActBlock1(&src1, relu_type == 1, relu_type == 3);
switch (oc4mod) {
case 1:
_mm_store_ss(dst_c1, src1);
dst_c1 += stride;
break;
case 2:
_mm_storel_pi((__m64 *)(dst_c1), src1);
dst_c1 += stride;
break;
case 3:
_mm_storel_pi((__m64 *)(dst_c1), src1);
src1 = _mm_unpackhi_ps(src1, src1);
_mm_store_ss(dst_c1 + 2, src1);
dst_c1 += stride;
break;
case 4:
_mm_storeu_ps(dst_c1, src1);
dst_c1 += stride;
break;
}
}
}
#endif
|
the_stack_data/4831.c | /*
* 题意:
* 给定一棵大小为 n 的树,求一种方案将其一分为二,使其一大小为 a ,另一大小为 b 。
* 无解输出 -1 。
*
* 实际上就是求一棵树中有无大小为 a 或 b 的子树。假设该树有一子树大小为 a ,需对此树以 [1, a]
* 编号。对所有子树,保证其根上的编号大于其子树中编号的最大值。以此,在其子树被吃完前可保证树根
* 不断。为避免重复,可在递归时给每一子树分配一个区间 [l, r] ,规定该子树中所有结点的编号必须在
* [l, r] 内。
*
* 可以 O(n) 实现。
*/
#include <stdio.h>
struct {
struct {
int dst, nxt;
} E[200009];
int Ec;
struct {
int siz, edg, fa, id;
} N[100009];
int n;
int flag;
} G;
void g_ini(int n)
{
G.n = n;
G.Ec = 1;
}
void g_add(int u, int v)
{
G.E[G.Ec].dst = v;
G.E[G.Ec].nxt = G.N[u].edg;
G.N[u].edg = G.Ec++;
}
void g_dfs_info(int rt)
{
int i;
G.N[rt].siz = 1;
for (i = G.N[rt].edg; i; i = G.E[i].nxt)
if (G.E[i].dst != G.N[rt].fa) {
int t = G.E[i].dst;
G.N[t].fa = rt;
g_dfs_info(t);
G.N[rt].siz += G.N[t].siz;
}
}
void g_dfs_number(int rt, int l, int r)
{
int i;
G.N[rt].id = r * G.flag;
for (i = G.N[rt].edg; i; i = G.E[i].nxt)
if (G.E[i].dst != G.N[rt].fa) {
int t = G.E[i].dst;
g_dfs_number(t, l, l + G.N[t].siz - 1);
l += G.N[t].siz;
}
}
int main(void)
{
int n, a, b;
int i;
scanf("%d%d%d", &n, &a, &b);
g_ini(n);
for (i = 1; i < n; ++i) {
int u, v;
scanf("%d%d", &u, &v);
g_add(u, v);
g_add(v, u);
}
g_dfs_info(1);
for (i = 1; i <= n; ++i)
if (G.N[i].siz == a || G.N[i].siz == b)
break;
if (G.N[i].siz == a) {
G.flag = 1;
g_dfs_number(i, 1, a);
G.N[G.N[i].fa].fa = i;
g_dfs_info(G.N[i].fa);
G.flag = -1;
g_dfs_number(G.N[i].fa, 1, b);
for (i = 1; i <= n; ++i)
printf("%d\n", G.N[i].id);
} else if (G.N[i].siz == b) {
G.flag = -1;
g_dfs_number(i, 1, b);
G.N[G.N[i].fa].fa = i;
g_dfs_info(G.N[i].fa);
G.flag = 1;
g_dfs_number(G.N[i].fa, 1, a);
for (i = 1; i <= n; ++i)
printf("%d\n", G.N[i].id);
} else {
puts("-1");
}
return 0;
}
|
the_stack_data/6386561.c | /* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
typedef struct {
int iatom[3];
int blocknr;
} t_sortblock;
#define DIM 3
void foo (int ncons, t_sortblock *sb, int *iatom)
{
int i, m;
for(i=0; (i<ncons); i++,iatom+=3)
for(m=0; (m<DIM); m++)
iatom[m]=sb[i].iatom[m];
}
/* The testcase was originally added for correctness reasons but now we
can vectorize it correctly if the target supports the permutations
required. */
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" { target { ! vect_perm } } } } */
|
the_stack_data/72013965.c | #include <stdio.h>
#include <stdlib.h>
int flag_a = 0;
int flag_b = 0;
int flag_c = 0;
/*
* We use a fully instantiated manifest.
*
* The Config Prime engine should remove everthing except the only
* possible execution.
*
* EXPECTED: all strings "You should NOT see this message" are removed
* in the bitcode.
*/
void get_opt(int argc, char **argv) {
// assigning a literal value 1 to each flag
unsigned iter;
for(iter = 1; iter < argc; iter++){
if(argv[iter][0] == '-' && argv[iter][1]){
switch(argv[iter][1]){
case 'a':
flag_a = 1;
break;
case 'b':
flag_b = 1;
break;
case 'c':
flag_c = 1;
break;
default:
break;
}
}
}
}
void use_flags() {
if (flag_b) {
printf("You should see this message\n");
}
if (flag_a) {
printf("You should NOT see this message\n");
}
if (flag_c) {
printf("You should NOT see this message\n");
}
}
int main (int argc, char **argv){
get_opt(argc, argv);
use_flags();
return 0;
}
|
the_stack_data/34374.c | ////////////////////////////////////////////////////////////////////////////
//
// Function Name : AdditionEven()
// Description : Sum Of Even Number From Singly Linear Linked List
// Input : Integer
// Output : Integer
// Author : Prasad Dangare
// Date : 22 April 2021
//
////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <stdlib.h>
struct node
{
int Data;
struct node * Next;
};
typedef struct node NODE;
typedef struct node* PNODE;
typedef struct node** PPNODE;
void InsertFirst(PPNODE Head , int no )
{
PNODE newn = NULL;
newn = (PNODE)malloc(sizeof(NODE));
newn->Next = NULL;
newn->Data = no;
if (*Head == NULL)
{
*Head = newn;
}
else
{
newn -> Next = *Head;
*Head = newn;
}
}
int AdditionEven(PNODE Head)
{
int Sum = 0;
while (Head != NULL)
{
if(Head -> Data % 2 == 0)
{
Sum = Sum + Head -> Data;
}
Head = Head -> Next;
}
return Sum;
}
void Display(PNODE Head)
{
while (Head != NULL)
{
printf("|%d|->\t", Head -> Data);
Head = Head -> Next;
}
printf("NULL\n");
}
int main()
{
int iRet = 0;
PNODE First = NULL;
InsertFirst(&First, 41);
InsertFirst(&First, 32);
InsertFirst(&First, 20);
InsertFirst(&First, 11);
Display(First);
iRet = AdditionEven(First);
printf("Addition Of Even Numbers is : %d ", iRet);
return 0;
} |
the_stack_data/614688.c | #include <stdio.h>
int main(void){
printf("\"A\tB\tC\tD\"\n");
printf("\"A\tB\tC\tD\"\n");
printf("\"A\tB\tC\tD\"\n");
return 0;
} |
the_stack_data/13432.c | /*
* FreeSec: libcrypt
*
* Copyright (C) 1994 David Burren
* 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(s) of the author(s) nor the names of other contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) 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 AUTHOR(S) 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.
*
*
* This is an original implementation of the DES and the crypt(3) interfaces
* by David Burren <[email protected]>.
*
* An excellent reference on the underlying algorithm (and related
* algorithms) is:
*
* B. Schneier, Applied Cryptography: protocols, algorithms,
* and source code in C, John Wiley & Sons, 1994.
*
* Note that in that book's description of DES the lookups for the initial,
* pbox, and final permutations are inverted (this has been brought to the
* attention of the author). A list of errata for this book has been
* posted to the sci.crypt newsgroup by the author and is available for FTP.
*
* NOTE:
* This file has a static version of des_setkey() so that crypt.o exports
* only the crypt() interface. This is required to make binaries linked
* against crypt.o exportable or re-exportable from the USA.
*/
#include <sys/types.h>
#include <string.h>
unsigned int xendian = 0x01020304;
unsigned int
xntohl(unsigned int x)
{
if ( *((char *)&xendian) == 0x01 )
return(x);
else
return( ((x & 0x000000ffU) << 24) |
((x & 0x0000ff00U) << 8) |
((x & 0x00ff0000U) >> 8) |
((x & 0xff000000U) >> 24) );
}
unsigned
xhtonl(unsigned int x)
{
if ( *((char *)&xendian) == 0x01 )
return(x);
else
return( ((x & 0x000000ffU) << 24) |
((x & 0x0000ff00U) << 8) |
((x & 0x00ff0000U) >> 8) |
((x & 0xff000000U) >> 24) );
}
#define _PASSWORD_EFMT1 '_'
static unsigned char IP[64] = {
58, 50, 42, 34, 26, 18, 10, 2, 60, 52, 44, 36, 28, 20, 12, 4,
62, 54, 46, 38, 30, 22, 14, 6, 64, 56, 48, 40, 32, 24, 16, 8,
57, 49, 41, 33, 25, 17, 9, 1, 59, 51, 43, 35, 27, 19, 11, 3,
61, 53, 45, 37, 29, 21, 13, 5, 63, 55, 47, 39, 31, 23, 15, 7
};
static unsigned char inv_key_perm[64];
static unsigned char key_perm[56] = {
57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18,
10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36,
63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22,
14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4
};
static unsigned char key_shifts[16] = {
1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1
};
static unsigned char inv_comp_perm[56];
static unsigned char comp_perm[48] = {
14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10,
23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2,
41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48,
44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32
};
/*
* No E box is used, as it's replaced by some ANDs, shifts, and ORs.
*/
static unsigned char u_sbox[8][64];
static unsigned char sbox[8][64] = {
{
14, 4, 13, 1, 2, 15, 11, 8, 3, 10, 6, 12, 5, 9, 0, 7,
0, 15, 7, 4, 14, 2, 13, 1, 10, 6, 12, 11, 9, 5, 3, 8,
4, 1, 14, 8, 13, 6, 2, 11, 15, 12, 9, 7, 3, 10, 5, 0,
15, 12, 8, 2, 4, 9, 1, 7, 5, 11, 3, 14, 10, 0, 6, 13
},
{
15, 1, 8, 14, 6, 11, 3, 4, 9, 7, 2, 13, 12, 0, 5, 10,
3, 13, 4, 7, 15, 2, 8, 14, 12, 0, 1, 10, 6, 9, 11, 5,
0, 14, 7, 11, 10, 4, 13, 1, 5, 8, 12, 6, 9, 3, 2, 15,
13, 8, 10, 1, 3, 15, 4, 2, 11, 6, 7, 12, 0, 5, 14, 9
},
{
10, 0, 9, 14, 6, 3, 15, 5, 1, 13, 12, 7, 11, 4, 2, 8,
13, 7, 0, 9, 3, 4, 6, 10, 2, 8, 5, 14, 12, 11, 15, 1,
13, 6, 4, 9, 8, 15, 3, 0, 11, 1, 2, 12, 5, 10, 14, 7,
1, 10, 13, 0, 6, 9, 8, 7, 4, 15, 14, 3, 11, 5, 2, 12
},
{
7, 13, 14, 3, 0, 6, 9, 10, 1, 2, 8, 5, 11, 12, 4, 15,
13, 8, 11, 5, 6, 15, 0, 3, 4, 7, 2, 12, 1, 10, 14, 9,
10, 6, 9, 0, 12, 11, 7, 13, 15, 1, 3, 14, 5, 2, 8, 4,
3, 15, 0, 6, 10, 1, 13, 8, 9, 4, 5, 11, 12, 7, 2, 14
},
{
2, 12, 4, 1, 7, 10, 11, 6, 8, 5, 3, 15, 13, 0, 14, 9,
14, 11, 2, 12, 4, 7, 13, 1, 5, 0, 15, 10, 3, 9, 8, 6,
4, 2, 1, 11, 10, 13, 7, 8, 15, 9, 12, 5, 6, 3, 0, 14,
11, 8, 12, 7, 1, 14, 2, 13, 6, 15, 0, 9, 10, 4, 5, 3
},
{
12, 1, 10, 15, 9, 2, 6, 8, 0, 13, 3, 4, 14, 7, 5, 11,
10, 15, 4, 2, 7, 12, 9, 5, 6, 1, 13, 14, 0, 11, 3, 8,
9, 14, 15, 5, 2, 8, 12, 3, 7, 0, 4, 10, 1, 13, 11, 6,
4, 3, 2, 12, 9, 5, 15, 10, 11, 14, 1, 7, 6, 0, 8, 13
},
{
4, 11, 2, 14, 15, 0, 8, 13, 3, 12, 9, 7, 5, 10, 6, 1,
13, 0, 11, 7, 4, 9, 1, 10, 14, 3, 5, 12, 2, 15, 8, 6,
1, 4, 11, 13, 12, 3, 7, 14, 10, 15, 6, 8, 0, 5, 9, 2,
6, 11, 13, 8, 1, 4, 10, 7, 9, 5, 0, 15, 14, 2, 3, 12
},
{
13, 2, 8, 4, 6, 15, 11, 1, 10, 9, 3, 14, 5, 0, 12, 7,
1, 15, 13, 8, 10, 3, 7, 4, 12, 5, 6, 11, 0, 14, 9, 2,
7, 11, 4, 1, 9, 12, 14, 2, 0, 6, 10, 13, 15, 3, 5, 8,
2, 1, 14, 7, 4, 10, 8, 13, 15, 12, 9, 0, 3, 5, 6, 11
}
};
static unsigned char un_pbox[32];
static unsigned char pbox[32] = {
16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10,
2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6, 22, 11, 4, 25
};
static unsigned int bits32[32] =
{
0x80000000, 0x40000000, 0x20000000, 0x10000000,
0x08000000, 0x04000000, 0x02000000, 0x01000000,
0x00800000, 0x00400000, 0x00200000, 0x00100000,
0x00080000, 0x00040000, 0x00020000, 0x00010000,
0x00008000, 0x00004000, 0x00002000, 0x00001000,
0x00000800, 0x00000400, 0x00000200, 0x00000100,
0x00000080, 0x00000040, 0x00000020, 0x00000010,
0x00000008, 0x00000004, 0x00000002, 0x00000001
};
static unsigned char bits8[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
static unsigned int saltbits;
static int old_salt;
static unsigned int *bits28, *bits24;
static unsigned char init_perm[64], final_perm[64];
static unsigned int en_keysl[16], en_keysr[16];
static unsigned int de_keysl[16], de_keysr[16];
static int des_initialised = 0;
static unsigned char m_sbox[4][4096];
static unsigned int psbox[4][256];
static unsigned int ip_maskl[8][256], ip_maskr[8][256];
static unsigned int fp_maskl[8][256], fp_maskr[8][256];
static unsigned int key_perm_maskl[8][128], key_perm_maskr[8][128];
static unsigned int comp_maskl[8][128], comp_maskr[8][128];
static unsigned int old_rawkey0, old_rawkey1;
static unsigned char ascii64[] =
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
/* 0000000000111111111122222222223333333333444444444455555555556666 */
/* 0123456789012345678901234567890123456789012345678901234567890123 */
static __inline int
ascii_to_bin(char ch)
{
if (ch > 'z')
return(0);
if (ch >= 'a')
return(ch - 'a' + 38);
if (ch > 'Z')
return(0);
if (ch >= 'A')
return(ch - 'A' + 12);
if (ch > '9')
return(0);
if (ch >= '.')
return(ch - '.');
return(0);
}
static void
des_init()
{
int i, j, b, k, inbit, obit;
unsigned int *p, *il, *ir, *fl, *fr;
old_rawkey0 = old_rawkey1 = 0;
saltbits = 0;
old_salt = 0;
bits24 = (bits28 = bits32 + 4) + 4;
/*
* Invert the S-boxes, reordering the input bits.
*/
for (i = 0; i < 8; i++)
for (j = 0; j < 64; j++) {
b = (j & 0x20) | ((j & 1) << 4) | ((j >> 1) & 0xf);
u_sbox[i][j] = sbox[i][b];
}
/*
* Convert the inverted S-boxes into 4 arrays of 8 bits.
* Each will handle 12 bits of the S-box input.
*/
for (b = 0; b < 4; b++)
for (i = 0; i < 64; i++)
for (j = 0; j < 64; j++)
m_sbox[b][(i << 6) | j] =
(u_sbox[(b << 1)][i] << 4) |
u_sbox[(b << 1) + 1][j];
/*
* Set up the initial & final permutations into a useful form, and
* initialise the inverted key permutation.
*/
for (i = 0; i < 64; i++) {
init_perm[final_perm[i] = IP[i] - 1] = (unsigned char) i;
inv_key_perm[i] = 255;
}
/*
* Invert the key permutation and initialise the inverted key
* compression permutation.
*/
for (i = 0; i < 56; i++) {
inv_key_perm[key_perm[i] - 1] = (unsigned char) i;
inv_comp_perm[i] = 255;
}
/*
* Invert the key compression permutation.
*/
for (i = 0; i < 48; i++) {
inv_comp_perm[comp_perm[i] - 1] = (unsigned char) i;
}
/*
* Set up the OR-mask arrays for the initial and final permutations,
* and for the key initial and compression permutations.
*/
for (k = 0; k < 8; k++) {
for (i = 0; i < 256; i++) {
*(il = &ip_maskl[k][i]) = 0;
*(ir = &ip_maskr[k][i]) = 0;
*(fl = &fp_maskl[k][i]) = 0;
*(fr = &fp_maskr[k][i]) = 0;
for (j = 0; j < 8; j++) {
inbit = 8 * k + j;
if (i & bits8[j]) {
if ((obit = init_perm[inbit]) < 32)
*il |= bits32[obit];
else
*ir |= bits32[obit-32];
if ((obit = final_perm[inbit]) < 32)
*fl |= bits32[obit];
else
*fr |= bits32[obit - 32];
}
}
}
for (i = 0; i < 128; i++) {
*(il = &key_perm_maskl[k][i]) = 0;
*(ir = &key_perm_maskr[k][i]) = 0;
for (j = 0; j < 7; j++) {
inbit = 8 * k + j;
if (i & bits8[j + 1]) {
if ((obit = inv_key_perm[inbit]) == 255)
continue;
if (obit < 28)
*il |= bits28[obit];
else
*ir |= bits28[obit - 28];
}
}
*(il = &comp_maskl[k][i]) = 0;
*(ir = &comp_maskr[k][i]) = 0;
for (j = 0; j < 7; j++) {
inbit = 7 * k + j;
if (i & bits8[j + 1]) {
if ((obit=inv_comp_perm[inbit]) == 255)
continue;
if (obit < 24)
*il |= bits24[obit];
else
*ir |= bits24[obit - 24];
}
}
}
}
/*
* Invert the P-box permutation, and convert into OR-masks for
* handling the output of the S-box arrays setup above.
*/
for (i = 0; i < 32; i++)
un_pbox[pbox[i] - 1] = (unsigned char) i;
for (b = 0; b < 4; b++)
for (i = 0; i < 256; i++) {
*(p = &psbox[b][i]) = 0;
for (j = 0; j < 8; j++) {
if (i & bits8[j])
*p |= bits32[un_pbox[8 * b + j]];
}
}
des_initialised = 1;
}
static void
setup_salt(int salt)
{
unsigned int obit, saltbit;
int i;
if (salt == old_salt)
return;
old_salt = salt;
saltbits = 0;
saltbit = 1;
obit = 0x800000;
for (i = 0; i < 24; i++) {
if (salt & saltbit)
saltbits |= obit;
saltbit <<= 1;
obit >>= 1;
}
}
static int
des_setkey(const char *key)
{
unsigned int k0, k1, rawkey0, rawkey1;
int shifts, round;
if (!des_initialised)
des_init();
rawkey0 = xntohl(*(unsigned int *) key);
rawkey1 = xntohl(*(unsigned int *) (key + 4));
if ((rawkey0 | rawkey1)
&& rawkey0 == old_rawkey0
&& rawkey1 == old_rawkey1) {
/*
* Already setup for this key.
* This optimisation fails on a zero key (which is weak and
* has bad parity anyway) in order to simplify the starting
* conditions.
*/
return(0);
}
old_rawkey0 = rawkey0;
old_rawkey1 = rawkey1;
/*
* Do key permutation and split into two 28-bit subkeys.
*/
k0 = key_perm_maskl[0][rawkey0 >> 25]
| key_perm_maskl[1][(rawkey0 >> 17) & 0x7f]
| key_perm_maskl[2][(rawkey0 >> 9) & 0x7f]
| key_perm_maskl[3][(rawkey0 >> 1) & 0x7f]
| key_perm_maskl[4][rawkey1 >> 25]
| key_perm_maskl[5][(rawkey1 >> 17) & 0x7f]
| key_perm_maskl[6][(rawkey1 >> 9) & 0x7f]
| key_perm_maskl[7][(rawkey1 >> 1) & 0x7f];
k1 = key_perm_maskr[0][rawkey0 >> 25]
| key_perm_maskr[1][(rawkey0 >> 17) & 0x7f]
| key_perm_maskr[2][(rawkey0 >> 9) & 0x7f]
| key_perm_maskr[3][(rawkey0 >> 1) & 0x7f]
| key_perm_maskr[4][rawkey1 >> 25]
| key_perm_maskr[5][(rawkey1 >> 17) & 0x7f]
| key_perm_maskr[6][(rawkey1 >> 9) & 0x7f]
| key_perm_maskr[7][(rawkey1 >> 1) & 0x7f];
/*
* Rotate subkeys and do compression permutation.
*/
shifts = 0;
for (round = 0; round < 16; round++) {
unsigned int t0, t1;
shifts += key_shifts[round];
t0 = (k0 << shifts) | (k0 >> (28 - shifts));
t1 = (k1 << shifts) | (k1 >> (28 - shifts));
de_keysl[15 - round] =
en_keysl[round] = comp_maskl[0][(t0 >> 21) & 0x7f]
| comp_maskl[1][(t0 >> 14) & 0x7f]
| comp_maskl[2][(t0 >> 7) & 0x7f]
| comp_maskl[3][t0 & 0x7f]
| comp_maskl[4][(t1 >> 21) & 0x7f]
| comp_maskl[5][(t1 >> 14) & 0x7f]
| comp_maskl[6][(t1 >> 7) & 0x7f]
| comp_maskl[7][t1 & 0x7f];
de_keysr[15 - round] =
en_keysr[round] = comp_maskr[0][(t0 >> 21) & 0x7f]
| comp_maskr[1][(t0 >> 14) & 0x7f]
| comp_maskr[2][(t0 >> 7) & 0x7f]
| comp_maskr[3][t0 & 0x7f]
| comp_maskr[4][(t1 >> 21) & 0x7f]
| comp_maskr[5][(t1 >> 14) & 0x7f]
| comp_maskr[6][(t1 >> 7) & 0x7f]
| comp_maskr[7][t1 & 0x7f];
}
return(0);
}
static int
do_des(unsigned int l_in, unsigned int r_in, unsigned int *l_out,
unsigned int *r_out, int count)
{
/*
* l_in, r_in, l_out, and r_out are in pseudo-"big-endian" format.
*/
unsigned int l, r, *kl, *kr, *kl1, *kr1;
unsigned int f = 0, r48l, r48r;
int round;
if (count == 0) {
return(1);
} else if (count > 0) {
/*
* Encrypting
*/
kl1 = en_keysl;
kr1 = en_keysr;
} else {
/*
* Decrypting
*/
count = -count;
kl1 = de_keysl;
kr1 = de_keysr;
}
/*
* Do initial permutation (IP).
*/
l = ip_maskl[0][l_in >> 24]
| ip_maskl[1][(l_in >> 16) & 0xff]
| ip_maskl[2][(l_in >> 8) & 0xff]
| ip_maskl[3][l_in & 0xff]
| ip_maskl[4][r_in >> 24]
| ip_maskl[5][(r_in >> 16) & 0xff]
| ip_maskl[6][(r_in >> 8) & 0xff]
| ip_maskl[7][r_in & 0xff];
r = ip_maskr[0][l_in >> 24]
| ip_maskr[1][(l_in >> 16) & 0xff]
| ip_maskr[2][(l_in >> 8) & 0xff]
| ip_maskr[3][l_in & 0xff]
| ip_maskr[4][r_in >> 24]
| ip_maskr[5][(r_in >> 16) & 0xff]
| ip_maskr[6][(r_in >> 8) & 0xff]
| ip_maskr[7][r_in & 0xff];
while (count--) {
/*
* Do each round.
*/
kl = kl1;
kr = kr1;
round = 16;
while (round--) {
/*
* Expand R to 48 bits (simulate the E-box).
*/
r48l = ((r & 0x00000001) << 23)
| ((r & 0xf8000000) >> 9)
| ((r & 0x1f800000) >> 11)
| ((r & 0x01f80000) >> 13)
| ((r & 0x001f8000) >> 15);
r48r = ((r & 0x0001f800) << 7)
| ((r & 0x00001f80) << 5)
| ((r & 0x000001f8) << 3)
| ((r & 0x0000001f) << 1)
| ((r & 0x80000000) >> 31);
/*
* Do salting for crypt() and friends, and
* XOR with the permuted key.
*/
f = (r48l ^ r48r) & saltbits;
r48l ^= f ^ *kl++;
r48r ^= f ^ *kr++;
/*
* Do sbox lookups (which shrink it back to 32 bits)
* and do the pbox permutation at the same time.
*/
f = psbox[0][m_sbox[0][r48l >> 12]]
| psbox[1][m_sbox[1][r48l & 0xfff]]
| psbox[2][m_sbox[2][r48r >> 12]]
| psbox[3][m_sbox[3][r48r & 0xfff]];
/*
* Now that we've permuted things, complete f().
*/
f ^= l;
l = r;
r = f;
}
r = l;
l = f;
}
/*
* Do final permutation (inverse of IP).
*/
*l_out = fp_maskl[0][l >> 24]
| fp_maskl[1][(l >> 16) & 0xff]
| fp_maskl[2][(l >> 8) & 0xff]
| fp_maskl[3][l & 0xff]
| fp_maskl[4][r >> 24]
| fp_maskl[5][(r >> 16) & 0xff]
| fp_maskl[6][(r >> 8) & 0xff]
| fp_maskl[7][r & 0xff];
*r_out = fp_maskr[0][l >> 24]
| fp_maskr[1][(l >> 16) & 0xff]
| fp_maskr[2][(l >> 8) & 0xff]
| fp_maskr[3][l & 0xff]
| fp_maskr[4][r >> 24]
| fp_maskr[5][(r >> 16) & 0xff]
| fp_maskr[6][(r >> 8) & 0xff]
| fp_maskr[7][r & 0xff];
return(0);
}
static int
des_cipher(const char *in, char *out, int salt, int count)
{
unsigned int l_out, r_out, rawl, rawr;
unsigned int x[2];
int retval;
if (!des_initialised)
des_init();
setup_salt(salt);
memcpy(x, in, sizeof x);
rawl = xntohl(x[0]);
rawr = xntohl(x[1]);
retval = do_des(rawl, rawr, &l_out, &r_out, count);
x[0] = xhtonl(l_out);
x[1] = xhtonl(r_out);
memcpy(out, x, sizeof x);
return(retval);
}
char *
xcrypt(const char *key, const char *setting)
{
int i;
unsigned int count, salt, l, r0, r1, keybuf[2];
unsigned char *p, *q;
static unsigned char output[21];
if (!des_initialised)
des_init();
/*
* Copy the key, shifting each character up by one bit
* and padding with zeros.
*/
q = (unsigned char *) keybuf;
while ((q - (unsigned char *) keybuf) < sizeof(keybuf)) {
if ((*q++ = *key << 1))
key++;
}
if (des_setkey((const char *) keybuf))
return(NULL);
if (*setting == _PASSWORD_EFMT1) {
/*
* "new"-style:
* setting - underscore, 4 bytes of count, 4 bytes of salt
* key - unlimited characters
*/
for (i = 1, count = 0; i < 5; i++)
count |= ascii_to_bin(setting[i]) << (i - 1) * 6;
for (i = 5, salt = 0; i < 9; i++)
salt |= ascii_to_bin(setting[i]) << (i - 5) * 6;
while (*key) {
/*
* Encrypt the key with itself.
*/
if (des_cipher((const char*)keybuf, (char*)keybuf, 0, 1))
return(NULL);
/*
* And XOR with the next 8 characters of the key.
*/
q = (unsigned char *) keybuf;
while (((q - (unsigned char *) keybuf) < sizeof(keybuf)) &&
*key)
*q++ ^= *key++ << 1;
if (des_setkey((const char *) keybuf))
return(NULL);
}
strncpy((char *)output, setting, 9);
/*
* Double check that we weren't given a short setting.
* If we were, the above code will probably have created
* wierd values for count and salt, but we don't really care.
* Just make sure the output string doesn't have an extra
* NUL in it.
*/
output[9] = '\0';
p = output + strlen((const char *)output);
} else {
/*
* "old"-style:
* setting - 2 bytes of salt
* key - up to 8 characters
*/
count = 25;
salt = (ascii_to_bin(setting[1]) << 6)
| ascii_to_bin(setting[0]);
output[0] = setting[0];
/*
* If the encrypted password that the salt was extracted from
* is only 1 character long, the salt will be corrupted. We
* need to ensure that the output string doesn't have an extra
* NUL in it!
*/
output[1] = setting[1] ? setting[1] : output[0];
p = output + 2;
}
setup_salt(salt);
/*
* Do it.
*/
if (do_des(0, 0, &r0, &r1, count))
return(NULL);
/*
* Now encode the result...
*/
l = (r0 >> 8);
*p++ = ascii64[(l >> 18) & 0x3f];
*p++ = ascii64[(l >> 12) & 0x3f];
*p++ = ascii64[(l >> 6) & 0x3f];
*p++ = ascii64[l & 0x3f];
l = (r0 << 16) | ((r1 >> 16) & 0xffff);
*p++ = ascii64[(l >> 18) & 0x3f];
*p++ = ascii64[(l >> 12) & 0x3f];
*p++ = ascii64[(l >> 6) & 0x3f];
*p++ = ascii64[l & 0x3f];
l = r1 << 2;
*p++ = ascii64[(l >> 12) & 0x3f];
*p++ = ascii64[(l >> 6) & 0x3f];
*p++ = ascii64[l & 0x3f];
*p = 0;
return((char *)output);
}
|
the_stack_data/87638499.c | #include <stdio.h>
int main ()
{
int n, i, d1, d2, m1, m2, y1, y2, d, m, y;
char c;
scanf ("%d", &n);
for (i=1; i<=n; i++)
{
scanf ("%d %c %d %c %d", &d1, &c, &m1, &c, &y1);
scanf ("%d %c %d %c %d", &d2, &c, &m2, &c, &y2);
d= d1-d2;
m= m1-m2;
y= y1-y2;
if (y<0)
printf("Case #%d: Invalid birth date\n", i);
else if (y==0)
{
if (m<0)
printf("Case #%d: Invalid birth date\n", i);
else if (m==0)
{
if (d<0)
printf("Case #%d: Invalid birth date\n", i);
else
printf("Case #%d: %d\n", i, y);
}
else
printf("Case #%d: %d\n", i, y);
}
else if (y>0 && y<=130)
{
if (m<0)
printf("Case #%d: %d\n", i, y-1);
else if (m==0)
{
if (d<0)
printf("Case #%d: %d\n", i, y-1);
else
printf("Case #%d: %d\n", i, y);
}
else
printf("Case #%d: %d\n", i, y);
}
else if (y==131)
{
if (m<0)
printf("Case #%d: %d\n", i, y-1);
else if (m==0)
{
if (d<0)
printf("Case #%d: %d\n", i, y-1);
else
printf("Case #%d: Check birth date\n", i);
}
else
printf("Case #%d: Check birth date\n", i);
}
else
printf("Case #%d: Check birth date\n", i);
}
return 0;
}
|
the_stack_data/231392157.c | /*
FFTE: A FAST FOURIER TRANSFORM PACKAGE
(C) COPYRIGHT SOFTWARE, 2000-2004, 2008-2014, ALL RIGHTS RESERVED
BY
DAISUKE TAKAHASHI
FACULTY OF ENGINEERING, INFORMATION AND SYSTEMS
UNIVERSITY OF TSUKUBA
1-1-1 TENNODAI, TSUKUBA, IBARAKI 305-8573, JAPAN
E-MAIL: [email protected]
WRITTEN BY DAISUKE TAKAHASHI
THIS KERNEL WAS GENERATED BY SPIRAL 8.2.0a03
*/
void dft7b_(double *Y, double *X, double *TW1, int *lp1, int *mp1) {
double a1268, a1269, a1270, a1271, a1272, a1273, a1274, a1275,
a1276, a1277, a1278, a1279, s706, s707, s708, s709,
s710, s711, s712, s713, s714, s715, s716, s717,
s718, s719, s720, s721, s722, s723, s724, s725,
s726, s727, s728, s729, s730, s731, s732, s733,
s734, s735, s736, s737, s738, s739, s740, s741,
s742, s743, s744, s745, s746, s747, s748, s749,
s750, s751, s752, s753, s754, s755, s756, s757,
t1798, t1799, t1800, t1801, t1802, t1803, t1804, t1805,
t1806, t1807, t1808, t1809, t1810, t1811, t1812, t1813,
t1814, t1815, t1816, t1817, t1818, t1819, t1820, t1821,
t1822, t1823, t1824, t1825, t1826, t1827, t1828, t1829,
t1830, t1831, t1832, t1833, t1834, t1835, t1836, t1837,
t1838, t1839, t1840, t1841, t1842, t1843, t1844, t1845,
t1846, t1847, t1848, t1849;
int a1258, a1259, a1260, a1261, a1262, a1263, a1264, a1265,
a1266, a1267, a1280, a1281, a1282, a1283, a1284, a1285,
a1286, a1287, b105, j1, l1, m1;
l1 = *(lp1);
m1 = *(mp1);
for(int j2 = 0; j2 < (l1 - 1); j2++) {
j1 = (j2 + 1);
for(int k1 = 0; k1 < m1; k1++) {
a1258 = (2*k1);
a1259 = (j1*m1);
a1260 = (a1258 + (2*a1259));
s706 = X[a1260];
s707 = X[(a1260 + 1)];
b105 = (l1*m1);
a1261 = (a1260 + (2*b105));
s708 = X[a1261];
s709 = X[(a1261 + 1)];
a1262 = (a1260 + (4*b105));
s710 = X[a1262];
s711 = X[(a1262 + 1)];
a1263 = (a1260 + (6*b105));
s712 = X[a1263];
s713 = X[(a1263 + 1)];
a1264 = (a1260 + (8*b105));
s714 = X[a1264];
s715 = X[(a1264 + 1)];
a1265 = (a1260 + (10*b105));
s716 = X[a1265];
s717 = X[(a1265 + 1)];
a1266 = (a1260 + (12*b105));
s718 = X[a1266];
s719 = X[(a1266 + 1)];
t1798 = (s710 + s714);
t1799 = (s711 + s715);
t1800 = (s708 + t1798);
t1801 = (s709 + t1799);
t1802 = (s708 - (0.5*t1798));
t1803 = (s709 - (0.5*t1799));
s720 = (0.8660254037844386*(s711 - s715));
s721 = (0.8660254037844386*(s710 - s714));
t1804 = (t1802 + s720);
t1805 = (t1803 - s721);
t1806 = (t1802 - s720);
t1807 = (t1803 + s721);
t1808 = (s718 + s716);
t1809 = (s719 + s717);
t1810 = (s712 + t1808);
t1811 = (s713 + t1809);
t1812 = (s712 - (0.5*t1808));
t1813 = (s713 - (0.5*t1809));
s722 = (0.8660254037844386*(s719 - s717));
s723 = (0.8660254037844386*(s718 - s716));
t1814 = (t1812 + s722);
t1815 = (t1813 - s723);
t1816 = (t1812 - s722);
t1817 = (t1813 + s723);
s724 = ((0.5*t1814) + (0.8660254037844386*t1815));
s725 = ((0.5*t1815) - (0.8660254037844386*t1814));
s726 = ((0.8660254037844386*t1817) - (0.5*t1816));
s727 = ((0.8660254037844386*t1816) + (0.5*t1817));
t1818 = (t1800 + t1810);
t1819 = (t1801 + t1811);
t1820 = (t1804 + s724);
t1821 = (t1805 + s725);
t1822 = (t1804 - s724);
t1823 = (t1805 - s725);
t1824 = (t1806 + s726);
t1825 = (t1807 - s727);
t1826 = (t1806 - s726);
t1827 = (t1807 + s727);
t1828 = (s706 - (0.16666666666666666*t1818));
t1829 = (s707 - (0.16666666666666666*t1819));
s728 = ((0.4066888930575896*t1820) + (0.17043646531196571*t1821));
s729 = ((0.4066888930575896*t1821) - (0.17043646531196571*t1820));
s730 = ((0.39507823426270006*t1824) + (0.1958510486474645*t1825));
s731 = ((0.39507823426270006*t1825) - (0.1958510486474645*t1824));
s732 = (0.44095855184409843*(t1801 - t1811));
s733 = (0.44095855184409843*(t1800 - t1810));
s734 = ((0.39507823426270006*t1822) - (0.1958510486474645*t1823));
s735 = ((0.1958510486474645*t1822) + (0.39507823426270006*t1823));
s736 = ((0.17043646531196566*t1827) - (0.4066888930575896*t1826));
s737 = ((0.17043646531196566*t1826) + (0.4066888930575896*t1827));
t1830 = (s730 + s734);
t1831 = (s731 + s735);
t1832 = (t1828 + t1830);
t1833 = (t1829 + t1831);
t1834 = (t1828 - (0.5*t1830));
t1835 = (t1829 - (0.5*t1831));
s738 = (0.8660254037844386*(s731 - s735));
s739 = (0.8660254037844386*(s730 - s734));
t1836 = (t1834 + s738);
t1837 = (t1835 - s739);
t1838 = (t1834 - s738);
t1839 = (t1835 + s739);
t1840 = (s732 + s736);
t1841 = (s733 + s737);
t1842 = (s728 + t1840);
t1843 = (s729 - t1841);
t1844 = (s728 - (0.5*t1840));
t1845 = (s729 + (0.5*t1841));
s740 = (0.8660254037844386*(s737 - s733));
s741 = (0.8660254037844386*(s732 - s736));
t1846 = (t1844 + s740);
t1847 = (t1845 - s741);
t1848 = (t1844 - s740);
t1849 = (t1845 + s741);
s742 = ((0.5*t1846) + (0.8660254037844386*t1847));
s743 = ((0.5*t1847) - (0.8660254037844386*t1846));
s744 = ((0.8660254037844386*t1849) - (0.5*t1848));
s745 = ((0.8660254037844386*t1848) + (0.5*t1849));
s746 = (t1832 + t1842);
s747 = (t1833 + t1843);
s748 = (t1832 - t1842);
s749 = (t1833 - t1843);
s750 = (t1836 + s742);
s751 = (t1837 + s743);
s752 = (t1836 - s742);
s753 = (t1837 - s743);
s754 = (t1838 + s744);
s755 = (t1839 - s745);
s756 = (t1838 - s744);
s757 = (t1839 + s745);
a1267 = (12*j1);
a1268 = TW1[a1267];
a1269 = TW1[(a1267 + 1)];
a1270 = TW1[(a1267 + 2)];
a1271 = TW1[(a1267 + 3)];
a1272 = TW1[(a1267 + 4)];
a1273 = TW1[(a1267 + 5)];
a1274 = TW1[(a1267 + 6)];
a1275 = TW1[(a1267 + 7)];
a1276 = TW1[(a1267 + 8)];
a1277 = TW1[(a1267 + 9)];
a1278 = TW1[(a1267 + 10)];
a1279 = TW1[(a1267 + 11)];
a1280 = (14*a1259);
a1281 = (a1258 + a1280);
Y[a1281] = (s706 + t1818);
Y[(a1281 + 1)] = (s707 + t1819);
a1282 = (a1258 + (2*m1) + a1280);
Y[a1282] = ((a1268*s746) - (a1269*s747));
Y[(a1282 + 1)] = ((a1269*s746) + (a1268*s747));
a1283 = (a1258 + (4*m1) + a1280);
Y[a1283] = ((a1270*s754) - (a1271*s755));
Y[(a1283 + 1)] = ((a1271*s754) + (a1270*s755));
a1284 = (a1258 + (6*m1) + a1280);
Y[a1284] = ((a1272*s750) - (a1273*s751));
Y[(a1284 + 1)] = ((a1273*s750) + (a1272*s751));
a1285 = (a1258 + (8*m1) + a1280);
Y[a1285] = ((a1274*s752) - (a1275*s753));
Y[(a1285 + 1)] = ((a1275*s752) + (a1274*s753));
a1286 = (a1258 + (10*m1) + a1280);
Y[a1286] = ((a1276*s756) - (a1277*s757));
Y[(a1286 + 1)] = ((a1277*s756) + (a1276*s757));
a1287 = (a1258 + (12*m1) + a1280);
Y[a1287] = ((a1278*s748) - (a1279*s749));
Y[(a1287 + 1)] = ((a1279*s748) + (a1278*s749));
}
}
}
|
the_stack_data/57949852.c | /* Copyright (C) 1991, 1993, 1995, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#include <stdarg.h>
#undef __OPTIMIZE__ /* Avoid inline `vprintf' function. */
#include <stdio.h>
#undef vprintf
/* Write formatted output to stdout according to the
format string FORMAT, using the argument list in ARG. */
int
vprintf (format, arg)
const char *format;
__gnuc_va_list arg;
{
return vfprintf (stdout, format, arg);
}
|
the_stack_data/122401.c | #include<sys/types.h>
#include<sys/wait.h>
#include<unistd.h>
#include<stdlib.h>
#include<string.h>
#include<stdio.h>
#include<fcntl.h>
#include<errno.h>
void cd_command(char *input,char *input1){
char cwd[1000];
getcwd(cwd,sizeof cwd);
if(input==NULL || strcmp(input,"~")==0 || strcmp(input,"-P")==0){
char *home=getenv("HOME");
chdir(home);
if(errno==ENOENT){
printf("%s\n","The directory specified in path does not exist." );
}
else if(errno==EACCES){
printf("%s\n","Search permission is denied for one of the components of path." );
}
}
else if(strcmp(input,"-L")==0){
int x=chdir(input1);
if(x<0){
//printf("cd: %s: No such file or directory\n",input );
if(errno==ENOENT){
printf("%s\n","The directory specified in path does not exist." );
}
else if(errno==EACCES){
printf("%s\n","Search permission is denied for one of the components of path." );
}
}
}
else if(strcmp(input,"..")==0){
chdir("../");
if(errno==ENOENT){
printf("%s\n","The directory specified in path does not exist." );
}
else if(errno==EACCES){
printf("%s\n","Search permission is denied for one of the components of path." );
}
}
else{
int x=chdir(input);
if(x<0){
//printf("cd: %s: No such file or directory\n",input );
if(errno==ENOENT){
printf("%s\n","The directory specified in path does not exist." );
}
else if(errno==EACCES){
printf("%s\n","Search permission is denied for one of the components of path." );
}
}
}
getcwd(cwd,sizeof cwd);
printf("%s\n",cwd );
}
void pwd_command(char *input){
if(input==NULL || strcmp(input,"-L")==0){
char cwd[1000];
getcwd(cwd,sizeof cwd);
if(errno==ENOENT){
printf("%s\n","The current working directory has been unlinked." );
}
else if(errno==EACCES){
printf("%s\n","Permission to read or search a component of the filename was denied." );
}
printf("%s\n",cwd );
}
else if(strcmp(input,"-P")==0){
char *home=getenv("HOME");
printf("%s\n",home );
}
else{
if(strcmp(input,"--help")==0){
printf("%s\n","pwd: pwd [-LP]\nPrint the name of the current working directory.\n\n Options:\n-L print the value of $PWD if it names the current working\ndirectory\n-P print the physical directory, without any symbolic links\n\nBy default, `pwd' behaves as if `-L' were specified.\n\nExit Status:\nReturns 0 unless an invalid option is given or the current directory\ncannot be read.\n");
}//add more condition
}
}
void exit_command(){
exit(0);
}
void echo_command(char *input1, char *input2){
if(input1==NULL){
printf("\n");
}
else if(strcmp(input1,"-n")==0){
int i=0;
while(input2[i]!='\0'){
if(input2[i]=='\n'){
i++;
}
else{
printf("%c",input2[i]);//make some changes
i++;
}
}
//write(STDOUT_FILENO,input2,strlen(input2));
}
else if(strcmp(input1,"-E")==0){
int i=0;
while(i<strlen(input2) && input2[i]!='\0'){
if(input2[i]=='\a'){
i++;
}
else if(input2[i]=='\b'){
i++;
}
else if(input2[i]=='\e'){
i++;
}
else if(input2[i]=='\f'){
i++;
}
else if(input2[i]=='\n'){
i++;
}
else if(input2[i]=='\r'){
i++;
}
else if(input2[i]=='\t'){
i++;
}
else if(input2[i]=='\v'){
i++;
}
else if(input2[i]=='\\'){
i++;
}
else{
printf("%c",input2[i]);
//write(STDOUT_FILENO,input2[i],strlen(input2[i]));
i++;
}
}
}
else{
printf("%s\n",input1);
}
}
void addHist(char *input){
FILE *f=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt","a");
if(f!=NULL){
fprintf(f, "%s\n",input);
}
fclose(f);
}
void history_command(char *input,char *input1){
if(input==NULL){
FILE *f=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt","r");
if(f!=NULL){
char line[200];
int i=1;
while(fgets(line,sizeof line,f)!=NULL){
printf("%d. %s\n",i,line );
i++;
}
}
perror("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt");//handles all errors based on all errnos generated by fopen
fclose(f);
}
else if(strcmp(input,"-c")==0){
FILE *f=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt","w");
perror("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt");
fclose(f);
}
else if(strcmp(input,"-s")==0){
FILE *f=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt","a");
if(f!=NULL){
fprintf(f, "%s\n",input1);
}
perror("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt");
fclose(f);
}
/*else if(strcmp(input,"-d")==0){
//delete input1 - 1,since one more entry is added
//printf("%s\n","hiiii" );
int x=atoi(input1);
//printf("%d\n", x);
FILE *fi=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt","r");
int count=0;
if(fi!=NULL){
char line[200];
while(fgets(line,sizeof line,fi)!=NULL){
count++;
}
}
//printf("%d %s\n",count,"count" );
perror("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt");
fclose(fi);
if(x>0 && x<=count){
}
else if(x<0){
//printf("%s\n","ajao" );
//int d=x-2;
int y=(count+x+1);//to make it work like actaul delete in bash;
x=y;
}
else if(x>count || x==0){
x=0;
}
//printf("%d %s\n",x,"hello" );
FILE *f=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt","r");
FILE *f1=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history1.txt","w");
if(f!=NULL && f1!=NULL){
char line[200];
int i=1;
while(fgets(line,sizeof line,f)!=NULL){
//printf("%d. %s\n",i,line );
if(i==x){
//fprintf(f1, "%s\n",line);
}
else{
fprintf(f1, "%s",line);
}
i++;
}
}
fclose(f);
fclose(f1);
int l=remove("history.txt");
/*if(l==0){
printf("%s\n","thank" );
}*/
//int ret=rename("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history1.txt","history.txt");
/*if(ret==0){
printf("%s\n","yessss" );
}*/
//}*/
else{
int val=atoi(input);//also handles the case when a number is not passed since it atoi will return 0
FILE *fi=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt","r");
int count=0;
if(fi!=NULL){
char line[200];
while(fgets(line,sizeof line,fi)!=NULL){
count++;
}
}
perror("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt");
fclose(fi);
FILE *f=fopen("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt","r");
if(f!=NULL){
char line[200];
int x=0;
while(fgets(line,sizeof line,f)!=NULL){
if(x>=(count-val)){
printf("%d. %s\n",x,line );
x++;
}
else{
x++;
}
}
}
perror("/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/history.txt");
fclose(f);
}
}
void main(){
char input[500];
printf("%s\n","Welcome to the Shell>>>>" );
//the %[^\n]%*c makes it read the input including scpaces until \n charachter,
//otherwise it would have read till space
//add command to history
while(1){
printf("%s",">>" );
scanf("%[^\n]%*c",input);
addHist(input);
char *sep_input[5];
int i=0;
sep_input[i]=strtok(input," ");//strtok returns a pointer to the location after " " in each successive call
while(sep_input[i]!=NULL){
i++;
sep_input[i]=strtok(NULL," ");
}
char abc[1]="\n";/*
if(sep_input[0]=="\n"){
printf("%s\n","oops" );
}*/
if(strcmp(sep_input[0],abc)==0){
printf("%s\n","oops" );
}
else if(strcmp(sep_input[0],"cd")==0){
cd_command(sep_input[1],sep_input[2]);
}
else if(strcmp(sep_input[0],"pwd")==0){
pwd_command(sep_input[1]);
}
else if(strcmp(sep_input[0],"echo")==0){
echo_command(sep_input[1],sep_input[2]);
}
else if(strcmp(sep_input[0],"history")==0){
history_command(sep_input[1],sep_input[2]);
}
else if(strcmp(sep_input[0],"exit")==0){
exit_command();
}
else{
pid_t pid;
pid=fork();
if(pid<0){
fprintf(stderr, "%s\n","Fork Failed" );
}
else if(pid==0){
//to open any file,first compile it with the name gcc filename.c -o filename.o
if(strcmp(sep_input[0],"date")==0 && sep_input[1]==NULL){
//execl()
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/date.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
else if(strcmp(sep_input[0],"date")==0 && strcmp(sep_input[1],"-R")==0 ){
//execl()
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/date_R.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
else if(strcmp(sep_input[0],"date")==0 && strcmp(sep_input[1],"-I")==0 ){
//execl()
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/date_I.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
else if(strcmp(sep_input[0],"mkdir")==0){
//printf("%s\n", "success");
//execl("./mkdir.o",sep_input[1],NULL);
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/mkdir.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
else if(strcmp(sep_input[0],"rm")==0){
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/rm.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
else if(strcmp(sep_input[0],"cat")==0){
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/cat.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
else if(strcmp(sep_input[0],"ls")==0 && sep_input[1]==NULL){
//printf("%s\n","okay" );
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/ls.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
else if(strcmp(sep_input[0],"ls")==0 && strcmp(sep_input[1],"-a")==0){
//printf("%s\n","okay" );
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/ls_a.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
else if(strcmp(sep_input[0],"ls")==0 && strcmp(sep_input[1],"-1")==0){
//printf("%s\n","okay" );
char *args[]={"/mnt/c/users/dell/dipankar/sem3/os/ass1/q2/ls_1.o",sep_input[1],sep_input[2],NULL};
execv(args[0],args);
}
exit(-1);
}
else{
waitpid(-1,NULL,0);
}
}
}
} |
the_stack_data/162644401.c | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// ____ ___ __ _
// / __// o |,'_/ .' \
// / _/ / _,'/ /_n / o / _ __ _ ___ _ _ __
// /_/ /_/ |__,'/_n_/ / \,' /.' \ ,' _/,' \ / |/ /
// / \,' // o /_\ `./ o // || /
// /_/ /_//_n_//___,'|_,'/_/|_/
//
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Author : Wesley Taylor-Rendal (WTR)
// Design history : Review git logs.
// Description : Messy code & reformating exercise
// Concepts : Need to refactor and utilise spaces, indentation, names, etc
// : anything to improve for readablity.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
#include <stdio.h>
int main(void){
int n,two_to_the_n;
printf("TABLE OF POWERS OF TWO\n\n");
printf(" n 2 to the n\n");
printf("---- ------------\n");
two_to_the_n=1;
for(n=0;n<=10;++n){
printf("%2i %i\n", n, two_to_the_n); two_to_the_n*=2;}
return 0;}
*/
// step 1. highlight and use = for vim auto indentation
// step 2. use cr to seperate chunks arround brackets or ;
// step 3. use spaces
// repeat step 1.
#include <stdio.h>
int main(void)
{
int n, two_to_the_n;
printf("TABLE OF POWERS OF TWO\n\n");
printf(" n 2 to the n\n");
printf("---- ------------\n");
two_to_the_n=1;
for(n=0;n<=10;++n)
{
printf("%2i %i\n", n, two_to_the_n);
two_to_the_n*=2;
}
return 0;
}
|
the_stack_data/105347.c | /*
* Copyright 2014-2017 Katherine Flavel
*
* See LICENCE for the full copyright terms.
*/
#include <unistd.h>
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include "spawn.h"
int
spawn(char *const argv[])
{
int r;
assert(argv != NULL);
assert(argv[0] != NULL);
r = fork();
if (r == -1) {
return -1;
}
if (r != 0) {
/* TODO: handle SIGCHLD and wait for child */
return 0;
}
/* TODO: flag to detach child */
if (-1 == execvp(argv[0], argv)) {
perror(argv[0]);
}
exit(1);
}
|
the_stack_data/90764297.c | /*
* This test application is to read/write data directly from/to the device
* from userspace.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <assert.h>
#include <stdbool.h>
void usage(void) {
printf("*argv[0] -g <GPIO_ADDRESS> -i|-o <VALUE>\n");
printf(" -g <GPIO_ADDR> GPIO physical address\n");
printf(" -i Input from GPIO\n");
printf(" -o <VALUE> Output to GPIO\n");
return;
}
typedef struct {
int cmd;
int src;
int dest;
unsigned int len;
} Conf;
FILE* openImage(char* filename, int* numbytes){
FILE* infile = fopen(filename, "rb");
if(infile==NULL){
printf("File not found %s\n",filename);
exit(1);
}
fseek(infile, 0L, SEEK_END);
*numbytes = ftell(infile);
fseek(infile, 0L, SEEK_SET);
return infile;
}
void loadImage(FILE* infile, volatile void* address, int numbytes){
int outlen = fread(address, sizeof(char), numbytes, infile);
if(outlen!=numbytes){
printf("ERROR READING\n");
}
fclose(infile);
}
bool isPowerOf2(unsigned int x) {
return x && !(x & (x - 1));
}
// we don't have a standard library... so reimplement this badly
unsigned int mylog2(unsigned int x){
printf("mylog2\n");
unsigned int res = 0;
// find highest true bit
while(x=x>>1){printf("H%d\n",x);res++;}
return res;
}
int saveImage(char* filename, volatile void* address, int numbytes){
FILE* outfile = fopen(filename, "wb");
if(outfile==NULL){
printf("could not open for writing %s\n",filename);
exit(1);
}
int outlen = fwrite(address,1,numbytes,outfile);
if(outlen!=numbytes){
printf("ERROR WRITING\n");
}
fclose(outfile);
}
int main(int argc, char *argv[]) {
unsigned gpio_addr = 0x70000000;
unsigned copy_addr = atoi(argv[1]);
if(argc!=10){
printf("ERROR< insufficient args. Should be: addr inputFilename outputFilename inputW inputH inputBitsPerPixel outputW outH outputBitsPerPixel\n");
exit(1);
}
unsigned int inputW = atoi(argv[4]);
unsigned int inputH = atoi(argv[5]);
unsigned int inputBitsPerPixel = atoi(argv[6]);
unsigned int outputW = atoi(argv[7]);
unsigned int outputH = atoi(argv[8]);
unsigned int outputBitsPerPixel = atoi(argv[9]);
if(outputBitsPerPixel%8!=0){
printf("Error, NYI - non-byte aligned output bits per pixel not supported!\n");
exit(1);
}
unsigned int outputBytesPerPixel = outputBitsPerPixel/8;
unsigned page_size = sysconf(_SC_PAGESIZE);
printf("GPIO access through /dev/mem. %d\n", page_size);
if (gpio_addr == 0) {
printf("GPIO physical address is required.\n");
usage();
return -1;
}
int fd = open ("/dev/mem", O_RDWR | O_SYNC );
if (fd < 1) {
perror(argv[0]);
return -1;
}
unsigned lenInRaw;
FILE* imfile = openImage(argv[2], &lenInRaw);
printf("file LEN %d\n",lenInRaw);
unsigned int lenIn = lenInRaw;
// include extra axi burst of cycle count
unsigned int lenOutRaw = outputW*outputH*outputBytesPerPixel+128;
unsigned int lenOut = lenOutRaw;
// HW pads to next largest axi burst size (128 bytes)
if (lenIn%(8*16)!=0){
lenIn = lenInRaw + (8*16-(lenInRaw % (8*16)));
}
if (lenOutRaw%(8*16)!=0){
lenOut = lenOutRaw + (8*16-(lenOutRaw % (8*16)));
}
printf("LENOUT %d, LENOUTRAW:%d\n", lenOut,lenOutRaw);
assert(lenIn % (8*16) == 0);
printf("LENIN %d\n",lenIn);
assert(lenOut % (8*16) == 0);
printf("mapping %08x\n",copy_addr);
void * ptr = mmap(NULL, lenIn+lenOut, PROT_READ|PROT_WRITE, MAP_SHARED, fd, copy_addr);
if(ptr==(void *) -1){
printf("Error mmaping\n");
exit(1);
}
loadImage( imfile, ptr, lenInRaw );
// zero out the output region
for(int i=0; i<lenOut; i++){ *(unsigned char*)(ptr+lenIn+i)=0; }
// mmap the device into memory
// This mmaps the control region (the MMIO for the control registers).
// Image data is located at addr 'copy_addr'
void * gpioptr = mmap(NULL, page_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, gpio_addr);
if(gpioptr==(void *) -1){
printf("Error mmaping gpio\n");
exit(1);
}
// this sleep is needed for the z100, but not the z20
sleep(2);
volatile Conf * conf = (Conf*) gpioptr;
conf->src = copy_addr;
conf->dest = copy_addr + lenIn;
conf->len = lenIn;
// HACK: poking cmd causes the pipeline to start. sleep for 2sec to make sure the above registers set before starting.
sleep(2);
conf->cmd = 3;
//usleep(10000);
sleep(2); // this sleep needs to be 2 for the z100, but 1 for the z20
saveImage(argv[3],ptr+lenIn,lenOutRaw);
munmap( gpioptr, page_size );
munmap( ptr, lenIn+lenOut );
return 0;
}
|
the_stack_data/123789.c | /* This test should check, how the tool handle abstractions, which are false without any predicates
*/
int unsafe;
int global;
int f(int t )
{
int oldflags ;
int s ;
if (oldflags > 36) {
global = 1;
if (oldflags == 9) {
func(0);
}
if (t == 40) {
func(t);
}
}
return (0);
}
int func(int p) {
if (p == 0) {
unsafe = 1;
}
global = 0;
return 0;
}
int ldv_main() {
int t;
f(40);
}
|
the_stack_data/48574194.c | #include <stdio.h>
#include <malloc.h>
#include <stdbool.h>
struct Tree
{
struct Tree *Right;
struct Tree *Left;
double Data;
};
int glubina(struct Tree *t)
{
int prav = 0, lev = 0;
if ((t->Right) != NULL)
prav = glubina(t->Right);
if ((t->Left) != NULL)
lev = glubina(t->Left);
if (prav > lev)
return (prav + 1);
return (lev + 1);
}
int insert(struct Tree *t, int value)
{
if (t->Data == value)
return 1;
if (value > (t->Data))
{
if ((t->Right) != NULL)
return(insert(t->Right, value));
else
{
t->Right = (struct Tree *)malloc(sizeof(struct Tree));
t->Right->Right = NULL;
t->Right->Left = NULL;
t->Right->Data = value;
return 0;
}
}
else
{
if ((t->Left) != NULL)
return(insert(t->Left, value));
else
{
t->Left = (struct Tree *)malloc(sizeof(struct Tree));
t->Left->Right = NULL;
t->Left->Left = NULL;
t->Left->Data = value;
return 0;
}
}
}
void init(struct Tree **t, int value)
{
*t = (struct Tree *)malloc(sizeof(struct Tree));
(*t)->Right = NULL;
(*t)->Left = NULL;
(*t)->Data = value;
}
int print_width(struct Tree *t)
{
struct Tree *Temp = t;
int Rang = 0, i, j, k, sk, Spaces = 0;
int *comb;
Rang = glubina(t);
comb = (int*)malloc(sizeof(int));
for (i = 0; i < Rang; i++)//обход по рангам
{
if (i != 0)//зануление
{
comb = (int*)realloc(comb, i * sizeof(int));
for (j = 0; j < i; j++)
comb[j] = 0;
}
j = 1;
sk = i;
while (sk != 0)
{
j = j * 2;//сколько элементов на одном ранге
sk--;
}
while (j != 0)
{
k = 0;
Temp = t;
for (k = 0; k < i; k++)//проход до нужного узла
{
if (comb[k] == 0)
{
if ((Temp->Left) != NULL)
Temp = Temp->Left;
else
{
k = -1;
break;
}
}
else
{
if ((Temp->Right) != NULL)
Temp = Temp->Right;
else
{
k = -1;
break;
}
}
}
if (i != 0)
{
sk = i - 1;
comb[sk]++;
while (1)
{
if (comb[sk] == 2)
{
comb[sk] = 0;
sk--;
if (sk < 0)
break;
else
comb[sk]++;
}
else
break;
}
}
if (k != -1)//проверка на существование элемента
{
if (Spaces == 1)
{
printf(" ");
Spaces = 1;
}
printf("%d", (int)Temp->Data);
Spaces = 1;
}
j--;
}
}
return 0;
}
int main()
{
struct Tree *t;
double val;
int i;
scanf("%lf", &val);
init(&t, val);
for (i = 0; i < 6; i++)
{
scanf("%lf", &val);
insert(t, val);
}
print_width(t);
return 1;
}
|
the_stack_data/237641928.c | static const char *MARPAESLIFLUA_NILEDTABLE =
"\n"
"-- NiledTable.lua\n"
"local M = {}\n"
"\n"
"-- weak table for representing proxied storage tables.\n"
"local data = setmetatable({}, {__mode = 'k'})\n"
"\n"
"-- nil placeholder.\n"
"-- Note: this value is not exposed outside this module, so\n"
"-- there's typically no possibility that a user could attempt\n"
"-- to store a 'nil placeholder' in a table, leading to the\n"
"-- same problem as storing nils in tables.\n"
"local NIL = {\n"
" __tostring = function() return tostring(nil) end,\n"
" __type = function() return type(nil) end\n"
"}\n"
"setmetatable(NIL, NIL)\n"
"\n"
"-- metatable for NiledTable's.\n"
"local mt = {}\n"
"function mt.__index(t,k)\n"
" -- print('__index('..tostring(t)..', '..tostring(k)..')')\n"
" local d = data[t]\n"
" local v = d and d[k]\n"
" if v == NIL then v = nil end\n"
" return v\n"
"end\n"
"function mt.__newindex(t,k,v)\n"
" if v == nil then v = NIL end\n"
" -- print('__newindex('..tostring(t)..', '..tostring(k)..', '..tostring(v)..')')\n"
" local d = data[t]\n"
" if not d then\n"
" d = {}\n"
" data[t] = d\n"
" end\n"
" d[k] = v\n"
"end\n"
"function mt.__len(t) -- note: ignored by Lua but used by exlen below\n"
" -- print('__len('..tostring(t)..')')\n"
" local d = data[t]\n"
" return d and #d or 0\n"
"end\n"
"\n"
"-- constructor\n"
"setmetatable(M, {__call = function(class, t)\n"
" return setmetatable(t, mt)\n"
"end})\n"
"\n"
"function M.exists(t, k)\n"
" -- print('exists('..tostring(t)..', '..tostring(k)..')')\n"
" local d = data[t]\n"
" return (d and d[k]) ~= nil\n"
"end\n"
"local exists = M.exists\n"
"\n"
"function M.exlen(t)\n"
" -- print('exlen('..tostring(t)..')')\n"
" local mt = getmetatable(t)\n"
" local len = mt.__len\n"
" return len and len(t) or #t\n"
"end\n"
"\n"
"local function exipairs_iter(t, i)\n"
" i = i + 1\n"
" if exists(t, i) then\n"
" local v = t[i]\n"
" return i, v\n"
" end\n"
"end\n"
"\n"
"-- ipairs replacement that handles nil values in tables.\n"
"function M.exipairs(t, i)\n"
" -- print('exipairs('..tostring(t)..', '..tostring(i)..')')\n"
" return exipairs_iter, t, 0\n"
"end\n"
"\n"
"-- next replacement that handles nil values in tables\n"
"function M.exnext(t, k)\n"
" -- print('exnext('..tostring(t)..', '..tostring(k)..')')\n"
" local d = data[t]\n"
" if not d then return end\n"
" k, v = next(d, k)\n"
" -- print('... => '..tostring(k)..', '..tostring(v))\n"
" return k, v\n"
"end\n"
"local exnext = M.exnext\n"
"\n"
"-- pairs replacement that handles nil values in tables.\n"
"function M.expairs(t, i)\n"
" -- print('expairs('..tostring(t)..', '..tostring(i)..')')\n"
" return exnext, t, nil\n"
"end\n"
"\n"
"-- Remove key in table. This is used since there is no\n"
"-- value v such that t[k] = v will remove k from the table.\n"
"function M.delete(t, k)\n"
" -- print('delete('..tostring(t)..', '..tostring(k)..')')\n"
" local d = data[t]\n"
" if d then d[k] = nil end\n"
"end\n"
"\n"
"-- array constructor replacement. used since {...} discards nils.\n"
"function M.niledarray(...)\n"
" -- print('niledarray(...)')\n"
" local n = select('#', ...)\n"
" local d = {...}\n"
" local _mt = { __index = mt.__index,\n"
" __newindex = mt.__newindex, \n"
" __len = mt.__len, \n"
" __pairs = mt.__pairs, \n"
" __ipairs = mt.__ipairs, \n"
" __next = mt.__next, \n"
" __exists = mt.__exists, \n"
" __delete = mt.__delete,\n"
" canarray = true }\n"
" local t = setmetatable({}, _mt)\n"
" for i=1,n do\n"
" if d[i] == nil then d[i] = NIL end\n"
" end\n"
" data[t] = d\n"
" return t\n"
"end\n"
"\n"
"-- table constructor replacement. used since {...} discards nils.\n"
"function M.niledtablekv(...)\n"
" -- print('niledtablekv(...)')\n"
" -- possibly more optimally implemented in C.\n"
" local n = select('#', ...)\n"
" local tmp = {...} -- it would be nice to avoid this\n"
" local _mt = { __index = mt.__index,\n"
" __newindex = mt.__newindex, \n"
" __len = mt.__len, \n"
" __pairs = mt.__pairs, \n"
" __ipairs = mt.__ipairs, \n"
" __next = mt.__next, \n"
" __exists = mt.__exists, \n"
" __delete = mt.__delete,\n"
" canarray = false }\n"
" local t = setmetatable({}, _mt)\n"
" for i=1,n,2 do t[tmp[i]] = tmp[i+1] end\n"
" return t\n"
"end\n"
"\n"
"mt.__pairs = M.expairs\n"
"mt.__ipairs = M.exipairs\n"
"mt.__next = M.exnext\n"
"mt.__exists = M.exists\n"
"mt.__delete = M.delete\n"
"\n"
"return M\n"
"\n";
|
the_stack_data/839743.c | #include <stdio.h>
struct Node{
char name[20];
struct Node* prev;
struct Node* next;
};
int main(){
struct Node a = {"1"};
struct Node b = {"2", &a};
struct Node c = {"3"};
struct Node d = {"4"};
a.next = &b;
b.next = &c;
c.prev = &b;
c.next = &d;
d.prev = &c;
d.next = NULL;
struct Node *head = &a;
while(head != NULL){
printf("%c \n",*head->name);
head = &(*head->next);
}
return 0;
} |
the_stack_data/178264383.c | /*Retirer 2 iéme boucle dans move particle
* retirer un accès au tableau
* retirer la puissance pour un x*x*x
*
*/
#include <omp.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
//
typedef float f32;
typedef double f64;
typedef unsigned long long u64;
//
typedef struct particle_s {
f32 *x, *y, *z;
f32 *vx, *vy, *vz;
} particle_t;
//
void init(particle_t *p, u64 n)
{
p->vx = malloc(sizeof(f32) * n);
p->vy = malloc(sizeof(f32) * n);
p->vz = malloc(sizeof(f32) * n);
p->x = malloc(sizeof(f32) * n);
p->y = malloc(sizeof(f32) * n);
p->z = malloc(sizeof(f32) * n);
for (u64 i = 0; i < n; i++)
{
//
u64 r1 = (u64)rand();
u64 r2 = (u64)rand();
f32 sign = (r1 > r2) ? 1 : -1;
//
p->x[i] = sign * (f32)rand() / (f32)RAND_MAX;
p->y[i] = (f32)rand() / (f32)RAND_MAX;
p->z[i] = sign * (f32)rand() / (f32)RAND_MAX;
//
p->vx[i] = (f32)rand() / (f32)RAND_MAX;
p->vy[i] = sign * (f32)rand() / (f32)RAND_MAX;
p->vz[i] = (f32)rand() / (f32)RAND_MAX;
}
}
//
void move_particles(particle_t *restrict p, const f32 dt,const u64 n)
{
//
const f32 softening = 1e-20;
#pragma GCC unroll 5
#pragma GCC ivdep
for (u64 i = 0; i < n; ++i)
{
#pragma simd
//
register f32 fx = 0.0;
register f32 fy = 0.0;
register f32 fz = 0.0;
const f32 dxi = p->x[i];
const f32 dyi = p->y[i];
const f32 dzi = p->z[i];
//23 floating-point operations
#pragma GCC unroll 5
#pragma GCC ivdep
for (u64 j = 0; j < n; ++j)
{
#pragma simd
//Newton's law
const f32 dx = p->x[j] - dxi; //1
const f32 dy = p->y[j] - dyi; //2
const f32 dz = p->z[j] - dzi; //3
const f32 d_2 = (dx * dx) + (dy * dy) + (dz * dz) + softening; //9
const f32 test = sqrt(d_2); // 10
const f32 d_3_over_2 = test*test*test; // 12
//pow(d_2, 3.0 / 2.0); //11
//printf(" %lf %lf\n",dx/d_3_over_2,dx/pow(d_2, 3.0 / 2.0));
//Net force
fx += dx / d_3_over_2; //14
fy += dy / d_3_over_2; //16
fz += dz / d_3_over_2; //18
}
//
register f32 vx = dt * fx; //19
register f32 vy = dt * fy; //20
register f32 vz = dt * fz; //21
p->vx[i] += vx; //22
p->vy[i] += vy; //23
p->vz[i] += vz; //24
}
//3 floating-point operations
for (u64 i = 0; i < n; i++)
{
p->x[i] += dt * p->vx[i];
p->y[i] += dt * p->vy[i];
p->z[i] += dt * p->vz[i];
//printf("%f %f %f\n",p->x[i],p->y[i],p->z[i]);
}
}
//
int main(int argc, char **argv)
{
//
//srand(0);
const u64 n = 16384 ;
const u64 steps= 10;
const f32 dt = 0.01;
//
f64 rate = 0.0, drate = 0.0;
//Steps to skip for warm up
const u64 warmup = 3;
//
particle_t p ;// malloc(sizeof(particle_t) * n);
//
init(&p, n);
const u64 s = sizeof(f32) * n * 6;
printf("\n\033[1mTotal memory size:\033[0m %llu B, %llu KiB, %llu MiB\n\n", s, s >> 10, s >> 20);
//
printf("\033[1m%5s %10s %10s %8s\033[0m\n", "Step", "Time, s", "Interact/s", "GFLOP/s"); fflush(stdout);
//
for (u64 i = 0; i < steps; i++)
{
//Measure
const f64 start = omp_get_wtime();
move_particles(&p, dt, n);
const f64 end = omp_get_wtime();
//Number of interactions/iterations
const f32 h1 = (f32)(n) * (f32)(n - 1);
//GFLOPS
const f32 h2 = (24.0 * h1+ 6 * (f32)n ) * 1e-9;
if (i >= warmup)
{
rate += h2 / (end - start);
drate += (h2 * h2) / ((end - start) * (end - start));
}
//
printf("%5llu %10.3e %10.3e %8.1f %s\n",
i,
(end - start),
h1 / (end - start),
h2 / (end - start),
(i < warmup) ? "*" : "");
fflush(stdout);
}
//
rate /= (f64)(steps - warmup);
drate = sqrt(drate / (f64)(steps - warmup) - (rate * rate));
printf("-----------------------------------------------------\n");
printf("\033[1m%s %4s \033[42m%10.1lf +- %.1lf GFLOP/s\033[0m\n",
"Average performance:", "", rate, drate);
printf("-----------------------------------------------------\n");
//
free(p.vx);
free(p.vy);
free(p.vz);
free(p.x);
free(p.y);
free(p.z);
//
return 0;
}
|
the_stack_data/444580.c | #include <stdio.h>
#include <string.h>
struct occurance_t{
long hash;
int occurance;
char words[4][200];
};
long hash(char *word);
int main()
{
struct occurance_t input[3000], swap;
memset(&input,0,sizeof(struct occurance_t)*3000);
char word[200];
int i = 0;
for(int t=0 ; t<3000 && scanf(" %s",word) != EOF ; t++)
{
for(int i=0 ; i<3000 ; i++)
{
if(input[i].hash!=0 && hash(word)==input[i].hash)
{
strcpy(input[i].words[input[i].occurance],word);
input[i].occurance++;
break;
}
else if(input[i].hash==0)
{
input[i].hash = hash(word);
strcpy(input[i].words[input[i].occurance],word);
input[i].occurance++;
break;
}
}
if(input[i].occurance >= 4) break;
}
for(int c = 0 ; c < ( i - 1 ); c++)
{
for(int d = 0 ; d < i - c - 1; d++)
{
if(input[d].hash < input[d+1].hash)
{
swap = input[d];
input[d] = input[d+1];
input[d+1] = swap;
}
}
}
for(int h=0;h<i;h++)
{
printf("[%ld]",input[h].hash);
for(int n=0 ; n<input[h].occurance ; n++)
{
printf(" %s",input[h].words[n]);
}
printf("\n");
}
return 0;
}
long hash(char *word)
{
long hash = 42;
int i, len = strlen(word);
for(i=0;i<len;i++)
{
hash += word[i] * (i+1);
}
return hash;
} |
the_stack_data/45451478.c | #define maxx 50
#define maxy 50 \
#define pp(xx,yy) (((xx) <xmin||(yy) <ymin||(xx) > xmax||(yy) > ymax) ?0:1) \
#define taut (2<<25)
#define sign (1U<<31) \
#define newlit(x,y,c,k) clause[clauseptr++]= ((c) <<28) +((k) <<25) +((x) <<12) +(y)
#define newcomplit(x,y,c,k) \
clause[clauseptr++]= sign+((c) <<28) +((k) <<25) +((x) <<12) +(y) \
/*2:*/
#line 94 "./sat-life.w"
#include <stdio.h>
#include <stdlib.h>
char p[maxx+2][maxy+2];
char have_b[maxx+2][maxy+2];
char have_d[maxx+2][maxy+2];
char have_e[maxx+2][maxy+4];
char have_f[maxx+4][maxy+2];
#line 23 "./sat-life-grid-spaceships.ch"
int tt;
int mm,nn,r,s;
#line 103 "./sat-life.w"
int xmax,ymax;
int xmin= maxx,ymin= maxy;
char timecode[]= "abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
char buf[maxy+2];
unsigned int clause[4];
int clauseptr;
/*6:*/
#line 191 "./sat-life.w"
void outclause(void){
register int c,k,x,y,p;
for(p= 0;p<clauseptr;p++)
if(clause[p]==taut)goto done;
for(p= 0;p<clauseptr;p++)if(clause[p]!=taut+sign){
if(clause[p]>>31)printf(" ~");else printf(" ");
c= (clause[p]>>28)&0x7;
k= (clause[p]>>25)&0x7;
x= (clause[p]>>12)&0xfff;
y= clause[p]&0xfff;
if(c)printf("%d%c%d%c%d",
x,timecode[tt],y,c+'@',k);
else if(k==7)printf("%d%c%dx",
x,timecode[tt],y);
else printf("%d%c%d",
x,timecode[tt+k],y);
}
printf("\n");
done:clauseptr= 0;
}
/*:6*//*7:*/
#line 215 "./sat-life.w"
void applit(int x,int y,int bar,int k){
#line 84 "./sat-life-grid-spaceships.ch"
if(k==0&&pp(x,y)==0)
#line 218 "./sat-life.w"
clause[clauseptr++]= (bar?0:sign)+taut;
else clause[clauseptr++]= (bar?sign:0)+(k<<25)+(x<<12)+y;
}
/*:7*//*8:*/
#line 235 "./sat-life.w"
void d(int x,int y){
register x1= x-1,x2= x,yy= y+1;
if(have_d[x][y]!=tt+1){
applit(x1,yy,1,0),newlit(x,y,4,1),outclause();
applit(x2,yy,1,0),newlit(x,y,4,1),outclause();
applit(x1,yy,1,0),applit(x2,yy,1,0),newlit(x,y,4,2),outclause();
applit(x1,yy,0,0),applit(x2,yy,0,0),newcomplit(x,y,4,1),outclause();
applit(x1,yy,0,0),newcomplit(x,y,4,2),outclause();
if(yy>=ymin&&yy<=ymax)
applit(x2,yy,0,0),newcomplit(x,y,4,2),outclause();
have_d[x][y]= tt+1;
}
}
void e(int x,int y){
register x1= x-1,x2= x,yy= y-1;
if(have_e[x][y]!=tt+1){
applit(x1,yy,1,0),newlit(x,y,5,1),outclause();
applit(x2,yy,1,0),newlit(x,y,5,1),outclause();
applit(x1,yy,1,0),applit(x2,yy,1,0),newlit(x,y,5,2),outclause();
applit(x1,yy,0,0),applit(x2,yy,0,0),newcomplit(x,y,5,1),outclause();
applit(x1,yy,0,0),newcomplit(x,y,5,2),outclause();
if(yy>=ymin&&yy<=ymax)
applit(x2,yy,0,0),newcomplit(x,y,5,2),outclause();
have_e[x][y]= tt+1;
}
}
/*:8*//*9:*/
#line 267 "./sat-life.w"
void f(int x,int y){
register xx= x-1,y1= y,y2= y+1;
if(have_f[x][y]!=tt+1){
applit(xx,y1,1,0),newlit(x,y,6,1),outclause();
applit(xx,y2,1,0),newlit(x,y,6,1),outclause();
applit(xx,y1,1,0),applit(xx,y2,1,0),newlit(x,y,6,2),outclause();
applit(xx,y1,0,0),applit(xx,y2,0,0),newcomplit(x,y,6,1),outclause();
applit(xx,y1,0,0),newcomplit(x,y,6,2),outclause();
if(xx>=xmin&&xx<=xmax)
applit(xx,y2,0,0),newcomplit(x,y,6,2),outclause();
have_f[x][y]= tt+1;
}
}
/*:9*//*10:*/
#line 286 "./sat-life.w"
void g(int x,int y){
register x1,x2,y1,y2;
if(x&1)x1= x-1,y1= y,x2= x+1,y2= y^1;
else x1= x+1,y1= y,x2= x-1,y2= y-1+((y&1)<<1);
applit(x1,y1,1,0),newlit(x,y,7,1),outclause();
applit(x2,y2,1,0),newlit(x,y,7,1),outclause();
applit(x1,y1,1,0),applit(x2,y2,1,0),newlit(x,y,7,2),outclause();
applit(x1,y1,0,0),applit(x2,y2,0,0),newcomplit(x,y,7,1),outclause();
applit(x1,y1,0,0),newcomplit(x,y,7,2),outclause();
applit(x2,y2,0,0),newcomplit(x,y,7,2),outclause();
}
/*:10*//*11:*/
#line 302 "./sat-life.w"
void b(int x,int y){
register j,k,xx= x,y1= y-(y&2),y2= y+(y&2);
if(have_b[x][y]!=tt+1){
d(xx,y1);
e(xx,y2);
for(j= 0;j<3;j++)for(k= 0;k<3;k++)if(j+k){
if(j)newcomplit(xx,y1,4,j);
if(k)newcomplit(xx,y2,5,k);
newlit(x,y,2,j+k);
outclause();
if(j)newlit(xx,y1,4,3-j);
if(k)newlit(xx,y2,5,3-k);
newcomplit(x,y,2,5-j-k);
outclause();
}
have_b[x][y]= tt+1;
}
}
/*:11*//*12:*/
#line 329 "./sat-life.w"
void c(int x,int y){
register j,k,x1,y1;
if(x&1)x1= x+2,y1= (y-1)|1;
else x1= x,y1= y&-2;
g(x,y);
if(x1-1<xmin||x1-1> xmax||y1+1<ymin||y1> ymax)
/*13:*/
#line 352 "./sat-life.w"
{
for(k= 1;k<3;k++){
newcomplit(x,y,7,k),newlit(x,y,3,k),outclause();
newlit(x,y,7,k),newcomplit(x,y,3,k),outclause();
}
newcomplit(x,y,3,3),outclause();
newcomplit(x,y,3,4),outclause();
}
/*:13*/
#line 336 "./sat-life.w"
else{
f(x1,y1);
for(j= 0;j<3;j++)for(k= 0;k<3;k++)if(j+k){
if(j)newcomplit(x1,y1,6,j);
if(k)newcomplit(x,y,7,k);
newlit(x,y,3,j+k);
outclause();
if(j)newlit(x1,y1,6,3-j);
if(k)newlit(x,y,7,3-k);
newcomplit(x,y,3,5-j-k);
outclause();
}
}
}
/*:12*//*14:*/
#line 365 "./sat-life.w"
void a(int x,int y){
register j,k,xx= x|1;
b(xx,y);
c(x,y);
for(j= 0;j<5;j++)for(k= 0;k<5;k++)if(j+k> 1&&j+k<5){
if(j)newcomplit(xx,y,2,j);
if(k)newcomplit(x,y,3,k);
newlit(x,y,1,j+k);
outclause();
}
for(j= 0;j<5;j++)for(k= 0;k<5;k++)if(j+k> 2&&j+k<6&&j*k){
if(j)newlit(xx,y,2,j);
if(k)newlit(x,y,3,k);
newcomplit(x,y,1,j+k-1);
outclause();
}
}
/*:14*//*15:*/
#line 390 "./sat-life.w"
void zprime(int x,int y){
newcomplit(x,y,1,4),applit(x,y,1,1),outclause();
newlit(x,y,1,2),applit(x,y,1,1),outclause();
newlit(x,y,1,3),applit(x,y,0,0),applit(x,y,1,1),outclause();
newcomplit(x,y,1,3),newlit(x,y,1,4),applit(x,y,0,1),outclause();
applit(x,y,0,7),newcomplit(x,y,1,2),newlit(x,y,1,4),outclause();
applit(x,y,1,7),applit(x,y,1,0),applit(x,y,0,1),outclause();
}
#line 89 "./sat-life-grid-spaceships.ch"
/*:15*/
#line 112 "./sat-life.w"
main(int argc,char*argv[]){
register int j,k,x,y;
/*3:*/
#line 124 "./sat-life.w"
#line 57 "./sat-life-grid-spaceships.ch"
if(argc!=5||sscanf(argv[1],"%d",&mm)!=1||
sscanf(argv[2],"%d",&nn)!=1||
sscanf(argv[3],"%d",&r)!=1||
sscanf(argv[4],"%d",&s)!=1){
fprintf(stderr,"Usage: %s m n r s\n",argv[0]);
exit(-1);
}
printf("~ sat-life-grid-spaceships %d %d %d %d\n",mm,nn,r,s);
#line 133 "./sat-life.w"
/*:3*/
#line 115 "./sat-life.w"
;
#line 34 "./sat-life-grid-spaceships.ch"
for(tt= 0;tt<r;tt++){
ymax= nn,ymin= 1;
xmax= mm,xmin= 1;
for(x= xmin-1;x<=xmax+1;x++)for(y= ymin-1;y<=ymax+1;y++){
/*5:*/
#line 76 "./sat-life-grid-spaceships.ch"
if(pp(x-1,y-1)+pp(x-1,y)+pp(x-1,y+1)+
pp(x,y-1)+pp(x,y)+pp(x,y+1)+
pp(x+1,y-1)+pp(x+1,y)+pp(x+1,y+1)<3)continue;
#line 167 "./sat-life.w"
/*:5*/
#line 38 "./sat-life-grid-spaceships.ch"
;
a(x,y);
zprime(x,y);
if(pp(x,y)==0&&tt<r-1)printf("~%d%c%d\n",
x,timecode[tt+1],y);
}
}
/*16:*/
#line 92 "./sat-life-grid-spaceships.ch"
for(tt= 0;tt<r;tt++)for(y= 1;y<=nn;y++)printf("~1%c%d\n",timecode[tt],y);
for(y= 1;y<=nn;y++)printf(" 1%c%d",timecode[r],y);
printf("\n");
for(x= 2;x<=s;x++)for(y= 1;y<=nn;y++)printf("~%da%d\n",x,y);
for(x= s+1;x<=mm;x++)for(y= 1;y<=nn;y++){
printf("~%da%d %d%c%d\n",x,y,x-s,timecode[r],y);
printf("%da%d ~%d%c%d\n",x,y,x-s,timecode[r],y);
}
for(x= 1;x<=mm+1-s;x++){
printf("~%d%c0\n",x,timecode[r]);
printf("~%d%c%d\n",x,timecode[r],nn+1);
}
for(y= 1;y<=nn;y++)printf("~0%c%d\n",timecode[r],y);
for(x= 1;x<=s;x++)for(y= 1;y<=nn;y++)
printf("~%d%c%d\n",mm+1-x,timecode[r],y);
/*:16*/
#line 45 "./sat-life-grid-spaceships.ch"
;
#line 122 "./sat-life.w"
}
/*:2*/
|
the_stack_data/182954412.c | // -----------------------------------------------------------------------------
// Test case for probabilistic symbolic simulation. local6.c
// Created by Ferhat Erata <[email protected]> on November 09, 2020.
// Copyright (c) 2020 Yale University. All rights reserved.
// -----------------------------------------------------------------------------
struct Bar {
int c;
int d;
};
struct Foo {
int a;
long b;
struct Bar bar;
};
int main(void) {
const int b = 5;
const int* a = &b;
struct Foo foo = {0, 1, {b, 3}};
foo.a = *a;
return foo.bar.c;
}
// 5
|
the_stack_data/1175308.c | /*
* Copyright (c) 1992/3 Theo de Raadt <[email protected]>
* Copyright (c) 1994 Olaf Kirch <[email protected]>
* Copyright (c) 1995 Bill Paul <[email protected]>
* 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. The name of the author may not be used to endorse or promote
* products derived from this software without specific prior written
* permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
*
* $FreeBSD: src/usr.bin/passwd/yp_passwd.c,v 1.15.6.1 2002/02/15 00:46:56 des Exp $
*/
#ifdef YP
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
#include <time.h>
#include <sys/types.h>
#include <pwd.h>
#include <errno.h>
#include <unistd.h>
#include <limits.h>
#include <rpc/rpc.h>
#include <rpcsvc/yp_prot.h>
#include <rpcsvc/ypclnt.h>
#include <rpcsvc/yppasswd.h>
#include <pw_yp.h>
#include <err.h>
#include "yppasswd_private.h"
extern char *getnewpasswd(struct passwd *, int);
int
yp_passwd(char *user)
{
struct yppasswd yppasswd;
struct master_yppasswd master_yppasswd;
struct passwd *pw;
CLIENT *clnt;
struct rpc_err err;
char *master;
int *status = NULL;
uid_t uid;
char *sockname = YP_SOCKNAME;
_use_yp = 1;
uid = getuid();
if ((master = get_yp_master(1)) == NULL) {
warnx("failed to find NIS master server");
return(1);
}
/*
* It is presumed that by the time we get here, use_yp()
* has been called and that we have verified that the user
* actually exists. This being the case, the yp_password
* stucture has already been filled in for us.
*/
/* Use the correct password */
pw = (struct passwd *)&yp_password;
if (pw->pw_uid != uid && uid != 0) {
warnx("only the super-user may change account information \
for other users");
return(1);
}
pw->pw_change = 0;
/* Initialize password information */
if (suser_override) {
master_yppasswd.newpw.pw_passwd = strdup(pw->pw_passwd);
master_yppasswd.newpw.pw_name = strdup(pw->pw_name);
master_yppasswd.newpw.pw_uid = pw->pw_uid;
master_yppasswd.newpw.pw_gid = pw->pw_gid;
master_yppasswd.newpw.pw_expire = pw->pw_expire;
master_yppasswd.newpw.pw_change = pw->pw_change;
master_yppasswd.newpw.pw_fields = pw->pw_fields;
master_yppasswd.newpw.pw_gecos = strdup(pw->pw_gecos);
master_yppasswd.newpw.pw_dir = strdup(pw->pw_dir);
master_yppasswd.newpw.pw_shell = strdup(pw->pw_shell);
master_yppasswd.newpw.pw_class = pw->pw_class != NULL ?
strdup(pw->pw_class) : "";
master_yppasswd.oldpass = "";
master_yppasswd.domain = yp_domain;
} else {
yppasswd.newpw.pw_passwd = strdup(pw->pw_passwd);
yppasswd.newpw.pw_name = strdup(pw->pw_name);
yppasswd.newpw.pw_uid = pw->pw_uid;
yppasswd.newpw.pw_gid = pw->pw_gid;
yppasswd.newpw.pw_gecos = strdup(pw->pw_gecos);
yppasswd.newpw.pw_dir = strdup(pw->pw_dir);
yppasswd.newpw.pw_shell = strdup(pw->pw_shell);
yppasswd.oldpass = "";
}
if (suser_override)
printf("Changing NIS password for %s on %s in domain %s.\n",
pw->pw_name, master, yp_domain);
else
printf("Changing NIS password for %s on %s.\n",
pw->pw_name, master);
/* Get old password */
if (pw->pw_passwd[0] && !suser_override) {
yppasswd.oldpass = strdup(getpass("Old Password: "));
if (strcmp(crypt(yppasswd.oldpass, pw->pw_passwd),
pw->pw_passwd)) {
errx(1, "sorry");
}
}
if (suser_override) {
if ((master_yppasswd.newpw.pw_passwd = getnewpasswd(pw, 1)) == NULL)
return(1);
} else {
if ((yppasswd.newpw.pw_passwd = getnewpasswd(pw, 1)) == NULL)
return(1);
}
if (suser_override) {
if ((clnt = clnt_create(sockname, MASTER_YPPASSWDPROG,
MASTER_YPPASSWDVERS, "unix")) == NULL) {
warnx("failed to contact rpc.yppasswdd on host %s: %s",
master, clnt_spcreateerror(""));
return(1);
}
} else {
if ((clnt = clnt_create(master, YPPASSWDPROG,
YPPASSWDVERS, "udp")) == NULL) {
warnx("failed to contact rpc.yppasswdd on host %s: %s",
master, clnt_spcreateerror(""));
return(1);
}
}
/*
* The yppasswd.x file said `unix authentication required',
* so I added it. This is the only reason it is in here.
* My yppasswdd doesn't use it, but maybe some others out there
* do. --okir
*/
clnt->cl_auth = authunix_create_default();
if (suser_override)
status = yppasswdproc_update_master_1(&master_yppasswd, clnt);
else
status = yppasswdproc_update_1(&yppasswd, clnt);
clnt_geterr(clnt, &err);
auth_destroy(clnt->cl_auth);
clnt_destroy(clnt);
if (err.re_status != RPC_SUCCESS || status == NULL || *status) {
errx(1, "failed to change NIS password: %s",
clnt_sperrno(err.re_status));
}
printf("\nNIS password has%s been changed on %s.\n",
(err.re_status != RPC_SUCCESS || status == NULL || *status) ?
" not" : "", master);
return ((err.re_status || status == NULL || *status));
}
#endif /* YP */
|
the_stack_data/64200089.c | //
// FunctionPointerModelViewController.c
// FunctionPointer
//
// Created by Mewlan Musajan on 10/22/17.
// Copyright (c) 2017 Mewlan Musajan. All rights reserved.
//
#include <stdio.h>
int Flag;
int Result;
int max(int *a, int *b);
int min(int *a, int *b);
void errorOutPutView();
void selectionInPutController();
int main(int argc, char const *argv[])
{
model();
return 0;
}
void model()
{
int (*funcPtr)(int, int);
int a, b;
view(funcPtr, &a, &b);
}
void view(int (*funcPtr)(int, int), int *a, int *b)
{
printf("enter two numbers:\n");
numberInPutController(a, b);
printf("max or min?(1/2)\n");
selectionInPutController();
controller(funcPtr, a, b);
printf("%d\n", Result);
}
void errorOutPutView()
{
printf("\'%d\' is not a command.\n", Flag);
}
void controller(int (*funcPtr)(int, int), int *a, int *b)
{
if (Flag == 1)
{
funcPtr = max;
Result = (*funcPtr)(a, b);
} else {
funcPtr = min;
Result = (*funcPtr)(a, b);
}
}
void numberInPutController(int *a, int *b)
{
for (int i = 0; i < 2; ++i)
{
if (!i)
{
scanf("%d", a);
} else {
scanf("%d", b);
}
}
}
void selectionInPutController()
{
scanf("%d", &Flag);
if (Flag != 1 && Flag != 2)
{
errorOutPutView();
selectionInPutController();
}
}
int max(int *a, int *b)
{
int c;
if (*a > *b)
{
c = *a;
} else {
c = *b;
}
return(c);
}
int min(int *a, int *b)
{
int c;
if (*a < *b)
{
c = *a;
} else {
c = *b;
}
return(c);
}
|
the_stack_data/59513103.c | /*
* scan formatted input
* credits: minix 3
*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
//==================
//#include "loc_incl.h"
#define io_testflag(p,x) ((p)->_flags & (x))
//#ifdef _ANSI
//int _doprnt(const char *format, va_list ap, FILE *stream);
int _doscan (FILE * stream, const char *format, va_list ap);
//char *_i_compute(unsigned long val, int base, char *s, int nrdigits);
//char *_f_print(va_list *ap, int flags, char *s, char c, int precision);
//void __cleanup(void);
//FILE *popen(const char *command, const char *type);
//FILE *fdopen(int fd, const char *mode);
//#ifndef NOFLOAT
//char *_ecvt(long double value, int ndigit, int *decpt, int *sign);
//char *_fcvt(long double value, int ndigit, int *decpt, int *sign);
//#endif /* NOFLOAT */
//#endif
#define FL_LJUST 0x0001 /* left-justify field */
#define FL_SIGN 0x0002 /* sign in signed conversions */
#define FL_SPACE 0x0004 /* space in signed conversions */
#define FL_ALT 0x0008 /* alternate form */
#define FL_ZEROFILL 0x0010 /* fill with zero's */
#define FL_SHORT 0x0020 /* optional h */
#define FL_LONG 0x0040 /* optional l */
#define FL_LONGDOUBLE 0x0080 /* optional L */
#define FL_WIDTHSPEC 0x0100 /* field width is specified */
#define FL_PRECSPEC 0x0200 /* precision is specified */
#define FL_SIGNEDCONV 0x0400 /* may contain a sign */
#define FL_NOASSIGN 0x0800 /* do not assign (in scanf) */
#define FL_NOMORE 0x1000 /* all flags collected */
//===================
#if _EM_WSIZE == _EM_PSIZE
#define set_pointer(flags) /* nothing */
#elif _EM_LSIZE == _EM_PSIZE
#define set_pointer(flags) (flags |= FL_LONG)
#else
#error garbage pointer size
#define set_pointer(flags) /* compilation might continue */
#endif
#define NUMLEN 512
#define NR_CHARS 256
static char Xtable[NR_CHARS];
static char inp_buf[NUMLEN];
/* Collect a number of characters which constitite an ordinal number.
* When the type is 'i', the base can be 8, 10, or 16, depending on the
* first 1 or 2 characters. This means that the base must be adjusted
* according to the format of the number. At the end of the function, base
* is then set to 0, so strtol() will get the right argument.
*/
static char *
o_collect(register int c, register FILE *stream, char type,
unsigned int width, int *basep)
{
register char *bufp = inp_buf;
register int base;
switch (type) {
case 'i': /* i means octal, decimal or hexadecimal */
case 'p':
case 'x':
case 'X': base = 16; break;
case 'd':
case 'u': base = 10; break;
case 'o': base = 8; break;
case 'b': base = 2; break;
}
if (c == '-' || c == '+') {
*bufp++ = c;
if (--width)
c = getc(stream);
}
if (width && c == '0' && base == 16) {
*bufp++ = c;
if (--width)
c = getc(stream);
if (c != 'x' && c != 'X') {
if (type == 'i') base = 8;
}
else if (width) {
*bufp++ = c;
if (--width)
c = getc(stream);
}
}
else if (type == 'i') base = 10;
while (width) {
if (((base == 10) && isdigit(c))
|| ((base == 16) && isxdigit(c))
|| ((base == 8) && isdigit(c) && (c < '8'))
|| ((base == 2) && isdigit(c) && (c < '2'))) {
*bufp++ = c;
if (--width)
c = getc(stream);
}
else break;
}
if (width && c != EOF) ungetc(c, stream);
if (type == 'i') base = 0;
*basep = base;
*bufp = '\0';
return bufp - 1;
}
#ifndef NOFLOAT
/* The function f_collect() reads a string that has the format of a
* floating-point number. The function returns as soon as a format-error
* is encountered, leaving the offending character in the input. This means
* that 1.el leaves the 'l' in the input queue. Since all detection of
* format errors is done here, _doscan() doesn't call strtod() when it's
* not necessary, although the use of the width field can cause incomplete
* numbers to be passed to strtod(). (e.g. 1.3e+)
*/
static char *
f_collect(register int c, register FILE *stream, register unsigned int width)
{
register char *bufp = inp_buf;
int digit_seen = 0;
if (c == '-' || c == '+') {
*bufp++ = c;
if (--width)
c = getc(stream);
}
while (width && isdigit(c)) {
digit_seen++;
*bufp++ = c;
if (--width)
c = getc(stream);
}
if (width && c == '.') {
*bufp++ = c;
if(--width)
c = getc(stream);
while (width && isdigit(c)) {
digit_seen++;
*bufp++ = c;
if (--width)
c = getc(stream);
}
}
if (!digit_seen) {
if (width && c != EOF) ungetc(c, stream);
return inp_buf - 1;
}
else digit_seen = 0;
if (width && (c == 'e' || c == 'E')) {
*bufp++ = c;
if (--width)
c = getc(stream);
if (width && (c == '+' || c == '-')) {
*bufp++ = c;
if (--width)
c = getc(stream);
}
while (width && isdigit(c)) {
digit_seen++;
*bufp++ = c;
if (--width)
c = getc(stream);
}
if (!digit_seen) {
if (width && c != EOF) ungetc(c,stream);
return inp_buf - 1;
}
}
if (width && c != EOF) ungetc(c, stream);
*bufp = '\0';
return bufp - 1;
}
#endif /* NOFLOAT */
/*
* the routine that does the scanning
*/
int _doscan (register FILE *stream, const char *format, va_list ap){
int done = 0; /* number of items done */
int nrchars = 0; /* number of characters read */
int conv = 0; /* # of conversions */
int base; /* conversion base */
unsigned long val; /* an integer value */
register char *str; /* temporary pointer */
char *tmp_string; /* ditto */
unsigned width = 0; /* width of field */
int flags; /* some flags */
int reverse; /* reverse the checking in [...] */
int kind;
register int ic = EOF; /* the input character */
#ifndef NOFLOAT
long double ld_val;
#endif
if (!*format) return 0;
while (1) {
if (isspace(*format)) {
while (isspace(*format))
format++; /* skip whitespace */
ic = getc(stream);
nrchars++;
while (isspace (ic)) {
ic = getc(stream);
nrchars++;
}
if (ic != EOF) ungetc(ic,stream);
nrchars--;
}
if (!*format) break; /* end of format */
if (*format != '%') {
ic = getc(stream);
nrchars++;
if (ic != *format++) break; /* error */
continue;
}
format++;
if (*format == '%') {
ic = getc(stream);
nrchars++;
if (ic == '%') {
format++;
continue;
}
else break;
}
flags = 0;
if (*format == '*') {
format++;
flags |= FL_NOASSIGN;
}
if (isdigit (*format)) {
flags |= FL_WIDTHSPEC;
for (width = 0; isdigit (*format);)
width = width * 10 + *format++ - '0';
}
switch (*format) {
case 'h': flags |= FL_SHORT; format++; break;
case 'l': flags |= FL_LONG; format++; break;
case 'L': flags |= FL_LONGDOUBLE; format++; break;
}
kind = *format;
if ((kind != 'c') && (kind != '[') && (kind != 'n')) {
do {
ic = getc(stream);
nrchars++;
} while (isspace(ic));
if (ic == EOF) break; /* outer while */
} else if (kind != 'n') { /* %c or %[ */
ic = getc(stream);
if (ic == EOF) break; /* outer while */
nrchars++;
}
switch (kind) {
default:
/* not recognized, like %q */
return conv || (ic != EOF) ? done : EOF;
break;
case 'n':
if (!(flags & FL_NOASSIGN)) { /* silly, though */
if (flags & FL_SHORT)
*va_arg(ap, short *) = (short) nrchars;
else if (flags & FL_LONG)
*va_arg(ap, long *) = (long) nrchars;
else
*va_arg(ap, int *) = (int) nrchars;
}
break;
case 'p': /* pointer */
set_pointer(flags);
/* fallthrough */
case 'b': /* binary */
case 'd': /* decimal */
case 'i': /* general integer */
case 'o': /* octal */
case 'u': /* unsigned */
case 'x': /* hexadecimal */
case 'X': /* ditto */
if (!(flags & FL_WIDTHSPEC) || width > NUMLEN)
width = NUMLEN;
if (!width) return done;
str = o_collect(ic, stream, kind, width, &base);
if (str < inp_buf
|| (str == inp_buf
&& (*str == '-'
|| *str == '+'))) return done;
/*
* Although the length of the number is str-inp_buf+1
* we don't add the 1 since we counted it already
*/
nrchars += str - inp_buf;
if (!(flags & FL_NOASSIGN)) {
if (kind == 'd' || kind == 'i')
val = strtol(inp_buf, &tmp_string, base);
else
val = strtoul(inp_buf, &tmp_string, base);
if (flags & FL_LONG)
*va_arg(ap, unsigned long *) = (unsigned long) val;
else if (flags & FL_SHORT)
*va_arg(ap, unsigned short *) = (unsigned short) val;
else
*va_arg(ap, unsigned *) = (unsigned) val;
}
break;
case 'c':
if (!(flags & FL_WIDTHSPEC))
width = 1;
if (!(flags & FL_NOASSIGN))
str = va_arg(ap, char *);
if (!width) return done;
while (width && ic != EOF) {
if (!(flags & FL_NOASSIGN))
*str++ = (char) ic;
if (--width) {
ic = getc(stream);
nrchars++;
}
}
if (width) {
if (ic != EOF) ungetc(ic,stream);
nrchars--;
}
break;
case 's':
if (!(flags & FL_WIDTHSPEC))
width = 0xffff;
if (!(flags & FL_NOASSIGN))
str = va_arg(ap, char *);
if (!width) return done;
while (width && ic != EOF && !isspace(ic)) {
if (!(flags & FL_NOASSIGN))
*str++ = (char) ic;
if (--width) {
ic = getc(stream);
nrchars++;
}
}
/* terminate the string */
if (!(flags & FL_NOASSIGN))
*str = '\0';
if (width) {
if (ic != EOF) ungetc(ic,stream);
nrchars--;
}
break;
case '[':
if (!(flags & FL_WIDTHSPEC))
width = 0xffff;
if (!width) return done;
if ( *++format == '^' ) {
reverse = 1;
format++;
} else
reverse = 0;
for (str = Xtable; str < &Xtable[NR_CHARS]
; str++)
*str = 0;
if (*format == ']') Xtable[*format++] = 1;
while (*format && *format != ']') {
Xtable[*format++] = 1;
if (*format == '-') {
format++;
if (*format
&& *format != ']'
&& *(format) >= *(format -2)) {
int c;
for( c = *(format -2) + 1
; c <= *format ; c++)
Xtable[c] = 1;
format++;
}
else Xtable['-'] = 1;
}
}
if (!*format) return done;
if (!(Xtable[ic] ^ reverse)) {
/* MAT 8/9/96 no match must return character */
ungetc(ic, stream);
return done;
}
if (!(flags & FL_NOASSIGN))
str = va_arg(ap, char *);
do {
if (!(flags & FL_NOASSIGN))
*str++ = (char) ic;
if (--width) {
ic = getc(stream);
nrchars++;
}
} while (width && ic != EOF && (Xtable[ic] ^ reverse));
if (width) {
if (ic != EOF) ungetc(ic, stream);
nrchars--;
}
if (!(flags & FL_NOASSIGN)) { /* terminate string */
*str = '\0';
}
break;
#ifndef NOFLOAT
case 'e':
case 'E':
case 'f':
case 'g':
case 'G':
if (!(flags & FL_WIDTHSPEC) || width > NUMLEN)
width = NUMLEN;
if (!width) return done;
str = f_collect(ic, stream, width);
if (str < inp_buf
|| (str == inp_buf
&& (*str == '-'
|| *str == '+'))) return done;
/*
* Although the length of the number is str-inp_buf+1
* we don't add the 1 since we counted it already
*/
nrchars += str - inp_buf;
if (!(flags & FL_NOASSIGN)) {
ld_val = strtod(inp_buf, &tmp_string);
if (flags & FL_LONGDOUBLE)
*va_arg(ap, long double *) = (long double) ld_val;
else
if (flags & FL_LONG)
*va_arg(ap, double *) = (double) ld_val;
else
*va_arg(ap, float *) = (float) ld_val;
}
break;
#endif
} /* end switch */
conv++;
if (!(flags & FL_NOASSIGN) && kind != 'n') done++;
format++;
}
return conv || (ic != EOF) ? done : EOF;
}
//#test
//ainda não foi testada
int fscanf (FILE *stream, const char *format, ...){
int retval=0;
va_list ap;
va_start(ap, format);
retval = _doscan (stream, format, ap);
va_end(ap);
return retval;
}
|
the_stack_data/1102806.c | /* $NetBSD: sockaddr_snprintf.c,v 1.9 2015/01/23 03:29:18 christos Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Christos Zoulas.
*
* 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: sockaddr_snprintf.c,v 1.9 2015/01/23 03:29:18 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>
#ifdef __linux__
#undef HAVE_NETATALK_AT_H
#endif
#ifdef HAVE_NETATALK_AT_H
#include <netatalk/at.h>
#endif
#ifdef HAVE_NET_IF_DL_H
#include <net/if_dl.h>
#endif
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#ifdef HAVE_UTIL_H
#include <util.h>
#endif
#include <netdb.h>
#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
#define SLEN(a) (a)->a ## _len
#else
static socklen_t
socklen(u_int af)
{
switch (af) {
case AF_INET:
return sizeof(struct sockaddr_in);
case AF_INET6:
return sizeof(struct sockaddr_in6);
case AF_LOCAL:
return sizeof(struct sockaddr_un);
#ifdef HAVE_NET_IF_DL_H
case AF_LINK:
return sizeof(struct sockaddr_dl);
#endif
#ifdef HAVE_NETATALK_AT_H
case AF_APPLETALK:
return sizeof(struct sockaddr_at);
#endif
default:
return sizeof(struct sockaddr_storage);
}
}
#define SLEN(a) socklen((a)->a ## _family)
#endif
#ifdef HAVE_NETATALK_AT_H
static int
debug_at(char *str, size_t len, const struct sockaddr_at *sat)
{
return snprintf(str, len, "sat_len=%u, sat_family=%u, sat_port=%u, "
"sat_addr.s_net=%u, sat_addr.s_node=%u, "
"sat_range.r_netrange.nr_phase=%u, "
"sat_range.r_netrange.nr_firstnet=%u, "
"sat_range.r_netrange.nr_lastnet=%u",
SLEN(sat), sat->sat_family, sat->sat_port,
sat->sat_addr.s_net, sat->sat_addr.s_node,
sat->sat_range.r_netrange.nr_phase,
sat->sat_range.r_netrange.nr_firstnet,
sat->sat_range.r_netrange.nr_lastnet);
}
#endif
static int
debug_in(char *str, size_t len, const struct sockaddr_in *sin)
{
return snprintf(str, len, "sin_len=%u, sin_family=%u, sin_port=%u, "
"sin_addr.s_addr=%08x",
SLEN(sin), sin->sin_family, sin->sin_port,
sin->sin_addr.s_addr);
}
static int
debug_in6(char *str, size_t len, const struct sockaddr_in6 *sin6)
{
const uint8_t *s = sin6->sin6_addr.s6_addr;
return snprintf(str, len, "sin6_len=%u, sin6_family=%u, sin6_port=%u, "
"sin6_flowinfo=%u, "
"sin6_addr=%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:"
"%02x:%02x:%02x:%02x:%02x:%02x, sin6_scope_id=%u",
SLEN(sin6), sin6->sin6_family, sin6->sin6_port,
sin6->sin6_flowinfo, s[0x0], s[0x1], s[0x2], s[0x3], s[0x4], s[0x5],
s[0x6], s[0x7], s[0x8], s[0x9], s[0xa], s[0xb], s[0xc], s[0xd],
s[0xe], s[0xf], sin6->sin6_scope_id);
}
static int
debug_un(char *str, size_t len, const struct sockaddr_un *sun)
{
return snprintf(str, len, "sun_len=%u, sun_family=%u, sun_path=%*s",
SLEN(sun), sun->sun_family, (int)sizeof(sun->sun_path),
sun->sun_path);
}
#ifdef HAVE_NET_IF_DL_H
static int
debug_dl(char *str, size_t len, const struct sockaddr_dl *sdl)
{
const uint8_t *s = (const void *)sdl->sdl_data;
return snprintf(str, len, "sdl_len=%u, sdl_family=%u, sdl_index=%u, "
"sdl_type=%u, sdl_nlen=%u, sdl_alen=%u, sdl_slen=%u, sdl_data="
"%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x",
SLEN(sdl), sdl->sdl_family, sdl->sdl_index,
sdl->sdl_type, sdl->sdl_nlen, sdl->sdl_alen, sdl->sdl_slen,
s[0x0], s[0x1], s[0x2], s[0x3], s[0x4], s[0x5],
s[0x6], s[0x7], s[0x8], s[0x9], s[0xa], s[0xb]);
}
#endif
int
sockaddr_snprintf(char * const sbuf, const size_t len, const char * const fmt,
const struct sockaddr * const sa)
{
const void *a = NULL;
char abuf[1024], nbuf[1024], *addr = NULL;
char Abuf[1024], pbuf[32], *name = NULL, *port = NULL;
char *ebuf = &sbuf[len - 1], *buf = sbuf;
const char *ptr, *s;
int p = -1;
#ifdef HAVE_NETATALK_AT_H
const struct sockaddr_at *sat = NULL;
#endif
const struct sockaddr_in *sin4 = NULL;
const struct sockaddr_in6 *sin6 = NULL;
const struct sockaddr_un *sun = NULL;
#ifdef HAVE_NET_IF_DL_H
const struct sockaddr_dl *sdl = NULL;
char *w = NULL;
#endif
int na = 1;
#define ADDC(c) do { if (buf < ebuf) *buf++ = c; else buf++; } \
while (/*CONSTCOND*/0)
#define ADDS(p) do { for (s = p; *s; s++) ADDC(*s); } \
while (/*CONSTCOND*/0)
#define ADDNA() do { if (na) ADDS("N/A"); } \
while (/*CONSTCOND*/0)
switch (sa->sa_family) {
case AF_UNSPEC:
goto done;
#ifdef HAVE_NETATALK_AT_H
case AF_APPLETALK:
sat = ((const struct sockaddr_at *)(const void *)sa);
p = ntohs(sat->sat_port);
(void)snprintf(addr = abuf, sizeof(abuf), "%u.%u",
ntohs(sat->sat_addr.s_net), sat->sat_addr.s_node);
(void)snprintf(port = pbuf, sizeof(pbuf), "%d", p);
break;
#endif
case AF_LOCAL:
sun = ((const struct sockaddr_un *)(const void *)sa);
(void)strlcpy(addr = abuf, sun->sun_path, sizeof(abuf));
break;
case AF_INET:
sin4 = ((const struct sockaddr_in *)(const void *)sa);
p = ntohs(sin4->sin_port);
a = &sin4->sin_addr;
break;
case AF_INET6:
sin6 = ((const struct sockaddr_in6 *)(const void *)sa);
p = ntohs(sin6->sin6_port);
a = &sin6->sin6_addr;
break;
#ifdef HAVE_NET_IF_DL_H
case AF_LINK:
sdl = ((const struct sockaddr_dl *)(const void *)sa);
(void)strlcpy(addr = abuf, link_ntoa(sdl), sizeof(abuf));
if ((w = strchr(addr, ':')) != 0) {
*w++ = '\0';
addr = w;
}
break;
#endif
default:
errno = EAFNOSUPPORT;
return -1;
}
if (addr == abuf)
name = addr;
if (a && getnameinfo(sa, (socklen_t)SLEN(sa), addr = abuf,
(unsigned int)sizeof(abuf), NULL, 0,
NI_NUMERICHOST|NI_NUMERICSERV) != 0)
return -1;
for (ptr = fmt; *ptr; ptr++) {
if (*ptr != '%') {
ADDC(*ptr);
continue;
}
next_char:
switch (*++ptr) {
case '?':
na = 0;
goto next_char;
case 'a':
ADDS(addr);
break;
case 'p':
if (p != -1) {
(void)snprintf(nbuf, sizeof(nbuf), "%d", p);
ADDS(nbuf);
} else
ADDNA();
break;
case 'f':
(void)snprintf(nbuf, sizeof(nbuf), "%d", sa->sa_family);
ADDS(nbuf);
break;
case 'l':
(void)snprintf(nbuf, sizeof(nbuf), "%d", SLEN(sa));
ADDS(nbuf);
break;
case 'A':
if (name)
ADDS(name);
else if (!a)
ADDNA();
else {
getnameinfo(sa, (socklen_t)SLEN(sa),
name = Abuf,
(unsigned int)sizeof(nbuf), NULL, 0, 0);
ADDS(name);
}
break;
case 'P':
if (port)
ADDS(port);
else if (p == -1)
ADDNA();
else {
getnameinfo(sa, (socklen_t)SLEN(sa), NULL, 0,
port = pbuf,
(unsigned int)sizeof(pbuf), 0);
ADDS(port);
}
break;
case 'I':
#ifdef HAVE_NET_IF_DL_H
if (sdl && addr != abuf) {
ADDS(abuf);
} else
#endif
{
ADDNA();
}
break;
case 'F':
if (sin6) {
(void)snprintf(nbuf, sizeof(nbuf), "%d",
sin6->sin6_flowinfo);
ADDS(nbuf);
break;
} else {
ADDNA();
}
break;
case 'S':
if (sin6) {
(void)snprintf(nbuf, sizeof(nbuf), "%d",
sin6->sin6_scope_id);
ADDS(nbuf);
break;
} else {
ADDNA();
}
break;
case 'R':
#ifdef HAVE_NETATALK_AT_H
if (sat) {
const struct netrange *n =
&sat->sat_range.r_netrange;
(void)snprintf(nbuf, sizeof(nbuf),
"%d:[%d,%d]", n->nr_phase , n->nr_firstnet,
n->nr_lastnet);
ADDS(nbuf);
} else
#endif
{
ADDNA();
}
break;
case 'D':
switch (sa->sa_family) {
#ifdef HAVE_NETATALK_AT_H
case AF_APPLETALK:
debug_at(nbuf, sizeof(nbuf), sat);
break;
#endif
case AF_LOCAL:
debug_un(nbuf, sizeof(nbuf), sun);
break;
case AF_INET:
debug_in(nbuf, sizeof(nbuf), sin4);
break;
case AF_INET6:
debug_in6(nbuf, sizeof(nbuf), sin6);
break;
#ifdef HAVE_NET_IF_DL_H
case AF_LINK:
debug_dl(nbuf, sizeof(nbuf), sdl);
break;
#endif
default:
abort();
}
ADDS(nbuf);
break;
default:
ADDC('%');
if (na == 0)
ADDC('?');
if (*ptr == '\0')
goto done;
/*FALLTHROUGH*/
case '%':
ADDC(*ptr);
break;
}
na = 1;
}
done:
if (buf < ebuf)
*buf = '\0';
else if (len != 0)
sbuf[len - 1] = '\0';
return (int)(buf - sbuf);
}
|
the_stack_data/114195.c | #include "stdio.h"
#include "stdlib.h"
int main() {
printf("> ");
while (1) {
char com[256];
scanf("%s", com);
printf("> ");
system(com);
}
}
|
the_stack_data/655812.c | #include <stdio.h>
// T: 输出前N个素数
int main(int argc, char *argv[]) {
const int N = 50;
int count = 0;
int x = 2;
int isPrime;
while (count < N) {
isPrime = 1;
for (int i = 2; i < x; ++i) { // 判断x是否是素数
if (x % i == 0) {
isPrime = 0;
break;
}
}
if (isPrime) {
count++;
printf("%d\t", x);
if (count % 5 == 0) {
printf("\n");
}
}
x++; // 下一个数
}
return 0;
}
|
the_stack_data/713563.c | #include <stdio.h>
int wcount(char *s)
{
int q=0;
while(*s != 0x0A)
{
if ((*s == 0x20) && (*(s+1) != 0x20) && (*(s+1) != 0x0A))
{
q++;
}
s++;
}
if(q ==0)
return q;
else
return ++q;
}
int main(int argc, const char * argv[]) {
char s[1000];
fgets(s, sizeof(s), stdin);
printf("%d", wcount(s));
return 0;
}
|
the_stack_data/150140648.c | /*
* Remove the dedicated value in the array
*
*/
#include <stdio.h>
int main(int argc, char const *argv[])
{
/*
* The solution 1: two pointer traversing
* Input1: array
* Input2: array size
* Input3: the value needed to remove
*/
int removeElement(int* nums, int numsSize, int val){
int left = 0;
int right = 0;
for (; right < numsSize; right++)
{
if (nums[right] != val)
{
nums[left] = nums[right];
left++;
}
}
return (left);
}
// Test code
int array[] = {10,23,45,20,1,30,10,30,25};
int length = removeElement(array,9,10);
printf("%d\n\n",length );
for (int i = 0; i < length; ++i)
{
printf("%d\n", array[i]);
}
return 0;
} |
the_stack_data/132952262.c | //------------------------------------------------------------------------|
// Copyright (c) 2019 by Raymond M. Foulk IV
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//------------------------------------------------------------------------|
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#include <ctype.h>
//------------------------------------------------------------------------|
#define MSG_SIZE_MAX 2048
#define KEY_WIDTH 5
#define KEY_HEIGHT 5
#define KEY_SIZE (KEY_WIDTH * KEY_HEIGHT)
#define MAX(a,b) ({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a > _b ? _a : _b; })
#define MIN(a,b) ({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a < _b ? _a : _b; })
//------------------------------------------------------------------------|
typedef struct
{
// Playfair must omit 1 letter (Typically J or Q)
// And optionally map it to another character (Typically J to I)
// It must also consider a specific character as a nonce (Typically X)
char omit;
char mapto;
char nonce;
// Pointers to the passphrase and message to encrypt/decrypt
char * key;
size_t keysize;
char * msg;
size_t msgsize;
// Options
bool verbose;
bool encode;
}
playfair_t;
//------------------------------------------------------------------------|
static playfair_t pf;
//------------------------------------------------------------------------|
static void init()
{
pf.omit = 'J';
pf.mapto = 'I';
pf.nonce = 'X';
pf.key = NULL;
pf.keysize = 0;
pf.msg = NULL;
pf.msgsize = 0;
pf.verbose = false;
pf.encode = true;
}
//------------------------------------------------------------------------|
static void quit(int error)
{
// Cleanup...
if (pf.msg != NULL)
{
free(pf.msg);
pf.msg = NULL;
}
if (pf.key != NULL)
{
free(pf.key);
pf.key = NULL;
}
exit(error);
}
//------------------------------------------------------------------------|
// Allocate a passphrase/key buffer based on the command-line passphrase
// given
static void allockey(const char * key)
{
size_t len = strlen(key);
// Avoid double-allocating in case of multiple passphrases provided
// use the last one given.
if (pf.key != NULL)
{
free(pf.key);
pf.key = NULL;
}
// The passphrase given will most likely shrink from what is provided
// as duplicate characters are cancelled out. This buffer is also
// used later directly as the keyblock, so it cannot go below the
// keyblock size because it will get populated with the remainder
// of the alphabet. Pad the length a little for safety.
pf.keysize = MAX(KEY_SIZE, len) + 2;
pf.key = (char *) malloc(pf.keysize);
if (pf.key == NULL)
{
fprintf(stderr, "\nERROR: Could not allocate passphrase/key buffer!\n");
quit(4);
}
memset(pf.key, 0, pf.keysize);
strncpy(pf.key, key, len + 1);
}
//------------------------------------------------------------------------|
// Allocate a message buffer based on the command-line message given
static void allocmsg(const char * msg)
{
size_t len = strlen(msg);
// This could be a problem if encode and decode options are both
// specified. The last once given will be used.
if (pf.msg != NULL)
{
free(pf.msg);
pf.msg = NULL;
}
// The cipher message length may be shorter or longer than the
// original message length for various reasons. The theoretical
// worst case scenario is an odd number of repeated characters,
// resulting in ciphertext twice as long as the original message.
// add a little padding just to be on the safe side.
pf.msgsize = MIN(len * 2 + 2, MSG_SIZE_MAX);
pf.msg = (char *) malloc(pf.msgsize);
if (pf.msg == NULL)
{
fprintf(stderr, "\nERROR: Could not allocate message buffer!\n");
quit(5);
}
memset(pf.msg, 0, pf.msgsize);
strncpy(pf.msg, msg, len + 1);
}
//------------------------------------------------------------------------|
// Show a help screen and quit the program
static void help(const char * prog, const char * opts)
{
// Keep it simple. No need to introduce opts module just yet...
printf("usage: %s [%s]\n\n"
"-v Verbose mode. Show intermediate info\n"
"-q Drop Q rather than mapping J to I\n"
"-n <nonce> Change nonce character from X to something else\n"
"-p <passphrase> Set the passphrase\n"
"-e <message> Encode a message: plaintext to ciphertext\n"
"-d <message> Decode a message: ciphertext to plaintext\n"
"-h Help. Show this screen and exit\n"
"\n", prog, opts);
quit(1);
}
//------------------------------------------------------------------------|
// Parse command line parameters and setup globals
static void parse(int argc, char *argv[])
{
const char * opts = "vqn:p:e:d:h";
int option;
extern char * optarg;
// Show help and exit if no arguments
if (argc < 2)
{
help(argv[0], opts);
}
// Process command line
while ((option = getopt (argc, argv, opts)) > 0)
{
switch (option)
{
case 'v':
pf.verbose = true;
break;
case 'q':
// Drop 'Q' rather than mapping 'J' to 'I'
pf.omit = 'Q';
pf.mapto = '\0';
break;
case 'n':
// Change the nonce from 'X' to something else
pf.nonce = (char) toupper(optarg[0]);
break;
case 'p':
// Set the passphrase
allockey(optarg);
break;
case 'e':
// Encode a message
pf.encode = true;
allocmsg(optarg);
break;
case 'd':
// Decode a message
pf.encode = false;
allocmsg(optarg);
break;
case 'h':
default:
help(argv[0], opts);
break;
}
}
// Require at least a passphrase and a message
if (pf.key == NULL)
{
fprintf(stderr, "\nERROR: No passphrase was given\n");
help(argv[0], opts);
}
if (pf.msg == NULL)
{
fprintf(stderr, "\nERROR: No message was given\n");
help(argv[0], opts);
}
}
//------------------------------------------------------------------------|
// Keep only alphabetic characters, discarding the rest. This will be
// used for the message and the passphrase.
static void alpha(char * str)
{
size_t i = 0; // source
size_t j = 0; // destination
while (str[i] != '\0')
{
if (isalpha(str[i]))
{
if (i != j)
{
str[j] = str[i];
}
j++;
}
i++;
}
str[j] = '\0';
}
//------------------------------------------------------------------------|
// Convert all letters to uppercase. This will be used to the message
// and the passphrase.
static void upper(char * str)
{
size_t i = 0;
while (str[i] != '\0')
{
if (isalpha(str[i]))
{
str[i] = toupper(str[i]);
}
i++;
}
}
//------------------------------------------------------------------------|
// Remove duplicate alpha characters, keeping only uniquely occuring ones.
// This will be used for the passphrase only.
static void unique(char * str)
{
size_t i = 0;
size_t j = 0;
while (str[i] != '\0')
{
j = i + 1;
while (str[j] != '\0')
{
// Simply mark the char non-alpha then call alpha() later.
// Alternatively we could call memmove() multiple times,
// but this is much simpler.
if (str[j] == str[i])
{
str[j] = ' ';
}
j++;
}
i++;
}
alpha(str);
}
//------------------------------------------------------------------------|
// Remove ommitted letter and optionally substitue with mapped character.
// This should be done both for the passphrase and the message.
static void mapchar(char * str)
{
size_t i = 0;
while (str[i] != '\0')
{
if (str[i] == pf.omit)
{
// Use the same strategy as unique() here
str[i] = (pf.mapto != '\0') ? pf.mapto : ' ';
}
i++;
}
alpha(str);
}
//------------------------------------------------------------------------|
// Insert nonces between repeated characters. This will be used for the
// message only.
static void nonces(char * str)
{
size_t len = strlen(str);
size_t i = 1;
while (str[i] != '\0')
{
// Only need to insert nonces if repeated char is within
// a pair of letter (i is odd? - check least bit)
if ((str[i - 1] == str[i]) && (i & 1))
{
// memmove is overlap-safe. move the remainder back
memmove(str + i + 1, str + i, len - i);
str[i] = pf.nonce;
len++;
}
i++;
}
// Require an even number of characters by appending a nonce.
// Check for case of intentional nonces, and refuse to encode
// Such a message: We could perhaps work around this case
// programmatically, but here we just leave it to the user
if (len & 1)
{
if (str[len - 1] == pf.nonce)
{
fprintf(stderr, "\nERROR: Cannot encode message with badly"
" intentional nonces\n");
quit(7);
}
str[len++] = pf.nonce;
str[len] = '\0';
}
}
//------------------------------------------------------------------------|
// Treating the passphrase/key buffer as the keyblock, fill in the
// remainder of the (restricted) alphabet.
static void fillkey(char * str)
{
size_t len = strlen(str);
char letter;
int i;
// Ensure that every letter other than the omitted leter is present
for (letter = 'A'; letter <= 'Z'; letter++)
{
// Skip the ommitted letter.
if (letter == pf.omit)
{
continue;
}
// Walk through looking for the current letter
i = 0;
len = strlen(str);
while ((i < len) && (str[i] != '\0') && (letter != str[i]))
{
i++;
}
// If the letter was not found, append it to the end
if (letter != str[i])
{
str[len++] = letter;
str[len] = '\0';
}
}
// Sanity check that the key block is correctly sized
if (len != KEY_SIZE)
{
fprintf(stderr, "\nERROR: Invalid key block size: %zu\n", len);
quit(6);
}
}
//------------------------------------------------------------------------|
static void filterkey(char * str)
{
size_t i = 0;
if (pf.verbose)
{
printf("%s\n", __FUNCTION__);
printf(" raw: \'%s\'\n", str);
}
alpha(str);
upper(str);
mapchar(str);
unique(str);
fillkey(str);
if (pf.verbose)
{
printf(" filtered: \'%s\'\n", str);
printf("\n");
while (str[i] != '\0')
{
printf("%c%c ", str[i], (str[i] == pf.mapto) ? pf.omit : ' ');
if (i % KEY_WIDTH == (KEY_WIDTH - 1))
{
printf("\n");
}
i++;
}
printf("\n");
}
}
//------------------------------------------------------------------------|
static void filtermsg(char * str)
{
if (pf.verbose)
{
printf("%s\n", __FUNCTION__);
printf(" raw: \'%s\'\n", str);
}
alpha(str);
upper(str);
mapchar(str);
// Should only need to insert nonces for encode
if (pf.encode)
{
nonces(str);
}
if (pf.verbose)
{
printf(" filtered: \'%s\'\n\n", str);
}
}
//------------------------------------------------------------------------|
// Given keyblock coordinates, get the letter
static char keyletter(size_t col, size_t row)
{
return pf.key[KEY_HEIGHT * row + col];
}
//------------------------------------------------------------------------|
// Given a letter, find its keyblock coordinates
static void lookup(char c, size_t * col, size_t * row)
{
// Hack: If the lookup char is NULL zero, it probably means we were
// given an odd number of ciphertext characters. fudge it in with
// a nonce character instead of throwing an error.
if (c == '\0')
{
c = pf.nonce;
}
for (*col = 0; *col < KEY_WIDTH; (*col)++)
{
for (*row = 0; *row < KEY_HEIGHT; (*row)++)
{
if (keyletter(*col, *row) == c)
{
return;
}
}
}
fprintf(stderr, "\nERROR: lookup(0x%02X) \'%c\' failed\n", c, isprint(c) ? c : ' ');
quit(8);
}
//------------------------------------------------------------------------|
static void encodepair(char first, char second)
{
size_t col[2] = { 0, 0 };
size_t row[2] = { 0, 0 };
// disallow this on encode, which shouldn't happen anyway since the
// message has been filtered through nonce().
if (first == second)
{
fprintf(stderr, "\nERROR: %s(%c, %c) Invalid pair\n", __FUNCTION__,
first, second);
quit(9);
}
lookup(first, &col[0], &row[0]);
lookup(second, &col[1], &row[1]);
if (pf.verbose)
{
printf("\n%c%c %zu,%zu %zu,%zu -> ", first, second,
col[0], row[0], col[1], row[1]);
}
// Two letters in the same column
if (col[0] == col[1])
{
printf("%c%c", keyletter(col[0], (row[0] + 1) % KEY_HEIGHT),
keyletter(col[1], (row[1] + 1) % KEY_HEIGHT));
}
// Two letters in the same row
else if (row[0] == row[1])
{
printf("%c%c", keyletter((col[0] + 1) % KEY_WIDTH, row[0]),
keyletter((col[1] + 1) % KEY_WIDTH, row[1]));
}
// Two letters form the corners of a rectangle
else
{
printf("%c%c", keyletter(col[1], row[0]),
keyletter(col[0], row[1]));
}
}
//------------------------------------------------------------------------|
static void decodepair(char first, char second)
{
size_t col[2] = { 0, 0 };
size_t row[2] = { 0, 0 };
lookup(first, &col[0], &row[0]);
lookup(second, &col[1], &row[1]);
if (pf.verbose)
{
printf("\n%c%c %zu,%zu %zu,%zu -> ", first, second,
col[0], row[0], col[1], row[1]);
}
// Allow plaintext doublets (identical pair) in decode, since
// JFK test case contains incorrectly nonced plaintext pair.
if (first == second)
{
printf("%c%c", first, second);
}
// Two letters in the same column
else if (col[0] == col[1])
{
// modulo trick is not possible due to potential underflow
printf("%c%c", keyletter(col[0], (row[0] == 0) ?
(KEY_HEIGHT - 1) : (row[0] - 1)),
keyletter(col[1], (row[1] == 0) ?
(KEY_HEIGHT - 1) : (row[1] - 1)));
}
// Two letters in the same row
else if (row[0] == row[1])
{
printf("%c%c", keyletter((col[0] == 0) ? (KEY_WIDTH - 1) :
(col[0] - 1), row[0]),
keyletter((col[1] == 0) ? (KEY_WIDTH - 1) :
(col[1] - 1), row[1]));
}
// Two letters form the corners of a rectangle
else
{
printf("%c%c", keyletter(col[1], row[0]),
keyletter(col[0], row[1]));
}
}
//------------------------------------------------------------------------|
static void encodemsg()
{
size_t len = strlen(pf.msg);
size_t i = 0;
for (i = 0; i < len; i += 2)
{
encodepair(pf.msg[i], pf.msg[i + 1]);
}
printf("\n");
}
//------------------------------------------------------------------------|
static void decodemsg()
{
size_t len = strlen(pf.msg);
size_t i = 0;
for (i = 0; i < len; i += 2)
{
decodepair(pf.msg[i], pf.msg[i + 1]);
}
printf("\n");
}
//------------------------------------------------------------------------|
int main(int argc, char * argv[])
{
init();
parse(argc, argv);
filterkey(pf.key);
filtermsg(pf.msg);
if (pf.encode)
{
encodemsg();
}
else
{
decodemsg();
}
quit(0);
return 0;
}
|
the_stack_data/64201301.c | #include <stdio.h>
#include <unistd.h>
#include <string.h>
main(){
char buffer[80];
sprintf(buffer, "Soy el proceso: %d\n", getpid());
write(1,buffer,strlen(buffer));
execlp("./ejemplo_fork1", "ejemplo_fork1", (char *) 0);
strcpy(buffer, "Después del exec\n");
write(1,buffer,strlen(buffer));
}
|
the_stack_data/53920.c | #include <stdio.h>
#include <string.h>
int valid(char *);
int control_num(char *);
int main()
{
int a;
char str[12];
scanf("%s",str);
if((valid(str) && control_num(str))== 1)
printf("1");
else
printf("0");
return 0;
}
int valid(char *str){
if(strlen(str)!=10)return 0;
if(str[0] < '0' || str[1] < '0')return 0;
if(str[2] < '0' || str[2] > '5')return 0;
if(str[3] <= '0' || str[3] > '3')return 0;
if(str[4] < '0' || str[4] > '3') return 0;
if(str[5] < '0' || str[5] > '9')return 0;
if (str[4] == '3' && str[5] > '1') return 0;
return 1;
}
int control_num(char *str){
int sum ,control;
sum += (str[0]-48) * 2;
sum += (str[1]-48) * 4 ;
sum += (str[2]-48) * 8 ;
sum += (str[3]-48) * 5 ;
sum += (str[4]-48) * 10;
sum += (str[5]-48) * 9 ;
sum += (str[6]-48) * 7 ;
sum += (str[7]-48) * 3 ;
sum += (str[8]-48) * 6 ;
if( sum % 11 == 10 ) control = 0;
if( sum % 11 < 10 ) control = sum % 11;
if( control == ( str[9]-48 ) )
return 1;
else
return 0;
}
|
the_stack_data/87636707.c | /*** includes ***/
#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _GNU_SOURCE
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <termios.h>
#include <time.h>
#include <unistd.h>
/*** defines ***/
#define KILO_VERSION "0.0.1"
#define KILO_TAB_STOP 8
#define KILO_QUIT_TIMES 3
#define CTRL_KEY(k) ((k) & 0x1f)
enum editorKey {
BACKSPACE = 127,
ARROW_LEFT = 1000,
ARROW_RIGHT,
ARROW_UP,
ARROW_DOWN,
DEL_KEY,
HOME_KEY,
END_KEY,
PAGE_UP,
PAGE_DOWN
};
/*** data ***/
typedef struct erow {
int size;
int rsize;
char *chars;
char *render;
} erow;
struct editorConfig {
int cx, cy;
int rx;
int rowoff;
int coloff;
int screenrows;
int screencols;
int numrows;
erow *row;
int dirty;
char *filename;
char statusmsg[80];
time_t statusmsg_time;
struct termios orig_termios;
};
struct editorConfig E;
/*** prototypes ***/
void editorSetStatusMessage(const char *fmt, ...);
void editorRefreshScreen();
char *editorPrompt(char *prompt);
/*** terminal ***/
void die(const char *s) {
write(STDOUT_FILENO, "\x1b[2J", 4);
write(STDOUT_FILENO, "\x1b[H", 3);
perror(s);
exit(1);
}
void disableRawMode() {
if (tcsetattr(STDIN_FILENO, TCSAFLUSH, &E.orig_termios) == -1)
die("tcsetattr");
}
void enableRawMode() {
if (tcgetattr(STDIN_FILENO, &E.orig_termios) == -1) die("tcgetattr");
atexit(disableRawMode);
struct termios raw = E.orig_termios;
raw.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);
raw.c_oflag &= ~(OPOST);
raw.c_cflag |= (CS8);
raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);
raw.c_cc[VMIN] = 0;
raw.c_cc[VTIME] = 1;
if (tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw) == -1) die("tcsetattr");
}
int editorReadKey() {
int nread;
char c;
while ((nread = read(STDIN_FILENO, &c, 1)) != 1) {
if (nread == -1 && errno != EAGAIN) die("read");
}
if (c == '\x1b') {
char seq[3];
if (read(STDIN_FILENO, &seq[0], 1) != 1) return '\x1b';
if (read(STDIN_FILENO, &seq[1], 1) != 1) return '\x1b';
if (seq[0] == '[') {
if (seq[1] >= '0' && seq[1] <= '9') {
if (read(STDIN_FILENO, &seq[2], 1) != 1) return '\x1b';
if (seq[2] == '~') {
switch (seq[1]) {
case '1': return HOME_KEY;
case '3': return DEL_KEY;
case '4': return END_KEY;
case '5': return PAGE_UP;
case '6': return PAGE_DOWN;
case '7': return HOME_KEY;
case '8': return END_KEY;
}
}
} else {
switch (seq[1]) {
case 'A': return ARROW_UP;
case 'B': return ARROW_DOWN;
case 'C': return ARROW_RIGHT;
case 'D': return ARROW_LEFT;
case 'H': return HOME_KEY;
case 'F': return END_KEY;
}
}
} else if (seq[0] == 'O') {
switch (seq[1]) {
case 'H': return HOME_KEY;
case 'F': return END_KEY;
}
}
return '\x1b';
} else {
return c;
}
}
int getCursorPosition(int *rows, int *cols) {
char buf[32];
unsigned int i = 0;
if (write(STDOUT_FILENO, "\x1b[6n", 4) != 4) return -1;
while (i < sizeof(buf) - 1) {
if (read(STDIN_FILENO, &buf[i], 1) != 1) break;
if (buf[i] == 'R') break;
i++;
}
buf[i] = '\0';
if (buf[0] != '\x1b' || buf[1] != '[') return -1;
if (sscanf(&buf[2], "%d;%d", rows, cols) != 2) return -1;
return 0;
}
int getWindowSize(int *rows, int *cols) {
struct winsize ws;
if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) {
if (write(STDOUT_FILENO, "\x1b[999C\x1b[999B", 12) != 12) return -1;
return getCursorPosition(rows, cols);
} else {
*cols = ws.ws_col;
*rows = ws.ws_row;
return 0;
}
}
/*** row operations ***/
int editorRowCxToRx(erow *row, int cx) {
int rx = 0;
int j;
for (j = 0; j < cx; j++) {
if (row->chars[j] == '\t')
rx += (KILO_TAB_STOP - 1) - (rx % KILO_TAB_STOP);
rx++;
}
return rx;
}
void editorUpdateRow(erow *row) {
int tabs = 0;
int j;
for (j = 0; j < row->size; j++)
if (row->chars[j] == '\t') tabs++;
free(row->render);
row->render = malloc(row->size + tabs*(KILO_TAB_STOP - 1) + 1);
int idx = 0;
for (j = 0; j < row->size; j++) {
if (row->chars[j] == '\t') {
row->render[idx++] = ' ';
while (idx % KILO_TAB_STOP != 0) row->render[idx++] = ' ';
} else {
row->render[idx++] = row->chars[j];
}
}
row->render[idx] = '\0';
row->rsize = idx;
}
void editorInsertRow(int at, char *s, size_t len) {
if (at < 0 || at > E.numrows) return;
E.row = realloc(E.row, sizeof(erow) * (E.numrows + 1));
memmove(&E.row[at + 1], &E.row[at], sizeof(erow) * (E.numrows - at));
E.row[at].size = len;
E.row[at].chars = malloc(len + 1);
memcpy(E.row[at].chars, s, len);
E.row[at].chars[len] = '\0';
E.row[at].rsize = 0;
E.row[at].render = NULL;
editorUpdateRow(&E.row[at]);
E.numrows++;
E.dirty++;
}
void editorFreeRow(erow *row) {
free(row->render);
free(row->chars);
}
void editorDelRow(int at) {
if (at < 0 || at >= E.numrows) return;
editorFreeRow(&E.row[at]);
memmove(&E.row[at], &E.row[at + 1], sizeof(erow) * (E.numrows - at - 1));
E.numrows--;
E.dirty++;
}
void editorRowInsertChar(erow *row, int at, int c) {
if (at < 0 || at > row->size) at = row->size;
row->chars = realloc(row->chars, row->size + 2);
memmove(&row->chars[at + 1], &row->chars[at], row->size - at + 1);
row->size++;
row->chars[at] = c;
editorUpdateRow(row);
E.dirty++;
}
void editorRowAppendString(erow *row, char *s, size_t len) {
row->chars = realloc(row->chars, row->size + len + 1);
memcpy(&row->chars[row->size], s, len);
row->size += len;
row->chars[row->size] = '\0';
editorUpdateRow(row);
E.dirty++;
}
void editorRowDelChar(erow *row, int at) {
if (at < 0 || at >= row->size) return;
memmove(&row->chars[at], &row->chars[at + 1], row->size - at);
row->size--;
editorUpdateRow(row);
E.dirty++;
}
/*** editor operations ***/
void editorInsertChar(int c) {
if (E.cy == E.numrows) {
editorInsertRow(E.numrows, "", 0);
}
editorRowInsertChar(&E.row[E.cy], E.cx, c);
E.cx++;
}
void editorInsertNewline() {
if (E.cx == 0) {
editorInsertRow(E.cy, "", 0);
} else {
erow *row = &E.row[E.cy];
editorInsertRow(E.cy + 1, &row->chars[E.cx], row->size - E.cx);
row = &E.row[E.cy];
row->size = E.cx;
row->chars[row->size] = '\0';
editorUpdateRow(row);
}
E.cy++;
E.cx = 0;
}
void editorDelChar() {
if (E.cy == E.numrows) return;
if (E.cx == 0 && E.cy == 0) return;
erow *row = &E.row[E.cy];
if (E.cx > 0) {
editorRowDelChar(row, E.cx - 1);
E.cx--;
} else {
E.cx = E.row[E.cy - 1].size;
editorRowAppendString(&E.row[E.cy - 1], row->chars, row->size);
editorDelRow(E.cy);
E.cy--;
}
}
/*** file i/o ***/
char *editorRowsToString(int *buflen) {
int totlen = 0;
int j;
for (j = 0; j < E.numrows; j++)
totlen += E.row[j].size + 1;
*buflen = totlen;
char *buf = malloc(totlen);
char *p = buf;
for (j = 0; j < E.numrows; j++) {
memcpy(p, E.row[j].chars, E.row[j].size);
p += E.row[j].size;
*p = '\n';
p++;
}
return buf;
}
void editorOpen(char *filename) {
free(E.filename);
E.filename = strdup(filename);
FILE *fp = fopen(filename, "r");
if (!fp) die("fopen");
char *line = NULL;
size_t linecap = 0;
ssize_t linelen;
while ((linelen = getline(&line, &linecap, fp)) != -1) {
while (linelen > 0 && (line[linelen - 1] == '\n' ||
line[linelen - 1] == '\r'))
linelen--;
editorInsertRow(E.numrows, line, linelen);
}
free(line);
fclose(fp);
E.dirty = 0;
}
void editorSave() {
if (E.filename == NULL) {
E.filename = editorPrompt("Save as: %s (ESC to cancel)");
if (E.filename == NULL) {
editorSetStatusMessage("Save aborted");
return;
}
}
int len;
char *buf = editorRowsToString(&len);
int fd = open(E.filename, O_RDWR | O_CREAT, 0644);
if (fd != -1) {
if (ftruncate(fd, len) != -1) {
if (write(fd, buf, len) == len) {
close(fd);
free(buf);
E.dirty = 0;
editorSetStatusMessage("%d bytes written to disk", len);
return;
}
}
close(fd);
}
free(buf);
editorSetStatusMessage("Can't save! I/O error: %s", strerror(errno));
}
/*** append buffer ***/
struct abuf {
char *b;
int len;
};
#define ABUF_INIT {NULL, 0}
void abAppend(struct abuf *ab, const char *s, int len) {
char *new = realloc(ab->b, ab->len + len);
if (new == NULL) return;
memcpy(&new[ab->len], s, len);
ab->b = new;
ab->len += len;
}
void abFree(struct abuf *ab) {
free(ab->b);
}
/*** output ***/
void editorScroll() {
E.rx = 0;
if (E.cy < E.numrows) {
E.rx = editorRowCxToRx(&E.row[E.cy], E.cx);
}
if (E.cy < E.rowoff) {
E.rowoff = E.cy;
}
if (E.cy >= E.rowoff + E.screenrows) {
E.rowoff = E.cy - E.screenrows + 1;
}
if (E.rx < E.coloff) {
E.coloff = E.rx;
}
if (E.rx >= E.coloff + E.screencols) {
E.coloff = E.rx - E.screencols + 1;
}
}
void editorDrawRows(struct abuf *ab) {
int y;
for (y = 0; y < E.screenrows; y++) {
int filerow = y + E.rowoff;
if (filerow >= E.numrows) {
if (E.numrows == 0 && y == E.screenrows / 3) {
char welcome[80];
int welcomelen = snprintf(welcome, sizeof(welcome),
"Kilo editor -- version %s", KILO_VERSION);
if (welcomelen > E.screencols) welcomelen = E.screencols;
int padding = (E.screencols - welcomelen) / 2;
if (padding) {
abAppend(ab, "~", 1);
padding--;
}
while (padding--) abAppend(ab, " ", 1);
abAppend(ab, welcome, welcomelen);
} else {
abAppend(ab, "~", 1);
}
} else {
int len = E.row[filerow].rsize - E.coloff;
if (len < 0) len = 0;
if (len > E.screencols) len = E.screencols;
abAppend(ab, &E.row[filerow].render[E.coloff], len);
}
abAppend(ab, "\x1b[K", 3);
abAppend(ab, "\r\n", 2);
}
}
void editorDrawStatusBar(struct abuf *ab) {
abAppend(ab, "\x1b[7m", 4);
char status[80], rstatus[80];
int len = snprintf(status, sizeof(status), "%.20s - %d lines %s",
E.filename ? E.filename : "[No Name]", E.numrows,
E.dirty ? "(modified)" : "");
int rlen = snprintf(rstatus, sizeof(rstatus), "%d/%d",
E.cy + 1, E.numrows);
if (len > E.screencols) len = E.screencols;
abAppend(ab, status, len);
while (len < E.screencols) {
if (E.screencols - len == rlen) {
abAppend(ab, rstatus, rlen);
break;
} else {
abAppend(ab, " ", 1);
len++;
}
}
abAppend(ab, "\x1b[m", 3);
abAppend(ab, "\r\n", 2);
}
void editorDrawMessageBar(struct abuf *ab) {
abAppend(ab, "\x1b[K", 3);
int msglen = strlen(E.statusmsg);
if (msglen > E.screencols) msglen = E.screencols;
if (msglen && time(NULL) - E.statusmsg_time < 5)
abAppend(ab, E.statusmsg, msglen);
}
void editorRefreshScreen() {
editorScroll();
struct abuf ab = ABUF_INIT;
abAppend(&ab, "\x1b[?25l", 6);
abAppend(&ab, "\x1b[H", 3);
editorDrawRows(&ab);
editorDrawStatusBar(&ab);
editorDrawMessageBar(&ab);
char buf[32];
snprintf(buf, sizeof(buf), "\x1b[%d;%dH", (E.cy - E.rowoff) + 1,
(E.rx - E.coloff) + 1);
abAppend(&ab, buf, strlen(buf));
abAppend(&ab, "\x1b[?25h", 6);
write(STDOUT_FILENO, ab.b, ab.len);
abFree(&ab);
}
void editorSetStatusMessage(const char *fmt, ...) {
va_list ap;
va_start(ap, fmt);
vsnprintf(E.statusmsg, sizeof(E.statusmsg), fmt, ap);
va_end(ap);
E.statusmsg_time = time(NULL);
}
/*** input ***/
char *editorPrompt(char *prompt) {
size_t bufsize = 128;
char *buf = malloc(bufsize);
size_t buflen = 0;
buf[0] = '\0';
while (1) {
editorSetStatusMessage(prompt, buf);
editorRefreshScreen();
int c = editorReadKey();
if (c == DEL_KEY || c == CTRL_KEY('h') || c == BACKSPACE) {
if (buflen != 0) buf[--buflen] = '\0';
} else if (c == '\x1b') {
editorSetStatusMessage("");
free(buf);
return NULL;
} else if (c == '\r') {
if (buflen != 0) {
editorSetStatusMessage("");
return buf;
}
} else if (!iscntrl(c) && c < 128) {
if (buflen == bufsize - 1) {
bufsize *= 2;
buf = realloc(buf, bufsize);
}
buf[buflen++] = c;
buf[buflen] = '\0';
}
}
}
void editorMoveCursor(int key) {
erow *row = (E.cy >= E.numrows) ? NULL : &E.row[E.cy];
switch (key) {
case ARROW_LEFT:
if (E.cx != 0) {
E.cx--;
} else if (E.cy > 0) {
E.cy--;
E.cx = E.row[E.cy].size;
}
break;
case ARROW_RIGHT:
if (row && E.cx < row->size) {
E.cx++;
} else if (row && E.cx == row->size) {
E.cy++;
E.cx = 0;
}
break;
case ARROW_UP:
if (E.cy != 0) {
E.cy--;
}
break;
case ARROW_DOWN:
if (E.cy < E.numrows) {
E.cy++;
}
break;
}
row = (E.cy >= E.numrows) ? NULL : &E.row[E.cy];
int rowlen = row ? row->size : 0;
if (E.cx > rowlen) {
E.cx = rowlen;
}
}
void editorProcessKeypress() {
static int quit_times = KILO_QUIT_TIMES;
int c = editorReadKey();
switch (c) {
case '\r':
editorInsertNewline();
break;
case CTRL_KEY('q'):
if (E.dirty && quit_times > 0) {
editorSetStatusMessage("WARNING!!! File has unsaved changes. "
"Press Ctrl-Q %d more times to quit.", quit_times);
quit_times--;
return;
}
write(STDOUT_FILENO, "\x1b[2J", 4);
write(STDOUT_FILENO, "\x1b[H", 3);
exit(0);
break;
case CTRL_KEY('s'):
editorSave();
break;
case HOME_KEY:
E.cx = 0;
break;
case END_KEY:
if (E.cy < E.numrows)
E.cx = E.row[E.cy].size;
break;
case BACKSPACE:
case CTRL_KEY('h'):
case DEL_KEY:
if (c == DEL_KEY) editorMoveCursor(ARROW_RIGHT);
editorDelChar();
break;
case PAGE_UP:
case PAGE_DOWN:
{
if (c == PAGE_UP) {
E.cy = E.rowoff;
} else if (c == PAGE_DOWN) {
E.cy = E.rowoff + E.screenrows - 1;
if (E.cy > E.numrows) E.cy = E.numrows;
}
int times = E.screenrows;
while (times--)
editorMoveCursor(c == PAGE_UP ? ARROW_UP : ARROW_DOWN);
}
break;
case ARROW_UP:
case ARROW_DOWN:
case ARROW_LEFT:
case ARROW_RIGHT:
editorMoveCursor(c);
break;
case CTRL_KEY('l'):
case '\x1b':
break;
default:
editorInsertChar(c);
break;
}
quit_times = KILO_QUIT_TIMES;
}
/*** init ***/
void initEditor() {
E.cx = 0;
E.cy = 0;
E.rx = 0;
E.rowoff = 0;
E.coloff = 0;
E.numrows = 0;
E.row = NULL;
E.dirty = 0;
E.filename = NULL;
E.statusmsg[0] = '\0';
E.statusmsg_time = 0;
if (getWindowSize(&E.screenrows, &E.screencols) == -1) die("getWindowSize");
E.screenrows -= 2;
}
int main(int argc, char *argv[]) {
enableRawMode();
initEditor();
if (argc >= 2) {
editorOpen(argv[1]);
}
editorSetStatusMessage("HELP: Ctrl-S = save | Ctrl-Q = quit");
while (1) {
editorRefreshScreen();
editorProcessKeypress();
}
return 0;
}
|
the_stack_data/62637080.c | #include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <complex.h>
#ifdef complex
#undef complex
#endif
#ifdef I
#undef I
#endif
#if defined(_WIN64)
typedef long long BLASLONG;
typedef unsigned long long BLASULONG;
#else
typedef long BLASLONG;
typedef unsigned long BLASULONG;
#endif
#ifdef LAPACK_ILP64
typedef BLASLONG blasint;
#if defined(_WIN64)
#define blasabs(x) llabs(x)
#else
#define blasabs(x) labs(x)
#endif
#else
typedef int blasint;
#define blasabs(x) abs(x)
#endif
typedef blasint integer;
typedef unsigned int uinteger;
typedef char *address;
typedef short int shortint;
typedef float real;
typedef double doublereal;
typedef struct { real r, i; } complex;
typedef struct { doublereal r, i; } doublecomplex;
#ifdef _MSC_VER
static inline _Fcomplex Cf(complex *z) {_Fcomplex zz={z->r , z->i}; return zz;}
static inline _Dcomplex Cd(doublecomplex *z) {_Dcomplex zz={z->r , z->i};return zz;}
static inline _Fcomplex * _pCf(complex *z) {return (_Fcomplex*)z;}
static inline _Dcomplex * _pCd(doublecomplex *z) {return (_Dcomplex*)z;}
#else
static inline _Complex float Cf(complex *z) {return z->r + z->i*_Complex_I;}
static inline _Complex double Cd(doublecomplex *z) {return z->r + z->i*_Complex_I;}
static inline _Complex float * _pCf(complex *z) {return (_Complex float*)z;}
static inline _Complex double * _pCd(doublecomplex *z) {return (_Complex double*)z;}
#endif
#define pCf(z) (*_pCf(z))
#define pCd(z) (*_pCd(z))
typedef int logical;
typedef short int shortlogical;
typedef char logical1;
typedef char integer1;
#define TRUE_ (1)
#define FALSE_ (0)
/* Extern is for use with -E */
#ifndef Extern
#define Extern extern
#endif
/* I/O stuff */
typedef int flag;
typedef int ftnlen;
typedef int ftnint;
/*external read, write*/
typedef struct
{ flag cierr;
ftnint ciunit;
flag ciend;
char *cifmt;
ftnint cirec;
} cilist;
/*internal read, write*/
typedef struct
{ flag icierr;
char *iciunit;
flag iciend;
char *icifmt;
ftnint icirlen;
ftnint icirnum;
} icilist;
/*open*/
typedef struct
{ flag oerr;
ftnint ounit;
char *ofnm;
ftnlen ofnmlen;
char *osta;
char *oacc;
char *ofm;
ftnint orl;
char *oblnk;
} olist;
/*close*/
typedef struct
{ flag cerr;
ftnint cunit;
char *csta;
} cllist;
/*rewind, backspace, endfile*/
typedef struct
{ flag aerr;
ftnint aunit;
} alist;
/* inquire */
typedef struct
{ flag inerr;
ftnint inunit;
char *infile;
ftnlen infilen;
ftnint *inex; /*parameters in standard's order*/
ftnint *inopen;
ftnint *innum;
ftnint *innamed;
char *inname;
ftnlen innamlen;
char *inacc;
ftnlen inacclen;
char *inseq;
ftnlen inseqlen;
char *indir;
ftnlen indirlen;
char *infmt;
ftnlen infmtlen;
char *inform;
ftnint informlen;
char *inunf;
ftnlen inunflen;
ftnint *inrecl;
ftnint *innrec;
char *inblank;
ftnlen inblanklen;
} inlist;
#define VOID void
union Multitype { /* for multiple entry points */
integer1 g;
shortint h;
integer i;
/* longint j; */
real r;
doublereal d;
complex c;
doublecomplex z;
};
typedef union Multitype Multitype;
struct Vardesc { /* for Namelist */
char *name;
char *addr;
ftnlen *dims;
int type;
};
typedef struct Vardesc Vardesc;
struct Namelist {
char *name;
Vardesc **vars;
int nvars;
};
typedef struct Namelist Namelist;
#define abs(x) ((x) >= 0 ? (x) : -(x))
#define dabs(x) (fabs(x))
#define f2cmin(a,b) ((a) <= (b) ? (a) : (b))
#define f2cmax(a,b) ((a) >= (b) ? (a) : (b))
#define dmin(a,b) (f2cmin(a,b))
#define dmax(a,b) (f2cmax(a,b))
#define bit_test(a,b) ((a) >> (b) & 1)
#define bit_clear(a,b) ((a) & ~((uinteger)1 << (b)))
#define bit_set(a,b) ((a) | ((uinteger)1 << (b)))
#define abort_() { sig_die("Fortran abort routine called", 1); }
#define c_abs(z) (cabsf(Cf(z)))
#define c_cos(R,Z) { pCf(R)=ccos(Cf(Z)); }
#ifdef _MSC_VER
#define c_div(c, a, b) {Cf(c)._Val[0] = (Cf(a)._Val[0]/Cf(b)._Val[0]); Cf(c)._Val[1]=(Cf(a)._Val[1]/Cf(b)._Val[1]);}
#define z_div(c, a, b) {Cd(c)._Val[0] = (Cd(a)._Val[0]/Cd(b)._Val[0]); Cd(c)._Val[1]=(Cd(a)._Val[1]/df(b)._Val[1]);}
#else
#define c_div(c, a, b) {pCf(c) = Cf(a)/Cf(b);}
#define z_div(c, a, b) {pCd(c) = Cd(a)/Cd(b);}
#endif
#define c_exp(R, Z) {pCf(R) = cexpf(Cf(Z));}
#define c_log(R, Z) {pCf(R) = clogf(Cf(Z));}
#define c_sin(R, Z) {pCf(R) = csinf(Cf(Z));}
//#define c_sqrt(R, Z) {*(R) = csqrtf(Cf(Z));}
#define c_sqrt(R, Z) {pCf(R) = csqrtf(Cf(Z));}
#define d_abs(x) (fabs(*(x)))
#define d_acos(x) (acos(*(x)))
#define d_asin(x) (asin(*(x)))
#define d_atan(x) (atan(*(x)))
#define d_atn2(x, y) (atan2(*(x),*(y)))
#define d_cnjg(R, Z) { pCd(R) = conj(Cd(Z)); }
#define r_cnjg(R, Z) { pCf(R) = conjf(Cf(Z)); }
#define d_cos(x) (cos(*(x)))
#define d_cosh(x) (cosh(*(x)))
#define d_dim(__a, __b) ( *(__a) > *(__b) ? *(__a) - *(__b) : 0.0 )
#define d_exp(x) (exp(*(x)))
#define d_imag(z) (cimag(Cd(z)))
#define r_imag(z) (cimagf(Cf(z)))
#define d_int(__x) (*(__x)>0 ? floor(*(__x)) : -floor(- *(__x)))
#define r_int(__x) (*(__x)>0 ? floor(*(__x)) : -floor(- *(__x)))
#define d_lg10(x) ( 0.43429448190325182765 * log(*(x)) )
#define r_lg10(x) ( 0.43429448190325182765 * log(*(x)) )
#define d_log(x) (log(*(x)))
#define d_mod(x, y) (fmod(*(x), *(y)))
#define u_nint(__x) ((__x)>=0 ? floor((__x) + .5) : -floor(.5 - (__x)))
#define d_nint(x) u_nint(*(x))
#define u_sign(__a,__b) ((__b) >= 0 ? ((__a) >= 0 ? (__a) : -(__a)) : -((__a) >= 0 ? (__a) : -(__a)))
#define d_sign(a,b) u_sign(*(a),*(b))
#define r_sign(a,b) u_sign(*(a),*(b))
#define d_sin(x) (sin(*(x)))
#define d_sinh(x) (sinh(*(x)))
#define d_sqrt(x) (sqrt(*(x)))
#define d_tan(x) (tan(*(x)))
#define d_tanh(x) (tanh(*(x)))
#define i_abs(x) abs(*(x))
#define i_dnnt(x) ((integer)u_nint(*(x)))
#define i_len(s, n) (n)
#define i_nint(x) ((integer)u_nint(*(x)))
#define i_sign(a,b) ((integer)u_sign((integer)*(a),(integer)*(b)))
#define pow_dd(ap, bp) ( pow(*(ap), *(bp)))
#define pow_si(B,E) spow_ui(*(B),*(E))
#define pow_ri(B,E) spow_ui(*(B),*(E))
#define pow_di(B,E) dpow_ui(*(B),*(E))
#define pow_zi(p, a, b) {pCd(p) = zpow_ui(Cd(a), *(b));}
#define pow_ci(p, a, b) {pCf(p) = cpow_ui(Cf(a), *(b));}
#define pow_zz(R,A,B) {pCd(R) = cpow(Cd(A),*(B));}
#define s_cat(lpp, rpp, rnp, np, llp) { ftnlen i, nc, ll; char *f__rp, *lp; ll = (llp); lp = (lpp); for(i=0; i < (int)*(np); ++i) { nc = ll; if((rnp)[i] < nc) nc = (rnp)[i]; ll -= nc; f__rp = (rpp)[i]; while(--nc >= 0) *lp++ = *(f__rp)++; } while(--ll >= 0) *lp++ = ' '; }
#define s_cmp(a,b,c,d) ((integer)strncmp((a),(b),f2cmin((c),(d))))
#define s_copy(A,B,C,D) { int __i,__m; for (__i=0, __m=f2cmin((C),(D)); __i<__m && (B)[__i] != 0; ++__i) (A)[__i] = (B)[__i]; }
#define sig_die(s, kill) { exit(1); }
#define s_stop(s, n) {exit(0);}
static char junk[] = "\n@(#)LIBF77 VERSION 19990503\n";
#define z_abs(z) (cabs(Cd(z)))
#define z_exp(R, Z) {pCd(R) = cexp(Cd(Z));}
#define z_sqrt(R, Z) {pCd(R) = csqrt(Cd(Z));}
#define myexit_() break;
#define mycycle() continue;
#define myceiling(w) {ceil(w)}
#define myhuge(w) {HUGE_VAL}
//#define mymaxloc_(w,s,e,n) {if (sizeof(*(w)) == sizeof(double)) dmaxloc_((w),*(s),*(e),n); else dmaxloc_((w),*(s),*(e),n);}
#define mymaxloc(w,s,e,n) {dmaxloc_(w,*(s),*(e),n)}
/* procedure parameter types for -A and -C++ */
#define F2C_proc_par_types 1
#ifdef __cplusplus
typedef logical (*L_fp)(...);
#else
typedef logical (*L_fp)();
#endif
static float spow_ui(float x, integer n) {
float pow=1.0; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x = 1/x;
for(u = n; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
static double dpow_ui(double x, integer n) {
double pow=1.0; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x = 1/x;
for(u = n; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
#ifdef _MSC_VER
static _Fcomplex cpow_ui(complex x, integer n) {
complex pow={1.0,0.0}; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x.r = 1/x.r, x.i=1/x.i;
for(u = n; ; ) {
if(u & 01) pow.r *= x.r, pow.i *= x.i;
if(u >>= 1) x.r *= x.r, x.i *= x.i;
else break;
}
}
_Fcomplex p={pow.r, pow.i};
return p;
}
#else
static _Complex float cpow_ui(_Complex float x, integer n) {
_Complex float pow=1.0; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x = 1/x;
for(u = n; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
#endif
#ifdef _MSC_VER
static _Dcomplex zpow_ui(_Dcomplex x, integer n) {
_Dcomplex pow={1.0,0.0}; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x._Val[0] = 1/x._Val[0], x._Val[1] =1/x._Val[1];
for(u = n; ; ) {
if(u & 01) pow._Val[0] *= x._Val[0], pow._Val[1] *= x._Val[1];
if(u >>= 1) x._Val[0] *= x._Val[0], x._Val[1] *= x._Val[1];
else break;
}
}
_Dcomplex p = {pow._Val[0], pow._Val[1]};
return p;
}
#else
static _Complex double zpow_ui(_Complex double x, integer n) {
_Complex double pow=1.0; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x = 1/x;
for(u = n; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
#endif
static integer pow_ii(integer x, integer n) {
integer pow; unsigned long int u;
if (n <= 0) {
if (n == 0 || x == 1) pow = 1;
else if (x != -1) pow = x == 0 ? 1/x : 0;
else n = -n;
}
if ((n > 0) || !(n == 0 || x == 1 || x != -1)) {
u = n;
for(pow = 1; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
static integer dmaxloc_(double *w, integer s, integer e, integer *n)
{
double m; integer i, mi;
for(m=w[s-1], mi=s, i=s+1; i<=e; i++)
if (w[i-1]>m) mi=i ,m=w[i-1];
return mi-s+1;
}
static integer smaxloc_(float *w, integer s, integer e, integer *n)
{
float m; integer i, mi;
for(m=w[s-1], mi=s, i=s+1; i<=e; i++)
if (w[i-1]>m) mi=i ,m=w[i-1];
return mi-s+1;
}
static inline void cdotc_(complex *z, integer *n_, complex *x, integer *incx_, complex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
#ifdef _MSC_VER
_Fcomplex zdotc = {0.0, 0.0};
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += conjf(Cf(&x[i]))._Val[0] * Cf(&y[i])._Val[0];
zdotc._Val[1] += conjf(Cf(&x[i]))._Val[1] * Cf(&y[i])._Val[1];
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += conjf(Cf(&x[i*incx]))._Val[0] * Cf(&y[i*incy])._Val[0];
zdotc._Val[1] += conjf(Cf(&x[i*incx]))._Val[1] * Cf(&y[i*incy])._Val[1];
}
}
pCf(z) = zdotc;
}
#else
_Complex float zdotc = 0.0;
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += conjf(Cf(&x[i])) * Cf(&y[i]);
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += conjf(Cf(&x[i*incx])) * Cf(&y[i*incy]);
}
}
pCf(z) = zdotc;
}
#endif
static inline void zdotc_(doublecomplex *z, integer *n_, doublecomplex *x, integer *incx_, doublecomplex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
#ifdef _MSC_VER
_Dcomplex zdotc = {0.0, 0.0};
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += conj(Cd(&x[i]))._Val[0] * Cd(&y[i])._Val[0];
zdotc._Val[1] += conj(Cd(&x[i]))._Val[1] * Cd(&y[i])._Val[1];
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += conj(Cd(&x[i*incx]))._Val[0] * Cd(&y[i*incy])._Val[0];
zdotc._Val[1] += conj(Cd(&x[i*incx]))._Val[1] * Cd(&y[i*incy])._Val[1];
}
}
pCd(z) = zdotc;
}
#else
_Complex double zdotc = 0.0;
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += conj(Cd(&x[i])) * Cd(&y[i]);
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += conj(Cd(&x[i*incx])) * Cd(&y[i*incy]);
}
}
pCd(z) = zdotc;
}
#endif
static inline void cdotu_(complex *z, integer *n_, complex *x, integer *incx_, complex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
#ifdef _MSC_VER
_Fcomplex zdotc = {0.0, 0.0};
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += Cf(&x[i])._Val[0] * Cf(&y[i])._Val[0];
zdotc._Val[1] += Cf(&x[i])._Val[1] * Cf(&y[i])._Val[1];
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += Cf(&x[i*incx])._Val[0] * Cf(&y[i*incy])._Val[0];
zdotc._Val[1] += Cf(&x[i*incx])._Val[1] * Cf(&y[i*incy])._Val[1];
}
}
pCf(z) = zdotc;
}
#else
_Complex float zdotc = 0.0;
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += Cf(&x[i]) * Cf(&y[i]);
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += Cf(&x[i*incx]) * Cf(&y[i*incy]);
}
}
pCf(z) = zdotc;
}
#endif
static inline void zdotu_(doublecomplex *z, integer *n_, doublecomplex *x, integer *incx_, doublecomplex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
#ifdef _MSC_VER
_Dcomplex zdotc = {0.0, 0.0};
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += Cd(&x[i])._Val[0] * Cd(&y[i])._Val[0];
zdotc._Val[1] += Cd(&x[i])._Val[1] * Cd(&y[i])._Val[1];
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += Cd(&x[i*incx])._Val[0] * Cd(&y[i*incy])._Val[0];
zdotc._Val[1] += Cd(&x[i*incx])._Val[1] * Cd(&y[i*incy])._Val[1];
}
}
pCd(z) = zdotc;
}
#else
_Complex double zdotc = 0.0;
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += Cd(&x[i]) * Cd(&y[i]);
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += Cd(&x[i*incx]) * Cd(&y[i*incy]);
}
}
pCd(z) = zdotc;
}
#endif
/* -- translated by f2c (version 20000121).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
/* Table of constant values */
static integer c__1 = 1;
static doublereal c_b5 = 1.;
/* > \brief \b DLARZ applies an elementary reflector (as returned by stzrzf) to a general matrix. */
/* =========== DOCUMENTATION =========== */
/* Online html documentation available at */
/* http://www.netlib.org/lapack/explore-html/ */
/* > \htmlonly */
/* > Download DLARZ + dependencies */
/* > <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlarz.f
"> */
/* > [TGZ]</a> */
/* > <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlarz.f
"> */
/* > [ZIP]</a> */
/* > <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlarz.f
"> */
/* > [TXT]</a> */
/* > \endhtmlonly */
/* Definition: */
/* =========== */
/* SUBROUTINE DLARZ( SIDE, M, N, L, V, INCV, TAU, C, LDC, WORK ) */
/* CHARACTER SIDE */
/* INTEGER INCV, L, LDC, M, N */
/* DOUBLE PRECISION TAU */
/* DOUBLE PRECISION C( LDC, * ), V( * ), WORK( * ) */
/* > \par Purpose: */
/* ============= */
/* > */
/* > \verbatim */
/* > */
/* > DLARZ applies a real elementary reflector H to a real M-by-N */
/* > matrix C, from either the left or the right. H is represented in the */
/* > form */
/* > */
/* > H = I - tau * v * v**T */
/* > */
/* > where tau is a real scalar and v is a real vector. */
/* > */
/* > If tau = 0, then H is taken to be the unit matrix. */
/* > */
/* > */
/* > H is a product of k elementary reflectors as returned by DTZRZF. */
/* > \endverbatim */
/* Arguments: */
/* ========== */
/* > \param[in] SIDE */
/* > \verbatim */
/* > SIDE is CHARACTER*1 */
/* > = 'L': form H * C */
/* > = 'R': form C * H */
/* > \endverbatim */
/* > */
/* > \param[in] M */
/* > \verbatim */
/* > M is INTEGER */
/* > The number of rows of the matrix C. */
/* > \endverbatim */
/* > */
/* > \param[in] N */
/* > \verbatim */
/* > N is INTEGER */
/* > The number of columns of the matrix C. */
/* > \endverbatim */
/* > */
/* > \param[in] L */
/* > \verbatim */
/* > L is INTEGER */
/* > The number of entries of the vector V containing */
/* > the meaningful part of the Householder vectors. */
/* > If SIDE = 'L', M >= L >= 0, if SIDE = 'R', N >= L >= 0. */
/* > \endverbatim */
/* > */
/* > \param[in] V */
/* > \verbatim */
/* > V is DOUBLE PRECISION array, dimension (1+(L-1)*abs(INCV)) */
/* > The vector v in the representation of H as returned by */
/* > DTZRZF. V is not used if TAU = 0. */
/* > \endverbatim */
/* > */
/* > \param[in] INCV */
/* > \verbatim */
/* > INCV is INTEGER */
/* > The increment between elements of v. INCV <> 0. */
/* > \endverbatim */
/* > */
/* > \param[in] TAU */
/* > \verbatim */
/* > TAU is DOUBLE PRECISION */
/* > The value tau in the representation of H. */
/* > \endverbatim */
/* > */
/* > \param[in,out] C */
/* > \verbatim */
/* > C is DOUBLE PRECISION array, dimension (LDC,N) */
/* > On entry, the M-by-N matrix C. */
/* > On exit, C is overwritten by the matrix H * C if SIDE = 'L', */
/* > or C * H if SIDE = 'R'. */
/* > \endverbatim */
/* > */
/* > \param[in] LDC */
/* > \verbatim */
/* > LDC is INTEGER */
/* > The leading dimension of the array C. LDC >= f2cmax(1,M). */
/* > \endverbatim */
/* > */
/* > \param[out] WORK */
/* > \verbatim */
/* > WORK is DOUBLE PRECISION array, dimension */
/* > (N) if SIDE = 'L' */
/* > or (M) if SIDE = 'R' */
/* > \endverbatim */
/* Authors: */
/* ======== */
/* > \author Univ. of Tennessee */
/* > \author Univ. of California Berkeley */
/* > \author Univ. of Colorado Denver */
/* > \author NAG Ltd. */
/* > \date December 2016 */
/* > \ingroup doubleOTHERcomputational */
/* > \par Contributors: */
/* ================== */
/* > */
/* > A. Petitet, Computer Science Dept., Univ. of Tenn., Knoxville, USA */
/* > \par Further Details: */
/* ===================== */
/* > */
/* > \verbatim */
/* > \endverbatim */
/* > */
/* ===================================================================== */
/* Subroutine */ int dlarz_(char *side, integer *m, integer *n, integer *l,
doublereal *v, integer *incv, doublereal *tau, doublereal *c__,
integer *ldc, doublereal *work)
{
/* System generated locals */
integer c_dim1, c_offset;
doublereal d__1;
/* Local variables */
extern /* Subroutine */ int dger_(integer *, integer *, doublereal *,
doublereal *, integer *, doublereal *, integer *, doublereal *,
integer *);
extern logical lsame_(char *, char *);
extern /* Subroutine */ int dgemv_(char *, integer *, integer *,
doublereal *, doublereal *, integer *, doublereal *, integer *,
doublereal *, doublereal *, integer *), dcopy_(integer *,
doublereal *, integer *, doublereal *, integer *), daxpy_(integer
*, doublereal *, doublereal *, integer *, doublereal *, integer *)
;
/* -- LAPACK computational routine (version 3.7.0) -- */
/* -- LAPACK is a software package provided by Univ. of Tennessee, -- */
/* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- */
/* December 2016 */
/* ===================================================================== */
/* Parameter adjustments */
--v;
c_dim1 = *ldc;
c_offset = 1 + c_dim1 * 1;
c__ -= c_offset;
--work;
/* Function Body */
if (lsame_(side, "L")) {
/* Form H * C */
if (*tau != 0.) {
/* w( 1:n ) = C( 1, 1:n ) */
dcopy_(n, &c__[c_offset], ldc, &work[1], &c__1);
/* w( 1:n ) = w( 1:n ) + C( m-l+1:m, 1:n )**T * v( 1:l ) */
dgemv_("Transpose", l, n, &c_b5, &c__[*m - *l + 1 + c_dim1], ldc,
&v[1], incv, &c_b5, &work[1], &c__1);
/* C( 1, 1:n ) = C( 1, 1:n ) - tau * w( 1:n ) */
d__1 = -(*tau);
daxpy_(n, &d__1, &work[1], &c__1, &c__[c_offset], ldc);
/* C( m-l+1:m, 1:n ) = C( m-l+1:m, 1:n ) - ... */
/* tau * v( 1:l ) * w( 1:n )**T */
d__1 = -(*tau);
dger_(l, n, &d__1, &v[1], incv, &work[1], &c__1, &c__[*m - *l + 1
+ c_dim1], ldc);
}
} else {
/* Form C * H */
if (*tau != 0.) {
/* w( 1:m ) = C( 1:m, 1 ) */
dcopy_(m, &c__[c_offset], &c__1, &work[1], &c__1);
/* w( 1:m ) = w( 1:m ) + C( 1:m, n-l+1:n, 1:n ) * v( 1:l ) */
dgemv_("No transpose", m, l, &c_b5, &c__[(*n - *l + 1) * c_dim1 +
1], ldc, &v[1], incv, &c_b5, &work[1], &c__1);
/* C( 1:m, 1 ) = C( 1:m, 1 ) - tau * w( 1:m ) */
d__1 = -(*tau);
daxpy_(m, &d__1, &work[1], &c__1, &c__[c_offset], &c__1);
/* C( 1:m, n-l+1:n ) = C( 1:m, n-l+1:n ) - ... */
/* tau * w( 1:m ) * v( 1:l )**T */
d__1 = -(*tau);
dger_(m, l, &d__1, &work[1], &c__1, &v[1], incv, &c__[(*n - *l +
1) * c_dim1 + 1], ldc);
}
}
return 0;
/* End of DLARZ */
} /* dlarz_ */
|
the_stack_data/220456052.c | /*
This program reverses an integer number
By Rodney Anderson
4/13/14
*/
# include<stdio.h>
int main(void)
{
int num;
int reverse_num = 0;
//Get user input
printf("Enter a number to be reversed\n");
scanf("%d", &num);
//Store the original number value into orig_name
int orig_num = num;
//Computation to reverse the original number
while(num != 0)
{
reverse_num = reverse_num * 10;
reverse_num += num % 10;
num = num/10;
}
// Print the original number and the reversed number
printf("\n%d reversed is %d\n\n", orig_num, reverse_num);
system("pause");
}
|
the_stack_data/96673.c | #include <stdio.h>
// Utility function to swap values at two indices in the array
void swap(int arr[], int i, int j)
{
int temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
// Recursive function to perform selection sort on subarray arr[i..n-1]
void selectionSort(int arr[], int i, int n)
{
// find the minimum element in the unsorted subarray[i..n-1]
// and swap it with arr[i]
int min = i;
for (int j = i + 1; j < n; j++)
{
// if arr[j] element is less, then it is the new minimum
if (arr[j] < arr[min])
min = j; // update index of min element
}
// swap the minimum element in subarray[i..n-1] with arr[i]
swap(arr, min, i);
if (i + 1 < n) {
selectionSort(arr, i + 1, n);
}
}
// Function to print n elements of the array arr
void printArray(int arr[], int n)
{
for (int i = 0; i < n; i++) {
printf("%d ", arr[i]);
}
}
// main function
int main()
{
int arr[] = { 3, 5, 8, 4, 1, 9, -2 };
int n = sizeof(arr) / sizeof(arr[0]);
selectionSort(arr, 0, n);
printArray(arr, n);
return 0;
}
|
the_stack_data/150143893.c | #include <stdio.h>
#include <stdlib.h>
void bar(FILE *p) {
fclose(p);
}
void foo(FILE *p) {
p = fopen("bar.txt", "w+");
}
int main() {
FILE *f;
foo(f);
bar(f);
return 0;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.